diff --git a/server/src/uds/static/modern/3rdpartylicenses.txt b/server/src/uds/static/modern/3rdpartylicenses.txt index 77bf159e..603120ab 100644 --- a/server/src/uds/static/modern/3rdpartylicenses.txt +++ b/server/src/uds/static/modern/3rdpartylicenses.txt @@ -1,28 +1,3 @@ -@angular-devkit/build-angular -MIT -The MIT License - -Copyright (c) 2017 Google, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - @angular/animations MIT @@ -30,7 +5,7 @@ MIT MIT The MIT License -Copyright (c) 2021 Google LLC. +Copyright (c) 2022 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -64,7 +39,7 @@ MIT MIT The MIT License -Copyright (c) 2021 Google LLC. +Copyright (c) 2022 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -93,7 +68,7 @@ MIT core-js MIT -Copyright (c) 2014-2021 Denis Pushkarev +Copyright (c) 2014-2022 Denis Pushkarev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -114,31 +89,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -regenerator-runtime -MIT -MIT License - -Copyright (c) 2014-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - rxjs Apache-2.0 Apache License @@ -345,14 +295,26 @@ Apache-2.0 -web-animations-js -Apache-2.0 +tslib +0BSD +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. zone.js MIT The MIT License -Copyright (c) 2010-2020 Google LLC. https://angular.io/license +Copyright (c) 2010-2022 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/server/src/uds/static/modern/main-es2015.js b/server/src/uds/static/modern/main-es2015.js deleted file mode 100644 index 6d6069dc..00000000 --- a/server/src/uds/static/modern/main-es2015.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkuds=self.webpackChunkuds||[]).push([[179],{8255:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=8255,t.exports=e},7238:function(t,e,n){"use strict";n.d(e,{l3:function(){return r},_j:function(){return i},LC:function(){return s},ZN:function(){return g},jt:function(){return a},pV:function(){return p},F4:function(){return h},IO:function(){return f},vP:function(){return l},SB:function(){return u},oB:function(){return c},eR:function(){return d},X$:function(){return o},ZE:function(){return _},k1:function(){return y}});class i{}class s{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function d(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const s=this.players.length;0==s?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const y="!"},9238:function(t,e,n){"use strict";n.d(e,{rt:function(){return et},s1:function(){return R},$s:function(){return T},Em:function(){return D},tE:function(){return W},qV:function(){return B},qm:function(){return tt},Kd:function(){return G},X6:function(){return U},yG:function(){return Z}});var i=n(8583),s=n(3018),r=n(9765),o=n(5319),a=n(6215),l=n(5917),c=n(6461),u=n(3342),h=n(4395),d=n(5435),p=n(8002),f=n(5257),m=n(3653),g=n(7519),_=n(6782),y=n(9490),b=n(521),v=n(8553);function w(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}const C="cdk-describedby-message-container",x="cdk-describedby-message",E="cdk-describedby-host";let S=0;const k=new Map;let O=null,T=(()=>{class t{constructor(t){this._document=t}describe(t,e,n){if(!this._canBeDescribed(t,e))return;const i=A(e,n);"string"!=typeof e?(P(e),k.set(i,{messageElement:e,referenceCount:0})):k.has(i)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,e,n){if(!e||!this._isElementNode(t))return;const i=A(e,n);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){const t=k.get(i);t&&0===t.referenceCount&&this._deleteMessageElement(i)}O&&0===O.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll(`[${E}]`);for(let e=0;e0!=t.indexOf(x));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=k.get(e);(function(t,e,n){const i=w(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))})(t,"aria-describedby",n.messageElement.id),t.setAttribute(E,""),n.referenceCount++}_removeMessageReference(t,e){const n=k.get(e);n.referenceCount--,function(t,e,n){const i=w(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute(E)}_isElementDescribedByMessage(t,e){const n=w(t,"aria-describedby"),i=k.get(e),s=i&&i.messageElement.id;return!!s&&-1!=n.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":`${e}`.trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.K0))},token:t,providedIn:"root"}),t})();function A(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function P(t){t.id||(t.id=`${x}-${S++}`)}class I{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.xQ,this._typeaheadSubscription=o.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new r.xQ,this.change=new r.xQ,t instanceof s.n_E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,u.b)(t=>this._pressedLetters.push(t)),(0,h.b)(t),(0,d.h)(()=>this._pressedLetters.length>0),(0,p.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case c.Mf:return void this.tabOut.next();case c.JH:if(this._vertical&&n){this.setNextItemActive();break}return;case c.LH:if(this._vertical&&n){this.setPreviousItemActive();break}return;case c.SV:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.oh:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case c.Sd:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case c.uR:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||(0,c.Vb)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=c.A&&e<=c.Z||e>=c.xE&&e<=c.aO)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class R extends I{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class D extends I{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let M=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}(function(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(t));if(e&&(-1===F(e)||!this.isVisible(e)))return!1;let n=t.nodeName.toLowerCase(),i=F(t);return t.hasAttribute("contenteditable")?-1!==i:!("iframe"===n||"object"===n||this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||L(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4))},token:t,providedIn:"root"}),t})();function L(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function F(t){if(!L(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class N{constructor(t,e,n,i,s=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(t)}}let B=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new N(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(M),s.LFG(s.R0b),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(M),s.LFG(s.R0b),s.LFG(i.K0))},token:t,providedIn:"root"}),t})();function U(t){return 0===t.offsetX&&0===t.offsetY}function Z(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&∈const j=new s.OlP("cdk-input-modality-detector-options"),q={ignoreKeys:[c.zL,c.jx,c.b2,c.MW,c.JU]},V=(0,b.i$)({passive:!0,capture:!0});let H=(()=>{class t{constructor(t,e,n,i){this._platform=t,this._mostRecentTarget=null,this._modality=new a.X(null),this._lastTouchMs=0,this._onKeydown=t=>{var e,n;(null===(n=null===(e=this._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some(e=>e===t.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,b.sA)(t))},this._onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(U(t)?"keyboard":"mouse"),this._mostRecentTarget=(0,b.sA)(t))},this._onTouchstart=t=>{Z(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,b.sA)(t))},this._options=Object.assign(Object.assign({},q),i),this.modalityDetected=this._modality.pipe((0,m.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,g.x)()),t.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,V),n.addEventListener("mousedown",this._onMousedown,V),n.addEventListener("touchstart",this._onTouchstart,V)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){!this._platform.isBrowser||(document.removeEventListener("keydown",this._onKeydown,V),document.removeEventListener("mousedown",this._onMousedown,V),document.removeEventListener("touchstart",this._onTouchstart,V))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(j,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(j,8))},token:t,providedIn:"root"}),t})();const z=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Y=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let G=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[i,s]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==s&&n&&(s=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div");for(let i=0;i{class t{constructor(t,e,n,i,s){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new r.xQ,this._rootNodeFocusAndBlurListener=t=>{const e=(0,b.sA)(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=i,this._detectionMode=(null==s?void 0:s.detectionMode)||0}monitor(t,e=!1){const n=(0,y.fI)(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,l.of)(null);const i=(0,b.kV)(n)||this._getDocument(),s=this._elementInfo.get(n);if(s)return e&&(s.checkChildren=!0),s.subject;const o={checkChildren:e,subject:new r.xQ,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=(0,y.fI)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=(0,y.fI)(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOrigin(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&e,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,e){const n=this._elementInfo.get(e),i=(0,b.sA)(t);!n||!n.checkChildren&&e!==i||this._originChanged(e,this._getFocusOrigin(i),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,$),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,$)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,_.R)(this._stopInputModalityDetector)).subscribe(t=>{this._setOrigin(t,!0)}))}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(b.t4),s.LFG(H),s.LFG(i.K0,8),s.LFG(K,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(b.t4),s.LFG(H),s.LFG(i.K0,8),s.LFG(K,8))},token:t,providedIn:"root"}),t})();const Q="cdk-high-contrast-black-on-white",J="cdk-high-contrast-white-on-black",X="cdk-high-contrast-active";let tt=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(X),t.remove(Q),t.remove(J),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add(X),t.add(Q)):2===e&&(t.add(X),t.add(J))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(b.t4),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(b.t4),s.LFG(i.K0))},token:t,providedIn:"root"}),t})(),et=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(tt))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[b.ud,v.Q8]]}),t})()},946:function(t,e,n){"use strict";n.d(e,{vT:function(){return a},Is:function(){return o}});var i=n(3018),s=n(8583);const r=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(s.K0)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.vpe,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(r,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},8345:function(t,e,n){"use strict";n.d(e,{P3:function(){return l},Ov:function(){return u},A8:function(){return h},eX:function(){return c},k:function(){return d},Z9:function(){return a}});var i=n(5639),s=n(5917),r=n(9765),o=n(3018);function a(t){return t&&"function"==typeof t.connect}class l extends class{}{constructor(t){super(),this._data=t}connect(){return(0,i.b)(this._data)?this._data:(0,s.of)(this._data)}disconnect(){}}class c{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,s){t.forEachOperation((t,r,o)=>{let a,l;null==t.previousIndex?(a=this._insertView(()=>n(t,r,o),o,e,i(t)),l=a?1:0):null==o?(this._detachAndCacheView(r,e),l=3):(a=this._moveView(r,o,e,i(t)),l=2),s&&s({context:null==a?void 0:a.context,operation:l,record:t})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,n,i){const s=this._insertViewFromCache(e,n);if(s)return void(s.context.$implicit=i);const r=t();return n.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(t,e){const n=e.detach(t);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const s=n.get(t);return n.move(s,e),s.context.$implicit=i,s}_maybeCacheView(t,e){if(this._viewCache.lengththis._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let h=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const d=new o.OlP("_ViewRepeater")},6461:function(t,e,n){"use strict";n.d(e,{A:function(){return y},zL:function(){return a},jx:function(){return o},JH:function(){return m},uR:function(){return u},K5:function(){return s},hY:function(){return l},Sd:function(){return h},oh:function(){return d},b2:function(){return w},MW:function(){return v},aO:function(){return _},SV:function(){return f},JU:function(){return r},L_:function(){return c},Mf:function(){return i},LH:function(){return p},Z:function(){return b},xE:function(){return g},Vb:function(){return C}});const i=9,s=13,r=16,o=17,a=18,l=27,c=32,u=35,h=36,d=37,p=38,f=39,m=40,g=48,_=57,y=65,b=90,v=91,w=224;function C(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},8553:function(t,e,n){"use strict";n.d(e,{wD:function(){return u},yq:function(){return c},Q8:function(){return h}});var i=n(9490),s=n(3018),r=n(7574),o=n(9765),a=n(4395);let l=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=(0,i.fI)(t);return new r.y(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.xQ,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(l))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(l))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,i.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=(0,i.su)(t),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe((0,a.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c),s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[l]}),t})()},625:function(t,e,n){"use strict";n.d(e,{pI:function(){return J},xu:function(){return Q},aV:function(){return K},X_:function(){return O},Xj:function(){return L},U8:function(){return tt}});var i=n(9243),s=n(3018),r=n(521),o=n(946),a=n(8583),l=n(9490),c=n(7636),u=n(9765),h=n(5319),d=n(6682),p=n(7393);class f{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new m(t,this.predicate,this.inclusive))}}class m extends p.L{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}var g=n(5257),_=n(6782),y=n(6461);const b=(0,r.Mq)();class v{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,l.HM)(-this._previousScrollPosition.left),t.style.top=(0,l.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),b&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),b&&(e.scrollBehavior=i,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class w{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class C{enable(){}disable(){}attach(){}}function x(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function E(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class S{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();x(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let k=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new C,this.close=t=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new v(this._viewportRuler,this._document),this.reposition=t=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.mF),s.LFG(i.rL),s.LFG(s.R0b),s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.mF),s.LFG(i.rL),s.LFG(s.R0b),s.LFG(a.K0))},token:t,providedIn:"root"}),t})();class O{constructor(t){if(this.scrollStrategy=new C,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class T{constructor(t,e,n,i,s){this.offsetX=n,this.offsetY=i,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class A{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let P=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),I=(()=>{class t extends P{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),R=(()=>{class t extends P{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=(0,r.sA)(t),n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const s=n[i];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0),s.LFG(r.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0),s.LFG(r.t4))},token:t,providedIn:"root"}),t})();const D="undefined"!=typeof window?window:{},M=void 0!==D.__karma__&&!!D.__karma__||void 0!==D.jasmine&&!!D.jasmine||void 0!==D.jest&&!!D.jest||void 0!==D.Mocha&&!!D.Mocha;let L=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||M){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;tthis._backdropClick.next(t),this._keydownEvents=new u.xQ,this._outsidePointerEvents=new u.xQ,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=(0,l.HM)(this._config.width),t.height=(0,l.HM)(this._config.height),t.minWidth=(0,l.HM)(this._config.minWidth),t.minHeight=(0,l.HM)(this._config.minHeight),t.maxWidth=(0,l.HM)(this._config.maxWidth),t.maxHeight=(0,l.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(!t)return;let e,n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;(0,l.Eq)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,_.R)((0,d.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const N="cdk-overlay-connected-position-bounding-box",B=/([A-Za-z%]+)$/;class U{constructor(t,e,n,i,s){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.xQ,this._resizeSubscription=h.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(N),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let s;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),l=this._getOverlayFit(a,e,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!s||s.overlayFit.visibleAreae&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Z(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(N),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;n="start"==e.originX?i:s}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,s;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+s}}_getOverlayFit(t,e,n,i){const s=q(e);let{x:r,y:o}=t,a=this._getOffset(i,"x"),l=this._getOffset(i,"y");a&&(r+=a),l&&(o+=l);let c=0-o,u=o+s.height-n.height,h=this._subtractOverflows(s.width,0-r,r+s.width-n.width),d=this._subtractOverflows(s.height,c,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,s=n.right-e.x,r=j(this._overlayRef.getConfig().minHeight),o=j(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=r&&r<=i)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=q(e),s=this._viewportRect,r=Math.max(t.x+i.width-s.width,0),o=Math.max(t.y+i.height-s.height,0),a=Math.max(s.top-n.top-t.y,0),l=Math.max(s.left-n.left-t.x,0);let c=0,u=0;return c=i.width<=s.width?l||-r:t.xi&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:r,left:l,bottom:o,right:c,width:a,height:s}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=(0,l.HM)(n.height),i.top=(0,l.HM)(n.top),i.bottom=(0,l.HM)(n.bottom),i.width=(0,l.HM)(n.width),i.left=(0,l.HM)(n.left),i.right=(0,l.HM)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=(0,l.HM)(t)),s&&(i.maxWidth=(0,l.HM)(s))}this._lastBoundingBoxSize=n,Z(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Z(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Z(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();Z(n,this._getExactOverlayY(e,t,i)),Z(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",a=this._getOffset(e,"x"),c=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),c&&(o+=`translateY(${c}px)`),n.transform=o.trim(),r.maxHeight&&(i?n.maxHeight=(0,l.HM)(r.maxHeight):s&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=(0,l.HM)(r.maxWidth):s&&(n.maxWidth="")),Z(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=r,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=(0,l.HM)(s.y),i}_getExactOverlayX(t,e,n){let i,s={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?s.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":s.left=(0,l.HM)(r.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:E(t,n),isOriginOutsideView:x(t,n),isOverlayClipped:E(e,n),isOverlayOutsideView:x(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&(0,l.Eq)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof s.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function Z(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function j(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(B);return n&&"px"!==n?null:parseFloat(e)}return t||null}function q(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class V{constructor(t,e,n,i,s,r,o){this._preferredPositions=[],this._positionStrategy=new U(n,i,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const s=new T(t,e,n,i);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const H="cdk-global-overlay-wrapper";class z{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(H),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:r,maxHeight:o}=n,a=!("100%"!==i&&"100vw"!==i||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==s&&"100vh"!==s||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(H),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Y=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new z}connectedTo(t,e,n){return new V(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new U(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.rL),s.LFG(a.K0),s.LFG(r.t4),s.LFG(L))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.rL),s.LFG(a.K0),s.LFG(r.t4),s.LFG(L))},token:t,providedIn:"root"}),t})(),G=0,K=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=r,this._ngZone=o,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),s=new O(t);return s.direction=s.direction||this._directionality.value,new F(i,e,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+G++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(s.z2F)),new c.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(k),s.LFG(L),s.LFG(s._Vd),s.LFG(Y),s.LFG(I),s.LFG(s.zs3),s.LFG(s.R0b),s.LFG(a.K0),s.LFG(o.Is),s.LFG(a.Ye),s.LFG(R))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const $=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],W=new s.OlP("cdk-connected-overlay-scroll-strategy");let Q=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),J=(()=>{class t{constructor(t,e,n,i,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new s.vpe,this.positionChange=new s.vpe,this.attach=new s.vpe,this.detach=new s.vpe,this.overlayKeydown=new s.vpe,this.overlayOutsideClick=new s.vpe,this._templatePortal=new c.UE(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,l.Ig)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,l.Ig)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,l.Ig)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,l.Ig)(t)}get push(){return this._push}set push(t){this._push=(0,l.Ig)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=$);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===y.hY&&!this.disableClose&&!(0,y.Vb)(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new O({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new f(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(K),s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(W),s.Y36(o.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[s.TTD]}),t})();const X={provide:W,deps:[K],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[K,X],imports:[[o.vT,c.eL,i.Cl],i.Cl]}),t})()},521:function(t,e,n){"use strict";n.d(e,{t4:function(){return a},ud:function(){return l},sA:function(){return v},ht:function(){return b},kV:function(){return y},_i:function(){return _},qK:function(){return u},i$:function(){return m},Mq:function(){return g}});var i=n(3018),s=n(8583);let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(w){r=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,s.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.Lbi))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(i.Lbi))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let t=document.createElement("input");return o=new Set(c.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let h,d,p,f;function m(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}function g(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const t=Element.prototype.scrollTo;p=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return p}function _(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function y(t){if(function(){if(null==f){const t="undefined"!=typeof document?document.head:null;f=!(!t||!t.createShadowRoot&&!t.attachShadow)}return f}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function b(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function v(t){return t.composedPath?t.composedPath()[0]:t.target}},7636:function(t,e,n){"use strict";n.d(e,{en:function(){return c},Pl:function(){return h},C5:function(){return o},u0:function(){return u},eL:function(){return d},UE:function(){return a}});var i=n(3018),s=n(8583);class r{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends r{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class a extends r{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class l extends r{constructor(t){super(),this.element=t instanceof i.SBq?t.nativeElement:t}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof l?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends c{constructor(t,e,n,i,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),this._attachedPortal=t,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let h=(()=>{class t extends c{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(s.K0))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},9243:function(t,e,n){"use strict";n.d(e,{ZD:function(){return y},mF:function(){return g},Cl:function(){return b},rL:function(){return _}});var i=n(9490),s=n(3018),r=n(6465),o=n(6102);new class extends o.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});var a=n(9765),l=n(5917),c=n(7574),u=n(2759);n(4581);n(5319),n(5639),n(7393),new class extends o.v{}(class extends r.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}),n(1593),n(7971),n(8858),n(7519);var h=n(628),d=n(5435),p=(n(6782),n(9761),n(3190),n(521)),f=n(8583),m=n(946);n(8345);let g=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new a.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new c.y(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe((0,h.e)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,l.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,d.h)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=(0,i.fI)(e),s=t.getElementRef().nativeElement;do{if(n==s)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return(0,u.R)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(p.t4),s.LFG(f.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(p.t4),s.LFG(f.K0,8))},token:t,providedIn:"root"}),t})(),_=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new a.xQ,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe((0,h.e)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(p.t4),s.LFG(s.R0b),s.LFG(f.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(p.t4),s.LFG(s.R0b),s.LFG(f.K0,8))},token:t,providedIn:"root"}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[m.vT,p.ud,y],m.vT,y]}),t})()},9490:function(t,e,n){"use strict";n.d(e,{Eq:function(){return o},Ig:function(){return s},HM:function(){return a},fI:function(){return l},su:function(){return r}});var i=n(3018);function s(t){return null!=t&&"false"!=`${t}`}function r(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function o(t){return Array.isArray(t)?t:[t]}function a(t){return null==t?"":"string"==typeof t?t:`${t}px`}function l(t){return t instanceof i.SBq?t.nativeElement:t}},8583:function(t,e,n){"use strict";n.d(e,{mr:function(){return v},Ov:function(){return Y},ez:function(){return G},K0:function(){return l},Do:function(){return C},V_:function(){return h},Ye:function(){return x},S$:function(){return y},mk:function(){return I},sg:function(){return D},O5:function(){return L},RF:function(){return U},n9:function(){return Z},ED:function(){return j},b0:function(){return w},lw:function(){return c},EM:function(){return W},JF:function(){return X},NF:function(){return $},w_:function(){return a},bD:function(){return K},q:function(){return r},Mx:function(){return P},HT:function(){return o}});var i=n(3018);let s=null;function r(){return s}function o(t){s||(s=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,i.LFG)(d)}const h=new i.OlP("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l))},t.\u0275prov=(0,i.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,i.LFG)(l))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function _(t){return t&&"?"!==t[0]?"?"+t:t}let y=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:b,token:t,providedIn:"root"}),t})();function b(t){const e=(0,i.LFG)(l).location;return new w((0,i.LFG)(c),e&&e.origin||"")}const v=new i.OlP("appBaseHref");let w=(()=>{class t extends y{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const s=this.prepareExternalUrl(n+_(i));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){const s=this.prepareExternalUrl(n+_(i));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(v,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends y{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let s=this.prepareExternalUrl(n+_(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){let s=this.prepareExternalUrl(n+_(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(v,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(S(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,S(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y),i.LFG(c))},t.normalizeQueryParams=_,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=(0,i.Yz7)({factory:E,token:t,providedIn:"root"}),t})();function E(){return new x((0,i.LFG)(y),(0,i.LFG)(c))}function S(t){return t.replace(/\/index.html$/,"")}var k=(()=>((k=k||{})[k.Zero=0]="Zero",k[k.One=1]="One",k[k.Two=2]="Two",k[k.Few=3]="Few",k[k.Many=4]="Many",k[k.Other=5]="Other",k))();const O=i.kL8;class T{}let A=(()=>{class t extends T{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(O(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.soG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function P(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}let I=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,i.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class R{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 D=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(t){return t.name||typeof t}(e)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new R(null,this._ngForOf,-1,-1),null===i?void 0:i),s=new M(t,n);e.push(s)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,i);const r=new M(t,s);e.push(r)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class M{constructor(t,e){this.record=t,this.view=e}}let L=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new F,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){N("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){N("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class F{constructor(){this.$implicit=null,this.ngIf=null}}function N(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class B{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,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 U=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new B(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(U,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),j=(()=>{class t{constructor(t,e,n){n._addDefault(new B(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(U,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})();class q{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class V{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const H=new V,z=new q;let Y=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,i.QGY)(e))return H;if((0,i.F4k)(e))return z;throw function(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,i.AaK)(t)}'`)}(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"async",type:t,pure:!1}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:T,useClass:A}]}),t})();const K="browser";function $(t){return t===K}let W=(()=>{class t{}return t.\u0275prov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new Q((0,i.LFG)(l),window)}),t})();class Q{constructor(t,e){this.document=t,this.window=e,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 e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],i-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=J(this.window.history)||J(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function J(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class X{}},1841:function(t,e,n){"use strict";n.d(e,{eN:function(){return P},JF:function(){return V}});var i=n(8583),s=n(3018),r=n(5917),o=n(7574),a=n(4612),l=n(5435),c=n(8002);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return g(t)}encodeValue(t){return g(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const f=/%(\d[a-f0-9])/gi,m={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function g(t){return encodeURIComponent(t).replace(f,(t,e)=>{var n;return null!==(n=m[e])&&void 0!==n?n:t})}function _(t){return`${t}`}class y{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[s,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(s)||[];o.push(r),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new y({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(_(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(_(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class b{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function v(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function w(t){return"undefined"!=typeof Blob&&t instanceof Blob}function C(t){return"undefined"!=typeof FormData&&t instanceof FormData}class x{constructor(t,e,n,i){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new b),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new x(n,i,r,{params:c,headers:l,context:u,reportProgress:a,responseType:s,withCredentials:o})}}var E=(()=>((E=E||{})[E.Sent=0]="Sent",E[E.UploadProgress=1]="UploadProgress",E[E.ResponseHeader=2]="ResponseHeader",E[E.DownloadProgress=3]="DownloadProgress",E[E.Response=4]="Response",E[E.User=5]="User",E))();class S{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class k extends S{constructor(t={}){super(t),this.type=E.ResponseHeader}clone(t={}){return new k({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class O extends S{constructor(t={}){super(t),this.type=E.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new O({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class T extends S{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function A(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let P=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof x)i=t;else{let s,r;s=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(r=n.params instanceof y?n.params:new y({fromObject:n.params})),i=new x(t,e,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=(0,r.of)(i).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof x||"events"===n.observe)return s;const o=s.pipe((0,l.h)(t=>t instanceof O));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return o.pipe((0,c.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return o.pipe((0,c.U)(t=>t.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new y).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,A(n,e))}post(t,e,n={}){return this.request("POST",t,A(n,e))}put(t,e,n={}){return this.request("PUT",t,A(n,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(u))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class I{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const R=new s.OlP("HTTP_INTERCEPTORS");let D=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const M=/^\)\]\}',?\n/;let L=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new k({headers:r,status:e,statusText:i,url:o}),s},o=()=>{let{headers:i,status:s,statusText:o,url:a}=r(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(M,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new O({body:l,headers:i,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new T({error:l,headers:i,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=r(),s=new T({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(s)};let l=!1;const c=i=>{l||(e.next(r()),l=!0);let s={type:E.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===t.responseType&&!!n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:E.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:E.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const F=new s.OlP("XSRF_COOKIE_NAME"),N=new s.OlP("XSRF_HEADER_NAME");class B{}let U=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0),s.LFG(s.Lbi),s.LFG(F))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Z=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null!==i&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B),s.LFG(N))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),j=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(R,[]);this.chain=t.reduceRight((t,e)=>new I(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),q=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Z,useClass:D}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:F,useValue:e.cookieName}:[],e.headerName?{provide:N,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Z,{provide:R,useExisting:Z,multi:!0},{provide:B,useClass:U},{provide:F,useValue:"XSRF-TOKEN"},{provide:N,useValue:"X-XSRF-TOKEN"}]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[P,{provide:u,useClass:j},L,{provide:h,useExisting:L}],imports:[[q.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},3018:function(t,e,n){"use strict";n.d(e,{deG:function(){return un},tb:function(){return tc},AFp:function(){return $l},ip1:function(){return Gl},CZH:function(){return Kl},hGG:function(){return Gc},z2F:function(){return Nc},sBO:function(){return Wa},Sil:function(){return hc},_Vd:function(){return va},EJc:function(){return ic},SBq:function(){return Ea},qLn:function(){return Di},vpe:function(){return Tl},gxx:function(){return wr},tBr:function(){return Ln},XFs:function(){return R},OlP:function(){return cn},zs3:function(){return Fr},ZZ4:function(){return Va},aQg:function(){return za},soG:function(){return nc},YKP:function(){return ol},v3s:function(){return Uc},h0i:function(){return rl},PXZ:function(){return Rc},R0b:function(){return fc},FiY:function(){return Fn},Lbi:function(){return Xl},g9A:function(){return Jl},n_E:function(){return Pl},Qsj:function(){return Oa},FYo:function(){return ka},JOm:function(){return Fi},Tiy:function(){return Aa},q3G:function(){return Ei},tp0:function(){return Nn},EAV:function(){return qc},Rgc:function(){return el},dDg:function(){return wc},DyG:function(){return hn},GfV:function(){return Pa},s_b:function(){return ll},ifc:function(){return B},eFA:function(){return Dc},G48:function(){return Ac},Gpc:function(){return m},f3M:function(){return Pn},X6Q:function(){return Tc},_c5:function(){return zc},VLi:function(){return Ec},c2e:function(){return ec},zSh:function(){return xr},wAp:function(){return ra},vHH:function(){return y},EiD:function(){return Ci},mCW:function(){return oi},qzn:function(){return $n},JVY:function(){return Qn},pB0:function(){return ei},eBb:function(){return Xn},L6k:function(){return Jn},LAX:function(){return ti},cg1:function(){return na},Tjo:function(){return Hc},kL8:function(){return ia},yhl:function(){return Wn},dqk:function(){return V},sIi:function(){return Yr},CqO:function(){return po},QGY:function(){return uo},F4k:function(){return ho},RDi:function(){return Tt},AaK:function(){return d},z3N:function(){return Kn},qOj:function(){return Br},TTD:function(){return vt},_Bn:function(){return ga},xp6:function(){return xs},uIk:function(){return Wr},Tol:function(){return Do},Gre:function(){return Wo},ekj:function(){return Ro},Suo:function(){return ql},Xpm:function(){return tt},lG2:function(){return at},Yz7:function(){return x},cJS:function(){return E},oAB:function(){return st},Yjl:function(){return lt},Y36:function(){return eo},_UZ:function(){return oo},BQk:function(){return lo},ynx:function(){return ao},qZA:function(){return ro},TgZ:function(){return so},EpF:function(){return co},n5z:function(){return sn},Ikx:function(){return Qo},LFG:function(){return An},$8M:function(){return on},NdJ:function(){return fo},CRH:function(){return Vl},kcU:function(){return Ce},O4$:function(){return we},oxw:function(){return bo},ALo:function(){return Sl},lcZ:function(){return kl},Hsn:function(){return Co},F$t:function(){return wo},Q6J:function(){return no},s9C:function(){return xo},VKq:function(){return xl},iGM:function(){return Zl},MAs:function(){return to},CHM:function(){return Gt},oJD:function(){return Si},LSH:function(){return ki},kYT:function(){return rt},Udp:function(){return Io},WFA:function(){return mo},d8E:function(){return Jo},YNc:function(){return Xr},_uU:function(){return zo},Oqu:function(){return Yo},hij:function(){return Go},AsE:function(){return Ko},lnq:function(){return $o},Gf:function(){return jl}});var i=n(9765),s=n(5319),r=n(7574),o=n(6682),a=n(2441);var l=n(1307);function c(){return new i.xQ}function u(t){for(let e in t)if(t[e]===u)return e;throw Error("Could not find renamed property on target object.")}function h(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function d(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(d).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function p(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const f=u({__forward_ref__:u});function m(t){return t.__forward_ref__=m,t.toString=function(){return d(this())},t}function g(t){return _(t)?t():t}function _(t){return"function"==typeof t&&t.hasOwnProperty(f)&&t.__forward_ref__===m}class y extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function b(t){return"string"==typeof t?t:null==t?"":String(t)}function v(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():b(t)}function w(t,e){const n=e?` in ${e}`:"";throw new y("201",`No provider for ${v(t)} found${n}`)}function C(t,e){null==t&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}(e,t,null,"!=")}function x(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function E(t){return{providers:t.providers||[],imports:t.imports||[]}}function S(t){return k(t,T)||k(t,P)}function k(t,e){return t.hasOwnProperty(e)?t[e]:null}function O(t){return t&&(t.hasOwnProperty(A)||t.hasOwnProperty(I))?t[A]:null}const T=u({"\u0275prov":u}),A=u({"\u0275inj":u}),P=u({ngInjectableDef:u}),I=u({ngInjectorDef:u});var R=(()=>((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R))();let D;function M(t){const e=D;return D=t,e}function L(t,e,n){const i=S(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&R.Optional?null:void 0!==e?e:void w(d(t),"Injector")}function F(t){return{toString:t}.toString()}var N=(()=>((N=N||{})[N.OnPush=0]="OnPush",N[N.Default=1]="Default",N))(),B=(()=>((B=B||{})[B.Emulated=0]="Emulated",B[B.None=2]="None",B[B.ShadowDom=3]="ShadowDom",B))();const U="undefined"!=typeof globalThis&&globalThis,Z="undefined"!=typeof window&&window,j="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,q="undefined"!=typeof global&&global,V=U||q||Z||j,H={},z=[],Y=u({"\u0275cmp":u}),G=u({"\u0275dir":u}),K=u({"\u0275pipe":u}),$=u({"\u0275mod":u}),W=u({"\u0275loc":u}),Q=u({"\u0275fac":u}),J=u({__NG_ELEMENT_ID__:u});let X=0;function tt(t){return F(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===N.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||z,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||B.Emulated,id:"c",styles:t.styles||z,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,s=t.features,r=t.pipes;return n.id+=X++,n.inputs=ot(t.inputs,e),n.outputs=ot(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(et):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(nt):null,n})}function et(t){return ct(t)||function(t){return t[G]||null}(t)}function nt(t){return function(t){return t[K]||null}(t)}const it={};function st(t){return F(()=>{const e={type:t.type,bootstrap:t.bootstrap||z,declarations:t.declarations||z,imports:t.imports||z,exports:t.exports||z,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(it[t.id]=t.type),e})}function rt(t,e){return F(()=>{const n=ut(t,!0);n.declarations=e.declarations||z,n.imports=e.imports||z,n.exports=e.exports||z})}function ot(t,e){if(null==t)return H;const n={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),n[s]=i,e&&(e[s]=r)}return n}const at=tt;function lt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function ct(t){return t[Y]||null}function ut(t,e){const n=t[$]||null;if(!n&&!0===e)throw new Error(`Type ${d(t)} does not have '\u0275mod' property.`);return n}function ht(t){return Array.isArray(t)&&"object"==typeof t[1]}function dt(t){return Array.isArray(t)&&!0===t[1]}function pt(t){return 0!=(8&t.flags)}function ft(t){return 2==(2&t.flags)}function mt(t){return 1==(1&t.flags)}function gt(t){return null!==t.template}function _t(t){return 0!=(512&t[2])}function yt(t,e){return t.hasOwnProperty(Q)?t[Q]:null}class bt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function vt(){return wt}function wt(t){return t.type.prototype.ngOnChanges&&(t.setInput=xt),Ct}function Ct(){const t=St(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===H)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function xt(t,e,n,i){const s=St(t)||function(t,e){return t[Et]=e}(t,{previous:H,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];r[a]=new bt(l&&l.currentValue,e,o===H),t[i]=e}vt.ngInherit=!0;const Et="__ngSimpleChanges__";function St(t){return t[Et]||null}const kt="http://www.w3.org/2000/svg";let Ot;function Tt(t){Ot=t}function At(){return void 0!==Ot?Ot:"undefined"!=typeof document?document:void 0}function Pt(t){return!!t.listen}const It={createRenderer:(t,e)=>At()};function Rt(t){for(;Array.isArray(t);)t=t[0];return t}function Dt(t,e){return Rt(e[t])}function Mt(t,e){return Rt(e[t.index])}function Lt(t,e){return t.data[e]}function Ft(t,e){return t[e]}function Nt(t,e){const n=e[t];return ht(n)?n:n[0]}function Bt(t){return 4==(4&t[2])}function Ut(t){return 128==(128&t[2])}function Zt(t,e){return null==e?null:t[e]}function jt(t){t[18]=0}function qt(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Vt={lFrame:fe(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ht(){return Vt.bindingsEnabled}function zt(){return Vt.lFrame.lView}function Yt(){return Vt.lFrame.tView}function Gt(t){return Vt.lFrame.contextLView=t,t[8]}function Kt(){let t=$t();for(;null!==t&&64===t.type;)t=t.parent;return t}function $t(){return Vt.lFrame.currentTNode}function Wt(t,e){const n=Vt.lFrame;n.currentTNode=t,n.isParent=e}function Qt(){return Vt.lFrame.isParent}function Jt(){Vt.lFrame.isParent=!1}function Xt(){return Vt.isInCheckNoChangesMode}function te(t){Vt.isInCheckNoChangesMode=t}function ee(){const t=Vt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ne(){return Vt.lFrame.bindingIndex}function ie(){return Vt.lFrame.bindingIndex++}function se(t){const e=Vt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function re(t,e){const n=Vt.lFrame;n.bindingIndex=n.bindingRootIndex=t,oe(e)}function oe(t){Vt.lFrame.currentDirectiveIndex=t}function ae(t){const e=Vt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function le(){return Vt.lFrame.currentQueryIndex}function ce(t){Vt.lFrame.currentQueryIndex=t}function ue(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function he(t,e,n){if(n&R.SkipSelf){let i=e,s=t;for(;!(i=i.parent,null!==i||n&R.Host||(i=ue(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;e=i,t=s}const i=Vt.lFrame=pe();return i.currentTNode=e,i.lView=t,!0}function de(t){const e=pe(),n=t[1];Vt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function pe(){const t=Vt.lFrame,e=null===t?null:t.child;return null===e?fe(t):e}function fe(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function me(){const t=Vt.lFrame;return Vt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ge=me;function _e(){const t=me();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ye(){return Vt.lFrame.selectedIndex}function be(t){Vt.lFrame.selectedIndex=t}function ve(){const t=Vt.lFrame;return Lt(t.tView,t.selectedIndex)}function we(){Vt.lFrame.currentNamespace=kt}function Ce(){Vt.lFrame.currentNamespace=null}function xe(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}class Ae{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Pe(t,e,n){const i=Pt(t);let s=0;for(;se){o=r-1;break}}}for(;r>16}(t),i=e;for(;n>0;)i=i[15],n--;return i}let Be=!0;function Ue(t){const e=Be;return Be=t,e}let Ze=0;function je(t,e){const n=Ve(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,qe(i.data,t),qe(e,null),qe(i.blueprint,null));const s=He(t,e),r=t.injectorIndex;if(Le(s)){const t=Fe(s),n=Ne(s,e),i=n[1].data;for(let s=0;s<8;s++)e[r+s]=n[t+s]|i[t+s]}return e[r+8]=s,r}function qe(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ve(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function He(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(i=2===e?t.declTNode:1===e?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function ze(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(J)&&(i=n[J]),null==i&&(i=n[J]=Ze++);const s=255&i;e.data[t+(s>>5)]|=1<=0?255&e:We:e}(n);if("function"==typeof r){if(!he(e,t,i))return i&R.Host?Ye(s,n,i):Ge(e,n,i,s);try{const t=r(i);if(null!=t||i&R.Optional)return t;w(n)}finally{ge()}}else if("number"==typeof r){let s=null,o=Ve(t,e),a=-1,l=i&R.Host?e[16][6]:null;for((-1===o||i&R.SkipSelf)&&(a=-1===o?He(t,e):e[o+8],-1!==a&&en(i,!1)?(s=e[1],o=Fe(a),e=Ne(a,e)):o=-1);-1!==o;){const t=e[1];if(tn(r,o,t.data)){const t=Qe(o,e,n,s,i,l);if(t!==$e)return t}a=e[o+8],-1!==a&&en(i,e[1].data[o+8]===l)&&tn(r,o,e)?(s=t,o=Fe(a),e=Ne(a,e)):o=-1}}}return Ge(e,n,i,s)}const $e={};function We(){return new nn(Kt(),zt())}function Qe(t,e,n,i,s,r){const o=e[1],a=o.data[t+8],l=Je(a,o,n,null==i?ft(a)&&Be:i!=o&&0!=(3&a.type),s&R.Host&&r===a);return null!==l?Xe(e,o,l,a):$e}function Je(t,e,n,i,s){const r=t.providerIndexes,o=e.data,a=1048575&r,l=t.directiveStart,c=r>>20,u=s?a+c:t.directiveEnd;for(let h=i?a:a+c;h=l&&t.type===n)return h}if(s){const t=o[l];if(t&>(t)&&t.type===n)return l}return null}function Xe(t,e,n,i){let s=t[n];const r=e.data;if(function(t){return t instanceof Ae}(s)){const o=s;o.resolving&&function(t,e){throw new y("200",`Circular dependency in DI detected for ${t}`)}(v(r[n]));const a=Ue(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?M(o.injectImpl):null;he(t,i,R.Default);try{s=t[n]=o.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:r}=e.type.prototype;if(i){const i=wt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&M(l),Ue(a),o.resolving=!1,ge()}}return s}function tn(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[Q]||rn(e),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const t=s[Q]||rn(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function rn(t){return _(t)?()=>{const e=rn(g(t));return e&&e()}:yt(t)}function on(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return i.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,i){const s=t.hasOwnProperty(an)?t[an]:Object.defineProperty(t,an,{value:[]})[an];for(;s.length<=i;)s.push(null);return(s[i]=s[i]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}class cn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=x({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const un=new cn("AnalyzeForEntryComponents"),hn=Function;function dn(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?pn(t,e):e(t))}function fn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function mn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function gn(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let s=t.length;if(s==e)t.push(n,i);else if(1===s)t.push(i,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function yn(t,e){const n=bn(t,e);if(n>=0)return t[1|n]}function bn(t,e){return function(t,e,n){let i=0,s=t.length>>n;for(;s!==i;){const r=i+(s-i>>1),o=t[r<e?s=r:i=r+1}return~(s< ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):d(i)))}s=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${t.replace(xn,"\n ")}`}("\n"+t.message,s,n,i),t.ngTokenPath=s,t[Cn]=null,t}const Ln=Rn(ln("Inject",t=>({token:t})),-1),Fn=Rn(ln("Optional"),8),Nn=Rn(ln("SkipSelf"),4);let Bn,Un;function Zn(t){var e;return(null===(e=function(){if(void 0===Bn&&(Bn=null,V.trustedTypes))try{Bn=V.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Bn}())||void 0===e?void 0:e.createHTML(t))||t}function jn(t){var e;return(null===(e=function(){if(void 0===Un&&(Un=null,V.trustedTypes))try{Un=V.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Un}())||void 0===e?void 0:e.createHTML(t))||t}class qn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Vn extends qn{getTypeName(){return"HTML"}}class Hn extends qn{getTypeName(){return"Style"}}class zn extends qn{getTypeName(){return"Script"}}class Yn extends qn{getTypeName(){return"URL"}}class Gn extends qn{getTypeName(){return"ResourceURL"}}function Kn(t){return t instanceof qn?t.changingThisBreaksApplicationSecurity:t}function $n(t,e){const n=Wn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Wn(t){return t instanceof qn&&t.getTypeName()||null}function Qn(t){return new Vn(t)}function Jn(t){return new Hn(t)}function Xn(t){return new zn(t)}function ti(t){return new Yn(t)}function ei(t){return new Gn(t)}class ni{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Zn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class ii{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Zn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Zn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0oi(t.trim())).join(", ")),this.buf.push(" ",e,'="',vi(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();di.hasOwnProperty(e)&&!ci.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(vi(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const yi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bi=/([^\#-~ |!])/g;function vi(t){return t.replace(/&/g,"&").replace(yi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(bi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let wi;function Ci(t,e){let n=null;try{wi=wi||function(t){const e=new ii(t);return function(){try{return!!(new window.DOMParser).parseFromString(Zn(""),"text/html")}catch(t){return!1}}()?new ni(e):e}(t);let i=e?String(e):"";n=wi.getInertBodyElement(i);let s=5,r=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=r,r=n.innerHTML,n=wi.getInertBodyElement(i)}while(i!==r);return Zn((new _i).sanitizeChildren(xi(n)||n))}finally{if(n){const t=xi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function xi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ei=(()=>((Ei=Ei||{})[Ei.NONE=0]="NONE",Ei[Ei.HTML=1]="HTML",Ei[Ei.STYLE=2]="STYLE",Ei[Ei.SCRIPT=3]="SCRIPT",Ei[Ei.URL=4]="URL",Ei[Ei.RESOURCE_URL=5]="RESOURCE_URL",Ei))();function Si(t){const e=Oi();return e?jn(e.sanitize(Ei.HTML,t)||""):$n(t,"HTML")?jn(Kn(t)):Ci(At(),b(t))}function ki(t){const e=Oi();return e?e.sanitize(Ei.URL,t)||"":$n(t,"URL")?Kn(t):oi(b(t))}function Oi(){const t=zt();return t&&t[12]}const Ti="__ngContext__";function Ai(t,e){t[Ti]=e}function Pi(t){const e=function(t){return t[Ti]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ii(t){return t.ngOriginalError}function Ri(t,...e){t.error(...e)}class Di{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=(s=t)&&s.ngErrorLogger||Ri;var s;i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?t.ngDebugContext||this._findContext(Ii(t)):null}_findOriginalError(t){let e=t&&Ii(t);for(;e&&Ii(e);)e=Ii(e);return e||null}}const Mi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(V))();function Li(t){return t instanceof Function?t():t}var Fi=(()=>((Fi=Fi||{})[Fi.Important=1]="Important",Fi[Fi.DashCase=2]="DashCase",Fi))();function Ni(t,e){return undefined(t,e)}function Bi(t){const e=t[3];return dt(e)?e[3]:e}function Ui(t){return ji(t[13])}function Zi(t){return ji(t[4])}function ji(t){for(;null!==t&&!dt(t);)t=t[4];return t}function qi(t,e,n,i,s){if(null!=i){let r,o=!1;dt(i)?r=i:ht(i)&&(o=!0,i=i[0]);const a=Rt(i);0===t&&null!==n?null==s?Wi(e,n,a):$i(e,n,a,s||null,!0):1===t&&null!==n?$i(e,n,a,s||null,!0):2===t?function(t,e,n){const i=Ji(t,e);i&&function(t,e,n,i){Pt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,i,s){const r=n[7];r!==Rt(n)&&qi(e,t,i,r,s);for(let o=10;o0&&(t[n-1][4]=i[4]);const r=mn(t,10+e);!function(t,e){os(t,e,e[11],2,null,null),e[0]=null,e[6]=null}(i[1],i);const o=r[19];null!==o&&o.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function Yi(t,e){if(!(256&e[2])){const n=e[11];Pt(n)&&n.destroyNode&&os(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Gi(t[1],t);for(;e;){let n=null;if(ht(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ht(e)&&Gi(e[1],e),e=e[3];null===e&&(e=t),ht(e)&&Gi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Gi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i=0?i[s=l]():i[s=-l].unsubscribe(),r+=2}else{const t=i[s=n[r+1]];n[r].call(t)}if(null!==i){for(let t=s+1;tr?"":s[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==us(e,c,0)||2&i&&c!==t){if(gs(i))return!1;o=!0}}}}else{if(!o&&!gs(i)&&!gs(l))return!1;if(o&&gs(l))continue;o=!1,i=l|1&i}}return gs(i)||o}function gs(t){return 0==(1&t)}function _s(t,e,n,i){if(null===e)return-1;let s=0;if(i||!n){let n=!1;for(;s-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?s+="."+o:4&i&&(s+=" "+o);else""!==s&&!gs(o)&&(e+=vs(r,s),s=""),i=o,r=r||!gs(i);n++}return""!==s&&(e+=vs(r,s)),e}const Cs={};function xs(t){Es(Yt(),zt(),ye()+t,Xt())}function Es(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&Ee(e,i,n)}else{const i=t.preOrderHooks;null!==i&&Se(e,i,0,n)}be(n)}function Ss(t,e){return t<<17|e<<2}function ks(t){return t>>17&32767}function Os(t){return 2|t}function Ts(t){return(131068&t)>>2}function As(t,e){return-131069&t|e<<2}function Ps(t){return 1|t}function Is(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i20&&Es(t,e,20,Xt()),n(i,s)}finally{be(r)}}function Us(t,e,n){if(pt(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(i,s,o)}}function $s(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ws(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Qs(t,e,n){if(n){if(e.exportAs)for(let i=0;i0&&or(n)}}function or(t){for(let n=Ui(t);null!==n;n=Zi(n))for(let t=10;t0&&or(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&or(i)}}function ar(t,e){const n=Nt(e,t),i=n[1];(function(t,e){for(let n=e.length;nPromise.resolve(null))();function fr(t){return t[7]||(t[7]=[])}function mr(t){return t.cleanup||(t.cleanup=[])}function gr(t,e,n){return(null===t||gt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function _r(t,e){const n=t[9],i=n?n.get(Di,null):null;i&&i.handleError(e)}function yr(t,e,n,i,s){for(let r=0;rthis.processProvider(n,t,e)),pn([t],t=>this.processInjectorType(t,[],s)),this.records.set(wr,Rr(void 0,this));const r=this.records.get(xr);this.scope=null!=r?r.value:null,this.source=i||("object"==typeof t?null:d(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=vn,n=R.Default){this.assertNotDestroyed();const i=On(this),s=M(void 0);try{if(!(n&R.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof cn)&&S(t);e=n&&this.injectableDefInScope(n)?Rr(Pr(t),Er):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&R.Self?Or():this.parent).get(t,e=n&R.Optional&&e===vn?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[Cn]=o[Cn]||[]).unshift(d(t)),i)throw o;return Mn(o,t,"R3InjectorError",this.source)}throw o}finally{M(s),On(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(d(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=g(t)))return!1;let i=O(t);const s=null==i&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==n.indexOf(r);if(void 0!==s&&(i=O(s)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(r);try{pn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,i||z))}}this.injectorDefTypes.add(r);const a=yt(r)||(()=>new r);this.records.set(r,Rr(a,Er));const l=i.providers;if(null!=l&&!o){const e=t;pn(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let i=Mr(t=g(t))?t:g(t&&t.provide);const s=Dr(r=t)?Rr(void 0,r.useValue):Rr(Ir(r),Er);var r;if(Mr(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Rr(void 0,Er,!0),e.factory=()=>In(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,s)}hydrate(t,e){return e.value===Er&&(e.value=Sr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value;var n}injectableDefInScope(t){if(!t.providedIn)return!1;const e=g(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Pr(t){const e=S(t),n=null!==e?e.factory:yt(t);if(null!==n)return n;if(t instanceof cn)throw new Error(`Token ${d(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=gn(e,"?");throw new Error(`Can't resolve all parameters for ${d(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[T]||t[P]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Ir(t,e,n){let i;if(Mr(t)){const e=g(t);return yt(e)||Pr(e)}if(Dr(t))i=()=>g(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...In(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>An(g(t.useExisting));else{const e=g(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return yt(e)||Pr(e);i=()=>new e(...In(t.deps))}return i}function Rr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Dr(t){return null!==t&&"object"==typeof t&&Sn in t}function Mr(t){return"function"==typeof t}const Lr=function(t,e,n){return function(t,e=null,n=null,i){const s=Tr(t,e,n,i);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};class Fr{static create(t,e){return Array.isArray(t)?Lr(t,e,""):Lr(t.providers,t.parent,t.name||"")}}function Nr(t,e){xe(Pi(t)[1],Kt())}function Br(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const i=[t];for(;e;){let s;if(gt(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){i.push(s);const e=t;e.inputs=Ur(t.inputs),e.declaredInputs=Ur(t.declaredInputs),e.outputs=Ur(t.outputs);const n=s.hostBindings;n&&qr(t,n);const r=s.viewQuery,o=s.contentQueries;if(r&&Zr(t,r),o&&jr(t,o),h(t.inputs,s.inputs),h(t.declaredInputs,s.declaredInputs),h(t.outputs,s.outputs),gt(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let i=0;i=0;i--){const s=t[i];s.hostVars=e+=s.hostVars,s.hostAttrs=De(s.hostAttrs,n=De(n,s.hostAttrs))}}(i)}function Ur(t){return t===H?{}:t===z?[]:t}function Zr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function jr(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,s)=>{e(t,i,s),n(t,i,s)}:e}function qr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}Fr.THROW_IF_NOT_FOUND=vn,Fr.NULL=new Cr,Fr.\u0275prov=x({token:Fr,providedIn:"any",factory:()=>An(wr)}),Fr.__NG_ELEMENT_ID__=-1;let Vr=null;function Hr(){if(!Vr){const t=V.Symbol;if(t&&t.iterator)Vr=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Rt(t[i.index])):i.index;if(Pt(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const s=t.cleanup;if(null!=s)for(let r=0;rn?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,d=!1;else{r=yo(i,e,u,r,!1);const t=n.listen(f,s,r);h.push(r,t),c&&c.push(s,g,m,m+1)}}else r=yo(i,e,u,r,!0),f.addEventListener(s,r,o),h.push(r),c&&c.push(s,g,m,o)}else r=yo(i,e,u,r,!1);const p=i.outputs;let f;if(d&&null!==p&&(f=p[s])){const t=f.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Vt.lFrame.contextLView))[8]}(t)}function vo(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s=0}const Oo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function To(t){return t.substring(Oo.key,Oo.keyEnd)}function Ao(t,e){const n=Oo.textEnd;return n===e?-1:(e=Oo.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,Oo.key=e,n),Po(t,e,n))}function Po(t,e,n){for(;e=0;n=Ao(e,n))_n(t,To(e),!0)}function Lo(t,e,n,i){const s=zt(),r=Yt(),o=se(2);r.firstUpdatePass&&Bo(r,t,o,i),e!==Cs&&Kr(s,o,e)&&jo(r,r.data[ye()],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=d(Kn(t)))),t}(e,n),i,o)}function Fo(t,e,n,i){const s=Yt(),r=se(2);s.firstUpdatePass&&Bo(s,null,r,i);const o=zt();if(n!==Cs&&Kr(o,r,n)){const a=s.data[ye()];if(Ho(a,i)&&!No(s,r)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=p(t,n||"")),io(s,a,o,n,i)}else!function(t,e,n,i,s,r,o,a){s===Cs&&(s=z);let l=0,c=0,u=0=t.expandoStartIndex}function Bo(t,e,n,i){const s=t.data;if(null===s[n+1]){const r=s[ye()],o=No(t,n);Ho(r,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const s=ae(t);let r=i?e.residualClasses:e.residualStyles;if(null===s)0===(i?e.classBindings:e.styleBindings)&&(n=Zo(n=Uo(null,t,e,n,i),e.attrs,i),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=Uo(s,t,e,n,i),null===r){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==Ts(i))return t[ks(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Uo(null,t,e,n[1],i),n=Zo(n,e.attrs,i),function(t,e,n,i){t[ks(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else r=function(t,e,n){let i;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r0)&&(u=!0)}else c=n;if(s)if(0!==l){const e=ks(t[a+1]);t[i+1]=Ss(e,a),0!==e&&(t[e+1]=As(t[e+1],i)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],i)}else t[i+1]=Ss(a,0),0!==a&&(t[a+1]=As(t[a+1],i)),a=i;else t[i+1]=Ss(l,0),0===a?a=i:t[l+1]=As(t[l+1],i),l=i;u&&(t[i+1]=Os(t[i+1])),So(t,c,i,!0),So(t,c,i,!1),function(t,e,n,i,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&bn(r,e)>=0&&(n[i+1]=Ps(n[i+1]))}(e,c,t,i,r),o=Ss(a,l),r?e.classBindings=o:e.styleBindings=o}(s,r,e,n,o,i)}}function Uo(t,e,n,i,s){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[s],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let u=n[s+1];u===Cs&&(u=c?z:void 0);let h=c?yn(u,i):l===i?u:void 0;if(r&&!Vo(h)&&(h=yn(e,i)),Vo(h)&&(a=h,o))return a;const d=t[s+1];s=o?ks(d):Ts(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=yn(t,i))}return a}function Vo(t){return void 0!==t}function Ho(t,e){return 0!=(t.flags&(e?16:32))}function zo(t,e=""){const n=zt(),i=Yt(),s=t+20,r=i.firstCreatePass?Ds(i,s,1,e,null):i.data[s],o=n[s]=function(t,e){return Pt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);es(i,n,o,r),Wt(r,!1)}function Yo(t){return Go("",t,""),Yo}function Go(t,e,n){const i=zt(),s=Qr(i,t,e,n);return s!==Cs&&br(i,ye(),s),Go}function Ko(t,e,n,i,s){const r=zt(),o=function(t,e,n,i,s,r){const o=$r(t,ne(),n,s);return se(2),o?e+b(n)+i+b(s)+r:Cs}(r,t,e,n,i,s);return o!==Cs&&br(r,ye(),o),Ko}function $o(t,e,n,i,s,r,o){const a=zt(),l=Jr(a,t,e,n,i,s,r,o);return l!==Cs&&br(a,ye(),l),$o}function Wo(t,e,n){Fo(_n,Mo,Qr(zt(),t,e,n),!0)}function Qo(t,e,n){const i=zt();return Kr(i,ie(),e)&&Ys(Yt(),ve(),i,t,e,i[11],n,!0),Qo}function Jo(t,e,n){const i=zt();if(Kr(i,ie(),e)){const s=Yt(),r=ve();Ys(s,r,i,t,e,gr(ae(s.data),r,i),n,!0)}return Jo}const Xo=void 0;var ta=["en",[["a","p"],["AM","PM"],Xo],[["AM","PM"],Xo,Xo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Xo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Xo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Xo,"{1} 'at' {0}",Xo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let ea={};function na(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=sa(e);if(n)return n;const i=e.split("-")[0];if(n=sa(i),n)return n;if("en"===i)return ta;throw new Error(`Missing locale data for the locale "${t}".`)}function ia(t){return na(t)[ra.PluralCase]}function sa(t){return t in ea||(ea[t]=V.ng&&V.ng.common&&V.ng.common.locales&&V.ng.common.locales[t]),ea[t]}var ra=(()=>((ra=ra||{})[ra.LocaleId=0]="LocaleId",ra[ra.DayPeriodsFormat=1]="DayPeriodsFormat",ra[ra.DayPeriodsStandalone=2]="DayPeriodsStandalone",ra[ra.DaysFormat=3]="DaysFormat",ra[ra.DaysStandalone=4]="DaysStandalone",ra[ra.MonthsFormat=5]="MonthsFormat",ra[ra.MonthsStandalone=6]="MonthsStandalone",ra[ra.Eras=7]="Eras",ra[ra.FirstDayOfWeek=8]="FirstDayOfWeek",ra[ra.WeekendRange=9]="WeekendRange",ra[ra.DateFormat=10]="DateFormat",ra[ra.TimeFormat=11]="TimeFormat",ra[ra.DateTimeFormat=12]="DateTimeFormat",ra[ra.NumberSymbols=13]="NumberSymbols",ra[ra.NumberFormats=14]="NumberFormats",ra[ra.CurrencyCode=15]="CurrencyCode",ra[ra.CurrencySymbol=16]="CurrencySymbol",ra[ra.CurrencyName=17]="CurrencyName",ra[ra.Currencies=18]="Currencies",ra[ra.Directionality=19]="Directionality",ra[ra.PluralCase=20]="PluralCase",ra[ra.ExtraData=21]="ExtraData",ra))();const oa="en-US";let aa=oa;function la(t){C(t,"Expected localeId to be defined"),"string"==typeof t&&(aa=t.toLowerCase().replace(/_/g,"-"))}function ca(t,e,n,i,s){if(t=g(t),Array.isArray(t))for(let r=0;r>20;if(Mr(t)||!t.multi){const i=new Ae(l,s,eo),p=da(a,e,s?u:u+d,h);-1===p?(ze(je(c,o),r,a),ua(r,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=da(a,e,u+d,h),f=da(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(s&&!g||!s&&!m){ze(je(c,o),r,a);const u=function(t,e,n,i,s){const r=new Ae(t,n,eo);return r.multi=[],r.index=e,r.componentProviders=0,ha(r,s,i&&!n),r}(s?fa:pa,n.length,s,i,l);!s&&g&&(n[f].providerFactory=u),ua(r,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else ua(r,t,p>-1?p:f,ha(n[s?f:p],l,!s&&i));!s&&i&&g&&n[f].componentProviders++}}}function ua(t,e,n,i){const s=Mr(e);if(s||function(t){return!!t.useClass}(e)){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,r]):o[t+1].push(i,r)}else o.push(n,r)}}}function ha(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function da(t,e,n,i){for(let s=n;s{n.providersResolver=(n,i)=>function(t,e,n){const i=Yt();if(i.firstCreatePass){const s=gt(t);ca(n,i.data,i.blueprint,s,!0),ca(e,i.data,i.blueprint,s,!1)}}(n,i?i(t):t,e)}}class _a{}const ya="ngComponent";class ba{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${d(t)}. Did you add it to @NgModule.entryComponents?`);return e[ya]=t,e}(t)}}class va{}function wa(...t){}function Ca(t,e){return new Ea(Mt(t,e))}va.NULL=new ba;const xa=function(){return Ca(Kt(),zt())};let Ea=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=xa,t})();function Sa(t){return t instanceof Ea?t.nativeElement:t}class ka{}let Oa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ta(),t})();const Ta=function(){const t=zt(),e=Nt(Kt().index,t);return function(t){return t[11]}(ht(e)?e:t)};let Aa=(()=>{class t{}return t.\u0275prov=x({token:t,providedIn:"root",factory:()=>null}),t})();class Pa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ia=new Pa("12.2.4");class Ra{constructor(){}supports(t){return Yr(t)}create(t){return new Ma(t)}}const Da=(t,e)=>e;class Ma{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||Da}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,s=null;for(;e||n;){const r=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,t,i,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,i,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,i)):t=this._addAfter(new La(e,n),s,i),t}_verifyReinsertion(t,e,n,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Na),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Na),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class La{constructor(t,e){this.item=t,this.trackById=e,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 Fa{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,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Na{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Fa,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ba(t,e,n){const i=t.previousIndex;if(null===i)return i;let s=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,s=n._next;return i&&(i._next=s),s&&(s._prev=i),n._next=null,n._prev=null,n}const n=new ja(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class ja{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 qa(){return new Va([new Ra])}let Va=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||qa()),deps:[[t,new Nn,new Fn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${function(t){return t.name||typeof t}(t)}'`)}}return t.\u0275prov=x({token:t,providedIn:"root",factory:qa}),t})();function Ha(){return new za([new Ua])}let za=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||Ha()),deps:[[t,new Nn,new Fn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=x({token:t,providedIn:"root",factory:Ha}),t})();function Ya(t,e,n,i,s=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&i.push(Rt(r)),dt(r))for(let t=10;t-1&&(zi(t,n),mn(e,n))}this._attachedToViewContainer=!1}Yi(this._lView[1],this._lView)}onDestroy(t){Hs(this._lView[1],this._lView,null,t)}markForCheck(){cr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ur(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){te(!0);try{ur(t,e,n)}finally{te(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,os(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Ka extends Ga{constructor(t){super(t),this._view=t}detectChanges(){hr(this._view)}checkNoChanges(){!function(t){te(!0);try{hr(t)}finally{te(!1)}}(this._view)}get context(){return null}}const $a=function(t){return function(t,e,n){if(ft(t)&&!n){const n=Nt(t.index,e);return new Ga(n,n)}return 47&t.type?new Ga(e[16],e):null}(Kt(),zt(),16==(16&t))};let Wa=(()=>{class t{}return t.__NG_ELEMENT_ID__=$a,t})();const Qa=[new Ua],Ja=new Va([new Ra]),Xa=new za(Qa),tl=function(){return sl(Kt(),zt())};let el=(()=>{class t{}return t.__NG_ELEMENT_ID__=tl,t})();const nl=el,il=class extends nl{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Rs(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Ls(e,n,t),new Ga(n)}};function sl(t,e){return 4&t.type?new il(e,t,Ca(t,e)):null}class rl{}class ol{}const al=function(){return pl(Kt(),zt())};let ll=(()=>{class t{}return t.__NG_ELEMENT_ID__=al,t})();const cl=ll,ul=class extends cl{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ca(this._hostTNode,this._hostLView)}get injector(){return new nn(this._hostTNode,this._hostLView)}get parentInjector(){const t=He(this._hostTNode,this._hostLView);if(Le(t)){const e=Ne(t,this._hostLView),n=Fe(t);return new nn(e[1].data[n+8],e)}return new nn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=hl(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,s){const r=n||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(rl,null);t&&(s=t)}const o=t.create(r,i,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(dt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new ul(e,e[6],e[3]);i.detach(i.indexOf(t))}}const s=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,i){const s=10+i,r=n.length;i>0&&(n[s-1][4]=e),iMi});class yl extends _a{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(ws).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return gl(this.componentDef.inputs)}get outputs(){return gl(this.componentDef.outputs)}create(t,e,n,i){const s=(i=i||this.ngModule)?function(t,e){return{get:(n,i,s)=>{const r=t.get(n,fl,s);return r!==fl||i===fl?r:e.get(n,i,s)}}}(t,i.injector):t,r=s.get(ka,It),o=s.get(Aa,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Pt(t))return t.selectRootElement(e,n===B.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Vi(r.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?kt:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h=function(t,e){return{components:[],scheduler:t||Mi,clean:pr,playerHandler:e||null,flags:0}}(),d=Vs(0,null,null,1,0,null,null,null,null,null),p=Rs(null,d,h,u,null,null,r,a,o,s);let f,m;de(p);try{const t=function(t,e,n,i,s,r){const o=n[1];n[20]=t;const a=Ds(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(vr(a,l,!0),null!==t&&(Pe(s,t,l),null!==a.classes&&cs(s,t,a.classes),null!==a.styles&&ls(s,t,a.styles)));const c=i.createRenderer(t,e),u=Rs(n,qs(e),null,e.onPush?64:16,n[20],a,i,c,r||null,null);return o.firstCreatePass&&(ze(je(a,n),o,e.type),Ws(o,a),Js(a,n.length,1)),lr(n,u),n[20]=u}(c,this.componentDef,p,r,a);if(c)if(n)Pe(a,c,["ng-version",Ia.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,s=2;for(;i0&&cs(a,c,e.join(" "))}if(m=Lt(d,20),void 0!==e){const t=m.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=Kt();e.contentQueries(1,o,t.directiveStart)}const a=Kt();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(be(a.index),Ks(n[1],a,0,a.directiveStart,a.directiveEnd,e),$s(e,o)),o}(t,this.componentDef,p,h,[Nr]),Ls(d,p,null)}finally{_e()}return new bl(this.componentType,f,Ca(m,p),p,m)}}class bl extends class{}{constructor(t,e,n,i,s){super(),this.location=n,this._rootLView=i,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new Ka(i),this.componentType=t}get injector(){return new nn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const vl=new Map;class wl extends rl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ml(this);const n=ut(t),i=t[W]||null;i&&la(i),this._bootstrapComponents=Li(n.bootstrap),this._r3Injector=Tr(t,e,[{provide:rl,useValue:this},{provide:va,useValue:this.componentFactoryResolver}],d(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Fr.THROW_IF_NOT_FOUND,n=R.Default){return t===Fr||t===rl||t===wr?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Cl extends ol{constructor(t){super(),this.moduleType=t,null!==ut(t)&&function(t){const e=new Set;!function t(n){const i=ut(n,!0),s=i.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${d(e)} vs ${d(e.name)}`)}(s,vl.get(s),n),vl.set(s,n));const r=Li(i.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new wl(this.moduleType,t)}}function xl(t,e,n,i){return El(zt(),ee(),t,e,n,i)}function El(t,e,n,i,s,r){const o=e+n;return Kr(t,o,s)?function(t,e,n){return t[e]=n}(t,o+1,r?i.call(r,s):i(s)):function(t,e){const n=t[e];return n===Cs?void 0:n}(t,o+1)}function Sl(t,e){const n=Yt();let i;const s=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new y("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const r=i.factory||(i.factory=yt(i.type)),o=M(eo);try{const t=Ue(!1),e=r();return Ue(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,zt(),s,e),e}finally{M(o)}}function kl(t,e,n){const i=t+20,s=zt(),r=Ft(s,i);return function(t,e){zr.isWrapped(e)&&(e=zr.unwrap(e),t[ne()]=Cs);return e}(s,function(t,e){return t[1].data[e].pure}(s,i)?El(s,ee(),e,r.transform,n,r):r.transform(n))}function Ol(t){return e=>{setTimeout(t,void 0,e)}}const Tl=class extends i.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,r,o;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(i=e.next)||void 0===i?void 0:i.bind(e),l=null===(r=e.error)||void 0===r?void 0:r.bind(e),c=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(l=Ol(l),a&&(a=Ol(a)),c&&(c=Ol(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof s.w&&t.add(u),u}};function Al(){return this._results[Hr()]()}class Pl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Hr(),n=Pl.prototype;n[e]||(n[e]=Al)}get changes(){return this._changes||(this._changes=new Tl)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const n=this;n.dirty=!1;const i=dn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i0)i.push(o[t/2]);else{const s=r[t+1],o=e[-n];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=wa,this.reject=wa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(An(Gl,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();const $l=new cn("AppId"),Wl={provide:$l,useFactory:function(){return`${Ql()}${Ql()}${Ql()}`},deps:[]};function Ql(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Jl=new cn("Platform Initializer"),Xl=new cn("Platform ID"),tc=new cn("appBootstrapListener");let ec=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();const nc=new cn("LocaleId"),ic=new cn("DefaultCurrencyCode");class sc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const rc=function(t){return new Cl(t)},oc=rc,ac=function(t){return Promise.resolve(rc(t))},lc=function(t){const e=rc(t),n=Li(ut(t).declarations).reduce((t,e)=>{const n=ct(e);return n&&t.push(new yl(n)),t},[]);return new sc(e,n)},cc=lc,uc=function(t){return Promise.resolve(lc(t))};let hc=(()=>{class t{constructor(){this.compileModuleSync=oc,this.compileModuleAsync=ac,this.compileModuleAndAllComponentsSync=cc,this.compileModuleAndAllComponentsAsync=uc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();const dc=(()=>Promise.resolve(0))();function pc(t){"undefined"==typeof Zone?dc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class fc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Tl(!1),this.onMicrotaskEmpty=new Tl(!1),this.onStable=new Tl(!1),this.onError=new Tl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=V.requestAnimationFrame,e=V.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(V,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,_c(t),t.isCheckStableRunning=!0,gc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),_c(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,r,o,a)=>{try{return yc(t),n.invokeTask(s,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),bc(t)}},onInvoke:(n,i,s,r,o,a,l)=>{try{return yc(t),n.invoke(s,r,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),bc(t)}},onHasTask:(e,n,i,s)=>{e.hasTask(i,s),n===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,_c(t),gc(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,i,s)=>(e.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(fc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+i,t,mc,wa,wa);try{return s.runTask(r,e,n)}finally{s.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const mc={};function gc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function _c(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function yc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function bc(t){t._nesting--,gc(t)}class vc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Tl,this.onMicrotaskEmpty=new Tl,this.onStable=new Tl,this.onError=new Tl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let wc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{fc.assertNotInAngularZone(),pc(()=>{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())pc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(An(fc))},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})(),Cc=(()=>{class t{constructor(){this._applications=new Map,Sc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Sc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();class xc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Ec(t){Sc=t}let Sc=new xc,kc=!0,Oc=!1;function Tc(){return Oc=!0,kc}function Ac(){if(Oc)throw new Error("Cannot enable prod mode after platform setup.");kc=!1}let Pc;const Ic=new cn("AllowMultipleToken");class Rc{constructor(t,e){this.name=t,this.token=e}}function Dc(t,e,n=[]){const i=`Platform: ${e}`,s=new cn(i);return(e=[])=>{let r=Mc();if(!r||r.injector.get(Ic,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:xr,useValue:"platform"});!function(t){if(Pc&&!Pc.destroyed&&!Pc.injector.get(Ic,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Pc=t.get(Lc);const e=t.get(Jl,null);e&&e.forEach(t=>t())}(Fr.create({providers:t,name:i}))}return function(t){const e=Mc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function Mc(){return Pc&&!Pc.destroyed?Pc:null}let Lc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new vc:("zone.js"===t?void 0:t)||new fc({enableLongStackTrace:Tc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:fc,useValue:n}];return n.run(()=>{const s=Fr.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(s),o=r.injector.get(Di,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{o.handleError(t)}});r.onDestroy(()=>{Bc(this._modules,r),t.unsubscribe()})}),function(t,n,i){try{const e=i();return uo(e)?e.catch(e=>{throw n.runOutsideAngular(()=>t.handleError(e)),e}):e}catch(e){throw n.runOutsideAngular(()=>t.handleError(e)),e}}(o,n,()=>{const t=r.injector.get(Kl);return t.runInitializers(),t.donePromise.then(()=>(la(r.injector.get(nc,oa)||oa),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=Fc({},e);return function(t,e,n){const i=new Cl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Nc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${d(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(An(Fr))},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();function Fc(t,e){return Array.isArray(e)?e.reduce(Fc,t):Object.assign(Object.assign({},t),e)}let Nc=(()=>{class t{constructor(t,e,n,i,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new r.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),h=new r.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{fc.assertNotInAngularZone(),pc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{fc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(u,h.pipe(t=>(0,l.x)()(function(t,e){return function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,a.N);return i.source=e,i.subjectFactory=n,i}}(c)(t))))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof _a?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(rl),s=n.create(Fr.NULL,[],e||n.selector,i),r=s.location.nativeElement,o=s.injector.get(wc,null),a=o&&s.injector.get(Cc);return o&&a&&a.registerApplication(r,o),s.onDestroy(()=>{this.detachView(s.hostView),Bc(this.components,s),a&&a.unregisterApplication(r)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Bc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(tc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(An(fc),An(Fr),An(Di),An(va),An(Kl))},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();function Bc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Uc{}class Zc{}const jc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let qc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||jc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(8255)(e).then(t=>t[i]).then(t=>Vc(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),s="NgFactory";return void 0===i&&(i="default",s=""),n(8255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+s]).then(t=>Vc(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(An(hc),An(Zc,8))},t.\u0275prov=x({token:t,factory:t.\u0275fac}),t})();function Vc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Hc=function(t){return null},zc=Dc(null,"core",[{provide:Xl,useValue:"unknown"},{provide:Lc,deps:[Fr]},{provide:Cc,deps:[]},{provide:ec,deps:[]}]),Yc=[{provide:Nc,useClass:Nc,deps:[fc,Fr,Di,va,Kl]},{provide:_l,deps:[fc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Kl,useClass:Kl,deps:[[new Fn,Gl]]},{provide:hc,useClass:hc,deps:[]},Wl,{provide:Va,useFactory:function(){return Ja},deps:[]},{provide:za,useFactory:function(){return Xa},deps:[]},{provide:nc,useFactory:function(t){return la(t=t||"undefined"!=typeof $localize&&$localize.locale||oa),t},deps:[[new Ln(nc),new Fn,new Nn]]},{provide:ic,useValue:"USD"}];let Gc=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(An(Nc))},t.\u0275mod=st({type:t}),t.\u0275inj=E({providers:Yc}),t})()},665:function(t,e,n){"use strict";n.d(e,{Zs:function(){return ct},sg:function(){return rt},u5:function(){return ht},Cf:function(){return h},JU:function(){return u},a5:function(){return A},JL:function(){return P},F:function(){return et},_Y:function(){return nt}});var i=n(3018),s=(n(8583),n(7574)),r=n(9796),o=n(8002),a=n(1555),l=n(4402);function c(t,e){return new s.y(n=>{const i=t.length;if(0===i)return void n.complete();const s=new Array(i);let r=0,o=0;for(let a=0;a{u||(u=!0,o++),s[a]=t},error:t=>n.error(t),complete:()=>{r++,(r===i||!u)&&(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}const u=new i.OlP("NgValueAccessor");const h=new i.OlP("NgValidators"),d=new i.OlP("NgAsyncValidators");function p(t){return null!=t}function f(t){const e=(0,i.QGY)(t)?(0,l.D)(t):t;return(0,i.CqO)(e),e}function m(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function g(t,e){return e.map(e=>e(t))}function _(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function y(t){return null!=t?function(t){if(!t)return null;const e=t.filter(p);return 0==e.length?null:function(t){return m(g(t,e))}}(_(t)):null}function b(t){return null!=t?function(t){if(!t)return null;const e=t.filter(p);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if((0,r.k)(e))return c(e,null);if((0,a.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return c(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&(0,r.k)(t[0])?t[0]:t,null).pipe((0,o.U)(t=>e(...t)))}return c(t,null)}(g(t,e).map(f)).pipe((0,o.U)(m))}}(_(t)):null}function v(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function w(t){return t._rawValidators}function C(t){return t._rawAsyncValidators}function x(t){return t?Array.isArray(t)?t:[t]:[]}function E(t,e){return Array.isArray(t)?t.includes(e):t===e}function S(t,e){const n=x(e);return x(t).forEach(t=>{E(n,t)||n.push(t)}),n}function k(t,e){return x(e).filter(e=>!E(t,e))}let O=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=y(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=b(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})(),T=(()=>{class t extends O{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();class A extends O{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let P=(()=>{class t extends class{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(T,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[i.qOj]}),t})();function I(t,e){M(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&F(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&F(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function R(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),L(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function D(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function M(t,e){const n=w(t);null!==e.validator?t.setValidators(v(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=C(t);null!==e.asyncValidator?t.setAsyncValidators(v(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const s=()=>t.updateValueAndValidity();D(e._rawValidators,s),D(e._rawAsyncValidators,s)}function L(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=w(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.validator);s.length!==i.length&&(n=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const i=C(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.asyncValidator);s.length!==i.length&&(n=!0,t.setAsyncValidators(s))}}}const i=()=>{};return D(e._rawValidators,i),D(e._rawAsyncValidators,i),n}function F(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function N(t,e){M(t,e)}function B(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function U(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Z="VALID",j="INVALID",q="PENDING",V="DISABLED";function H(t){return(K(t)?t.validators:t)||null}function z(t){return Array.isArray(t)?y(t):t||null}function Y(t,e){return(K(e)?e.asyncValidators:t)||null}function G(t){return Array.isArray(t)?b(t):t||null}function K(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ${constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=z(this._rawValidators),this._composedAsyncValidatorFn=G(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Z}get invalid(){return this.status===j}get pending(){return this.status==q}get disabled(){return this.status===V}get enabled(){return this.status!==V}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=z(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=G(t)}addValidators(t){this.setValidators(S(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(S(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(k(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(k(t,this._rawAsyncValidators))}hasValidator(t){return E(this._rawValidators,t)}hasAsyncValidator(t){return E(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=q,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=V,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Z,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Z||this.status===q)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?V:Z}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=q,this._hasOwnPendingAsyncValidator=!0;const e=f(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;let i=t;return e.forEach(t=>{i=i instanceof Q?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof J&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?V:this.errors?j:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(q)?q:this._anyControlsHaveStatus(j)?j:Z}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){K(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class W extends ${constructor(t=null,e,n){super(H(e),Y(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){U(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){U(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class Q extends ${constructor(t,e,n){super(H(e),Y(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof W?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class J extends ${constructor(t,e,n){super(H(e),Y(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof W?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const X={provide:T,useExisting:(0,i.Gpc)(()=>et)},tt=(()=>Promise.resolve(null))();let et=(()=>{class t extends T{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.vpe,this.form=new Q({},y(t),b(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){tt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),I(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){tt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),U(this._directives,t)})}addFormGroup(t){tt.then(()=>{const e=this._findContainer(t.path),n=new Q({});N(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){tt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){tt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,B(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h,10),i.Y36(d,10))},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([X]),i.qOj]}),t})(),nt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),it=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const st={provide:T,useExisting:(0,i.Gpc)(()=>rt)};let rt=(()=>{class t extends T{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(L(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return I(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){R(t.control||null,t,!1),U(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,B(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(R(e||null,t),n instanceof W&&(I(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);N(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return L(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){M(this.form,this),this._oldForm&&L(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h,10),i.Y36(d,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([st]),i.qOj,i.TTD]}),t})();const ot={provide:h,useExisting:(0,i.Gpc)(()=>lt),multi:!0},at={provide:h,useExisting:(0,i.Gpc)(()=>ct),multi:!0};let lt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?function(t){return function(t){return null==t||0===t.length}(t.value)?{required:!0}:null}(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[i._Bn([ot])]}),t})(),ct=(()=>{class t extends lt{validate(t){return this.required?function(t){return!0===t.value?null:{required:!0}}(t):null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},features:[i._Bn([at]),i.qOj]}),t})(),ut=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[it]]}),t})(),ht=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[ut]}),t})()},1095:function(t,e,n){"use strict";n.d(e,{zs:function(){return p},lW:function(){return d},ot:function(){return f}});var i=n(2458),s=n(6237),r=n(3018),o=n(9238);const a=["mat-button",""],l=["*"],c=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],h=(0,i.pj)((0,i.Id)((0,i.Kr)(class{constructor(t){this._elementRef=t}})));let d=(()=>{class t extends h{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of u)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(o.tE),r.Y36(s.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&r.Gf(i.wG,5),2&t){let t;r.iGM(t=r.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(r.uIk("disabled",e.disabled||null),r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.qOj],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1),r._UZ(3,"span",2)),2&t&&(r.xp6(2),r.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.wG],styles:[c],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t extends d{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.tE),r.Y36(r.SBq),r.Y36(s.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._haltDisabledEvents(t)}),2&t&&(r.uIk("tabindex",e.disabled?-1:e.tabIndex||0)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString()),r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[r.qOj],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1),r._UZ(3,"span",2)),2&t&&(r.xp6(2),r.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.wG],styles:[c],encapsulation:2,changeDetection:0}),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.si,i.BQ],i.BQ]}),t})()},2458:function(t,e,n){"use strict";n.d(e,{rD:function(){return S},K7:function(){return j},HF:function(){return N},BQ:function(){return b},ey:function(){return z},Ng:function(){return K},wG:function(){return D},si:function(){return M},CB:function(){return Y},jH:function(){return G},pj:function(){return w},Kr:function(){return C},Id:function(){return v},FD:function(){return E},sb:function(){return x}});var i=n(3018),s=n(9238),r=n(946);const o=new i.GfV("12.2.4");var a=n(8583),l=n(9490),c=n(9765),u=n(521),h=n(6237),d=n(6461);function p(t,e){if(1&t&&i._UZ(0,"mat-pseudo-checkbox",4),2&t){const t=i.oxw();i.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function f(t,e){if(1&t&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.hij("(",t.group.label,")")}}const m=["*"],g=new i.GfV("12.2.4"),_=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let y,b=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checkIsEnabled(t){return!(!(0,i.X6Q)()||this._isTestEnv())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checkIsEnabled("theme")||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checkIsEnabled("version")&&g.full!==o.full&&console.warn("The Angular Material version ("+g.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.qm),i.LFG(_,8),i.LFG(a.K0))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.vT],r.vT]}),t})();function v(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,l.Ig)(t)}}}function w(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function C(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,l.Ig)(t)}}}function x(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?(0,l.su)(t):this.defaultTabIndex}}}function E(t){return class extends t{constructor(...t){super(...t),this.stateChanges=new c.xQ,this.errorState=!1}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}try{y="undefined"!=typeof Intl}catch($){y=!1}let S=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();class k{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const O={enterDuration:225,exitDuration:150},T=(0,u.i$)({passive:!0}),A=["mousedown","touchstart"],P=["mouseup","mouseleave","touchend","touchcancel"];class I{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=(0,l.fI)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},O),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const r=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),s=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+s*s)}(t,e,i),o=t-i.left,a=e-i.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-r+"px",c.style.top=a-r+"px",c.style.height=2*r+"px",c.style.width=2*r+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new k(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,!n.persistent&&(!t||!this._isPointerDown)&&u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},O),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=(0,l.fI)(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(A))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(P),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=(0,s.X6)(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,T)})})}_removeTriggerEvents(){this._triggerElement&&(A.forEach(t=>{this._triggerElement.removeEventListener(t,this,T)}),this._pointerUpEventsRegistered&&P.forEach(t=>{this._triggerElement.removeEventListener(t,this,T)}))}}const R=new i.OlP("mat-ripple-global-options");let D=(()=>{class t{constructor(t,e,n,i,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new I(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(u.t4),i.Y36(R,8),i.Y36(h.Qb,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[b,u.ud],b]}),t})(),L=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h.Qb,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[b]]}),t})();const N=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),B=v(class{});let U=0,Z=(()=>{class t extends B{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+U++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(N,8))},t.\u0275dir=i.lG2({type:t,inputs:{label:"label"},features:[i.qOj]}),t})();const j=new i.OlP("MatOptgroup");let q=0;class V{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let H=(()=>{class t{constructor(t,e,n,s){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+q++,this.onSelectionChange=new i.vpe,this._stateChanges=new c.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=(0,l.Ig)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===d.K5||t.keyCode===d.L_)&&!(0,d.Vb)(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new V(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(Z))},t.\u0275dir=i.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),z=(()=>{class t extends H{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(N,8),i.Y36(j,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Ikx("id",e.id),i.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:m,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,p,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,f,2,1,"span",2),i._UZ(4,"div",3)),2&t&&(i.Q6J("ngIf",e.multiple),i.xp6(3),i.Q6J("ngIf",e.group&&e.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.O5,D,L],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function Y(t,e,n){if(n.length){let i=e.toArray(),s=n.toArray(),r=0;for(let e=0;en+i?Math.max(0,t-i+e):n}let K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[M,a.ez,b,F]]}),t})()},2238:function(t,e,n){"use strict";n.d(e,{WI:function(){return O},uw:function(){return R},H8:function(){return N},ZT:function(){return M},xY:function(){return F},Is:function(){return U},so:function(){return S},uh:function(){return L}});var i=n(625),s=n(7636),r=n(3018),o=n(2458),a=n(946),l=n(8583),c=n(9765),u=n(1439),h=n(5917),d=n(5435),p=n(5257),f=n(9761),m=n(521),g=n(7238),_=n(6461),y=n(9238);function b(t,e){}class v{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const w={dialogContainer:(0,g.X$)("dialogContainer",[(0,g.SB)("void, exit",(0,g.oB)({opacity:0,transform:"scale(0.7)"})),(0,g.SB)("enter",(0,g.oB)({transform:"none"})),(0,g.eR)("* => enter",(0,g.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,g.oB)({transform:"none",opacity:1}))),(0,g.eR)("* => void, * => exit",(0,g.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,g.oB)({opacity:0})))])};let C=(()=>{class t extends s.en{constructor(t,e,n,i,s,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=s,this._focusMonitor=o,this._animationStateChanged=new r.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=(0,m.ht)(),n=this._elementRef.nativeElement;(!e||e===this._document.body||e===n||n.contains(e))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,m.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=(0,m.ht)();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(y.qV),r.Y36(r.sBO),r.Y36(l.K0,8),r.Y36(v),r.Y36(y.tE))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&r.Gf(s.Pl,7),2&t){let t;r.iGM(t=r.CRH())&&(e._portalOutlet=t.first)}},features:[r.qOj]}),t})(),x=(()=>{class t extends C{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&r.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(r.Ikx("id",e._id),r.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),r.d8E("@dialogContainer",e._state))},features:[r.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.YNc(0,b,0,0,"ng-template",0)},directives:[s.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[w.dialogContainer]}}),t})(),E=0;class S{constructor(t,e,n="mat-dialog-"+E++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.xQ,this._afterClosed=new c.xQ,this._beforeClosed=new c.xQ,this._state=0,e._id=n,e._animationStateChanged.pipe((0,d.h)(t=>"opened"===t.state),(0,p.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,d.h)(t=>"closed"===t.state),(0,p.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe((0,d.h)(t=>t.keyCode===_.hY&&!this.disableClose&&!(0,_.Vb)(t))).subscribe(t=>{t.preventDefault(),k(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,d.h)(t=>"closing"===t.state),(0,p.q)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const O=new r.OlP("MatDialogData"),T=new r.OlP("mat-dialog-default-options"),A=new r.OlP("mat-dialog-scroll-strategy"),P={provide:A,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.block()}};let I=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=s,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.xQ,this._afterOpenedAtThisLevel=new c.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,u.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,f.O)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new v)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),s=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),i._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=r.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:e}]}),i=new s.C5(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof r.Rgc)e.attachTemplatePortal(new s.UE(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),r=e.attachComponentPortal(new s.C5(t,i.viewContainerRef,n));o.componentInstance=r.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return t.direction&&(!i||!i.get(a.Is,null,r.XFs.Optional))&&s.push({provide:a.Is,useValue:{value:t.direction,change:(0,h.of)()}}),r.zs3.create({parent:i||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i!==t&&"SCRIPT"!==i.nodeName&&"STYLE"!==i.nodeName&&!i.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.aV),r.Y36(r.zs3),r.Y36(void 0),r.Y36(void 0),r.Y36(i.Xj),r.Y36(void 0),r.Y36(r.DyG),r.Y36(r.DyG),r.Y36(r.OlP))},t.\u0275dir=r.lG2({type:t}),t})(),R=(()=>{class t extends I{constructor(t,e,n,i,s,r,o){super(t,e,i,r,o,s,S,x,O)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.aV),r.LFG(r.zs3),r.LFG(l.Ye,8),r.LFG(T,8),r.LFG(A),r.LFG(t,12),r.LFG(i.Xj))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),D=0,M=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=B(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){k(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(S,8),r.Y36(r.SBq),r.Y36(R))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._onButtonClick(t)}),2&t&&r.uIk("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[r.TTD]}),t})(),L=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+D++}ngOnInit(){this._dialogRef||(this._dialogRef=B(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(S,8),r.Y36(r.SBq),r.Y36(R))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&r.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})();function B(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[R,P],imports:[[i.U8,s.eL,o.BQ],o.BQ]}),t})()},8295:function(t,e,n){"use strict";n.d(e,{G_:function(){return G},o2:function(){return Y},KE:function(){return K},Eo:function(){return N},lN:function(){return $},hX:function(){return U},R9:function(){return V}});var i=n(8553),s=n(8583),r=n(3018),o=n(2458),a=n(9490),l=n(9765),c=n(6682),u=n(2759),h=n(9761),d=n(6782),p=n(5257),f=n(7238),m=n(6237),g=n(946),_=n(521);const y=["underline"],b=["connectionContainer"],v=["inputContainer"],w=["label"];function C(t,e){1&t&&(r.ynx(0),r.TgZ(1,"div",14),r._UZ(2,"div",15),r._UZ(3,"div",16),r._UZ(4,"div",17),r.qZA(),r.TgZ(5,"div",18),r._UZ(6,"div",15),r._UZ(7,"div",16),r._UZ(8,"div",17),r.qZA(),r.BQk())}function x(t,e){1&t&&(r.TgZ(0,"div",19),r.Hsn(1,1),r.qZA())}function E(t,e){if(1&t&&(r.ynx(0),r.Hsn(1,2),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.BQk()),2&t){const t=r.oxw(2);r.xp6(3),r.Oqu(t._control.placeholder)}}function S(t,e){1&t&&r.Hsn(0,3,["*ngSwitchCase","true"])}function k(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1," *"),r.qZA())}function O(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"label",20,21),r.NdJ("cdkObserveContent",function(){return r.CHM(t),r.oxw().updateOutlineGap()}),r.YNc(2,E,4,1,"ng-container",12),r.YNc(3,S,1,0,"ng-content",12),r.YNc(4,k,2,0,"span",22),r.qZA()}if(2&t){const t=r.oxw();r.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),r.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),r.uIk("for",t._control.id)("aria-owns",t._control.id),r.xp6(2),r.Q6J("ngSwitchCase",!1),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function T(t,e){1&t&&(r.TgZ(0,"div",24),r.Hsn(1,4),r.qZA())}function A(t,e){if(1&t&&(r.TgZ(0,"div",25,26),r._UZ(2,"span",27),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function P(t,e){if(1&t&&(r.TgZ(0,"div"),r.Hsn(1,5),r.qZA()),2&t){const t=r.oxw();r.Q6J("@transitionMessages",t._subscriptAnimationState)}}function I(t,e){if(1&t&&(r.TgZ(0,"div",31),r._uU(1),r.qZA()),2&t){const t=r.oxw(2);r.Q6J("id",t._hintLabelId),r.xp6(1),r.Oqu(t.hintLabel)}}function R(t,e){if(1&t&&(r.TgZ(0,"div",28),r.YNc(1,I,2,2,"div",29),r.Hsn(2,6),r._UZ(3,"div",30),r.Hsn(4,7),r.qZA()),2&t){const t=r.oxw();r.Q6J("@transitionMessages",t._subscriptAnimationState),r.xp6(1),r.Q6J("ngIf",t.hintLabel)}}const D=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],M=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],L=new r.OlP("MatError"),F={transitionMessages:(0,f.X$)("transitionMessages",[(0,f.SB)("enter",(0,f.oB)({opacity:1,transform:"translateY(0%)"})),(0,f.eR)("void => enter",[(0,f.oB)({opacity:0,transform:"translateY(-5px)"}),(0,f.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t}),t})();const B=new r.OlP("MatHint");let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-label"]]}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-placeholder"]]}),t})();const j=new r.OlP("MatPrefix"),q=new r.OlP("MatSuffix");let V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","matSuffix",""]],features:[r._Bn([{provide:q,useExisting:t}])]}),t})(),H=0;const z=(0,o.pj)(class{constructor(t){this._elementRef=t}},"primary"),Y=new r.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),G=new r.OlP("MatFormField");let K=(()=>{class t extends z{constructor(t,e,n,i,s,r,o,a){super(t),this._changeDetectorRef=e,this._dir=i,this._defaults=s,this._platform=r,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+H++,this._labelId="mat-form-field-label-"+H++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,a.Ig)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe((0,h.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,d.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,d.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,c.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,d.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,u.R)(this._label.nativeElement,"transitionend").pipe((0,p.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if(!("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser))return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,s=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=i.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(s),o=t.children,a=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let t=0;t0?.75*l+10:0}for(let o=0;o{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.ez,o.BQ,i.Q8],o.BQ]}),t})()},9983:function(t,e,n){"use strict";n.d(e,{Nt:function(){return y},c:function(){return b}});var i=n(521),s=n(3018),r=n(9490),o=n(9193),a=n(9765);n(2759),n(628),n(6782),n(8583);const l=(0,i.i$)({passive:!0});let c=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.E;const e=(0,r.fI)(t),n=this._monitoredElements.get(e);if(n)return n.subject;const i=new a.xQ,s="cdk-text-field-autofilled",c=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(s)&&(e.classList.remove(s),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(s),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",c,l),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",c,l)}}),i}stopMonitoring(t){const e=(0,r.fI)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.t4),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.t4),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ud]]}),t})();var h=n(2458),d=n(8295),p=n(665);const f=new s.OlP("MAT_INPUT_VALUE_ACCESSOR"),m=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;const _=(0,h.FD)(class{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}});let y=(()=>{class t extends _{constructor(t,e,n,s,r,o,l,c,u,h){super(o,s,r,n),this._elementRef=t,this._platform=e,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new a.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>(0,i.qK)().has(t));const d=this._elementRef.nativeElement,p=d.nodeName.toLowerCase();this._inputValueAccessor=l||d,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{const e=t.target;!e.value&&0===e.selectionStart&&0===e.selectionEnd&&(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=(0,r.Ig)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&(0,i.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=(0,r.Ig)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=n,n?t.setAttribute("placeholder",n):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){m.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(i.t4),s.Y36(p.a5,10),s.Y36(p.F,8),s.Y36(p.sg,8),s.Y36(h.rD),s.Y36(f,10),s.Y36(c),s.Y36(s.R0b),s.Y36(d.G_,8))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(s.Ikx("disabled",e.disabled)("required",e.required),s.uIk("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),s.ekj("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[s._Bn([{provide:d.Eo,useExisting:t}]),s.qOj,s.TTD]}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[h.rD],imports:[[u,d.lN,h.BQ],u,d.lN]}),t})()},7441:function(t,e,n){"use strict";n.d(e,{gD:function(){return H},LD:function(){return z}});var i=n(625),s=n(8583),r=n(3018),o=n(2458),a=n(8295),l=n(9243),c=n(9238),u=n(9490),h=n(8345),d=n(6461),p=n(9765),f=n(1439),m=n(6682),g=n(9761),_=n(3190),y=n(5257),b=n(5435),v=n(8002),w=n(7519),C=n(6782),x=n(7238),E=n(946),S=n(665);const k=["trigger"],O=["panel"];function T(t,e){if(1&t&&(r.TgZ(0,"span",8),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.placeholder)}}function A(t,e){if(1&t&&(r.TgZ(0,"span",12),r._uU(1),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.Oqu(t.triggerValue)}}function P(t,e){1&t&&r.Hsn(0,0,["*ngSwitchCase","true"])}function I(t,e){if(1&t&&(r.TgZ(0,"span",9),r.YNc(1,A,2,1,"span",10),r.YNc(2,P,1,0,"ng-content",11),r.qZA()),2&t){const t=r.oxw();r.Q6J("ngSwitch",!!t.customTrigger),r.xp6(2),r.Q6J("ngSwitchCase",!0)}}function R(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",13),r.TgZ(1,"div",14,15),r.NdJ("@transformPanel.done",function(e){return r.CHM(t),r.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return r.CHM(t),r.oxw()._handleKeydown(e)}),r.Hsn(3,1),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("@transformPanelWrap",void 0),r.xp6(1),r.Gre("mat-select-panel ",t._getPanelTheme(),""),r.Udp("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),r.Q6J("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),r.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const D=[[["mat-select-trigger"]],"*"],M=["mat-select-trigger","*"],L={transformPanelWrap:(0,x.X$)("transformPanelWrap",[(0,x.eR)("* => void",(0,x.IO)("@transformPanel",[(0,x.pV)()],{optional:!0}))]),transformPanel:(0,x.X$)("transformPanel",[(0,x.SB)("void",(0,x.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,x.SB)("showing",(0,x.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,x.SB)("showing-multiple",(0,x.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,x.eR)("void => *",(0,x.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,x.eR)("* => void",(0,x.jt)("100ms 25ms linear",(0,x.oB)({opacity:0})))])};let F=0;const N=new r.OlP("mat-select-scroll-strategy"),B=new r.OlP("MAT_SELECT_CONFIG"),U={provide:N,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class Z{constructor(t,e){this.source=t,this.value=e}}const j=(0,o.Kr)((0,o.sb)((0,o.Id)((0,o.FD)(class{constructor(t,e,n,i,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=s}})))),q=new r.OlP("MatSelectTrigger");let V=(()=>{class t extends j{constructor(t,e,n,i,s,o,a,l,c,u,h,d,w,C){var x,E,S;super(s,i,a,l,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=c,this._liveAnnouncer=w,this._defaultOptions=C,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+F++,this._triggerAriaLabelledBy=null,this._destroy=new p.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+F++,this._panelDoneAnimatingStream=new p.xQ,this._overlayPanelClass=(null===(x=this._defaultOptions)||void 0===x?void 0:x.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(S=null===(E=this._defaultOptions)||void 0===E?void 0:E.disableOptionCentering)&&void 0!==S&&S,this.ariaLabel="",this.optionSelectionChanges=(0,f.P)(()=>{const t=this.options;return t?t.changes.pipe((0,g.O)(t),(0,_.w)(()=>(0,m.T)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe((0,y.q)(1),(0,_.w)(()=>this.optionSelectionChanges))}),this.openedChange=new r.vpe,this._openedStream=this.openedChange.pipe((0,b.h)(t=>t),(0,v.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,b.h)(t=>!t),(0,v.U)(()=>{})),this.selectionChange=new r.vpe,this.valueChange=new r.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==C?void 0:C.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=C.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=(0,u.Ig)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,u.Ig)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,u.Ig)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=(0,u.su)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,w.x)(),(0,C.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,C.R)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe((0,g.O)(null),(0,C.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===d.JH||e===d.LH||e===d.oh||e===d.SV,i=e===d.K5||e===d.L_,s=this._keyManager;if(!s.isTyping()&&i&&!(0,d.Vb)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===d.JH||n===d.LH,s=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(s||n!==d.K5&&n!==d.L_||!e.activeItem||(0,d.Vb)(t))if(!s&&this._multiple&&n===d.A&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,y.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new c.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,C.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,C.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=(0,m.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,C.R)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,m.T)(...this.options.map(t=>t._stateChanges)).pipe((0,C.R)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(l.rL),r.Y36(r.sBO),r.Y36(r.R0b),r.Y36(o.rD),r.Y36(r.SBq),r.Y36(E.Is,8),r.Y36(S.F,8),r.Y36(S.sg,8),r.Y36(a.G_,8),r.Y36(S.a5,10),r.$8M("tabindex"),r.Y36(N),r.Y36(c.Kd),r.Y36(B,8))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&(r.Gf(k,5),r.Gf(O,5),r.Gf(i.pI,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.trigger=t.first),r.iGM(t=r.CRH())&&(e.panel=t.first),r.iGM(t=r.CRH())&&(e._overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[r.qOj,r.TTD]}),t})(),H=(()=>{class t extends V{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,C.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,y.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=(0,o.CB)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=0===t&&1===e?0:(0,o.jH)((t+e)*n,n,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new Z(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}n||(s*=-1);const r=0-(t.left+s-(n?i:0)),o=t.right+s-e.width+(n?0:i);r>0?s+=r+8:o>0&&(s-=o+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),s=(i-this._triggerRect.height)/2,r=Math.floor(256/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-r))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*o-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,s=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;o>s?this._adjustPanelUp(o,s):r>i?this._adjustPanelDown(r,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=(0,o.CB)(s,this.options,this.optionGroups);const r=n/2;this._scrollTop=this._calculateOverlayScroll(s,r,i),this._offsetY=this._calculateOverlayOffsetY(s,r,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,q,5),r.Suo(n,o.ey,5),r.Suo(n,o.K7,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.customTrigger=t.first),r.iGM(t=r.CRH())&&(e.options=t),r.iGM(t=r.CRH())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&r.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(r.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),r.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[r._Bn([{provide:a.Eo,useExisting:t},{provide:o.HF,useExisting:t}]),r.qOj],ngContentSelectors:M,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(r.F$t(D),r.TgZ(0,"div",0,1),r.NdJ("click",function(){return e.toggle()}),r.TgZ(3,"div",2),r.YNc(4,T,2,1,"span",3),r.YNc(5,I,3,2,"span",4),r.qZA(),r.TgZ(6,"div",5),r._UZ(7,"div",6),r.qZA(),r.qZA(),r.YNc(8,R,4,14,"ng-template",7),r.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=r.MAs(1);r.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),r.xp6(3),r.Q6J("ngSwitch",e.empty),r.uIk("id",e._valueId),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngSwitchCase",!1),r.xp6(3),r.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[i.xu,s.RF,s.n9,i.pI,s.ED,s.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[L.transformPanelWrap,L.transformPanel]},changeDetection:0}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[U],imports:[[s.ez,i.U8,o.Ng,o.BQ],l.ZD,a.lN,o.Ng,o.BQ]}),t})()},6237:function(t,e,n){"use strict";n.d(e,{Qb:function(){return De},PW:function(){return Ne}});var i=n(3018),s=n(9075),r=n(7238);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(t){switch(t.length){case 0:return new r.ZN;case 1:return t[0];default:return new r.ZE(t)}}function c(t,e,n,i,s={},o={}){const a=[],l=[];let c=-1,u=null;if(i.forEach(t=>{const n=t.offset,i=n==c,h=i&&u||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),l){case r.k1:l=s[n];break;case r.l3:l=o[n];break;default:l=e.normalizeStyleValue(n,i,l,a)}h[i]=l}),i||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function u(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&h(n,"start",t)));break;case"done":t.onDone(()=>i(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&h(n,"destroy",t)))}}function h(t,e,n){const i=n.totalTime,s=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(s._data=r),s}function d(t,e,n,i,s="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:s,totalTime:r,disabled:!!o}}function p(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let m=(t,e)=>!1,g=(t,e)=>!1,_=(t,e,n)=>[];const y=a();(y||"undefined"!=typeof Element)&&(m=o()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),g=(()=>{if(y||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):g}})(),_=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let k=(()=>{class t{validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return E(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,s,o=[],a){return new r.ZN(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class O{}O.NOOP=new k;const T="ng-enter",A="ng-leave",P="ng-trigger",I=".ng-trigger",R="ng-animating",D=".ng-animating";function M(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:L(parseFloat(e[1]),e[2])}function L(t,e){switch(e){case"s":return 1e3*t;default:return t}}function F(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,s=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=L(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=L(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:s,easing:r}}(t,e,n)}function N(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function B(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else N(t,n);return n}function U(t,e,n){return n?e+":"+n+";":""}function Z(t){let e="";for(let n=0;n{const s=$(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[s]),t.style[s]=e[i]}),a()&&Z(t))}function q(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=$(e);t.style[n]=""}),a()&&Z(t))}function V(t){return Array.isArray(t)?1==t.length?t[0]:(0,r.vP)(t):t}const H=new RegExp("{{\\s*(.+?)\\s*}}","g");function z(t){let e=[];if("string"==typeof t){let n;for(;n=H.exec(t);)e.push(n[1]);H.lastIndex=0}return e}function Y(t,e,n){const i=t.toString(),s=i.replace(H,(t,i)=>{let s=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),s=""),s.toString()});return s==i?t:s}function G(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const K=/-+([a-z0-9])/g;function $(t){return t.replace(K,(...t)=>t[1].toUpperCase())}function W(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Q(t,e){return 0===t||0===e}function J(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let r=e[0],o=[];if(i.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var s=1;sfunction(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=i[1],r=i[2],o=i[3];e.push(st(s,o));"<"==r[0]&&!("*"==s&&"*"==o)&&e.push(st(o,s))}(t,n,e)):n.push(t),n}const nt=new Set(["true","1"]),it=new Set(["false","0"]);function st(t,e){const n=nt.has(t)||it.has(t),i=nt.has(e)||it.has(e);return(s,r)=>{let o="*"==t||t==s,a="*"==e||e==r;return!o&&n&&"boolean"==typeof s&&(o=s?nt.has(t):it.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?nt.has(e):it.has(e)),o&&a}}const rt=new RegExp("s*:selfs*,?","g");function ot(t,e,n){return new at(t).build(e,n)}class at{constructor(t){this._driver=t}build(t,e){const n=new lt(e);return this._resetContextStyleTimingState(n),X(this,V(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const s=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,i+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:r,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,r=i||{};if(n.styles.forEach(t=>{if(ct(t)){const e=t;Object.keys(e).forEach(t=>{z(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=G(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=X(this,V(t.animation),e);return{type:1,matchers:et(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ut(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>X(this,t,e)),options:ut(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const s=t.steps.map(t=>{e.currentTime=n;const s=X(this,t,e);return i=Math.max(i,e.currentTime),s});return e.currentTime=i,{type:3,steps:s,options:ut(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ht(F(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=ht(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||F(i,e),ht(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let i,s=t.styles?t.styles:(0,r.oB)({});if(5==s.type)i=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};n.easing&&(t.easing=n.easing),s=(0,r.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(s,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.l3?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,s=null;return n.forEach(t=>{if(ct(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(s!=i&&s>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${i}ms"`),a=!1),s=o.startTime),a&&(r[n]={startTime:s,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},s=z(t);s.length&&s.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const s=[];let r=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,r=r||c0&&i{const r=u>0?i==h?1:u*i:s[i],o=r*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:X(this,V(t.animation),e),options:ut(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ut(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ut(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[s,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(rt,"")),[t=t.replace(/@\*/g,I).replace(/@\w+/g,t=>I+"-"+t.substr(1)).replace(/:animating/g,D),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,p(e.collectedStyles,e.currentQuerySelector,{});const o=X(this,V(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:ut(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:F(t.timings,e.errors,!0);return{type:12,animation:X(this,V(t.animation),e),timings:n,options:null}}}class lt{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ct(t){return!Array.isArray(t)&&"object"==typeof t}function ut(t){return t?(t=N(t)).params&&(t.params=function(t){return t?N(t):null}(t.params)):t={},t}function ht(t,e,n){return{duration:t,delay:e,easing:n}}function dt(t,e,n,i,s,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class pt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ft=new RegExp(":enter","g"),mt=new RegExp(":leave","g");function gt(t,e,n,i,s,r={},o={},a,l,c=[]){return(new _t).buildKeyframes(t,e,n,i,s,r,o,a,l,c)}class _t{buildKeyframes(t,e,n,i,s,r,o,a,l,c=[]){l=l||new pt;const u=new bt(t,e,l,i,s,c,[]);u.options=a,u.currentTimeline.setStyles([r],null,u.errors,a),X(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[dt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);s!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const s=null!=n.duration?M(n.duration):null,r=null!=n.delay?M(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,r);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),X(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const s=t.options;if(s&&(s.params||s.delay)&&(i=e.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=yt);const t=M(s.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>X(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?M(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),X(this,r,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return F(e.params?Y(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,s=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*s),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},s=i.delay?M(i.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=yt);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),X(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,s=t.timings,r=Math.abs(s.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;X(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const yt={};class bt{constructor(t,e,n,i,s,r,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new vt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=M(n.duration)),null!=n.delay&&(i.delay=M(n.delay));const s=n.params;if(s){let t=i.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{(!e||!t.hasOwnProperty(n))&&(t[n]=Y(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,s=new bt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=yt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new wt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,s,r){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(ft,"."+this._enterClassName)).replace(mt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return!s&&0==o.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class vt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new vt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.l3,this._currentKeyframe[t]=r.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const s=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=r.l3})):B(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=Y(o[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.l3),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((s,o)=>{const a=B(s,!0);Object.keys(a).forEach(n=>{const i=a[n];i==r.k1?t.add(n):i==r.l3&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const s=t.size?G(t.values()):[],o=e.size?G(e.values()):[];if(n){const t=i[0],e=N(t);t.offset=0,e.offset=1,i=[t,e]}return dt(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class wt extends vt{constructor(t,e,n,i,s,r,o=!1){super(t,e,r.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],r=n+e,o=e/r,a=B(t[0],!1);a.offset=0,s.push(a);const l=B(t[0],!1);l.offset=Ct(o),s.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=B(t[i],!1);o.offset=Ct((e+o.offset*n)/r),s.push(o)}n=r,e=0,i="",t=s}return dt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function Ct(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class xt{}class Et extends xt{normalizePropertyName(t,e){return $(t)}normalizeStyleValue(t,e,n,i){let s="";const r=n.toString().trim();if(St[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+s}}const St=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function kt(t,e,n,i,s,r,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Ot={};class Tt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,s){return t.some(t=>t(e,n,i,s))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],s=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return s?s.buildStyles(e,n):r}build(t,e,n,i,s,r,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Ot,d=this.buildStyles(n,o&&o.params||Ot,u),f=a&&a.params||Ot,m=this.buildStyles(i,f,u),g=new Set,_=new Map,y=new Map,b="void"===i,v={params:Object.assign(Object.assign({},h),f)},w=c?[]:gt(t,e,this.ast.animation,s,r,d,m,v,l,u);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),u.length)return kt(e,this._triggerName,n,i,b,d,m,[],[],_,y,C,u);w.forEach(t=>{const n=t.element,i=p(_,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const s=p(y,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&g.add(n)});const x=G(g.values());return kt(e,this._triggerName,n,i,b,d,m,w,x,_,y,C)}}class At{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},i=N(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let r=s[t];r.length>1&&(r=Y(r,i,e));const o=this.normalizer.normalizePropertyName(t,e);r=this.normalizer.normalizeStyleValue(t,o,r,e),n[o]=r})}}),n}}class Pt{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new At(t.style,t.options&&t.options.params||{},n)}),It(this.states,"true","1"),It(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Tt(t,e,this.states))}),this.fallbackTransition=function(t,e,n){return new Tt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},e)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(s=>s.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function It(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Rt=new pt;class Dt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=ot(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,s=c(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],s=this._animations[t];let o;const a=new Map;if(s?(o=gt(this._driver,e,s,T,A,{},{},n,Rt,i),o.forEach(t=>{const e=p(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.l3)})});const c=l(o.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const s=d(e,"","","");return u(this._getPlayer(t),n,s,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Mt="ng-animate-queued",Lt="ng-animate-disabled",Ft=".ng-animate-disabled",Nt=[],Bt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ut={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zt="__ng_removed";class jt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=N(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const qt="void",Vt=new jt(qt);class Ht{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Jt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const r=p(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};r.push(o);const a=p(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Jt(t,P),Jt(t,P+"-"+e),a[e]=Vt),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const s=this._getTrigger(e),r=new Yt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Jt(t,P),Jt(t,P+"-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new jt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=Vt),l.value!==qt&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let s=0;s{q(t,n),j(t,i)})}return}const c=p(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:r,isFallbackTransition:h}),h||(Jt(t,Mt),r.onStart(()=>{Xt(t,Mt)})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,I,!0);n.forEach(t=>{if(t[Zt])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const s=this._engine.statesByElement.get(t);if(s){const r=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,qt,i);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&l(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const s=e.name;if(i.has(s))return;i.add(s);const r=this._triggers[s].fallbackTransition,o=n[s]||Vt,a=new jt(qt),l=new Yt(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:r,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t[Zt];(!i||i===Bt)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Jt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const s=n.element,r=this._elementListeners.get(s);r&&r.forEach(e=>{if(e.name==n.triggerName){const i=d(s,n.triggerName,n.fromState.value,n.toState.value);i._data=t,u(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class zt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Ht(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Jt(t,Lt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Xt(t,Lt))}removeNode(t,e,n,i){if(Gt(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e[Zt]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,s){return Gt(e)?this._fetchNamespace(t).listen(e,n,i,s):()=>{}}_buildInstruction(t,e,n,i,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,I,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,D,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return l(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Zt];if(e&&e.setForRemoval){if(t[Zt]=Bt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Ft)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Ft,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?l(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new pt,i=[],s=new Map,o=[],a=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n=T+_++;g.set(e,n),t.forEach(t=>Jt(t,n))});const y=[],b=new Set,v=new Set;for(let r=0;rb.add(t)):v.add(t))}const w=new Map,C=Wt(f,Array.from(b));C.forEach((t,e)=>{const n=A+_++;w.set(e,n),t.forEach(t=>Jt(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Xt(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Xt(t,n))}),y.forEach(t=>{this.processLeaveNode(t)})});const x=[],E=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(x.push(e),this.collectedEnterElements.length){const t=s[Zt];if(t&&t.setForMove)return void e.destroy()}const r=!d||!this.driver.containsElement(d,s),l=w.get(s),h=g.get(s),f=this._buildInstruction(t,n,h,l,r);if(f.errors&&f.errors.length)E.push(f);else{if(r)return e.onStart(()=>q(s,f.fromStyles)),e.onDestroy(()=>j(s,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>q(s,f.fromStyles)),e.onDestroy(()=>j(s,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,f.timelines),o.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>p(a,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=u.get(e);i||u.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(E.length){const t=[];E.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const S=new Map,k=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,S))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{p(S,e,[]).push(t),t.destroy()})});const O=y.filter(t=>ne(t,c,u)),P=new Map;$t(P,this.driver,v,u,r.l3).forEach(t=>{ne(t,c,u)&&O.push(t)});const I=new Map;m.forEach((t,e)=>{$t(I,this.driver,new Set(t),c,r.k1)}),O.forEach(t=>{const e=P.get(t),n=I.get(t);P.set(t,Object.assign(Object.assign({},e),n))});const R=[],M=[],L={};o.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(h.has(e))return r.onDestroy(()=>j(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void i.push(r);let t=L;if(k.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>k.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,S,s,I,P);if(r.setRealPlayer(n),t===L)R.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=l(e)),i.push(r)}}else q(e,o.fromStyles),r.onDestroy(()=>j(e,o.toStyles)),M.push(r),h.has(e)&&i.push(r)}),M.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=l(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r!t.destroyed);i.length?te(this,t,i):this.processLeaveNode(t)}return y.length=0,R.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),R}elementContainsData(t,e){let n=!1;const i=e[Zt];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,s){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||s==qt;e.forEach(e=>{e.queued||!t&&e.triggerName!=i||r.push(e)})}}return(n||i)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const i=e.element,s=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,l=p(n,t,[]);this._getPreviousPlayers(t,a,s,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}q(i,e.fromStyles)}_buildAnimation(t,e,n,i,s,o){const a=e.triggerName,u=e.element,h=[],d=new Set,f=new Set,m=e.timelines.map(e=>{const l=e.element;d.add(l);const p=l[Zt];if(p&&p.removedBeforeQueried)return new r.ZN(e.duration,e.delay);const m=l!==u,g=function(t){const e=[];return ee(t,e),e}((n.get(l)||Nt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===l),_=s.get(l),y=o.get(l),b=c(0,this._normalizer,0,e.keyframes,_,y),v=this._buildPlayer(e,b,g);if(e.subTimeline&&i&&f.add(l),m){const e=new Yt(t,a,l);e.setRealPlayer(v),h.push(e)}return v});h.forEach(t=>{p(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),d.forEach(t=>Jt(t,R));const g=l(m);return g.onDestroy(()=>{d.forEach(t=>Xt(t,R)),j(u,e.toStyles)}),f.forEach(t=>{p(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.ZN(t.duration,t.delay)}}class Yt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>u(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){p(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Gt(t){return t&&1===t.nodeType}function Kt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function $t(t,e,n,i,s){const r=[];n.forEach(t=>r.push(Kt(t)));const o=[];i.forEach((n,i)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(i,t,s);(!n||0==n.length)&&(i[Zt]=Ut,o.push(i))}),t.set(i,r)});let a=0;return n.forEach(t=>Kt(t,r[a++])),o}function Wt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),s=new Map;function r(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:r(o),s.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}const Qt="$$classes";function Jt(t,e){if(t.classList)t.classList.add(e);else{let n=t[Qt];n||(n=t[Qt]={}),n[e]=!0}}function Xt(t,e){if(t.classList)t.classList.remove(e);else{let n=t[Qt];n&&delete n[e]}}function te(t,e,n){l(n).onDone(()=>t.processLeaveNode(e))}function ee(t,e){for(let n=0;ns.add(t)):e.set(t,i),n.delete(t),!0}class ie{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new zt(t,e,n),this._timelineEngine=new Dt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,s){const r=t+"-"+i;let o=this._triggerCache[r];if(!o){const t=[],e=ot(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e,n){return new Pt(t,e,n)}(i,e,this._normalizer),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,s]=f(n);this._timelineEngine.command(t,e,s,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,s){if("@"==n.charAt(0)){const[t,i]=f(n);return this._timelineEngine.listen(t,e,i,s)}return this._transitionEngine.listen(t,e,n,i,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function se(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=oe(e[0]),e.length>1&&(i=oe(e[e.length-1]))):e&&(n=oe(e)),n||i?new re(t,n,i):null}class re{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let i=re.initialStylesByElement.get(t);i||re.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&j(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(j(this._element,this._initialStyles),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(re.initialStylesByElement.delete(this._element),this._startStyles&&(q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(q(this._element,this._endStyles),this._endStyles=null),j(this._element,this._initialStyles),this._state=3)}}function oe(t){let e=null;const n=Object.keys(t);for(let i=0;ithis._handleCallback(t)}apply(){(function(t,e){const n=ge(t,"").trim();let i=0;n.length&&(function(t,e){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),fe(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ge(t,"").split(","),i=pe(n,e);i>=0&&(n.splice(i,1),me(t,"",n.join(",")))}(this._element,this._name))}}function he(t,e,n){me(t,"PlayState",n,de(t,e))}function de(t,e){const n=ge(t,"");return n.indexOf(",")>0?pe(n.split(","),e):pe([n],e)}function pe(t,e){for(let n=0;n=0)return n;return-1}function fe(t,e,n){n?t.removeEventListener(ce,e):t.addEventListener(ce,e)}function me(t,e,n,i){const s=le+e;if(null!=i){const e=t.style[s];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[s]=n}function ge(t,e){return t.style[le+e]||""}class _e{constructor(t,e,n,i,s,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=i+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ue(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:tt(this.element,n))})}this.currentSnapshot=t}}class ye extends r.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=S(e)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class be{constructor(){this._count=0}validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return E(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>S(t));let i=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);i+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${s}animation-timing-function: ${n};\n`));default:return void(i+=`${s}${e}: ${n};\n`)}}),i+=`${s}}\n`}),i+="}\n";const r=document.createElement("style");return r.textContent=i,r}animate(t,e,n,i,s,r=[],o){const a=r.filter(t=>t instanceof _e),l={};Q(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=J(t,e,l));if(0==n)return new ye(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=se(t,e),p=new _e(t,e,u,n,i,s,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class ve{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:tt(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class we{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ce().toString()),this._cssKeyframesDriver=new be}validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return E(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,s,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,s,r);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};s&&(a.easing=s);const l={},c=r.filter(t=>t instanceof ve);Q(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=se(t,e=J(t,e=e.map(t=>B(t,!1)),l));return new ve(t,e,a,u)}}function Ce(){return o()&&Element.prototype.animate||{}}var xe=n(8583);let Ee=(()=>{class t extends r._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,r.vP)(t):t;return Oe(this._renderer,null,e,"register",[n]),new Se(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(xe.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class Se extends r.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ke(this._id,t,e||{},this._renderer)}}class ke{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Oe(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function Oe(t,e,n,i,s){return t.setProperty(e,`@@${n}:${i}`,s)}const Te="@.disabled";let Ae=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new Pe("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(i,s,t,e.name,e)};return e.data.animation.forEach(r),new Ie(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(ie),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class Pe{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&e==Te?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Ie extends Pe{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Te?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,i,s,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let Re=(()=>{class t extends ie{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(xe.K0),i.LFG(O),i.LFG(xt))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const De=new i.OlP("AnimationModuleType"),Me=[{provide:r._j,useClass:Ee},{provide:xt,useFactory:function(){return new Et}},{provide:ie,useClass:Re},{provide:i.FYo,useFactory:function(t,e,n){return new Ae(t,e,n)},deps:[s.se,ie,i.R0b]}],Le=[{provide:O,useFactory:function(){return"function"==typeof Ce()?new we:new be}},{provide:De,useValue:"BrowserAnimations"},...Me],Fe=[{provide:O,useClass:k},{provide:De,useValue:"NoopAnimations"},...Me];let Ne=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?Fe:Le}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:Le,imports:[s.b2]}),t})()},9075:function(t,e,n){"use strict";n.d(e,{b2:function(){return N},H7:function(){return D},q6:function(){return L},se:function(){return x}});var i=n(8583),s=n(3018);class r extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends r{static makeCurrent(){(0,i.HT)(new o)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,i.Mx)(document.cookie,t)}}let a,l=null;const c=new s.OlP("TRANSITION_ID"),u=[{provide:s.ip1,useFactory:function(t,e,n){return()=>{n.get(s.CZH).donePromise.then(()=>{const n=(0,i.q)(),s=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let t=0;t{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},s.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(t=>{const e=s.dqk.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?(0,i.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new s.OlP("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(y),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(y))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function y(t){(0,i.q)().remove(t)}const b={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/"},v=/%COMP%/g;function w(t,e,n){for(let i=0;i{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let x=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new E(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new S(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case s.ifc.ShadowDom:return new k(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f),s.LFG(_),s.LFG(s.AFp))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class E{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const s=b[i];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=b[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(s.JOm.DashCase|s.JOm.Important)?t.style.setProperty(e,n,i&s.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&s.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,C(n)):this.eventManager.addEventListener(t,e,C(n))}}class S extends E{constructor(t,e,n,i){super(t),this.component=n;const s=w(i+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(v,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(v,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class k extends E{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=w(i.id,i.styles,[]);for(let r=0;r{class t extends m{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const T=["alt","control","meta","shift"],A={"\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"},P={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},I={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let R=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(n.pop());let r="";if(T.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=i,o.fullKey=r,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&P.hasOwnProperty(e)&&(e=P[e]))}return A[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),T.forEach(i=>{i!=n&&I[i](t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return s=>{t.getEventFullKey(s)===e&&i.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(M)},token:t,providedIn:"root"}),t})(),M=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.q3G.NONE:return e;case s.q3G.HTML:return(0,s.qzn)(e,"HTML")?(0,s.z3N)(e):(0,s.EiD)(this._doc,String(e)).toString();case s.q3G.STYLE:return(0,s.qzn)(e,"Style")?(0,s.z3N)(e):e;case s.q3G.SCRIPT:if((0,s.qzn)(e,"Script"))return(0,s.z3N)(e);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(e),(0,s.qzn)(e,"URL")?(0,s.z3N)(e):(0,s.mCW)(String(e));case s.q3G.RESOURCE_URL:if((0,s.qzn)(e,"ResourceURL"))return(0,s.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,s.JVY)(t)}bypassSecurityTrustStyle(t){return(0,s.L6k)(t)}bypassSecurityTrustScript(t){return(0,s.eBb)(t)}bypassSecurityTrustUrl(t){return(0,s.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,s.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return function(t){return new M(t.get(i.K0))}((0,s.LFG)(s.gxx))},token:t,providedIn:"root"}),t})();const L=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:i.bD},{provide:s.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),F=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:O,multi:!0,deps:[i.K0,s.R0b,s.Lbi]},{provide:p,useClass:R,multi:!0,deps:[i.K0]},[],{provide:x,useClass:x,deps:[f,_,s.AFp]},{provide:s.FYo,useExisting:x},{provide:g,useExisting:_},{provide:_,useClass:_,deps:[i.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:f,useClass:f,deps:[p,s.R0b]},{provide:i.JF,useClass:d,deps:[]},[]];let N=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:s.AFp,useValue:e.appId},{provide:c,useExisting:s.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:F,imports:[i.ez,s.hGG]}),t})();"undefined"!=typeof window&&window},8741:function(t,e,n){"use strict";n.d(e,{gz:function(){return se},F0:function(){return On},rH:function(){return An},yS:function(){return Pn},Bz:function(){return qn},lC:function(){return Rn}});var i=n(8583),s=n(3018);const r=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var o=n(4402),a=n(5917),l=n(6215),c=n(739),u=n(7574),h=n(8071),d=n(1439),p=n(9193),f=n(2441),m=n(9765),g=n(7393);function _(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new y(t,e,n))}}class y{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new b(t,this.accumulator,this.seed,this.hasSeed))}}class b extends g.L{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var v=n(5345);function w(t){return function(e){const n=new C(t),i=e.lift(n);return n.caught=i}}class C{constructor(t){this.selector=t}call(t,e){return e.subscribe(new x(t,this.selector,this.caught))}}class x extends v.Ds{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new v.IY(this);this.add(i);const s=(0,v.ft)(n,i);s!==i&&this.add(s)}}}var E=n(5435),S=n(7108);function k(t){return function(e){return 0===t?(0,p.c)():e.lift(new O(t))}}class O{constructor(t){if(this.total=t,this.total<0)throw new S.W}call(t,e){return e.subscribe(new T(t,this.total))}}class T extends g.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let s=0;se.lift(new P(t))}class P{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new I(t,this.errorFactory))}}class I extends g.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function R(){return new r}function D(t=null){return e=>e.lift(new M(t))}class M{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new L(t,this.defaultValue))}}class L extends g.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var F=n(4487),N=n(5257);function B(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,E.h)((e,n)=>t(e,n,i)):F.y,(0,N.q)(1),n?D(e):A(()=>new r))}var U=n(5319);class Z{constructor(t){this.callback=t}call(t,e){return e.subscribe(new j(t,this.callback))}}class j extends g.L{constructor(t,e){super(t),this.add(new U.w(e))}}var q=n(8002),V=n(3190),H=n(9761),z=n(4612),Y=n(9773),G=n(3342),K=n(1307),$=n(3282);class W{constructor(t,e){this.id=t,this.url=e}}class Q extends W{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class J extends W{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class X extends W{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class tt extends W{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class et extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nt extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class it extends W{constructor(t,e,n,i,s){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class st extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rt extends W{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class at{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class lt{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ut{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ht{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dt{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const pt="primary";class ft{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function mt(t){return new ft(t)}const gt="ngNavigationCancelingError";function _t(t){const e=Error("NavigationCancelingError: "+t);return e[gt]=!0,e}function yt(t,e,n){const i=n.path.split("/");if(i.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t)}return t===e}function wt(t){return Array.prototype.concat.apply([],t)}function Ct(t){return t.length>0?t[t.length-1]:null}function xt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Et(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,a.of)(t)}const St={exact:function t(e,n,i){if(!Mt(e.segments,n.segments)||!Pt(e.segments,n.segments,i)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children)if(!e.children[s]||!t(e.children[s],n.children[s],i))return!1;return!0},subset:Tt},kt={exact:function(t,e){return bt(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>vt(t[n],e[n]))},ignored:()=>!0};function Ot(t,e,n){return St[n.paths](t.root,e.root,n.matrixParams)&&kt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Tt(t,e,n){return At(t,e,e.segments,n)}function At(t,e,n,i){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!(!Mt(s,n)||e.hasChildren()||!Pt(s,n,i))}if(t.segments.length===n.length){if(!Mt(t.segments,n)||!Pt(t.segments,n,i))return!1;for(const n in e.children)if(!t.children[n]||!Tt(t.children[n],e.children[n],i))return!1;return!0}{const s=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!(Mt(t.segments,s)&&Pt(t.segments,s,i)&&t.children[pt])&&At(t.children[pt],e,r,i)}}function Pt(t,e,n){return e.every((e,i)=>kt[n](t[i].parameters,e.parameters))}class It{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mt(this.queryParams)),this._queryParamMap}toString(){return Nt.serialize(this)}}class Rt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,xt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Bt(this)}}class Dt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=mt(this.parameters)),this._parameterMap}toString(){return zt(this)}}function Mt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Lt{}class Ft{parse(t){const e=new Wt(t);return new It(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${Ut(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${jt(e)}=${jt(t)}`).join("&"):`${jt(e)}=${jt(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Nt=new Ft;function Bt(t){return t.segments.map(t=>zt(t)).join("/")}function Ut(t,e){if(!t.hasChildren())return Bt(t);if(e){const e=t.children[pt]?Ut(t.children[pt],!1):"",n=[];return xt(t.children,(t,e)=>{e!==pt&&n.push(`${e}:${Ut(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return xt(t.children,(t,i)=>{i===pt&&(n=n.concat(e(t,i)))}),xt(t.children,(t,i)=>{i!==pt&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>n===pt?[Ut(t.children[pt],!1)]:[`${n}:${Ut(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[pt]?`${Bt(t)}/${e[0]}`:`${Bt(t)}/(${e.join("//")})`}}function Zt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jt(t){return Zt(t).replace(/%3B/gi,";")}function qt(t){return Zt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vt(t){return decodeURIComponent(t)}function Ht(t){return Vt(t.replace(/\+/g,"%20"))}function zt(t){return`${qt(t.path)}${function(t){return Object.keys(t).map(e=>`;${qt(e)}=${qt(t[e])}`).join("")}(t.parameters)}`}const Yt=/^[^\/()?;=#]+/;function Gt(t){const e=t.match(Yt);return e?e[0]:""}const Kt=/^[^=?&#]+/,$t=/^[^?&#]+/;class Wt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Rt([],{}):new Rt([],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 e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[pt]=new Rt(t,e)),n}parseSegment(){const t=Gt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Dt(Vt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Gt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Gt(this.remaining);t&&(n=t,this.capture(n))}t[Vt(e)]=Vt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Kt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match($t);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=Ht(e),s=Ht(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(s)}else t[i]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Gt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=pt);const r=this.parseChildren();e[s]=1===Object.keys(r).length?r[pt]:new Rt([],r),this.consumeOptional("//")}return e}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 Error(`Expected "${t}".`)}}class Qt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Jt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Jt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Xt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Xt(t,this._root).map(t=>t.value)}}function Jt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Jt(t,n);if(e)return e}return null}function Xt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Xt(t,n);if(i.length)return i.unshift(e),i}return[]}class te{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function ee(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class ne extends Qt{constructor(t,e){super(t),this.snapshot=e,le(this,t)}toString(){return this.snapshot.toString()}}function ie(t,e){const n=function(t,e){const n=new oe([],{},{},"",{},pt,e,null,t.root,-1,{});return new ae("",new te(n,[]))}(t,e),i=new l.X([new Dt("",{})]),s=new l.X({}),r=new l.X({}),o=new l.X({}),a=new l.X(""),c=new se(i,s,o,a,r,pt,e,n.root);return c.snapshot=n.root,new ne(new te(c,[]),n)}class se{constructor(t,e,n,i,s,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,q.U)(t=>mt(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,q.U)(t=>mt(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function re(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class oe{constructor(t,e,n,i,s,r,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=mt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ae extends Qt{constructor(t,e){super(e),this.url=t,le(this,e)}toString(){return ce(this._root)}}function le(t,e){e.value._routerState=t,e.children.forEach(e=>le(t,e))}function ce(t){const e=t.children.length>0?` { ${t.children.map(ce).join(", ")} } `:"";return`${t.value}${e}`}function ue(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,bt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),bt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nbt(t.parameters,e[n].parameters))}(t.url,e.url)&&!(!t.parent!=!e.parent)&&(!t.parent||he(t.parent,e.parent))}function de(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return de(t,e,i);return de(t,e)})}(t,e,n);return new te(i,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return pe(e,t),t}}const n=function(t){return new se(new l.X(t.url),new l.X(t.params),new l.X(t.queryParams),new l.X(t.fragment),new l.X(t.data),t.outlet,t.component,t)}(e.value),i=e.children.map(e=>de(t,e));return new te(n,i)}}function pe(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new It(n.root===t?e:_e(n.root,t,e),r,s)}function _e(t,e,n){const i={};return xt(t.children,(t,s)=>{i[s]=t===e?n:_e(t,e,n)}),new Rt(t.segments,i)}class ye{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&fe(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(me);if(i&&i!==Ct(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class be{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ve(t,e,n){if(t||(t=new Rt([],{})),0===t.segments.length&&t.hasChildren())return we(t,e,n);const i=function(t,e,n){let i=0,s=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;s=n.length)return r;const e=t.segments[s],o=n[i];if(me(o))break;const a=`${o}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Se(a,l,e))return r;i+=2}else{if(!Se(a,{},e))return r;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,e,n),s=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(s[i]=ve(t.children[i],e,n))}),xt(t.children,(t,e)=>{void 0===i[e]&&(s[e]=t)}),new Rt(t.segments,s)}}function Ce(t,e,n){const i=t.segments.slice(0,e);let s=0;for(;s{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=Ce(new Rt([],{}),0,t))}),e}function Ee(t){const e={};return xt(t,(t,n)=>e[n]=`${t}`),e}function Se(t,e,n){return t==n.path&&bt(e,n.parameters)}class ke{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ue(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=ee(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),xt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(i===s)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,s=ee(t);for(const r of Object.keys(s))this.deactivateRouteAndItsChildren(s[r],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=ee(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new ht(t.value.snapshot))}),t.children.length&&this.forwardEvent(new ct(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(ue(i),i===s)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Oe(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=s,e.outlet&&e.outlet.activateWith(i,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Oe(t){ue(t.value),t.children.forEach(Oe)}class Te{constructor(t,e){this.routes=t,this.module=e}}function Ae(t){return"function"==typeof t}function Pe(t){return t instanceof It}const Ie=Symbol("INITIAL_VALUE");function Re(){return(0,V.w)(t=>(0,c.aj)(t.map(t=>t.pipe((0,N.q)(1),(0,H.O)(Ie)))).pipe(_((t,e)=>{let n=!1;return e.reduce((t,i,s)=>t!==Ie?t:(i===Ie&&(n=!0),n||!1!==i&&s!==e.length-1&&!Pe(i)?t:i),t)},Ie),(0,E.h)(t=>t!==Ie),(0,q.U)(t=>Pe(t)?t:!0===t),(0,N.q)(1)))}let De=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[Rn]},encapsulation:2}),t})();function Me(t,e=""){for(let n=0;nBe(t)===e);return n.push(...t.filter(t=>Be(t)!==e)),n}const Ze={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function je(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Ze):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||yt)(n,t,e);if(!s)return Object.assign({},Ze);const r={};xt(s.posParams,(t,e)=>{r[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},r),s.consumed[s.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function qe(t,e,n,i,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Ve(t,e,n)&&Be(n)!==pt)}(t,n,i)){const s=new Rt(e,function(t,e,n,i){const s={};s[pt]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&Be(r)!==pt){const n=new Rt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[Be(r)]=n}return s}(t,e,i,new Rt(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ve(t,e,n))}(t,n,i)){const r=new Rt(t.segments,function(t,e,n,i,s,r){const o={};for(const a of i)if(Ve(t,n,a)&&!s[Be(a)]){const n=new Rt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[Be(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,i,t.children,s));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Rt(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Ve(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function He(t,e,n,i){return!!(Be(t)===i||i!==pt&&Ve(e,n,t))&&("**"===t.path||je(e,t,n).matched)}function ze(t,e,n){return 0===e.length&&!t.children[n]}class Ye{constructor(t){this.segmentGroup=t||null}}class Ge{constructor(t){this.urlTree=t}}function Ke(t){return new u.y(e=>e.error(new Ye(t)))}function $e(t){return new u.y(e=>e.error(new Ge(t)))}function We(t){return new u.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Qe{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}apply(){const t=qe(this.urlTree.root,[],[],this.config).segmentGroup,e=new Rt(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,pt).pipe((0,q.U)(t=>this.createUrlTree(Je(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(w(t=>{if(t instanceof Ge)return this.allowRedirects=!1,this.match(t.urlTree);throw t instanceof Ye?this.noMatchError(t):t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,pt).pipe((0,q.U)(e=>this.createUrlTree(Je(e),t.queryParams,t.fragment))).pipe(w(t=>{throw t instanceof Ye?this.noMatchError(t):t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new Rt([],{[pt]:t}):t;return new It(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,q.U)(t=>new Rt([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const s of Object.keys(n.children))"primary"===s?i.unshift(s):i.push(s);return(0,o.D)(i).pipe((0,z.b)(i=>{const s=n.children[i],r=Ue(e,i);return this.expandSegmentGroup(t,r,s,i).pipe((0,q.U)(t=>({segment:t,outlet:i})))}),_((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,E.h)((e,n)=>t(e,n,i)):F.y,k(1),n?D(e):A(()=>new r))}())}expandSegment(t,e,n,i,s,l){return(0,o.D)(n).pipe((0,z.b)(r=>this.expandSegmentAgainstRoute(t,e,n,r,i,s,l).pipe(w(t=>{if(t instanceof Ye)return(0,a.of)(null);throw t}))),B(t=>!!t),w((t,n)=>{if(t instanceof r||"EmptyError"===t.name){if(ze(e,i,s))return(0,a.of)(new Rt([],{}));throw new Ye(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,s,r,o){return He(i,e,s,r)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,s,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r):Ke(e):Ke(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?$e(s):this.lineralizeSegments(n,s).pipe((0,Y.zg)(n=>{const s=new Rt(n,{});return this.expandSegment(t,s,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=je(e,i,s);if(!o)return Ke(e);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?$e(u):this.lineralizeSegments(i,u).pipe((0,Y.zg)(i=>this.expandSegment(t,e,n,i.concat(s.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,i,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,a.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,q.U)(t=>(n._loadedConfig=t,new Rt(i,{})))):(0,a.of)(new Rt(i,{}));const{matched:r,consumedSegments:o,lastChild:l}=je(e,n,i);if(!r)return Ke(e);const c=i.slice(l);return this.getChildConfig(t,n,i).pipe((0,Y.zg)(t=>{const i=t.module,r=t.routes,{segmentGroup:l,slicedSegments:u}=qe(e,o,c,r),h=new Rt(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(i,r,h).pipe((0,q.U)(t=>new Rt(o,t)));if(0===r.length&&0===u.length)return(0,a.of)(new Rt(o,{}));const d=Be(n)===s;return this.expandSegment(i,h,r,u,d?pt:s,!0).pipe((0,q.U)(t=>new Rt(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,a.of)(new Te(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,a.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,Y.zg)(n=>{return n?this.configLoader.load(t.injector,e).pipe((0,q.U)(t=>(e._loadedConfig=t,t))):(i=e,new u.y(t=>t.error(_t(`Cannot load children because the guard of the route "path: '${i.path}'" returned false`))));var i})):(0,a.of)(new Te([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return(0,a.of)(!0);const s=i.map(i=>{const s=t.get(i);let r;if((o=s)&&Ae(o.canLoad))r=s.canLoad(e,n);else{if(!Ae(s))throw new Error("Invalid CanLoad guard");r=s(e,n)}var o;return Et(r)});return(0,a.of)(s).pipe(Re(),(0,G.b)(t=>{if(!Pe(t))return;const e=_t(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,q.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,a.of)(n);if(i.numberOfChildren>1||!i.children[pt])return We(t.redirectTo);i=i.children[pt]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const s=this.createSegmentGroup(t,e.root,n,i);return new It(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return xt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[i]=e[s]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const s=this.createSegments(t,e.segments,n,i);let r={};return xt(e.children,(e,s)=>{r[s]=this.createSegmentGroup(t,e,n,i)}),new Rt(s,r)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Je(t){const e={};for(const n of Object.keys(t.children)){const i=Je(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children[pt]){const e=t.children[pt];return new Rt(t.segments.concat(e.segments),e.children)}return t}(new Rt(t.segments,e))}class Xe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class tn{constructor(t,e){this.component=t,this.route=e}}function en(t,e,n){const i=t._root;return sn(i,e?e._root:null,n,[i.value])}function nn(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function sn(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=ee(e);return t.children.forEach(t=>{(function(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Mt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Mt(t.url,e.url)||!bt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!he(t,e)||!bt(t.queryParams,e.queryParams);case"paramsChange":default:return!he(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Xe(i)):(r.data=o.data,r._resolvedData=o._resolvedData),sn(t,e,r.component?a?a.children:null:n,i,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new tn(a.outlet.component,o))}else o&&rn(e,a,s),s.canActivateChecks.push(new Xe(i)),sn(t,null,r.component?a?a.children:null:n,i,s)})(t,r[t.value.outlet],n,i.concat([t.value]),s),delete r[t.value.outlet]}),xt(r,(t,e)=>rn(t,n.getContext(e),s)),s}function rn(t,e,n){const i=ee(t),s=t.value;xt(i,(t,i)=>{rn(t,s.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new tn(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class on{}function an(t){return new u.y(e=>e.error(t))}class ln{constructor(t,e,n,i,s,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){const t=qe(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,pt);if(null===e)return null;const n=new oe([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},pt,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new te(n,e),s=new ae(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=re(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const s of Object.keys(e.children)){const i=e.children[s],r=Ue(t,s),o=this.processSegmentGroup(r,i,s);if(null===o)return null;n.push(...o)}const i=un(n);return i.sort((t,e)=>t.value.outlet===pt?-1:e.value.outlet===pt?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,i);if(null!==t)return t}return ze(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!He(t,e,n,i))return null;let s,r=[],o=[];if("**"===t.path){const i=n.length>0?Ct(n).parameters:{};s=new oe(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,pn(t),Be(t),t.component,t,hn(e),dn(e)+n.length,fn(t))}else{const i=je(e,t,n);if(!i.matched)return null;r=i.consumedSegments,o=n.slice(i.lastChild),s=new oe(r,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,pn(t),Be(t),t.component,t,hn(e),dn(e)+r.length,fn(t))}const a=(u=t).children?u.children:u.loadChildren?u._loadedConfig.routes:[],{segmentGroup:l,slicedSegments:c}=qe(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);var u;if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new te(s,t)]}if(0===a.length&&0===c.length)return[new te(s,[])];const h=Be(t)===i,d=this.processSegment(a,l,c,h?pt:i);return null===d?null:[new te(s,d)]}}function cn(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function un(t){const e=[],n=new Set;for(const i of t){if(!cn(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=un(i.children);e.push(new te(i.value,t))}return e.filter(t=>!n.has(t))}function hn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function dn(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function pn(t){return t.data||{}}function fn(t){return t.resolve||{}}function mn(t){return(0,V.w)(e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,q.U)(()=>e)):(0,a.of)(e)})}class gn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const _n=new s.OlP("ROUTES");class yn{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,q.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new Te(wt(i.injector.get(_n,void 0,s.XFs.Self|s.XFs.Optional)).map(Ne),i)}),w(t=>{throw e._loader$=void 0,t}));return e._loader$=new f.c(n,()=>new m.xQ).pipe((0,K.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,o.D)(this.loader.load(t)):Et(t()).pipe((0,Y.zg)(t=>t instanceof s.YKP?(0,a.of)(t):(0,o.D)(this.compiler.compileModuleAsync(t))))}}class bn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new vn,this.attachRef=null}}class vn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new bn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class wn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Cn(t){throw t}function xn(t,e,n){return e.parse("/")}function En(t,e){return(0,a.of)(null)}const Sn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},kn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let On=(()=>{class t{constructor(t,e,n,i,r,o,a,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new m.xQ,this.errorHandler=Cn,this.malformedUriErrorHandler=xn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:En,afterPreactivation:En},this.urlHandlingStrategy=new wn,this.routeReuseStrategy=new gn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(s.h0i),this.console=r.get(s.c2e);const u=r.get(s.R0b);this.isNgZoneEnabled=u instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new It(new Rt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new yn(o,a,t=>this.triggerEvent(new ot(t)),t=>this.triggerEvent(new at(t))),this.routerState=ie(this.currentUrlTree,this.rootComponentType),this.transitions=new l.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe((0,E.h)(t=>0!==t.id),(0,q.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,V.w)(t=>{let n=!1,i=!1;return(0,a.of)(t).pipe((0,G.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,V.w)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString(),s=("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl);if(Tn(t.source)&&(this.browserUrlTree=t.rawUrl),s)return(0,a.of)(t).pipe((0,V.w)(t=>{const n=this.transitions.getValue();return e.next(new Q(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(t)}),function(t,e,n,i){return(0,V.w)(s=>function(t,e,n,i,s){return new Qe(t,e,n,i,s).apply()}(t,e,n,s.extractedUrl,i).pipe((0,q.U)(t=>Object.assign(Object.assign({},s),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,G.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,s,r){return(0,Y.zg)(o=>function(t,e,n,s,r="emptyOnly",o="legacy"){try{const i=new ln(t,e,n,s,r,o).recognize();return null===i?an(new on):(0,a.of)(i)}catch(i){return an(i)}}(t,e,o.urlAfterRedirects,n(o.urlAfterRedirects),s,r).pipe((0,q.U)(t=>Object.assign(Object.assign({},o),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,G.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new et(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:s,restoredState:r,extras:o}=t,l=new Q(n,this.serializeUrl(i),s,r);e.next(l);const c=ie(i,this.rootComponentType).snapshot;return(0,a.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),mn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,G.b)(t=>{const e=new nt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,q.U)(t=>Object.assign(Object.assign({},t),{guards:en(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,Y.zg)(n=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:r,canDeactivateChecks:l}}=n;return 0===l.length&&0===r.length?(0,a.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,o.D)(t).pipe((0,Y.zg)(t=>function(t,e,n,i,s){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,a.of)(!0);const o=r.map(r=>{const o=nn(r,e,s);let a;if(function(t){return t&&Ae(t.canDeactivate)}(o))a=Et(o.canDeactivate(t,e,n,i));else{if(!Ae(o))throw new Error("Invalid CanDeactivate guard");a=Et(o(t,e,n,i))}return a.pipe(B())});return(0,a.of)(o).pipe(Re())}(t.component,t.route,n,e,i)),B(t=>!0!==t,!0))}(l,i,s,t).pipe((0,Y.zg)(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return(0,o.D)(e).pipe((0,z.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new lt(t)),(0,a.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new ut(t)),(0,a.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const s=e.guards.map(s=>{const r=nn(s,e.node,n);let o;if(function(t){return t&&Ae(t.canActivateChild)}(r))o=Et(r.canActivateChild(i,t));else{if(!Ae(r))throw new Error("Invalid CanActivateChild guard");o=Et(r(i,t))}return o.pipe(B())});return(0,a.of)(s).pipe(Re())}));return(0,a.of)(s).pipe(Re())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,a.of)(!0);const s=i.map(i=>(0,d.P)(()=>{const s=nn(i,e,n);let r;if(function(t){return t&&Ae(t.canActivate)}(s))r=Et(s.canActivate(e,t));else{if(!Ae(s))throw new Error("Invalid CanActivate guard");r=Et(s(e,t))}return r.pipe(B())}));return(0,a.of)(s).pipe(Re())}(t,e.route,n))),B(t=>!0!==t,!0))}(i,r,t,e):(0,a.of)(n)),(0,q.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,G.b)(t=>{if(Pe(t.guardsResult)){const e=_t(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new it(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,E.h)(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),mn(t=>{if(t.guards.canActivateChecks.length)return(0,a.of)(t).pipe((0,G.b)(t=>{const e=new st(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,V.w)(t=>{let e=!1;return(0,a.of)(t).pipe(function(t,e){return(0,Y.zg)(n=>{const{targetSnapshot:i,guards:{canActivateChecks:s}}=n;if(!s.length)return(0,a.of)(n);let r=0;return(0,o.D)(s).pipe((0,z.b)(n=>function(t,e,n,i){return function(t,e,n,i){const s=Object.keys(t);if(0===s.length)return(0,a.of)({});const r={};return(0,o.D)(s).pipe((0,Y.zg)(s=>function(t,e,n,i){const s=nn(t,e,i);return Et(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,i).pipe((0,G.b)(t=>{r[s]=t}))),k(1),(0,Y.zg)(()=>Object.keys(r).length===s.length?(0,a.of)(r):p.E))}(t._resolve,t,e,i).pipe((0,q.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),re(t,n).resolve),null)))}(n.route,i,t,e)),(0,G.b)(()=>r++),k(1),(0,Y.zg)(t=>r===s.length?(0,a.of)(n):p.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,G.b)({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,G.b)(t=>{const e=new rt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),mn(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,q.U)(t=>{const e=function(t,e,n){const i=de(t,e._root,n?n._root:void 0);return new ne(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,G.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),((t,e,n)=>(0,q.U)(i=>(new ke(e,i.targetRouterState,i.currentRouterState,n).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),(0,G.b)({next(){n=!0},complete(){n=!0}}),function(t){return e=>e.lift(new Z(t))}(()=>{if(!n&&!i){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}this.currentNavigation=null}),w(n=>{if(i=!0,function(t){return t&&t[gt]}(n)){const i=Pe(n.url);i||(this.navigated=!0,this.restoreHistory(t,!0));const s=new X(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),i={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Tn(t.source)};this.scheduleNavigation(e,"imperative",null,i,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.restoreHistory(t,!0);const i=new tt(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}return p.E}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(i,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Me(t),this.config=t.map(Ne),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:s,queryParamsHandling:r,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let c=null;switch(r){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,s){if(0===n.length)return ge(e.root,e.root,e,i,s);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ye(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return xt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===s?(i.split("/").forEach((i,s)=>{0==s&&"."===i||(0==s&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new ye(n,e,i)}(n);if(r.toRoot())return ge(e.root,new Rt([],{}),e,i,s);const o=function(t,e,n){if(t.isAbsolute)return new be(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new be(t,t===e.root,0)}const i=fe(t.commands[0])?0:1;return function(t,e,n){let i=t,s=e,r=n;for(;r>s;){if(r-=s,i=i.parent,!i)throw new Error("Invalid number of '../'");s=i.segments.length}return new be(i,!1,s-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?we(o.segmentGroup,o.index,r.commands):ve(o.segmentGroup,o.index,r.commands);return ge(o.segmentGroup,a,e,i,s)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Pe(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,s){var r,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l=Tn(e)&&a&&!Tn(a.source),c=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);let u,h,d;s?(u=s.resolve,h=s.reject,d=s.promise):d=new Promise((t,e)=>{u=t,h=e});const p=++this.navigationId;let f;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),f=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(r=this.browserPageId)&&void 0!==r?r:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):f=0,this.setTransition({id:p,targetPageId:f,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}restoreHistory(t,e=!1){var n,i;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new X(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(Lt),s.LFG(vn),s.LFG(i.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function Tn(t){return"imperative"!==t}let An=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new m.xQ,null==n&&i.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:In(this.skipLocationChange),replaceUrl:In(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:In(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(On),s.Y36(se),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})(),Pn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new m.xQ,this.subscription=t.events.subscribe(t=>{t instanceof J&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,s){if(0!==t||e||n||i||s||"string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:In(this.skipLocationChange),replaceUrl:In(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:In(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(On),s.Y36(se),s.Y36(i.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})();function In(t){return""===t||!!t}let Rn=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=i||pt,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,s=new Dn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(vn),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Dn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===se?this.route:t===vn?this.childContexts:this.parent.get(t,e)}}class Mn{}class Ln{preload(t,e){return(0,a.of)(null)}}let Fn=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.injector=i,this.preloadingStrategy=s,this.loader=new yn(e,n,e=>t.triggerEvent(new ot(e)),e=>t.triggerEvent(new at(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,E.h)(t=>t instanceof J),(0,z.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return(0,o.D)(n).pipe((0,$.J)(),(0,q.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,a.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,Y.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(On),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(Mn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Nn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Q?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof J&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof dt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new dt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(On),s.LFG(i.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Bn=new s.OlP("ROUTER_CONFIGURATION"),Un=new s.OlP("ROUTER_FORROOT_GUARD"),Zn=[i.Ye,{provide:Lt,useClass:Ft},{provide:On,useFactory:function(t,e,n,i,s,r,o,a={},l,c){const u=new On(null,t,e,n,i,s,r,wt(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Lt,vn,i.Ye,s.zs3,s.v3s,s.Sil,_n,Bn,[class{},new s.FiY],[class{},new s.FiY]]},vn,{provide:se,useFactory:function(t){return t.routerState.root},deps:[On]},{provide:s.v3s,useClass:s.EAV},Fn,Ln,class{preload(t,e){return e().pipe(w(()=>(0,a.of)(null)))}},{provide:Bn,useValue:{enableTracing:!1}}];function jn(){return new s.PXZ("Router",On)}let qn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Zn,Yn(e),{provide:Un,useFactory:zn,deps:[[On,new s.FiY,new s.tp0]]},{provide:Bn,useValue:n||{}},{provide:i.S$,useFactory:Hn,deps:[i.lw,[new s.tBr(i.mr),new s.FiY],Bn]},{provide:Nn,useFactory:Vn,deps:[On,i.EM,Bn]},{provide:Mn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Ln},{provide:s.PXZ,multi:!0,useFactory:jn},[Gn,{provide:s.ip1,multi:!0,useFactory:Kn,deps:[Gn]},{provide:Wn,useFactory:$n,deps:[Gn]},{provide:s.tb,multi:!0,useExisting:Wn}]]}}static forChild(e){return{ngModule:t,providers:[Yn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Un,8),s.LFG(On,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function Vn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Nn(t,e,n)}function Hn(t,e,n={}){return n.useHash?new i.Do(t,e):new i.b0(t,e)}function zn(t){return"guarded"}function Yn(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:_n,multi:!0,useValue:t}]}let Gn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new m.xQ}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(On),i=this.injector.get(Bn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,a.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Bn),n=this.injector.get(Fn),i=this.injector.get(Nn),r=this.injector.get(On),o=this.injector.get(s.z2F);t===o.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function Kn(t){return t.appInitializer.bind(t)}function $n(t){return t.bootstrapListener.bind(t)}const Wn=new s.OlP("Router Initializer")},6215:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});var i=n(9765),s=n(7971);class r extends i.xQ{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.N;return this._value}next(t){super.next(this._value=t)}}},1593:function(t,e,n){"use strict";n.d(e,{P:function(){return o}});var i=n(9193),s=n(5917),r=n(7574);class o{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return(0,s.of)(this.value);case"E":return t=this.error,new r.y(e=>e.error(t));case"C":return(0,i.c)()}var t;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new o("N",t):o.undefinedValueNotification}static createError(t){return new o("E",void 0,t)}static createComplete(){return o.completeNotification}}o.completeNotification=new o("C"),o.undefinedValueNotification=new o("N",void 0)},7574:function(t,e,n){"use strict";n.d(e,{y:function(){return c}});var i=n(7393),s=n(9181),r=n(6490),o=n(6554),a=n(4487);var l=n(2494);let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof i.L)return t;if(t[s.b])return t[s.b]()}return t||e||n?new i.L(t,e,n):new i.L(r.c)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||l.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof i.L?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(s){n(s),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.L](){return this}pipe(...t){return 0===t.length?this:function(t){return 0===t.length?a.y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}(t)(this)}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},6490:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(2494),s=n(4449);const r={closed:!0,next(t){},error(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,s.z)(t)},complete(){}}},9765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return c},xQ:function(){return u}});var i=n(7574),s=n(7393),r=n(5319),o=n(7971),a=n(8858),l=n(9181);class c extends s.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.N;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let s=0;snew h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.w.EMPTY}}},8858:function(t,e,n){"use strict";n.d(e,{W:function(){return s}});var i=n(5319);class s extends i.w{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},7393:function(t,e,n){"use strict";n.d(e,{L:function(){return c}});var i=n(9105),s=n(6490),r=n(5319),o=n(9181),a=n(2494),l=n(4449);class c extends r.w{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!t){this.destination=s.c;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[o.b](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends c{constructor(t,e,n,r){super(),this._parentSubscriber=t;let o,a=this;(0,i.m)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==s.c&&(a=Object.create(e),(0,i.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.v;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,l.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,l.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(t,e,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,l.z)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},5319:function(t,e,n){"use strict";n.d(e,{w:function(){return a}});var i=n(9796),s=n(1555),r=n(9105);const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();class a{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:n,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof a)e.remove(this);else if(null!==e)for(let i=0;it.concat(e instanceof o?e.errors:e),[])}a.EMPTY=((l=new a).closed=!0,l)},2494:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},5345:function(t,e,n){"use strict";n.d(e,{IY:function(){return o},Ds:function(){return a},ft:function(){return l}});var i=n(7393),s=n(7574),r=n(7444);class o extends i.L{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.L{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(e.closed)return;if(t instanceof s.y)return t.subscribe(e);let n;try{n=(0,r.s)(t)(e)}catch(i){e.error(i)}return n}},2441:function(t,e,n){"use strict";n.d(e,{c:function(){return a},N:function(){return l}});var i=n(9765),s=n(7574),r=n(5319),o=n(1307);class a extends s.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new r.w,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.w.EMPTY)),t}refCount(){return(0,o.x)()(this)}}const l=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class c extends i.Yc{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},739:function(t,e,n){"use strict";n.d(e,{aj:function(){return p}});var i=n(4869),s=n(9796),r=n(7393);class o extends r.L{notifyNext(t,e,n,i,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class a extends r.L{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n(7444),c=n(7574);function u(t,e,n,i,s=new a(t,n,i)){if(!s.closed)return e instanceof c.y?e.subscribe(s):(0,l.s)(e)(s)}var h=n(6693);const d={};function p(...t){let e,n;return(0,i.K)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,s.k)(t[0])&&(t=t[0]),(0,h.n)(t,n).lift(new f(e))}class f{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new m(t,this.resultSelector))}}class m extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(d),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{let n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,s.D)(n):(0,r.c)()).subscribe(e)})}},9193:function(t,e,n){"use strict";n.d(e,{E:function(){return s},c:function(){return r}});var i=n(7574);const s=new i.y(t=>t.complete());function r(t){return t?function(t){return new i.y(e=>t.schedule(()=>e.complete()))}(t):s}},4402:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var i=n(7574),s=n(7444),r=n(5319),o=n(6554),a=n(4087),l=n(377),c=n(4072),u=n(9489);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.L]}(t))return function(t,e){return new i.y(n=>{const i=new r.w;return i.add(e.schedule(()=>{const s=t[o.L]();i.add(s.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if((0,c.t)(t))return function(t,e){return new i.y(n=>{const i=new r.w;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if((0,u.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[l.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(n=>{const i=new r.w;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(e.schedule(()=>{s=t[l.hZ](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.y?t:new i.y((0,s.s)(t))}},6693:function(t,e,n){"use strict";n.d(e,{n:function(){return o}});var i=n(7574),s=n(5015),r=n(4087);function o(t,e){return e?(0,r.r)(t,e):new i.y((0,s.V)(t))}},2759:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var i=n(7574),s=n(9796),r=n(9105),o=n(8002);function a(t,e,n,c){return(0,r.m)(n)&&(c=n,n=void 0),c?a(t,e,n).pipe((0,o.U)(t=>(0,s.k)(t)?c(...t):c(t))):new i.y(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,s){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,s),r=()=>i.removeEventListener(e,n,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),r=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),r=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.y?t[0]:(0,r.J)(e)((0,o.n)(t,n))}},5917:function(t,e,n){"use strict";n.d(e,{of:function(){return o}});var i=n(4869),s=n(6693),r=n(4087);function o(...t){let e=t[t.length-1];return(0,i.K)(e)?(t.pop(),(0,r.r)(t,e)):(0,s.n)(t)}},628:function(t,e,n){"use strict";n.d(e,{e:function(){return h}});var i=n(3637),s=n(5345);class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends s.Ds{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=(0,s.ft)(n,new s.IY(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n(7574),l=n(6561),c=n(4869);function u(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function h(t,e=i.P){return function(t){return function(e){return e.lift(new r(t))}}(()=>function(t=0,e,n){let s=-1;return(0,l.k)(e)?s=Number(e)<1?1:Number(e):(0,c.K)(e)&&(n=e),(0,c.K)(n)||(n=i.P),new a.y(e=>{const i=(0,l.k)(t)?t:+t-n.now();return n.schedule(u,i,{index:0,period:s,subscriber:e})})}(t,e))}},4612:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(9773);function s(t,e){return(0,i.zg)(t,e,1)}},4395:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(7393),s=n(3637);function r(t,e=s.P){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends i.L{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},7519:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(7393);function s(t,e){return n=>n.lift(new r(t,e))}class r{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.L{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},5435:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var i=n(7393);function s(t,e){return function(n){return n.lift(new r(t,e))}}class r{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.L{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},8002:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var i=n(7393);function s(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.L{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},3282:function(t,e,n){"use strict";n.d(e,{J:function(){return r}});var i=n(9773),s=n(4487);function r(t=Number.POSITIVE_INFINITY){return(0,i.zg)(s.y,t)}},9773:function(t,e,n){"use strict";n.d(e,{zg:function(){return o}});var i=n(8002),s=n(4402),r=n(5345);function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends r.Ds{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},1307:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(7393);function s(){return function(t){return t.lift(new r(t))}}class r{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new o(t,n),s=e.subscribe(i);return i.closed||(i.connection=n.connect()),s}}class o extends i.L{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,i&&(!n||i===n)&&i.unsubscribe()}}},3653:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var i=n(7393);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.total=t}call(t,e){return e.subscribe(new o(t,this.total))}}class o extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},9761:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var i=n(8071),s=n(4869);function r(...t){const e=t[t.length-1];return(0,s.K)(e)?(t.pop(),n=>(0,i.z)(t,n,e)):e=>(0,i.z)(t,e)}},3190:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var i=n(8002),s=n(4402),r=n(5345);function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends r.Ds{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,r.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},5257:function(t,e,n){"use strict";n.d(e,{q:function(){return o}});var i=n(7393),s=n(7108),r=n(9193);function o(t){return e=>0===t?(0,r.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},6782:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var i=n(5345);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),s=(0,i.ft)(this.notifier,new i.IY(n));return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class o extends i.Ds{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},3342:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(7393);function s(){}var r=n(9105);function o(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.L{constructor(t,e,n,i){super(t),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=n||s,this._tapComplete=i||s,(0,r.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s,this._tapError=e.error||s,this._tapComplete=e.complete||s)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},4087:function(t,e,n){"use strict";n.d(e,{r:function(){return r}});var i=n(7574),s=n(5319);function r(t,e){return new i.y(n=>{const i=new s.w;let r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},6465:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});var i=n(5319);class s extends i.w{constructor(t,e){super()}schedule(t,e=0){return this}}class r extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},6102:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class s extends i{constructor(t,e=i.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},4581:function(t,e,n){"use strict";n.d(e,{E:function(){return u}});let i=1;const s=Promise.resolve(),r={};function o(t){return t in r&&(delete r[t],!0)}const a={setImmediate(t){const e=i++;return r[e]=!0,s.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var l=n(6465),c=n(6102);const u=new class extends c.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}})},3637:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var i=n(6465);const s=new(n(6102).v)(i.o)},377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return i}});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});const i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},7971:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},4449:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,{z:function(){return i}})},4487:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},9796:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});const i=Array.isArray||(t=>t&&"number"==typeof t.length)},9489:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},9105:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},6561:function(t,e,n){"use strict";n.d(e,{k:function(){return s}});var i=n(9796);function s(t){return!(0,i.k)(t)&&t-parseFloat(t)+1>=0}},1555:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},5639:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(7574);function s(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},4072:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},4869:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},7444:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var i=n(5015),s=n(4449),r=n(377),o=n(6554),a=n(9489),l=n(4072),c=n(1555);const u=t=>{if(t&&"function"==typeof t[o.L])return(t=>e=>{const n=t[o.L]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if((0,a.z)(t))return(0,i.V)(t);if((0,l.t)(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,s.z),e))(t);if(t&&"function"==typeof t[r.hZ])return(t=>e=>{const n=t[r.hZ]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const e=`You provided ${(0,c.K)(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}}},5015:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});const i=t=>e=>{for(let n=0,i=t.length;n{class t{constructor(t){this.sanitizer=t}transform(t,e){return this.sanitizer.bypassSecurityTrustHtml(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(s.H7,16))},t.\u0275pipe=i.Yjl({name:"safeHtml",type:t,pure:!0}),t})()},3183:function(t,e,n){"use strict";n.d(e,{h:function(){return y}});var i=n(2238),s=n(7574),r=n(3637),o=n(6561);function a(t){const{subscriber:e,counter:n,period:i}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}var l=n(3018),c=n(8583),u=n(1095),h=n(7918),d=n(6498);function p(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){return l.CHM(t),l.oxw().close()}),l.TgZ(1,"uds-translate"),l._uU(2,"Close"),l.qZA(),l._uU(3),l.qZA()}if(2&t){const t=l.oxw();l.xp6(3),l.Oqu(t.extra)}}function f(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){return l.CHM(t),l.oxw().yes()}),l.TgZ(1,"uds-translate"),l._uU(2,"Yes"),l.qZA(),l.qZA()}}function m(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"button",3),l.NdJ("click",function(){return l.CHM(t),l.oxw().no()}),l.TgZ(1,"uds-translate"),l._uU(2,"No"),l.qZA(),l.qZA()}}var g=(()=>{return(t=g||(g={}))[t.alert=0]="alert",t[t.yesno=1]="yesno",g;var t})();let _=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,this.subscription=null,this.resetCallbacks(),this.yesno=new s.y(t=>{this.yes=()=>{t.next(!0),t.complete()},this.no=()=>{t.next(!1),t.complete()},this.close=()=>{this.doClose(),t.next(!1),t.complete()};const e=this;return{unsubscribe:()=>e.resetCallbacks()}})}resetCallbacks(){this.yes=this.no=()=>this.close(),this.close=()=>this.doClose()}closed(){null!==this.subscription&&this.subscription.unsubscribe()}doClose(){this.dialogRef.close()}setExtra(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "}initAlert(){this.data.autoclose>0?(this.dialogRef.afterClosed().subscribe(t=>{this.closed()}),this.setExtra(this.data.autoclose),this.subscription=function(t=0,e=r.P){return(!(0,o.k)(t)||t<0)&&(t=0),(!e||"function"!=typeof e.schedule)&&(e=r.P),new s.y(n=>(n.add(e.schedule(a,t,{subscriber:n,counter:0,period:t})),n))}(1e3).subscribe(t=>{const e=this.data.autoclose-1e3*(t+1);this.setExtra(e),e<=0&&this.close()})):this.data.checkClose&&(this.dialogRef.afterClosed().subscribe(t=>{this.closed()}),this.subscription=this.data.checkClose.subscribe(t=>{window.setTimeout(()=>{this.doClose()})}))}initYesNo(){}ngOnInit(){this.data.type===g.yesno?this.initYesNo():this.initAlert()}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(i.so),l.Y36(i.WI))},t.\u0275cmp=l.Xpm({type:t,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(t,e){1&t&&(l._UZ(0,"h4",0),l.ALo(1,"safeHtml"),l._UZ(2,"mat-dialog-content",1),l.ALo(3,"safeHtml"),l.TgZ(4,"mat-dialog-actions"),l.YNc(5,p,4,1,"button",2),l.YNc(6,f,3,0,"button",2),l.YNc(7,m,3,0,"button",2),l.qZA()),2&t&&(l.Q6J("innerHtml",l.lcZ(1,5,e.data.title),l.oJD),l.xp6(2),l.Q6J("innerHTML",l.lcZ(3,7,e.data.body),l.oJD),l.xp6(3),l.Q6J("ngIf",0==e.data.type),l.xp6(1),l.Q6J("ngIf",1==e.data.type),l.xp6(1),l.Q6J("ngIf",1==e.data.type))},directives:[i.uh,i.xY,i.H8,c.O5,u.lW,i.ZT,h.P],pipes:[d.z],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),t})(),y=(()=>{class t{constructor(t){this.dialog=t}alert(t,e,n=0,i=null){const s=window.innerWidth<800?"80%":"40%";return this.dialog.open(_,{width:s,data:{title:t,body:e,autoclose:n,checkClose:i,type:g.alert},disableClose:!0})}yesno(t,e){const n=window.innerWidth<800?"80%":"40%";return this.dialog.open(_,{width:n,data:{title:t,body:e,type:g.yesno},disableClose:!0}).componentInstance.yesno}}return t.\u0275fac=function(e){return new(e||t)(l.LFG(i.uw))},t.\u0275prov=l.Yz7({token:t,factory:t.\u0275fac}),t})()},2870:function(t,e,n){"use strict";n.d(e,{S:function(){return s}});var i=n(7574);let s=(()=>{class t{constructor(t){this.api=t,this.delay=t.config.launcher_wait_time}launchURL(e){let n="init";const s=t=>{let e=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof t?e=t:403===t.status&&(e=django.gettext("Your session has expired. Please, login again")),window.setTimeout(()=>{this.showAlert(django.gettext("Error"),e,5e3),403===t.status&&window.setTimeout(()=>{this.api.logout()},5e3)})};if("udsa://"===e.substring(0,7)){const t=e.split("//")[1].split("/"),r=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0,new i.y(e=>{let i=0;const o=()=>{r.componentInstance&&this.api.status(t[0],t[1]).subscribe(t=>{"ready"===t.status?(i?Date.now()-i>5*this.delay&&(r.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),r.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""):(i=Date.now(),r.componentInstance.data.title=django.gettext("Service ready"),r.componentInstance.data.body=django.gettext("Launching UDS Client, almost done.")),window.setTimeout(o,this.delay)):"accessed"===t.status?(r.componentInstance.data.body=django.gettext("Machine ready, waiting for UDS Client"),e.next(!0),e.complete()):"running"===t.status?window.setTimeout(o,this.delay):(e.next(!0),e.complete(),s())},t=>{e.next(!0),e.complete(),s(t)})},a=()=>{if("init"===n)window.setTimeout(a,this.delay);else{if("error"===n||"stop"===n)return;window.setTimeout(o)}};window.setTimeout(a)}));this.api.enabler(t[0],t[1]).subscribe(t=>{if(t.error)n="error",this.api.gui.alert(django.gettext("Error launching service"),t.error);else{if(t.url.startsWith("/"))return r.componentInstance&&r.componentInstance.close(),n="stop",void this.launchURL(t.url);"https:"===window.location.protocol&&(t.url=t.url.replace("uds://","udss://")),n="enabled",this.doLaunch(t.url)}},t=>{this.api.logout()})}else{const n=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Your connection is being prepared. It will open on a new window when ready."),0,new i.y(i=>{const r=()=>{n.componentInstance&&this.api.transportUrl(e).subscribe(e=>{if(e.url)if(i.next(!0),i.complete(),-1!==e.url.indexOf("o_s_w=")){const t=/(.*)&o_s_w=.*/.exec(e.url);window.location.href=t[1]}else{let n="global";if(-1!==e.url.indexOf("o_n_w=")){const t=/(.*)&o_n_w=([a-zA-Z0-9._-]*)/.exec(e.url);t&&(n=t[2],e.url=t[1])}t.transportsWindow[n]&&t.transportsWindow[n].close(),t.transportsWindow[n]=window.open(e.url,"uds_trans_"+n)}else e.running?window.setTimeout(r,this.delay):(i.next(!0),i.complete(),s(e.error))},t=>{i.next(!0),i.complete(),s(t)})};window.setTimeout(r)}))}}showAlert(t,e,n,i=null){return this.api.gui.alert(django.gettext("Launching service"),'

'+t+'

'+e+"

",n,i)}doLaunch(t){let e=document.getElementById("hiddenUdsLauncherIFrame");if(null===e){const t=document.createElement("div");t.id="testID",t.innerHTML='',document.body.appendChild(t),e=document.getElementById("hiddenUdsLauncherIFrame")}e.contentWindow.location.href=t}}return t.transportsWindow={},t})()},4902:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{G:function(){return LoginComponent}});var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7540),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3018),_angular_forms__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(665),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8295),_translate_directive__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7918),_angular_material_input__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9983),_angular_common__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8583),_angular_material_button__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1095),_angular_material_select__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7441),_angular_material_core__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(2458),_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6498);function LoginComponent_div_22_mat_option_6_Template(t,e){if(1&t&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"mat-option",20),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&t){const t=e.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",t.id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",t.name," ")}}function LoginComponent_div_22_Template(t,e){if(1&t){const t=_angular_core__WEBPACK_IMPORTED_MODULE_1__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(1,"mat-form-field",17),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(2,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"mat-select",18),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("selectionChange",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_1__.CHM(t),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw().changeAuth(e.value)}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()}if(2&t){const t=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",t.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngForOf",t.auths)}}let LoginComponent=(()=>{class LoginComponent{constructor(t){this.api=t,this.title="UDS Enterprise",this.title=t.config.site_name,this.auths=t.config.authenticators.slice(0),this.auths.sort((t,e)=>t.priority-e.priority)}ngOnInit(){document.getElementById("loginform").action=this.api.config.urls.login;const t=document.getElementById("token");t.name=this.api.config.csrf_field,t.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(auth){this.auth.value=auth;const doCustomAuth=data=>{eval(data)};for(const t of this.auths)t.id===auth&&t.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(t.id).subscribe(t=>doCustomAuth(t)))}launch(){return document.getElementById("loginform").submit(),!0}}return LoginComponent.\u0275fac=function(t){return new(t||LoginComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.Y36(_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.n))},LoginComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Xpm({type:LoginComponent,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["appearance","standard"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("ngSubmit",function(){return e.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(1,"input",1),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(2,"input",2),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(4,"div",4),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(9,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(10,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(11,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(12,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(15,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(16,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(17,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(18,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(21,"input",12),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(22,LoginComponent_div_22_Template,7,2,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(23,"div",14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(24,"button",15),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(27,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_1__.ALo(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&t&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("src",e.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LSH),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",e.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngIf",e.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_1__.lcZ(28,4,e.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oJD))},directives:[_angular_forms__WEBPACK_IMPORTED_MODULE_2__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.F,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.hX,_translate_directive__WEBPACK_IMPORTED_MODULE_4__.P,_angular_material_input__WEBPACK_IMPORTED_MODULE_5__.Nt,_angular_common__WEBPACK_IMPORTED_MODULE_6__.O5,_angular_material_button__WEBPACK_IMPORTED_MODULE_7__.lW,_angular_material_select__WEBPACK_IMPORTED_MODULE_8__.gD,_angular_common__WEBPACK_IMPORTED_MODULE_6__.sg,_angular_material_core__WEBPACK_IMPORTED_MODULE_9__.ey],pipes:[_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__.z],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px rgba(0,0,0,.141),0 3px 1px -2px rgba(0,0,0,.122),0 1px 5px rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]}),LoginComponent})()},7918:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var i=n(3018);let s=(()=>{class t{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["uds-translate"]]}),t})()},3513:function(t,e,n){"use strict";n.d(e,{n:function(){return i}});class i{constructor(t){this.user=t.user,this.role=t.role,this.admin=t.admin}get isStaff(){return"staff"===this.role||"admin"===this.role}get isAdmin(){return"admin"===this.role}get isLogged(){return null!=this.user}get isRestricted(){return"restricted"===this.role}}},7540:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{n:function(){return UDSApiService}});var _types_config__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3513),_helpers_plugin__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2870),_environments_environment__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2340),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3018),_angular_common_http__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1841),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3183),_angular_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8741);let UDSApiService=(()=>{class UDSApiService{constructor(t,e,n){this.http=t,this.gui=e,this.router=n,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_1__.n(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_2__.S(this)}get config(){return udsData.config}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(t,e){const n=this.config.urls.enabler.replace("param1",t).replace("param2",e);return this.http.get(n)}status(t,e){const n=this.config.urls.status.replace("param1",t).replace("param2",e);return this.http.get(n)}action(t,e){const n=this.config.urls.action.replace("param1",e).replace("param2",t);return this.http.get(n)}transportUrl(t){return this.http.get(t)}galleryImageURL(t){return this.config.urls.galleryImage.replace("param1",t)}transportIconURL(t){return this.config.urls.transportIcon.replace("param1",t)}staticURL(t){return _environments_environment__WEBPACK_IMPORTED_MODULE_0__.N.production?this.config.urls.static+t:"/static/"+t}getServicesInformation(){return this.http.get(this.config.urls.services)}executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}launchURL(t){this.plugin.launchURL(t)}getAuthCustomHtml(t){return this.http.get(this.config.urls.customAuth+t,{responseType:"text"})}}return UDSApiService.\u0275fac=function(t){return new(t||UDSApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_4__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__.h),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_router__WEBPACK_IMPORTED_MODULE_6__.F0))},UDSApiService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_3__.Yz7({token:UDSApiService,factory:UDSApiService.\u0275fac}),UDSApiService})()},2340:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i={production:!0}},1479:function(t,e,n){"use strict";var i=n(9075),s=n(3018),r=n(9490),o=n(9765),a=n(739),l=n(8071),c=n(7574),u=n(5257),h=n(3653),d=n(4395),p=n(8002),f=n(9761),m=n(6782),g=n(521);let _=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();const y=new Set;let b,v=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):w}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!y.has(t))try{b||(b=document.createElement("style"),b.setAttribute("type","text/css"),document.head.appendChild(b)),b.sheet&&(b.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),y.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(g.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(g.t4))},token:t,providedIn:"root"}),t})();function w(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let C=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new o.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return x((0,r.Eq)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=x((0,r.Eq)(t)).map(t=>this._registerQuery(t).observable);let n=(0,a.aj)(e);return n=(0,l.z)(n.pipe((0,u.q)(1)),n.pipe((0,h.T)(1),(0,d.b)(0))),n.pipe((0,p.U)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new c.y(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe((0,f.O)(e),(0,p.U)(({matches:e})=>({query:t,matches:e})),(0,m.R)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(v),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(v),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})();function x(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var E=n(1841),S=n(8741),k=n(7540);let O=(()=>{class t{constructor(t){this.api=t}canActivate(t,e){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(k.n))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var T=n(4902),A=n(7918),P=n(8583);function I(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",6),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().download(e.url)}),s.TgZ(1,"div",7),s._UZ(2,"img",8),s.qZA(),s.TgZ(3,"div",9),s._uU(4),s.qZA(),s.TgZ(5,"div",10),s._uU(6),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.Tol(n.css(t)),s.xp6(2),s.Q6J("src",n.img(t.name),s.LSH),s.xp6(2),s.lnq(" ",n.legacy(t)," ",t.name," (",t.url.split(".").pop(),") "),s.xp6(2),s.hij(" ",t.description," ")}}let R=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}download(t){window.location.href=t}img(t){return this.api.staticURL("modern/img/"+t+".png")}css(t){const e=["plugin"];return t.legacy&&e.push("legacy"),e}legacy(t){return t.legacy?"Legacy":""}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-client-download"]],decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h1"),s.TgZ(4,"uds-translate"),s._uU(5,"UDS Client"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.YNc(7,I,7,7,"div",4),s.qZA(),s.TgZ(8,"div",5),s.TgZ(9,"ul"),s.TgZ(10,"li"),s.TgZ(11,"uds-translate"),s._uU(12,"Download UDS client for your platform"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(7),s.Q6J("ngForOf",e.api.plugins))},directives:[A.P,P.sg],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.102)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem}"]}),t})();var D=n(6498);function M(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",6),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().download(e.url)}),s.TgZ(1,"div",7),s._UZ(2,"img",8),s.qZA(),s._UZ(3,"div",9),s.ALo(4,"safeHtml"),s._UZ(5,"div",10),s.ALo(6,"safeHtml"),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.Tol(n.css(t.name)),s.xp6(2),s.Q6J("src",n.img(t.name),s.LSH),s.xp6(1),s.Q6J("innerHTML",s.lcZ(4,5,t.name),s.oJD),s.xp6(2),s.Q6J("innerHTML",s.lcZ(6,7,t.description),s.oJD)}}let L=(()=>{class t{constructor(t){this.api=t}ngOnInit(){this.actors=[];const t=[];this.api.actors.forEach(e=>{e.name.includes("legacy")?t.push(e):this.actors.push(e)}),t.forEach(t=>{this.actors.push(t)})}download(t){window.location.href=t}img(t){const e=t.split(".").pop().toLowerCase();let n="Linux";return"exe"===e?n="Windows":"pkg"===e&&(n="MacOS"),this.api.staticURL("modern/img/"+n+".png")}css(t){const e=["actor"];return t.toLowerCase().includes("legacy")&&e.push("legacy"),e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"h1"),s.TgZ(4,"uds-translate"),s._uU(5,"Downloads"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.YNc(7,M,7,9,"div",4),s.qZA(),s.TgZ(8,"div",5),s.TgZ(9,"ul"),s.TgZ(10,"li"),s.TgZ(11,"uds-translate"),s._uU(12,"Always download the UDS actor matching your platform"),s.qZA(),s.qZA(),s.TgZ(13,"li"),s.TgZ(14,"uds-translate"),s._uU(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(7),s.Q6J("ngForOf",e.actors))},directives:[A.P,P.sg],pipes:[D.z],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.102)}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:bold;overflow:hidden}"]}),t})();var F=n(5319),N=n(8345);let B=0;const U=new s.OlP("CdkAccordion");let Z=(()=>{class t{constructor(){this._stateChanges=new o.xQ,this._openCloseAllActions=new o.xQ,this.id="cdk-accordion-"+B++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=(0,r.Ig)(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[s._Bn([{provide:U,useExisting:t}]),s.TTD]}),t})(),j=0,q=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=F.w.EMPTY,this.closed=new s.vpe,this.opened=new s.vpe,this.destroyed=new s.vpe,this.expandedChange=new s.vpe,this.id="cdk-accordion-child-"+j++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=(0,r.Ig)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(U,12),s.Y36(s.sBO),s.Y36(N.A8))},t.\u0275dir=s.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[s._Bn([{provide:U,useValue:void 0}])]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();var H=n(7636),z=n(2458),Y=n(9238),G=n(7519),K=n(5435),$=n(6461),W=n(6237),Q=n(9193),J=n(6682),X=n(7238);const tt=["body"];function et(t,e){}const nt=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],it=["mat-expansion-panel-header","*","mat-action-row"];function st(t,e){if(1&t&&s._UZ(0,"span",2),2&t){const t=s.oxw();s.Q6J("@indicatorRotate",t._getExpandedState())}}const rt=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],ot=["mat-panel-title","mat-panel-description","*"],at=new s.OlP("MAT_ACCORDION"),lt="225ms cubic-bezier(0.4,0.0,0.2,1)",ct={indicatorRotate:(0,X.X$)("indicatorRotate",[(0,X.SB)("collapsed, void",(0,X.oB)({transform:"rotate(0deg)"})),(0,X.SB)("expanded",(0,X.oB)({transform:"rotate(180deg)"})),(0,X.eR)("expanded <=> collapsed, void => collapsed",(0,X.jt)(lt))]),bodyExpansion:(0,X.X$)("bodyExpansion",[(0,X.SB)("collapsed, void",(0,X.oB)({height:"0px",visibility:"hidden"})),(0,X.SB)("expanded",(0,X.oB)({height:"*",visibility:"visible"})),(0,X.eR)("expanded <=> collapsed, void => collapsed",(0,X.jt)(lt))])};let ut=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),ht=0;const dt=new s.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let pt=(()=>{class t extends q{constructor(t,e,n,i,r,a,l){super(t,e,n),this._viewContainerRef=i,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new s.vpe,this.afterCollapse=new s.vpe,this._inputChanges=new o.xQ,this._headerId="mat-expansion-panel-header-"+ht++,this._bodyAnimationDone=new o.xQ,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe((0,G.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=(0,r.Ig)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe((0,f.O)(null),(0,K.h)(()=>this.expanded&&!this._portal),(0,u.q)(1)).subscribe(()=>{this._portal=new H.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(at,12),s.Y36(s.sBO),s.Y36(N.A8),s.Y36(s.s_b),s.Y36(P.K0),s.Y36(W.Qb,8),s.Y36(dt,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,ut,5),2&t){let t;s.iGM(t=s.CRH())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&s.Gf(tt,5),2&t){let t;s.iGM(t=s.CRH())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&s.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[s._Bn([{provide:at,useValue:void 0}]),s.qOj,s.TTD],ngContentSelectors:it,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(s.F$t(nt),s.Hsn(0),s.TgZ(1,"div",0,1),s.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),s.TgZ(3,"div",2),s.Hsn(4,1),s.YNc(5,et,0,0,"ng-template",3),s.qZA(),s.Hsn(6,2),s.qZA()),2&t&&(s.xp6(1),s.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),s.uIk("aria-labelledby",e._headerId),s.xp6(4),s.Q6J("cdkPortalOutlet",e._portal))},directives:[H.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ct.bodyExpansion]},changeDetection:0}),t})();class ft{}const mt=(0,z.sb)(ft);let gt=(()=>{class t extends mt{constructor(t,e,n,i,s,r,o){super(),this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._animationMode=r,this._parentChangeSubscription=F.w.EMPTY;const a=t.accordion?t.accordion._stateChanges.pipe((0,K.h)(t=>!(!t.hideToggle&&!t.togglePosition))):Q.E;this.tabIndex=parseInt(o||"")||0,this._parentChangeSubscription=(0,J.T)(t.opened,t.closed,a,t._inputChanges.pipe((0,K.h)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe((0,K.h)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case $.L_:case $.K5:(0,$.Vb)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(pt,1),s.Y36(s.SBq),s.Y36(Y.tE),s.Y36(s.sBO),s.Y36(dt,8),s.Y36(W.Qb,8),s.$8M("tabindex"))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(s.uIk("id",e.panel._headerId)("tabindex",e.tabIndex)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),s.Udp("height",e._getHeaderHeight()),s.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[s.qOj],ngContentSelectors:ot,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(s.F$t(rt),s.TgZ(0,"span",0),s.Hsn(1),s.Hsn(2,1),s.Hsn(3,2),s.qZA(),s.YNc(4,st,1,1,"span",1)),2&t&&(s.xp6(4),s.Q6J("ngIf",e._showToggle()))},directives:[P.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}\n'],encapsulation:2,data:{animation:[ct.indicatorRotate]},changeDetection:0}),t})(),_t=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),yt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),bt=(()=>{class t extends Z{constructor(){super(...arguments),this._ownHeaders=new s.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=(0,r.Ig)(t)}ngAfterContentInit(){this._headers.changes.pipe((0,f.O)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Y.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,gt,5),2&t){let t;s.iGM(t=s.CRH())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[s._Bn([{provide:at,useExisting:t}]),s.qOj]}),t})(),vt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[P.ez,z.BQ,V,H.eL]]}),t})();function wt(t,e){if(1&t&&(s.TgZ(0,"li"),s.TgZ(1,"uds-translate"),s._uU(2,"Detected proxy ip"),s.qZA(),s._uU(3),s.qZA()),2&t){const t=s.oxw(2);s.xp6(3),s.hij(": ",t.api.staffInfo.ip_proxy,"")}}function Ct(t,e){if(1&t&&(s.TgZ(0,"li"),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t)}}function xt(t,e){if(1&t&&(s.TgZ(0,"span"),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t)}}function Et(t,e){if(1&t&&(s.TgZ(0,"div",1),s.TgZ(1,"h1"),s.TgZ(2,"uds-translate"),s._uU(3,"Information"),s.qZA(),s.qZA(),s.TgZ(4,"mat-accordion"),s.TgZ(5,"mat-expansion-panel"),s.TgZ(6,"mat-expansion-panel-header",2),s.TgZ(7,"mat-panel-title"),s._uU(8," IPs "),s.qZA(),s.TgZ(9,"mat-panel-description"),s.TgZ(10,"uds-translate"),s._uU(11,"Client IP"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(12,"ol"),s.TgZ(13,"li"),s.TgZ(14,"uds-translate"),s._uU(15,"Client IP"),s.qZA(),s._uU(16),s.qZA(),s.YNc(17,wt,4,1,"li",3),s.qZA(),s.qZA(),s.TgZ(18,"mat-expansion-panel"),s.TgZ(19,"mat-expansion-panel-header",2),s.TgZ(20,"mat-panel-title"),s.TgZ(21,"uds-translate"),s._uU(22,"Transports"),s.qZA(),s.qZA(),s.TgZ(23,"mat-panel-description"),s.TgZ(24,"uds-translate"),s._uU(25,"UDS transports for this client"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(26,"ol"),s.YNc(27,Ct,2,1,"li",4),s.qZA(),s.qZA(),s.TgZ(28,"mat-expansion-panel"),s.TgZ(29,"mat-expansion-panel-header",2),s.TgZ(30,"mat-panel-title"),s.TgZ(31,"uds-translate"),s._uU(32,"Networks"),s.qZA(),s.qZA(),s.TgZ(33,"mat-panel-description"),s.TgZ(34,"uds-translate"),s._uU(35,"UDS networks for this IP"),s.qZA(),s.qZA(),s.qZA(),s.YNc(36,xt,2,1,"span",4),s._uU(37,"\xa0 "),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(16),s.hij(": ",t.api.staffInfo.ip,""),s.xp6(1),s.Q6J("ngIf",t.api.staffInfo.ip_proxy!==t.api.staffInfo.ip),s.xp6(10),s.Q6J("ngForOf",t.api.staffInfo.transports),s.xp6(9),s.Q6J("ngForOf",t.api.staffInfo.networks)}}let St=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(t,e){1&t&&s.YNc(0,Et,38,4,"div",0),2&t&&s.Q6J("ngIf",e.api.staffInfo)},directives:[P.O5,A.P,bt,pt,gt,yt,_t,P.sg],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4}"]}),t})();var kt=n(2759),Ot=n(3342),Tt=n(8295),At=n(9983);const Pt=["input"];let It=(()=>{class t{constructor(){this.updateEvent=new s.vpe}ngAfterViewInit(){(0,kt.R)(this.input.nativeElement,"keyup").pipe((0,K.h)(Boolean),(0,d.b)(600),(0,G.x)(),(0,Ot.b)(()=>this.update(this.input.nativeElement.value))).subscribe()}update(t){this.updateEvent.emit(t.toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-filter"]],viewQuery:function(t,e){if(1&t&&s.Gf(Pt,7),2&t){let t;s.iGM(t=s.CRH())&&(e.input=t.first)}},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"mat-form-field",1),s.TgZ(2,"mat-label"),s.TgZ(3,"uds-translate"),s._uU(4,"Filter"),s.qZA(),s.qZA(),s._UZ(5,"input",2,3),s.TgZ(7,"i",4),s._uU(8,"search"),s.qZA(),s.qZA(),s.qZA())},directives:[Tt.KE,Tt.hX,A.P,At.Nt,Tt.R9],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]}),t})();var Rt=n(5917),Dt=n(4581),Mt=n(3190),Lt=n(3637),Ft=n(7393),Nt=n(1593);function Bt(t,e=Lt.P){const n=function(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-e.now():Math.abs(t);return t=>t.lift(new Ut(n,e))}class Ut{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new Zt(t,this.delay,this.scheduler))}}class Zt extends Ft.L{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,s=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(Zt.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new jt(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(Nt.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(Nt.P.createComplete()),this.unsubscribe()}}class jt{constructor(t,e){this.time=t,this.notification=e}}var qt=n(625),Vt=n(9243),Ht=n(946);const zt=["mat-menu-item",""];function Yt(t,e){1&t&&(s.O4$(),s.TgZ(0,"svg",2),s._UZ(1,"polygon",3),s.qZA())}const Gt=["*"];function Kt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",0),s.NdJ("keydown",function(e){return s.CHM(t),s.oxw()._handleKeydown(e)})("click",function(){return s.CHM(t),s.oxw().closed.emit("click")})("@transformMenu.start",function(e){return s.CHM(t),s.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return s.CHM(t),s.oxw()._onAnimationDone(e)}),s.TgZ(1,"div",1),s.Hsn(2),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),s.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const $t={transformMenu:(0,X.X$)("transformMenu",[(0,X.SB)("void",(0,X.oB)({opacity:0,transform:"scale(0.8)"})),(0,X.eR)("void => enter",(0,X.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,X.oB)({opacity:1,transform:"scale(1)"}))),(0,X.eR)("* => void",(0,X.jt)("100ms 25ms linear",(0,X.oB)({opacity:0})))]),fadeInItems:(0,X.X$)("fadeInItems",[(0,X.SB)("showing",(0,X.oB)({opacity:1})),(0,X.eR)("void => *",[(0,X.oB)({opacity:0}),(0,X.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Wt=new s.OlP("MatMenuContent"),Qt=new s.OlP("MAT_MENU_PANEL"),Jt=(0,z.Kr)((0,z.Id)(class{}));let Xt=(()=>{class t extends Jt{constructor(t,e,n,i,s){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this._changeDetectorRef=s,this.role="menuitem",this._hovered=new o.xQ,this._focused=new o.xQ,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new s.n_E,this._tabSubscription=F.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new o.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new s.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+ee++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,r.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,r.Ig)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Y.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,f.O)(this._directDescendantItems),(0,Mt.w)(t=>(0,J.T)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,f.O)(this._directDescendantItems),(0,Mt.w)(t=>(0,J.T)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case $.hY:(0,$.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case $.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case $.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(e===$.LH||e===$.JH)&&n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,u.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=Math.min(this._baseElevation+t,24),n=`${this._elevationPrefix}${e}`,i=Object.keys(this._classList).find(t=>t.startsWith(this._elevationPrefix));(!i||i===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,f.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(te))},t.\u0275dir=s.lG2({type:t,contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,Wt,5),s.Suo(n,Xt,5),s.Suo(n,Xt,4)),2&t){let t;s.iGM(t=s.CRH())&&(e.lazyContent=t.first),s.iGM(t=s.CRH())&&(e._allItems=t),s.iGM(t=s.CRH())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&s.Gf(s.Rgc,5),2&t){let t;s.iGM(t=s.CRH())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),ie=(()=>{class t extends ne{constructor(t,e,n){super(t,e,n),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(te))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&s.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[s._Bn([{provide:Qt,useExisting:t}]),s.qOj],ngContentSelectors:Gt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(s.F$t(),s.YNc(0,Kt,3,6,"ng-template"))},directives:[P.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[$t.transformMenu,$t.fadeInItems]},changeDetection:0}),t})();const se=new s.OlP("mat-menu-scroll-strategy"),re={provide:se,deps:[qt.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},oe=(0,g.i$)({passive:!0});let ae=(()=>{class t{constructor(t,e,n,i,r,o,a,l){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=o,this._dir=a,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=F.w.EMPTY,this._hoverSubscription=F.w.EMPTY,this._menuCloseSubscription=F.w.EMPTY,this._handleTouchStart=t=>{(0,Y.yG)(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new s.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new s.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=r instanceof ne?r:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,oe),o&&(o._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,oe),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof ne&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,e instanceof ne?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe((0,K.h)(t=>"void"===t.toState),(0,u.q)(1),(0,m.R)(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new qt.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[i,s],[a,l]=[e,n],c=0;this.triggersSubmenu()?(l=e="before"===this.menu.xPosition?"start":"end",n=a="end"===e?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(r="top"===i?"bottom":"top",o="top"===s?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:a,overlayY:i,offsetY:c},{originX:n,originY:r,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:o,overlayX:a,overlayY:s,offsetY:-c},{originX:n,originY:o,overlayX:l,overlayY:s,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Rt.of)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,K.h)(t=>t!==this._menuItemInstance),(0,K.h)(()=>this._menuOpen)):(0,Rt.of)();return(0,J.T)(t,n,i,e)}_handleMousedown(t){(0,Y.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;(e===$.K5||e===$.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===$.SV&&"ltr"===this.dir||e===$.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,K.h)(t=>t===this._menuItemInstance&&!t.disabled),Bt(0,Dt.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ne&&this.menu._isAnimating?this.menu._animationDone.pipe((0,u.q)(1),Bt(0,Dt.E),(0,m.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new H.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(qt.aV),s.Y36(s.SBq),s.Y36(s.s_b),s.Y36(se),s.Y36(Qt,8),s.Y36(Xt,10),s.Y36(Ht.Is,8),s.Y36(Y.tE))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&s.uIk("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),le=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[re],imports:[z.BQ]}),t})(),ce=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[re],imports:[[P.ez,z.BQ,z.si,qt.U8,le],Vt.ZD,z.BQ,le]}),t})();const ue={tooltipState:(0,X.X$)("state",[(0,X.SB)("initial, void, hidden",(0,X.oB)({opacity:0,transform:"scale(0)"})),(0,X.SB)("visible",(0,X.oB)({transform:"scale(1)"})),(0,X.eR)("* => visible",(0,X.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,X.F4)([(0,X.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,X.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,X.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,X.eR)("* => hidden",(0,X.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,X.oB)({opacity:0})))])},he="tooltip-panel",de=(0,g.i$)({passive:!0}),pe=new s.OlP("mat-tooltip-scroll-strategy"),fe={provide:pe,deps:[qt.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},me=new s.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let ge=(()=>{class t{constructor(t,e,n,i,s,r,a,l,c,u,h,d){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=s,this._platform=r,this._ariaDescriber=a,this._focusMonitor=l,this._dir=u,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new o.xQ,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===$.hY&&!(0,$.Vb)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=c,this._document=d,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),u.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,m.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new H.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return e.positionChanges.pipe((0,m.R)(this._destroyed)).subscribe(t=>{this._updateCurrentPositionClass(t.connectionPair),this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-${he}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,m.R)(this._destroyed)).subscribe(()=>{var t;return null===(t=this._tooltipInstance)||void 0===t?void 0:t._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const e=t.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e||"below"==e?n={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={originX:"end",originY:"center"});const{x:i,y:s}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e?n={overlayX:"center",overlayY:"bottom"}:"below"==e?n={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:s}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,u.q)(1),(0,m.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){const{overlayY:e,originX:n,originY:i}=t;let s;if(s="center"===e?this._dir&&"rtl"===this._dir.value?"end"===n?"left":"right":"start"===n?"left":"right":"bottom"===e&&"top"===i?"above":"below",s!==this._currentPosition){const t=this._overlayRef;if(t){const e=`${this._cssClassPrefix}-${he}-`;t.removePanelClass(e+this._currentPosition),t.addPanelClass(e+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=this._document.elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e!==n&&!n.contains(e)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),("on"===t||!e.draggable)&&(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(qt.aV),s.Y36(s.SBq),s.Y36(Vt.mF),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(g.t4),s.Y36(Y.$s),s.Y36(Y.tE),s.Y36(void 0),s.Y36(Ht.Is),s.Y36(void 0),s.Y36(P.K0))},t.\u0275dir=s.lG2({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),_e=(()=>{class t extends ge{constructor(t,e,n,i,s,r,o,a,l,c,u,h){super(t,e,n,i,s,r,o,a,l,c,u,h),this._tooltipComponent=be}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(qt.aV),s.Y36(s.SBq),s.Y36(Vt.mF),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(g.t4),s.Y36(Y.$s),s.Y36(Y.tE),s.Y36(pe),s.Y36(Ht.Is,8),s.Y36(me,8),s.Y36(P.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[s.qOj]}),t})(),ye=(()=>{class t{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new o.xQ}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"===e&&!this.isVisible()&&this._onHide.next(),("visible"===e||"hidden"===e)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t}),t})(),be=(()=>{class t extends ye{constructor(t,e){super(t),this._breakpointObserver=e,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36(C))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){2&t&&s.Udp("zoom","visible"===e._visibility?1:null)},features:[s.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(s.TgZ(0,"div",0),s.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),s.ALo(1,"async"),s._uU(2),s.qZA()),2&t){let t;s.ekj("mat-tooltip-handset",null==(t=s.lcZ(1,5,e._isHandset))?null:t.matches),s.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),s.xp6(2),s.Oqu(e.message)}},directives:[P.mk],pipes:[P.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[ue.tooltipState]},changeDetection:0}),t})(),ve=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[fe],imports:[[Y.rt,P.ez,qt.U8,z.BQ],z.BQ,Vt.ZD]}),t})();var we=n(1095);function Ce(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(2).launch(e)}),s.TgZ(1,"div",15),s._UZ(2,"img",9),s._uU(3),s.qZA(),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw(2);s.xp6(2),s.Q6J("src",n.getTransportIcon(t.id),s.LSH),s.xp6(1),s.hij(" ",t.name," ")}}function xe(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).action("release")}),s.TgZ(1,"i",16),s._uU(2,"delete"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4," Release service"),s.qZA(),s.qZA()}}function Ee(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",14),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).action("reset")}),s.TgZ(1,"i",16),s._uU(2,"refresh"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4," Reset service"),s.qZA(),s.qZA()}}function Se(t,e){if(1&t&&(s.TgZ(0,"button",17),s.TgZ(1,"uds-translate"),s._uU(2,"Connections"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(2);s.Q6J("matMenuTriggerFor",t)}}function ke(t,e){if(1&t&&(s.TgZ(0,"button",17),s.TgZ(1,"uds-translate"),s._uU(2,"Actions"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(5);s.Q6J("matMenuTriggerFor",t)}}function Oe(t,e){if(1&t&&(s.TgZ(0,"button",18),s.TgZ(1,"i",16),s._uU(2,"menu"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(9);s.Q6J("matMenuTriggerFor",t)}}function Te(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div"),s.TgZ(1,"mat-menu",null,1),s.YNc(3,Ce,4,2,"button",2),s.qZA(),s.TgZ(4,"mat-menu",null,3),s.YNc(6,xe,5,0,"button",4),s.YNc(7,Ee,5,0,"button",4),s.qZA(),s.TgZ(8,"mat-menu",null,5),s.YNc(10,Se,3,1,"button",6),s.YNc(11,ke,3,1,"button",6),s.qZA(),s.TgZ(12,"div",7),s.TgZ(13,"div",8),s.NdJ("click",function(){return s.CHM(t),s.oxw().launch(null)}),s._UZ(14,"img",9),s.qZA(),s.TgZ(15,"div",10),s.TgZ(16,"span",11),s._uU(17),s.qZA(),s.qZA(),s.TgZ(18,"div",12),s.YNc(19,Oe,3,1,"button",13),s.qZA(),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.xp6(3),s.Q6J("ngForOf",t.service.transports),s.xp6(3),s.Q6J("ngIf",t.service.allow_users_remove),s.xp6(1),s.Q6J("ngIf",t.service.allow_users_reset),s.xp6(3),s.Q6J("ngIf",t.showTransportsMenu()),s.xp6(1),s.Q6J("ngIf",t.hasActions()),s.xp6(1),s.Q6J("ngClass",t.serviceClass)("matTooltipDisabled",""===t.serviceTooltip)("matTooltip",t.serviceTooltip),s.xp6(2),s.Q6J("src",t.serviceImage,s.LSH),s.xp6(2),s.Q6J("ngClass",t.serviceNameClass),s.xp6(1),s.Oqu(t.serviceName),s.xp6(2),s.Q6J("ngIf",t.hasMenu())}}let Ae=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let t=this.service.visual_name;return t.length>32&&(t=t.substring(0,29)+"..."),t}get serviceTooltip(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){const t=["service"];return null!=this.service.to_be_replaced?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t}get serviceNameClass(){const t=[],e=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return e>=16&&t.push("small-"+e.toString()),t}getTransportIcon(t){return this.api.transportIconURL(t)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(t){this.api.gui.alert('

'+django.gettext("Launcher")+"

",t)}launch(t){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){const t=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+t+'

')}else(null===t||!1===this.service.show_transports)&&(t=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(t.link)}action(t){const e=("release"===t?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,n="release"===t?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(e,django.gettext("Are you sure?")).subscribe(i=>{i&&this.api.action(t,this.service.id).subscribe(t=>{t&&this.api.gui.alert(e,n)})})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(t,e){1&t&&s.YNc(0,Te,20,12,"div",0),2&t&&s.Q6J("ngIf",e.service.transports.length>0)},directives:[P.O5,ie,P.sg,P.mk,_e,Xt,A.P,ae,we.lW],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;box-shadow:0 12px 18px rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:rgba(0,0,0,.22);display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;border-radius:1px;background-color:rgba(255,255,255,.8)}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:"Material Icons";font-weight:normal;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"}']}),t})();function Pe(t,e){1&t&&s._UZ(0,"uds-service",8),2&t&&s.Q6J("service",e.$implicit)}function Ie(t,e){if(1&t&&(s.TgZ(0,"mat-expansion-panel",1),s.TgZ(1,"mat-expansion-panel-header",2),s.TgZ(2,"mat-panel-title"),s.TgZ(3,"div",3),s._UZ(4,"img",4),s._uU(5),s.qZA(),s.qZA(),s.TgZ(6,"mat-panel-description",5),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"div",6),s.YNc(9,Pe,1,1,"uds-service",7),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.Q6J("expanded",t.expanded),s.xp6(1),s.Q6J("collapsedHeight","3rem")("expandedHeight","5rem"),s.xp6(3),s.Q6J("src",t.groupImage,s.LSH),s.xp6(1),s.hij(" ",t.group.name,""),s.xp6(2),s.hij(" ",t.group.comments," "),s.xp6(2),s.Q6J("ngForOf",t.sortedServices)}}let Re=(()=>{class t{constructor(t){this.api=t,this.expanded=!1}ngOnInit(){}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((t,e)=>t.name>e.name?1:t.name{class t{constructor(t){this.api=t,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""}}update(t){this.updateServices(t)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&1===this.servicesInformation.services.length){if(!this.servicesInformation.services[0].maintenance)return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"))}return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().subscribe(t=>{this.servicesInformation=t,this.autorun(),this.updateServices()})}updateServices(t=""){this.group=[];let e=null;this.servicesInformation.services.filter(e=>!t||e.visual_name.toLowerCase().includes(t)||e.group.name.toLowerCase().includes(t)).sort((t,e)=>t.group.priority!==e.group.priority?t.group.priority-e.group.priority:t.group.id>e.group.id?1:t.group.id{(null===e||t.group.id!==e.group.id)&&(null!==e&&this.group.push(e),e=new Fe(t.group)),e.services.push(t)}),null!==e&&this.group.push(e)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-services-page"]],decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(t,e){1&t&&(s.YNc(0,De,1,0,"uds-filter",0),s.TgZ(1,"div",1),s.TgZ(2,"mat-accordion"),s.YNc(3,Me,1,3,"uds-services-group",2),s.qZA(),s.qZA(),s.YNc(4,Le,1,0,"uds-filter",0),s._UZ(5,"uds-staff-info")),2&t&&(s.Q6J("ngIf",e.servicesInformation.services.length>=e.api.config.min_for_filter&&e.api.config.site_filter_on_top),s.xp6(3),s.Q6J("ngForOf",e.group),s.xp6(1),s.Q6J("ngIf",e.servicesInformation.services.length>=e.api.config.min_for_filter&&!e.api.config.site_filter_on_top))},directives:[P.O5,bt,P.sg,St,It,Re],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]}),t})(),canActivate:[O]},{path:"login",component:T.G},{path:"login/:id",component:T.G},{path:"client-download",component:R},{path:"downloads",component:L,canActivate:[O]},{path:"error/:id",component:(()=>{class t{constructor(t){this.route=t,this.error=[""]}ngOnInit(){this.getError()}getError(){const t=this.route.snapshot.paramMap.get("id");try{const e=(new TextDecoder).decode(Uint8Array.from(window.atob(t),t=>t.charCodeAt(t))).replace("<","<").replace(">",">");this.error=e.split("\n"),console.log(this.error),udsData.error=this.error}catch(e){console.log(e),this.error=[django.gettext("Invalid error string")]}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(S.gz))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-error"]],decls:14,vars:1,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],[3,"innerHTML",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn","routerLink","/"],[3,"innerHTML"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.O4$(),s.TgZ(2,"svg",2),s._UZ(3,"path",3),s.qZA(),s.TgZ(4,"svg",4),s._UZ(5,"path",5),s.qZA(),s.qZA(),s.kcU(),s.TgZ(6,"h1",6),s.TgZ(7,"uds-translate"),s._uU(8,"An error has occurred"),s.qZA(),s.qZA(),s.TgZ(9,"p",7),s.YNc(10,Ne,1,1,"span",8),s.qZA(),s.TgZ(11,"a",9),s.TgZ(12,"uds-translate"),s._uU(13,"Return"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(10),s.Q6J("ngForOf",e.error))},directives:[A.P,P.sg,we.zs,S.yS],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:CogAnimation 5s infinite;animation:CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]}),t})()},{path:"about",component:(()=>{class t{constructor(t){this.api=t,this.year=(new Date).getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-about"]],decls:45,vars:3,consts:[[1,"about"],["href","http://www.udsenterprise.com","target","_blank"],["href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["href","https://www.python.org/"],["href","https://www.typescriptlang.org/","target","_blank"],["href","https://www.djangoproject.com/","target","_blank"],["href","https://angular.io","target","_blank"],["href","https://guac-dev.org/","target","_blank"],["href","https://weasyprint.org/","target","_blank"],["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"h1"),s._uU(2),s.qZA(),s.TgZ(3,"h3"),s.TgZ(4,"a",1),s._uU(5),s.qZA(),s.qZA(),s.TgZ(6,"h4"),s.TgZ(7,"uds-translate"),s._uU(8,"You can access UDS Open Source code at"),s.qZA(),s.TgZ(9,"a",2),s._uU(10,"OpenUDS github repository"),s.qZA(),s.qZA(),s.TgZ(11,"div",3),s.TgZ(12,"h2"),s.TgZ(13,"uds-translate"),s._uU(14,"UDS has been developed using these components:"),s.qZA(),s.qZA(),s.TgZ(15,"ul"),s.TgZ(16,"li"),s.TgZ(17,"a",4),s._uU(18,"Python"),s.qZA(),s.qZA(),s.TgZ(19,"li"),s.TgZ(20,"a",5),s._uU(21,"TypeScript"),s.qZA(),s.qZA(),s.TgZ(22,"li"),s.TgZ(23,"a",6),s._uU(24,"Django"),s.qZA(),s.qZA(),s.TgZ(25,"li"),s.TgZ(26,"a",7),s._uU(27,"Angular"),s.qZA(),s.qZA(),s.TgZ(28,"li"),s.TgZ(29,"a",8),s._uU(30,"Guacamole"),s.qZA(),s.qZA(),s.TgZ(31,"li"),s.TgZ(32,"a",9),s._uU(33,"weasyprint"),s.qZA(),s.qZA(),s.TgZ(34,"li"),s.TgZ(35,"a",10),s._uU(36,"Crystal project icons"),s.qZA(),s.qZA(),s.TgZ(37,"li"),s.TgZ(38,"a",11),s._uU(39,"Flattr Icons"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(40,"p"),s.TgZ(41,"small"),s._uU(42,"* "),s.TgZ(43,"uds-translate"),s._uU(44,"If you find that we missed any component, please let us know"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.AsE("Universal Desktop Services ",e.api.config.version," build ",e.api.config.version_stamp,""),s.xp6(3),s.hij(" \xa9 2012-",e.year," Virtual Cable S.L.U."))},directives:[A.P],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:normal}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]}),t})()},{path:"ticket/launcher",component:(()=>{class t{constructor(t){this.api=t}ngOnInit(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"h1"),s.TgZ(3,"uds-translate"),s._uU(4,"UDS Service launcher"),s.qZA(),s.qZA(),s.TgZ(5,"h4"),s.TgZ(6,"uds-translate"),s._uU(7,"The service you have requested is being launched."),s.qZA(),s.qZA(),s.TgZ(8,"h5"),s.TgZ(9,"uds-translate"),s._uU(10,"Please, note that reloading this page will not work."),s.qZA(),s.qZA(),s.TgZ(11,"h5"),s.TgZ(12,"uds-translate"),s._uU(13,"To relaunch service, you will have to do it from origin."),s.qZA(),s.qZA(),s.TgZ(14,"h6"),s.TgZ(15,"uds-translate"),s._uU(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),s.qZA(),s.qZA(),s.TgZ(17,"h6"),s.TgZ(18,"uds-translate"),s._uU(19,"You can obtain it from the"),s.qZA(),s._uU(20,"\xa0"),s.TgZ(21,"a",2),s.TgZ(22,"uds-translate"),s._uU(23,"UDS Client download page"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA())},directives:[A.P,S.yS],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:rgba(0,0,0,.22);padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:normal}"]}),t})()},{path:"**",redirectTo:"services"}];let Ue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[S.Bz.forRoot(Be,{relativeLinkResolution:"legacy"})],S.Bz]}),t})();var Ze=n(665),je=n(8553);let qe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),Ve=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[z.si,z.BQ,je.Q8,qe],z.BQ,qe]}),t})();var He=n(2238),ze=n(7441);const Ye=["*",[["mat-toolbar-row"]]],Ge=["*","mat-toolbar-row"],Ke=(0,z.pj)(class{constructor(t){this._elementRef=t}});let $e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),We=(()=>{class t extends Ke{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(g.t4),s.Y36(P.K0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,$e,5),2&t){let t;s.iGM(t=s.CRH())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[s.qOj],ngContentSelectors:Ge,decls:2,vars:0,template:function(t,e){1&t&&(s.F$t(Ye),s.Hsn(0),s.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),t})(),Qe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[z.BQ],z.BQ]}),t})(),Je=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:Tt.o2,useValue:{floatLabel:"always"}}],imports:[Ze.u5,Qe,we.ot,ce,ve,vt,He.Is,Tt.lN,At.c,ze.LD,Ve]}),t})();function Xe(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw(2).changeLang(e)}),s._uU(1),s.qZA()}if(2&t){const t=e.$implicit;s.xp6(1),s.Oqu(t.name)}}function tn(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw(2).admin()}),s.TgZ(1,"i",23),s._uU(2,"dashboard"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4,"Dashboard"),s.qZA(),s.qZA()}}function en(t,e){1&t&&(s.TgZ(0,"button",28),s.TgZ(1,"i",23),s._uU(2,"file_download"),s.qZA(),s.TgZ(3,"uds-translate"),s._uU(4,"Downloads"),s.qZA(),s.qZA())}function nn(t,e){if(1&t&&(s.TgZ(0,"button",14),s._uU(1),s.qZA()),2&t){s.oxw();const t=s.MAs(8),e=s.oxw();s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.Oqu(e.api.user.user)}}function sn(t,e){if(1&t&&(s.TgZ(0,"button",25),s._uU(1),s.TgZ(2,"i",23),s._uU(3,"arrow_drop_down"),s.qZA(),s.qZA()),2&t){s.oxw();const t=s.MAs(8),e=s.oxw();s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.hij("",e.api.user.user," ")}}function rn(t,e){if(1&t){const t=s.EpF();s.ynx(0),s.TgZ(1,"form",1),s._UZ(2,"input",2),s._UZ(3,"input",3),s.qZA(),s.TgZ(4,"mat-menu",null,4),s.YNc(6,Xe,2,1,"button",5),s.qZA(),s.TgZ(7,"mat-menu",null,6),s.YNc(9,tn,5,0,"button",7),s.YNc(10,en,5,0,"button",8),s.TgZ(11,"button",9),s.NdJ("click",function(){return s.CHM(t),s.oxw().logout()}),s.TgZ(12,"i",10),s._uU(13,"exit_to_app"),s.qZA(),s.TgZ(14,"uds-translate"),s._uU(15,"Logout"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(16,"mat-menu",11,12),s.YNc(18,nn,2,2,"button",13),s.TgZ(19,"button",14),s._uU(20),s.qZA(),s.TgZ(21,"button",15),s.TgZ(22,"uds-translate"),s._uU(23,"UDS Client"),s.qZA(),s.qZA(),s.TgZ(24,"button",16),s.TgZ(25,"uds-translate"),s._uU(26,"About"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(27,"mat-toolbar",17),s.TgZ(28,"button",18),s._UZ(29,"img",19),s._uU(30),s.qZA(),s._UZ(31,"span",20),s.TgZ(32,"div",21),s.TgZ(33,"button",22),s.TgZ(34,"i",23),s._uU(35,"file_download"),s.qZA(),s.TgZ(36,"uds-translate"),s._uU(37,"UDS Client"),s.qZA(),s.qZA(),s.TgZ(38,"button",24),s.TgZ(39,"i",23),s._uU(40,"info"),s.qZA(),s.TgZ(41,"uds-translate"),s._uU(42,"About"),s.qZA(),s.qZA(),s.TgZ(43,"button",25),s._uU(44),s.TgZ(45,"i",23),s._uU(46,"arrow_drop_down"),s.qZA(),s.qZA(),s.YNc(47,sn,4,2,"button",26),s.qZA(),s.TgZ(48,"div",27),s.TgZ(49,"button",25),s.TgZ(50,"i",23),s._uU(51,"menu"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.BQk()}if(2&t){const t=s.MAs(5),e=s.MAs(17),n=s.oxw();s.xp6(1),s.s9C("action",n.api.config.urls.changeLang,s.LSH),s.xp6(1),s.s9C("name",n.api.config.csrf_field),s.s9C("value",n.api.config.csrf),s.xp6(1),s.s9C("value",n.lang.id),s.xp6(3),s.Q6J("ngForOf",n.langs),s.xp6(3),s.Q6J("ngIf",n.api.user.isStaff),s.xp6(1),s.Q6J("ngIf",n.api.user.isStaff),s.xp6(8),s.Q6J("ngIf",n.api.user.isLogged),s.xp6(1),s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.hij("",n.lang.name," "),s.xp6(9),s.Q6J("src",n.api.staticURL("modern/img/udsicon.png"),s.LSH),s.xp6(1),s.hij(" ",n.api.config.site_logo_name," "),s.xp6(13),s.Q6J("matMenuTriggerFor",t),s.xp6(1),s.hij("",n.lang.name," "),s.xp6(3),s.Q6J("ngIf",n.api.user.isLogged),s.xp6(2),s.Q6J("matMenuTriggerFor",e)}}let on=(()=>{class t{constructor(t){this.api=t,this.style="";const e=t.config.language;this.langs=[];for(const n of t.config.available_languages)n.id===e?this.lang=n:this.langs.push(n)}ngOnInit(){}changeLang(t){return this.lang=t,document.getElementById("id_language").attributes.value.value=t.id,document.getElementById("form_language").submit(),!1}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(t,e){1&t&&s.YNc(0,rn,52,16,"ng-container",0),2&t&&s.Q6J("ngIf",""==e.api.config.urls.launch)},directives:[P.O5,Ze._Y,Ze.JL,Ze.F,ie,P.sg,Xt,A.P,ae,S.rH,We,we.lW],styles:[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]}),t})(),an=(()=>{class t{constructor(t){this.api=t}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k.n))},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.TgZ(1,"a",0),s._uU(2),s.qZA(),s.qZA()),2&t&&(s.xp6(1),s.Q6J("href",e.api.config.site_copyright_link,s.LSH),s.xp6(1),s.Oqu(e.api.config.site_copyright_info))},styles:[""]}),t})(),ln=(()=>{class t{constructor(){this.title="uds"}ngOnInit(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["uds-root"]],decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(t,e){1&t&&(s._UZ(0,"uds-navbar"),s.TgZ(1,"div",0),s.TgZ(2,"div",1),s._UZ(3,"router-outlet"),s.qZA(),s.TgZ(4,"div",2),s._UZ(5,"uds-footer"),s.qZA(),s.qZA())},directives:[on,S.lC,an],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width: 744px){.content[_ngcontent-%COMP%]{width:100%}}"]}),t})();var cn=n(3183);let un=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t,bootstrap:[ln]}),t.\u0275inj=s.cJS({providers:[k.n,cn.h],imports:[[i.b2,_,E.JF,Ue,W.PW,Je]]}),t})();n(2340).N.production&&(0,s.G48)(),i.q6().bootstrapModule(un).catch(t=>console.log(t))}},function(t){t(t.s=1479)}]); \ No newline at end of file diff --git a/server/src/uds/static/modern/main-es5.js b/server/src/uds/static/modern/main-es5.js deleted file mode 100644 index 3debd326..00000000 --- a/server/src/uds/static/modern/main-es5.js +++ /dev/null @@ -1 +0,0 @@ -(function(){function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,e)})(e)}function _construct(e,t,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&_setPrototypeOf(r,n.prototype),r}).apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function l(e){return{type:6,styles:e,offset:null}}function c(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e){return{type:5,steps:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function v(e){Promise.resolve(null).then(e)}var _=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;v(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),m=function(){function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,r=0,o=0,a=this.players.length;0==a?v(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++i==a&&n._onFinish()}),e.onDestroy(function(){++r==a&&n._onDestroy()}),e.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),g="!"},9238:function(e,t,n){"use strict";n.d(t,{rt:function(){return ne},s1:function(){return D},$s:function(){return T},Em:function(){return M},tE:function(){return J},qV:function(){return U},qm:function(){return te},Kd:function(){return K},X6:function(){return j},yG:function(){return Z}});var i=n(8583),r=n(3018),o=n(9765),a=n(5319),s=n(6215),u=n(5917),l=n(6461),c=n(3342),h=n(4395),f=n(5435),d=n(8002),p=n(5257),v=n(3653),_=n(7519),m=n(6782),g=n(9490),y=n(521),b=n(8553);function k(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var C,w="cdk-describedby-message-container",x="cdk-describedby-message",E="cdk-describedby-host",S=0,O=new Map,A=null,T=((C=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"describe",value:function(e,t,n){if(this._canBeDescribed(e,t)){var i=P(t,n);"string"!=typeof t?(I(t),O.set(i,{messageElement:t,referenceCount:0})):O.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}}},{key:"removeDescription",value:function(e,t,n){if(t&&this._isElementNode(e)){var i=P(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){var r=O.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}A&&0===A.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[".concat(E,"]")),t=0;t-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return _createClass(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,c.b)(function(t){return e._pressedLetters.push(t)}),(0,h.b)(t),(0,f.h)(function(){return e._pressedLetters.length>0}),(0,d.U)(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),i=1;i0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case l.Mf:return void this.tabOut.next();case l.JH:if(this._vertical&&i){this.setNextItemActive();break}return;case l.LH:if(this._vertical&&i){this.setPreviousItemActive();break}return;case l.SV:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.oh:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.Sd:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case l.uR:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||(0,l.Vb)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=l.A&&n<=l.Z||n>=l.xE&&n<=l.aO)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof r.n_E?this._items.toArray():this._items}}]),e}(),D=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),_get(_getPrototypeOf(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(R),M=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._origin="program",e}return _createClass(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){_get(_getPrototypeOf(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(R),L=function(){var e=function(){function e(t){_classCallCheck(this,e),this._platform=t}return _createClass(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t=function(e){try{return e.frameElement}catch(t){return null}}(function(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(e));if(t&&(-1===N(t)||!this.isVisible(t)))return!1;var n=e.nodeName.toLowerCase(),i=N(e);return e.hasAttribute("contenteditable")?-1!==i:!("iframe"===n||"object"===n||this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===n?!!e.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||F(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(y.t4))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(y.t4))},token:e,providedIn:"root"}),e}();function F(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function N(e){if(!F(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var B=function(){function e(t,n,i,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return _createClass(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(e)}}]),e}(),U=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._checker=t,this._ngZone=n,this._document=i}return _createClass(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new B(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(L),r.LFG(r.R0b),r.LFG(i.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(L),r.LFG(r.R0b),r.LFG(i.K0))},token:e,providedIn:"root"}),e}();function j(e){return 0===e.offsetX&&0===e.offsetY}function Z(e){var t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}"undefined"!=typeof Element&∈var q=new r.OlP("cdk-input-modality-detector-options"),V={ignoreKeys:[l.zL,l.jx,l.b2,l.MW,l.JU]},H=(0,y.i$)({passive:!0,capture:!0}),z=function(){var e=function(){function e(t,n,i,r){var o=this;_classCallCheck(this,e),this._platform=t,this._mostRecentTarget=null,this._modality=new s.X(null),this._lastTouchMs=0,this._onKeydown=function(e){var t,n;(null===(n=null===(t=o._options)||void 0===t?void 0:t.ignoreKeys)||void 0===n?void 0:n.some(function(t){return t===e.keyCode}))||(o._modality.next("keyboard"),o._mostRecentTarget=(0,y.sA)(e))},this._onMousedown=function(e){Date.now()-o._lastTouchMs<650||(o._modality.next(j(e)?"keyboard":"mouse"),o._mostRecentTarget=(0,y.sA)(e))},this._onTouchstart=function(e){Z(e)?o._modality.next("keyboard"):(o._lastTouchMs=Date.now(),o._modality.next("touch"),o._mostRecentTarget=(0,y.sA)(e))},this._options=Object.assign(Object.assign({},V),r),this.modalityDetected=this._modality.pipe((0,v.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,_.x)()),t.isBrowser&&n.runOutsideAngular(function(){i.addEventListener("keydown",o._onKeydown,H),i.addEventListener("mousedown",o._onMousedown,H),i.addEventListener("touchstart",o._onTouchstart,H)})}return _createClass(e,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){!this._platform.isBrowser||(document.removeEventListener("keydown",this._onKeydown,H),document.removeEventListener("mousedown",this._onMousedown,H),document.removeEventListener("touchstart",this._onTouchstart,H))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(y.t4),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(q,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(y.t4),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(q,8))},token:e,providedIn:"root"}),e}(),Y=new r.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),G=new r.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),K=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return _createClass(e,[{key:"announce",value:function(e){for(var t,n,i,r=this,o=this._defaultOptions,a=arguments.length,s=new Array(a>1?a-1:0),u=1;u1&&void 0!==arguments[1]&&arguments[1],n=(0,g.fI)(e);if(!this._platform.isBrowser||1!==n.nodeType)return(0,u.of)(null);var i=(0,y.kV)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;var a={checkChildren:t,subject:new o.xQ,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}},{key:"stopMonitoring",value:function(e){var t=(0,g.fI)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var i=this,r=(0,g.fI)(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(function(e){var n=_slicedToArray(e,2),r=n[0],o=n[1];return i._originChanged(r,t,o)}):(this._setOrigin(t),"function"==typeof r.focus&&r.focus(n))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOrigin",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){t._origin=e,t._originFromTouchInteraction="touch"===e&&n,0===t._detectionMode&&(clearTimeout(t._originTimeoutId),t._originTimeoutId=setTimeout(function(){return t._origin=null},t._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t),i=(0,y.sA)(e);!n||!n.checkChildren&&t!==i||this._originChanged(t,this._getFocusOrigin(i),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,Q),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,Q)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){t._getWindow().addEventListener("focus",t._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,m.R)(this._stopInputModalityDetector)).subscribe(function(e){t._setOrigin(e,!0)}))}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Q),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Q),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,i){(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.R0b),r.LFG(y.t4),r.LFG(z),r.LFG(i.K0,8),r.LFG(W,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.R0b),r.LFG(y.t4),r.LFG(z),r.LFG(i.K0,8),r.LFG(W,8))},token:e,providedIn:"root"}),e}(),X="cdk-high-contrast-black-on-white",$="cdk-high-contrast-white-on-black",ee="cdk-high-contrast-active",te=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._document=n}return _createClass(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove(ee),e.remove(X),e.remove($),this._hasCheckedHighContrastMode=!0;var t=this.getHighContrastMode();1===t?(e.add(ee),e.add(X)):2===t&&(e.add(ee),e.add($))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(y.t4),r.LFG(i.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(y.t4),r.LFG(i.K0))},token:e,providedIn:"root"}),e}(),ne=function(){var e=function e(t){_classCallCheck(this,e),t._applyBodyHighContrastModeCssClasses()};return e.\u0275fac=function(t){return new(t||e)(r.LFG(te))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[y.ud,b.Q8]]}),e}()},946:function(e,t,n){"use strict";n.d(t,{vT:function(){return u},Is:function(){return s}});var i,r=n(3018),o=n(8583),a=new r.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,r.f3M)(o.K0)}}),s=((i=function(){function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new r.vpe,t){var n=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}()).\u0275fac=function(e){return new(e||i)(r.LFG(a,8))},i.\u0275prov=r.Yz7({factory:function(){return new i(r.LFG(a,8))},token:i,providedIn:"root"}),i),u=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}()},8345:function(e,t,n){"use strict";n.d(t,{P3:function(){return l},Ov:function(){return h},A8:function(){return f},eX:function(){return c},k:function(){return d},Z9:function(){return s}});var i=n(5639),r=n(5917),o=n(9765),a=n(3018);function s(e){return e&&"function"==typeof e.connect}var u,l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._data=e,i}return _createClass(n,[{key:"connect",value:function(){return(0,i.b)(this._data)?this._data:(0,r.of)(this._data)}},{key:"disconnect",value:function(){}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),c=function(){function e(){_classCallCheck(this,e),this.viewCacheSize=20,this._viewCache=[]}return _createClass(e,[{key:"applyChanges",value:function(e,t,n,i,r){var o=this;e.forEachOperation(function(e,a,s){var u,l;null==e.previousIndex?l=(u=o._insertView(function(){return n(e,a,s)},s,t,i(e)))?1:0:null==s?(o._detachAndCacheView(a,t),l=3):(u=o._moveView(a,s,t,i(e)),l=2),r&&r({context:null==u?void 0:u.context,operation:l,record:e})})}},{key:"detach",value:function(){var e,t=_createForOfIteratorHelper(this._viewCache);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(n){t.e(n)}finally{t.f()}this._viewCache=[]}},{key:"_insertView",value:function(e,t,n,i){var r=this._insertViewFromCache(t,n);if(!r){var o=e();return n.createEmbeddedView(o.templateRef,o.context,o.index)}r.context.$implicit=i}},{key:"_detachAndCacheView",value:function(e,t){var n=t.detach(e);this._maybeCacheView(n,t)}},{key:"_moveView",value:function(e,t,n,i){var r=n.get(e);return n.move(r,t),r.context.$implicit=i,r}},{key:"_maybeCacheView",value:function(e,t){if(this._viewCache.length0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.xQ,i&&i.length&&(n?i.forEach(function(e){return t._markSelected(e)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return _createClass(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1?t-1:0),i=1;it.height||e.scrollWidth>t.width}}]),e}(),k=function(){function e(t,n,i,r){var o=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return _createClass(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),C=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function w(e,t){return t.some(function(t){return e.bottomt.bottom||e.rightt.right})}function x(e,t){return t.some(function(t){return e.topt.bottom||e.leftt.right})}var E,S=function(){function e(t,n,i,r){_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return _createClass(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;w(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),O=((E=function e(t,n,i,r){var o=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new C},this.close=function(e){return new k(o._scrollDispatcher,o._ngZone,o._viewportRuler,e)},this.block=function(){return new b(o._viewportRuler,o._document)},this.reposition=function(e){return new S(o._scrollDispatcher,o._viewportRuler,o._ngZone,e)},this._document=r}).\u0275fac=function(e){return new(e||E)(r.LFG(i.mF),r.LFG(i.rL),r.LFG(r.R0b),r.LFG(s.K0))},E.\u0275prov=r.Yz7({factory:function(){return new E(r.LFG(i.mF),r.LFG(i.rL),r.LFG(r.R0b),r.LFG(s.K0))},token:E,providedIn:"root"}),E),A=function e(t){if(_classCallCheck(this,e),this.scrollStrategy=new C,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),R=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e))._keydownListener=function(e){for(var t=i._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},i}return _createClass(n,[{key:"add",value:function(e){_get(_getPrototypeOf(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(I);return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0))},token:e,providedIn:"root"}),e}(),D=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(e){for(var t=(0,o.sA)(e),n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var a=n[i];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(t))break;a._outsidePointerEvents.next(e)}}},r}return _createClass(n,[{key:"add",value:function(e){if(_get(_getPrototypeOf(n.prototype),"add",this).call(this,e),!this._isAttached){var t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var e=this._document.body;e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),n}(I);return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.K0),r.LFG(o.t4))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(s.K0),r.LFG(o.t4))},token:e,providedIn:"root"}),e}(),M="undefined"!=typeof window?window:{},L=void 0!==M.__karma__&&!!M.__karma__||void 0!==M.jasmine&&!!M.jasmine||void 0!==M.jest&&!!M.jest||void 0!==M.Mocha&&!!M.Mocha,F=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._platform=n,this._document=t}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e="cdk-overlay-container";if(this._platform.isBrowser||L)for(var t=this._document.querySelectorAll(".".concat(e,'[platform="server"], .').concat(e,'[platform="test"]')),n=0;nd&&(d=_,f=v)}}catch(m){p.e(m)}finally{p.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Z(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(B),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=V(t),o=e.x,a=e.y,s=this._getOffset(i,"x"),u=this._getOffset(i,"y");s&&(o+=s),u&&(a+=u);var l=0-a,c=a+r.height-n.height,h=this._subtractOverflows(r.width,0-o,o+r.width-n.width),f=this._subtractOverflows(r.height,l,c),d=h*f;return{visibleArea:d,isCompletelyWithinViewport:r.width*r.height===d,fitsInViewportVertically:f===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,o=q(this._overlayRef.getConfig().minHeight),a=q(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=a&&a<=r;return(e.fitsInViewportVertically||null!=o&&o<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,o=V(t),a=this._viewportRect,s=Math.max(e.x+o.width-a.width,0),u=Math.max(e.y+o.height-a.height,0),l=Math.max(a.top-n.top-e.y,0),c=Math.max(a.left-n.left-e.x,0);return i=o.width<=a.width?c||-s:e.xh&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-h/2)}if("end"===t.overlayX&&!l||"start"===t.overlayX&&l)s=u.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!l||"end"===t.overlayX&&l)a=e.x,o=u.right-e.x;else{var f=Math.min(u.right-e.x+u.left,e.x),d=this._lastBoundingBoxSize.width;o=2*f,a=e.x-f,o>d&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-d/2)}return{top:i,left:a,bottom:r,right:s,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=(0,u.HM)(n.height),i.top=(0,u.HM)(n.top),i.bottom=(0,u.HM)(n.bottom),i.width=(0,u.HM)(n.width),i.left=(0,u.HM)(n.left),i.right=(0,u.HM)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=(0,u.HM)(r)),o&&(i.maxWidth=(0,u.HM)(o))}this._lastBoundingBoxSize=n,Z(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){Z(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Z(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();Z(n,this._getExactOverlayY(t,e,a)),Z(n,this._getExactOverlayX(t,e,a))}else n.position="static";var s="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(s+="translateX(".concat(l,"px) ")),c&&(s+="translateY(".concat(c,"px)")),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=(0,u.HM)(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=(0,u.HM)(o.maxWidth):r&&(n.maxWidth="")),Z(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=(0,u.HM)(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=(0,u.HM)(r.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:x(e,n),isOriginOutsideView:w(e,n),isOverlayClipped:x(t,n),isOverlayOutsideView:w(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),u=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=u?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(z),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),G=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return _createClass(e,[{key:"global",value:function(){return new Y}},{key:"connectedTo",value:function(e,t,n){return new H(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new j(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.rL),r.LFG(s.K0),r.LFG(o.t4),r.LFG(F))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(i.rL),r.LFG(s.K0),r.LFG(o.t4),r.LFG(F))},token:e,providedIn:"root"}),e}(),K=0,W=function(){var e=function(){function e(t,n,i,r,o,a,s,u,l,c,h){_classCallCheck(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=u,this._directionality=l,this._location=c,this._outsideClickDispatcher=h}return _createClass(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new A(e);return r.direction=r.direction||this._directionality.value,new N(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+K++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(r.z2F)),new l.u0(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(O),r.LFG(F),r.LFG(r._Vd),r.LFG(G),r.LFG(R),r.LFG(r.zs3),r.LFG(r.R0b),r.LFG(s.K0),r.LFG(a.Is),r.LFG(s.Ye),r.LFG(D))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Q=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],J=new r.OlP("cdk-connected-overlay-scroll-strategy"),X=function(){var e=function e(t){_classCallCheck(this,e),this.elementRef=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),$=function(){var e=function(){function e(t,n,i,o,a){_classCallCheck(this,e),this._overlay=t,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.vpe,this.positionChange=new r.vpe,this.attach=new r.vpe,this.detach=new r.vpe,this.overlayKeydown=new r.vpe,this.overlayOutsideClick=new r.vpe,this._templatePortal=new l.UE(n,i),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}return _createClass(e,[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=(0,u.Ig)(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=(0,u.Ig)(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=(0,u.Ig)(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=(0,u.Ig)(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=(0,u.Ig)(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var e=this;(!this.positions||!this.positions.length)&&(this.positions=Q);var t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=t.detachments().subscribe(function(){return e.detach.emit()}),t.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),t.keyCode===g.hY&&!e.disableClose&&!(0,g.Vb)(t)&&(t.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(t){e.overlayOutsideClick.next(t)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new A({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map(function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}});return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}},{key:"_attachOverlay",value:function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new p(e,t))}}(function(){return e.positionChange.observers.length>0})).subscribe(function(t){e.positionChange.emit(t),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(W),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(J),r.Y36(a.Is,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.TTD]}),e}(),ee={provide:J,deps:[W],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},te=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[W,ee],imports:[[a.vT,l.eL,i.Cl],i.Cl]}),e}()},521:function(e,t,n){"use strict";n.d(t,{t4:function(){return f},ud:function(){return d},sA:function(){return k},ht:function(){return b},kV:function(){return y},_i:function(){return g},qK:function(){return v},i$:function(){return _},Mq:function(){return m}});var i,r=n(3018),o=n(8583);try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(s){i=!1}var a,s,u,l,c,h,f=((s=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?(0,o.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!i)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}).\u0275fac=function(e){return new(e||s)(r.LFG(r.Lbi))},s.\u0275prov=r.Yz7({factory:function(){return new s(r.LFG(r.Lbi))},token:s,providedIn:"root"}),s),d=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),p=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function v(){if(a)return a;if("object"!=typeof document||!document)return a=new Set(p);var e=document.createElement("input");return a=new Set(p.filter(function(t){return e.setAttribute("type",t),e.type===t}))}function _(e){return function(){if(null==u&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return u=!0}}))}finally{u=u||!1}return u}()?e:!!e.capture}function m(){if(null==c){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return c=!1;if("scrollBehavior"in document.documentElement.style)c=!0;else{var e=Element.prototype.scrollTo;c=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return c}function g(){if("object"!=typeof document||!document)return 0;if(null==l){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),l=0,0===e.scrollLeft&&(e.scrollLeft=1,l=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return l}function y(e){if(function(){if(null==h){var e="undefined"!=typeof document?document.head:null;h=!(!e||!e.createShadowRoot&&!e.attachShadow)}return h}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function b(){for(var e="undefined"!=typeof document&&document?document.activeElement:null;e&&e.shadowRoot;){var t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function k(e){return e.composedPath?e.composedPath()[0]:e.target}},7636:function(e,t,n){"use strict";n.d(t,{en:function(){return c},Pl:function(){return f},C5:function(){return s},u0:function(){return h},eL:function(){return d},UE:function(){return u}});var i,r=n(3018),o=n(8583),a=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this)).component=e,a.viewContainerRef=i,a.injector=r,a.componentFactoryResolver=o,a}return n}(a),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this)).templateRef=e,o.viewContainerRef=i,o.context=r,o}return _createClass(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,_get(_getPrototypeOf(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,_get(_getPrototypeOf(n.prototype),"detach",this).call(this)}}]),n}(a),l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).element=e instanceof r.SBq?e.nativeElement:e,i}return n}(a),c=function(){function e(){_classCallCheck(this,e),this._isDisposed=!1,this.attachDomPortal=null}return _createClass(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof s?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof u?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof l?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),h=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a){var s,u;return _classCallCheck(this,n),(u=t.call(this)).outletElement=e,u._componentFactoryResolver=i,u._appRef=r,u._defaultInjector=o,u.attachDomPortal=function(e){var t=e.element,i=u._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),u.outletElement.appendChild(t),u._attachedPortal=e,_get((s=_assertThisInitialized(u),_getPrototypeOf(n.prototype)),"setDisposeFn",s).call(s,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},u._document=a,u}return _createClass(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),i.detectChanges(),this.setDisposeFn(function(){var e=n.indexOf(i);-1!==e&&n.remove(e)}),this._attachedPortal=e,i}},{key:"dispose",value:function(){_get(_getPrototypeOf(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(c),f=((i=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,o){var a,s;return _classCallCheck(this,n),(s=t.call(this))._componentFactoryResolver=e,s._viewContainerRef=i,s._isInitialized=!1,s.attached=new r.vpe,s.attachDomPortal=function(e){var t=e.element,i=s._document.createComment("dom-portal");e.setAttachedHost(_assertThisInitialized(s)),t.parentNode.insertBefore(i,t),s._getRootNode().appendChild(t),s._attachedPortal=e,_get((a=_assertThisInitialized(s),_getPrototypeOf(n.prototype)),"setDisposeFn",a).call(a,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},s._document=o,s}return _createClass(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&_get(_getPrototypeOf(n.prototype),"detach",this).call(this),e&&_get(_getPrototypeOf(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),_get(_getPrototypeOf(n.prototype),"setDisposeFn",this).call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return _get(_getPrototypeOf(n.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),n}(c)).\u0275fac=function(e){return new(e||i)(r.Y36(r._Vd),r.Y36(r.s_b),r.Y36(o.K0))},i.\u0275dir=r.lG2({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r.qOj]}),i),d=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}()},9243:function(e,t,n){"use strict";n.d(t,{ZD:function(){return y},mF:function(){return m},Cl:function(){return b},rL:function(){return g}});var i=n(9490),r=n(3018),o=n(6465),a=n(6102);new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}(o.o));var s=n(9765),u=n(5917),l=n(7574),c=n(2759);n(4581),n(5319),n(5639),n(7393),new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(a.v))(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?_get(_getPrototypeOf(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):e.flush(this)}}]),n}(o.o)),n(1593),n(7971),n(8858),n(7519);var h=n(628),f=n(5435),d=(n(6782),n(9761),n(3190),n(521)),p=n(8583),v=n(946);n(8345);var _,m=((_=function(){function e(t,n,i){_classCallCheck(this,e),this._ngZone=t,this._platform=n,this._scrolled=new s.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return _createClass(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new l.y(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe((0,h.e)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):(0,u.of)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,f.h)(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=(0,i.fI)(t),r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var t=e._getWindow();return(0,c.R)(t.document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}()).\u0275fac=function(e){return new(e||_)(r.LFG(r.R0b),r.LFG(d.t4),r.LFG(p.K0,8))},_.\u0275prov=r.Yz7({factory:function(){return new _(r.LFG(r.R0b),r.LFG(d.t4),r.LFG(p.K0,8))},token:_,providedIn:"root"}),_),g=function(){var e=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this._platform=t,this._change=new s.xQ,this._changeListener=function(e){r._change.next(e)},this._document=i,n.runOutsideAngular(function(){if(t.isBrowser){var e=r._getWindow();e.addEventListener("resize",r._changeListener),e.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._viewportSize=null})})}return _createClass(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe((0,h.e)(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(d.t4),r.LFG(r.R0b),r.LFG(p.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(d.t4),r.LFG(r.R0b),r.LFG(p.K0,8))},token:e,providedIn:"root"}),e}(),y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),b=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[v.vT,d.ud,y],v.vT,y]}),e}()},9490:function(e,t,n){"use strict";n.d(t,{Eq:function(){return a},Ig:function(){return r},HM:function(){return s},fI:function(){return u},su:function(){return o}});var i=n(3018);function r(e){return null!=e&&"false"!="".concat(e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function a(e){return Array.isArray(e)?e:[e]}function s(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function u(e){return e instanceof i.SBq?e.nativeElement:e}},8583:function(e,t,n){"use strict";n.d(t,{mr:function(){return k},Ov:function(){return Y},ez:function(){return G},K0:function(){return l},Do:function(){return w},V_:function(){return f},Ye:function(){return x},S$:function(){return y},mk:function(){return R},sg:function(){return M},O5:function(){return F},RF:function(){return j},n9:function(){return Z},ED:function(){return q},b0:function(){return C},lw:function(){return c},EM:function(){return Q},JF:function(){return $},NF:function(){return W},w_:function(){return u},bD:function(){return K},q:function(){return o},Mx:function(){return I},HT:function(){return a}});var i=n(3018),r=null;function o(){return r}function a(e){r||(r=e)}var s,u=function e(){_classCallCheck(this,e)},l=new i.OlP("DocumentToken"),c=((s=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}()).\u0275fac=function(e){return new(e||s)},s.\u0275prov=(0,i.Yz7)({factory:h,token:s,providedIn:"platform"}),s);function h(){return(0,i.LFG)(d)}var f=new i.OlP("Location Initialized"),d=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i._init(),i}return _createClass(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return o().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){var t=o().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),function(){return t.removeEventListener("popstate",e)}}},{key:"onHashChange",value:function(e){var t=o().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),function(){return t.removeEventListener("hashchange",e)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(e)}},{key:"getState",value:function(){return this._history.state}}]),n}(c);return e.\u0275fac=function(t){return new(t||e)(i.LFG(l))},e.\u0275prov=(0,i.Yz7)({factory:v,token:e,providedIn:"platform"}),e}();function p(){return!!window.history.pushState}function v(){return new d((0,i.LFG)(l))}function _(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function m(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function g(e){return e&&"?"!==e[0]?"?"+e:e}var y=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,i.Yz7)({factory:b,token:e,providedIn:"root"}),e}();function b(e){var t=(0,i.LFG)(l).location;return new C((0,i.LFG)(c),t&&t.origin||"")}var k=new i.OlP("appBaseHref"),C=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;if(_classCallCheck(this,n),(r=t.call(this))._platformLocation=e,r._removeListenerFns=[],null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,_possibleConstructorReturn(r)}return _createClass(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return _(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+g(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+g(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+g(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(y);return e.\u0275fac=function(t){return new(t||e)(i.LFG(c),i.LFG(k,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),w=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._platformLocation=e,r._baseHref="",r._removeListenerFns=[],null!=i&&(r._baseHref=i),r}return _createClass(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=_(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+g(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+g(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(y);return e.\u0275fac=function(t){return new(t||e)(i.LFG(c),i.LFG(k,8))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),x=function(){var e=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=m(S(o)),this._platformStrategy.onPopState(function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})})}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+g(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,S(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+g(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+g(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformStrategy).historyGo)||void 0===t||t.call(e,n)}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(y),i.LFG(c))},e.normalizeQueryParams=g,e.joinWithSlash=_,e.stripTrailingSlash=m,e.\u0275prov=(0,i.Yz7)({factory:E,token:e,providedIn:"root"}),e}();function E(){return new x((0,i.LFG)(y),(0,i.LFG)(c))}function S(e){return e.replace(/\/index.html$/,"")}var O=((O=O||{})[O.Zero=0]="Zero",O[O.One=1]="One",O[O.Two=2]="Two",O[O.Few=3]="Few",O[O.Many=4]="Many",O[O.Other=5]="Other",O),A=i.kL8,T=function e(){_classCallCheck(this,e)},P=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).locale=e,i}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(A(t||this.locale)(e)){case O.Zero:return"zero";case O.One:return"one";case O.Two:return"two";case O.Few:return"few";case O.Many:return"many";default:return"other"}}}]),n}(T);return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.soG))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}();function I(e,t){t=encodeURIComponent(t);var n,i=_createForOfIteratorHelper(e.split(";"));try{for(i.s();!(n=i.n()).done;){var r=n.value,o=r.indexOf("="),a=_slicedToArray(-1==o?[r,""]:[r.slice(0,o),r.slice(o+1)],2),s=a[0],u=a[1];if(s.trim()===t)return decodeURIComponent(u)}}catch(l){i.e(l)}finally{i.f()}return null}var R=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,i.AaK)(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},e.\u0275dir=i.lG2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),D=function(){function e(t,n,i,r){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),M=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat(function(e){return e.name||typeof e}(e),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,i,r){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new D(null,t._ngForOf,-1,-1),null===r?void 0:r),a=new L(e,o);n.push(a)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var u=new L(e,s);n.push(u)}});for(var i=0;i0){var i=e.slice(0,t),r=i.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(o):n.headers.set(r,[o])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))})}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,_toConsumableArray(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var o=this.headers.get(t);if(!o)return;0===(o=o.filter(function(e){return-1===r.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),d=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return _(e)}},{key:"encodeValue",value:function(e){return _(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}(),p=/%(\d[a-f0-9])/gi,v={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function _(e){return encodeURIComponent(e).replace(p,function(e,t){var n;return null!==(n=v[t])&&void 0!==n?n:e})}function m(e){return"".concat(e)}var g=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new d,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){var n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(e){var i=e.indexOf("="),r=_slicedToArray(-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],2),o=r[0],a=r[1],s=n.get(o)||[];s.push(a),n.set(o,s)}),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(e){var i=n.fromObject[e];t.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var i=e[n];Array.isArray(i)?i.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(m(t.value)),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(m(t.value));-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),y=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function b(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function k(e){return"undefined"!=typeof Blob&&e instanceof Blob}function C(e){return"undefined"!=typeof FormData&&e instanceof FormData}var w=function(){function e(t,n,i,r){var o;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new f),this.context||(this.context=new y),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},i=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,a=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,u=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,l=n.headers||this.headers,c=n.params||this.params,h=null!==(t=n.context)&&void 0!==t?t:this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce(function(e,t){return e.set(t,n.setHeaders[t])},l)),n.setParams&&(c=Object.keys(n.setParams).reduce(function(e,t){return e.set(t,n.setParams[t])},c)),new e(i,r,a,{params:c,headers:l,context:h,reportProgress:u,responseType:o,withCredentials:s})}}]),e}(),x=((x=x||{})[x.Sent=0]="Sent",x[x.UploadProgress=1]="UploadProgress",x[x.ResponseHeader=2]="ResponseHeader",x[x.DownloadProgress=3]="DownloadProgress",x[x.Response=4]="Response",x[x.User=5]="User",x),E=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new f,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},S=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,i)).type=x.ResponseHeader,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(E),O=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,i)).type=x.Response,e.body=void 0!==i.body?i.body:null,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(E),A=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),i.error=e.error||null,i}return n}(E);function T(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var P,I=((P=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,i,r,a=this,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e instanceof w?n=e:(i=c.headers instanceof f?c.headers:new f(c.headers),c.params&&(r=c.params instanceof g?c.params:new g({fromObject:c.params})),n=new w(e,t,void 0!==c.body?c.body:null,{headers:i,context:c.context,params:r,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials}));var h=(0,o.of)(n).pipe((0,s.b)(function(e){return a.handler.handle(e)}));if(e instanceof w||"events"===c.observe)return h;var d=h.pipe((0,u.h)(function(e){return e instanceof O}));switch(c.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return d.pipe((0,l.U)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return d.pipe((0,l.U)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return d.pipe((0,l.U)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return d.pipe((0,l.U)(function(e){return e.body}))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type ".concat(c.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,T(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,T(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,T(n,t))}}]),e}()).\u0275fac=function(e){return new(e||P)(r.LFG(c))},P.\u0275prov=r.Yz7({token:P,factory:P.\u0275fac}),P),R=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),D=new r.OlP("HTTP_INTERCEPTORS"),M=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),L=/^\)\]\}',?\n/,F=function(){var e=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new a.y(function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(function(e,t){return i.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var o=e.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,u=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new f(i.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new S({headers:r,status:t,statusText:n,url:o})},l=function(){var t=u(),r=t.headers,o=t.status,a=t.statusText,s=t.url,l=null;204!==o&&(l=void 0===i.response?i.responseText:i.response),0===o&&(o=l?200:0);var c=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof l){var h=l;l=l.replace(L,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=h,c&&(c=!1,l={error:f,text:l})}}c?(n.next(new O({body:l,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new A({error:l,headers:r,status:o,statusText:a,url:s||void 0}))},c=function(e){var t=u().url,r=new A({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},h=!1,d=function(t){h||(n.next(u()),h=!0);var r={type:x.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&!!i.responseText&&(r.partialText=i.responseText),n.next(r)},p=function(e){var t={type:x.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",l),i.addEventListener("error",c),i.addEventListener("timeout",c),i.addEventListener("abort",c),e.reportProgress&&(i.addEventListener("progress",d),null!==a&&i.upload&&i.upload.addEventListener("progress",p)),i.send(a),n.next({type:x.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("abort",c),i.removeEventListener("load",l),i.removeEventListener("timeout",c),e.reportProgress&&(i.removeEventListener("progress",d),null!==a&&i.upload&&i.upload.removeEventListener("progress",p)),i.readyState!==i.DONE&&i.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.JF))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),N=new r.OlP("XSRF_COOKIE_NAME"),B=new r.OlP("XSRF_HEADER_NAME"),U=function e(){_classCallCheck(this,e)},j=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(N))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Z=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null!==i&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(U),r.LFG(B))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),q=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(D,[]);this.chain=t.reduceRight(function(e,t){return new R(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(h),r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),V=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:Z,useClass:M}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:N,useValue:t.cookieName}:[],t.headerName?{provide:B,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[Z,{provide:D,useExisting:Z,multi:!0},{provide:U,useClass:j},{provide:N,useValue:"XSRF-TOKEN"},{provide:B,useValue:"X-XSRF-TOKEN"}]}),e}(),H=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[I,{provide:c,useClass:q},F,{provide:h,useExisting:F}],imports:[[V.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},3018:function(e,t,n){"use strict";n.d(t,{deG:function(){return ln},tb:function(){return Gu},AFp:function(){return qu},ip1:function(){return ju},CZH:function(){return Zu},hGG:function(){return Ul},z2F:function(){return Tl},sBO:function(){return zs},Sil:function(){return rl},_Vd:function(){return vs},EJc:function(){return Qu},SBq:function(){return ys},qLn:function(){return Ri},vpe:function(){return ku},gxx:function(){return ko},tBr:function(){return Fn},XFs:function(){return R},OlP:function(){return un},zs3:function(){return Lo},ZZ4:function(){return Bs},aQg:function(){return js},soG:function(){return Wu},YKP:function(){return eu},v3s:function(){return Il},h0i:function(){return $s},PXZ:function(){return xl},R0b:function(){return sl},FiY:function(){return Nn},Lbi:function(){return Yu},g9A:function(){return zu},n_E:function(){return wu},Qsj:function(){return Cs},FYo:function(){return ks},JOm:function(){return Li},Tiy:function(){return xs},q3G:function(){return wi},tp0:function(){return Bn},EAV:function(){return Ml},Rgc:function(){return Qs},dDg:function(){return pl},DyG:function(){return cn},GfV:function(){return Es},s_b:function(){return nu},ifc:function(){return N},eFA:function(){return El},G48:function(){return Cl},Gpc:function(){return v},f3M:function(){return Tn},X6Q:function(){return kl},_c5:function(){return Nl},VLi:function(){return _l},c2e:function(){return Ku},zSh:function(){return wo},wAp:function(){return ns},vHH:function(){return g},EiD:function(){return ki},mCW:function(){return oi},qzn:function(){return Kn},JVY:function(){return Qn},pB0:function(){return ei},eBb:function(){return Xn},L6k:function(){return Jn},LAX:function(){return $n},cg1:function(){return $a},Tjo:function(){return Fl},kL8:function(){return es},yhl:function(){return Wn},dqk:function(){return q},sIi:function(){return zo},CqO:function(){return ca},QGY:function(){return ua},F4k:function(){return la},RDi:function(){return Oe},AaK:function(){return f},z3N:function(){return Gn},qOj:function(){return No},TTD:function(){return ye},_Bn:function(){return fs},xp6:function(){return Cr},uIk:function(){return Wo},Tol:function(){return Pa},Gre:function(){return Ga},ekj:function(){return Ta},Suo:function(){return Lu},Xpm:function(){return $},lG2:function(){return ae},Yz7:function(){return C},cJS:function(){return w},oAB:function(){return ie},Yjl:function(){return se},Y36:function(){return $o},_UZ:function(){return ra},BQk:function(){return aa},ynx:function(){return oa},qZA:function(){return ia},TgZ:function(){return na},EpF:function(){return sa},n5z:function(){return nn},Ikx:function(){return Ka},LFG:function(){return An},$8M:function(){return on},NdJ:function(){return ha},CRH:function(){return Fu},kcU:function(){return kt},O4$:function(){return bt},oxw:function(){return _a},ALo:function(){return gu},lcZ:function(){return yu},Hsn:function(){return ya},F$t:function(){return ga},Q6J:function(){return ea},s9C:function(){return ba},VKq:function(){return _u},iGM:function(){return Du},MAs:function(){return Xo},CHM:function(){return Ye},oJD:function(){return xi},LSH:function(){return Ei},kYT:function(){return re},Udp:function(){return Aa},WFA:function(){return fa},d8E:function(){return Wa},YNc:function(){return Jo},_uU:function(){return qa},Oqu:function(){return Va},hij:function(){return Ha},AsE:function(){return za},lnq:function(){return Ya},Gf:function(){return Mu}});var i=n(9765),r=n(5319),o=n(7574),a=n(6682),s=n(2441),u=n(1307);function l(){return new i.xQ}function c(e){for(var t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function h(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function f(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(f).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function d(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var p=c({__forward_ref__:c});function v(e){return e.__forward_ref__=v,e.toString=function(){return f(this())},e}function _(e){return m(e)?e():e}function m(e){return"function"==typeof e&&e.hasOwnProperty(p)&&e.__forward_ref__===v}var g=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,i))).code=e,r}return n}(_wrapNativeSuper(Error));function y(e){return"string"==typeof e?e:null==e?"":String(e)}function b(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():y(e)}function k(e,t){var n=t?" in ".concat(t):"";throw new g("201","No provider for ".concat(b(e)," found").concat(n))}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function w(e){return{providers:e.providers||[],imports:e.imports||[]}}function x(e){return E(e,A)||E(e,P)}function E(e,t){return e.hasOwnProperty(t)?e[t]:null}function S(e){return e&&(e.hasOwnProperty(T)||e.hasOwnProperty(I))?e[T]:null}var O,A=c({"\u0275prov":c}),T=c({"\u0275inj":c}),P=c({ngInjectableDef:c}),I=c({ngInjectorDef:c}),R=((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R);function D(e){var t=O;return O=e,t}function M(e,t,n){var i=x(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&R.Optional?null:void 0!==t?t:void k(f(e),"Injector")}function L(e){return{toString:e}.toString()}var F=((F=F||{})[F.OnPush=0]="OnPush",F[F.Default=1]="Default",F),N=((N=N||{})[N.Emulated=0]="Emulated",N[N.None=2]="None",N[N.ShadowDom=3]="ShadowDom",N),B="undefined"!=typeof globalThis&&globalThis,U="undefined"!=typeof window&&window,j="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global,q=B||Z||U||j,V={},H=[],z=c({"\u0275cmp":c}),Y=c({"\u0275dir":c}),G=c({"\u0275pipe":c}),K=c({"\u0275mod":c}),W=c({"\u0275loc":c}),Q=c({"\u0275fac":c}),J=c({__NG_ELEMENT_ID__:c}),X=0;function $(e){return L(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===F.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||H,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||N.Emulated,id:"c",styles:e.styles||H,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,o=e.pipes;return n.id+=X++,n.inputs=oe(e.inputs,t),n.outputs=oe(e.outputs),r&&r.forEach(function(e){return e(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(ee)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(te)}:null,n})}function ee(e){return ue(e)||function(e){return e[Y]||null}(e)}function te(e){return function(e){return e[G]||null}(e)}var ne={};function ie(e){return L(function(){var t={type:e.type,bootstrap:e.bootstrap||H,declarations:e.declarations||H,imports:e.imports||H,exports:e.exports||H,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ne[e.id]=e.type),t})}function re(e,t){return L(function(){var n=le(e,!0);n.declarations=t.declarations||H,n.imports=t.imports||H,n.exports=t.exports||H})}function oe(e,t){if(null==e)return V;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}var ae=$;function se(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ue(e){return e[z]||null}function le(e,t){var n=e[K]||null;if(!n&&!0===t)throw new Error("Type ".concat(f(e)," does not have '\u0275mod' property."));return n}function ce(e){return Array.isArray(e)&&"object"==typeof e[1]}function he(e){return Array.isArray(e)&&!0===e[1]}function fe(e){return 0!=(8&e.flags)}function de(e){return 2==(2&e.flags)}function pe(e){return 1==(1&e.flags)}function ve(e){return null!==e.template}function _e(e){return 0!=(512&e[2])}function me(e,t){return e.hasOwnProperty(Q)?e[Q]:null}var ge=function(){function e(t,n,i){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function ye(){return be}function be(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ce),ke}function ke(){var e=xe(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===V)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Ce(e,t,n,i){var r=xe(e)||function(e,t){return e[we]=t}(e,{previous:V,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[n],u=a[s];o[s]=new ge(u&&u.currentValue,t,a===V),e[i]=t}ye.ngInherit=!0;var we="__ngSimpleChanges__";function xe(e){return e[we]||null}var Ee,Se="http://www.w3.org/2000/svg";function Oe(e){Ee=e}function Ae(){return void 0!==Ee?Ee:"undefined"!=typeof document?document:void 0}function Te(e){return!!e.listen}var Pe={createRenderer:function(e,t){return Ae()}};function Ie(e){for(;Array.isArray(e);)e=e[0];return e}function Re(e,t){return Ie(t[e])}function De(e,t){return Ie(t[e.index])}function Me(e,t){return e.data[t]}function Le(e,t){return e[t]}function Fe(e,t){var n=t[e];return ce(n)?n:n[0]}function Ne(e){return 4==(4&e[2])}function Be(e){return 128==(128&e[2])}function Ue(e,t){return null==t?null:e[t]}function je(e){e[18]=0}function Ze(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var qe={lFrame:dt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ve(){return qe.bindingsEnabled}function He(){return qe.lFrame.lView}function ze(){return qe.lFrame.tView}function Ye(e){return qe.lFrame.contextLView=e,e[8]}function Ge(){for(var e=Ke();null!==e&&64===e.type;)e=e.parent;return e}function Ke(){return qe.lFrame.currentTNode}function We(e,t){var n=qe.lFrame;n.currentTNode=e,n.isParent=t}function Qe(){return qe.lFrame.isParent}function Je(){qe.lFrame.isParent=!1}function Xe(){return qe.isInCheckNoChangesMode}function $e(e){qe.isInCheckNoChangesMode=e}function et(){var e=qe.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function tt(){return qe.lFrame.bindingIndex}function nt(){return qe.lFrame.bindingIndex++}function it(e){var t=qe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function rt(e,t){var n=qe.lFrame;n.bindingIndex=n.bindingRootIndex=e,ot(t)}function ot(e){qe.lFrame.currentDirectiveIndex=e}function at(e){var t=qe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function st(){return qe.lFrame.currentQueryIndex}function ut(e){qe.lFrame.currentQueryIndex=e}function lt(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ct(e,t,n){if(n&R.SkipSelf){for(var i=t,r=e;!(null!==(i=i.parent)||n&R.Host||(i=lt(r),null===i||(r=r[15],10&i.type))););if(null===i)return!1;t=i,e=r}var o=qe.lFrame=ft();return o.currentTNode=t,o.lView=e,!0}function ht(e){var t=ft(),n=e[1];qe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ft(){var e=qe.lFrame,t=null===e?null:e.child;return null===t?dt(e):t}function dt(e){var 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 pt(){var e=qe.lFrame;return qe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var vt=pt;function _t(){var e=pt();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 mt(){return qe.lFrame.selectedIndex}function gt(e){qe.lFrame.selectedIndex=e}function yt(){var e=qe.lFrame;return Me(e.tView,e.selectedIndex)}function bt(){qe.lFrame.currentNamespace=Se}function kt(){qe.lFrame.currentNamespace=null}function Ct(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[s]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var At=function e(t,n,i){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function Tt(e,t,n){for(var i=Te(e),r=0;rt){a=o-1;break}}}for(;o>16}(e),i=t;n>0;)i=i[15],n--;return i}var Nt=!0;function Bt(e){var t=Nt;return Nt=e,t}var Ut=0;function jt(e,t){var n=qt(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Zt(i.data,e),Zt(t,null),Zt(i.blueprint,null));var r=Vt(e,t),o=e.injectorIndex;if(Mt(r))for(var a=Lt(r),s=Ft(r,t),u=s[1].data,l=0;l<8;l++)t[o+l]=s[a+l]|u[a+l];return t[o+8]=r,o}function Zt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function qt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,i=null,r=t;null!==r;){var o=r[1],a=o.type;if(null===(i=2===a?o.declTNode:1===a?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Ht(e,t,n){!function(e,t,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(J)&&(i=n[J]),null==i&&(i=n[J]=Ut++);var r=255&i;t.data[e+(r>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:R.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(J)?e[J]:void 0;return"number"==typeof t?t>=0?255&t:Wt:t}(n);if("function"==typeof o){if(!ct(t,e,i))return i&R.Host?zt(r,n,i):Yt(t,n,i,r);try{var a=o(i);if(null!=a||i&R.Optional)return a;k(n)}finally{vt()}}else if("number"==typeof o){var s=null,u=qt(e,t),l=-1,c=i&R.Host?t[16][6]:null;for((-1===u||i&R.SkipSelf)&&(-1!==(l=-1===u?Vt(e,t):t[u+8])&&en(i,!1)?(s=t[1],u=Lt(l),t=Ft(l,t)):u=-1);-1!==u;){var h=t[1];if($t(o,u,h.data)){var f=Qt(u,t,n,s,i,c);if(f!==Kt)return f}-1!==(l=t[u+8])&&en(i,t[1].data[u+8]===c)&&$t(o,u,t)?(s=h,u=Lt(l),t=Ft(l,t)):u=-1}}}return Yt(t,n,i,r)}var Kt={};function Wt(){return new tn(Ge(),He())}function Qt(e,t,n,i,r,o){var a=t[1],s=a.data[e+8],u=Jt(s,a,n,null==i?de(s)&&Nt:i!=a&&0!=(3&s.type),r&R.Host&&o===s);return null!==u?Xt(t,a,u,s):Kt}function Jt(e,t,n,i,r){for(var o=e.providerIndexes,a=t.data,s=1048575&o,u=e.directiveStart,l=o>>20,c=r?s+l:e.directiveEnd,h=i?s:s+l;h=u&&f.type===n)return h}if(r){var d=a[u];if(d&&ve(d)&&d.type===n)return u}return null}function Xt(e,t,n,i){var r=e[n],o=t.data;if(function(e){return e instanceof At}(r)){var a=r;a.resolving&&function(e,t){throw new g("200","Circular dependency in DI detected for ".concat(e))}(b(o[n]));var s=Bt(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?D(a.injectImpl):null;ct(e,i,R.Default);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.type.prototype,r=i.ngOnChanges,o=i.ngOnInit,a=i.ngDoCheck;if(r){var s=be(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,o[n],t)}finally{null!==u&&D(u),Bt(s),a.resolving=!1,vt()}}return r}function $t(e,t,n){return!!(n[t+(e>>5)]&1<=e.length?e.push(n):e.splice(t,0,n)}function pn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function vn(e,t){for(var n=[],i=0;i=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function mn(e,t){var n=gn(e,t);if(n>=0)return e[1|n]}function gn(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var o=i+(r-i>>1),a=e[o<<1];if(t===a)return o<<1;a>t?r=o:i=o+1}return~(r<<1)}(e,t)}var yn,bn={},kn="__NG_DI_FLAG__",Cn="ngTempTokenPath",wn=/\n/gm,xn="__source",En=c({provide:String,useValue:c});function Sn(e){var t=yn;return yn=e,t}function On(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R.Default;if(void 0===yn)throw new Error("inject() must be called from an injection context");return null===yn?M(e,void 0,t):yn.get(e,t&R.Optional?null:void 0,t)}function An(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R.Default;return(O||On)(_(e),t)}var Tn=An;function Pn(e){for(var t=[],n=0;n3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=f(t);if(Array.isArray(t))r=t.map(f).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):f(s)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(wn,"\n "))}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[Cn]=null,e}var Mn,Ln,Fn=In(sn("Inject",function(e){return{token:e}}),-1),Nn=In(sn("Optional"),8),Bn=In(sn("SkipSelf"),4);function Un(e){var t;return(null===(t=function(){if(void 0===Mn&&(Mn=null,q.trustedTypes))try{Mn=q.trustedTypes.createPolicy("angular",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(e){}return Mn}())||void 0===t?void 0:t.createHTML(e))||e}function jn(e){var t;return(null===(t=function(){if(void 0===Ln&&(Ln=null,q.trustedTypes))try{Ln=q.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(e){}return Ln}())||void 0===t?void 0:t.createHTML(e))||e}var Zn=function(){function e(t){_classCallCheck(this,e),this.changingThisBreaksApplicationSecurity=t}return _createClass(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity," (see https://g.co/ng/security#xss)")}}]),e}(),qn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(Zn),Vn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(Zn),Hn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(Zn),zn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(Zn),Yn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(Zn);function Gn(e){return e instanceof Zn?e.changingThisBreaksApplicationSecurity:e}function Kn(e,t){var n=Wn(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===t}function Wn(e){return e instanceof Zn&&e.getTypeName()||null}function Qn(e){return new qn(e)}function Jn(e){return new Vn(e)}function Xn(e){return new Hn(e)}function $n(e){return new zn(e)}function ei(e){return new Yn(e)}var ti=function(){function e(t){_classCallCheck(this,e),this.inertDocumentHelper=t}return _createClass(e,[{key:"getInertBodyElement",value:function(e){e=""+e;try{var t=(new window.DOMParser).parseFromString(Un(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}]),e}(),ni=function(){function e(t){if(_classCallCheck(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return _createClass(e,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Un(e),t;var n=this.inertDocument.createElement("body");return n.innerHTML=Un(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();fi.hasOwnProperty(t)&&!li.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(bi(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),gi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yi=/([^\#-~ |!])/g;function bi(e){return e.replace(/&/g,"&").replace(gi,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(yi,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function ki(e,t){var n=null;try{ui=ui||function(e){var t=new ni(e);return function(){try{return!!(new window.DOMParser).parseFromString(Un(""),"text/html")}catch(e){return!1}}()?new ti(t):t}(e);var i=t?String(t):"";n=ui.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=ui.getInertBodyElement(i)}while(i!==o);return Un((new mi).sanitizeChildren(Ci(n)||n))}finally{if(n)for(var a=Ci(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function Ci(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var wi=((wi=wi||{})[wi.NONE=0]="NONE",wi[wi.HTML=1]="HTML",wi[wi.STYLE=2]="STYLE",wi[wi.SCRIPT=3]="SCRIPT",wi[wi.URL=4]="URL",wi[wi.RESOURCE_URL=5]="RESOURCE_URL",wi);function xi(e){var t=Si();return t?jn(t.sanitize(wi.HTML,e)||""):Kn(e,"HTML")?jn(Gn(e)):ki(Ae(),y(e))}function Ei(e){var t=Si();return t?t.sanitize(wi.URL,e)||"":Kn(e,"URL")?Gn(e):oi(y(e))}function Si(){var e=He();return e&&e[12]}var Oi="__ngContext__";function Ai(e,t){e[Oi]=t}function Ti(e){var t=function(e){return e[Oi]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Pi(e){return e.ngOriginalError}function Ii(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&(e[n-1][4]=i[4]);var o=pn(e,10+t);!function(e,t){or(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);var a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function zi(e,t){if(!(256&t[2])){var n=t[11];Te(n)&&n.destroyNode&&or(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Yi(e[1],e);for(;t;){var n=null;if(ce(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)ce(t)&&Yi(t[1],t),t=t[3];null===t&&(t=e),ce(t)&&Yi(t[1],t),n=t&&t[4]}t=n}}(t)}}function Yi(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i=0?i[r=l]():i[r=-l].unsubscribe(),o+=2}else{var c=i[r=n[o+1]];n[o].call(c)}if(null!==i){for(var h=r+1;ho?"":r[c+1].toLowerCase();var f=8&i?h:null;if(f&&-1!==lr(f,l,0)||2&i&&l!==h){if(vr(i))return!1;a=!0}}}}else{if(!a&&!vr(i)&&!vr(u))return!1;if(a&&vr(u))continue;a=!1,i=u|1&i}}return vr(i)||a}function vr(e){return 0==(1&e)}function _r(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var o=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!vr(a)&&(t+=yr(o,r),r=""),i=a,o=o||!vr(i);n++}return""!==r&&(t+=yr(o,r)),t}var kr={};function Cr(e){wr(ze(),He(),mt()+e,Xe())}function wr(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&wt(t,r,n)}else{var o=e.preOrderHooks;null!==o&&xt(t,o,0,n)}gt(n)}function xr(e,t){return e<<17|t<<2}function Er(e){return e>>17&32767}function Sr(e){return 2|e}function Or(e){return(131068&e)>>2}function Ar(e,t){return-131069&e|t<<2}function Tr(e){return 1|e}function Pr(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i20&&wr(e,t,20,Xe()),n(i,r)}finally{gt(o)}}function Br(e,t,n){if(fe(t))for(var i=t.directiveEnd,r=t.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:De,i=t.localNames;if(null!==i)for(var r=t.index+1,o=0;o0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(i,r,a)}}function Kr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Wr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Qr(e,t,n){if(n){if(t.exportAs)for(var i=0;i0&&ro(n)}}function ro(e){for(var t=Bi(e);null!==t;t=Ui(t))for(var n=10;n0&&ro(i)}var o=e[1].components;if(null!==o)for(var a=0;a0&&ro(s)}}function oo(e,t){var n=Fe(t,e),i=n[1];(function(e,t){for(var n=t.length;n1&&void 0!==arguments[1]?arguments[1]:bn;if(t===bn){var n=new Error("NullInjectorError: No provider for ".concat(f(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),wo=new un("Set Injector scope."),xo={},Eo={};function So(){return void 0===bo&&(bo=new Co),bo}function Oo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new Ao(e,n,t||So(),i)}var Ao=function(){function e(t,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&fn(n,function(e){return r.processProvider(e,t,n)}),fn([t],function(e){return r.processInjectorType(e,[],a)}),this.records.set(ko,Io(void 0,this));var s=this.records.get(wo);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:f(t))}return _createClass(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:bn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.Default;this.assertNotDestroyed();var i,r=Sn(this),o=D(void 0);try{if(!(n&R.SkipSelf)){var a=this.records.get(e);if(void 0===a){var s=("function"==typeof(i=e)||"object"==typeof i&&i instanceof un)&&x(e);a=s&&this.injectableDefInScope(s)?Io(To(e),xo):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(n&R.Self?So():this.parent).get(e,t=n&R.Optional&&t===bn?null:t)}catch(u){if("NullInjectorError"===u.name){if((u[Cn]=u[Cn]||[]).unshift(f(e)),r)throw u;return Dn(u,e,"R3InjectorError",this.source)}throw u}finally{D(o),Sn(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(f(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=_(e)))return!1;var r=S(e),o=null==r&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(r=S(o)),null==r)return!1;if(null!=r.imports&&!s){var u;n.push(a);try{fn(r.imports,function(e){i.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))})}finally{}if(void 0!==u)for(var l=function(e){var t=u[e],n=t.ngModule,r=t.providers;fn(r,function(e){return i.processProvider(e,n,r||H)})},c=0;c0){var n=vn(t,"?");throw new Error("Can't resolve all parameters for ".concat(f(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[A]||e[P]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Po(e,t,n){var i;if(Do(e)){var r=_(e);return me(r)||To(r)}if(Ro(e))i=function(){return _(e.useValue)};else if(function(e){return!(!e||!e.useFactory)}(e))i=function(){return e.useFactory.apply(e,_toConsumableArray(Pn(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return An(_(e.useExisting))};else{var o=_(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return me(o)||To(o);i=function(){return _construct(o,_toConsumableArray(Pn(e.deps)))}}return i}function Io(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Ro(e){return null!==e&&"object"==typeof e&&En in e}function Do(e){return"function"==typeof e}var Mo=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=Oo(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)},Lo=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Mo(e,t,""):Mo(e.providers,e.parent,e.name||"")}}]),e}();function Fo(e,t){Ct(Ti(e)[1],Ge())}function No(e){for(var t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0,i=[e];t;){var r=void 0;if(ve(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var o=e;o.inputs=Bo(e.inputs),o.declaredInputs=Bo(e.declaredInputs),o.outputs=Bo(e.outputs);var a=r.hostBindings;a&&Zo(e,a);var s=r.viewQuery,u=r.contentQueries;if(s&&Uo(e,s),u&&jo(e,u),h(e.inputs,r.inputs),h(e.declaredInputs,r.declaredInputs),h(e.outputs,r.outputs),ve(r)&&r.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var f=0;f=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Rt(r.hostAttrs,n=Rt(n,r.hostAttrs))}}(i)}function Bo(e){return e===V?{}:e===H?[]:e}function Uo(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function jo(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function Zo(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}Lo.THROW_IF_NOT_FOUND=bn,Lo.NULL=new Co,Lo.\u0275prov=C({token:Lo,providedIn:"any",factory:function(){return An(ko)}}),Lo.__NG_ELEMENT_ID__=-1;var qo=null;function Vo(){if(!qo){var e=q.Symbol;if(e&&e.iterator)qo=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:R.Default,n=He();return null===n?An(e,t):Gt(Ge(),n,_(e),t)}function ea(e,t,n){var i=He();return Go(i,nt(),t)&&zr(ze(),yt(),i,e,t,i[11],n,!1),ea}function ta(e,t,n,i,r){var o=r?"class":"style";mo(e,n,t.inputs[o],o,i)}function na(e,t,n,i){var r=He(),o=ze(),a=20+e,s=r[11],u=r[a]=qi(s,t,qe.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,i,r,o,a){var s=t.consts,u=Rr(t,e,2,r,Ue(s,o));return Yr(t,n,u,Ue(s,a)),null!==u.attrs&&yo(u,u.attrs,!1),null!==u.mergedAttrs&&yo(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(a,o,r,0,t,n,i):o.data[a];We(l,!0);var c=l.mergedAttrs;null!==c&&Tt(s,u,c);var h=l.classes;null!==h&&ur(s,u,h);var f=l.styles;null!==f&&sr(s,u,f),64!=(64&l.flags)&&er(o,r,u,l),0===qe.lFrame.elementDepthCount&&Ai(u,r),qe.lFrame.elementDepthCount++,pe(l)&&(Ur(o,r,l),Br(o,l,r)),null!==i&&jr(r,l)}function ia(){var e=Ge();Qe()?Je():We(e=e.parent,!1);var t=e;qe.lFrame.elementDepthCount--;var n=ze();n.firstCreatePass&&(Ct(n,e),fe(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&ta(n,t,He(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&ta(n,t,He(),t.stylesWithoutHost,!1)}function ra(e,t,n,i){na(e,t,n,i),ia()}function oa(e,t,n){var i=He(),r=ze(),o=e+20,a=r.firstCreatePass?function(e,t,n,i,r){var o=t.consts,a=Ue(o,i),s=Rr(t,e,8,"ng-container",a);return null!==a&&yo(s,a,!0),Yr(t,n,s,Ue(o,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(o,r,i,t,n):r.data[o];We(a,!0);var s=i[o]=i[11].createComment("");er(r,i,s,a),Ai(s,i),pe(a)&&(Ur(r,i,a),Br(r,a,i)),null!=n&&jr(i,a)}function aa(){var e=Ge(),t=ze();Qe()?Je():We(e=e.parent,!1),t.firstCreatePass&&(Ct(t,e),fe(e)&&t.queries.elementEnd(e))}function sa(){return He()}function ua(e){return!!e&&"function"==typeof e.then}function la(e){return!!e&&"function"==typeof e.subscribe}var ca=la;function ha(e,t,n,i){var r=He(),o=ze(),a=Ge();return da(o,r,r[11],a,e,t,!!n,i),ha}function fa(e,t){var n=Ge(),i=He(),r=ze();return da(r,i,vo(at(r.data),n,i),n,e,t,!1),fa}function da(e,t,n,i,r,o,a,s){var u=pe(i),l=e.firstCreatePass&&po(e),c=t[8],h=fo(t),f=!0;if(3&i.type||s){var d=De(i,t),p=s?s(d):d,v=h.length,_=s?function(e){return s(Ie(e[i.index]))}:i.index;if(Te(n)){var m=null;if(!s&&u&&(m=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var o=0;ou?s[u]:null}"string"==typeof a&&(o+=2)}return null}(e,t,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,f=!1;else{o=va(i,t,c,o,!1);var g=n.listen(p,r,o);h.push(o,g),l&&l.push(r,_,v,v+1)}}else o=va(i,t,c,o,!0),p.addEventListener(r,o,a),h.push(o),l&&l.push(r,_,v,a)}else o=va(i,t,c,o,!1);var y,b=i.outputs;if(f&&null!==b&&(y=b[r])){var k=y.length;if(k)for(var C=0;C0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(qe.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,qe.lFrame.contextLView))[8]}(e)}function ma(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=He(),r=ze(),o=Rr(r,20+e,16,null,n||null);null===o.projection&&(o.projection=t),Je(),64!=(64&o.flags)&&function(e,t,n){ar(t[11],0,t,n,Gi(e,n,t),Xi(n.parent||t[6],n,t))}(r,i,o)}function ba(e,t,n){return ka(e,"",t,"",n),ba}function ka(e,t,n,i,r){var o=He(),a=Qo(o,t,n,i);return a!==kr&&zr(ze(),yt(),o,e,a,o[11],r,!1),ka}function Ca(e,t,n,i,r){for(var o=e[n+1],a=null===t,s=i?Er(o):Or(o),u=!1;0!==s&&(!1===u||a);){var l=e[s+1];wa(e[s],t)&&(u=!0,e[s+1]=i?Tr(l):Sr(l)),s=i?Er(l):Or(l)}u&&(e[n+1]=i?Sr(o):Tr(o))}function wa(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&gn(e,t)>=0}var xa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ea(e){return e.substring(xa.key,xa.keyEnd)}function Sa(e,t){var n=xa.textEnd;return n===t?-1:(t=xa.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,xa.key=t,n),Oa(e,t,n))}function Oa(e,t,n){for(;t=0;n=Sa(t,n))_n(e,Ea(t),!0)}function Ra(e,t,n,i){var r=He(),o=ze(),a=it(2);o.firstUpdatePass&&La(o,e,a,i),t!==kr&&Go(r,a,t)&&Ba(o,o.data[mt()],r,r[11],e,r[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=f(Gn(e)))),e}(t,n),i,a)}function Da(e,t,n,i){var r=ze(),o=it(2);r.firstUpdatePass&&La(r,null,o,i);var a=He();if(n!==kr&&Go(a,o,n)){var s=r.data[mt()];if(Za(s,i)&&!Ma(r,o)){var u=i?s.classesWithoutHost:s.stylesWithoutHost;null!==u&&(n=d(u,n||"")),ta(r,s,a,n,i)}else!function(e,t,n,i,r,o,a,s){r===kr&&(r=H);for(var u=0,l=0,c=0=e.expandoStartIndex}function La(e,t,n,i){var r=e.data;if(null===r[n+1]){var o=r[mt()],a=Ma(e,n);Za(o,i)&&null===t&&!a&&(t=!1),t=function(e,t,n,i){var r=at(e),o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Na(n=Fa(null,e,t,n,i),t.attrs,i),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=Fa(r,e,t,n,i),null===o){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==Or(i))return e[Er(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[Er(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=Na(s=Fa(null,e,t,s[1],i),t.attrs,i))}else o=function(e,t,n){for(var i,r=t.directiveEnd,o=1+t.directiveStylingLast;o0)&&(c=!0)}else l=n;if(r)if(0!==u){var f=Er(e[s+1]);e[i+1]=xr(f,s),0!==f&&(e[f+1]=Ar(e[f+1],i)),e[s+1]=function(e,t){return 131071&e|t<<17}(e[s+1],i)}else e[i+1]=xr(s,0),0!==s&&(e[s+1]=Ar(e[s+1],i)),s=i;else e[i+1]=xr(u,0),0===s?s=i:e[u+1]=Ar(e[u+1],i),u=i;c&&(e[i+1]=Sr(e[i+1])),Ca(e,l,i,!0),Ca(e,l,i,!1),function(e,t,n,i,r){var o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&gn(o,t)>=0&&(n[i+1]=Tr(n[i+1]))}(t,l,e,i,o),a=xr(s,u),o?t.classBindings=a:t.styleBindings=a}(r,o,t,n,a,i)}}function Fa(e,t,n,i,r){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var u=e[r],l=Array.isArray(u),c=l?u[1]:u,h=null===c,f=n[r+1];f===kr&&(f=h?H:void 0);var d=h?mn(f,i):c===i?f:void 0;if(l&&!ja(d)&&(d=mn(u,i)),ja(d)&&(a=d,s))return a;var p=e[r+1];r=s?Er(p):Or(p)}if(null!==t){var v=o?t.residualClasses:t.residualStyles;null!=v&&(a=mn(v,i))}return a}function ja(e){return void 0!==e}function Za(e,t){return 0!=(e.flags&(t?16:32))}function qa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=He(),i=ze(),r=e+20,o=i.firstCreatePass?Rr(i,r,1,t,null):i.data[r],a=n[r]=function(e,t){return Te(e)?e.createText(t):e.createTextNode(t)}(n[11],t);er(i,n,a,o),We(o,!1)}function Va(e){return Ha("",e,""),Va}function Ha(e,t,n){var i=He(),r=Qo(i,e,t,n);return r!==kr&&go(i,mt(),r),Ha}function za(e,t,n,i,r){var o=He(),a=function(e,t,n,i,r,o){var a=Ko(e,tt(),n,r);return it(2),a?t+y(n)+i+y(r)+o:kr}(o,e,t,n,i,r);return a!==kr&&go(o,mt(),a),za}function Ya(e,t,n,i,r,o,a){var s=He(),u=function(e,t,n,i,r,o,a,s){var u=function(e,t,n,i,r){var o=Ko(e,t,n,i);return Go(e,t+2,r)||o}(e,tt(),n,r,a);return it(3),u?t+y(n)+i+y(r)+o+y(a)+s:kr}(s,e,t,n,i,r,o,a);return u!==kr&&go(s,mt(),u),Ya}function Ga(e,t,n){Da(_n,Ia,Qo(He(),e,t,n),!0)}function Ka(e,t,n){var i=He();return Go(i,nt(),t)&&zr(ze(),yt(),i,e,t,i[11],n,!0),Ka}function Wa(e,t,n){var i=He();if(Go(i,nt(),t)){var r=ze(),o=yt();zr(r,o,i,e,t,vo(at(r.data),o,i),n,!0)}return Wa}var Qa=void 0,Ja=["en",[["a","p"],["AM","PM"],Qa],[["AM","PM"],Qa,Qa],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Qa,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Qa,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Qa,"{1} 'at' {0}",Qa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Xa={};function $a(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=ts(t);if(n)return n;var i=t.split("-")[0];if(n=ts(i))return n;if("en"===i)return Ja;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function es(e){return $a(e)[ns.PluralCase]}function ts(e){return e in Xa||(Xa[e]=q.ng&&q.ng.common&&q.ng.common.locales&&q.ng.common.locales[e]),Xa[e]}var ns=((ns=ns||{})[ns.LocaleId=0]="LocaleId",ns[ns.DayPeriodsFormat=1]="DayPeriodsFormat",ns[ns.DayPeriodsStandalone=2]="DayPeriodsStandalone",ns[ns.DaysFormat=3]="DaysFormat",ns[ns.DaysStandalone=4]="DaysStandalone",ns[ns.MonthsFormat=5]="MonthsFormat",ns[ns.MonthsStandalone=6]="MonthsStandalone",ns[ns.Eras=7]="Eras",ns[ns.FirstDayOfWeek=8]="FirstDayOfWeek",ns[ns.WeekendRange=9]="WeekendRange",ns[ns.DateFormat=10]="DateFormat",ns[ns.TimeFormat=11]="TimeFormat",ns[ns.DateTimeFormat=12]="DateTimeFormat",ns[ns.NumberSymbols=13]="NumberSymbols",ns[ns.NumberFormats=14]="NumberFormats",ns[ns.CurrencyCode=15]="CurrencyCode",ns[ns.CurrencySymbol=16]="CurrencySymbol",ns[ns.CurrencyName=17]="CurrencyName",ns[ns.Currencies=18]="Currencies",ns[ns.Directionality=19]="Directionality",ns[ns.PluralCase=20]="PluralCase",ns[ns.ExtraData=21]="ExtraData",ns),is="en-US";function rs(e){(function(e,t){null==e&&function(e,t,n,i){throw new Error("ASSERTION ERROR: ".concat(e)+" [Expected=> ".concat(null," ").concat("!="," ").concat(t," <=Actual]"))}(t,e)})(e,"Expected localeId to be defined"),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function os(e,t,n,i,r){if(e=_(e),Array.isArray(e))for(var o=0;o>20;if(Do(e)||!e.multi){var p=new At(l,r,$o),v=us(u,t,r?h:h+d,f);-1===v?(Ht(jt(c,s),a,u),as(a,e,t.length),t.push(u),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[v]=p,s[v]=p)}else{var m=us(u,t,h+d,f),g=us(u,t,h,h+d),y=m>=0&&n[m],b=g>=0&&n[g];if(r&&!b||!r&&!y){Ht(jt(c,s),a,u);var k=function(e,t,n,i,r){var o=new At(e,n,$o);return o.multi=[],o.index=t,o.componentProviders=0,ss(o,r,i&&!n),o}(r?cs:ls,n.length,r,i,l);!r&&b&&(n[g].providerFactory=k),as(a,e,t.length,0),t.push(u),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(k),s.push(k)}else as(a,e,m>-1?m:g,ss(n[r?g:m],l,!r&&i));!r&&i&&b&&n[g].componentProviders++}}}function as(e,t,n,i){var r=Do(t);if(r||function(e){return!!e.useClass}(t)){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[i,o]):a[s+1].push(i,o)}else a.push(n,o)}}}function ss(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function us(e,t,n,i){for(var r=n;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=ze();if(i.firstCreatePass){var r=ve(e);os(n,i.data,i.blueprint,r,!0),os(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}}var ds=function e(){_classCallCheck(this,e)},ps=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(f(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),vs=function e(){_classCallCheck(this,e)};function _s(){}function ms(e,t){return new ys(De(e,t))}vs.NULL=new ps;var gs,ys=((gs=function e(t){_classCallCheck(this,e),this.nativeElement=t}).__NG_ELEMENT_ID__=function(){return ms(Ge(),He())},gs);function bs(e){return e instanceof ys?e.nativeElement:e}var ks=function e(){_classCallCheck(this,e)},Cs=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return ws()},e}(),ws=function(){var e=He(),t=Fe(Ge().index,e);return function(e){return e[11]}(ce(t)?t:e)},xs=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=C({token:e,providedIn:"root",factory:function(){return null}}),e}(),Es=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},Ss=new Es("12.2.4"),Os=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return zo(e)}},{key:"create",value:function(e){return new Ts(e)}}]),e}(),As=function(e,t){return t},Ts=function(){function e(t){_classCallCheck(this,e),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||As}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var o=!n||t&&t.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=t[n.index];if(null!==o&&i.push(Ie(o)),he(o))for(var a=10;a-1&&(Hi(e,n),pn(t,n))}this._attachedToViewContainer=!1}zi(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Vr(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){so(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){uo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){$e(!0);try{uo(e,t,n)}finally{$e(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,or(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Vs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e))._view=e,i}return _createClass(n,[{key:"detectChanges",value:function(){lo(this._view)}},{key:"checkNoChanges",value:function(){!function(e){$e(!0);try{lo(e)}finally{$e(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(qs),Hs=function(e){return function(e,t,n){if(de(e)&&!n){var i=Fe(e.index,t);return new qs(i,i)}return 47&e.type?new qs(t[16],t):null}(Ge(),He(),16==(16&e))},zs=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=Hs,e}(),Ys=[new Ms],Gs=new Bs([new Os]),Ks=new js(Ys),Ws=function(){return Xs(Ge(),He())},Qs=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=Ws,e}(),Js=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this))._declarationLView=e,o._declarationTContainer=i,o.elementRef=r,o}return _createClass(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Ir(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),Mr(t,n,e),new qs(n)}}]),n}(Qs);function Xs(e,t){return 4&e.type?new Js(t,e,ms(e,t)):null}var $s=function e(){_classCallCheck(this,e)},eu=function e(){_classCallCheck(this,e)},tu=function(){return au(Ge(),He())},nu=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=tu,e}(),iu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this))._lContainer=e,o._hostTNode=i,o._hostLView=r,o}return _createClass(n,[{key:"element",get:function(){return ms(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new tn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=Vt(this._hostTNode,this._hostLView);if(Mt(e)){var t=Ft(e,this._hostLView),n=Lt(e);return new tn(t[1].data[n+8],t)}return new tn(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=ru(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){var a=o.get($s,null);a&&(r=a)}var s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var i=e._lView,r=i[1];if(he(i[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var a=i[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(e))}}var u=this._adjustIndex(t),l=this._lContainer;!function(e,t,n,i){var r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(nu);function ru(e){return e[8]}function ou(e){return e[8]||(e[8]=[])}function au(e,t){var n,i=t[e.index];if(he(i))n=i;else{var r;if(8&e.type)r=Ie(i);else{var o=t[11];r=o.createComment("");var a=De(e,t);Ki(o,Ji(o,a),r,function(e,t){return Te(e)?e.nextSibling(t):t.nextSibling}(o,a),!1)}t[e.index]=n=no(i,t,r,e),ao(t,n)}return new iu(n,e,t)}var su={},uu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).ngModule=e,i}return _createClass(n,[{key:"resolveComponentFactory",value:function(e){var t=ue(e);return new hu(t,this.ngModule)}}]),n}(vs);function lu(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var cu=new un("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Di}}),hu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).componentDef=e,r.ngModule=i,r.componentType=e.type,r.selector=e.selectors.map(br).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!i,r}return _createClass(n,[{key:"inputs",get:function(){return lu(this.componentDef.inputs)}},{key:"outputs",get:function(){return lu(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,i){var r,o,a=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,r){var o=e.get(n,su,r);return o!==su||i===su?o:t.get(n,i,r)}}}(e,i.injector):e,s=a.get(ks,Pe),u=a.get(xs,null),l=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Te(e))return e.selectRootElement(t,n===N.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(l,n,this.componentDef.encapsulation):qi(s.createRenderer(null,this.componentDef),c,function(e){var t=e.toLowerCase();return"svg"===t?Se:"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:Di,clean:ho,playerHandler:null,flags:0},p=qr(0,null,null,1,0,null,null,null,null,null),v=Ir(null,p,d,f,null,null,s,l,u,a);ht(v);try{var _=function(e,t,n,i,r,o){var a=n[1];n[20]=e;var s=Rr(a,20,2,"#host",null),u=s.mergedAttrs=t.hostAttrs;null!==u&&(yo(s,u,!0),null!==e&&(Tt(r,e,u),null!==s.classes&&ur(r,e,s.classes),null!==s.styles&&sr(r,e,s.styles)));var l=i.createRenderer(e,t),c=Ir(n,Zr(t),null,t.onPush?64:16,n[20],s,i,l,null,null);return a.firstCreatePass&&(Ht(jt(s,n),a,t.type),Wr(a,s),Jr(s,n.length,1)),ao(n,c),n[20]=c}(h,this.componentDef,v,s,l);if(h)if(n)Tt(l,h,["ng-version",Ss.full]);else{var m=function(e){for(var t=[],n=[],i=1,r=2;i0&&ur(l,h,y.join(" "))}if(o=Me(p,20),void 0!==t)for(var b=o.projection=[],k=0;k1&&void 0!==arguments[1]?arguments[1]:Lo.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R.Default;return e===Lo||e===$s||e===ko?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}($s),vu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).moduleType=e,null!==le(e)&&function(e){var t=new Set;!function e(n){var i=le(n,!0),r=i.id;null!==r&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(f(t)," vs ").concat(f(t.name)))}(r,du.get(r),n),du.set(r,n));var o,a=_createForOfIteratorHelper(Mi(i.imports));try{for(a.s();!(o=a.n()).done;){var s=o.value;t.has(s)||(t.add(s),e(s))}}catch(u){a.e(u)}finally{a.f()}}(e)}(e),i}return _createClass(n,[{key:"create",value:function(e){return new pu(this.moduleType,e)}}]),n}(eu);function _u(e,t,n,i){return mu(He(),et(),e,t,n,i)}function mu(e,t,n,i,r,o){var a=t+n;return Go(e,a,r)?function(e,t,n){return e[t]=n}(e,a+1,o?i.call(o,r):i(r)):function(e,t){var n=e[t];return n===kr?void 0:n}(e,a+1)}function gu(e,t){var n,i=ze(),r=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new g("302","The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var o=n.factory||(n.factory=me(n.type)),a=D($o);try{var s=Bt(!1),u=o();return Bt(s),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(i,He(),r,u),u}finally{D(a)}}function yu(e,t,n){var i=e+20,r=He(),o=Le(r,i);return function(e,t){return Ho.isWrapped(t)&&(t=Ho.unwrap(t),e[tt()]=kr),t}(r,function(e,t){return e[1].data[t].pure}(r,i)?mu(r,et(),t,o.transform,n,o):o.transform(n))}function bu(e){return function(t){setTimeout(e,void 0,t)}}var ku=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=i,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,i){var o,a,s,u=e,l=t||function(){return null},c=i;if(e&&"object"==typeof e){var h=e;u=null===(o=h.next)||void 0===o?void 0:o.bind(h),l=null===(a=h.error)||void 0===a?void 0:a.bind(h),c=null===(s=h.complete)||void 0===s?void 0:s.bind(h)}this.__isAsync&&(l=bu(l),u&&(u=bu(u)),c&&(c=bu(c)));var f=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,{next:u,error:l,complete:c});return e instanceof r.w&&e.add(f),f}}]),n}(i.xQ);function Cu(){return this._results[Vo()]()}var wu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_classCallCheck(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=Vo(),i=e.prototype;i[n]||(i[n]=Cu)}return _createClass(e,[{key:"changes",get:function(){return this._changes||(this._changes=new ku)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){var n=this;n.dirty=!1;var i=hn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],o=0;o2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,e),this.predicate=t,this.flags=n,this.read=i},Ou=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i0)i.push(a[s/2]);else{for(var l=o[s+1],c=t[-u],h=10;h0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(e){return e.timeoutId!==r}),e(i._didWork,i.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(An(sl))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}(),vl=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,gl.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return gl.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function _l(e){gl=e}var ml,gl=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),yl=!0,bl=!1;function kl(){return bl=!0,yl}function Cl(){if(bl)throw new Error("Cannot enable prod mode after platform setup.");yl=!1}var wl=new un("AllowMultipleToken"),xl=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function El(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(t),r=new un(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Sl();if(!o||o.injector.get(wl,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var a=n.concat(t).concat({provide:r,useValue:!0},{provide:wo,useValue:"platform"});!function(e){if(ml&&!ml.destroyed&&!ml.injector.get(wl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ml=e.get(Ol);var t=e.get(zu,null);t&&t.forEach(function(e){return e()})}(Lo.create({providers:a,name:i}))}return function(e){var t=Sl();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function Sl(){return ml&&!ml.destroyed?ml:null}var Ol=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n=this,i=function(e,t){return"noop"===e?new dl:("zone.js"===e?void 0:e)||new sl({enableLongStackTrace:kl(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)})}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),r=[{provide:sl,useValue:i}];return i.run(function(){var o=Lo.create({providers:r,parent:n.injector,name:e.moduleType.name}),a=e.create(o),s=a.injector.get(Ri,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.runOutsideAngular(function(){var e=i.onError.subscribe({next:function(e){s.handleError(e)}});a.onDestroy(function(){Pl(n._modules,a),e.unsubscribe()})}),function(e,i,r){try{var o=((s=a.injector.get(Zu)).runInitializers(),s.donePromise.then(function(){return rs(a.injector.get(Wu,is)||is),n._moduleDoBootstrap(a),a}));return ua(o)?o.catch(function(t){throw i.runOutsideAngular(function(){return e.handleError(t)}),t}):o}catch(t){throw i.runOutsideAngular(function(){return e.handleError(t)}),t}var s}(s,i)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Al({},n);return function(e,t,n){var i=new vu(n);return Promise.resolve(i)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,i)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(Tl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(f(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(An(Lo))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function Al(e,t){return Array.isArray(t)?t.reduce(Al,e):Object.assign(Object.assign({},e),t)}var Tl=function(){var e=function(){function e(t,n,i,r,c){var h=this;_classCallCheck(this,e),this._zone=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){h._zone.run(function(){h.tick()})}});var f=new o.y(function(e){h._stable=h._zone.isStable&&!h._zone.hasPendingMacrotasks&&!h._zone.hasPendingMicrotasks,h._zone.runOutsideAngular(function(){e.next(h._stable),e.complete()})}),d=new o.y(function(e){var t;h._zone.runOutsideAngular(function(){t=h._zone.onStable.subscribe(function(){sl.assertNotInAngularZone(),al(function(){!h._stable&&!h._zone.hasPendingMacrotasks&&!h._zone.hasPendingMicrotasks&&(h._stable=!0,e.next(!0))})})});var n=h._zone.onUnstable.subscribe(function(){sl.assertInAngularZone(),h._stable&&(h._stable=!1,h._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=(0,a.T)(f,d.pipe(function(e){return(0,u.x)()(function(e,t){return function(t){var n;n="function"==typeof e?e:function(){return e};var i=Object.create(t,s.N);return i.source=t,i.subjectFactory=n,i}}(l)(e))}))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof ds?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=function(e){return e.isBoundToModule}(n)?void 0:this._injector.get($s),o=n.create(Lo.NULL,[],t||n.selector,r),a=o.location.nativeElement,s=o.injector.get(pl,null),u=s&&o.injector.get(vl);return s&&u&&u.registerApplication(a,s),o.onDestroy(function(){i.detachView(o.hostView),Pl(i.components,o),u&&u.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;){var i;t.value.detectChanges()}}catch(r){n.e(r)}finally{n.f()}}catch(i){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(i)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Pl(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Gu,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(An(sl),An(Lo),An(Ri),An(vs),An(Zu))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function Pl(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Il=function e(){_classCallCheck(this,e)},Rl=function e(){_classCallCheck(this,e)},Dl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ml=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||Dl}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,i=_slicedToArray(e.split("#"),2),r=i[0],o=i[1];return void 0===o&&(o="default"),n(8255)(r).then(function(e){return e[o]}).then(function(e){return Ll(e,r,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=_slicedToArray(e.split("#"),2),i=t[0],r=t[1],o="NgFactory";return void 0===r&&(r="default",o=""),n(8255)(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[r+o]}).then(function(e){return Ll(e,i,r)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(An(rl),An(Rl,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac}),e}();function Ll(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Fl=function(e){return null},Nl=El(null,"core",[{provide:Yu,useValue:"unknown"},{provide:Ol,deps:[Lo]},{provide:vl,deps:[]},{provide:Ku,deps:[]}]),Bl=[{provide:Tl,useClass:Tl,deps:[sl,Lo,Ri,vs,Zu]},{provide:cu,deps:[sl],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Zu,useClass:Zu,deps:[[new Nn,ju]]},{provide:rl,useClass:rl,deps:[]},Vu,{provide:Bs,useFactory:function(){return Gs},deps:[]},{provide:js,useFactory:function(){return Ks},deps:[]},{provide:Wu,useFactory:function(e){return rs(e=e||"undefined"!=typeof $localize&&$localize.locale||is),e},deps:[[new Fn(Wu),new Nn,new Bn]]},{provide:Qu,useValue:"USD"}],Ul=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)(An(Tl))},e.\u0275mod=ie({type:e}),e.\u0275inj=w({providers:Bl}),e}()},665:function(e,t,n){"use strict";n.d(t,{Zs:function(){return ce},sg:function(){return ae},u5:function(){return fe},Cf:function(){return h},JU:function(){return c},a5:function(){return P},JL:function(){return I},F:function(){return ne},_Y:function(){return ie}});var i=n(3018),r=(n(8583),n(7574)),o=n(9796),a=n(8002),s=n(1555),u=n(4402);function l(e,t){return new r.y(function(n){var i=e.length;if(0!==i)for(var r=new Array(i),o=0,a=0,s=function(s){var l=(0,u.D)(e[s]),c=!1;n.add(l.subscribe({next:function(e){c||(c=!0,a++),r[s]=e},error:function(e){return n.error(e)},complete:function(){(++o===i||!c)&&(a===i&&n.next(t?t.reduce(function(e,t,n){return e[t]=r[n],e},{}):r),n.complete())}}))},l=0;l0){var r=i.filter(function(e){return e!==t.validator});r.length!==i.length&&(n=!0,e.setValidators(r))}}if(null!==t.asyncValidator){var o=C(e);if(Array.isArray(o)&&o.length>0){var a=o.filter(function(e){return e!==t.asyncValidator});a.length!==o.length&&(n=!0,e.setAsyncValidators(a))}}}var s=function(){};return M(t._rawValidators,s),M(t._rawAsyncValidators,s),n}function N(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function B(e,t){L(e,t)}function U(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function j(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Z="VALID",q="INVALID",V="PENDING",H="DISABLED";function z(e){return(W(e)?e.validators:e)||null}function Y(e){return Array.isArray(e)?g(e):e||null}function G(e,t){return(W(t)?t.asyncValidators:e)||null}function K(e){return Array.isArray(e)?y(e):e||null}function W(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Q=function(){function e(t,n){_classCallCheck(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=Y(this._rawValidators),this._composedAsyncValidatorFn=K(this._rawAsyncValidators)}return _createClass(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===Z}},{key:"invalid",get:function(){return this.status===q}},{key:"pending",get:function(){return this.status==V}},{key:"disabled",get:function(){return this.status===H}},{key:"enabled",get:function(){return this.status!==H}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=Y(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=K(e)}},{key:"addValidators",value:function(e){this.setValidators(E(e,this._rawValidators))}},{key:"addAsyncValidators",value:function(e){this.setAsyncValidators(E(e,this._rawAsyncValidators))}},{key:"removeValidators",value:function(e){this.setValidators(S(e,this._rawValidators))}},{key:"removeAsyncValidators",value:function(e){this.setAsyncValidators(S(e,this._rawAsyncValidators))}},{key:"hasValidator",value:function(e){return x(this._rawValidators,e)}},{key:"hasAsyncValidator",value:function(e){return x(this._rawAsyncValidators,e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=V,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status=H,this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status=Z,this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Z||this.status===V)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?H:Z}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status=V,this._hasOwnPendingAsyncValidator=!0;var n=p(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t||(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length))return null;var i=e;return t.forEach(function(e){i=i instanceof X?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof $&&i.at(e)||null}),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?H:this.errors?q:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(V)?V:this._anyControlsHaveStatus(q)?q:Z}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){W(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),J=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this,z(r),G(o,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!e.asyncValidator}),e}return _createClass(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){j(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){j(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(Q),X=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,z(i),G(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return _createClass(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(Object.keys(e).forEach(function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof J?t.value:t.getRawValue(),e})}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach(function(n){var i=t.controls[n];i&&e(i,n)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(Q),$=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,z(i),G(r,i))).controls=e,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return _createClass(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach(function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(e.forEach(function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map(function(e){return e instanceof J?e.value:e.getRawValue()})}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),n}(Q),ee={provide:T,useExisting:(0,i.Gpc)(function(){return ne})},te=Promise.resolve(null),ne=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).submitted=!1,o._directives=[],o.ngSubmit=new i.vpe,o.form=new X({},g(e),y(r)),o}return _createClass(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;te.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),R(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;te.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),j(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;te.then(function(){var n=t._findContainer(e.path),i=new X({});B(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;te.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;te.then(function(){n.form.get(e.path).setValue(t)})}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,U(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}]),n}(T);return e.\u0275fac=function(t){return new(t||e)(i.Y36(h,10),i.Y36(f,10))},e.\u0275dir=i.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([ee]),i.qOj]}),e}(),ie=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),re=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e}(),oe={provide:T,useExisting:(0,i.Gpc)(function(){return ae})},ae=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).validators=e,o.asyncValidators=r,o.submitted=!1,o._onCollectionChange=function(){return o._updateDomValue()},o.directives=[],o.form=null,o.ngSubmit=new i.vpe,o._setValidators(e),o._setAsyncValidators(r),o}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(F(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return R(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){D(e.control||null,e,!1),j(this.directives,e)}},{key:"addFormGroup",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormGroup",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormArray",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,U(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach(function(t){var n=t.control,i=e.form.get(t.path);n!==i&&(D(n||null,t),i instanceof J&&(R(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(e){var t=this.form.get(e.path);B(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(e){if(this.form){var t=this.form.get(e.path);t&&function(e,t){return F(e,t)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){L(this.form,this),this._oldForm&&F(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(T);return e.\u0275fac=function(t){return new(t||e)(i.Y36(h,10),i.Y36(f,10))},e.\u0275dir=i.lG2({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([oe]),i.qOj,i.TTD]}),e}(),se={provide:h,useExisting:(0,i.Gpc)(function(){return le}),multi:!0},ue={provide:h,useExisting:(0,i.Gpc)(function(){return ce}),multi:!0},le=function(){var e=function(){function e(){_classCallCheck(this,e),this._required=!1}return _createClass(e,[{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&"false"!="".concat(e),this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this.required?function(e){return function(e){return null==e||0===e.length}(e.value)?{required:!0}:null}(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.lG2({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t.required?"":null)},inputs:{required:"required"},features:[i._Bn([se])]}),e}(),ce=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"validate",value:function(e){return this.required?function(e){return!0===e.value?null:{required:!0}}(e):null}}]),n}(le);return t.\u0275fac=function(n){return(e||(e=i.n5z(t)))(n||t)},t.\u0275dir=i.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("required",t.required?"":null)},features:[i._Bn([ue]),i.qOj]}),t}(),he=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[re]]}),e}(),fe=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[he]}),e}()},1095:function(e,t,n){"use strict";n.d(t,{zs:function(){return p},lW:function(){return d},ot:function(){return v}});var i,r=n(2458),o=n(6237),a=n(3018),s=n(9238),u=["mat-button",""],l=["*"],c=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",h=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],f=(0,r.pj)((0,r.Id)((0,r.Kr)(function(){return function e(t){_classCallCheck(this,e),this._elementRef=t}}()))),d=((i=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;_classCallCheck(this,n),(o=t.call(this,e))._focusMonitor=i,o._animationMode=r,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var a,s=_createForOfIteratorHelper(h);try{for(s.s();!(a=s.n()).done;){var u=a.value;o._hasHostAttributes(u)&&o._getHostElement().classList.add(u)}}catch(l){s.e(l)}finally{s.f()}return e.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return _createClass(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:0;return function(e){_inherits(i,e);var n=_createSuper(i);function i(){var e;_classCallCheck(this,i);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},O),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var a=i.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),s=e-r.left,u=t-r.top,l=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-a+"px",c.style.top=u-a+"px",c.style.height=2*a+"px",c.style.width=2*a+"px",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration="".concat(l,"ms"),this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var h=new S(this,c,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var e=h===n._mostRecentTransientRipple;h.state=1,!i.persistent&&(!e||!n._isPointerDown)&&h.fadeOut()},l),h}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},O),e.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=(0,u.fI)(e);!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(T))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(P),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=(0,r.X6)(e),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,A)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(T.forEach(function(t){e._triggerElement.removeEventListener(t,e,A)}),this._pointerUpEventsRegistered&&P.forEach(function(t){e._triggerElement.removeEventListener(t,e,A)}))}}]),e}(),R=new i.OlP("mat-ripple-global-options"),D=function(){var e=function(){function e(t,n,i,r,o){_classCallCheck(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new I(this,n,t,i)}return _createClass(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(c.t4),i.Y36(R,8),i.Y36(h.Qb,8))},e.\u0275dir=i.lG2({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&i.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),M=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[y,c.ud],y]}),e}(),L=function(){var e=function e(t){_classCallCheck(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1};return e.\u0275fac=function(t){return new(t||e)(i.Y36(h.Qb,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e}(),F=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[y]]}),e}(),N=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),B=b(function(){return function e(){_classCallCheck(this,e)}}()),U=0,j=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i,r;return _classCallCheck(this,n),(i=t.call(this))._labelId="mat-optgroup-label-"+U++,i._inert=null!==(r=null==e?void 0:e.inertGroups)&&void 0!==r&&r,i}return n}(B);return e.\u0275fac=function(t){return new(t||e)(i.Y36(N,8))},e.\u0275dir=i.lG2({type:e,inputs:{label:"label"},features:[i.qOj]}),e}(),Z=new i.OlP("MatOptgroup"),q=0,V=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_classCallCheck(this,e),this.source=t,this.isUserInput=n},H=function(){var e=function(){function e(t,n,r,o){_classCallCheck(this,e),this._element=t,this._changeDetectorRef=n,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+q++,this.onSelectionChange=new i.vpe,this._stateChanges=new l.xQ}return _createClass(e,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=(0,u.Ig)(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){(e.keyCode===f.K5||e.keyCode===f.L_)&&!(0,f.Vb)(e)&&(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new V(this,e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(j))},e.\u0275dir=i.lG2({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),z=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){return _classCallCheck(this,n),t.call(this,e,i,r,o)}return n}(H);return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(N,8),i.Y36(Z,8))},e.\u0275cmp=i.Xpm({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(i.Ikx("id",t.id),i.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),i.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:_,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,d,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,p,2,1,"span",2),i._UZ(4,"div",3)),2&e&&(i.Q6J("ngIf",t.multiple),i.xp6(3),i.Q6J("ngIf",t.group&&t.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[s.O5,D,L],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}();function Y(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),o=0,a=0;an+i?Math.max(0,e-i+t):n}var K=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[M,s.ez,y,F]]}),e}()},2238:function(e,t,n){"use strict";n.d(t,{WI:function(){return A},uw:function(){return D},H8:function(){return B},ZT:function(){return L},xY:function(){return N},Is:function(){return j},so:function(){return S},uh:function(){return F}});var i=n(625),r=n(7636),o=n(3018),a=n(2458),s=n(946),u=n(8583),l=n(9765),c=n(1439),h=n(5917),f=n(5435),d=n(5257),p=n(9761),v=n(521),_=n(7238),m=n(6461),g=n(9238);function y(e,t){}var b,k=function e(){_classCallCheck(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},C={dialogContainer:(0,_.X$)("dialogContainer",[(0,_.SB)("void, exit",(0,_.oB)({opacity:0,transform:"scale(0.7)"})),(0,_.SB)("enter",(0,_.oB)({transform:"none"})),(0,_.eR)("* => enter",(0,_.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,_.oB)({transform:"none",opacity:1}))),(0,_.eR)("* => void, * => exit",(0,_.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,_.oB)({opacity:0})))])},w=((b=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,s,u){var l;return _classCallCheck(this,n),(l=t.call(this))._elementRef=e,l._focusTrapFactory=i,l._changeDetectorRef=r,l._config=s,l._focusMonitor=u,l._animationStateChanged=new o.vpe,l._elementFocusedBeforeDialogWasOpened=null,l._closeInteractionType=null,l.attachDomPortal=function(e){return l._portalOutlet.hasAttached(),l._portalOutlet.attachDomPortal(e)},l._ariaLabelledBy=s.ariaLabelledBy||null,l._document=a,l}return _createClass(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=(0,v.ht)(),n=this._elementRef.nativeElement;(!t||t===this._document.body||t===n||n.contains(t))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,v.ht)())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=(0,v.ht)();return e===t||e.contains(t)}}]),n}(r.en)).\u0275fac=function(e){return new(e||b)(o.Y36(o.SBq),o.Y36(g.qV),o.Y36(o.sBO),o.Y36(u.K0,8),o.Y36(k),o.Y36(g.tE))},b.\u0275dir=o.lG2({type:b,viewQuery:function(e,t){var n;1&e&&o.Gf(r.Pl,7),2&e&&o.iGM(n=o.CRH())&&(t._portalOutlet=n.first)},features:[o.qOj]}),b),x=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._state="enter",e}return _createClass(n,[{key:"_onAnimationDone",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(w);return t.\u0275fac=function(n){return(e||(e=o.n5z(t)))(n||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&o.WFA("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(o.Ikx("id",t._id),o.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),o.d8E("@dialogContainer",t._state))},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&o.YNc(0,y,0,0,"ng-template",0)},directives:[r.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[C.dialogContainer]}}),t}(),E=0,S=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+E++;_classCallCheck(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new l.xQ,this._afterClosed=new l.xQ,this._beforeClosed=new l.xQ,this._state=0,n._id=r,n._animationStateChanged.pipe((0,f.h)(function(e){return"opened"===e.state}),(0,d.q)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe((0,f.h)(function(e){return"closed"===e.state}),(0,d.q)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),t.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),t.keydownEvents().pipe((0,f.h)(function(e){return e.keyCode===m.hY&&!i.disableClose&&!(0,m.Vb)(e)})).subscribe(function(e){e.preventDefault(),O(i,"keyboard")}),t.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():O(i,"mouse")})}return _createClass(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe((0,f.h)(function(e){return"closing"===e.state}),(0,d.q)(1)).subscribe(function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function O(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}var A=new o.OlP("MatDialogData"),T=new o.OlP("mat-dialog-default-options"),P=new o.OlP("mat-dialog-scroll-strategy"),I={provide:P,deps:[i.aV],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},R=function(){var e=function(){function e(t,n,i,r,o,a,s,u,h){var f=this;_classCallCheck(this,e),this._overlay=t,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=o,this._dialogRefConstructor=s,this._dialogContainerType=u,this._dialogDataToken=h,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new l.xQ,this._afterOpenedAtThisLevel=new l.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,c.P)(function(){return f.openDialogs.length?f._getAfterAllClosed():f._getAfterAllClosed().pipe((0,p.O)(void 0))}),this._scrollStrategy=a}return _createClass(e,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new k)).id&&this.getDialogById(t.id);var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),o=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return n._removeOpenDialog(o)}),this.afterOpened.next(o),r._initializeWithAttachedContent(),o}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find(function(t){return t.id===e})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}},{key:"_attachDialogContainer",value:function(e,t){var n=o.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:k,useValue:t}]}),i=new r.C5(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,i){var a=new this._dialogRefConstructor(n,t,i.id);if(e instanceof o.Rgc)t.attachTemplatePortal(new r.UE(e,null,{$implicit:i.data,dialogRef:a}));else{var s=this._createInjector(i,a,t),u=t.attachComponentPortal(new r.C5(e,i.viewContainerRef,s));a.componentInstance=u.instance}return a.updateSize(i.width,i.height).updatePosition(i.position),a}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return e.direction&&(!i||!i.get(s.Is,null,o.XFs.Optional))&&r.push({provide:s.Is,useValue:{value:e.direction,change:(0,h.of)()}}),o.zs3.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var i=t[n];i!==e&&"SCRIPT"!==i.nodeName&&"STYLE"!==i.nodeName&&!i.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(i.aV),o.Y36(o.zs3),o.Y36(void 0),o.Y36(void 0),o.Y36(i.Xj),o.Y36(void 0),o.Y36(o.DyG),o.Y36(o.DyG),o.Y36(o.OlP))},e.\u0275dir=o.lG2({type:e}),e}(),D=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,u){return _classCallCheck(this,n),t.call(this,e,i,o,s,u,a,S,x,A)}return n}(R);return e.\u0275fac=function(t){return new(t||e)(o.LFG(i.aV),o.LFG(o.zs3),o.LFG(u.Ye,8),o.LFG(T,8),o.LFG(P),o.LFG(e,12),o.LFG(i.Xj))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),M=0,L=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.dialogRef=t,this._elementRef=n,this._dialog=i,this.type="button"}return _createClass(e,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=U(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(e){var t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}},{key:"_onButtonClick",value:function(e){O(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S,8),o.Y36(o.SBq),o.Y36(D))},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&o.NdJ("click",function(e){return t._onButtonClick(e)}),2&e&&o.uIk("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[o.TTD]}),e}(),F=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+M++}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=U(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(S,8),o.Y36(o.SBq),o.Y36(D))},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&o.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),N=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}(),B=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e}();function U(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(function(e){return e.id===n.id}):null}var j=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[D,I],imports:[[i.U8,r.eL,a.BQ],a.BQ]}),e}()},8295:function(e,t,n){"use strict";n.d(t,{G_:function(){return K},o2:function(){return G},KE:function(){return W},Eo:function(){return B},lN:function(){return Q},hX:function(){return j},R9:function(){return H}});var i=n(8553),r=n(8583),o=n(3018),a=n(2458),s=n(9490),u=n(9765),l=n(6682),c=n(2759),h=n(9761),f=n(6782),d=n(5257),p=n(7238),v=n(6237),_=n(946),m=n(521),g=["underline"],y=["connectionContainer"],b=["inputContainer"],k=["label"];function C(e,t){1&e&&(o.ynx(0),o.TgZ(1,"div",14),o._UZ(2,"div",15),o._UZ(3,"div",16),o._UZ(4,"div",17),o.qZA(),o.TgZ(5,"div",18),o._UZ(6,"div",15),o._UZ(7,"div",16),o._UZ(8,"div",17),o.qZA(),o.BQk())}function w(e,t){1&e&&(o.TgZ(0,"div",19),o.Hsn(1,1),o.qZA())}function x(e,t){if(1&e&&(o.ynx(0),o.Hsn(1,2),o.TgZ(2,"span"),o._uU(3),o.qZA(),o.BQk()),2&e){var n=o.oxw(2);o.xp6(3),o.Oqu(n._control.placeholder)}}function E(e,t){1&e&&o.Hsn(0,3,["*ngSwitchCase","true"])}function S(e,t){1&e&&(o.TgZ(0,"span",23),o._uU(1," *"),o.qZA())}function O(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"label",20,21),o.NdJ("cdkObserveContent",function(){return o.CHM(n),o.oxw().updateOutlineGap()}),o.YNc(2,x,4,1,"ng-container",12),o.YNc(3,E,1,0,"ng-content",12),o.YNc(4,S,2,0,"span",22),o.qZA()}if(2&e){var i=o.oxw();o.ekj("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),o.Q6J("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),o.uIk("for",i._control.id)("aria-owns",i._control.id),o.xp6(2),o.Q6J("ngSwitchCase",!1),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function A(e,t){1&e&&(o.TgZ(0,"div",24),o.Hsn(1,4),o.qZA())}function T(e,t){if(1&e&&(o.TgZ(0,"div",25,26),o._UZ(2,"span",27),o.qZA()),2&e){var n=o.oxw();o.xp6(2),o.ekj("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function P(e,t){if(1&e&&(o.TgZ(0,"div"),o.Hsn(1,5),o.qZA()),2&e){var n=o.oxw();o.Q6J("@transitionMessages",n._subscriptAnimationState)}}function I(e,t){if(1&e&&(o.TgZ(0,"div",31),o._uU(1),o.qZA()),2&e){var n=o.oxw(2);o.Q6J("id",n._hintLabelId),o.xp6(1),o.Oqu(n.hintLabel)}}function R(e,t){if(1&e&&(o.TgZ(0,"div",28),o.YNc(1,I,2,2,"div",29),o.Hsn(2,6),o._UZ(3,"div",30),o.Hsn(4,7),o.qZA()),2&e){var n=o.oxw();o.Q6J("@transitionMessages",n._subscriptAnimationState),o.xp6(1),o.Q6J("ngIf",n.hintLabel)}}var D,M=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],L=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],F=new o.OlP("MatError"),N={transitionMessages:(0,p.X$)("transitionMessages",[(0,p.SB)("enter",(0,p.oB)({opacity:1,transform:"translateY(0%)"})),(0,p.eR)("void => enter",[(0,p.oB)({opacity:0,transform:"translateY(-5px)"}),(0,p.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},B=((D=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||D)},D.\u0275dir=o.lG2({type:D}),D),U=new o.OlP("MatHint"),j=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-label"]]}),e}(),Z=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["mat-placeholder"]]}),e}(),q=new o.OlP("MatPrefix"),V=new o.OlP("MatSuffix"),H=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.lG2({type:e,selectors:[["","matSuffix",""]],features:[o._Bn([{provide:V,useExisting:e}])]}),e}(),z=0,Y=(0,a.pj)(function(){return function e(t){_classCallCheck(this,e),this._elementRef=t}}(),"primary"),G=new o.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),K=new o.OlP("MatFormField"),W=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,l,c){var h;return _classCallCheck(this,n),(h=t.call(this,e))._changeDetectorRef=i,h._dir=o,h._defaults=a,h._platform=s,h._ngZone=l,h._outlineGapCalculationNeededImmediately=!1,h._outlineGapCalculationNeededOnStable=!1,h._destroyed=new u.xQ,h._showAlwaysAnimate=!1,h._subscriptAnimationState="",h._hintLabel="",h._hintLabelId="mat-hint-"+z++,h._labelId="mat-form-field-label-"+z++,h.floatLabel=h._getDefaultFloatLabelState(),h._animationsEnabled="NoopAnimations"!==c,h.appearance=a&&a.appearance?a.appearance:"legacy",h._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,h}return _createClass(n,[{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=(0,s.Ig)(e)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe((0,h.O)(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,f.R)(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe((0,f.R)(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),(0,l.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,f.R)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,c.R)(this._label.nativeElement,"transitionend").pipe((0,d.q)(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,_toConsumableArray(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,n=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push.apply(e,_toConsumableArray(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),u=e.children,l=this._getStartEnd(u[0].getBoundingClientRect()),c=0,h=0;h0?.75*c+10:0}for(var f=0;f-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(i.t4),r.Y36(p.a5,10),r.Y36(p.F,8),r.Y36(p.sg,8),r.Y36(f.rD),r.Y36(v,10),r.Y36(c),r.Y36(r.R0b),r.Y36(d.G_,8))},e.\u0275dir=r.lG2({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&r.NdJ("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(r.Ikx("disabled",t.disabled)("required",t.required),r.uIk("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required),r.ekj("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r._Bn([{provide:d.Eo,useExisting:e}]),r.qOj,r.TTD]}),e}(),b=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[f.rD],imports:[[h,d.lN,f.BQ],h,d.lN]}),e}()},7441:function(e,t,n){"use strict";n.d(t,{gD:function(){return z},LD:function(){return Y}});var i=n(625),r=n(8583),o=n(3018),a=n(2458),s=n(8295),u=n(9243),l=n(9238),c=n(9490),h=n(8345),f=n(6461),d=n(9765),p=n(1439),v=n(6682),_=n(9761),m=n(3190),g=n(5257),y=n(5435),b=n(8002),k=n(7519),C=n(6782),w=n(7238),x=n(946),E=n(665),S=["trigger"],O=["panel"];function A(e,t){if(1&e&&(o.TgZ(0,"span",8),o._uU(1),o.qZA()),2&e){var n=o.oxw();o.xp6(1),o.Oqu(n.placeholder)}}function T(e,t){if(1&e&&(o.TgZ(0,"span",12),o._uU(1),o.qZA()),2&e){var n=o.oxw(2);o.xp6(1),o.Oqu(n.triggerValue)}}function P(e,t){1&e&&o.Hsn(0,0,["*ngSwitchCase","true"])}function I(e,t){if(1&e&&(o.TgZ(0,"span",9),o.YNc(1,T,2,1,"span",10),o.YNc(2,P,1,0,"ng-content",11),o.qZA()),2&e){var n=o.oxw();o.Q6J("ngSwitch",!!n.customTrigger),o.xp6(2),o.Q6J("ngSwitchCase",!0)}}function R(e,t){if(1&e){var n=o.EpF();o.TgZ(0,"div",13),o.TgZ(1,"div",14,15),o.NdJ("@transformPanel.done",function(e){return o.CHM(n),o.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return o.CHM(n),o.oxw()._handleKeydown(e)}),o.Hsn(3,1),o.qZA(),o.qZA()}if(2&e){var i=o.oxw();o.Q6J("@transformPanelWrap",void 0),o.xp6(1),o.Gre("mat-select-panel ",i._getPanelTheme(),""),o.Udp("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),o.Q6J("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),o.uIk("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var D,M=[[["mat-select-trigger"]],"*"],L=["mat-select-trigger","*"],F={transformPanelWrap:(0,w.X$)("transformPanelWrap",[(0,w.eR)("* => void",(0,w.IO)("@transformPanel",[(0,w.pV)()],{optional:!0}))]),transformPanel:(0,w.X$)("transformPanel",[(0,w.SB)("void",(0,w.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,w.SB)("showing",(0,w.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,w.SB)("showing-multiple",(0,w.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,w.eR)("void => *",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,w.eR)("* => void",(0,w.jt)("100ms 25ms linear",(0,w.oB)({opacity:0})))])},N=0,B=new o.OlP("mat-select-scroll-strategy"),U=new o.OlP("MAT_SELECT_CONFIG"),j={provide:B,deps:[i.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Z=function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n},q=(0,a.Kr)((0,a.sb)((0,a.Id)((0,a.FD)(function(){return function e(t,n,i,r,o){_classCallCheck(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=o}}())))),V=new o.OlP("MatSelectTrigger"),H=((D=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,s,u,l,c,h,f,k,C,w,x){var E,S,O,A;return _classCallCheck(this,n),(E=t.call(this,s,a,l,c,f))._viewportRuler=e,E._changeDetectorRef=i,E._ngZone=r,E._dir=u,E._parentFormField=h,E._liveAnnouncer=w,E._defaultOptions=x,E._panelOpen=!1,E._compareWith=function(e,t){return e===t},E._uid="mat-select-"+N++,E._triggerAriaLabelledBy=null,E._destroy=new d.xQ,E._onChange=function(){},E._onTouched=function(){},E._valueId="mat-select-value-"+N++,E._panelDoneAnimatingStream=new d.xQ,E._overlayPanelClass=(null===(S=E._defaultOptions)||void 0===S?void 0:S.overlayPanelClass)||"",E._focused=!1,E.controlType="mat-select",E._required=!1,E._multiple=!1,E._disableOptionCentering=null!==(A=null===(O=E._defaultOptions)||void 0===O?void 0:O.disableOptionCentering)&&void 0!==A&&A,E.ariaLabel="",E.optionSelectionChanges=(0,p.P)(function(){var e=E.options;return e?e.changes.pipe((0,_.O)(e),(0,m.w)(function(){return v.T.apply(void 0,_toConsumableArray(e.map(function(e){return e.onSelectionChange})))})):E._ngZone.onStable.pipe((0,g.q)(1),(0,m.w)(function(){return E.optionSelectionChanges}))}),E.openedChange=new o.vpe,E._openedStream=E.openedChange.pipe((0,y.h)(function(e){return e}),(0,b.U)(function(){})),E._closedStream=E.openedChange.pipe((0,y.h)(function(e){return!e}),(0,b.U)(function(){})),E.selectionChange=new o.vpe,E.valueChange=new o.vpe,E.ngControl&&(E.ngControl.valueAccessor=_assertThisInitialized(E)),null!=(null==x?void 0:x.typeaheadDebounceInterval)&&(E._typeaheadDebounceInterval=x.typeaheadDebounceInterval),E._scrollStrategyFactory=C,E._scrollStrategy=E._scrollStrategyFactory(),E.tabIndex=parseInt(k)||0,E.id=E.id,E}return _createClass(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=(0,c.Ig)(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=(0,c.Ig)(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=(0,c.Ig)(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=(0,c.su)(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,k.x)(),(0,C.R)(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe((0,C.R)(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe((0,_.O)(null),(0,C.R)(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=t===f.JH||t===f.LH||t===f.oh||t===f.SV,i=t===f.K5||t===f.L_,r=this._keyManager;if(!r.isTyping()&&i&&!(0,f.Vb)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;r.onKeydown(e);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=n===f.JH||n===f.LH,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||n!==f.K5&&n!==f.L_||!t.activeItem||(0,f.Vb)(e))if(!r&&this._multiple&&n===f.A&&e.ctrlKey){e.preventDefault();var o=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(o?e.select():e.deselect())})}else{var a=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this._overlayDir.positionChange.pipe((0,g.q)(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this._selectionModel.selected.forEach(function(e){return e.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(e){return t._selectValue(e)}),this._sortValues();else{var n=this._selectValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find(function(n){if(t._selectionModel.isSelected(n))return!1;try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new l.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,C.R)(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe((0,C.R)(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):!e._panelOpen&&!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,t=(0,v.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,C.R)(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),v.T.apply(void 0,_toConsumableArray(this.options.map(function(e){return e._stateChanges}))).pipe((0,C.R)(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),n}(q)).\u0275fac=function(e){return new(e||D)(o.Y36(u.rL),o.Y36(o.sBO),o.Y36(o.R0b),o.Y36(a.rD),o.Y36(o.SBq),o.Y36(x.Is,8),o.Y36(E.F,8),o.Y36(E.sg,8),o.Y36(s.G_,8),o.Y36(E.a5,10),o.$8M("tabindex"),o.Y36(B),o.Y36(l.Kd),o.Y36(U,8))},D.\u0275dir=o.lG2({type:D,viewQuery:function(e,t){var n;1&e&&(o.Gf(S,5),o.Gf(O,5),o.Gf(i.pI,5)),2&e&&(o.iGM(n=o.CRH())&&(t.trigger=n.first),o.iGM(n=o.CRH())&&(t.panel=n.first),o.iGM(n=o.CRH())&&(t._overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[o.qOj,o.TTD]}),D),z=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return _createClass(n,[{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,C.R)(this._destroy)).subscribe(function(){e.panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"_canOpen",this).call(this)&&(_get(_getPrototypeOf(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(function(){e._triggerFontSize&&e._overlayDir.overlayRef&&e._overlayDir.overlayRef.overlayElement&&(e._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(e){var t=(0,a.CB)(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===t?0:(0,a.jH)((e+t)*n,n,this.panel.nativeElement.scrollTop,256)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),_get(_getPrototypeOf(n.prototype),"_panelDoneAnimating",this).call(this,e)}},{key:"_getChangeEvent",value:function(e){return new Z(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}i||(e*=-1);var a=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);a>0?e+=a+8:s>0&&(e-=s+8),this._overlayDir.offsetX=Math.round(e),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-o))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,256),r=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=(0,a.CB)(e,this.options,this.optionGroups);var o=i/2;this._scrollTop=this._calculateOverlayScroll(e,o,r),this._offsetY=this._calculateOverlayOffsetY(e,o,r),this._checkOverlayWithinViewport(r)}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(H);return t.\u0275fac=function(n){return(e||(e=o.n5z(t)))(n||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;(1&e&&(o.Suo(n,V,5),o.Suo(n,a.ey,5),o.Suo(n,a.K7,5)),2&e)&&(o.iGM(i=o.CRH())&&(t.customTrigger=i.first),o.iGM(i=o.CRH())&&(t.options=i),o.iGM(i=o.CRH())&&(t.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&o.NdJ("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(o.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),o.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[o._Bn([{provide:s.Eo,useExisting:t},{provide:a.HF,useExisting:t}]),o.qOj],ngContentSelectors:L,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(o.F$t(M),o.TgZ(0,"div",0,1),o.NdJ("click",function(){return t.toggle()}),o.TgZ(3,"div",2),o.YNc(4,A,2,1,"span",3),o.YNc(5,I,3,2,"span",4),o.qZA(),o.TgZ(6,"div",5),o._UZ(7,"div",6),o.qZA(),o.qZA(),o.YNc(8,R,4,14,"ng-template",7),o.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var n=o.MAs(1);o.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),o.xp6(3),o.Q6J("ngSwitch",t.empty),o.uIk("id",t._valueId),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1),o.xp6(3),o.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[i.xu,r.RF,r.n9,i.pI,r.ED,r.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[F.transformPanelWrap,F.transformPanel]},changeDetection:0}),t}(),Y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[j],imports:[[r.ez,i.U8,a.Ng,a.BQ],u.ZD,s.lN,a.Ng,a.BQ]}),e}()},6237:function(e,t,n){"use strict";n.d(t,{Qb:function(){return Mt},PW:function(){return Bt}});var i=n(3018),r=n(9075),o=n(7238);function a(){return"undefined"!=typeof window&&void 0!==window.document}function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function u(e){switch(e.length){case 0:return new o.ZN;case 1:return e[0];default:return new o.ZE(e)}}function l(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],u=[],l=-1,c=null;if(i.forEach(function(e){var n=e.offset,i=n==l,h=i&&c||{};Object.keys(e).forEach(function(n){var i=n,u=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,s),u){case o.k1:u=r[n];break;case o.l3:u=a[n];break;default:u=t.normalizeStyleValue(n,i,u,s)}h[i]=u}),i||u.push(h),c=h,l=n}),s.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(s.join(h)))}return u}function c(e,t,n,i){switch(t){case"start":e.onStart(function(){return i(n&&h(n,"start",e))});break;case"done":e.onDone(function(){return i(n&&h(n,"done",e))});break;case"destroy":e.onDestroy(function(){return i(n&&h(n,"destroy",e))})}}function h(e,t,n){var i=n.totalTime,r=f(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function f(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function d(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function p(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var v=function(e,t){return!1},_=function(e,t){return!1},m=function(e,t,n){return[]},g=s();(g||"undefined"!=typeof Element)&&(v=a()?function(e,t){for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:function(e,t){return e.contains(t)},_=function(){if(g||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:_}(),m=function(e,t,n){var i=[];if(n)for(var r=e.querySelectorAll(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else B(e,n);return n}function j(e,t,n){return n?t+":"+n+";":""}function Z(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=r[1],a=r[2],s=r[3];t.push(oe(o,s)),"<"==a[0]&&("*"!=o||"*"!=s)&&t.push(oe(s,o))}(e,n,t)}):n.push(e),n}var ie=new Set(["true","1"]),re=new Set(["false","0"]);function oe(e,t){var n=ie.has(e)||re.has(e),i=ie.has(t)||re.has(t);return function(r,o){var a="*"==e||e==r,s="*"==t||t==o;return!a&&n&&"boolean"==typeof r&&(a=r?ie.has(e):re.has(e)),!s&&i&&"boolean"==typeof o&&(s=o?ie.has(t):re.has(t)),a&&s}}var ae=new RegExp("s*:selfs*,?","g");function se(e,t,n){return new ue(e).build(t,n)}var ue=function(){function e(t){_classCallCheck(this,e),this._driver=t}return _createClass(e,[{key:"build",value:function(e,t){var n=new le(t);return this._resetContextStyleTimingState(n),ee(this,H(e),n)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var n=this,i=t.queryCount=0,r=t.depCount=0,o=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,u=s.name;u.toString().split(/\s*,\s*/).forEach(function(e){s.name=e,o.push(n.visitState(s,t))}),s.name=u}else if(1==e.type){var l=n.visitTransition(e,t);i+=l.queryCount,r+=l.depCount,a.push(l)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){var r=new Set,o=i||{};if(n.styles.forEach(function(e){if(ce(e)){var t=e;Object.keys(t).forEach(function(e){Y(t[e]).forEach(function(e){o.hasOwnProperty(e)||r.add(e)})})}}),r.size){var a=K(r.values());t.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n=ee(this,H(e.animation),t);return{type:1,matchers:ne(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:he(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return ee(n,e,t)}),options:he(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,o=e.steps.map(function(e){t.currentTime=i;var o=ee(n,e,t);return r=Math.max(r,t.currentTime),o});return t.currentTime=r,{type:3,steps:o,options:he(e.options)}}},{key:"visitAnimate",value:function(e,t){var n=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return fe(N(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=fe(0,0,"");return r.dynamic=!0,r.strValue=i,r}return fe((n=n||N(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=n;var i,r=e.styles?e.styles:(0,o.oB)({});if(5==r.type)i=this.visitKeyframes(r,t);else{var a=e.styles,s=!1;if(!a){s=!0;var u={};n.easing&&(u.easing=n.easing),a=(0,o.oB)(u)}t.currentTime+=n.duration+n.delay;var l=this.visitStyle(a,t);l.isEmptyStep=s,i=l}return t.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==o.l3?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var i=!1,r=null;return n.forEach(function(e){if(ce(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var o in t)if(t[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a=t.collectedStyles[t.currentQuerySelector],s=a[i],u=!0;s&&(o!=r&&o>=s.startTime&&r<=s.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(s.startTime,'ms" and "').concat(s.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),u=!1),o=s.startTime),u&&(a[i]={startTime:o,endTime:r}),t.options&&function(e,t,n){var i=t.params||{},r=Y(e);r.length&&r.forEach(function(e){i.hasOwnProperty(e)||n.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))})}(e[i],t.options,t.errors)}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,u=0,l=e.steps.map(function(e){var i=n._makeStyleAst(e,t),l=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(ce(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(ce(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),c=0;return null!=l&&(r++,c=i.offset=l),s=s||c<0||c>1,a=a||c0&&r0?r==f?1:h*r:o[r],s=a*v;t.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,i.styles.push(e)}),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:ee(this,H(e.animation),t),options:he(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:he(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:he(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var r=_slicedToArray(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(ae,"")),[e=e.replace(/@\*/g,R).replace(/@\w+/g,function(e){return R+"-"+e.substr(1)}).replace(/:animating/g,M),t]}(e.selector),2),o=r[0],a=r[1];t.currentQuerySelector=n.length?n+" "+o:o,d(t.collectedStyles,t.currentQuerySelector,{});var s=ee(this,H(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:he(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:N(e.timings,t.errors,!0);return{type:12,animation:ee(this,H(e.animation),t),timings:n,options:null}}}]),e}(),le=function e(t){_classCallCheck(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function ce(e){return!Array.isArray(e)&&"object"==typeof e}function he(e){return e?(e=B(e)).params&&(e.params=function(e){return e?B(e):null}(e.params)):e={},e}function fe(e,t,n){return{duration:e,delay:t,easing:n}}function de(e,t,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var pe=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),ve=new RegExp(":enter","g"),_e=new RegExp(":leave","g");function me(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new ge).buildKeyframes(e,t,n,i,r,o,a,s,u,l)}var ge=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,o,a,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new pe;var c=new be(e,t,u,i,r,l,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),ee(this,n,c);var h=c.timelines.filter(function(e){return e.containsAnimation()});if(h.length&&Object.keys(a).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,c.errors,s)}return h.length?h.map(function(e){return e.buildKeyframes()}):[de(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?L(n.duration):null,o=null!=n.delay?L(n.delay):null;return 0!==r&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),ee(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&((r=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ye);var a=L(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return ee(n,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?L(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),ee(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return N(t.params?G(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?L(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ye);var a=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var u=null;s.forEach(function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);o&&s.delayNextStep(o),i===t.element&&(u=s.currentTimeline),ee(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=t.currentTimeline;s&&u.delayNextStep(s);var l=u.currentTime;ee(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}]),e}(),ye={},be=function(){function e(t,n,i,r,o,a,s,u){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ye,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new ke(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=L(i.duration)),null!=i.delay&&(r.delay=L(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){(!t||!a.hasOwnProperty(e))&&(a[e]=G(o[e],a,n.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,o=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=ye,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new Ce(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,r,o){var a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(ve,"."+this._enterClassName)).replace(_e,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,_toConsumableArray(s))}return!r&&0==a.length&&o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}}]),e}(),ke=function(){function e(t,n,i,r){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||o.l3,t._currentKeyframe[e]=o.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var a=i&&i.params||{},s=function(e,t){var n,i={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){i[e]=o.l3}):U(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=G(s[e],a,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:o.l3),r._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(a,s){var u=U(a,!0);Object.keys(u).forEach(function(e){var i=u[e];i==o.k1?t.add(e):i==o.l3&&n.add(e)}),i||(u.offset=s/e.duration),r.push(u)});var a=t.size?K(t.values()):[],s=n.size?K(n.values()):[];if(i){var u=r[0],l=B(u);u.offset=0,l.offset=1,r=[u,l]}return de(this.element,r,a,s,this.duration,this.startTime,this.easing,!1)}}]),e}(),Ce=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s){var u,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,n),(u=t.call(this,e,i,s.delay)).keyframes=r,u.preStyleProps=o,u.postStyleProps=a,u._stretchStartingKeyframe=l,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return _createClass(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,u=U(e[0],!1);u.offset=0,o.push(u);var l=U(e[0],!1);l.offset=we(s),o.push(l);for(var c=e.length-1,h=1;h<=c;h++){var f=U(e[h],!1);f.offset=we((n+f.offset*i)/a),o.push(f)}i=a,n=0,r="",e=o}return de(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(ke);function we(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var xe=function e(){_classCallCheck(this,e)},Ee=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"normalizePropertyName",value:function(e,t){return Q(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",o=n.toString().trim();if(Se[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+r}}]),n}(xe),Se=function(e){var t={};return e.forEach(function(e){return t[e]=!0}),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function Oe(e,t,n,i,r,o,a,s,u,l,c,h,f){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:h,errors:f}}var Ae={},Te=function(){function e(t,n,i){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return _createClass(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some(function(e){return e(t,n,i,r)})}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,i,r,o,a,s,u,l){var c=[],h=this.ast.options&&this.ast.options.params||Ae,f=this.buildStyles(n,a&&a.params||Ae,c),p=s&&s.params||Ae,v=this.buildStyles(i,p,c),_=new Set,m=new Map,g=new Map,y="void"===i,b={params:Object.assign(Object.assign({},h),p)},k=l?[]:me(e,t,this.ast.animation,r,o,f,v,b,u,c),C=0;if(k.forEach(function(e){C=Math.max(e.duration+e.delay,C)}),c.length)return Oe(t,this._triggerName,n,i,y,f,v,[],[],m,g,C,c);k.forEach(function(e){var n=e.element,i=d(m,n,{});e.preStyleProps.forEach(function(e){return i[e]=!0});var r=d(g,n,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),n!==t&&_.add(n)});var w=K(_.values());return Oe(t,this._triggerName,n,i,y,f,v,k,w,m,g,C)}}]),e}(),Pe=function(){function e(t,n,i){_classCallCheck(this,e),this.styles=t,this.defaultParams=n,this.normalizer=i}return _createClass(e,[{key:"buildStyles",value:function(e,t){var n=this,i={},r=B(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var o=e;Object.keys(o).forEach(function(e){var a=o[e];a.length>1&&(a=G(a,r,t));var s=n.normalizer.normalizePropertyName(e,t);a=n.normalizer.normalizeStyleValue(e,s,a,t),i[s]=a})}}),i}}]),e}(),Ie=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.name=t,this.ast=n,this._normalizer=i,this.transitionFactories=[],this.states={},n.states.forEach(function(e){r.states[e.name]=new Pe(e.style,e.options&&e.options.params||{},i)}),Re(this.states,"true","1"),Re(this.states,"false","0"),n.transitions.forEach(function(e){r.transitionFactories.push(new Te(t,e,r.states))}),this.fallbackTransition=function(e,t,n){return new Te(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},t)}(t,this.states)}return _createClass(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find(function(r){return r.match(e,t,n,i)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function Re(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var De=new pe,Me=function(){function e(t,n,i){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var n=[],i=se(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=l(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],s=this._animations[e],l=new Map;if(s?(n=me(this._driver,t,s,T,P,{},{},r,De,a)).forEach(function(e){var t=d(l,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));l.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=i._driver.computeStyle(t,n,o.l3)})});var c=u(n.map(function(e){var t=l.get(e.element);return i._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(function(){return i.destroy(e)}),this.players.push(c),c}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,i){var r=f(t,"","","");return c(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),Le="ng-animate-queued",Fe="ng-animate-disabled",Ne=".ng-animate-disabled",Be=[],Ue={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},je={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ze="__ng_removed",qe=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var i,r=t&&t.hasOwnProperty("value");if(this.value=null!=(i=r?t.value:t)?i:null,r){var o=B(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}}}]),e}(),Ve="void",He=new qe(Ve),ze=function(){function e(t,n,i){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,$e(n,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=d(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};a.push(s);var u=d(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||($e(e,I),$e(e,I+"-"+t),u[t]=He),function(){o._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete u[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new Ge(this.id,t,e),s=this._engine.statesByElement.get(e);s||($e(e,I),$e(e,I+"-"+t),this._engine.statesByElement.set(e,s={}));var u=s[t],l=new qe(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),s[t]=l,u||(u=He),l.value===Ve||u.value!==l.value){var c=d(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var h=o.matchTransition(u.value,l.value,e,l.params),f=!1;if(!h){if(!r)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:u,toState:l,player:a,isFallbackTransition:f}),f||($e(e,Le),a.onStart(function(){et(e,Le)})),a.onDone(function(){var t=i.players.indexOf(a);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),c.push(a),a}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),$e(e,Fe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),et(e,Fe))}},{key:"removeNode",value:function(e,t,n,i){if(Ke(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t[Ze]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return Ke(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,R,!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,M,!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return u(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e[Ze];if(n&&n.setForRemoval){if(e[Ze]=Ue,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,Ne)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Ne,!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;I--)this._namespaceList[I].drainQueuedTransitions(t).forEach(function(e){var t=e.player,o=e.element;if(O.push(t),n.collectedEnterElements.length){var a=o[Ze];if(a&&a.setForMove)return void t.destroy()}var u=!p||!n.driver.containsElement(p,o),f=E.get(o),v=m.get(o),_=n._buildInstruction(e,i,v,f,u);if(_.errors&&_.errors.length)A.push(_);else{if(u)return t.onStart(function(){return V(o,_.fromStyles)}),t.onDestroy(function(){return q(o,_.toStyles)}),void r.push(t);if(e.isFallbackTransition)return t.onStart(function(){return V(o,_.fromStyles)}),t.onDestroy(function(){return q(o,_.toStyles)}),void r.push(t);_.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(o,_.timelines),s.push({instruction:_,player:t,element:o}),_.queriedElements.forEach(function(e){return d(l,e,[]).push(t)}),_.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var i=c.get(t);i||c.set(t,i=new Set),n.forEach(function(e){return i.add(e)})}}),_.postStyleProps.forEach(function(e,t){var n=Object.keys(e),i=h.get(t);i||h.set(t,i=new Set),n.forEach(function(e){return i.add(e)})})}});if(A.length){var R=[];A.forEach(function(e){R.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return R.push("- ".concat(e,"\n"))})}),O.forEach(function(e){return e.destroy()}),this.reportError(R)}var D=new Map,L=new Map;s.forEach(function(e){var t=e.element;i.has(t)&&(L.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,D))}),r.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){d(D,t,[]).push(e),e.destroy()})});var F=y.filter(function(e){return it(e,c,h)}),N=new Map;Qe(N,this.driver,k,h,o.l3).forEach(function(e){it(e,c,h)&&F.push(e)});var B=new Map;_.forEach(function(e,t){Qe(B,n.driver,new Set(e),c,o.k1)}),F.forEach(function(e){var t=N.get(e),n=B.get(e);N.set(e,Object.assign(Object.assign({},t),n))});var U=[],j=[],Z={};s.forEach(function(e){var t=e.element,o=e.player,s=e.instruction;if(i.has(t)){if(f.has(t))return o.onDestroy(function(){return q(t,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var l=Z;if(L.size>1){for(var c=t,h=[];c=c.parentNode;){var d=L.get(c);if(d){l=d;break}h.push(c)}h.forEach(function(e){return L.set(e,l)})}var p=n._buildAnimation(o.namespaceId,s,D,a,B,N);if(o.setRealPlayer(p),l===Z)U.push(o);else{var v=n.playersByElement.get(l);v&&v.length&&(o.parentPlayer=u(v)),r.push(o)}}else V(t,s.fromStyles),o.onDestroy(function(){return q(t,s.toStyles)}),j.push(o),f.has(t)&&r.push(o)}),j.forEach(function(e){var t=a.get(e.element);if(t&&t.length){var n=u(t);e.setRealPlayer(n)}}),r.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var H=0;H0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new o.ZN(e.duration,e.delay)}}]),e}(),Ge=function(){function e(t,n,i){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new o.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return c(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){d(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Ke(e){return e&&1===e.nodeType}function We(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Qe(e,t,n,i,r){var o=[];n.forEach(function(e){return o.push(We(e))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(i,e,r);(!n||0==n.length)&&(i[Ze]=je,a.push(i))}),e.set(i,o)});var s=0;return n.forEach(function(e){return We(e,o[s++])}),a}function Je(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var i=new Set(t),r=new Map;function o(e){if(!e)return 1;var t=r.get(e);if(t)return t;var a=e.parentNode;return t=n.has(a)?a:i.has(a)?1:o(a),r.set(e,t),t}return t.forEach(function(e){var t=o(e);1!==t&&n.get(t).push(e)}),n}var Xe="$$classes";function $e(e,t){if(e.classList)e.classList.add(t);else{var n=e[Xe];n||(n=e[Xe]={}),n[t]=!0}}function et(e,t){if(e.classList)e.classList.remove(t);else{var n=e[Xe];n&&delete n[t]}}function tt(e,t,n){u(n).onDone(function(){return e.processLeaveNode(t)})}function nt(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function ot(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=st(t[0]),t.length>1&&(i=st(t[t.length-1]))):t&&(n=st(t)),n||i?new at(e,n,i):null}var at=function(){function e(t,n,i){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&q(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(q(this._element,this._initialStyles),this._endStyles&&(q(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(V(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),q(this._element,this._initialStyles),this._state=3)}}]),e}();function st(e){for(var t=null,n=Object.keys(e),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),vt(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){var n=mt(e,"").split(","),i=pt(n,t);i>=0&&(n.splice(i,1),_t(e,"",n.join(",")))}(this._element,this._name))}}]),e}();function ft(e,t,n){_t(e,"PlayState",n,dt(e,t))}function dt(e,t){var n=mt(e,"");return n.indexOf(",")>0?pt(n.split(","),t):pt([n],t)}function pt(e,t){for(var n=0;n=0)return n;return-1}function vt(e,t,n){n?e.removeEventListener(ct,t):e.addEventListener(ct,t)}function _t(e,t,n,i){var r=lt+t;if(null!=i){var o=e.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}e.style[r]=n}function mt(e,t){return e.style[lt+t]||""}var gt=function(){function e(t,n,i,r,o,a,s,u){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=o,this._finalStyles=s,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+o,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new ht(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:te(e.element,i))})}this.currentSnapshot=t}}]),e}(),yt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).element=e,r._startingStyles={},r.__initialized=!1,r._styles=E(i),r}return _createClass(n,[{key:"init",value:function(){var e=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),_get(_getPrototypeOf(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),_get(_getPrototypeOf(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,_get(_getPrototypeOf(n.prototype),"destroy",this).call(this))}}]),n}(o.ZN),bt=function(){function e(){_classCallCheck(this,e),this._count=0}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return k(e)}},{key:"matchesElement",value:function(e,t){return C(e,t)}},{key:"containsElement",value:function(e,t){return w(e,t)}},{key:"query",value:function(e,t,n){return x(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return E(e)});var i="@keyframes ".concat(t," {\n"),r="";n.forEach(function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}}),i+="".concat(r,"}\n")}),i+="}\n";var o=document.createElement("style");return o.textContent=i,o}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(e){return e instanceof gt}),s={};X(n,i)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var u=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"==n||"easing"==n||(t[n]=e[n])})}),t}(t=$(e,t,s));if(0==n)return new yt(e,u);var l="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(e,l,t);(function(e){var t,n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(e).appendChild(c);var h=ot(e,t),f=new gt(e,t,l,n,i,r,u,h);return f.onDestroy(function(){var e;(e=c).parentNode.removeChild(e)}),f}}]),e}(),kt=function(){function e(t,n,i,r){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:te(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),Ct=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(wt().toString()),this._cssKeyframesDriver=new bt}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return k(e)}},{key:"matchesElement",value:function(e,t){return C(e,t)}},{key:"containsElement",value:function(e,t){return w(e,t)}},{key:"query",value:function(e,t,n){return x(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var u={},l=o.filter(function(e){return e instanceof kt});X(n,i)&&l.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})});var c=ot(e,t=$(e,t=t.map(function(e){return U(e,!1)}),u));return new kt(e,t,s,c)}}]),e}();function wt(){return a()&&Element.prototype.animate||{}}var xt=n(8583),Et=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this))._nextAnimationId=0,o._renderer=e.createRenderer(r.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}}),o}return _createClass(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?(0,o.vP)(e):e;return At(this._renderer,null,t,"register",[n]),new St(t,this._renderer)}}]),n}(o._j);return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.FYo),i.LFG(xt.K0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),St=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._id=e,r._renderer=i,r}return _createClass(n,[{key:"create",value:function(e,t){return new Ot(this._id,e,t||{},this._renderer)}}]),n}(o.LC),Ot=function(){function e(t,n,i,r){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&e3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,i){this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&t==Tt?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),Rt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,i,r,o)).factory=e,a.namespaceId=i,a}return _createClass(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&t==Tt?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var i=this;if("@"==t.charAt(0)){var r,o=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),a=t.substr(1),s="";return"@"!=a.charAt(0)&&(a=(r=_slicedToArray(function(e){var t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(a),2))[0],s=r[1]),this.engine.listen(this.namespaceId,o,a,s,function(e){i.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}]),n}(It),Dt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){return _classCallCheck(this,n),t.call(this,e.body,i,r)}return _createClass(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(rt);return e.\u0275fac=function(t){return new(t||e)(i.LFG(xt.K0),i.LFG(A),i.LFG(xe))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),Mt=new i.OlP("AnimationModuleType"),Lt=[{provide:o._j,useClass:Et},{provide:xe,useFactory:function(){return new Ee}},{provide:rt,useClass:Dt},{provide:i.FYo,useFactory:function(e,t,n){return new Pt(e,t,n)},deps:[r.se,rt,i.R0b]}],Ft=[{provide:A,useFactory:function(){return"function"==typeof wt()?new Ct:new bt}},{provide:Mt,useValue:"BrowserAnimations"}].concat(Lt),Nt=[{provide:A,useClass:O},{provide:Mt,useValue:"NoopAnimations"}].concat(Lt),Bt=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:t.disableAnimations?Nt:Ft}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:Ft,imports:[r.b2]}),e}()},9075:function(e,t,n){"use strict";n.d(t,{b2:function(){return N},H7:function(){return D},q6:function(){return L},se:function(){return w}});var i,r,o=n(8583),a=n(3018),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){e.parentNode&&e.parentNode.removeChild(e)}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getBaseHref",value:function(e){var t=(u=u||document.querySelector("base"))?u.getAttribute("href"):null;return null==t?null:function(e){(i=i||document.createElement("a")).setAttribute("href",e);var t=i.pathname;return"/"===t.charAt(0)?t:"/".concat(t)}(t)}},{key:"resetBaseElement",value:function(){u=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(e){return(0,o.Mx)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){(0,o.HT)(new n)}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).supportsDOMEvents=!0,e}return n}(o.w_)),u=null,l=new a.OlP("TRANSITION_ID"),c=[{provide:a.ip1,useFactory:function(e,t,n){return function(){n.get(a.CZH).donePromise.then(function(){for(var n=(0,o.q)(),i=t.querySelectorAll('style[ng-transition="'.concat(e,'"]')),r=0;r1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},a.dqk.getAllAngularTestabilities=function(){return e.getAllTestabilities()},a.dqk.getAllAngularRootElements=function(){return e.getAllRootElements()},a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(function(e){var t=a.dqk.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach(function(e){e.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?(0,o.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){(0,a.VLi)(new e)}}]),e}(),f=((r=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}()).\u0275fac=function(e){return new(e||r)},r.\u0275prov=a.Yz7({token:r,factory:r.\u0275fac}),r),d=new a.OlP("EventManagerPlugins"),p=function(){var e=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=i}),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i-1&&(t.splice(n,1),o+=e+".")}),o+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&P.hasOwnProperty(t)&&(t=P[t]))}return T[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),A.forEach(function(i){i!=n&&I[i](e)&&(t+=i+".")}),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded(function(){return t(r)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(v);return e.\u0275fac=function(t){return new(t||e)(a.LFG(o.K0))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),D=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:function(){return(0,a.LFG)(M)},token:e,providedIn:"root"}),e}(),M=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i}return _createClass(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case a.q3G.NONE:return t;case a.q3G.HTML:return(0,a.qzn)(t,"HTML")?(0,a.z3N)(t):(0,a.EiD)(this._doc,String(t)).toString();case a.q3G.STYLE:return(0,a.qzn)(t,"Style")?(0,a.z3N)(t):t;case a.q3G.SCRIPT:if((0,a.qzn)(t,"Script"))return(0,a.z3N)(t);throw new Error("unsafe value used in a script context");case a.q3G.URL:return(0,a.yhl)(t),(0,a.qzn)(t,"URL")?(0,a.z3N)(t):(0,a.mCW)(String(t));case a.q3G.RESOURCE_URL:if((0,a.qzn)(t,"ResourceURL"))return(0,a.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return(0,a.JVY)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return(0,a.L6k)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return(0,a.eBb)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return(0,a.LAX)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return(0,a.pB0)(e)}}]),n}(D);return e.\u0275fac=function(t){return new(t||e)(a.LFG(o.K0))},e.\u0275prov=(0,a.Yz7)({factory:function(){return function(e){return new M(e.get(o.K0))}((0,a.LFG)(a.gxx))},token:e,providedIn:"root"}),e}(),L=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:o.bD},{provide:a.g9A,useValue:function(){s.makeCurrent(),h.init()},multi:!0},{provide:o.K0,useFactory:function(){return(0,a.RDi)(document),document},deps:[]}]),F=[[],{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function(){return new a.qLn},deps:[]},{provide:d,useClass:O,multi:!0,deps:[o.K0,a.R0b,a.Lbi]},{provide:d,useClass:R,multi:!0,deps:[o.K0]},[],{provide:w,useClass:w,deps:[p,m,a.AFp]},{provide:a.FYo,useExisting:w},{provide:_,useExisting:m},{provide:m,useClass:m,deps:[o.K0]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b]},{provide:p,useClass:p,deps:[d,a.R0b]},{provide:o.JF,useClass:f,deps:[]},[]],N=function(){var e=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:a.AFp,useValue:t.appId},{provide:l,useExisting:a.AFp},c]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(e,12))},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:F,imports:[o.ez,a.hGG]}),e}();"undefined"!=typeof window&&window},8741:function(e,t,n){"use strict";n.d(t,{gz:function(){return rt},F0:function(){return On},rH:function(){return Tn},yS:function(){return Pn},Bz:function(){return qn},lC:function(){return Rn}});var i=n(8583),r=n(3018),o=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),a=n(4402),s=n(5917),u=n(6215),l=n(739),c=n(7574),h=n(8071),f=n(1439),d=n(9193),p=n(2441),v=n(9765),_=n(7393);function m(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new g(e,t,n))}}var g=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new y(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e)).accumulator=i,a._seed=r,a.hasSeed=o,a.index=0,a}return _createClass(n,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}}]),n}(_.L),b=n(5345);function k(e){return function(t){var n=new C(e),i=t.lift(n);return n.caught=i}}var C=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new w(e,this.selector,this.caught))}}]),e}(),w=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).selector=i,o.caught=r,o}return _createClass(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(o){return void _get(_getPrototypeOf(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var i=new b.IY(this);this.add(i);var r=(0,b.ft)(t,i);r!==i&&this.add(r)}}}]),n}(b.Ds),x=n(5435),E=n(7108);function S(e){return function(t){return 0===e?(0,d.c)():t.lift(new O(e))}}var O=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new E.W}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new A(e,this.total))}}]),e}(),A=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.ring=new Array,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:R;return function(t){return t.lift(new P(e))}}var P=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new I(e,this.errorFactory))}}]),e}(),I=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).errorFactory=i,r.hasValue=!1,r}return _createClass(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(_.L);function R(){return new o}function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new M(e))}}var M=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new L(e,this.defaultValue))}}]),e}(),L=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).defaultValue=i,r.isEmpty=!0,r}return _createClass(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(_.L),F=n(4487),N=n(5257);function B(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?(0,x.h)(function(t,n){return e(t,n,i)}):F.y,(0,N.q)(1),n?D(t):T(function(){return new o}))}}var U=n(5319),j=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Z(e,this.callback))}}]),e}(),Z=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).add(new U.w(i)),r}return n}(_.L),q=n(8002),V=n(3190),H=n(9761),z=n(4612),Y=n(9773),G=n(3342),K=n(1307),W=n(3282),Q=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},J=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(r=t.call(this,e,i)).navigationTrigger=o,r.restoredState=a,r}return _createClass(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(Q),X=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(Q),$=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).reason=r,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(Q),ee=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).error=r,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(Q),te=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),ne=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),ie=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,e,i)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(Q),re=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),oe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Q),ae=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),se=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),ue=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),le=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ce=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),he=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),fe=function(){function e(t,n,i){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),de="primary",pe=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function ve(e){return new pe(e)}var _e="ngNavigationCancelingError";function me(e){var t=Error("NavigationCancelingError: "+e);return t[_e]=!0,t}function ge(e,t,n){var i=n.path.split("/");if(i.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||i.length0?e[e.length-1]:null}function we(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function xe(e){return(0,r.CqO)(e)?e:(0,r.QGY)(e)?(0,a.D)(Promise.resolve(e)):(0,s.of)(e)}var Ee={exact:function e(t,n,i){if(!Me(t.segments,n.segments)||!Pe(t.segments,n.segments,i)||t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children)if(!t.children[r]||!e(t.children[r],n.children[r],i))return!1;return!0},subset:Ae},Se={exact:function(e,t){return ye(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return be(e[n],t[n])})},ignored:function(){return!0}};function Oe(e,t,n){return Ee[n.paths](e.root,t.root,n.matrixParams)&&Se[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Ae(e,t,n){return Te(e,t,t.segments,n)}function Te(e,t,n,i){if(e.segments.length>n.length){var r=e.segments.slice(0,n.length);return!(!Me(r,n)||t.hasChildren()||!Pe(r,n,i))}if(e.segments.length===n.length){if(!Me(e.segments,n)||!Pe(e.segments,n,i))return!1;for(var o in t.children)if(!e.children[o]||!Ae(e.children[o],t.children[o],i))return!1;return!0}var a=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!(Me(e.segments,a)&&Pe(e.segments,a,i)&&e.children[de])&&Te(e.children[de],t,s,i)}function Pe(e,t,n){return t.every(function(t,i){return Se[n](e[i].parameters,t.parameters)})}var Ie=function(){function e(t,n,i){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=i}return _createClass(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ve(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Ne.serialize(this)}}]),e}(),Re=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,we(n,function(e,t){return e.parent=i})}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Be(this)}}]),e}(),De=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=ve(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return ze(this)}}]),e}();function Me(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}var Le=function e(){_classCallCheck(this,e)},Fe=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new Qe(e);return new Ie(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t;return"".concat("/".concat(Ue(e.root,!0)),function(e){var t=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return"".concat(Ze(t),"=").concat(Ze(e))}).join("&"):"".concat(Ze(t),"=").concat(Ze(n))}).filter(function(e){return!!e});return t.length?"?".concat(t.join("&")):""}(e.queryParams)).concat("string"==typeof e.fragment?"#".concat((t=e.fragment,encodeURI(t))):"")}}]),e}(),Ne=new Fe;function Be(e){return e.segments.map(function(e){return ze(e)}).join("/")}function Ue(e,t){if(!e.hasChildren())return Be(e);if(t){var n=e.children[de]?Ue(e.children[de],!1):"",i=[];return we(e.children,function(e,t){t!==de&&i.push("".concat(t,":").concat(Ue(e,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(e,t){var n=[];return we(e.children,function(e,i){i===de&&(n=n.concat(t(e,i)))}),we(e.children,function(e,i){i!==de&&(n=n.concat(t(e,i)))}),n}(e,function(t,n){return n===de?[Ue(e.children[de],!1)]:["".concat(n,":").concat(Ue(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children[de]?"".concat(Be(e),"/").concat(r[0]):"".concat(Be(e),"/(").concat(r.join("//"),")")}function je(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ze(e){return je(e).replace(/%3B/gi,";")}function qe(e){return je(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ve(e){return decodeURIComponent(e)}function He(e){return Ve(e.replace(/\+/g,"%20"))}function ze(e){return"".concat(qe(e.path)).concat(function(e){return Object.keys(e).map(function(t){return";".concat(qe(t),"=").concat(qe(e[t]))}).join("")}(e.parameters))}var Ye=/^[^\/()?;=#]+/;function Ge(e){var t=e.match(Ye);return t?t[0]:""}var Ke=/^[^=?&#]+/,We=/^[^?&#]+/,Qe=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Re([],{}):new Re([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[de]=new Re(e,t)),n}},{key:"parseSegment",value:function(){var e=Ge(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new De(Ve(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Ge(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=Ge(this.remaining);i&&(n=i,this.capture(n))}e[Ve(t)]=Ve(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(Ke);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(We);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=He(t),o=He(n);if(e.hasOwnProperty(r)){var a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(o)}else e[r]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ge(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=de);var o=this.parseChildren();t[r]=1===Object.keys(o).length?o[de]:new Re([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),Je=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=Xe(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=Xe(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=$e(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})}},{key:"pathFromRoot",value:function(e){return $e(e,this._root).map(function(e){return e.value})}}]),e}();function Xe(e,t){if(e===t.value)return t;var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var r=Xe(e,n.value);if(r)return r}}catch(o){i.e(o)}finally{i.f()}return null}function $e(e,t){if(e===t.value)return[t];var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var r=$e(e,n.value);if(r.length)return r.unshift(t),r}}catch(o){i.e(o)}finally{i.f()}return[]}var et=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function tt(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var nt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).snapshot=i,ut(_assertThisInitialized(r),e),r}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Je);function it(e,t){var n=function(e,t){var n=new at([],{},{},"",{},de,t,null,e.root,-1,{});return new st("",new et(n,[]))}(e,t),i=new u.X([new De("",{})]),r=new u.X({}),o=new u.X({}),a=new u.X({}),s=new u.X(""),l=new rt(i,r,a,s,o,de,t,n.root);return l.snapshot=n.root,new nt(new et(l,[]),n)}var rt=function(){function e(t,n,i,r,o,a,s,u){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=u}return _createClass(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,q.U)(function(e){return ve(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,q.U)(function(e){return ve(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],o=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function(e){return e.reduce(function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var at=function(){function e(t,n,i,r,o,a,s,u,l,c,h){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=c,this._resolve=h}return _createClass(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=ve(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ve(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(e){return e.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),e}(),st=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,i)).url=e,ut(_assertThisInitialized(r),i),r}return _createClass(n,[{key:"toString",value:function(){return lt(this._root)}}]),n}(Je);function ut(e,t){t.value._routerState=e,t.children.forEach(function(t){return ut(e,t)})}function lt(e){var t=e.children.length>0?" { ".concat(e.children.map(lt).join(", ")," } "):"";return"".concat(e.value).concat(t)}function ct(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ye(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ye(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&pt(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(vt);if(r&&r!==Ce(i))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),yt=function e(t,n,i){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i};function bt(e,t,n){if(e||(e=new Re([],{})),0===e.segments.length&&e.hasChildren())return kt(e,t,n);var i=function(e,t,n){for(var i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};r=n.length)return o;var a=e.segments[r],s=n[i];if(vt(s))break;var u="".concat(s),l=i0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!Et(u,l,a))return o;i+=2}else{if(!Et(u,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0)?Object.assign({},Zt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(t.matcher||ge)(n,e,t);if(!r)return Object.assign({},Zt);var o={};we(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Vt(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(e,t,n){return n.some(function(n){return Ht(e,t,n)&&Ut(n)!==de})}(e,n,i)){var o=new Re(t,function(e,t,n,i){var r={};r[de]=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var o,a=_createForOfIteratorHelper(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&Ut(s)!==de){var u=new Re([],{});u._sourceSegment=e,u._segmentIndexShift=t.length,r[Ut(s)]=u}}}catch(l){a.e(l)}finally{a.f()}return r}(e,t,i,new Re(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(function(n){return Ht(e,t,n)})}(e,n,i)){var a=new Re(e.segments,function(e,t,n,i,r,o){var a,s={},u=_createForOfIteratorHelper(i);try{for(u.s();!(a=u.n()).done;){var l=a.value;if(Ht(e,n,l)&&!r[Ut(l)]){var c=new Re([],{});c._sourceSegment=e,c._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Ut(l)]=c}}}catch(h){u.e(h)}finally{u.f()}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new Re(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Ht(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function zt(e,t,n,i){return!!(Ut(e)===i||i!==de&&Ht(t,n,e))&&("**"===e.path||qt(t,e,n).matched)}function Yt(e,t,n){return 0===t.length&&!e.children[n]}var Gt=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},Kt=function e(t){_classCallCheck(this,e),this.urlTree=t};function Wt(e){return new c.y(function(t){return t.error(new Gt(e))})}function Qt(e){return new c.y(function(t){return t.error(new Kt(e))})}function Jt(e){return new c.y(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var Xt=function(){function e(t,n,i,o,a){_classCallCheck(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=o,this.config=a,this.allowRedirects=!0,this.ngModule=t.get(r.h0i)}return _createClass(e,[{key:"apply",value:function(){var e=this,t=Vt(this.urlTree.root,[],[],this.config).segmentGroup,n=new Re(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,de).pipe((0,q.U)(function(t){return e.createUrlTree($t(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe(k(function(t){if(t instanceof Kt)return e.allowRedirects=!1,e.match(t.urlTree);throw t instanceof Gt?e.noMatchError(t):t}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,de).pipe((0,q.U)(function(n){return t.createUrlTree($t(n),e.queryParams,e.fragment)})).pipe(k(function(e){throw e instanceof Gt?t.noMatchError(e):e}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var i=e.segments.length>0?new Re([],_defineProperty({},de,e)):e;return new Ie(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe((0,q.U)(function(e){return new Re([],e)})):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){for(var i=this,r=[],s=0,u=Object.keys(n.children);s=2;return function(i){return i.pipe(e?(0,x.h)(function(t,n){return e(t,n,i)}):F.y,S(1),n?D(t):T(function(){return new o}))}}())}},{key:"expandSegment",value:function(e,t,n,i,r,u){var l=this;return(0,a.D)(n).pipe((0,z.b)(function(o){return l.expandSegmentAgainstRoute(e,t,n,o,i,r,u).pipe(k(function(e){if(e instanceof Gt)return(0,s.of)(null);throw e}))}),B(function(e){return!!e}),k(function(e,n){if(e instanceof o||"EmptyError"===e.name){if(Yt(t,i,r))return(0,s.of)(new Re([],{}));throw new Gt(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,o,a){return zt(i,t,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):Wt(t):Wt(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Qt(o):this.lineralizeSegments(n,o).pipe((0,Y.zg)(function(n){var o=new Re(n,{});return r.expandSegment(e,o,t,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,o){var a=this,s=qt(t,i,r),u=s.matched,l=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!u)return Wt(t);var f=this.applyRedirectCommands(l,i.redirectTo,h);return i.redirectTo.startsWith("/")?Qt(f):this.lineralizeSegments(i,f).pipe((0,Y.zg)(function(i){return a.expandSegment(e,t,n,i.concat(r.slice(c)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i,r){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,s.of)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe((0,q.U)(function(e){return n._loadedConfig=e,new Re(i,{})})):(0,s.of)(new Re(i,{}));var a=qt(t,n,i),u=a.matched,l=a.consumedSegments,c=a.lastChild;if(!u)return Wt(t);var h=i.slice(c);return this.getChildConfig(e,n,i).pipe((0,Y.zg)(function(e){var i=e.module,a=e.routes,u=Vt(t,l,h,a),c=u.segmentGroup,f=u.slicedSegments,d=new Re(c.segments,c.children);if(0===f.length&&d.hasChildren())return o.expandChildren(i,a,d).pipe((0,q.U)(function(e){return new Re(l,e)}));if(0===a.length&&0===f.length)return(0,s.of)(new Re(l,{}));var p=Ut(n)===r;return o.expandSegment(i,d,a,f,p?de:r,!0).pipe((0,q.U)(function(e){return new Re(l.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?(0,s.of)(new At(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,s.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe((0,Y.zg)(function(n){return n?i.configLoader.load(e.injector,t).pipe((0,q.U)(function(e){return t._loadedConfig=e,e})):(r=t,new c.y(function(e){return e.error(me("Cannot load children because the guard of the route \"path: '".concat(r.path,"'\" returned false")))}));var r})):(0,s.of)(new At([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var i=this,r=t.canLoad;if(!r||0===r.length)return(0,s.of)(!0);var o=r.map(function(i){var r,o,a=e.get(i);if((o=a)&&Tt(o.canLoad))r=a.canLoad(t,n);else{if(!Tt(a))throw new Error("Invalid CanLoad guard");r=a(t,n)}return xe(r)});return(0,s.of)(o).pipe(Rt(),(0,G.b)(function(e){if(Pt(e)){var t=me('Redirecting to "'.concat(i.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),(0,q.U)(function(e){return!0===e}))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,s.of)(n);if(i.numberOfChildren>1||!i.children[de])return Jt(e.redirectTo);i=i.children[de]}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new Ie(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return we(e,function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,o=this.createSegments(e,t.segments,n,i),a={};return we(t.children,function(t,o){a[o]=r.createSegmentGroup(e,t,n,i)}),new Re(o,a)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)})}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(i),o;i++}}catch(a){r.e(a)}finally{r.f()}return e}}]),e}();function $t(e){for(var t={},n=0,i=Object.keys(e.children);n0||o.hasChildren())&&(t[r]=o)}return function(e){if(1===e.numberOfChildren&&e.children[de]){var t=e.children[de];return new Re(e.segments.concat(t.segments),t.children)}return e}(new Re(e.segments,t))}var en=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},tn=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function nn(e,t,n){var i=e._root;return on(i,t?t._root:null,n,[i.value])}function rn(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function on(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=tt(t);return e.children.forEach(function(e){(function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Me(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Me(e.url,t.url)||!ye(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ht(e,t)||!ye(e.queryParams,t.queryParams);case"paramsChange":default:return!ht(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new en(i)):(o.data=a.data,o._resolvedData=a._resolvedData),on(e,t,o.component?s?s.children:null:n,i,r),u&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new tn(s.outlet.component,a))}else a&&an(t,s,r),r.canActivateChecks.push(new en(i)),on(e,null,o.component?s?s.children:null:n,i,r)})(e,o[e.value.outlet],n,i.concat([e.value]),r),delete o[e.value.outlet]}),we(o,function(e,t){return an(e,n.getContext(t),r)}),r}function an(e,t,n){var i=tt(e),r=e.value;we(i,function(e,i){an(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new tn(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var sn=function e(){_classCallCheck(this,e)};function un(e){return new c.y(function(t){return t.error(e)})}var ln=function(){function e(t,n,i,r,o,a){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return _createClass(e,[{key:"recognize",value:function(){var e=Vt(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,de);if(null===t)return null;var n=new at([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},de,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new et(n,t),r=new st(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=ot(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){for(var n=[],i=0,r=Object.keys(t.children);i0?Ce(n).parameters:{};r=new at(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,dn(e),Ut(e),e.component,e,hn(t),fn(t)+n.length,pn(e))}else{var u=qt(t,e,n);if(!u.matched)return null;o=u.consumedSegments,a=n.slice(u.lastChild),r=new at(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,dn(e),Ut(e),e.component,e,hn(t),fn(t)+o.length,pn(e))}var l,c=(l=e).children?l.children:l.loadChildren?l._loadedConfig.routes:[],h=Vt(t,o,a,c.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),f=h.segmentGroup,d=h.slicedSegments;if(0===d.length&&f.hasChildren()){var p=this.processChildren(c,f);return null===p?null:[new et(r,p)]}if(0===c.length&&0===d.length)return[new et(r,[])];var v=Ut(e)===i,_=this.processSegment(c,f,d,v?de:i);return null===_?null:[new et(r,_)]}}]),e}();function cn(e){var t,n=[],i=new Set,r=_createForOfIteratorHelper(e);try{var o=function(){var e,r=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(r))return n.push(r),"continue";var o=n.find(function(e){return r.value.routeConfig===e.value.routeConfig});void 0!==o?((e=o.children).push.apply(e,_toConsumableArray(r.children)),i.add(o)):n.push(r)};for(r.s();!(t=r.n()).done;)o()}catch(c){r.e(c)}finally{r.f()}var a,s=_createForOfIteratorHelper(i);try{for(s.s();!(a=s.n()).done;){var u=a.value,l=cn(u.children);n.push(new et(u.value,l))}}catch(c){s.e(c)}finally{s.f()}return n.filter(function(e){return!i.has(e)})}function hn(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function fn(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function dn(e){return e.data||{}}function pn(e){return e.resolve||{}}function vn(e){return(0,V.w)(function(t){var n=e(t);return n?(0,a.D)(n).pipe((0,q.U)(function(){return t})):(0,s.of)(t)})}var _n=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),mn=new r.OlP("ROUTES"),gn=function(){function e(t,n,i,r){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return _createClass(e,[{key:"load",value:function(e,t){var n=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var i=this.loadModuleFactory(t.loadChildren).pipe((0,q.U)(function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var o=i.create(e);return new At(ke(o.injector.get(mn,void 0,r.XFs.Self|r.XFs.Optional)).map(Bt),o)}),k(function(e){throw t._loader$=void 0,e}));return t._loader$=new p.c(i,function(){return new v.xQ}).pipe((0,K.x)()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?(0,a.D)(this.loader.load(e)):xe(e()).pipe((0,Y.zg)(function(e){return e instanceof r.YKP?(0,s.of)(e):(0,a.D)(t.compiler.compileModuleAsync(e))}))}}]),e}(),yn=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new bn,this.attachRef=null},bn=function(){function e(){_classCallCheck(this,e),this.contexts=new Map}return _createClass(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new yn,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),kn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Cn(e){throw e}function wn(e,t,n){return t.parse("/")}function xn(e,t){return(0,s.of)(null)}var En={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Sn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},On=function(){var e=function(){function e(t,n,i,o,a,s,l,c){var h=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=o,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new v.xQ,this.errorHandler=Cn,this.malformedUriErrorHandler=wn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:xn,afterPreactivation:xn},this.urlHandlingStrategy=new kn,this.routeReuseStrategy=new _n,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=a.get(r.h0i),this.console=a.get(r.c2e);var f=a.get(r.R0b);this.isNgZoneEnabled=f instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new Ie(new Re([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new gn(s,l,function(e){return h.triggerEvent(new ae(e))},function(e){return h.triggerEvent(new se(e))}),this.routerState=it(this.currentUrlTree,this.rootComponentType),this.transitions=new u.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass(e,[{key:"browserPageId",get:function(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}},{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe((0,x.h)(function(e){return 0!==e.id}),(0,q.U)(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),(0,V.w)(function(e){var i=!1,r=!1;return(0,s.of)(e).pipe((0,G.b)(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,V.w)(function(e){var i=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString(),o=("reload"===t.onSameUrlNavigation||i)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl);if(An(e.source)&&(t.browserUrlTree=e.rawUrl),o)return(0,s.of)(e).pipe((0,V.w)(function(e){var i=t.transitions.getValue();return n.next(new J(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?d.E:Promise.resolve(e)}),function(e,t,n,i){return(0,V.w)(function(r){return function(e,t,n,i,r){return new Xt(e,t,n,i,r).apply()}(e,t,n,r.extractedUrl,i).pipe((0,q.U)(function(e){return Object.assign(Object.assign({},r),{urlAfterRedirects:e})}))})}(t.ngModule.injector,t.configLoader,t.urlSerializer,t.config),(0,G.b)(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,n,i,o,a){return(0,Y.zg)(function(i){return function(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var u=new ln(e,t,n,i,o,a).recognize();return null===u?un(new sn):(0,s.of)(u)}catch(r){return un(r)}}(e,n,i.urlAfterRedirects,(u=i.urlAfterRedirects,t.serializeUrl(u)),o,a).pipe((0,q.U)(function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})}));var u})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),(0,G.b)(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,e),t.browserUrlTree=e.urlAfterRedirects);var i=new te(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)}));if(i&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var a=e.id,u=e.extractedUrl,l=e.source,c=e.restoredState,h=e.extras,f=new J(a,t.serializeUrl(u),l,c);n.next(f);var p=it(u,t.rootComponentType).snapshot;return(0,s.of)(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:u,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),d.E}),vn(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,G.b)(function(e){var n=new ne(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,q.U)(function(e){return Object.assign(Object.assign({},e),{guards:nn(e.targetSnapshot,e.currentSnapshot,t.rootContexts)})}),function(e,t){return(0,Y.zg)(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,o=n.guards,u=o.canActivateChecks,l=o.canDeactivateChecks;return 0===l.length&&0===u.length?(0,s.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return(0,a.D)(e).pipe((0,Y.zg)(function(e){return function(e,t,n,i,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,s.of)(!0);var a=o.map(function(o){var a,s=rn(o,t,r);if(function(e){return e&&Tt(e.canDeactivate)}(s))a=xe(s.canDeactivate(e,t,n,i));else{if(!Tt(s))throw new Error("Invalid CanDeactivate guard");a=xe(s(e,t,n,i))}return a.pipe(B())});return(0,s.of)(a).pipe(Rt())}(e.component,e.route,n,t,i)}),B(function(e){return!0!==e},!0))}(l,i,r,e).pipe((0,Y.zg)(function(n){return n&&function(e){return"boolean"==typeof e}(n)?function(e,t,n,i){return(0,a.D)(t).pipe((0,z.b)(function(t){return(0,h.z)(function(e,t){return null!==e&&t&&t(new ue(e)),(0,s.of)(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new ce(e)),(0,s.of)(!0)}(t.route,i),function(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return(0,f.P)(function(){var r=t.guards.map(function(r){var o,a=rn(r,t.node,n);if(function(e){return e&&Tt(e.canActivateChild)}(a))o=xe(a.canActivateChild(i,e));else{if(!Tt(a))throw new Error("Invalid CanActivateChild guard");o=xe(a(i,e))}return o.pipe(B())});return(0,s.of)(r).pipe(Rt())})});return(0,s.of)(r).pipe(Rt())}(e,t.path,n),function(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return(0,s.of)(!0);var r=i.map(function(i){return(0,f.P)(function(){var r,o=rn(i,t,n);if(function(e){return e&&Tt(e.canActivate)}(o))r=xe(o.canActivate(t,e));else{if(!Tt(o))throw new Error("Invalid CanActivate guard");r=xe(o(t,e))}return r.pipe(B())})});return(0,s.of)(r).pipe(Rt())}(e,t.route,n))}),B(function(e){return!0!==e},!0))}(i,u,e,t):(0,s.of)(n)}),(0,q.U)(function(e){return Object.assign(Object.assign({},n),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),(0,G.b)(function(e){if(Pt(e.guardsResult)){var n=me('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}var i=new ie(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(i)}),(0,x.h)(function(e){return!!e.guardsResult||(t.restoreHistory(e),t.cancelNavigationTransition(e,""),!1)}),vn(function(e){if(e.guards.canActivateChecks.length)return(0,s.of)(e).pipe((0,G.b)(function(e){var n=new re(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,V.w)(function(e){var n=!1;return(0,s.of)(e).pipe(function(e,t){return(0,Y.zg)(function(n){var i=n.targetSnapshot,r=n.guards.canActivateChecks;if(!r.length)return(0,s.of)(n);var o=0;return(0,a.D)(r).pipe((0,z.b)(function(n){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return(0,s.of)({});var o={};return(0,a.D)(r).pipe((0,Y.zg)(function(r){return function(e,t,n,i){var r=rn(e,t,i);return xe(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe((0,G.b)(function(e){o[r]=e}))}),S(1),(0,Y.zg)(function(){return Object.keys(o).length===r.length?(0,s.of)(o):d.E}))}(e._resolve,e,t,i).pipe((0,q.U)(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),ot(e,n).resolve),null}))}(n.route,i,e,t)}),(0,G.b)(function(){return o++}),S(1),(0,Y.zg)(function(e){return o===r.length?(0,s.of)(n):d.E}))})}(t.paramsInheritanceStrategy,t.ngModule.injector),(0,G.b)({next:function(){return n=!0},complete:function(){n||(t.restoreHistory(e),t.cancelNavigationTransition(e,"At least one route resolver didn't emit any value."))}}))}),(0,G.b)(function(e){var n=new oe(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}))}),vn(function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,q.U)(function(e){var n=function(e,t,n){var i=ft(e,t._root,n?n._root:void 0);return new nt(i,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})}),(0,G.b)(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,e),t.browserUrlTree=e.urlAfterRedirects)}),function(e,t,n){return(0,q.U)(function(i){return new St(t,i.targetRouterState,i.currentRouterState,n).activate(e),i})}(t.rootContexts,t.routeReuseStrategy,function(e){return t.triggerEvent(e)}),(0,G.b)({next:function(){i=!0},complete:function(){i=!0}}),function(e){return function(t){return t.lift(new j(e))}}(function(){if(!i&&!r){var n="Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId);"replace"===t.canceledNavigationResolution?(t.restoreHistory(e),t.cancelNavigationTransition(e,n)):t.cancelNavigationTransition(e,n)}t.currentNavigation=null}),k(function(i){if(r=!0,function(e){return e&&e[_e]}(i)){var o=Pt(i.url);o||(t.navigated=!0,t.restoreHistory(e,!0));var a=new $(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(a),o?setTimeout(function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree),r={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy||An(e.source)};t.scheduleNavigation(n,"imperative",null,r,{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.restoreHistory(e,!0);var s=new ee(e.id,t.serializeUrl(e.extractedUrl),i);n.next(s);try{e.resolve(t.errorHandler(i))}catch(a){e.reject(a)}}return d.E}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout(function(){var t=n.source,i=n.state,r=n.urlTree,o={replaceUrl:!0};if(i){var a=Object.assign({},i);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}e.scheduleNavigation(r,t,i,o)},0),e.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var n=t.urlTree.toString()===e.urlTree.toString();return t.transitionId!==e.transitionId||!n||!("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source)}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){Lt(e),this.config=e.map(Bt),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,r=t.fragment,o=t.queryParamsHandling,a=t.preserveFragment,s=n||this.routerState.root,u=a?this.currentUrlTree.fragment:r,l=null;switch(o){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}return null!==l&&(l=this.removeEmptyProps(l)),function(e,t,n,i,r){if(0===n.length)return _t(t.root,t.root,t,i,r);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new gt(!0,0,e);var t=0,n=!1,i=e.reduce(function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var o={};return we(i.outlets,function(e,t){o[t]="string"==typeof e?e.split("/"):e}),[].concat(_toConsumableArray(e),[{outlets:o}])}if(i.segmentPath)return[].concat(_toConsumableArray(e),[i.segmentPath])}return"string"!=typeof i?[].concat(_toConsumableArray(e),[i]):0===r?(i.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[].concat(_toConsumableArray(e),[i])},[]);return new gt(n,t,i)}(n);if(o.toRoot())return _t(t.root,new Re([],{}),t,i,r);var a=function(e,t,n){if(e.isAbsolute)return new yt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new yt(i,i===t.root,0)}var r=pt(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,o=n;o>r;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new yt(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?kt(a.segmentGroup,a.index,o.commands):bt(a.segmentGroup,a.index,o.commands);return _t(a.segmentGroup,s,t,i,r)}(s,this.currentUrlTree,e,l,null!=u?u:null)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=Pt(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(t=this.currentNavigation)||void 0===t?void 0:t.finalUrl)||0===r?this.currentUrlTree===(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(e,t){var n=new $(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(n),e.resolve(!1)}},{key:"generateNgRouterState",value:function(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,"\u0275routerPageId":t}:{navigationId:e}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.DyG),r.LFG(Le),r.LFG(bn),r.LFG(i.Ye),r.LFG(r.zs3),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(void 0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}();function An(e){return"imperative"!==e}var Tn=function(){var e=function(){function e(t,n,i,r,o){_classCallCheck(this,e),this.router=t,this.route=n,this.commands=[],this.onChanges=new v.xQ,null==i&&r.setAttribute(o.nativeElement,"tabindex","0")}return _createClass(e,[{key:"ngOnChanges",value:function(e){this.onChanges.next(this)}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"onClick",value:function(){var e={skipLocationChange:In(this.skipLocationChange),replaceUrl:In(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:In(this.preserveFragment)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(On),r.Y36(rt),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&r.NdJ("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),e}(),Pn=function(){var e=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.router=t,this.route=n,this.locationStrategy=i,this.commands=[],this.onChanges=new v.xQ,this.subscription=t.events.subscribe(function(e){e instanceof X&&r.updateTargetUrlAndHref()})}return _createClass(e,[{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"ngOnChanges",value:function(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,i,r){if(0!==e||t||n||i||r||"string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:In(this.skipLocationChange),replaceUrl:In(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:In(this.preserveFragment)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(On),r.Y36(rt),r.Y36(i.S$))},e.\u0275dir=r.lG2({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.NdJ("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(r.Ikx("href",t.href,r.LSH),r.uIk("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),e}();function In(e){return""===e||!!e}var Rn=function(){var e=function(){function e(t,n,i,o,a){_classCallCheck(this,e),this.parentContexts=t,this.location=n,this.resolver=i,this.changeDetector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.name=o||de,t.onChildOutletCreated(this.name,this)}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e}},{key:"attach",value:function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}},{key:"deactivate",value:function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}},{key:"activateWith",value:function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Dn(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(bn),r.Y36(r.s_b),r.Y36(r._Vd),r.$8M("name"),r.Y36(r.sBO))},e.\u0275dir=r.lG2({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e}(),Dn=function(){function e(t,n,i){_classCallCheck(this,e),this.route=t,this.childContexts=n,this.parent=i}return _createClass(e,[{key:"get",value:function(e,t){return e===rt?this.route:e===bn?this.childContexts:this.parent.get(e,t)}}]),e}(),Mn=function e(){_classCallCheck(this,e)},Ln=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return(0,s.of)(null)}}]),e}(),Fn=function(){var e=function(){function e(t,n,i,r,o){_classCallCheck(this,e),this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new gn(n,i,function(e){return t.triggerEvent(new ae(e))},function(e){return t.triggerEvent(new se(e))})}return _createClass(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe((0,x.h)(function(e){return e instanceof X}),(0,z.b)(function(){return e.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var e=this.injector.get(r.h0i);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,i=[],r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var s=o._loadedConfig;i.push(this.processRoutes(s.module,s.routes))}else o.loadChildren&&!o.canLoad?i.push(this.preloadConfig(e,o)):o.children&&i.push(this.processRoutes(e,o.children))}}catch(u){r.e(u)}finally{r.f()}return(0,a.D)(i).pipe((0,W.J)(),(0,q.U)(function(e){}))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return(t._loadedConfig?(0,s.of)(t._loadedConfig):n.loader.load(e.injector,t)).pipe((0,Y.zg)(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(On),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(r.zs3),r.LFG(Mn))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Nn=function(){var e=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof J?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof X&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof fe&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new fe(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(On),r.LFG(i.EM),r.LFG(void 0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Bn=new r.OlP("ROUTER_CONFIGURATION"),Un=new r.OlP("ROUTER_FORROOT_GUARD"),jn=[i.Ye,{provide:Le,useClass:Fe},{provide:On,useFactory:function(e,t,n,i,r,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0,c=new On(null,e,t,n,i,r,o,ke(a));return u&&(c.urlHandlingStrategy=u),l&&(c.routeReuseStrategy=l),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(s,c),s.enableTracing&&c.events.subscribe(function(e){var t,n;null===(t=console.group)||void 0===t||t.call(console,"Router Event: ".concat(e.constructor.name)),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)}),c},deps:[Le,bn,i.Ye,r.zs3,r.v3s,r.Sil,mn,Bn,[function(){return function e(){_classCallCheck(this,e)}}(),new r.FiY],[function(){return function e(){_classCallCheck(this,e)}}(),new r.FiY]]},bn,{provide:rt,useFactory:function(e){return e.routerState.root},deps:[On]},{provide:r.v3s,useClass:r.EAV},Fn,Ln,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(k(function(){return(0,s.of)(null)}))}}]),e}(),{provide:Bn,useValue:{enableTracing:!1}}];function Zn(){return new r.PXZ("Router",On)}var qn=function(){var e=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[jn,Yn(t),{provide:Un,useFactory:zn,deps:[[On,new r.FiY,new r.tp0]]},{provide:Bn,useValue:n||{}},{provide:i.S$,useFactory:Hn,deps:[i.lw,[new r.tBr(i.mr),new r.FiY],Bn]},{provide:Nn,useFactory:Vn,deps:[On,i.EM,Bn]},{provide:Mn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Ln},{provide:r.PXZ,multi:!0,useFactory:Zn},[Gn,{provide:r.ip1,multi:!0,useFactory:Kn,deps:[Gn]},{provide:Qn,useFactory:Wn,deps:[Gn]},{provide:r.tb,multi:!0,useExisting:Qn}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Yn(t)]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(Un,8),r.LFG(On,8))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}();function Vn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Nn(e,t,n)}function Hn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new i.Do(e,t):new i.b0(e,t)}function zn(e){return"guarded"}function Yn(e){return[{provide:r.deG,multi:!0,useValue:e},{provide:mn,multi:!0,useValue:e}]}var Gn=function(){var e=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new v.xQ}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(i.V_,Promise.resolve(null)).then(function(){if(e.destroyed)return Promise.resolve(!0);var t=null,n=new Promise(function(e){return t=e}),i=e.injector.get(On),r=e.injector.get(Bn);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return e.initNavigation?(0,s.of)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()):t(!0),n})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Bn),n=this.injector.get(Fn),i=this.injector.get(Nn),o=this.injector.get(On),a=this.injector.get(r.z2F);e===a.components[0]&&(("enabledNonBlocking"===t.initialNavigation||void 0===t.initialNavigation)&&o.initialNavigation(),n.setUpPreloading(),i.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}();function Kn(e){return e.appInitializer.bind(e)}function Wn(e){return e.bootstrapListener.bind(e)}var Qn=new r.OlP("Router Initializer")},6215:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var i=n(9765),r=n(7971),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._value=e,i}return _createClass(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var t=_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.N;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,this._value=e)}}]),n}(i.xQ)},1593:function(e,t,n){"use strict";n.d(t,{P:function(){return a}});var i=n(9193),r=n(5917),o=n(7574),a=function(){function e(t,n,i){_classCallCheck(this,e),this.kind=t,this.value=n,this.error=i,this.hasValue="N"===t}return _createClass(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return e=this.error,new o.y(function(t){return t.error(e)});case"C":return(0,i.c)()}var e;throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();a.completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0)},7574:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var i,r=n(7393),o=n(9181),a=n(6490),s=n(6554),u=n(4487),l=n(2494),c=((i=function(e){function t(e){_classCallCheck(this,t),this._isScalar=!1,e&&(this._subscribe=e)}return _createClass(t,[{key:"lift",value:function(e){var n=new t;return n.source=this,n.operator=e,n}},{key:"subscribe",value:function(e,t,n){var i=this.operator,s=function(e,t,n){if(e){if(e instanceof r.L)return e;if(e[o.b])return e[o.b]()}return e||t||n?new r.L(e,t,n):new r.L(a.c)}(e,t,n);if(s.add(i?i.call(s,this.source):this.source||l.v.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.v.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){l.v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,i=t.destination,o=t.isStopped;if(n||o)return!1;e=i&&i instanceof r.L?i:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=h(t))(function(t,i){var r;r=n.subscribe(function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}},i,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:e,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n4&&void 0!==arguments[4]?arguments[4]:new s(e,n,i);if(!r.closed)return t instanceof l.y?t.subscribe(r):(0,u.s)(t)(r)}var h=n(6693),f={};function d(){for(var e=arguments.length,t=new Array(e),n=0;n1?Array.prototype.slice.call(arguments):e)},i,n)})}function u(e,t,n,i,r){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var a=e;e.addEventListener(t,n,r),o=function(){return a.removeEventListener(t,n,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),o=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var l=e;e.addListener(t,n),o=function(){return l.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof l&&(s=t.pop()),null===u&&1===t.length&&t[0]instanceof i.y?t[0]:(0,o.J)(s)((0,a.n)(t,u))}},5917:function(e,t,n){"use strict";n.d(t,{of:function(){return a}});var i=n(4869),r=n(6693),o=n(4087);function a(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:i.P;return function(e){return function(t){return t.lift(new o(e))}}(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=-1;return(0,u.k)(t)?r=Number(t)<1?1:Number(t):(0,l.K)(t)&&(n=t),(0,l.K)(n)||(n=i.P),new s.y(function(t){var i=(0,u.k)(e)?e:+e-n.now();return n.schedule(c,i,{index:0,period:r,subscriber:t})})}(e,t)})}},4612:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var i=n(9773);function r(e,t){return(0,i.zg)(e,t,1)}},4395:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var i=n(7393),r=n(3637);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P;return function(n){return n.lift(new a(e,t))}}var a=function(){function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.dueTime,this.scheduler))}}]),e}(),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return _createClass(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(i.L);function u(e){e.debouncedNext()}},7519:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var i=n(7393);function r(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.compare=t,this.keySelector=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.compare,this.keySelector))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).keySelector=r,o.hasKey=!1,"function"==typeof i&&(o.compare=i),o}return _createClass(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(n){return this.destination.error(n)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}]),n}(i.L)},5435:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var i=n(7393);function r(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).predicate=i,o.thisArg=r,o.count=0,o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(i.L)},8002:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var i=n(7393);function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).project=i,o.count=0,o.thisArg=r||_assertThisInitialized(o),o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(i.L)},3282:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var i=n(9773),r=n(4487);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,i.zg)(r.y,e)}},9773:function(e,t,n){"use strict";n.d(t,{zg:function(){return a}});var i=n(8002),r=n(4402),o=n(5345);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(o){return o.pipe(a(function(n,o){return(0,r.D)(e(n,o)).pipe((0,i.U)(function(e,i){return t(n,e,o,i)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new s(e,n))})}var s=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}]),e}(),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(r=t.call(this,e)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return _createClass(n,[{key:"_next",value:function(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(o.Ds)},1307:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var i=n(7393);function r(){return function(e){return e.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new a(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).connectable=i,r}return _createClass(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,i&&(!n||i===n)&&i.unsubscribe()}}else this.connection=null}}]),n}(i.L)},3653:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var i=n(7393);function r(e){return function(t){return t.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.total=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.total))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(i.L)},9761:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var i=n(8071),r=n(4869);function o(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n,i=!1;try{this.work(e)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"schedule",value:function(e){return this}}]),n}(n(5319).w))},6102:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var i,r=((i=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}()).now=function(){return Date.now()},i),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.now;return _classCallCheck(this,n),(i=t.call(this,e,function(){return n.delegate&&n.delegate!==_assertThisInitialized(i)?n.delegate.now():o()})).actions=[],i.active=!1,i.scheduled=void 0,i}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,i):_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(r)},4581:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var i=1,r=Promise.resolve(),o={};function a(e){return e in o&&(delete o[e],!0)}var s=function(e){var t=i++;return o[t]=!0,r.then(function(){return a(t)&&e()}),t},u=function(e){a(e)},l=n(6465),c=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=s(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(u(t),e.scheduled=void 0)}}]),n}(l.o))},3637:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var i=n(6465),r=new(n(6102).v)(i.o)},377:function(e,t,n){"use strict";n.d(t,{hZ:function(){return i}});var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var i=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},7971:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var i=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},4449:function(e,t,n){"use strict";function i(e){setTimeout(function(){throw e},0)}n.d(t,{z:function(){return i}})},4487:function(e,t,n){"use strict";function i(e){return e}n.d(t,{y:function(){return i}})},9796:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var i=Array.isArray||function(e){return e&&"number"==typeof e.length}},9489:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var i=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},9105:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,{m:function(){return i}})},6561:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var i=n(9796);function r(e){return!(0,i.k)(e)&&e-parseFloat(e)+1>=0}},1555:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,{K:function(){return i}})},5639:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var i=n(7574);function r(e){return!!e&&(e instanceof i.y||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},4072:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,{t:function(){return i}})},4869:function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,{K:function(){return i}})},7444:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var i=n(5015),r=n(4449),o=n(377),a=n(6554),s=n(9489),u=n(4072),l=n(1555),c=function(e){if(e&&"function"==typeof e[a.L])return function(e){return function(t){var n=e[a.L]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}}(e);if((0,s.z)(e))return(0,i.V)(e);if((0,u.t)(e))return function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,r.z),t}}(e);if(e&&"function"==typeof e[o.hZ])return function(e){return function(t){for(var n=e[o.hZ]();;){var i=void 0;try{i=n.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}}(e);var t="You provided ".concat((0,l.K)(e)?"an invalid object":"'".concat(e,"'")," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.");throw new TypeError(t)}},5015:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var i=function(e){return function(t){for(var n=0,i=e.length;n0?(this.dialogRef.afterClosed().subscribe(function(t){e.closed()}),this.setExtra(this.data.autoclose),this.subscription=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.P;return(!(0,a.k)(e)||e<0)&&(e=0),(!t||"function"!=typeof t.schedule)&&(t=o.P),new r.y(function(n){return n.add(t.schedule(s,e,{subscriber:n,counter:0,period:e})),n})}(1e3).subscribe(function(t){var n=e.data.autoclose-1e3*(t+1);e.setExtra(n),n<=0&&e.close()})):this.data.checkClose&&(this.dialogRef.afterClosed().subscribe(function(t){e.closed()}),this.subscription=this.data.checkClose.subscribe(function(t){window.setTimeout(function(){e.doClose()})}))}},{key:"initYesNo",value:function(){}},{key:"ngOnInit",value:function(){this.data.type===m.yesno?this.initYesNo():this.initAlert()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(i.so),u.Y36(i.WI))},e.\u0275cmp=u.Xpm({type:e,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(e,t){1&e&&(u._UZ(0,"h4",0),u.ALo(1,"safeHtml"),u._UZ(2,"mat-dialog-content",1),u.ALo(3,"safeHtml"),u.TgZ(4,"mat-dialog-actions"),u.YNc(5,d,4,1,"button",2),u.YNc(6,p,3,0,"button",2),u.YNc(7,v,3,0,"button",2),u.qZA()),2&e&&(u.Q6J("innerHtml",u.lcZ(1,5,t.data.title),u.oJD),u.xp6(2),u.Q6J("innerHTML",u.lcZ(3,7,t.data.body),u.oJD),u.xp6(3),u.Q6J("ngIf",0==t.data.type),u.xp6(1),u.Q6J("ngIf",1==t.data.type),u.xp6(1),u.Q6J("ngIf",1==t.data.type))},directives:[i.uh,i.xY,i.H8,l.O5,c.lW,i.ZT,h.P],pipes:[f.z],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),e}(),y=function(){var e=function(){function e(t){_classCallCheck(this,e),this.dialog=t}return _createClass(e,[{key:"alert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=window.innerWidth<800?"80%":"40%";return this.dialog.open(g,{width:r,data:{title:e,body:t,autoclose:n,checkClose:i,type:m.alert},disableClose:!0})}},{key:"yesno",value:function(e,t){var n=window.innerWidth<800?"80%":"40%";return this.dialog.open(g,{width:n,data:{title:e,body:t,type:m.yesno},disableClose:!0}).componentInstance.yesno}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(i.uw))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac}),e}()},2870:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var i,r=n(7574),o=((i=function(){function e(t){_classCallCheck(this,e),this.api=t,this.delay=t.config.launcher_wait_time}return _createClass(e,[{key:"launchURL",value:function(t){var n=this,i="init",o=function(e){var t=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof e?t=e:403===e.status&&(t=django.gettext("Your session has expired. Please, login again")),window.setTimeout(function(){n.showAlert(django.gettext("Error"),t,5e3),403===e.status&&window.setTimeout(function(){n.api.logout()},5e3)})};if("udsa://"===t.substring(0,7)){var a=t.split("//")[1].split("/"),s=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0,new r.y(function(e){var t=0,r=function i(){s.componentInstance&&n.api.status(a[0],a[1]).subscribe(function(r){"ready"===r.status?(t?Date.now()-t>5*n.delay&&(s.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),s.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""):(t=Date.now(),s.componentInstance.data.title=django.gettext("Service ready"),s.componentInstance.data.body=django.gettext("Launching UDS Client, almost done.")),window.setTimeout(i,n.delay)):"accessed"===r.status?(s.componentInstance.data.body=django.gettext("Machine ready, waiting for UDS Client"),e.next(!0),e.complete()):"running"===r.status?window.setTimeout(i,n.delay):(e.next(!0),e.complete(),o())},function(t){e.next(!0),e.complete(),o(t)})};window.setTimeout(function e(){if("init"===i)window.setTimeout(e,n.delay);else{if("error"===i||"stop"===i)return;window.setTimeout(r)}})}));this.api.enabler(a[0],a[1]).subscribe(function(e){if(e.error)i="error",n.api.gui.alert(django.gettext("Error launching service"),e.error);else{if(e.url.startsWith("/"))return s.componentInstance&&s.componentInstance.close(),i="stop",void n.launchURL(e.url);"https:"===window.location.protocol&&(e.url=e.url.replace("uds://","udss://")),i="enabled",n.doLaunch(e.url)}},function(e){n.api.logout()})}else var u=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Your connection is being prepared. It will open on a new window when ready."),0,new r.y(function(i){window.setTimeout(function r(){u.componentInstance&&n.api.transportUrl(t).subscribe(function(t){if(t.url)if(i.next(!0),i.complete(),-1!==t.url.indexOf("o_s_w=")){var a=/(.*)&o_s_w=.*/.exec(t.url);window.location.href=a[1]}else{var s="global";if(-1!==t.url.indexOf("o_n_w=")){var u=/(.*)&o_n_w=([a-zA-Z0-9._-]*)/.exec(t.url);u&&(s=u[2],t.url=u[1])}e.transportsWindow[s]&&e.transportsWindow[s].close(),e.transportsWindow[s]=window.open(t.url,"uds_trans_"+s)}else t.running?window.setTimeout(r,n.delay):(i.next(!0),i.complete(),o(t.error))},function(e){i.next(!0),i.complete(),o(e)})})}))}},{key:"showAlert",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return this.api.gui.alert(django.gettext("Launching service"),'

'+e+'

'+t+"

",n,i)}},{key:"doLaunch",value:function(e){var t=document.getElementById("hiddenUdsLauncherIFrame");if(null===t){var n=document.createElement("div");n.id="testID",n.innerHTML='',document.body.appendChild(n),t=document.getElementById("hiddenUdsLauncherIFrame")}t.contentWindow.location.href=e}}]),e}()).transportsWindow={},i)},4902:function _(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{G:function(){return LoginComponent}});var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7540),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3018),_angular_forms__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(665),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8295),_translate_directive__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7918),_angular_material_input__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9983),_angular_common__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8583),_angular_material_button__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1095),_angular_material_select__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7441),_angular_material_core__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(2458),_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6498);function LoginComponent_div_22_mat_option_6_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"mat-option",20),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&e){var n=t.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",n.id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",n.name," ")}}function LoginComponent_div_22_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_1__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(1,"mat-form-field",17),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(2,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"mat-select",18),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("selectionChange",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_1__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw().changeAuth(e.value)}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()}if(2&e){var i=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",i.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngForOf",i.auths)}}var LoginComponent=function(){var LoginComponent=function(){function LoginComponent(e){_classCallCheck(this,LoginComponent),this.api=e,this.title="UDS Enterprise",this.title=e.config.site_name,this.auths=e.config.authenticators.slice(0),this.auths.sort(function(e,t){return e.priority-t.priority})}return _createClass(LoginComponent,[{key:"ngOnInit",value:function(){document.getElementById("loginform").action=this.api.config.urls.login;var e=document.getElementById("token");e.name=this.api.config.csrf_field,e.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}},{key:"changeAuth",value:function changeAuth(auth){this.auth.value=auth;var doCustomAuth=function doCustomAuth(data){eval(data)},_iterator22=_createForOfIteratorHelper(this.auths),_step22;try{for(_iterator22.s();!(_step22=_iterator22.n()).done;){var Ke=_step22.value;Ke.id===auth&&Ke.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(Ke.id).subscribe(function(e){return doCustomAuth(e)}))}}catch(err){_iterator22.e(err)}finally{_iterator22.f()}}},{key:"launch",value:function(){return document.getElementById("loginform").submit(),!0}}]),LoginComponent}();return LoginComponent.\u0275fac=function(e){return new(e||LoginComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.Y36(_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.n))},LoginComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Xpm({type:LoginComponent,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["appearance","standard"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("ngSubmit",function(){return t.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(1,"input",1),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(2,"input",2),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(4,"div",4),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(9,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(10,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(11,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(12,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(15,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(16,"div",9),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(17,"mat-form-field",10),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(18,"mat-label"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(21,"input",12),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(22,LoginComponent_div_22_Template,7,2,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(23,"div",14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(24,"button",15),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(27,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_1__.ALo(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("src",t.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LSH),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",t.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngIf",t.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_1__.lcZ(28,4,t.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oJD))},directives:[_angular_forms__WEBPACK_IMPORTED_MODULE_2__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.F,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.hX,_translate_directive__WEBPACK_IMPORTED_MODULE_4__.P,_angular_material_input__WEBPACK_IMPORTED_MODULE_5__.Nt,_angular_common__WEBPACK_IMPORTED_MODULE_6__.O5,_angular_material_button__WEBPACK_IMPORTED_MODULE_7__.lW,_angular_material_select__WEBPACK_IMPORTED_MODULE_8__.gD,_angular_common__WEBPACK_IMPORTED_MODULE_6__.sg,_angular_material_core__WEBPACK_IMPORTED_MODULE_9__.ey],pipes:[_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__.z],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px rgba(0,0,0,.141),0 3px 1px -2px rgba(0,0,0,.122),0 1px 5px rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]}),LoginComponent}()},7918:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var i,r=n(3018),o=((i=function(){function e(t){_classCallCheck(this,e),this.el=t}return _createClass(e,[{key:"ngOnInit",value:function(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}]),e}()).\u0275fac=function(e){return new(e||i)(r.Y36(r.SBq))},i.\u0275dir=r.lG2({type:i,selectors:[["uds-translate"]]}),i)},3513:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var i=function(){function e(t){_classCallCheck(this,e),this.user=t.user,this.role=t.role,this.admin=t.admin}return _createClass(e,[{key:"isStaff",get:function(){return"staff"===this.role||"admin"===this.role}},{key:"isAdmin",get:function(){return"admin"===this.role}},{key:"isLogged",get:function(){return null!=this.user}},{key:"isRestricted",get:function(){return"restricted"===this.role}}]),e}()},7540:function _(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{n:function(){return UDSApiService}});var _types_config__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3513),_helpers_plugin__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2870),_environments_environment__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2340),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3018),_angular_common_http__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1841),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3183),_angular_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(8741),UDSApiService=function(){var UDSApiService=function(){function UDSApiService(e,t,n){_classCallCheck(this,UDSApiService),this.http=e,this.gui=t,this.router=n,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_1__.n(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_2__.S(this)}return _createClass(UDSApiService,[{key:"config",get:function(){return udsData.config}},{key:"staffInfo",get:function(){return udsData.info}},{key:"plugins",get:function(){return udsData.plugins}},{key:"actors",get:function(){return udsData.actors}},{key:"errors",get:function(){return udsData.errors}},{key:"enabler",value:function(e,t){var n=this.config.urls.enabler.replace("param1",e).replace("param2",t);return this.http.get(n)}},{key:"status",value:function(e,t){var n=this.config.urls.status.replace("param1",e).replace("param2",t);return this.http.get(n)}},{key:"action",value:function(e,t){var n=this.config.urls.action.replace("param1",t).replace("param2",e);return this.http.get(n)}},{key:"transportUrl",value:function(e){return this.http.get(e)}},{key:"galleryImageURL",value:function(e){return this.config.urls.galleryImage.replace("param1",e)}},{key:"transportIconURL",value:function(e){return this.config.urls.transportIcon.replace("param1",e)}},{key:"staticURL",value:function(e){return _environments_environment__WEBPACK_IMPORTED_MODULE_0__.N.production?this.config.urls.static+e:"/static/"+e}},{key:"getServicesInformation",value:function(){return this.http.get(this.config.urls.services)}},{key:"executeCustomJSForServiceLaunch",value:function executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}},{key:"gotoAdmin",value:function(){window.location.href=this.config.urls.admin}},{key:"logout",value:function(){window.location.href=this.config.urls.logout}},{key:"launchURL",value:function(e){this.plugin.launchURL(e)}},{key:"getAuthCustomHtml",value:function(e){return this.http.get(this.config.urls.customAuth+e,{responseType:"text"})}}]),UDSApiService}();return UDSApiService.\u0275fac=function(e){return new(e||UDSApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_4__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__.h),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_router__WEBPACK_IMPORTED_MODULE_6__.F0))},UDSApiService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_3__.Yz7({token:UDSApiService,factory:UDSApiService.\u0275fac}),UDSApiService}()},2340:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var i={production:!0}},1479:function(e,t,n){"use strict";var i,r,o=n(9075),a=n(3018),s=n(9490),u=n(9765),l=n(739),c=n(8071),h=n(7574),f=n(5257),d=n(3653),p=n(4395),v=n(8002),_=n(9761),m=n(6782),g=n(521),y=((i=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||i)},i.\u0275mod=a.oAB({type:i}),i.\u0275inj=a.cJS({}),i),b=new Set,k=function(){var e=function(){function e(t){_classCallCheck(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):C}return _createClass(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!b.has(e))try{r||((r=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(r)),r.sheet&&(r.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),b.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(g.t4))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(g.t4))},token:e,providedIn:"root"}),e}();function C(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var w=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new u.xQ}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return x((0,s.Eq)(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,n=x((0,s.Eq)(e)).map(function(e){return t._registerQuery(e).observable}),i=(0,l.aj)(n);return(i=(0,c.z)(i.pipe((0,f.q)(1)),i.pipe((0,d.T)(1),(0,p.b)(0)))).pipe((0,v.U)(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var n=e.matches,i=e.query;t.matches=t.matches||n,t.breakpoints[i]=n}),t}))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),i={observable:new h.y(function(e){var i=function(n){return t._zone.run(function(){return e.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe((0,_.O)(n),(0,v.U)(function(t){var n=t.matches;return{query:e,matches:n}}),(0,m.R)(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(k),a.LFG(a.R0b))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(k),a.LFG(a.R0b))},token:e,providedIn:"root"}),e}();function x(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}var E=n(1841),S=n(8741),O=n(7540),A=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"canActivate",value:function(e,t){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(O.n))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),T=n(4902),P=n(7918),I=n(8583);function R(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",6),a.NdJ("click",function(){var e=a.CHM(n).$implicit;return a.oxw().download(e.url)}),a.TgZ(1,"div",7),a._UZ(2,"img",8),a.qZA(),a.TgZ(3,"div",9),a._uU(4),a.qZA(),a.TgZ(5,"div",10),a._uU(6),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.Tol(r.css(i)),a.xp6(2),a.Q6J("src",r.img(i.name),a.LSH),a.xp6(2),a.lnq(" ",r.legacy(i)," ",i.name," (",i.url.split(".").pop(),") "),a.xp6(2),a.hij(" ",i.description," ")}}var D=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"download",value:function(e){window.location.href=e}},{key:"img",value:function(e){return this.api.staticURL("modern/img/"+e+".png")}},{key:"css",value:function(e){var t=["plugin"];return e.legacy&&t.push("legacy"),t}},{key:"legacy",value:function(e){return e.legacy?"Legacy":""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(O.n))},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-client-download"]],decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.TgZ(2,"div",2),a.TgZ(3,"h1"),a.TgZ(4,"uds-translate"),a._uU(5,"UDS Client"),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.TgZ(6,"div",3),a.YNc(7,R,7,7,"div",4),a.qZA(),a.TgZ(8,"div",5),a.TgZ(9,"ul"),a.TgZ(10,"li"),a.TgZ(11,"uds-translate"),a._uU(12,"Download UDS client for your platform"),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(7),a.Q6J("ngForOf",t.api.plugins))},directives:[P.P,I.sg],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.102)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem}"]}),e}(),M=n(6498);function L(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",6),a.NdJ("click",function(){var e=a.CHM(n).$implicit;return a.oxw().download(e.url)}),a.TgZ(1,"div",7),a._UZ(2,"img",8),a.qZA(),a._UZ(3,"div",9),a.ALo(4,"safeHtml"),a._UZ(5,"div",10),a.ALo(6,"safeHtml"),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw();a.Tol(r.css(i.name)),a.xp6(2),a.Q6J("src",r.img(i.name),a.LSH),a.xp6(1),a.Q6J("innerHTML",a.lcZ(4,5,i.name),a.oJD),a.xp6(2),a.Q6J("innerHTML",a.lcZ(6,7,i.description),a.oJD)}}var F=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.actors=[];var t=[];this.api.actors.forEach(function(n){n.name.includes("legacy")?t.push(n):e.actors.push(n)}),t.forEach(function(t){e.actors.push(t)})}},{key:"download",value:function(e){window.location.href=e}},{key:"img",value:function(e){var t=e.split(".").pop().toLowerCase(),n="Linux";return"exe"===t?n="Windows":"pkg"===t&&(n="MacOS"),this.api.staticURL("modern/img/"+n+".png")}},{key:"css",value:function(e){var t=["actor"];return e.toLowerCase().includes("legacy")&&t.push("legacy"),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(O.n))},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.TgZ(2,"div",2),a.TgZ(3,"h1"),a.TgZ(4,"uds-translate"),a._uU(5,"Downloads"),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.TgZ(6,"div",3),a.YNc(7,L,7,9,"div",4),a.qZA(),a.TgZ(8,"div",5),a.TgZ(9,"ul"),a.TgZ(10,"li"),a.TgZ(11,"uds-translate"),a._uU(12,"Always download the UDS actor matching your platform"),a.qZA(),a.qZA(),a.TgZ(13,"li"),a.TgZ(14,"uds-translate"),a._uU(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(7),a.Q6J("ngForOf",t.actors))},directives:[P.P,I.sg],pipes:[M.z],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);background-color:rgba(0,0,0,.102)}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:bold;overflow:hidden}"]}),e}(),N=n(5319),B=n(8345),U=0,j=new a.OlP("CdkAccordion"),Z=function(){var e=function(){function e(){_classCallCheck(this,e),this._stateChanges=new u.xQ,this._openCloseAllActions=new u.xQ,this.id="cdk-accordion-"+U++,this._multi=!1}return _createClass(e,[{key:"multi",get:function(){return this._multi},set:function(e){this._multi=(0,s.Ig)(e)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[a._Bn([{provide:j,useExisting:e}]),a.TTD]}),e}(),q=0,V=function(){var e=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=i,this._openCloseAllSubscription=N.w.EMPTY,this.closed=new a.vpe,this.opened=new a.vpe,this.destroyed=new a.vpe,this.expandedChange=new a.vpe,this.id="cdk-accordion-child-"+q++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=i.listen(function(e,t){r.accordion&&!r.accordion.multi&&r.accordion.id===t&&r.id!==e&&(r.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return _createClass(e,[{key:"expanded",get:function(){return this._expanded},set:function(e){e=(0,s.Ig)(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,s.Ig)(e)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var e=this;return this.accordion._openCloseAllActions.subscribe(function(t){e.disabled||(e.expanded=t)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(j,12),a.Y36(a.sBO),a.Y36(B.A8))},e.\u0275dir=a.lG2({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[a._Bn([{provide:j,useValue:void 0}])]}),e}(),H=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),z=n(7636),Y=n(2458),G=n(9238),K=n(7519),W=n(5435),Q=n(6461),J=n(6237),X=n(9193),$=n(6682),ee=n(7238),te=["body"];function ne(e,t){}var ie=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],re=["mat-expansion-panel-header","*","mat-action-row"];function oe(e,t){if(1&e&&a._UZ(0,"span",2),2&e){var n=a.oxw();a.Q6J("@indicatorRotate",n._getExpandedState())}}var ae=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],se=["mat-panel-title","mat-panel-description","*"],ue=new a.OlP("MAT_ACCORDION"),le="225ms cubic-bezier(0.4,0.0,0.2,1)",ce={indicatorRotate:(0,ee.X$)("indicatorRotate",[(0,ee.SB)("collapsed, void",(0,ee.oB)({transform:"rotate(0deg)"})),(0,ee.SB)("expanded",(0,ee.oB)({transform:"rotate(180deg)"})),(0,ee.eR)("expanded <=> collapsed, void => collapsed",(0,ee.jt)(le))]),bodyExpansion:(0,ee.X$)("bodyExpansion",[(0,ee.SB)("collapsed, void",(0,ee.oB)({height:"0px",visibility:"hidden"})),(0,ee.SB)("expanded",(0,ee.oB)({height:"*",visibility:"visible"})),(0,ee.eR)("expanded <=> collapsed, void => collapsed",(0,ee.jt)(le))])},he=function(){var e=function e(t){_classCallCheck(this,e),this._template=t};return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.Rgc))},e.\u0275dir=a.lG2({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e}(),fe=0,de=new a.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),pe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,s,l,c){var h;return _classCallCheck(this,n),(h=t.call(this,e,i,r))._viewContainerRef=o,h._animationMode=l,h._hideToggle=!1,h.afterExpand=new a.vpe,h.afterCollapse=new a.vpe,h._inputChanges=new u.xQ,h._headerId="mat-expansion-panel-header-"+fe++,h._bodyAnimationDone=new u.xQ,h.accordion=e,h._document=s,h._bodyAnimationDone.pipe((0,K.x)(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){"void"!==e.fromState&&("expanded"===e.toState?h.afterExpand.emit():"collapsed"===e.toState&&h.afterCollapse.emit())}),c&&(h.hideToggle=c.hideToggle),h}return _createClass(n,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=(0,s.Ig)(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe((0,_.O)(null),(0,W.h)(function(){return e.expanded&&!e._portal}),(0,f.q)(1)).subscribe(function(){e._portal=new z.UE(e._lazyContent._template,e._viewContainerRef)})}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}]),n}(V);return e.\u0275fac=function(t){return new(t||e)(a.Y36(ue,12),a.Y36(a.sBO),a.Y36(B.A8),a.Y36(a.s_b),a.Y36(I.K0),a.Y36(J.Qb,8),a.Y36(de,8))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){var i;(1&e&&a.Suo(n,he,5),2&e)&&(a.iGM(i=a.CRH())&&(t._lazyContent=i.first))},viewQuery:function(e,t){var n;(1&e&&a.Gf(te,5),2&e)&&(a.iGM(n=a.CRH())&&(t._body=n.first))},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&a.ekj("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[a._Bn([{provide:ue,useValue:void 0}]),a.qOj,a.TTD],ngContentSelectors:re,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(a.F$t(ie),a.Hsn(0),a.TgZ(1,"div",0,1),a.NdJ("@bodyExpansion.done",function(e){return t._bodyAnimationDone.next(e)}),a.TgZ(3,"div",2),a.Hsn(4,1),a.YNc(5,ne,0,0,"ng-template",3),a.qZA(),a.Hsn(6,2),a.qZA()),2&e&&(a.xp6(1),a.Q6J("@bodyExpansion",t._getExpandedState())("id",t.id),a.uIk("aria-labelledby",t._headerId),a.xp6(4),a.Q6J("cdkPortalOutlet",t._portal))},directives:[z.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ce.bodyExpansion]},changeDetection:0}),e}(),ve=(0,Y.sb)(function e(){_classCallCheck(this,e)}),_e=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,u){var l;_classCallCheck(this,n),(l=t.call(this)).panel=e,l._element=i,l._focusMonitor=r,l._changeDetectorRef=o,l._animationMode=s,l._parentChangeSubscription=N.w.EMPTY;var c=e.accordion?e.accordion._stateChanges.pipe((0,W.h)(function(e){return!(!e.hideToggle&&!e.togglePosition)})):X.E;return l.tabIndex=parseInt(u||"")||0,l._parentChangeSubscription=(0,$.T)(e.opened,e.closed,c,e._inputChanges.pipe((0,W.h)(function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()}),e.closed.pipe((0,W.h)(function(){return e._containsFocus()})).subscribe(function(){return r.focusVia(i,"program")}),a&&(l.expandedHeight=a.expandedHeight,l.collapsedHeight=a.collapsedHeight),l}return _createClass(n,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(e){switch(e.keyCode){case Q.L_:case Q.K5:(0,Q.Vb)(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._element).subscribe(function(t){t&&e.panel.accordion&&e.panel.accordion._handleHeaderFocus(e)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),n}(ve);return e.\u0275fac=function(t){return new(t||e)(a.Y36(pe,1),a.Y36(a.SBq),a.Y36(G.tE),a.Y36(a.sBO),a.Y36(de,8),a.Y36(J.Qb,8),a.$8M("tabindex"))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&a.NdJ("click",function(){return t._toggle()})("keydown",function(e){return t._keydown(e)}),2&e&&(a.uIk("id",t.panel._headerId)("tabindex",t.tabIndex)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),a.Udp("height",t._getHeaderHeight()),a.ekj("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[a.qOj],ngContentSelectors:se,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(a.F$t(ae),a.TgZ(0,"span",0),a.Hsn(1),a.Hsn(2,1),a.Hsn(3,2),a.qZA(),a.YNc(4,oe,1,1,"span",1)),2&e&&(a.xp6(4),a.Q6J("ngIf",t._showToggle()))},directives:[I.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}\n'],encapsulation:2,data:{animation:[ce.indicatorRotate]},changeDetection:0}),e}(),me=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),e}(),ge=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e}(),ye=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._ownHeaders=new a.n_E,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return _createClass(n,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=(0,s.Ig)(e)}},{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe((0,_.O)(this._headers)).subscribe(function(t){e._ownHeaders.reset(t.filter(function(t){return t.panel.accordion===e})),e._ownHeaders.notifyOnChanges()}),this._keyManager=new G.Em(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(e){this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),n}(Z);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(e,t,n){var i;(1&e&&a.Suo(n,_e,5),2&e)&&(a.iGM(i=a.CRH())&&(t._headers=i))},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[a._Bn([{provide:ue,useExisting:t}]),a.qOj]}),t}(),be=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[I.ez,Y.BQ,H,z.eL]]}),e}();function ke(e,t){if(1&e&&(a.TgZ(0,"li"),a.TgZ(1,"uds-translate"),a._uU(2,"Detected proxy ip"),a.qZA(),a._uU(3),a.qZA()),2&e){var n=a.oxw(2);a.xp6(3),a.hij(": ",n.api.staffInfo.ip_proxy,"")}}function Ce(e,t){if(1&e&&(a.TgZ(0,"li"),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n)}}function we(e,t){if(1&e&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&e){var n=t.$implicit;a.xp6(1),a.Oqu(n)}}function xe(e,t){if(1&e&&(a.TgZ(0,"div",1),a.TgZ(1,"h1"),a.TgZ(2,"uds-translate"),a._uU(3,"Information"),a.qZA(),a.qZA(),a.TgZ(4,"mat-accordion"),a.TgZ(5,"mat-expansion-panel"),a.TgZ(6,"mat-expansion-panel-header",2),a.TgZ(7,"mat-panel-title"),a._uU(8," IPs "),a.qZA(),a.TgZ(9,"mat-panel-description"),a.TgZ(10,"uds-translate"),a._uU(11,"Client IP"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(12,"ol"),a.TgZ(13,"li"),a.TgZ(14,"uds-translate"),a._uU(15,"Client IP"),a.qZA(),a._uU(16),a.qZA(),a.YNc(17,ke,4,1,"li",3),a.qZA(),a.qZA(),a.TgZ(18,"mat-expansion-panel"),a.TgZ(19,"mat-expansion-panel-header",2),a.TgZ(20,"mat-panel-title"),a.TgZ(21,"uds-translate"),a._uU(22,"Transports"),a.qZA(),a.qZA(),a.TgZ(23,"mat-panel-description"),a.TgZ(24,"uds-translate"),a._uU(25,"UDS transports for this client"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(26,"ol"),a.YNc(27,Ce,2,1,"li",4),a.qZA(),a.qZA(),a.TgZ(28,"mat-expansion-panel"),a.TgZ(29,"mat-expansion-panel-header",2),a.TgZ(30,"mat-panel-title"),a.TgZ(31,"uds-translate"),a._uU(32,"Networks"),a.qZA(),a.qZA(),a.TgZ(33,"mat-panel-description"),a.TgZ(34,"uds-translate"),a._uU(35,"UDS networks for this IP"),a.qZA(),a.qZA(),a.qZA(),a.YNc(36,we,2,1,"span",4),a._uU(37,"\xa0 "),a.qZA(),a.qZA(),a.qZA()),2&e){var n=a.oxw();a.xp6(16),a.hij(": ",n.api.staffInfo.ip,""),a.xp6(1),a.Q6J("ngIf",n.api.staffInfo.ip_proxy!==n.api.staffInfo.ip),a.xp6(10),a.Q6J("ngForOf",n.api.staffInfo.transports),a.xp6(9),a.Q6J("ngForOf",n.api.staffInfo.networks)}}var Ee=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(O.n))},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&a.YNc(0,xe,38,4,"div",0),2&e&&a.Q6J("ngIf",t.api.staffInfo)},directives:[I.O5,P.P,ye,pe,_e,ge,me,I.sg],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4}"]}),e}(),Se=n(2759),Oe=n(3342),Ae=n(8295),Te=n(9983),Pe=["input"],Ie=function(){var e=function(){function e(){_classCallCheck(this,e),this.updateEvent=new a.vpe}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;(0,Se.R)(this.input.nativeElement,"keyup").pipe((0,W.h)(Boolean),(0,p.b)(600),(0,K.x)(),(0,Oe.b)(function(){return e.update(e.input.nativeElement.value)})).subscribe()}},{key:"update",value:function(e){this.updateEvent.emit(e.toLowerCase())}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-filter"]],viewQuery:function(e,t){var n;(1&e&&a.Gf(Pe,7),2&e)&&(a.iGM(n=a.CRH())&&(t.input=n.first))},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"mat-form-field",1),a.TgZ(2,"mat-label"),a.TgZ(3,"uds-translate"),a._uU(4,"Filter"),a.qZA(),a.qZA(),a._UZ(5,"input",2,3),a.TgZ(7,"i",4),a._uU(8,"search"),a.qZA(),a.qZA(),a.qZA())},directives:[Ae.KE,Ae.hX,P.P,Te.Nt,Ae.R9],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]}),e}(),Re=n(5917),De=n(4581),Me=n(3190),Le=n(3637),Fe=n(7393),Ne=n(1593);function Be(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Le.P,n=function(e){return e instanceof Date&&!isNaN(+e)}(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new Ue(n,t))}}var Ue=function(){function e(t,n){_classCallCheck(this,e),this.delay=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new je(e,this.delay,this.scheduler))}}]),e}(),je=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).delay=i,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return _createClass(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new Ze(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(Ne.P.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(Ne.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(Fe.L),Ze=function e(t,n){_classCallCheck(this,e),this.time=t,this.notification=n},qe=n(625),Ve=n(9243),He=n(946),ze=["mat-menu-item",""];function Ye(e,t){1&e&&(a.O4$(),a.TgZ(0,"svg",2),a._UZ(1,"polygon",3),a.qZA())}var Ge=["*"];function Ke(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div",0),a.NdJ("keydown",function(e){return a.CHM(n),a.oxw()._handleKeydown(e)})("click",function(){return a.CHM(n),a.oxw().closed.emit("click")})("@transformMenu.start",function(e){return a.CHM(n),a.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return a.CHM(n),a.oxw()._onAnimationDone(e)}),a.TgZ(1,"div",1),a.Hsn(2),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.Q6J("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),a.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var We={transformMenu:(0,ee.X$)("transformMenu",[(0,ee.SB)("void",(0,ee.oB)({opacity:0,transform:"scale(0.8)"})),(0,ee.eR)("void => enter",(0,ee.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.oB)({opacity:1,transform:"scale(1)"}))),(0,ee.eR)("* => void",(0,ee.jt)("100ms 25ms linear",(0,ee.oB)({opacity:0})))]),fadeInItems:(0,ee.X$)("fadeInItems",[(0,ee.SB)("showing",(0,ee.oB)({opacity:1})),(0,ee.eR)("void => *",[(0,ee.oB)({opacity:0}),(0,ee.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Qe=new a.OlP("MatMenuContent"),Je=new a.OlP("MAT_MENU_PANEL"),Xe=(0,Y.Kr)((0,Y.Id)(function(){return function e(){_classCallCheck(this,e)}}())),$e=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a){var s;return _classCallCheck(this,n),(s=t.call(this))._elementRef=e,s._focusMonitor=r,s._parentMenu=o,s._changeDetectorRef=a,s.role="menuitem",s._hovered=new u.xQ,s._focused=new u.xQ,s._highlighted=!1,s._triggersSubmenu=!1,o&&o.addItem&&o.addItem(_assertThisInitialized(s)),s}return _createClass(n,[{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var e,t,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(function(){return e._focusFirstItem(t)}):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t=this,n=Math.min(this._baseElevation+e,24),i="".concat(this._elevationPrefix).concat(n),r=Object.keys(this._classList).find(function(e){return e.startsWith(t._elevationPrefix)});(!r||r===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[i]=!0,this._previousElevation=i)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe((0,_.O)(this._allItems)).subscribe(function(t){e._directDescendantItems.reset(t.filter(function(t){return t._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(et))},e.\u0275dir=a.lG2({type:e,contentQueries:function(e,t,n){var i;(1&e&&(a.Suo(n,Qe,5),a.Suo(n,$e,5),a.Suo(n,$e,4)),2&e)&&(a.iGM(i=a.CRH())&&(t.lazyContent=i.first),a.iGM(i=a.CRH())&&(t._allItems=i),a.iGM(i=a.CRH())&&(t.items=i))},viewQuery:function(e,t){var n;(1&e&&a.Gf(a.Rgc,5),2&e)&&(a.iGM(n=a.CRH())&&(t.templateRef=n.first))},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),it=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,i,r))._elevationPrefix="mat-elevation-z",o._baseElevation=4,o}return n}(nt);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(et))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&a.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[a._Bn([{provide:Je,useExisting:e}]),a.qOj],ngContentSelectors:Ge,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(a.F$t(),a.YNc(0,Ke,3,6,"ng-template"))},directives:[I.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[We.transformMenu,We.fadeInItems]},changeDetection:0}),e}(),rt=new a.OlP("mat-menu-scroll-strategy"),ot={provide:rt,deps:[qe.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},at=(0,g.i$)({passive:!0}),st=function(){var e=function(){function e(t,n,i,r,o,s,u,l){var c=this;_classCallCheck(this,e),this._overlay=t,this._element=n,this._viewContainerRef=i,this._menuItemInstance=s,this._dir=u,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=N.w.EMPTY,this._hoverSubscription=N.w.EMPTY,this._menuCloseSubscription=N.w.EMPTY,this._handleTouchStart=function(e){(0,G.yG)(e)||(c._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new a.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new a.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=o instanceof nt?o:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,at),s&&(s._triggersSubmenu=this.triggersSubmenu())}return _createClass(e,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(e){t._destroyMenu(e),("click"===e||"tab"===e)&&t._parentMaterialMenu&&t._parentMaterialMenu.closed.emit(e)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,at),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof nt&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"updatePosition",value:function(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}},{key:"_destroyMenu",value:function(e){var t=this;if(this._overlayRef&&this.menuOpen){var n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof nt?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,W.h)(function(e){return"void"===e.toState}),(0,f.q)(1),(0,m.R)(n.lazyContent._attached)).subscribe({next:function(){return n.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new qe.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(e){var t=_slicedToArray("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],i=t[1],r=_slicedToArray("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=r[0],a=r[1],s=o,u=a,l=n,c=i,h=0;this.triggersSubmenu()?(c=n="before"===this.menu.xPosition?"start":"end",i=l="end"===n?"start":"end",h="bottom"===o?8:-8):this.menu.overlapTrigger||(s="top"===o?"bottom":"top",u="top"===a?"bottom":"top"),e.withPositions([{originX:n,originY:s,overlayX:l,overlayY:o,offsetY:h},{originX:i,originY:s,overlayX:c,overlayY:o,offsetY:h},{originX:n,originY:u,overlayX:l,overlayY:a,offsetY:-h},{originX:i,originY:u,overlayX:c,overlayY:a,offsetY:-h}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Re.of)(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,W.h)(function(t){return t!==e._menuItemInstance}),(0,W.h)(function(){return e._menuOpen})):(0,Re.of)();return(0,$.T)(t,i,r,n)}},{key:"_handleMousedown",value:function(e){(0,G.X6)(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;(t===Q.K5||t===Q.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===Q.SV&&"ltr"===this.dir||t===Q.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,W.h)(function(t){return t===e._menuItemInstance&&!t.disabled}),Be(0,De.E)).subscribe(function(){e._openedBy="mouse",e.menu instanceof nt&&e.menu._isAnimating?e.menu._animationDone.pipe((0,f.q)(1),Be(0,De.E),(0,m.R)(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new z.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(qe.aV),a.Y36(a.SBq),a.Y36(a.s_b),a.Y36(rt),a.Y36(Je,8),a.Y36($e,10),a.Y36(He.Is,8),a.Y36(G.tE))},e.\u0275dir=a.lG2({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&a.NdJ("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&a.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),ut=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[ot],imports:[Y.BQ]}),e}(),lt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[ot],imports:[[I.ez,Y.BQ,Y.si,qe.U8,ut],Ve.ZD,Y.BQ,ut]}),e}(),ct={tooltipState:(0,ee.X$)("state",[(0,ee.SB)("initial, void, hidden",(0,ee.oB)({opacity:0,transform:"scale(0)"})),(0,ee.SB)("visible",(0,ee.oB)({transform:"scale(1)"})),(0,ee.eR)("* => visible",(0,ee.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.F4)([(0,ee.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,ee.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,ee.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,ee.eR)("* => hidden",(0,ee.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.oB)({opacity:0})))])},ht="tooltip-panel",ft=(0,g.i$)({passive:!0}),dt=new a.OlP("mat-tooltip-scroll-strategy"),pt={provide:dt,deps:[qe.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},vt=new a.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),_t=function(){var e=function(){function e(t,n,i,r,o,a,s,l,c,h,f,d){var p=this;_classCallCheck(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=o,this._platform=a,this._ariaDescriber=s,this._focusMonitor=l,this._dir=h,this._defaultOptions=f,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new u.xQ,this._handleKeydown=function(e){p._isTooltipVisible()&&e.keyCode===Q.hY&&!(0,Q.Vb)(e)&&(e.preventDefault(),e.stopPropagation(),p._ngZone.run(function(){return p.hide(0)}))},this._scrollStrategy=c,this._document=d,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe((0,m.R)(this._destroyed)).subscribe(function(){p._overlayRef&&p._updatePosition(p._overlayRef)}),o.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",p._handleKeydown)})}return _createClass(e,[{key:"position",get:function(){return this._position},set:function(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,s.Ig)(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,m.R)(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(t){var n=_slicedToArray(t,2),i=n[0],r=n[1];e.removeEventListener(i,r,ft)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new z.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,m.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return n.positionChanges.pipe((0,m.R)(this._destroyed)).subscribe(function(t){e._updateCurrentPositionClass(t.connectionPair),e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run(function(){return e.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"".concat(this._cssClassPrefix,"-").concat(ht),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,m.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._overlayRef.outsidePointerEvents().pipe((0,m.R)(this._destroyed)).subscribe(function(){var t;return null===(t=e._tooltipInstance)||void 0===t?void 0:t._handleBodyInteraction()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(e){var t=e.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}},{key:"_addOffset",value:function(e){return e}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?e={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={originX:"end",originY:"center"});var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?e={overlayX:"center",overlayY:"bottom"}:"below"==n?e={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={overlayX:"start",overlayY:"center"});var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,f.q)(1),(0,m.R)(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_updateCurrentPositionClass",value:function(e){var t,n=e.overlayY,i=e.originX,r=e.originY;if((t="center"===n?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===n&&"top"===r?"above":"below")!==this._currentPosition){var o=this._overlayRef;if(o){var a="".concat(this._cssClassPrefix,"-").concat(ht,"-");o.removePanelClass(a+this._currentPosition),o.addPanelClass(a+t)}this._currentPosition=t}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){e._setupPointerExitEventsIfNeeded(),e.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var e,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return t.hide()}],["wheel",function(e){return t._wheelListener(e)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(e=this._passiveListeners).push.apply(e,n)}}},{key:"_addListeners",value:function(e){var t=this;e.forEach(function(e){var n=_slicedToArray(e,2),i=n[0],r=n[1];t._elementRef.nativeElement.addEventListener(i,r,ft)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=this._document.elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t!==n&&!n.contains(t)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),("on"===e||!t.draggable)&&(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(qe.aV),a.Y36(a.SBq),a.Y36(Ve.mF),a.Y36(a.s_b),a.Y36(a.R0b),a.Y36(g.t4),a.Y36(G.$s),a.Y36(G.tE),a.Y36(void 0),a.Y36(He.Is),a.Y36(void 0),a.Y36(I.K0))},e.\u0275dir=a.lG2({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e}(),mt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o,a,s,u,l,c,h,f,d){var p;return _classCallCheck(this,n),(p=t.call(this,e,i,r,o,a,s,u,l,c,h,f,d))._tooltipComponent=yt,p}return n}(_t);return e.\u0275fac=function(t){return new(t||e)(a.Y36(qe.aV),a.Y36(a.SBq),a.Y36(Ve.mF),a.Y36(a.s_b),a.Y36(a.R0b),a.Y36(g.t4),a.Y36(G.$s),a.Y36(G.tE),a.Y36(dt),a.Y36(He.Is,8),a.Y36(vt,8),a.Y36(I.K0))},e.\u0275dir=a.lG2({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[a.qOj]}),e}(),gt=function(){var e=function(){function e(t){_classCallCheck(this,e),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new u.xQ}return _createClass(e,[{key:"show",value:function(e){var t=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){t._visibility="visible",t._showTimeoutId=void 0,t._onShow(),t._markForCheck()},e)}},{key:"hide",value:function(e){var t=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){t._visibility="hidden",t._hideTimeoutId=void 0,t._markForCheck()},e)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"===t&&!this.isVisible()&&this._onHide.next(),("visible"===t||"hidden"===t)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO))},e.\u0275dir=a.lG2({type:e}),e}(),yt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e))._breakpointObserver=i,r._isHandset=r._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),r}return n}(gt);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36(w))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){2&e&&a.Udp("zoom","visible"===t._visibility?1:null)},features:[a.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;(1&e&&(a.TgZ(0,"div",0),a.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),a.ALo(1,"async"),a._uU(2),a.qZA()),2&e)&&(a.ekj("mat-tooltip-handset",null==(n=a.lcZ(1,5,t._isHandset))?null:n.matches),a.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),a.xp6(2),a.Oqu(t.message))},directives:[I.mk],pipes:[I.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[ct.tooltipState]},changeDetection:0}),e}(),bt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[pt],imports:[[G.rt,I.ez,qe.U8,Y.BQ],Y.BQ,Ve.ZD]}),e}(),kt=n(1095);function Ct(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"button",14),a.NdJ("click",function(){var e=a.CHM(n).$implicit;return a.oxw(2).launch(e)}),a.TgZ(1,"div",15),a._UZ(2,"img",9),a._uU(3),a.qZA(),a.qZA()}if(2&e){var i=t.$implicit,r=a.oxw(2);a.xp6(2),a.Q6J("src",r.getTransportIcon(i.id),a.LSH),a.xp6(1),a.hij(" ",i.name," ")}}function wt(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"button",14),a.NdJ("click",function(){return a.CHM(n),a.oxw(2).action("release")}),a.TgZ(1,"i",16),a._uU(2,"delete"),a.qZA(),a.TgZ(3,"uds-translate"),a._uU(4," Release service"),a.qZA(),a.qZA()}}function xt(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"button",14),a.NdJ("click",function(){return a.CHM(n),a.oxw(2).action("reset")}),a.TgZ(1,"i",16),a._uU(2,"refresh"),a.qZA(),a.TgZ(3,"uds-translate"),a._uU(4," Reset service"),a.qZA(),a.qZA()}}function Et(e,t){if(1&e&&(a.TgZ(0,"button",17),a.TgZ(1,"uds-translate"),a._uU(2,"Connections"),a.qZA(),a.qZA()),2&e){a.oxw();var n=a.MAs(2);a.Q6J("matMenuTriggerFor",n)}}function St(e,t){if(1&e&&(a.TgZ(0,"button",17),a.TgZ(1,"uds-translate"),a._uU(2,"Actions"),a.qZA(),a.qZA()),2&e){a.oxw();var n=a.MAs(5);a.Q6J("matMenuTriggerFor",n)}}function Ot(e,t){if(1&e&&(a.TgZ(0,"button",18),a.TgZ(1,"i",16),a._uU(2,"menu"),a.qZA(),a.qZA()),2&e){a.oxw();var n=a.MAs(9);a.Q6J("matMenuTriggerFor",n)}}function At(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"div"),a.TgZ(1,"mat-menu",null,1),a.YNc(3,Ct,4,2,"button",2),a.qZA(),a.TgZ(4,"mat-menu",null,3),a.YNc(6,wt,5,0,"button",4),a.YNc(7,xt,5,0,"button",4),a.qZA(),a.TgZ(8,"mat-menu",null,5),a.YNc(10,Et,3,1,"button",6),a.YNc(11,St,3,1,"button",6),a.qZA(),a.TgZ(12,"div",7),a.TgZ(13,"div",8),a.NdJ("click",function(){return a.CHM(n),a.oxw().launch(null)}),a._UZ(14,"img",9),a.qZA(),a.TgZ(15,"div",10),a.TgZ(16,"span",11),a._uU(17),a.qZA(),a.qZA(),a.TgZ(18,"div",12),a.YNc(19,Ot,3,1,"button",13),a.qZA(),a.qZA(),a.qZA()}if(2&e){var i=a.oxw();a.xp6(3),a.Q6J("ngForOf",i.service.transports),a.xp6(3),a.Q6J("ngIf",i.service.allow_users_remove),a.xp6(1),a.Q6J("ngIf",i.service.allow_users_reset),a.xp6(3),a.Q6J("ngIf",i.showTransportsMenu()),a.xp6(1),a.Q6J("ngIf",i.hasActions()),a.xp6(1),a.Q6J("ngClass",i.serviceClass)("matTooltipDisabled",""===i.serviceTooltip)("matTooltip",i.serviceTooltip),a.xp6(2),a.Q6J("src",i.serviceImage,a.LSH),a.xp6(2),a.Q6J("ngClass",i.serviceNameClass),a.xp6(1),a.Oqu(i.serviceName),a.xp6(2),a.Q6J("ngIf",i.hasMenu())}}var Tt=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"serviceImage",get:function(){return this.api.galleryImageURL(this.service.imageId)}},{key:"serviceName",get:function(){var e=this.service.visual_name;return e.length>32&&(e=e.substring(0,29)+"..."),e}},{key:"serviceTooltip",get:function(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}},{key:"serviceClass",get:function(){var e=["service"];return null!=this.service.to_be_replaced?e.push("tobereplaced"):this.service.maintenance?e.push("maintenance"):this.service.not_accesible?e.push("forbidden"):this.service.in_use&&e.push("inuse"),e.length>1&&e.push("alert"),e}},{key:"serviceNameClass",get:function(){var e=[],t=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return t>=16&&e.push("small-"+t.toString()),e}},{key:"getTransportIcon",value:function(e){return this.api.transportIconURL(e)}},{key:"hasActions",value:function(){return this.service.allow_users_remove||this.service.allow_users_reset}},{key:"showTransportsMenu",value:function(){return this.service.transports.length>1&&this.service.show_transports}},{key:"hasMenu",value:function(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}},{key:"notifyNotLaunching",value:function(e){this.api.gui.alert('

'+django.gettext("Launcher")+"

",e)}},{key:"launch",value:function(e){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){var t=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+t+'

')}else(null===e||!1===this.service.show_transports)&&(e=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(e.link)}},{key:"action",value:function(e){var t=this,n=("release"===e?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,i="release"===e?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(n,django.gettext("Are you sure?")).subscribe(function(r){r&&t.api.action(e,t.service.id).subscribe(function(e){e&&t.api.gui.alert(n,i)})})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(O.n))},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(e,t){1&e&&a.YNc(0,At,20,12,"div",0),2&e&&a.Q6J("ngIf",t.service.transports.length>0)},directives:[I.O5,it,I.sg,I.mk,mt,$e,P.P,st,kt.lW],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;box-shadow:0 12px 18px rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:rgba(0,0,0,.22);display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22)}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;border-radius:1px;background-color:rgba(255,255,255,.8)}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:"Material Icons";font-weight:normal;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"}']}),e}();function Pt(e,t){1&e&&a._UZ(0,"uds-service",8),2&e&&a.Q6J("service",t.$implicit)}function It(e,t){if(1&e&&(a.TgZ(0,"mat-expansion-panel",1),a.TgZ(1,"mat-expansion-panel-header",2),a.TgZ(2,"mat-panel-title"),a.TgZ(3,"div",3),a._UZ(4,"img",4),a._uU(5),a.qZA(),a.qZA(),a.TgZ(6,"mat-panel-description",5),a._uU(7),a.qZA(),a.qZA(),a.TgZ(8,"div",6),a.YNc(9,Pt,1,1,"uds-service",7),a.qZA(),a.qZA()),2&e){var n=a.oxw();a.Q6J("expanded",n.expanded),a.xp6(1),a.Q6J("collapsedHeight","3rem")("expandedHeight","5rem"),a.xp6(3),a.Q6J("src",n.groupImage,a.LSH),a.xp6(1),a.hij(" ",n.group.name,""),a.xp6(2),a.hij(" ",n.group.comments," "),a.xp6(2),a.Q6J("ngForOf",n.sortedServices)}}var Rt=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t,this.expanded=!1}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"groupImage",get:function(){return this.api.galleryImageURL(this.group.imageUuid)}},{key:"hasVisibleServices",get:function(){return this.services.length>0}},{key:"sortedServices",get:function(){return this.services.sort(function(e,t){return e.name>t.name?1:e.name0&&void 0!==arguments[0]?arguments[0]:"";this.group=[];var n=null;this.servicesInformation.services.filter(function(e){return!t||e.visual_name.toLowerCase().includes(t)||e.group.name.toLowerCase().includes(t)}).sort(function(e,t){return e.group.priority!==t.group.priority?e.group.priority-t.group.priority:e.group.id>t.group.id?1:e.group.id=t.api.config.min_for_filter&&t.api.config.site_filter_on_top),a.xp6(3),a.Q6J("ngForOf",t.group),a.xp6(1),a.Q6J("ngIf",t.servicesInformation.services.length>=t.api.config.min_for_filter&&!t.api.config.site_filter_on_top))},directives:[I.O5,ye,I.sg,Ee,Ie,Rt],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]}),e}(),canActivate:[A]},{path:"login",component:T.G},{path:"login/:id",component:T.G},{path:"client-download",component:D},{path:"downloads",component:F,canActivate:[A]},{path:"error/:id",component:function(){var e=function(){function e(t){_classCallCheck(this,e),this.route=t,this.error=[""]}return _createClass(e,[{key:"ngOnInit",value:function(){this.getError()}},{key:"getError",value:function(){var e=this.route.snapshot.paramMap.get("id");try{var t=(new TextDecoder).decode(Uint8Array.from(window.atob(e),function(e){return e.charCodeAt(e)})).replace("<","<").replace(">",">");this.error=t.split("\n"),console.log(this.error),udsData.error=this.error}catch(t){console.log(t),this.error=[django.gettext("Invalid error string")]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(S.gz))},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-error"]],decls:14,vars:1,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],[3,"innerHTML",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn","routerLink","/"],[3,"innerHTML"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.O4$(),a.TgZ(2,"svg",2),a._UZ(3,"path",3),a.qZA(),a.TgZ(4,"svg",4),a._UZ(5,"path",5),a.qZA(),a.qZA(),a.kcU(),a.TgZ(6,"h1",6),a.TgZ(7,"uds-translate"),a._uU(8,"An error has occurred"),a.qZA(),a.qZA(),a.TgZ(9,"p",7),a.YNc(10,Nt,1,1,"span",8),a.qZA(),a.TgZ(11,"a",9),a.TgZ(12,"uds-translate"),a._uU(13,"Return"),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(10),a.Q6J("ngForOf",t.error))},directives:[P.P,I.sg,kt.zs,S.yS],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:CogAnimation 5s infinite;animation:CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]}),e}()},{path:"about",component:function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t,this.year=(new Date).getFullYear()}return _createClass(e,[{key:"ngOnInit",value:function(){this.year<2021&&(this.year=2021)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(O.n))},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-about"]],decls:45,vars:3,consts:[[1,"about"],["href","http://www.udsenterprise.com","target","_blank"],["href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["href","https://www.python.org/"],["href","https://www.typescriptlang.org/","target","_blank"],["href","https://www.djangoproject.com/","target","_blank"],["href","https://angular.io","target","_blank"],["href","https://guac-dev.org/","target","_blank"],["href","https://weasyprint.org/","target","_blank"],["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"h1"),a._uU(2),a.qZA(),a.TgZ(3,"h3"),a.TgZ(4,"a",1),a._uU(5),a.qZA(),a.qZA(),a.TgZ(6,"h4"),a.TgZ(7,"uds-translate"),a._uU(8,"You can access UDS Open Source code at"),a.qZA(),a.TgZ(9,"a",2),a._uU(10,"OpenUDS github repository"),a.qZA(),a.qZA(),a.TgZ(11,"div",3),a.TgZ(12,"h2"),a.TgZ(13,"uds-translate"),a._uU(14,"UDS has been developed using these components:"),a.qZA(),a.qZA(),a.TgZ(15,"ul"),a.TgZ(16,"li"),a.TgZ(17,"a",4),a._uU(18,"Python"),a.qZA(),a.qZA(),a.TgZ(19,"li"),a.TgZ(20,"a",5),a._uU(21,"TypeScript"),a.qZA(),a.qZA(),a.TgZ(22,"li"),a.TgZ(23,"a",6),a._uU(24,"Django"),a.qZA(),a.qZA(),a.TgZ(25,"li"),a.TgZ(26,"a",7),a._uU(27,"Angular"),a.qZA(),a.qZA(),a.TgZ(28,"li"),a.TgZ(29,"a",8),a._uU(30,"Guacamole"),a.qZA(),a.qZA(),a.TgZ(31,"li"),a.TgZ(32,"a",9),a._uU(33,"weasyprint"),a.qZA(),a.qZA(),a.TgZ(34,"li"),a.TgZ(35,"a",10),a._uU(36,"Crystal project icons"),a.qZA(),a.qZA(),a.TgZ(37,"li"),a.TgZ(38,"a",11),a._uU(39,"Flattr Icons"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(40,"p"),a.TgZ(41,"small"),a._uU(42,"* "),a.TgZ(43,"uds-translate"),a._uU(44,"If you find that we missed any component, please let us know"),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(2),a.AsE("Universal Desktop Services ",t.api.config.version," build ",t.api.config.version_stamp,""),a.xp6(3),a.hij(" \xa9 2012-",t.year," Virtual Cable S.L.U."))},directives:[P.P],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:normal}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]}),e}()},{path:"ticket/launcher",component:function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(O.n))},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.TgZ(2,"h1"),a.TgZ(3,"uds-translate"),a._uU(4,"UDS Service launcher"),a.qZA(),a.qZA(),a.TgZ(5,"h4"),a.TgZ(6,"uds-translate"),a._uU(7,"The service you have requested is being launched."),a.qZA(),a.qZA(),a.TgZ(8,"h5"),a.TgZ(9,"uds-translate"),a._uU(10,"Please, note that reloading this page will not work."),a.qZA(),a.qZA(),a.TgZ(11,"h5"),a.TgZ(12,"uds-translate"),a._uU(13,"To relaunch service, you will have to do it from origin."),a.qZA(),a.qZA(),a.TgZ(14,"h6"),a.TgZ(15,"uds-translate"),a._uU(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),a.qZA(),a.qZA(),a.TgZ(17,"h6"),a.TgZ(18,"uds-translate"),a._uU(19,"You can obtain it from the"),a.qZA(),a._uU(20,"\xa0"),a.TgZ(21,"a",2),a.TgZ(22,"uds-translate"),a._uU(23,"UDS Client download page"),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.qZA())},directives:[P.P,S.yS],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px rgba(0,0,0,.251),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:rgba(0,0,0,.22);padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:normal}"]}),e}()},{path:"**",redirectTo:"services"}],Ut=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[S.Bz.forRoot(Bt,{relativeLinkResolution:"legacy"})],S.Bz]}),e}(),jt=n(665),Zt=n(8553),qt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),Vt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Y.si,Y.BQ,Zt.Q8,qt],Y.BQ,qt]}),e}(),Ht=n(2238),zt=n(7441),Yt=["*",[["mat-toolbar-row"]]],Gt=["*","mat-toolbar-row"],Kt=(0,Y.pj)(function(){return function e(t){_classCallCheck(this,e),this._elementRef=t}}()),Wt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e}(),Qt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var o;return _classCallCheck(this,n),(o=t.call(this,e))._platform=i,o._document=r,o}return _createClass(n,[{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return e._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(Kt);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(g.t4),a.Y36(I.K0))},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var i;(1&e&&a.Suo(n,Wt,5),2&e)&&(a.iGM(i=a.CRH())&&(t._toolbarRows=i))},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&a.ekj("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[a.qOj],ngContentSelectors:Gt,decls:2,vars:0,template:function(e,t){1&e&&(a.F$t(Yt),a.Hsn(0),a.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),e}(),Jt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Y.BQ],Y.BQ]}),e}(),Xt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[{provide:Ae.o2,useValue:{floatLabel:"always"}}],imports:[jt.u5,Jt,kt.ot,lt,bt,be,Ht.Is,Ae.lN,Te.c,zt.LD,Vt]}),e}();function $t(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"button",9),a.NdJ("click",function(){var e=a.CHM(n).$implicit;return a.oxw(2).changeLang(e)}),a._uU(1),a.qZA()}if(2&e){var i=t.$implicit;a.xp6(1),a.Oqu(i.name)}}function en(e,t){if(1&e){var n=a.EpF();a.TgZ(0,"button",9),a.NdJ("click",function(){return a.CHM(n),a.oxw(2).admin()}),a.TgZ(1,"i",23),a._uU(2,"dashboard"),a.qZA(),a.TgZ(3,"uds-translate"),a._uU(4,"Dashboard"),a.qZA(),a.qZA()}}function tn(e,t){1&e&&(a.TgZ(0,"button",28),a.TgZ(1,"i",23),a._uU(2,"file_download"),a.qZA(),a.TgZ(3,"uds-translate"),a._uU(4,"Downloads"),a.qZA(),a.qZA())}function nn(e,t){if(1&e&&(a.TgZ(0,"button",14),a._uU(1),a.qZA()),2&e){a.oxw();var n=a.MAs(8),i=a.oxw();a.Q6J("matMenuTriggerFor",n),a.xp6(1),a.Oqu(i.api.user.user)}}function rn(e,t){if(1&e&&(a.TgZ(0,"button",25),a._uU(1),a.TgZ(2,"i",23),a._uU(3,"arrow_drop_down"),a.qZA(),a.qZA()),2&e){a.oxw();var n=a.MAs(8),i=a.oxw();a.Q6J("matMenuTriggerFor",n),a.xp6(1),a.hij("",i.api.user.user," ")}}function on(e,t){if(1&e){var n=a.EpF();a.ynx(0),a.TgZ(1,"form",1),a._UZ(2,"input",2),a._UZ(3,"input",3),a.qZA(),a.TgZ(4,"mat-menu",null,4),a.YNc(6,$t,2,1,"button",5),a.qZA(),a.TgZ(7,"mat-menu",null,6),a.YNc(9,en,5,0,"button",7),a.YNc(10,tn,5,0,"button",8),a.TgZ(11,"button",9),a.NdJ("click",function(){return a.CHM(n),a.oxw().logout()}),a.TgZ(12,"i",10),a._uU(13,"exit_to_app"),a.qZA(),a.TgZ(14,"uds-translate"),a._uU(15,"Logout"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(16,"mat-menu",11,12),a.YNc(18,nn,2,2,"button",13),a.TgZ(19,"button",14),a._uU(20),a.qZA(),a.TgZ(21,"button",15),a.TgZ(22,"uds-translate"),a._uU(23,"UDS Client"),a.qZA(),a.qZA(),a.TgZ(24,"button",16),a.TgZ(25,"uds-translate"),a._uU(26,"About"),a.qZA(),a.qZA(),a.qZA(),a.TgZ(27,"mat-toolbar",17),a.TgZ(28,"button",18),a._UZ(29,"img",19),a._uU(30),a.qZA(),a._UZ(31,"span",20),a.TgZ(32,"div",21),a.TgZ(33,"button",22),a.TgZ(34,"i",23),a._uU(35,"file_download"),a.qZA(),a.TgZ(36,"uds-translate"),a._uU(37,"UDS Client"),a.qZA(),a.qZA(),a.TgZ(38,"button",24),a.TgZ(39,"i",23),a._uU(40,"info"),a.qZA(),a.TgZ(41,"uds-translate"),a._uU(42,"About"),a.qZA(),a.qZA(),a.TgZ(43,"button",25),a._uU(44),a.TgZ(45,"i",23),a._uU(46,"arrow_drop_down"),a.qZA(),a.qZA(),a.YNc(47,rn,4,2,"button",26),a.qZA(),a.TgZ(48,"div",27),a.TgZ(49,"button",25),a.TgZ(50,"i",23),a._uU(51,"menu"),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.BQk()}if(2&e){var i=a.MAs(5),r=a.MAs(17),o=a.oxw();a.xp6(1),a.s9C("action",o.api.config.urls.changeLang,a.LSH),a.xp6(1),a.s9C("name",o.api.config.csrf_field),a.s9C("value",o.api.config.csrf),a.xp6(1),a.s9C("value",o.lang.id),a.xp6(3),a.Q6J("ngForOf",o.langs),a.xp6(3),a.Q6J("ngIf",o.api.user.isStaff),a.xp6(1),a.Q6J("ngIf",o.api.user.isStaff),a.xp6(8),a.Q6J("ngIf",o.api.user.isLogged),a.xp6(1),a.Q6J("matMenuTriggerFor",i),a.xp6(1),a.hij("",o.lang.name," "),a.xp6(9),a.Q6J("src",o.api.staticURL("modern/img/udsicon.png"),a.LSH),a.xp6(1),a.hij(" ",o.api.config.site_logo_name," "),a.xp6(13),a.Q6J("matMenuTriggerFor",i),a.xp6(1),a.hij("",o.lang.name," "),a.xp6(3),a.Q6J("ngIf",o.api.user.isLogged),a.xp6(2),a.Q6J("matMenuTriggerFor",r)}}var an=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t,this.style="";var n=t.config.language;this.langs=[];var i,r=_createForOfIteratorHelper(t.config.available_languages);try{for(r.s();!(i=r.n()).done;){var o=i.value;o.id===n?this.lang=o:this.langs.push(o)}}catch(a){r.e(a)}finally{r.f()}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"changeLang",value:function(e){return this.lang=e,document.getElementById("id_language").attributes.value.value=e.id,document.getElementById("form_language").submit(),!1}},{key:"admin",value:function(){this.api.gotoAdmin()}},{key:"logout",value:function(){this.api.logout()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(O.n))},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(e,t){1&e&&a.YNc(0,on,52,16,"ng-container",0),2&e&&a.Q6J("ngIf",""==t.api.config.urls.launch)},directives:[I.O5,jt._Y,jt.JL,jt.F,it,I.sg,$e,P.P,st,S.rH,Qt,kt.lW],styles:[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]}),e}(),sn=function(){var e=function(){function e(t){_classCallCheck(this,e),this.api=t}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Y36(O.n))},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(e,t){1&e&&(a.TgZ(0,"div"),a.TgZ(1,"a",0),a._uU(2),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Q6J("href",t.api.config.site_copyright_link,a.LSH),a.xp6(1),a.Oqu(t.api.config.site_copyright_info))},styles:[""]}),e}(),un=function(){var e=function(){function e(){_classCallCheck(this,e),this.title="uds"}return _createClass(e,[{key:"ngOnInit",value:function(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["uds-root"]],decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(e,t){1&e&&(a._UZ(0,"uds-navbar"),a.TgZ(1,"div",0),a.TgZ(2,"div",1),a._UZ(3,"router-outlet"),a.qZA(),a.TgZ(4,"div",2),a._UZ(5,"uds-footer"),a.qZA(),a.qZA())},directives:[an,S.lC,sn],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width: 744px){.content[_ngcontent-%COMP%]{width:100%}}"]}),e}(),ln=n(3183),cn=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e,bootstrap:[un]}),e.\u0275inj=a.cJS({providers:[O.n,ln.h],imports:[[o.b2,y,E.JF,Ut,J.PW,Xt]]}),e}();n(2340).N.production&&(0,a.G48)(),o.q6().bootstrapModule(cn).catch(function(e){return console.log(e)})}},function(e){e(e.s=1479)}])})(); \ No newline at end of file diff --git a/server/src/uds/static/modern/main.js b/server/src/uds/static/modern/main.js new file mode 100644 index 00000000..42b5f4fb --- /dev/null +++ b/server/src/uds/static/modern/main.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkuds=self.webpackChunkuds||[]).push([[179],{6498:(qe,ye,C)=>{C.d(ye,{z:()=>g});var c=C(4893),o=C(2313);let g=(()=>{class Y{constructor(ie){this.sanitizer=ie}transform(ie,De){return this.sanitizer.bypassSecurityTrustHtml(ie)}}return Y.\u0275fac=function(ie){return new(ie||Y)(c.Y36(o.H7,16))},Y.\u0275pipe=c.Yjl({name:"safeHtml",type:Y,pure:!0}),Y})()},5928:(qe,ye,C)=>{C.d(ye,{h:()=>Be});var c=C(8966),o=C(8306),g=C(4986),Y=C(5963),ie=C(4893),De=C(9808),Ce=C(7423),ue=C(7918),ee=C(6498);function se(Z,et){if(1&Z){const Ye=ie.EpF();ie.TgZ(0,"button",3),ie.NdJ("click",function(){return ie.CHM(Ye),ie.oxw().close()}),ie.TgZ(1,"uds-translate"),ie._uU(2,"Close"),ie.qZA(),ie._uU(3),ie.qZA()}if(2&Z){const Ye=ie.oxw();ie.xp6(3),ie.Oqu(Ye.extra)}}function de(Z,et){if(1&Z){const Ye=ie.EpF();ie.TgZ(0,"button",3),ie.NdJ("click",function(){return ie.CHM(Ye),ie.oxw().yes()}),ie.TgZ(1,"uds-translate"),ie._uU(2,"Yes"),ie.qZA()()}}function J(Z,et){if(1&Z){const Ye=ie.EpF();ie.TgZ(0,"button",3),ie.NdJ("click",function(){return ie.CHM(Ye),ie.oxw().no()}),ie.TgZ(1,"uds-translate"),ie._uU(2,"No"),ie.qZA()()}}var le=(()=>{return(Z=le||(le={}))[Z.alert=0]="alert",Z[Z.yesno=1]="yesno",le;var Z})();let ke=(()=>{class Z{constructor(Ye,Qe){this.dialogRef=Ye,this.data=Qe,this.subscription=null,this.resetCallbacks(),this.yesno=new o.y(me=>{this.yes=()=>{me.next(!0),me.complete()},this.no=()=>{me.next(!1),me.complete()},this.close=()=>{this.doClose(),me.next(!1),me.complete()};const z=this;return{unsubscribe:()=>z.resetCallbacks()}})}resetCallbacks(){this.yes=this.no=()=>this.close(),this.close=()=>this.doClose()}closed(){null!==this.subscription&&this.subscription.unsubscribe()}doClose(){this.dialogRef.close()}setExtra(Ye){this.extra=" ("+Math.floor(Ye/1e3)+" "+django.gettext("seconds")+") "}initAlert(){this.data.autoclose>0?(this.dialogRef.afterClosed().subscribe(Ye=>{this.closed()}),this.setExtra(this.data.autoclose),this.subscription=function ce(Z=0,et=g.z){return Z<0&&(Z=0),(0,Y.H)(Z,Z,et)}(1e3).subscribe(Ye=>{const Qe=this.data.autoclose-1e3*(Ye+1);this.setExtra(Qe),Qe<=0&&this.close()})):this.data.checkClose&&(this.dialogRef.afterClosed().subscribe(Ye=>{this.closed()}),this.subscription=this.data.checkClose.subscribe(Ye=>{window.setTimeout(()=>{this.doClose()})}))}initYesNo(){}ngOnInit(){this.data.type===le.yesno?this.initYesNo():this.initAlert()}}return Z.\u0275fac=function(Ye){return new(Ye||Z)(ie.Y36(c.so),ie.Y36(c.WI))},Z.\u0275cmp=ie.Xpm({type:Z,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(Ye,Qe){1&Ye&&(ie._UZ(0,"h4",0),ie.ALo(1,"safeHtml"),ie._UZ(2,"mat-dialog-content",1),ie.ALo(3,"safeHtml"),ie.TgZ(4,"mat-dialog-actions"),ie.YNc(5,se,4,1,"button",2),ie.YNc(6,de,3,0,"button",2),ie.YNc(7,J,3,0,"button",2),ie.qZA()),2&Ye&&(ie.Q6J("innerHtml",ie.lcZ(1,5,Qe.data.title),ie.oJD),ie.xp6(2),ie.Q6J("innerHTML",ie.lcZ(3,7,Qe.data.body),ie.oJD),ie.xp6(3),ie.Q6J("ngIf",0==Qe.data.type),ie.xp6(1),ie.Q6J("ngIf",1==Qe.data.type),ie.xp6(1),ie.Q6J("ngIf",1==Qe.data.type))},directives:[c.uh,c.xY,c.H8,De.O5,Ce.lW,c.ZT,ue.P],pipes:[ee.z],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]}),Z})(),Be=(()=>{class Z{constructor(Ye){this.dialog=Ye}alert(Ye,Qe,me=0,z=null){const q=window.innerWidth<800?"80%":"40%";return this.dialog.open(ke,{width:q,data:{title:Ye,body:Qe,autoclose:me,checkClose:z,type:le.alert},disableClose:!0})}yesno(Ye,Qe){const me=window.innerWidth<800?"80%":"40%";return this.dialog.open(ke,{width:me,data:{title:Ye,body:Qe,type:le.yesno},disableClose:!0}).componentInstance.yesno}}return Z.\u0275fac=function(Ye){return new(Ye||Z)(ie.LFG(c.uw))},Z.\u0275prov=ie.Yz7({token:Z,factory:Z.\u0275fac}),Z})()},2870:(qe,ye,C)=>{C.d(ye,{S:()=>o});var c=C(8306);let o=(()=>{class g{constructor(ce){this.api=ce,this.delay=ce.config.launcher_wait_time}launchURL(ce){let ie="init";const De=Ce=>{let ue=django.gettext("Error communicating with your service. Please, retry again.");"string"==typeof Ce?ue=Ce:403===Ce.status&&(ue=django.gettext("Your session has expired. Please, login again")),window.setTimeout(()=>{this.showAlert(django.gettext("Error"),ue,5e3),403===Ce.status&&window.setTimeout(()=>{this.api.logout()},5e3)})};if("udsa://"===ce.substring(0,7)){const Ce=ce.split("//")[1].split("/"),ue=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0,new c.y(ee=>{let se=0;const de=()=>{ue.componentInstance&&this.api.status(Ce[0],Ce[1]).subscribe(le=>{"ready"===le.status?(se?Date.now()-se>5*this.delay&&(ue.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),ue.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""):(se=Date.now(),ue.componentInstance.data.title=django.gettext("Service ready"),ue.componentInstance.data.body=django.gettext("Launching UDS Client, almost done.")),window.setTimeout(de,this.delay)):"accessed"===le.status?(ue.componentInstance.data.body=django.gettext("Machine ready, waiting for UDS Client"),ee.next(!0),ee.complete()):"running"===le.status?window.setTimeout(de,this.delay):(ee.next(!0),ee.complete(),De())},le=>{ee.next(!0),ee.complete(),De(le)})},J=()=>{if("init"===ie)window.setTimeout(J,this.delay);else{if("error"===ie||"stop"===ie)return;window.setTimeout(de)}};window.setTimeout(J)}));this.api.enabler(Ce[0],Ce[1]).subscribe(ee=>{if(ee.error)ie="error",this.api.gui.alert(django.gettext("Error launching service"),ee.error);else{if(ee.url.startsWith("/"))return ue.componentInstance&&ue.componentInstance.close(),ie="stop",void this.launchURL(ee.url);"https:"===window.location.protocol&&(ee.url=ee.url.replace("uds://","udss://")),ie="enabled",this.doLaunch(ee.url)}},ee=>{this.api.logout()})}else{const Ce=this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Your connection is being prepared. It will open on a new window when ready."),0,new c.y(ue=>{const ee=()=>{Ce.componentInstance&&this.api.transportUrl(ce).subscribe(se=>{if(se.url)if(ue.next(!0),ue.complete(),-1!==se.url.indexOf("o_s_w=")){const de=/(.*)&o_s_w=.*/.exec(se.url);window.location.href=de[1]}else{let de="global";if(-1!==se.url.indexOf("o_n_w=")){const J=/(.*)&o_n_w=([a-zA-Z0-9._-]*)/.exec(se.url);J&&(de=J[2],se.url=J[1])}g.transportsWindow[de]&&g.transportsWindow[de].close(),g.transportsWindow[de]=window.open(se.url,"uds_trans_"+de)}else se.running?window.setTimeout(ee,this.delay):(ue.next(!0),ue.complete(),De(se.error))},se=>{ue.next(!0),ue.complete(),De(se)})};window.setTimeout(ee)}))}}showAlert(ce,ie,De,Ce=null){return this.api.gui.alert(django.gettext("Launching service"),'

'+ce+'

'+ie+"

",De,Ce)}doLaunch(ce){let ie=document.getElementById("hiddenUdsLauncherIFrame");if(null===ie){const De=document.createElement("div");De.id="testID",De.innerHTML='',document.body.appendChild(De),ie=document.getElementById("hiddenUdsLauncherIFrame")}ie.contentWindow.location.href=ce}}return g.transportsWindow={},g})()},4902:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{G:()=>LoginComponent});var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7540),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4893),_angular_forms__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2382),_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7322),_translate_directive__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7918),_angular_material_input__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(7531),_angular_common__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(9808),_angular_material_select__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(4107),_angular_material_core__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(508),_angular_material_button__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(7423),_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6498);function LoginComponent_div_22_mat_option_6_Template(qe,ye){if(1&qe&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"mat-option",20),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()),2&qe){const C=ye.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",C.id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",C.name," ")}}function LoginComponent_div_22_Template(qe,ye){if(1&qe){const C=_angular_core__WEBPACK_IMPORTED_MODULE_1__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"div",9)(1,"mat-form-field",17)(2,"mat-label")(3,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(4,"Authenticator"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(5,"mat-select",18),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("selectionChange",function(o){return _angular_core__WEBPACK_IMPORTED_MODULE_1__.CHM(C),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw().changeAuth(o.value)}),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(6,LoginComponent_div_22_mat_option_6_Template,2,2,"mat-option",19),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()()()}if(2&qe){const C=_angular_core__WEBPACK_IMPORTED_MODULE_1__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("value",C.auths[0].id),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngForOf",C.auths)}}let LoginComponent=(()=>{class LoginComponent{constructor(qe){this.api=qe,this.title="UDS Enterprise",this.title=qe.config.site_name,this.auths=qe.config.authenticators.slice(0),this.auths.sort((ye,C)=>ye.priority-C.priority)}ngOnInit(){document.getElementById("loginform").action=this.api.config.urls.login;const ye=document.getElementById("token");ye.name=this.api.config.csrf_field,ye.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(auth){this.auth.value=auth;const doCustomAuth=data=>{eval(data)};for(const qe of this.auths)qe.id===auth&&qe.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(qe.id).subscribe(ye=>doCustomAuth(ye)))}launch(){return document.getElementById("loginform").submit(),!0}}return LoginComponent.\u0275fac=function qe(ye){return new(ye||LoginComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.Y36(_uds_api_service__WEBPACK_IMPORTED_MODULE_0__.n))},LoginComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Xpm({type:LoginComponent,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["appearance","standard"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function qe(ye,C){1&ye&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(0,"form",0),_angular_core__WEBPACK_IMPORTED_MODULE_1__.NdJ("ngSubmit",function(){return C.launch()}),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(1,"input",1)(2,"input",2)(3,"input",3),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(4,"div",4)(5,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(6,"img",6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(7,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(9,"div",8)(10,"div",9)(11,"mat-form-field",10)(12,"mat-label")(13,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(14,"Username"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(15,"input",11),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(16,"div",9)(17,"mat-form-field",10)(18,"mat-label")(19,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(20,"Password"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(21,"input",12),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__.YNc(22,LoginComponent_div_22_Template,7,2,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_1__.TgZ(23,"div",14)(24,"button",15)(25,"uds-translate"),_angular_core__WEBPACK_IMPORTED_MODULE_1__._uU(26,"Login"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()()()(),_angular_core__WEBPACK_IMPORTED_MODULE_1__._UZ(27,"div",16),_angular_core__WEBPACK_IMPORTED_MODULE_1__.ALo(28,"safeHtml"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.qZA()()),2&ye&&(_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("src",C.api.staticURL("modern/img/login-img.png"),_angular_core__WEBPACK_IMPORTED_MODULE_1__.LSH),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_1__.hij(" ",C.title," "),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(14),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("ngIf",C.auths.length>1),_angular_core__WEBPACK_IMPORTED_MODULE_1__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_1__.Q6J("innerHTML",_angular_core__WEBPACK_IMPORTED_MODULE_1__.lcZ(28,4,C.api.config.site_information),_angular_core__WEBPACK_IMPORTED_MODULE_1__.oJD))},directives:[_angular_forms__WEBPACK_IMPORTED_MODULE_2__._Y,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.JL,_angular_forms__WEBPACK_IMPORTED_MODULE_2__.F,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.KE,_angular_material_form_field__WEBPACK_IMPORTED_MODULE_3__.hX,_translate_directive__WEBPACK_IMPORTED_MODULE_4__.P,_angular_material_input__WEBPACK_IMPORTED_MODULE_5__.Nt,_angular_common__WEBPACK_IMPORTED_MODULE_6__.O5,_angular_material_select__WEBPACK_IMPORTED_MODULE_7__.gD,_angular_common__WEBPACK_IMPORTED_MODULE_6__.sg,_angular_material_core__WEBPACK_IMPORTED_MODULE_8__.ey,_angular_material_button__WEBPACK_IMPORTED_MODULE_9__.lW],pipes:[_gui_safe_html_pipe__WEBPACK_IMPORTED_MODULE_10__.z],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]}),LoginComponent})()},7918:(qe,ye,C)=>{C.d(ye,{P:()=>o});var c=C(4893);let o=(()=>{class g{constructor(ce){this.el=ce}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}}return g.\u0275fac=function(ce){return new(ce||g)(c.Y36(c.SBq))},g.\u0275dir=c.lG2({type:g,selectors:[["uds-translate"]]}),g})()},3513:(qe,ye,C)=>{C.d(ye,{n:()=>c});class c{constructor(g){this.user=g.user,this.role=g.role,this.admin=g.admin}get isStaff(){return"staff"===this.role||"admin"===this.role}get isAdmin(){return"admin"===this.role}get isLogged(){return null!=this.user}get isRestricted(){return"restricted"===this.role}}},7540:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{n:()=>UDSApiService});var _types_config__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(3513),_helpers_plugin__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2870),_environments_environment__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2340),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(4893),_angular_common_http__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(520),_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5928),_angular_router__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(9525);const DARK_THEME="dark-theme",LIGHT_THEME="light-theme";let UDSApiService=(()=>{class UDSApiService{constructor(qe,ye,C){this.http=qe,this.gui=ye,this.router=C,this.user=new _types_config__WEBPACK_IMPORTED_MODULE_1__.n(udsData.profile),this.transportsWindow=null,this.plugin=new _helpers_plugin__WEBPACK_IMPORTED_MODULE_2__.S(this)}get config(){return udsData.config}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(qe,ye){const C=this.config.urls.enabler.replace("param1",qe).replace("param2",ye);return this.http.get(C)}status(qe,ye){const C=this.config.urls.status.replace("param1",qe).replace("param2",ye);return this.http.get(C)}action(qe,ye){const C=this.config.urls.action.replace("param1",ye).replace("param2",qe);return this.http.get(C)}transportUrl(qe){return this.http.get(qe)}galleryImageURL(qe){return this.config.urls.galleryImage.replace("param1",qe)}transportIconURL(qe){return this.config.urls.transportIcon.replace("param1",qe)}staticURL(qe){return _environments_environment__WEBPACK_IMPORTED_MODULE_0__.N.production?this.config.urls.static+qe:"/static/"+qe}getServicesInformation(){return this.http.get(this.config.urls.services)}executeCustomJSForServiceLaunch(){void 0!==udsData.customJSForServiceLaunch&&eval(udsData.customJSForServiceLaunch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}launchURL(qe){this.plugin.launchURL(qe)}getAuthCustomHtml(qe){return this.http.get(this.config.urls.customAuth+qe,{responseType:"text"})}switchTheme(qe){const ye=document.getElementsByTagName("html")[0];[DARK_THEME,LIGHT_THEME].forEach(C=>{ye.classList.contains(C)&&ye.classList.remove(C)}),ye.classList.add(qe?DARK_THEME:LIGHT_THEME)}}return UDSApiService.\u0275fac=function qe(ye){return new(ye||UDSApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_common_http__WEBPACK_IMPORTED_MODULE_4__.eN),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_gui_uds_gui_service__WEBPACK_IMPORTED_MODULE_5__.h),_angular_core__WEBPACK_IMPORTED_MODULE_3__.LFG(_angular_router__WEBPACK_IMPORTED_MODULE_6__.F0))},UDSApiService.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_3__.Yz7({token:UDSApiService,factory:UDSApiService.\u0275fac}),UDSApiService})()},2340:(qe,ye,C)=>{C.d(ye,{N:()=>c});const c={production:!0}},5664:(qe,ye,C)=>{var c=C(2313),o=C(4893),g=C(3191),Y=C(7579),ce=C(9841),ie=C(7272),De=C(8306),Ce=C(5698),ue=C(5684),ee=C(8372),se=C(4004),de=C(8675),J=C(2722),le=C(925);let ke=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({}),k})();const Be=new Set;let Z,et=(()=>{class k{constructor(m){this._platform=m,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Qe}matchMedia(m){return(this._platform.WEBKIT||this._platform.BLINK)&&function Ye(k){if(!Be.has(k))try{Z||(Z=document.createElement("style"),Z.setAttribute("type","text/css"),document.head.appendChild(Z)),Z.sheet&&(Z.sheet.insertRule(`@media ${k} {body{ }}`,0),Be.add(k))}catch(Ee){console.error(Ee)}}(m),this._matchMedia(m)}}return k.\u0275fac=function(m){return new(m||k)(o.LFG(le.t4))},k.\u0275prov=o.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();function Qe(k){return{matches:"all"===k||""===k,media:k,addListener:()=>{},removeListener:()=>{}}}let me=(()=>{class k{constructor(m,d){this._mediaMatcher=m,this._zone=d,this._queries=new Map,this._destroySubject=new Y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(m){return z((0,g.Eq)(m)).some(a=>this._registerQuery(a).mql.matches)}observe(m){const a=z((0,g.Eq)(m)).map(v=>this._registerQuery(v).observable);let l=(0,ce.a)(a);return l=(0,ie.z)(l.pipe((0,Ce.q)(1)),l.pipe((0,ue.T)(1),(0,ee.b)(0))),l.pipe((0,se.U)(v=>{const R={matches:!1,breakpoints:{}};return v.forEach(({matches:G,query:ne})=>{R.matches=R.matches||G,R.breakpoints[ne]=G}),R}))}_registerQuery(m){if(this._queries.has(m))return this._queries.get(m);const d=this._mediaMatcher.matchMedia(m),l={observable:new De.y(v=>{const R=G=>this._zone.run(()=>v.next(G));return d.addListener(R),()=>{d.removeListener(R)}}).pipe((0,de.O)(d),(0,se.U)(({matches:v})=>({query:m,matches:v})),(0,J.R)(this._destroySubject)),mql:d};return this._queries.set(m,l),l}}return k.\u0275fac=function(m){return new(m||k)(o.LFG(et),o.LFG(o.R0b))},k.\u0275prov=o.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();function z(k){return k.map(Ee=>Ee.split(",")).reduce((Ee,m)=>Ee.concat(m)).map(Ee=>Ee.trim())}var pe=C(520),Te=C(9525),Ne=C(7540);let ve=(()=>{class k{constructor(m){this.api=m}canActivate(m,d){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)}}return k.\u0275fac=function(m){return new(m||k)(o.LFG(Ne.n))},k.\u0275prov=o.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();var Me=C(4902),xe=C(7918),Ae=C(9808);function tt(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"div",6),o.NdJ("click",function(){const l=o.CHM(m).$implicit;return o.oxw().download(l.url)}),o.TgZ(1,"div",7),o._UZ(2,"img",8),o.qZA(),o.TgZ(3,"div",9),o._uU(4),o.qZA(),o.TgZ(5,"div",10),o._uU(6),o.qZA()()}if(2&k){const m=Ee.$implicit,d=o.oxw();o.Tol(d.css(m)),o.xp6(2),o.Q6J("src",d.img(m.name),o.LSH),o.xp6(2),o.lnq(" ",d.legacy(m)," ",m.name," (",m.url.split(".").pop(),") "),o.xp6(2),o.hij(" ",m.description," ")}}let Fe=(()=>{class k{constructor(m){this.api=m}ngOnInit(){}download(m){window.location.href=m}img(m){return this.api.staticURL("modern/img/"+m+".png")}css(m){const d=["plugin"];return m.legacy&&d.push("legacy"),d}legacy(m){return m.legacy?"Legacy":""}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Ne.n))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-client-download"]],decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(m,d){1&m&&(o.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),o._uU(5,"UDS Client"),o.qZA()()()(),o.TgZ(6,"div",3),o.YNc(7,tt,7,7,"div",4),o.qZA(),o.TgZ(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),o._uU(12,"Download UDS client for your platform"),o.qZA()()()()()),2&m&&(o.xp6(7),o.Q6J("ngForOf",d.api.plugins))},directives:[xe.P,Ae.sg],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem} .dark-theme uds-client-download{color:#fff!important} .dark-theme .plugin.legacy{background-color:#a9a9a9} .dark-theme .plugin:hover{background-color:#ffffff1a}"]}),k})();var Ct=C(6498);function mt(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"div",6),o.NdJ("click",function(){const l=o.CHM(m).$implicit;return o.oxw().download(l.url)}),o.TgZ(1,"div",7),o._UZ(2,"img",8),o.qZA(),o._UZ(3,"div",9),o.ALo(4,"safeHtml"),o._UZ(5,"div",10),o.ALo(6,"safeHtml"),o.qZA()}if(2&k){const m=Ee.$implicit,d=o.oxw();o.Tol(d.css(m.name)),o.xp6(2),o.Q6J("src",d.img(m.name),o.LSH),o.xp6(1),o.Q6J("innerHTML",o.lcZ(4,5,m.name),o.oJD),o.xp6(2),o.Q6J("innerHTML",o.lcZ(6,7,m.description),o.oJD)}}let Jt=(()=>{class k{constructor(m){this.api=m}ngOnInit(){this.actors=[];const m=[];this.api.actors.forEach(d=>{d.name.includes("legacy")?m.push(d):this.actors.push(d)}),m.forEach(d=>{this.actors.push(d)})}download(m){window.location.href=m}img(m){const d=m.split(".").pop().toLowerCase();let a="Linux";return"exe"===d?a="Windows":"pkg"===d&&(a="MacOS"),this.api.staticURL("modern/img/"+a+".png")}css(m){const d=["actor"];return m.toLowerCase().includes("legacy")&&d.push("legacy"),d}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Ne.n))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(m,d){1&m&&(o.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),o._uU(5,"Downloads"),o.qZA()()()(),o.TgZ(6,"div",3),o.YNc(7,mt,7,9,"div",4),o.qZA(),o.TgZ(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),o._uU(12,"Always download the UDS actor matching your platform"),o.qZA()(),o.TgZ(13,"li")(14,"uds-translate"),o._uU(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),o.qZA()()()()()),2&m&&(o.xp6(7),o.Q6J("ngForOf",d.actors))},directives:[xe.P,Ae.sg],pipes:[Ct.z],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden} .dark-theme uds-downloads{color:#fff!important} .dark-theme .actor.legacy{background-color:#464646}"]}),k})();var yt=C(4968),Rt=C(9300),Wt=C(1884),Pt=C(8505),mn=C(7322),Ut=C(7531);const xt=["input"];let on=(()=>{class k{constructor(){this.updateEvent=new o.vpe}ngAfterViewInit(){(0,yt.R)(this.input.nativeElement,"keyup").pipe((0,Rt.h)(Boolean),(0,ee.b)(600),(0,Wt.x)(),(0,Pt.b)(()=>this.update(this.input.nativeElement.value))).subscribe()}update(m){this.updateEvent.emit(m.toLowerCase())}}return k.\u0275fac=function(m){return new(m||k)},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-filter"]],viewQuery:function(m,d){if(1&m&&o.Gf(xt,7),2&m){let a;o.iGM(a=o.CRH())&&(d.input=a.first)}},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["input",""],["matSuffix","",1,"material-icons"]],template:function(m,d){1&m&&(o.TgZ(0,"div",0)(1,"mat-form-field",1)(2,"mat-label")(3,"uds-translate"),o._uU(4,"Filter"),o.qZA()(),o._UZ(5,"input",2,3),o.TgZ(7,"i",4),o._uU(8,"search"),o.qZA()()())},directives:[mn.KE,mn.hX,xe.P,Ut.Nt,mn.R9],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]}),k})();var Xe=C(727),je=C(449);let Q=0;const K=new o.OlP("CdkAccordion");let He=(()=>{class k{constructor(){this._stateChanges=new Y.x,this._openCloseAllActions=new Y.x,this.id="cdk-accordion-"+Q++,this._multi=!1}get multi(){return this._multi}set multi(m){this._multi=(0,g.Ig)(m)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(m){this._stateChanges.next(m)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return k.\u0275fac=function(m){return new(m||k)},k.\u0275dir=o.lG2({type:k,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[o._Bn([{provide:K,useExisting:k}]),o.TTD]}),k})(),Ge=0,lt=(()=>{class k{constructor(m,d,a){this.accordion=m,this._changeDetectorRef=d,this._expansionDispatcher=a,this._openCloseAllSubscription=Xe.w0.EMPTY,this.closed=new o.vpe,this.opened=new o.vpe,this.destroyed=new o.vpe,this.expandedChange=new o.vpe,this.id="cdk-accordion-child-"+Ge++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=a.listen((l,v)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===v&&this.id!==l&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(m){m=(0,g.Ig)(m),this._expanded!==m&&(this._expanded=m,this.expandedChange.emit(m),m?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(m){this._disabled=(0,g.Ig)(m)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(m=>{this.disabled||(this.expanded=m)})}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(K,12),o.Y36(o.sBO),o.Y36(je.A8))},k.\u0275dir=o.lG2({type:k,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[o._Bn([{provide:K,useValue:void 0}])]}),k})(),St=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({}),k})();var Ht=C(7429),bt=C(508),Nt=C(9950),at=C(1159),Pe=C(6360),E=C(515),S=C(6451),D=C(1777);const P=["body"];function L(k,Ee){}const re=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],be=["mat-expansion-panel-header","*","mat-action-row"];function Ue(k,Ee){if(1&k&&o._UZ(0,"span",2),2&k){const m=o.oxw();o.Q6J("@indicatorRotate",m._getExpandedState())}}const ze=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],_t=["mat-panel-title","mat-panel-description","*"],ct=new o.OlP("MAT_ACCORDION"),Ot="225ms cubic-bezier(0.4,0.0,0.2,1)",nn={indicatorRotate:(0,D.X$)("indicatorRotate",[(0,D.SB)("collapsed, void",(0,D.oB)({transform:"rotate(0deg)"})),(0,D.SB)("expanded",(0,D.oB)({transform:"rotate(180deg)"})),(0,D.eR)("expanded <=> collapsed, void => collapsed",(0,D.jt)(Ot))]),bodyExpansion:(0,D.X$)("bodyExpansion",[(0,D.SB)("collapsed, void",(0,D.oB)({height:"0px",visibility:"hidden"})),(0,D.SB)("expanded",(0,D.oB)({height:"*",visibility:"visible"})),(0,D.eR)("expanded <=> collapsed, void => collapsed",(0,D.jt)(Ot))])};let Yt=(()=>{class k{constructor(m){this._template=m}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(o.Rgc))},k.\u0275dir=o.lG2({type:k,selectors:[["ng-template","matExpansionPanelContent",""]]}),k})(),dn=0;const dt=new o.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let vt=(()=>{class k extends lt{constructor(m,d,a,l,v,R,G){super(m,d,a),this._viewContainerRef=l,this._animationMode=R,this._hideToggle=!1,this.afterExpand=new o.vpe,this.afterCollapse=new o.vpe,this._inputChanges=new Y.x,this._headerId="mat-expansion-panel-header-"+dn++,this._bodyAnimationDone=new Y.x,this.accordion=m,this._document=v,this._bodyAnimationDone.pipe((0,Wt.x)((ne,oe)=>ne.fromState===oe.fromState&&ne.toState===oe.toState)).subscribe(ne=>{"void"!==ne.fromState&&("expanded"===ne.toState?this.afterExpand.emit():"collapsed"===ne.toState&&this.afterCollapse.emit())}),G&&(this.hideToggle=G.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(m){this._hideToggle=(0,g.Ig)(m)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(m){this._togglePosition=m}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe((0,de.O)(null),(0,Rt.h)(()=>this.expanded&&!this._portal),(0,Ce.q)(1)).subscribe(()=>{this._portal=new Ht.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(m){this._inputChanges.next(m)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const m=this._document.activeElement,d=this._body.nativeElement;return m===d||d.contains(m)}return!1}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(ct,12),o.Y36(o.sBO),o.Y36(je.A8),o.Y36(o.s_b),o.Y36(Ae.K0),o.Y36(Pe.Qb,8),o.Y36(dt,8))},k.\u0275cmp=o.Xpm({type:k,selectors:[["mat-expansion-panel"]],contentQueries:function(m,d,a){if(1&m&&o.Suo(a,Yt,5),2&m){let l;o.iGM(l=o.CRH())&&(d._lazyContent=l.first)}},viewQuery:function(m,d){if(1&m&&o.Gf(P,5),2&m){let a;o.iGM(a=o.CRH())&&(d._body=a.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(m,d){2&m&&o.ekj("mat-expanded",d.expanded)("_mat-animation-noopable","NoopAnimations"===d._animationMode)("mat-expansion-panel-spacing",d._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[o._Bn([{provide:ct,useValue:void 0}]),o.qOj,o.TTD],ngContentSelectors:be,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(m,d){1&m&&(o.F$t(re),o.Hsn(0),o.TgZ(1,"div",0,1),o.NdJ("@bodyExpansion.done",function(l){return d._bodyAnimationDone.next(l)}),o.TgZ(3,"div",2),o.Hsn(4,1),o.YNc(5,L,0,0,"ng-template",3),o.qZA(),o.Hsn(6,2),o.qZA()),2&m&&(o.xp6(1),o.Q6J("@bodyExpansion",d._getExpandedState())("id",d.id),o.uIk("aria-labelledby",d._headerId),o.xp6(4),o.Q6J("cdkPortalOutlet",d._portal))},directives:[Ht.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[nn.bodyExpansion]},changeDetection:0}),k})();class we{}const V=(0,bt.sb)(we);let j=(()=>{class k extends V{constructor(m,d,a,l,v,R,G){super(),this.panel=m,this._element=d,this._focusMonitor=a,this._changeDetectorRef=l,this._animationMode=R,this._parentChangeSubscription=Xe.w0.EMPTY;const ne=m.accordion?m.accordion._stateChanges.pipe((0,Rt.h)(oe=>!(!oe.hideToggle&&!oe.togglePosition))):E.E;this.tabIndex=parseInt(G||"")||0,this._parentChangeSubscription=(0,S.T)(m.opened,m.closed,ne,m._inputChanges.pipe((0,Rt.h)(oe=>!!(oe.hideToggle||oe.disabled||oe.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),m.closed.pipe((0,Rt.h)(()=>m._containsFocus())).subscribe(()=>a.focusVia(d,"program")),v&&(this.expandedHeight=v.expandedHeight,this.collapsedHeight=v.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const m=this._isExpanded();return m&&this.expandedHeight?this.expandedHeight:!m&&this.collapsedHeight?this.collapsedHeight:null}_keydown(m){switch(m.keyCode){case at.L_:case at.K5:(0,at.Vb)(m)||(m.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(m))}}focus(m,d){m?this._focusMonitor.focusVia(this._element,m,d):this._element.nativeElement.focus(d)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(m=>{m&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(vt,1),o.Y36(o.SBq),o.Y36(Nt.tE),o.Y36(o.sBO),o.Y36(dt,8),o.Y36(Pe.Qb,8),o.$8M("tabindex"))},k.\u0275cmp=o.Xpm({type:k,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(m,d){1&m&&o.NdJ("click",function(){return d._toggle()})("keydown",function(l){return d._keydown(l)}),2&m&&(o.uIk("id",d.panel._headerId)("tabindex",d.tabIndex)("aria-controls",d._getPanelId())("aria-expanded",d._isExpanded())("aria-disabled",d.panel.disabled),o.Udp("height",d._getHeaderHeight()),o.ekj("mat-expanded",d._isExpanded())("mat-expansion-toggle-indicator-after","after"===d._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===d._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===d._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[o.qOj],ngContentSelectors:_t,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(m,d){1&m&&(o.F$t(ze),o.TgZ(0,"span",0),o.Hsn(1),o.Hsn(2,1),o.Hsn(3,2),o.qZA(),o.YNc(4,Ue,1,1,"span",1)),2&m&&(o.xp6(4),o.Q6J("ngIf",d._showToggle()))},directives:[Ae.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[nn.indicatorRotate]},changeDetection:0}),k})(),$=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275dir=o.lG2({type:k,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),k})(),he=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275dir=o.lG2({type:k,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),k})(),Se=(()=>{class k extends He{constructor(){super(...arguments),this._ownHeaders=new o.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(m){this._hideToggle=(0,g.Ig)(m)}ngAfterContentInit(){this._headers.changes.pipe((0,de.O)(this._headers)).subscribe(m=>{this._ownHeaders.reset(m.filter(d=>d.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Nt.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(m){this._keyManager.onKeydown(m)}_handleHeaderFocus(m){this._keyManager.updateActiveItem(m)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return k.\u0275fac=function(){let Ee;return function(d){return(Ee||(Ee=o.n5z(k)))(d||k)}}(),k.\u0275dir=o.lG2({type:k,selectors:[["mat-accordion"]],contentQueries:function(m,d,a){if(1&m&&o.Suo(a,j,5),2&m){let l;o.iGM(l=o.CRH())&&(d._headers=l)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(m,d){2&m&&o.ekj("mat-accordion-multi",d.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[o._Bn([{provide:ct,useExisting:k}]),o.qOj]}),k})(),st=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({imports:[[Ae.ez,bt.BQ,St,Ht.eL]]}),k})();var At=C(9646),Zt=C(3101),Kt=C(3900),Dt=C(4986),Rn=C(4482),Ve=C(5403),_e=C(5032),rt=C(5577);function kt(k,Ee){return Ee?m=>(0,ie.z)(Ee.pipe((0,Ce.q)(1),function te(){return(0,Rn.e)((k,Ee)=>{k.subscribe((0,Ve.x)(Ee,_e.Z))})}()),m.pipe(kt(k))):(0,rt.z)((m,d)=>k(m,d).pipe((0,Ce.q)(1),function Ie(k){return(0,se.U)(()=>k)}(m)))}var $t=C(5963);function bn(k,Ee=Dt.z){const m=(0,$t.H)(k,Ee);return kt(()=>m)}var en=C(9776),kn=C(226),Cn=C(495);const jn=["mat-menu-item",""];function oi(k,Ee){1&k&&(o.O4$(),o.TgZ(0,"svg",2),o._UZ(1,"polygon",3),o.qZA())}const Wn=["*"];function bi(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(a){return o.CHM(m),o.oxw()._handleKeydown(a)})("click",function(){return o.CHM(m),o.oxw().closed.emit("click")})("@transformMenu.start",function(a){return o.CHM(m),o.oxw()._onAnimationStart(a)})("@transformMenu.done",function(a){return o.CHM(m),o.oxw()._onAnimationDone(a)}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA()()}if(2&k){const m=o.oxw();o.Q6J("id",m.panelId)("ngClass",m._classList)("@transformMenu",m._panelAnimationState),o.uIk("aria-label",m.ariaLabel||null)("aria-labelledby",m.ariaLabelledby||null)("aria-describedby",m.ariaDescribedby||null)}}const si={transformMenu:(0,D.X$)("transformMenu",[(0,D.SB)("void",(0,D.oB)({opacity:0,transform:"scale(0.8)"})),(0,D.eR)("void => enter",(0,D.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,D.oB)({opacity:1,transform:"scale(1)"}))),(0,D.eR)("* => void",(0,D.jt)("100ms 25ms linear",(0,D.oB)({opacity:0})))]),fadeInItems:(0,D.X$)("fadeInItems",[(0,D.SB)("showing",(0,D.oB)({opacity:1})),(0,D.eR)("void => *",[(0,D.oB)({opacity:0}),(0,D.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ji=new o.OlP("MatMenuContent"),An=new o.OlP("MAT_MENU_PANEL"),ci=(0,bt.Kr)((0,bt.Id)(class{}));let tn=(()=>{class k extends ci{constructor(m,d,a,l,v){var R;super(),this._elementRef=m,this._document=d,this._focusMonitor=a,this._parentMenu=l,this._changeDetectorRef=v,this.role="menuitem",this._hovered=new Y.x,this._focused=new Y.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(R=null==l?void 0:l.addItem)||void 0===R||R.call(l,this)}focus(m,d){this._focusMonitor&&m?this._focusMonitor.focusVia(this._getHostElement(),m,d):this._getHostElement().focus(d),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(m){this.disabled&&(m.preventDefault(),m.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var m;const d=this._elementRef.nativeElement.cloneNode(!0),a=d.querySelectorAll("mat-icon, .material-icons");for(let l=0;l{class k{constructor(m,d,a,l){this._elementRef=m,this._ngZone=d,this._defaultOptions=a,this._changeDetectorRef=l,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.n_E,this._tabSubscription=Xe.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Y.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+jt++}get xPosition(){return this._xPosition}set xPosition(m){this._xPosition=m,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(m){this._yPosition=m,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(m){this._overlapTrigger=(0,g.Ig)(m)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(m){this._hasBackdrop=(0,g.Ig)(m)}set panelClass(m){const d=this._previousPanelClass;d&&d.length&&d.split(" ").forEach(a=>{this._classList[a]=!1}),this._previousPanelClass=m,m&&m.length&&(m.split(" ").forEach(a=>{this._classList[a]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(m){this.panelClass=m}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Nt.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,de.O)(this._directDescendantItems),(0,Kt.w)(m=>(0,S.T)(...m.map(d=>d._focused)))).subscribe(m=>this._keyManager.updateActiveItem(m)),this._directDescendantItems.changes.subscribe(m=>{var d;const a=this._keyManager;if("enter"===this._panelAnimationState&&(null===(d=a.activeItem)||void 0===d?void 0:d._hasFocus())){const l=m.toArray(),v=Math.max(0,Math.min(l.length-1,a.activeItemIndex||0));l[v]&&!l[v].disabled?a.setActiveItem(v):a.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,de.O)(this._directDescendantItems),(0,Kt.w)(d=>(0,S.T)(...d.map(a=>a._hovered))))}addItem(m){}removeItem(m){}_handleKeydown(m){const d=m.keyCode,a=this._keyManager;switch(d){case at.hY:(0,at.Vb)(m)||(m.preventDefault(),this.closed.emit("keydown"));break;case at.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case at.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(d===at.LH||d===at.JH)&&a.setFocusOrigin("keyboard"),void a.onKeydown(m)}m.stopPropagation()}focusFirstItem(m="program"){this.lazyContent?this._ngZone.onStable.pipe((0,Ce.q)(1)).subscribe(()=>this._focusFirstItem(m)):this._focusFirstItem(m)}_focusFirstItem(m){const d=this._keyManager;if(d.setFocusOrigin(m).setFirstItemActive(),!d.activeItem&&this._directDescendantItems.length){let a=this._directDescendantItems.first._getHostElement().parentElement;for(;a;){if("menu"===a.getAttribute("role")){a.focus();break}a=a.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(m){const d=Math.min(this._baseElevation+m,24),a=`${this._elevationPrefix}${d}`,l=Object.keys(this._classList).find(v=>v.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)}setPositionClasses(m=this.xPosition,d=this.yPosition){var a;const l=this._classList;l["mat-menu-before"]="before"===m,l["mat-menu-after"]="after"===m,l["mat-menu-above"]="above"===d,l["mat-menu-below"]="below"===d,null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(m){this._animationDone.next(m),this._isAnimating=!1}_onAnimationStart(m){this._isAnimating=!0,"enter"===m.toState&&0===this._keyManager.activeItemIndex&&(m.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,de.O)(this._allItems)).subscribe(m=>{this._directDescendantItems.reset(m.filter(d=>d._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(Yn),o.Y36(o.sBO))},k.\u0275dir=o.lG2({type:k,contentQueries:function(m,d,a){if(1&m&&(o.Suo(a,ji,5),o.Suo(a,tn,5),o.Suo(a,tn,4)),2&m){let l;o.iGM(l=o.CRH())&&(d.lazyContent=l.first),o.iGM(l=o.CRH())&&(d._allItems=l),o.iGM(l=o.CRH())&&(d.items=l)}},viewQuery:function(m,d){if(1&m&&o.Gf(o.Rgc,5),2&m){let a;o.iGM(a=o.CRH())&&(d.templateRef=a.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),k})(),Jn=(()=>{class k extends ui{constructor(m,d,a,l){super(m,d,a,l),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(Yn),o.Y36(o.sBO))},k.\u0275cmp=o.Xpm({type:k,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(m,d){2&m&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o._Bn([{provide:An,useExisting:k}]),o.qOj],ngContentSelectors:Wn,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(m,d){1&m&&(o.F$t(),o.YNc(0,bi,3,6,"ng-template"))},directives:[Ae.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[si.transformMenu,si.fadeInItems]},changeDetection:0}),k})();const Si=new o.OlP("mat-menu-scroll-strategy"),gn={provide:Si,deps:[en.aV],useFactory:function Gn(k){return()=>k.scrollStrategies.reposition()}},Nn=(0,le.i$)({passive:!0});let Xn=(()=>{class k{constructor(m,d,a,l,v,R,G,ne,oe){this._overlay=m,this._element=d,this._viewContainerRef=a,this._menuItemInstance=R,this._dir=G,this._focusMonitor=ne,this._ngZone=oe,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Xe.w0.EMPTY,this._hoverSubscription=Xe.w0.EMPTY,this._menuCloseSubscription=Xe.w0.EMPTY,this._handleTouchStart=Oe=>{(0,Nt.yG)(Oe)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=l,this._parentMaterialMenu=v instanceof ui?v:void 0,d.nativeElement.addEventListener("touchstart",this._handleTouchStart,Nn),R&&(R._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(m){this.menu=m}get menu(){return this._menu}set menu(m){m!==this._menu&&(this._menu=m,this._menuCloseSubscription.unsubscribe(),m&&(this._menuCloseSubscription=m.close.subscribe(d=>{this._destroyMenu(d),("click"===d||"tab"===d)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(d)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Nn),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const m=this._createOverlay(),d=m.getConfig(),a=d.positionStrategy;this._setPosition(a),d.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,m.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof ui&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,J.R)(this.menu.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(m,d){this._focusMonitor&&m?this._focusMonitor.focusVia(this._element,m,d):this._element.nativeElement.focus(d)}updatePosition(){var m;null===(m=this._overlayRef)||void 0===m||m.updatePosition()}_destroyMenu(m){if(!this._overlayRef||!this.menuOpen)return;const d=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===m||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,d instanceof ui?(d._resetAnimation(),d.lazyContent?d._animationDone.pipe((0,Rt.h)(a=>"void"===a.toState),(0,Ce.q)(1),(0,J.R)(d.lazyContent._attached)).subscribe({next:()=>d.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),d.lazyContent&&d.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let m=0,d=this.menu.parentMenu;for(;d;)m++,d=d.parentMenu;this.menu.setElevation(m)}}_setIsMenuOpen(m){this._menuOpen=m,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(m)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const m=this._getOverlayConfig();this._subscribeToPositions(m.positionStrategy),this._overlayRef=this._overlay.create(m),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new en.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(m){this.menu.setPositionClasses&&m.positionChanges.subscribe(d=>{const a="start"===d.connectionPair.overlayX?"after":"before",l="top"===d.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(a,l)):this.menu.setPositionClasses(a,l)})}_setPosition(m){let[d,a]="before"===this.menu.xPosition?["end","start"]:["start","end"],[l,v]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[R,G]=[l,v],[ne,oe]=[d,a],Oe=0;this.triggersSubmenu()?(oe=d="before"===this.menu.xPosition?"start":"end",a=ne="end"===d?"start":"end",Oe="bottom"===l?8:-8):this.menu.overlapTrigger||(R="top"===l?"bottom":"top",G="top"===v?"bottom":"top"),m.withPositions([{originX:d,originY:R,overlayX:ne,overlayY:l,offsetY:Oe},{originX:a,originY:R,overlayX:oe,overlayY:l,offsetY:Oe},{originX:d,originY:G,overlayX:ne,overlayY:v,offsetY:-Oe},{originX:a,originY:G,overlayX:oe,overlayY:v,offsetY:-Oe}])}_menuClosingActions(){const m=this._overlayRef.backdropClick(),d=this._overlayRef.detachments(),a=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,At.of)(),l=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Rt.h)(v=>v!==this._menuItemInstance),(0,Rt.h)(()=>this._menuOpen)):(0,At.of)();return(0,S.T)(m,a,l,d)}_handleMousedown(m){(0,Nt.X6)(m)||(this._openedBy=0===m.button?"mouse":void 0,this.triggersSubmenu()&&m.preventDefault())}_handleKeydown(m){const d=m.keyCode;(d===at.K5||d===at.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(d===at.SV&&"ltr"===this.dir||d===at.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(m){this.triggersSubmenu()?(m.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Rt.h)(m=>m===this._menuItemInstance&&!m.disabled),bn(0,Zt.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ui&&this.menu._isAnimating?this.menu._animationDone.pipe((0,Ce.q)(1),bn(0,Zt.E),(0,J.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Ht.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(en.aV),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(Si),o.Y36(An,8),o.Y36(tn,10),o.Y36(kn.Is,8),o.Y36(Nt.tE),o.Y36(o.R0b))},k.\u0275dir=o.lG2({type:k,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(m,d){1&m&&o.NdJ("click",function(l){return d._handleClick(l)})("mousedown",function(l){return d._handleMousedown(l)})("keydown",function(l){return d._handleKeydown(l)}),2&m&&o.uIk("aria-expanded",d.menuOpen||null)("aria-controls",d.menuOpen?d.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),k})(),un=(()=>{class k extends Xn{}return k.\u0275fac=function(){let Ee;return function(d){return(Ee||(Ee=o.n5z(k)))(d||k)}}(),k.\u0275dir=o.lG2({type:k,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[o.qOj]}),k})(),ir=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({providers:[gn],imports:[[Ae.ez,bt.BQ,bt.si,en.U8],Cn.ZD,bt.BQ]}),k})();const Tr={tooltipState:(0,D.X$)("state",[(0,D.SB)("initial, void, hidden",(0,D.oB)({opacity:0,transform:"scale(0)"})),(0,D.SB)("visible",(0,D.oB)({transform:"scale(1)"})),(0,D.eR)("* => visible",(0,D.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,D.F4)([(0,D.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,D.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,D.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,D.eR)("* => hidden",(0,D.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,D.oB)({opacity:0})))])},Ki="tooltip-panel",Zi=(0,le.i$)({passive:!0}),Oi=new o.OlP("mat-tooltip-scroll-strategy"),rr={provide:Oi,deps:[en.aV],useFactory:function hr(k){return()=>k.scrollStrategies.reposition({scrollThrottle:20})}},fr=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function pr(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let kr=(()=>{class k{constructor(m,d,a,l,v,R,G,ne,oe,Oe,Ke,gt){this._overlay=m,this._elementRef=d,this._scrollDispatcher=a,this._viewContainerRef=l,this._ngZone=v,this._platform=R,this._ariaDescriber=G,this._focusMonitor=ne,this._dir=Oe,this._defaultOptions=Ke,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Y.x,this._scrollStrategy=oe,this._document=gt,Ke&&(Ke.position&&(this.position=Ke.position),Ke.touchGestures&&(this.touchGestures=Ke.touchGestures)),Oe.change.pipe((0,J.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(m){var d;m!==this._position&&(this._position=m,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(d=this._tooltipInstance)||void 0===d||d.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(m){this._disabled=(0,g.Ig)(m),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(m){this._showDelay=(0,g.su)(m)}get hideDelay(){return this._hideDelay}set hideDelay(m){this._hideDelay=(0,g.su)(m),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(m){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=m?String(m).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(m){this._tooltipClass=m,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,J.R)(this._destroyed)).subscribe(m=>{m?"keyboard"===m&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const m=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([d,a])=>{m.removeEventListener(d,a,Zi)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(m,this.message,"tooltip"),this._focusMonitor.stopMonitoring(m)}show(m=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const d=this._createOverlay();this._detach(),this._portal=this._portal||new Ht.C5(this._tooltipComponent,this._viewContainerRef);const a=this._tooltipInstance=d.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe((0,J.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(m)}hide(m=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(m)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var m;if(this._overlayRef)return this._overlayRef;const d=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),a=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(d);return a.positionChanges.pipe((0,J.R)(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:`${this._cssClassPrefix}-${Ki}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,J.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,J.R)(this._destroyed)).subscribe(()=>{var l;return null===(l=this._tooltipInstance)||void 0===l?void 0:l._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,J.R)(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&l.keyCode===at.hY&&!(0,at.Vb)(l)&&(l.preventDefault(),l.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(m=this._defaultOptions)||void 0===m?void 0:m.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(m){const d=m.getConfig().positionStrategy,a=this._getOrigin(),l=this._getOverlayPosition();d.withPositions([this._addOffset(Object.assign(Object.assign({},a.main),l.main)),this._addOffset(Object.assign(Object.assign({},a.fallback),l.fallback))])}_addOffset(m){return m}_getOrigin(){const m=!this._dir||"ltr"==this._dir.value,d=this.position;let a;"above"==d||"below"==d?a={originX:"center",originY:"above"==d?"top":"bottom"}:"before"==d||"left"==d&&m||"right"==d&&!m?a={originX:"start",originY:"center"}:("after"==d||"right"==d&&m||"left"==d&&!m)&&(a={originX:"end",originY:"center"});const{x:l,y:v}=this._invertPosition(a.originX,a.originY);return{main:a,fallback:{originX:l,originY:v}}}_getOverlayPosition(){const m=!this._dir||"ltr"==this._dir.value,d=this.position;let a;"above"==d?a={overlayX:"center",overlayY:"bottom"}:"below"==d?a={overlayX:"center",overlayY:"top"}:"before"==d||"left"==d&&m||"right"==d&&!m?a={overlayX:"end",overlayY:"center"}:("after"==d||"right"==d&&m||"left"==d&&!m)&&(a={overlayX:"start",overlayY:"center"});const{x:l,y:v}=this._invertPosition(a.overlayX,a.overlayY);return{main:a,fallback:{overlayX:l,overlayY:v}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,Ce.q)(1),(0,J.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(m){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=m,this._tooltipInstance._markForCheck())}_invertPosition(m,d){return"above"===this.position||"below"===this.position?"top"===d?d="bottom":"bottom"===d&&(d="top"):"end"===m?m="start":"start"===m&&(m="end"),{x:m,y:d}}_updateCurrentPositionClass(m){const{overlayY:d,originX:a,originY:l}=m;let v;if(v="center"===d?this._dir&&"rtl"===this._dir.value?"end"===a?"left":"right":"start"===a?"left":"right":"bottom"===d&&"top"===l?"above":"below",v!==this._currentPosition){const R=this._overlayRef;if(R){const G=`${this._cssClassPrefix}-${Ki}-`;R.removePanelClass(G+this._currentPosition),R.addPanelClass(G+v)}this._currentPosition=v}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const m=[];if(this._platformSupportsMouseEvents())m.push(["mouseleave",d=>{var a;const l=d.relatedTarget;(!l||!(null===(a=this._overlayRef)||void 0===a?void 0:a.overlayElement.contains(l)))&&this.hide()}],["wheel",d=>this._wheelListener(d)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const d=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};m.push(["touchend",d],["touchcancel",d])}this._addListeners(m),this._passiveListeners.push(...m)}_addListeners(m){m.forEach(([d,a])=>{this._elementRef.nativeElement.addEventListener(d,a,Zi)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(m){if(this._isTooltipVisible()){const d=this._document.elementFromPoint(m.clientX,m.clientY),a=this._elementRef.nativeElement;d!==a&&!a.contains(d)&&this.hide()}}_disableNativeGesturesIfNecessary(){const m=this.touchGestures;if("off"!==m){const d=this._elementRef.nativeElement,a=d.style;("on"===m||"INPUT"!==d.nodeName&&"TEXTAREA"!==d.nodeName)&&(a.userSelect=a.msUserSelect=a.webkitUserSelect=a.MozUserSelect="none"),("on"===m||!d.draggable)&&(a.webkitUserDrag="none"),a.touchAction="none",a.webkitTapHighlightColor="transparent"}}}return k.\u0275fac=function(m){o.$Z()},k.\u0275dir=o.lG2({type:k,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),k})(),uo=(()=>{class k extends kr{constructor(m,d,a,l,v,R,G,ne,oe,Oe,Ke,gt){super(m,d,a,l,v,R,G,ne,oe,Oe,Ke,gt),this._tooltipComponent=Fr}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(en.aV),o.Y36(o.SBq),o.Y36(Cn.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(le.t4),o.Y36(Nt.$s),o.Y36(Nt.tE),o.Y36(Oi),o.Y36(kn.Is,8),o.Y36(fr,8),o.Y36(Ae.K0))},k.\u0275dir=o.lG2({type:k,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[o.qOj]}),k})(),mr=(()=>{class k{constructor(m){this._changeDetectorRef=m,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Y.x}show(m){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},m)}hide(m){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},m)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_animationStart(){this._closeOnInteraction=!1}_animationDone(m){const d=m.toState;"hidden"===d&&!this.isVisible()&&this._onHide.next(),("visible"===d||"hidden"===d)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:m}){(!m||!this._triggerElement.contains(m))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(o.sBO))},k.\u0275dir=o.lG2({type:k}),k})(),Fr=(()=>{class k extends mr{constructor(m,d){super(m),this._breakpointObserver=d,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(o.sBO),o.Y36(me))},k.\u0275cmp=o.Xpm({type:k,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(m,d){1&m&&o.NdJ("mouseleave",function(l){return d._handleMouseLeave(l)}),2&m&&o.Udp("zoom","visible"===d._visibility?1:null)},features:[o.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(m,d){if(1&m&&(o.TgZ(0,"div",0),o.NdJ("@state.start",function(){return d._animationStart()})("@state.done",function(l){return d._animationDone(l)}),o.ALo(1,"async"),o._uU(2),o.qZA()),2&m){let a;o.ekj("mat-tooltip-handset",null==(a=o.lcZ(1,5,d._isHandset))?null:a.matches),o.Q6J("ngClass",d.tooltipClass)("@state",d._visibility),o.xp6(2),o.Oqu(d.message)}},directives:[Ae.mk],pipes:[Ae.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}\n"],encapsulation:2,data:{animation:[Tr.tooltipState]},changeDetection:0}),k})(),gr=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({providers:[rr],imports:[[Nt.rt,Ae.ez,en.U8,bt.BQ],bt.BQ,Cn.ZD]}),k})();var or=C(7423);function xr(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){const l=o.CHM(m).$implicit;return o.oxw(2).launch(l)}),o.TgZ(1,"div",15),o._UZ(2,"img",9),o._uU(3),o.qZA()()}if(2&k){const m=Ee.$implicit,d=o.oxw(2);o.xp6(2),o.Q6J("src",d.getTransportIcon(m.id),o.LSH),o.xp6(1),o.hij(" ",m.name," ")}}function sr(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){return o.CHM(m),o.oxw(2).action("release")}),o.TgZ(1,"i",16),o._uU(2,"delete"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4," Release service"),o.qZA()()}}function _r(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"button",14),o.NdJ("click",function(){return o.CHM(m),o.oxw(2).action("reset")}),o.TgZ(1,"i",16),o._uU(2,"refresh"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4," Reset service"),o.qZA()()}}function ar(k,Ee){if(1&k&&(o.TgZ(0,"button",17)(1,"uds-translate"),o._uU(2,"Connections"),o.qZA()()),2&k){o.oxw();const m=o.MAs(2);o.Q6J("matMenuTriggerFor",m)}}function Zr(k,Ee){if(1&k&&(o.TgZ(0,"button",17)(1,"uds-translate"),o._uU(2,"Actions"),o.qZA()()),2&k){o.oxw();const m=o.MAs(5);o.Q6J("matMenuTriggerFor",m)}}function vr(k,Ee){if(1&k&&(o.TgZ(0,"button",18)(1,"i",16),o._uU(2,"menu"),o.qZA()()),2&k){o.oxw();const m=o.MAs(9);o.Q6J("matMenuTriggerFor",m)}}function Lr(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"div")(1,"mat-menu",null,1),o.YNc(3,xr,4,2,"button",2),o.qZA(),o.TgZ(4,"mat-menu",null,3),o.YNc(6,sr,5,0,"button",4),o.YNc(7,_r,5,0,"button",4),o.qZA(),o.TgZ(8,"mat-menu",null,5),o.YNc(10,ar,3,1,"button",6),o.YNc(11,Zr,3,1,"button",6),o.qZA(),o.TgZ(12,"div",7)(13,"div",8),o.NdJ("click",function(){return o.CHM(m),o.oxw().launch(null)}),o._UZ(14,"img",9),o.qZA(),o.TgZ(15,"div",10)(16,"span",11),o._uU(17),o.qZA()(),o.TgZ(18,"div",12),o.YNc(19,vr,3,1,"button",13),o.qZA()()()}if(2&k){const m=o.oxw();o.xp6(3),o.Q6J("ngForOf",m.service.transports),o.xp6(3),o.Q6J("ngIf",m.service.allow_users_remove),o.xp6(1),o.Q6J("ngIf",m.service.allow_users_reset),o.xp6(3),o.Q6J("ngIf",m.showTransportsMenu()),o.xp6(1),o.Q6J("ngIf",m.hasActions()),o.xp6(1),o.Q6J("ngClass",m.serviceClass)("matTooltipDisabled",""===m.serviceTooltip)("matTooltip",m.serviceTooltip),o.xp6(2),o.Q6J("src",m.serviceImage,o.LSH),o.xp6(2),o.Q6J("ngClass",m.serviceNameClass),o.xp6(1),o.Oqu(m.serviceName),o.xp6(2),o.Q6J("ngIf",m.hasMenu())}}let mi=(()=>{class k{constructor(m){this.api=m}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let m=this.service.visual_name;return m.length>32&&(m=m.substring(0,29)+"..."),m}get serviceTooltip(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){const m=["service"];return null!=this.service.to_be_replaced?m.push("tobereplaced"):this.service.maintenance?m.push("maintenance"):this.service.not_accesible?m.push("forbidden"):this.service.in_use&&m.push("inuse"),m.length>1&&m.push("alert"),m}get serviceNameClass(){const m=[],d=Math.min(4*Math.floor((this.service.visual_name.length-1)/4),28);return d>=16&&m.push("small-"+d.toString()),m}ngOnInit(){}getTransportIcon(m){return this.api.transportIconURL(m)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(m){this.api.gui.alert('

'+django.gettext("Launcher")+"

",m)}launch(m){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){const d=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+d+'

')}else(null===m||!1===this.service.show_transports)&&(m=this.service.transports[0]),this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(m.link)}action(m){const d=("release"===m?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,a="release"===m?django.gettext("Service released"):django.gettext("Service reseted");this.api.gui.yesno(d,django.gettext("Are you sure?")).subscribe(l=>{l&&this.api.action(m,this.service.id).subscribe(v=>{v&&this.api.gui.alert(d,a)})})}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Ne.n))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[[4,"ngIf"],["transports",""],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["actions",""],["mat-menu-item","",3,"click",4,"ngIf"],["menu",""],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","","class","service-menu",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"]],template:function(m,d){1&m&&o.YNc(0,Lr,20,12,"div",0),2&m&&o.Q6J("ngIf",d.service.transports.length>0)},directives:[Ae.O5,Jn,Ae.sg,tn,xe.P,un,Ae.mk,uo,or.lW],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;border-radius:1rem;box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:#00000038;display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:#fffc}.menu[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-icon-button{background-color:#0003!important}']}),k})();function yr(k,Ee){1&k&&o._UZ(0,"uds-service",8),2&k&&o.Q6J("service",Ee.$implicit)}function Di(k,Ee){if(1&k&&(o.TgZ(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),o._UZ(4,"img",4),o._uU(5),o.qZA()(),o.TgZ(6,"mat-panel-description",5),o._uU(7),o.qZA()(),o.TgZ(8,"div",6),o.YNc(9,yr,1,1,"uds-service",7),o.qZA()()),2&k){const m=o.oxw();o.Q6J("expanded",m.expanded),o.xp6(1),o.Q6J("collapsedHeight","3rem")("expandedHeight","5rem"),o.xp6(3),o.Q6J("src",m.groupImage,o.LSH),o.xp6(1),o.hij(" ",m.group.name,""),o.xp6(2),o.hij(" ",m.group.comments," "),o.xp6(2),o.Q6J("ngForOf",m.sortedServices)}}let qr=(()=>{class k{constructor(m){this.api=m,this.expanded=!1}ngOnInit(){}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((m,d)=>m.name>d.name?1:m.name{class k{constructor(m){this.api=m}ngOnInit(){}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Ne.n))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(m,d){1&m&&o.YNc(0,Bi,38,4,"div",0),2&m&&o.Q6J("ngIf",d.api.staffInfo)},directives:[Ae.O5,xe.P,Se,vt,j,he,$,Ae.sg],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4} .dark-theme .staff-info{margin-top:1rem;padding:1rem;background-color:#0f0f0f} .dark-theme .staff-panel{background-color:#2b2b2b}"]}),k})();function Qr(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"uds-filter",3),o.NdJ("updateEvent",function(a){return o.CHM(m),o.oxw().update(a)}),o.qZA()}}function Ii(k,Ee){if(1&k&&o._UZ(0,"uds-services-group",4),2&k){const m=Ee.$implicit,d=Ee.index;o.Q6J("services",m.services)("group",m.group)("expanded",0===d)}}function lr(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"uds-filter",3),o.NdJ("updateEvent",function(a){return o.CHM(m),o.oxw().update(a)}),o.qZA()}}class Br{constructor(Ee){this.group=Ee,this.services=[]}}function cr(k,Ee){1&k&&o._UZ(0,"span",10),2&k&&o.Q6J("innerHTML",Ee.$implicit,o.oJD)}const ni=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:(()=>{class k{constructor(m){this.api=m,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""}}update(m){this.updateServices(m)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&1===this.servicesInformation.services.length){if(!this.servicesInformation.services[0].maintenance)return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"))}return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().subscribe(m=>{this.servicesInformation=m,this.autorun(),this.updateServices()})}updateServices(m=""){this.group=[];let d=null;this.servicesInformation.services.filter(a=>!m||a.visual_name.toLowerCase().includes(m)||a.group.name.toLowerCase().includes(m)).sort((a,l)=>a.group.priority!==l.group.priority?a.group.priority-l.group.priority:a.group.id>l.group.id?1:a.group.id{(null===d||a.group.id!==d.group.id)&&(null!==d&&this.group.push(d),d=new Br(a.group)),d.services.push(a)}),null!==d&&this.group.push(d)}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Ne.n))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-services-page"]],decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(m,d){1&m&&(o.YNc(0,Qr,1,0,"uds-filter",0),o.TgZ(1,"div",1)(2,"mat-accordion"),o.YNc(3,Ii,1,3,"uds-services-group",2),o.qZA()(),o.YNc(4,lr,1,0,"uds-filter",0),o._UZ(5,"uds-staff-info")),2&m&&(o.Q6J("ngIf",d.servicesInformation.services.length>=d.api.config.min_for_filter&&d.api.config.site_filter_on_top),o.xp6(3),o.Q6J("ngForOf",d.group),o.xp6(1),o.Q6J("ngIf",d.servicesInformation.services.length>=d.api.config.min_for_filter&&!d.api.config.site_filter_on_top))},directives:[Ae.O5,on,Se,Ae.sg,qr,Qi],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]}),k})(),canActivate:[ve]},{path:"login",component:Me.G},{path:"login/:id",component:Me.G},{path:"client-download",component:Fe},{path:"downloads",component:Jt,canActivate:[ve]},{path:"error/:id",component:(()=>{class k{constructor(m){this.route=m,this.error=[""]}ngOnInit(){this.getError()}getError(){const m=this.route.snapshot.paramMap.get("id");try{const d=(new TextDecoder).decode(Uint8Array.from(window.atob(m),a=>a.charCodeAt(a))).replace("<","<").replace(">",">");this.error=d.split("\n"),console.log(this.error),udsData.error=this.error}catch(d){console.log(d),this.error=[django.gettext("Invalid error string")]}}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Te.gz))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-error"]],decls:14,vars:1,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],[3,"innerHTML",4,"ngFor","ngForOf"],["mat-raised-button","","color","warn","routerLink","/"],[3,"innerHTML"]],template:function(m,d){1&m&&(o.TgZ(0,"div",0)(1,"div",1),o.O4$(),o.TgZ(2,"svg",2),o._UZ(3,"path",3),o.qZA(),o.TgZ(4,"svg",4),o._UZ(5,"path",5),o.qZA()(),o.kcU(),o.TgZ(6,"h1",6)(7,"uds-translate"),o._uU(8,"An error has occurred"),o.qZA()(),o.TgZ(9,"p",7),o.YNc(10,cr,1,1,"span",8),o.qZA(),o.TgZ(11,"a",9)(12,"uds-translate"),o._uU(13,"Return"),o.qZA()()()),2&m&&(o.xp6(10),o.Q6J("ngForOf",d.error))},directives:[xe.P,Ae.sg,or.zs,Te.yS],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:CogAnimation 5s infinite;animation:CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]}),k})()},{path:"about",component:(()=>{class k{constructor(m){this.api=m,this.year=(new Date).getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Ne.n))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-about"]],decls:46,vars:3,consts:[[1,"about"],["href","http://www.udsenterprise.com","target","_blank"],["href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["href","https://www.python.org/"],["href","https://www.typescriptlang.org/","target","_blank"],["href","https://www.djangoproject.com/","target","_blank"],["href","https://angular.io","target","_blank"],["href","https://guac-dev.org/","target","_blank"],["href","https://weasyprint.org/","target","_blank"],["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(m,d){1&m&&(o.TgZ(0,"div",0)(1,"h1"),o._uU(2),o.qZA(),o.TgZ(3,"h3")(4,"a",1),o._uU(5),o.qZA()(),o.TgZ(6,"h4")(7,"uds-translate"),o._uU(8,"You can access UDS Open Source code at"),o.qZA(),o._uU(9,"\xa0"),o.TgZ(10,"a",2),o._uU(11,"OpenUDS github repository"),o.qZA()(),o.TgZ(12,"div",3)(13,"h2")(14,"uds-translate"),o._uU(15,"UDS has been developed using these components:"),o.qZA()(),o.TgZ(16,"ul")(17,"li")(18,"a",4),o._uU(19,"Python"),o.qZA()(),o.TgZ(20,"li")(21,"a",5),o._uU(22,"TypeScript"),o.qZA()(),o.TgZ(23,"li")(24,"a",6),o._uU(25,"Django"),o.qZA()(),o.TgZ(26,"li")(27,"a",7),o._uU(28,"Angular"),o.qZA()(),o.TgZ(29,"li")(30,"a",8),o._uU(31,"Guacamole"),o.qZA()(),o.TgZ(32,"li")(33,"a",9),o._uU(34,"weasyprint"),o.qZA()(),o.TgZ(35,"li")(36,"a",10),o._uU(37,"Crystal project icons"),o.qZA()(),o.TgZ(38,"li")(39,"a",11),o._uU(40,"Flattr Icons"),o.qZA()()(),o.TgZ(41,"p")(42,"small"),o._uU(43,"* "),o.TgZ(44,"uds-translate"),o._uU(45,"If you find that we missed any component, please let us know"),o.qZA()()()()()),2&m&&(o.xp6(2),o.AsE("Universal Desktop Services ",d.api.config.version," build ",d.api.config.version_stamp,""),o.xp6(3),o.hij(" \xa9 2012-",d.year," Virtual Cable S.L.U."))},directives:[xe.P],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"]}),k})()},{path:"ticket/launcher",component:(()=>{class k{constructor(m){this.api=m}ngOnInit(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Ne.n))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(m,d){1&m&&(o.TgZ(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),o._uU(4,"UDS Service launcher"),o.qZA()(),o.TgZ(5,"h4")(6,"uds-translate"),o._uU(7,"The service you have requested is being launched."),o.qZA()(),o.TgZ(8,"h5")(9,"uds-translate"),o._uU(10,"Please, note that reloading this page will not work."),o.qZA()(),o.TgZ(11,"h5")(12,"uds-translate"),o._uU(13,"To relaunch service, you will have to do it from origin."),o.qZA()(),o.TgZ(14,"h6")(15,"uds-translate"),o._uU(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),o.qZA()(),o.TgZ(17,"h6")(18,"uds-translate"),o._uU(19,"You can obtain it from the"),o.qZA(),o._uU(20,"\xa0"),o.TgZ(21,"a",2)(22,"uds-translate"),o._uU(23,"UDS Client download page"),o.qZA()()()()())},directives:[xe.P,Te.yS],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:#00000038;padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]}),k})()},{path:"**",redirectTo:"services"}];let ur=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({imports:[[Te.Bz.forRoot(ni,{relativeLinkResolution:"legacy"})],Te.Bz]}),k})();var Pi=C(2382),A=C(7144);let Sn=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({}),k})(),Vn=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({imports:[[bt.si,bt.BQ,A.Q8,Sn],bt.BQ,Sn]}),k})();var wi=C(8966),er=C(4107);const Ri=["*",[["mat-toolbar-row"]]],ki=["*","mat-toolbar-row"],x=(0,bt.pj)(class{constructor(k){this._elementRef=k}});let M=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275dir=o.lG2({type:k,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),k})(),y=(()=>{class k extends x{constructor(m,d,a){super(m),this._platform=d,this._document=a}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(o.SBq),o.Y36(le.t4),o.Y36(Ae.K0))},k.\u0275cmp=o.Xpm({type:k,selectors:[["mat-toolbar"]],contentQueries:function(m,d,a){if(1&m&&o.Suo(a,M,5),2&m){let l;o.iGM(l=o.CRH())&&(d._toolbarRows=l)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(m,d){2&m&&o.ekj("mat-toolbar-multiple-rows",d._toolbarRows.length>0)("mat-toolbar-single-row",0===d._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.qOj],ngContentSelectors:ki,decls:2,vars:0,template:function(m,d){1&m&&(o.F$t(Ri),o.Hsn(0),o.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),k})(),We=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({imports:[[bt.BQ],bt.BQ]}),k})(),Et=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k}),k.\u0275inj=o.cJS({providers:[{provide:mn.o2,useValue:{floatLabel:"always"}}],imports:[Pi.u5,We,or.ot,ir,gr,st,wi.Is,mn.lN,Ut.c,er.LD,Vn]}),k})();function Dn(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){const l=o.CHM(m).$implicit;return o.oxw(2).changeLang(l)}),o._uU(1),o.qZA()}if(2&k){const m=Ee.$implicit;o.xp6(1),o.Oqu(m.name)}}function gi(k,Ee){if(1&k){const m=o.EpF();o.TgZ(0,"button",9),o.NdJ("click",function(){return o.CHM(m),o.oxw(2).admin()}),o.TgZ(1,"i",23),o._uU(2,"dashboard"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4,"Dashboard"),o.qZA()()}}function Gi(k,Ee){1&k&&(o.TgZ(0,"button",28)(1,"i",23),o._uU(2,"file_download"),o.qZA(),o.TgZ(3,"uds-translate"),o._uU(4,"Downloads"),o.qZA()())}function Fi(k,Ee){if(1&k&&(o.TgZ(0,"button",14),o._uU(1),o.qZA()),2&k){o.oxw();const m=o.MAs(8),d=o.oxw();o.Q6J("matMenuTriggerFor",m),o.xp6(1),o.Oqu(d.api.user.user)}}function ot(k,Ee){if(1&k&&(o.TgZ(0,"button",25),o._uU(1),o.TgZ(2,"i",23),o._uU(3,"arrow_drop_down"),o.qZA()()),2&k){o.oxw();const m=o.MAs(8),d=o.oxw();o.Q6J("matMenuTriggerFor",m),o.xp6(1),o.hij("",d.api.user.user," ")}}function sn(k,Ee){if(1&k){const m=o.EpF();o.ynx(0),o.TgZ(1,"form",1),o._UZ(2,"input",2)(3,"input",3),o.qZA(),o.TgZ(4,"mat-menu",null,4),o.YNc(6,Dn,2,1,"button",5),o.qZA(),o.TgZ(7,"mat-menu",null,6),o.YNc(9,gi,5,0,"button",7),o.YNc(10,Gi,5,0,"button",8),o.TgZ(11,"button",9),o.NdJ("click",function(){return o.CHM(m),o.oxw().logout()}),o.TgZ(12,"i",10),o._uU(13,"exit_to_app"),o.qZA(),o.TgZ(14,"uds-translate"),o._uU(15,"Logout"),o.qZA()()(),o.TgZ(16,"mat-menu",11,12),o.YNc(18,Fi,2,2,"button",13),o.TgZ(19,"button",14),o._uU(20),o.qZA(),o.TgZ(21,"button",15)(22,"uds-translate"),o._uU(23,"UDS Client"),o.qZA()(),o.TgZ(24,"button",16)(25,"uds-translate"),o._uU(26,"About"),o.qZA()()(),o.TgZ(27,"mat-toolbar",17)(28,"button",18),o._UZ(29,"img",19),o._uU(30),o.qZA(),o._UZ(31,"span",20),o.TgZ(32,"div",21)(33,"button",22)(34,"i",23),o._uU(35,"file_download"),o.qZA(),o.TgZ(36,"uds-translate"),o._uU(37,"UDS Client"),o.qZA()(),o.TgZ(38,"button",24)(39,"i",23),o._uU(40,"info"),o.qZA(),o.TgZ(41,"uds-translate"),o._uU(42,"About"),o.qZA()(),o.TgZ(43,"button",25),o._uU(44),o.TgZ(45,"i",23),o._uU(46,"arrow_drop_down"),o.qZA()(),o.YNc(47,ot,4,2,"button",26),o.qZA(),o.TgZ(48,"div",27)(49,"button",25)(50,"i",23),o._uU(51,"menu"),o.qZA()()()(),o.BQk()}if(2&k){const m=o.MAs(5),d=o.MAs(17),a=o.oxw();o.xp6(1),o.s9C("action",a.api.config.urls.changeLang,o.LSH),o.xp6(1),o.s9C("name",a.api.config.csrf_field),o.s9C("value",a.api.config.csrf),o.xp6(1),o.s9C("value",a.lang.id),o.xp6(3),o.Q6J("ngForOf",a.langs),o.xp6(3),o.Q6J("ngIf",a.api.user.isStaff),o.xp6(1),o.Q6J("ngIf",a.api.user.isStaff),o.xp6(8),o.Q6J("ngIf",a.api.user.isLogged),o.xp6(1),o.Q6J("matMenuTriggerFor",m),o.xp6(1),o.hij("",a.lang.name," "),o.xp6(9),o.Q6J("src",a.api.staticURL("modern/img/udsicon.png"),o.LSH),o.xp6(1),o.hij(" ",a.api.config.site_logo_name," "),o.xp6(13),o.Q6J("matMenuTriggerFor",m),o.xp6(1),o.hij("",a.lang.name," "),o.xp6(3),o.Q6J("ngIf",a.api.user.isLogged),o.xp6(2),o.Q6J("matMenuTriggerFor",d)}}let Jr=(()=>{class k{constructor(m){this.api=m,this.style="";const d=m.config.language;this.langs=[];for(const a of m.config.available_languages)a.id===d?this.lang=a:this.langs.push(a)}ngOnInit(){}changeLang(m){return this.lang=m,document.getElementById("id_language").attributes.value.value=m.id,document.getElementById("form_language").submit(),!1}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Ne.n))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["appMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["userMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["shrink","matMenu"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],["alt","Universal Desktop Services",1,"udsicon",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(m,d){1&m&&o.YNc(0,sn,52,16,"ng-container",0),2&m&&o.Q6J("ngIf",""==d.api.config.urls.launch)},directives:[Ae.O5,Pi._Y,Pi.JL,Pi.F,Jn,Ae.sg,tn,xe.P,Te.rH,un,y,or.lW],styles:[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]}),k})(),Zn=(()=>{class k{constructor(m){this.api=m}ngOnInit(){}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Ne.n))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(m,d){1&m&&(o.TgZ(0,"div")(1,"a",0),o._uU(2),o.qZA()()),2&m&&(o.xp6(1),o.Q6J("href",d.api.config.site_copyright_link,o.LSH),o.xp6(1),o.Oqu(d.api.config.site_copyright_info))},styles:[""]}),k})(),bo=(()=>{class k{constructor(m){this.api=m,this.title="UDS",this.blackTheme=!1}handleKeyboardEvent(m){m.altKey&&m.ctrlKey&&"b"===m.key&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}}return k.\u0275fac=function(m){return new(m||k)(o.Y36(Ne.n))},k.\u0275cmp=o.Xpm({type:k,selectors:[["uds-root"]],hostBindings:function(m,d){1&m&&o.NdJ("keydown",function(l){return d.handleKeyboardEvent(l)},!1,o.evT)},decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(m,d){1&m&&(o._UZ(0,"uds-navbar"),o.TgZ(1,"div",0)(2,"div",1),o._UZ(3,"router-outlet"),o.qZA(),o.TgZ(4,"div",2),o._UZ(5,"uds-footer"),o.qZA()())},directives:[Jr,Te.lC,Zn],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width: 744px){.content[_ngcontent-%COMP%]{width:100%}}"]}),k})();var br=C(5928);let Vi=(()=>{class k{}return k.\u0275fac=function(m){return new(m||k)},k.\u0275mod=o.oAB({type:k,bootstrap:[bo]}),k.\u0275inj=o.cJS({providers:[Ne.n,br.h],imports:[[c.b2,ke,pe.JF,ur,Pe.PW,Et]]}),k})();C(2340).N.production&&(0,o.G48)(),c.q6().bootstrapModule(Vi).catch(k=>console.log(k))},1135:(qe,ye,C)=>{C.d(ye,{X:()=>o});var c=C(7579);class o extends c.x{constructor(Y){super(),this._value=Y}get value(){return this.getValue()}_subscribe(Y){const ce=super._subscribe(Y);return!ce.closed&&Y.next(this._value),ce}getValue(){const{hasError:Y,thrownError:ce,_value:ie}=this;if(Y)throw ce;return this._throwIfClosed(),ie}next(Y){super.next(this._value=Y)}}},8306:(qe,ye,C)=>{C.d(ye,{y:()=>ee});var c=C(930),o=C(727),g=C(8822),Y=C(4671);var De=C(2416),Ce=C(576),ue=C(2806);let ee=(()=>{class le{constructor(Be){Be&&(this._subscribe=Be)}lift(Be){const Z=new le;return Z.source=this,Z.operator=Be,Z}subscribe(Be,Z,et){const Ye=function J(le){return le&&le instanceof c.Lv||function de(le){return le&&(0,Ce.m)(le.next)&&(0,Ce.m)(le.error)&&(0,Ce.m)(le.complete)}(le)&&(0,o.Nn)(le)}(Be)?Be:new c.Hp(Be,Z,et);return(0,ue.x)(()=>{const{operator:Qe,source:me}=this;Ye.add(Qe?Qe.call(Ye,me):me?this._subscribe(Ye):this._trySubscribe(Ye))}),Ye}_trySubscribe(Be){try{return this._subscribe(Be)}catch(Z){Be.error(Z)}}forEach(Be,Z){return new(Z=se(Z))((et,Ye)=>{const Qe=new c.Hp({next:me=>{try{Be(me)}catch(z){Ye(z),Qe.unsubscribe()}},error:Ye,complete:et});this.subscribe(Qe)})}_subscribe(Be){var Z;return null===(Z=this.source)||void 0===Z?void 0:Z.subscribe(Be)}[g.L](){return this}pipe(...Be){return function ie(le){return 0===le.length?Y.y:1===le.length?le[0]:function(Be){return le.reduce((Z,et)=>et(Z),Be)}}(Be)(this)}toPromise(Be){return new(Be=se(Be))((Z,et)=>{let Ye;this.subscribe(Qe=>Ye=Qe,Qe=>et(Qe),()=>Z(Ye))})}}return le.create=ke=>new le(ke),le})();function se(le){var ke;return null!==(ke=null!=le?le:De.v.Promise)&&void 0!==ke?ke:Promise}},7579:(qe,ye,C)=>{C.d(ye,{x:()=>De});var c=C(8306),o=C(727);const Y=(0,C(3888).d)(ue=>function(){ue(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=C(8737),ie=C(2806);let De=(()=>{class ue extends c.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(se){const de=new Ce(this,this);return de.operator=se,de}_throwIfClosed(){if(this.closed)throw new Y}next(se){(0,ie.x)(()=>{if(this._throwIfClosed(),!this.isStopped){const de=this.observers.slice();for(const J of de)J.next(se)}})}error(se){(0,ie.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=se;const{observers:de}=this;for(;de.length;)de.shift().error(se)}})}complete(){(0,ie.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:se}=this;for(;se.length;)se.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var se;return(null===(se=this.observers)||void 0===se?void 0:se.length)>0}_trySubscribe(se){return this._throwIfClosed(),super._trySubscribe(se)}_subscribe(se){return this._throwIfClosed(),this._checkFinalizedStatuses(se),this._innerSubscribe(se)}_innerSubscribe(se){const{hasError:de,isStopped:J,observers:le}=this;return de||J?o.Lc:(le.push(se),new o.w0(()=>(0,ce.P)(le,se)))}_checkFinalizedStatuses(se){const{hasError:de,thrownError:J,isStopped:le}=this;de?se.error(J):le&&se.complete()}asObservable(){const se=new c.y;return se.source=this,se}}return ue.create=(ee,se)=>new Ce(ee,se),ue})();class Ce extends De{constructor(ee,se){super(),this.destination=ee,this.source=se}next(ee){var se,de;null===(de=null===(se=this.destination)||void 0===se?void 0:se.next)||void 0===de||de.call(se,ee)}error(ee){var se,de;null===(de=null===(se=this.destination)||void 0===se?void 0:se.error)||void 0===de||de.call(se,ee)}complete(){var ee,se;null===(se=null===(ee=this.destination)||void 0===ee?void 0:ee.complete)||void 0===se||se.call(ee)}_subscribe(ee){var se,de;return null!==(de=null===(se=this.source)||void 0===se?void 0:se.subscribe(ee))&&void 0!==de?de:o.Lc}}},930:(qe,ye,C)=>{C.d(ye,{Hp:()=>Be,Lv:()=>de});var c=C(576),o=C(727),g=C(2416),Y=C(7849),ce=C(5032);const ie=ue("C",void 0,void 0);function ue(me,z,q){return{kind:me,value:z,error:q}}var ee=C(3410),se=C(2806);class de extends o.w0{constructor(z){super(),this.isStopped=!1,z?(this.destination=z,(0,o.Nn)(z)&&z.add(this)):this.destination=Qe}static create(z,q,pe){return new Be(z,q,pe)}next(z){this.isStopped?Ye(function Ce(me){return ue("N",me,void 0)}(z),this):this._next(z)}error(z){this.isStopped?Ye(function De(me){return ue("E",void 0,me)}(z),this):(this.isStopped=!0,this._error(z))}complete(){this.isStopped?Ye(ie,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(z){this.destination.next(z)}_error(z){try{this.destination.error(z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const J=Function.prototype.bind;function le(me,z){return J.call(me,z)}class ke{constructor(z){this.partialObserver=z}next(z){const{partialObserver:q}=this;if(q.next)try{q.next(z)}catch(pe){Z(pe)}}error(z){const{partialObserver:q}=this;if(q.error)try{q.error(z)}catch(pe){Z(pe)}else Z(z)}complete(){const{partialObserver:z}=this;if(z.complete)try{z.complete()}catch(q){Z(q)}}}class Be extends de{constructor(z,q,pe){let Te;if(super(),(0,c.m)(z)||!z)Te={next:null!=z?z:void 0,error:null!=q?q:void 0,complete:null!=pe?pe:void 0};else{let Ne;this&&g.v.useDeprecatedNextContext?(Ne=Object.create(z),Ne.unsubscribe=()=>this.unsubscribe(),Te={next:z.next&&le(z.next,Ne),error:z.error&&le(z.error,Ne),complete:z.complete&&le(z.complete,Ne)}):Te=z}this.destination=new ke(Te)}}function Z(me){g.v.useDeprecatedSynchronousErrorHandling?(0,se.O)(me):(0,Y.h)(me)}function Ye(me,z){const{onStoppedNotification:q}=g.v;q&&ee.z.setTimeout(()=>q(me,z))}const Qe={closed:!0,next:ce.Z,error:function et(me){throw me},complete:ce.Z}},727:(qe,ye,C)=>{C.d(ye,{Lc:()=>ie,w0:()=>ce,Nn:()=>De});var c=C(576);const g=(0,C(3888).d)(ue=>function(se){ue(this),this.message=se?`${se.length} errors occurred during unsubscription:\n${se.map((de,J)=>`${J+1}) ${de.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=se});var Y=C(8737);class ce{constructor(ee){this.initialTeardown=ee,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let ee;if(!this.closed){this.closed=!0;const{_parentage:se}=this;if(se)if(this._parentage=null,Array.isArray(se))for(const le of se)le.remove(this);else se.remove(this);const{initialTeardown:de}=this;if((0,c.m)(de))try{de()}catch(le){ee=le instanceof g?le.errors:[le]}const{_teardowns:J}=this;if(J){this._teardowns=null;for(const le of J)try{Ce(le)}catch(ke){ee=null!=ee?ee:[],ke instanceof g?ee=[...ee,...ke.errors]:ee.push(ke)}}if(ee)throw new g(ee)}}add(ee){var se;if(ee&&ee!==this)if(this.closed)Ce(ee);else{if(ee instanceof ce){if(ee.closed||ee._hasParent(this))return;ee._addParent(this)}(this._teardowns=null!==(se=this._teardowns)&&void 0!==se?se:[]).push(ee)}}_hasParent(ee){const{_parentage:se}=this;return se===ee||Array.isArray(se)&&se.includes(ee)}_addParent(ee){const{_parentage:se}=this;this._parentage=Array.isArray(se)?(se.push(ee),se):se?[se,ee]:ee}_removeParent(ee){const{_parentage:se}=this;se===ee?this._parentage=null:Array.isArray(se)&&(0,Y.P)(se,ee)}remove(ee){const{_teardowns:se}=this;se&&(0,Y.P)(se,ee),ee instanceof ce&&ee._removeParent(this)}}ce.EMPTY=(()=>{const ue=new ce;return ue.closed=!0,ue})();const ie=ce.EMPTY;function De(ue){return ue instanceof ce||ue&&"closed"in ue&&(0,c.m)(ue.remove)&&(0,c.m)(ue.add)&&(0,c.m)(ue.unsubscribe)}function Ce(ue){(0,c.m)(ue)?ue():ue.unsubscribe()}},2416:(qe,ye,C)=>{C.d(ye,{v:()=>c});const c={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(qe,ye,C)=>{C.d(ye,{a:()=>ee});var c=C(8306),o=C(4742),g=C(2076),Y=C(4671),ce=C(3268),ie=C(3269),De=C(1810),Ce=C(5403),ue=C(9672);function ee(...J){const le=(0,ie.yG)(J),ke=(0,ie.jO)(J),{args:Be,keys:Z}=(0,o.D)(J);if(0===Be.length)return(0,g.D)([],le);const et=new c.y(function se(J,le,ke=Y.y){return Be=>{de(le,()=>{const{length:Z}=J,et=new Array(Z);let Ye=Z,Qe=Z;for(let me=0;me{const z=(0,g.D)(J[me],le);let q=!1;z.subscribe((0,Ce.x)(Be,pe=>{et[me]=pe,q||(q=!0,Qe--),Qe||Be.next(ke(et.slice()))},()=>{--Ye||Be.complete()}))},Be)},Be)}}(Be,le,Z?Ye=>(0,De.n)(Z,Ye):Y.y));return ke?et.pipe((0,ce.Z)(ke)):et}function de(J,le,ke){J?(0,ue.f)(ke,J,le):le()}},7272:(qe,ye,C)=>{C.d(ye,{z:()=>ce});var c=C(8189),g=C(3269),Y=C(2076);function ce(...ie){return function o(){return(0,c.J)(1)}()((0,Y.D)(ie,(0,g.yG)(ie)))}},9770:(qe,ye,C)=>{C.d(ye,{P:()=>g});var c=C(8306),o=C(8421);function g(Y){return new c.y(ce=>{(0,o.Xf)(Y()).subscribe(ce)})}},515:(qe,ye,C)=>{C.d(ye,{E:()=>o});const o=new(C(8306).y)(ce=>ce.complete())},2076:(qe,ye,C)=>{C.d(ye,{D:()=>pe});var c=C(8421),o=C(9672),g=C(4482),Y=C(5403);function ce(Te,Ne=0){return(0,g.e)((ve,Me)=>{ve.subscribe((0,Y.x)(Me,xe=>(0,o.f)(Me,Te,()=>Me.next(xe),Ne),()=>(0,o.f)(Me,Te,()=>Me.complete(),Ne),xe=>(0,o.f)(Me,Te,()=>Me.error(xe),Ne)))})}function ie(Te,Ne=0){return(0,g.e)((ve,Me)=>{Me.add(Te.schedule(()=>ve.subscribe(Me),Ne))})}var ue=C(8306),se=C(2202),de=C(576);function le(Te,Ne){if(!Te)throw new Error("Iterable cannot be null");return new ue.y(ve=>{(0,o.f)(ve,Ne,()=>{const Me=Te[Symbol.asyncIterator]();(0,o.f)(ve,Ne,()=>{Me.next().then(xe=>{xe.done?ve.complete():ve.next(xe.value)})},0,!0)})})}var ke=C(3670),Be=C(8239),Z=C(1144),et=C(6495),Ye=C(2206),Qe=C(4532),me=C(3260);function pe(Te,Ne){return Ne?function q(Te,Ne){if(null!=Te){if((0,ke.c)(Te))return function De(Te,Ne){return(0,c.Xf)(Te).pipe(ie(Ne),ce(Ne))}(Te,Ne);if((0,Z.z)(Te))return function ee(Te,Ne){return new ue.y(ve=>{let Me=0;return Ne.schedule(function(){Me===Te.length?ve.complete():(ve.next(Te[Me++]),ve.closed||this.schedule())})})}(Te,Ne);if((0,Be.t)(Te))return function Ce(Te,Ne){return(0,c.Xf)(Te).pipe(ie(Ne),ce(Ne))}(Te,Ne);if((0,Ye.D)(Te))return le(Te,Ne);if((0,et.T)(Te))return function J(Te,Ne){return new ue.y(ve=>{let Me;return(0,o.f)(ve,Ne,()=>{Me=Te[se.h](),(0,o.f)(ve,Ne,()=>{let xe,Ae;try{({value:xe,done:Ae}=Me.next())}catch(tt){return void ve.error(tt)}Ae?ve.complete():ve.next(xe)},0,!0)}),()=>(0,de.m)(null==Me?void 0:Me.return)&&Me.return()})}(Te,Ne);if((0,me.L)(Te))return function z(Te,Ne){return le((0,me.Q)(Te),Ne)}(Te,Ne)}throw(0,Qe.z)(Te)}(Te,Ne):(0,c.Xf)(Te)}},4968:(qe,ye,C)=>{C.d(ye,{R:()=>ee});var c=C(8421),o=C(8306),g=C(5577),Y=C(1144),ce=C(576),ie=C(3268);const De=["addListener","removeListener"],Ce=["addEventListener","removeEventListener"],ue=["on","off"];function ee(ke,Be,Z,et){if((0,ce.m)(Z)&&(et=Z,Z=void 0),et)return ee(ke,Be,Z).pipe((0,ie.Z)(et));const[Ye,Qe]=function le(ke){return(0,ce.m)(ke.addEventListener)&&(0,ce.m)(ke.removeEventListener)}(ke)?Ce.map(me=>z=>ke[me](Be,z,Z)):function de(ke){return(0,ce.m)(ke.addListener)&&(0,ce.m)(ke.removeListener)}(ke)?De.map(se(ke,Be)):function J(ke){return(0,ce.m)(ke.on)&&(0,ce.m)(ke.off)}(ke)?ue.map(se(ke,Be)):[];if(!Ye&&(0,Y.z)(ke))return(0,g.z)(me=>ee(me,Be,Z))((0,c.Xf)(ke));if(!Ye)throw new TypeError("Invalid event target");return new o.y(me=>{const z=(...q)=>me.next(1Qe(z)})}function se(ke,Be){return Z=>et=>ke[Z](Be,et)}},8421:(qe,ye,C)=>{C.d(ye,{Xf:()=>J});var c=C(655),o=C(1144),g=C(8239),Y=C(8306),ce=C(3670),ie=C(2206),De=C(4532),Ce=C(6495),ue=C(3260),ee=C(576),se=C(7849),de=C(8822);function J(me){if(me instanceof Y.y)return me;if(null!=me){if((0,ce.c)(me))return function le(me){return new Y.y(z=>{const q=me[de.L]();if((0,ee.m)(q.subscribe))return q.subscribe(z);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(me);if((0,o.z)(me))return function ke(me){return new Y.y(z=>{for(let q=0;q{me.then(q=>{z.closed||(z.next(q),z.complete())},q=>z.error(q)).then(null,se.h)})}(me);if((0,ie.D)(me))return et(me);if((0,Ce.T)(me))return function Z(me){return new Y.y(z=>{for(const q of me)if(z.next(q),z.closed)return;z.complete()})}(me);if((0,ue.L)(me))return function Ye(me){return et((0,ue.Q)(me))}(me)}throw(0,De.z)(me)}function et(me){return new Y.y(z=>{(function Qe(me,z){var q,pe,Te,Ne;return(0,c.mG)(this,void 0,void 0,function*(){try{for(q=(0,c.KL)(me);!(pe=yield q.next()).done;)if(z.next(pe.value),z.closed)return}catch(ve){Te={error:ve}}finally{try{pe&&!pe.done&&(Ne=q.return)&&(yield Ne.call(q))}finally{if(Te)throw Te.error}}z.complete()})})(me,z).catch(q=>z.error(q))})}},6451:(qe,ye,C)=>{C.d(ye,{T:()=>ie});var c=C(8189),o=C(8421),g=C(515),Y=C(3269),ce=C(2076);function ie(...De){const Ce=(0,Y.yG)(De),ue=(0,Y._6)(De,1/0),ee=De;return ee.length?1===ee.length?(0,o.Xf)(ee[0]):(0,c.J)(ue)((0,ce.D)(ee,Ce)):g.E}},9646:(qe,ye,C)=>{C.d(ye,{of:()=>g});var c=C(3269),o=C(2076);function g(...Y){const ce=(0,c.yG)(Y);return(0,o.D)(Y,ce)}},5963:(qe,ye,C)=>{C.d(ye,{H:()=>ce});var c=C(8306),o=C(4986),g=C(3532);function ce(ie=0,De,Ce=o.P){let ue=-1;return null!=De&&((0,g.K)(De)?Ce=De:ue=De),new c.y(ee=>{let se=function Y(ie){return ie instanceof Date&&!isNaN(ie)}(ie)?+ie-Ce.now():ie;se<0&&(se=0);let de=0;return Ce.schedule(function(){ee.closed||(ee.next(de++),0<=ue?this.schedule(void 0,ue):ee.complete())},se)})}},5403:(qe,ye,C)=>{C.d(ye,{x:()=>o});var c=C(930);function o(Y,ce,ie,De,Ce){return new g(Y,ce,ie,De,Ce)}class g extends c.Lv{constructor(ce,ie,De,Ce,ue,ee){super(ce),this.onFinalize=ue,this.shouldUnsubscribe=ee,this._next=ie?function(se){try{ie(se)}catch(de){ce.error(de)}}:super._next,this._error=Ce?function(se){try{Ce(se)}catch(de){ce.error(de)}finally{this.unsubscribe()}}:super._error,this._complete=De?function(){try{De()}catch(se){ce.error(se)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ce;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ie}=this;super.unsubscribe(),!ie&&(null===(ce=this.onFinalize)||void 0===ce||ce.call(this))}}}},4351:(qe,ye,C)=>{C.d(ye,{b:()=>g});var c=C(5577),o=C(576);function g(Y,ce){return(0,o.m)(ce)?(0,c.z)(Y,ce,1):(0,c.z)(Y,1)}},8372:(qe,ye,C)=>{C.d(ye,{b:()=>Y});var c=C(4986),o=C(4482),g=C(5403);function Y(ce,ie=c.z){return(0,o.e)((De,Ce)=>{let ue=null,ee=null,se=null;const de=()=>{if(ue){ue.unsubscribe(),ue=null;const le=ee;ee=null,Ce.next(le)}};function J(){const le=se+ce,ke=ie.now();if(ke{ee=le,se=ie.now(),ue||(ue=ie.schedule(J,ce),Ce.add(ue))},()=>{de(),Ce.complete()},void 0,()=>{ee=ue=null}))})}},1884:(qe,ye,C)=>{C.d(ye,{x:()=>Y});var c=C(4671),o=C(4482),g=C(5403);function Y(ie,De=c.y){return ie=null!=ie?ie:ce,(0,o.e)((Ce,ue)=>{let ee,se=!0;Ce.subscribe((0,g.x)(ue,de=>{const J=De(de);(se||!ie(ee,J))&&(se=!1,ee=J,ue.next(de))}))})}function ce(ie,De){return ie===De}},9300:(qe,ye,C)=>{C.d(ye,{h:()=>g});var c=C(4482),o=C(5403);function g(Y,ce){return(0,c.e)((ie,De)=>{let Ce=0;ie.subscribe((0,o.x)(De,ue=>Y.call(ce,ue,Ce++)&&De.next(ue)))})}},4004:(qe,ye,C)=>{C.d(ye,{U:()=>g});var c=C(4482),o=C(5403);function g(Y,ce){return(0,c.e)((ie,De)=>{let Ce=0;ie.subscribe((0,o.x)(De,ue=>{De.next(Y.call(ce,ue,Ce++))}))})}},8189:(qe,ye,C)=>{C.d(ye,{J:()=>g});var c=C(5577),o=C(4671);function g(Y=1/0){return(0,c.z)(o.y,Y)}},5577:(qe,ye,C)=>{C.d(ye,{z:()=>Ce});var c=C(4004),o=C(8421),g=C(4482),Y=C(9672),ce=C(5403),De=C(576);function Ce(ue,ee,se=1/0){return(0,De.m)(ee)?Ce((de,J)=>(0,c.U)((le,ke)=>ee(de,le,J,ke))((0,o.Xf)(ue(de,J))),se):("number"==typeof ee&&(se=ee),(0,g.e)((de,J)=>function ie(ue,ee,se,de,J,le,ke,Be){const Z=[];let et=0,Ye=0,Qe=!1;const me=()=>{Qe&&!Z.length&&!et&&ee.complete()},z=pe=>et{le&&ee.next(pe),et++;let Te=!1;(0,o.Xf)(se(pe,Ye++)).subscribe((0,ce.x)(ee,Ne=>{null==J||J(Ne),le?z(Ne):ee.next(Ne)},()=>{Te=!0},void 0,()=>{if(Te)try{for(et--;Z.length&&etq(Ne)):q(Ne)}me()}catch(Ne){ee.error(Ne)}}))};return ue.subscribe((0,ce.x)(ee,z,()=>{Qe=!0,me()})),()=>{null==Be||Be()}}(de,J,ue,se)))}},5684:(qe,ye,C)=>{C.d(ye,{T:()=>o});var c=C(9300);function o(g){return(0,c.h)((Y,ce)=>g<=ce)}},8675:(qe,ye,C)=>{C.d(ye,{O:()=>Y});var c=C(7272),o=C(3269),g=C(4482);function Y(...ce){const ie=(0,o.yG)(ce);return(0,g.e)((De,Ce)=>{(ie?(0,c.z)(ce,De,ie):(0,c.z)(ce,De)).subscribe(Ce)})}},3900:(qe,ye,C)=>{C.d(ye,{w:()=>Y});var c=C(8421),o=C(4482),g=C(5403);function Y(ce,ie){return(0,o.e)((De,Ce)=>{let ue=null,ee=0,se=!1;const de=()=>se&&!ue&&Ce.complete();De.subscribe((0,g.x)(Ce,J=>{null==ue||ue.unsubscribe();let le=0;const ke=ee++;(0,c.Xf)(ce(J,ke)).subscribe(ue=(0,g.x)(Ce,Be=>Ce.next(ie?ie(J,Be,ke,le++):Be),()=>{ue=null,de()}))},()=>{se=!0,de()}))})}},5698:(qe,ye,C)=>{C.d(ye,{q:()=>Y});var c=C(515),o=C(4482),g=C(5403);function Y(ce){return ce<=0?()=>c.E:(0,o.e)((ie,De)=>{let Ce=0;ie.subscribe((0,g.x)(De,ue=>{++Ce<=ce&&(De.next(ue),ce<=Ce&&De.complete())}))})}},2722:(qe,ye,C)=>{C.d(ye,{R:()=>ce});var c=C(4482),o=C(5403),g=C(8421),Y=C(5032);function ce(ie){return(0,c.e)((De,Ce)=>{(0,g.Xf)(ie).subscribe((0,o.x)(Ce,()=>Ce.complete(),Y.Z)),!Ce.closed&&De.subscribe(Ce)})}},8505:(qe,ye,C)=>{C.d(ye,{b:()=>ce});var c=C(576),o=C(4482),g=C(5403),Y=C(4671);function ce(ie,De,Ce){const ue=(0,c.m)(ie)||De||Ce?{next:ie,error:De,complete:Ce}:ie;return ue?(0,o.e)((ee,se)=>{var de;null===(de=ue.subscribe)||void 0===de||de.call(ue);let J=!0;ee.subscribe((0,g.x)(se,le=>{var ke;null===(ke=ue.next)||void 0===ke||ke.call(ue,le),se.next(le)},()=>{var le;J=!1,null===(le=ue.complete)||void 0===le||le.call(ue),se.complete()},le=>{var ke;J=!1,null===(ke=ue.error)||void 0===ke||ke.call(ue,le),se.error(le)},()=>{var le,ke;J&&(null===(le=ue.unsubscribe)||void 0===le||le.call(ue)),null===(ke=ue.finalize)||void 0===ke||ke.call(ue)}))}):Y.y}},4408:(qe,ye,C)=>{C.d(ye,{o:()=>ce});var c=C(727);class o extends c.w0{constructor(De,Ce){super()}schedule(De,Ce=0){return this}}const g={setInterval(...ie){const{delegate:De}=g;return((null==De?void 0:De.setInterval)||setInterval)(...ie)},clearInterval(ie){const{delegate:De}=g;return((null==De?void 0:De.clearInterval)||clearInterval)(ie)},delegate:void 0};var Y=C(8737);class ce extends o{constructor(De,Ce){super(De,Ce),this.scheduler=De,this.work=Ce,this.pending=!1}schedule(De,Ce=0){if(this.closed)return this;this.state=De;const ue=this.id,ee=this.scheduler;return null!=ue&&(this.id=this.recycleAsyncId(ee,ue,Ce)),this.pending=!0,this.delay=Ce,this.id=this.id||this.requestAsyncId(ee,this.id,Ce),this}requestAsyncId(De,Ce,ue=0){return g.setInterval(De.flush.bind(De,this),ue)}recycleAsyncId(De,Ce,ue=0){if(null!=ue&&this.delay===ue&&!1===this.pending)return Ce;g.clearInterval(Ce)}execute(De,Ce){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ue=this._execute(De,Ce);if(ue)return ue;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(De,Ce){let ee,ue=!1;try{this.work(De)}catch(se){ue=!0,ee=se||new Error("Scheduled action threw falsy error")}if(ue)return this.unsubscribe(),ee}unsubscribe(){if(!this.closed){const{id:De,scheduler:Ce}=this,{actions:ue}=Ce;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Y.P)(ue,this),null!=De&&(this.id=this.recycleAsyncId(Ce,De,null)),this.delay=null,super.unsubscribe()}}}},640:(qe,ye,C)=>{C.d(ye,{v:()=>g});const c={now:()=>(c.delegate||Date).now(),delegate:void 0};class o{constructor(ce,ie=o.now){this.schedulerActionCtor=ce,this.now=ie}schedule(ce,ie=0,De){return new this.schedulerActionCtor(this,ce).schedule(De,ie)}}o.now=c.now;class g extends o{constructor(ce,ie=o.now){super(ce,ie),this.actions=[],this._active=!1,this._scheduled=void 0}flush(ce){const{actions:ie}=this;if(this._active)return void ie.push(ce);let De;this._active=!0;do{if(De=ce.execute(ce.state,ce.delay))break}while(ce=ie.shift());if(this._active=!1,De){for(;ce=ie.shift();)ce.unsubscribe();throw De}}}},3101:(qe,ye,C)=>{C.d(ye,{E:()=>le});var c=C(4408);let g,o=1;const Y={};function ce(Be){return Be in Y&&(delete Y[Be],!0)}const ie={setImmediate(Be){const Z=o++;return Y[Z]=!0,g||(g=Promise.resolve()),g.then(()=>ce(Z)&&Be()),Z},clearImmediate(Be){ce(Be)}},{setImmediate:Ce,clearImmediate:ue}=ie,ee={setImmediate(...Be){const{delegate:Z}=ee;return((null==Z?void 0:Z.setImmediate)||Ce)(...Be)},clearImmediate(Be){const{delegate:Z}=ee;return((null==Z?void 0:Z.clearImmediate)||ue)(Be)},delegate:void 0};var de=C(640);const le=new class J extends de.v{flush(Z){this._active=!0;const et=this._scheduled;this._scheduled=void 0;const{actions:Ye}=this;let Qe;Z=Z||Ye.shift();do{if(Qe=Z.execute(Z.state,Z.delay))break}while((Z=Ye[0])&&Z.id===et&&Ye.shift());if(this._active=!1,Qe){for(;(Z=Ye[0])&&Z.id===et&&Ye.shift();)Z.unsubscribe();throw Qe}}}(class se extends c.o{constructor(Z,et){super(Z,et),this.scheduler=Z,this.work=et}requestAsyncId(Z,et,Ye=0){return null!==Ye&&Ye>0?super.requestAsyncId(Z,et,Ye):(Z.actions.push(this),Z._scheduled||(Z._scheduled=ee.setImmediate(Z.flush.bind(Z,void 0))))}recycleAsyncId(Z,et,Ye=0){if(null!=Ye&&Ye>0||null==Ye&&this.delay>0)return super.recycleAsyncId(Z,et,Ye);Z.actions.some(Qe=>Qe.id===et)||(ee.clearImmediate(et),Z._scheduled=void 0)}})},4986:(qe,ye,C)=>{C.d(ye,{z:()=>g,P:()=>Y});var c=C(4408);const g=new(C(640).v)(c.o),Y=g},3410:(qe,ye,C)=>{C.d(ye,{z:()=>c});const c={setTimeout(...o){const{delegate:g}=c;return((null==g?void 0:g.setTimeout)||setTimeout)(...o)},clearTimeout(o){const{delegate:g}=c;return((null==g?void 0:g.clearTimeout)||clearTimeout)(o)},delegate:void 0}},2202:(qe,ye,C)=>{C.d(ye,{h:()=>o});const o=function c(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(qe,ye,C)=>{C.d(ye,{L:()=>c});const c="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(qe,ye,C)=>{C.d(ye,{jO:()=>Y,yG:()=>ce,_6:()=>ie});var c=C(576),o=C(3532);function g(De){return De[De.length-1]}function Y(De){return(0,c.m)(g(De))?De.pop():void 0}function ce(De){return(0,o.K)(g(De))?De.pop():void 0}function ie(De,Ce){return"number"==typeof g(De)?De.pop():Ce}},4742:(qe,ye,C)=>{C.d(ye,{D:()=>ce});const{isArray:c}=Array,{getPrototypeOf:o,prototype:g,keys:Y}=Object;function ce(De){if(1===De.length){const Ce=De[0];if(c(Ce))return{args:Ce,keys:null};if(function ie(De){return De&&"object"==typeof De&&o(De)===g}(Ce)){const ue=Y(Ce);return{args:ue.map(ee=>Ce[ee]),keys:ue}}}return{args:De,keys:null}}},8737:(qe,ye,C)=>{function c(o,g){if(o){const Y=o.indexOf(g);0<=Y&&o.splice(Y,1)}}C.d(ye,{P:()=>c})},3888:(qe,ye,C)=>{function c(o){const Y=o(ce=>{Error.call(ce),ce.stack=(new Error).stack});return Y.prototype=Object.create(Error.prototype),Y.prototype.constructor=Y,Y}C.d(ye,{d:()=>c})},1810:(qe,ye,C)=>{function c(o,g){return o.reduce((Y,ce,ie)=>(Y[ce]=g[ie],Y),{})}C.d(ye,{n:()=>c})},2806:(qe,ye,C)=>{C.d(ye,{x:()=>g,O:()=>Y});var c=C(2416);let o=null;function g(ce){if(c.v.useDeprecatedSynchronousErrorHandling){const ie=!o;if(ie&&(o={errorThrown:!1,error:null}),ce(),ie){const{errorThrown:De,error:Ce}=o;if(o=null,De)throw Ce}}else ce()}function Y(ce){c.v.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=ce)}},9672:(qe,ye,C)=>{function c(o,g,Y,ce=0,ie=!1){const De=g.schedule(function(){Y(),ie?o.add(this.schedule(null,ce)):this.unsubscribe()},ce);if(o.add(De),!ie)return De}C.d(ye,{f:()=>c})},4671:(qe,ye,C)=>{function c(o){return o}C.d(ye,{y:()=>c})},1144:(qe,ye,C)=>{C.d(ye,{z:()=>c});const c=o=>o&&"number"==typeof o.length&&"function"!=typeof o},2206:(qe,ye,C)=>{C.d(ye,{D:()=>o});var c=C(576);function o(g){return Symbol.asyncIterator&&(0,c.m)(null==g?void 0:g[Symbol.asyncIterator])}},576:(qe,ye,C)=>{function c(o){return"function"==typeof o}C.d(ye,{m:()=>c})},3670:(qe,ye,C)=>{C.d(ye,{c:()=>g});var c=C(8822),o=C(576);function g(Y){return(0,o.m)(Y[c.L])}},6495:(qe,ye,C)=>{C.d(ye,{T:()=>g});var c=C(2202),o=C(576);function g(Y){return(0,o.m)(null==Y?void 0:Y[c.h])}},8239:(qe,ye,C)=>{C.d(ye,{t:()=>o});var c=C(576);function o(g){return(0,c.m)(null==g?void 0:g.then)}},3260:(qe,ye,C)=>{C.d(ye,{Q:()=>g,L:()=>Y});var c=C(655),o=C(576);function g(ce){return(0,c.FC)(this,arguments,function*(){const De=ce.getReader();try{for(;;){const{value:Ce,done:ue}=yield(0,c.qq)(De.read());if(ue)return yield(0,c.qq)(void 0);yield yield(0,c.qq)(Ce)}}finally{De.releaseLock()}})}function Y(ce){return(0,o.m)(null==ce?void 0:ce.getReader)}},3532:(qe,ye,C)=>{C.d(ye,{K:()=>o});var c=C(576);function o(g){return g&&(0,c.m)(g.schedule)}},4482:(qe,ye,C)=>{C.d(ye,{A:()=>o,e:()=>g});var c=C(576);function o(Y){return(0,c.m)(null==Y?void 0:Y.lift)}function g(Y){return ce=>{if(o(ce))return ce.lift(function(ie){try{return Y(ie,this)}catch(De){this.error(De)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(qe,ye,C)=>{C.d(ye,{Z:()=>Y});var c=C(4004);const{isArray:o}=Array;function Y(ce){return(0,c.U)(ie=>function g(ce,ie){return o(ie)?ce(...ie):ce(ie)}(ce,ie))}},5032:(qe,ye,C)=>{function c(){}C.d(ye,{Z:()=>c})},7849:(qe,ye,C)=>{C.d(ye,{h:()=>g});var c=C(2416),o=C(3410);function g(Y){o.z.setTimeout(()=>{const{onUnhandledError:ce}=c.v;if(!ce)throw Y;ce(Y)})}},4532:(qe,ye,C)=>{function c(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}C.d(ye,{z:()=>c})},655:(qe,ye,C)=>{function Ce(ve,Me,xe,Ae){return new(xe||(xe=Promise))(function(Fe,Ct){function mt(Rt){try{yt(Ae.next(Rt))}catch(Wt){Ct(Wt)}}function Jt(Rt){try{yt(Ae.throw(Rt))}catch(Wt){Ct(Wt)}}function yt(Rt){Rt.done?Fe(Rt.value):function tt(Fe){return Fe instanceof xe?Fe:new xe(function(Ct){Ct(Fe)})}(Rt.value).then(mt,Jt)}yt((Ae=Ae.apply(ve,Me||[])).next())})}function Z(ve){return this instanceof Z?(this.v=ve,this):new Z(ve)}function et(ve,Me,xe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var tt,Ae=xe.apply(ve,Me||[]),Fe=[];return tt={},Ct("next"),Ct("throw"),Ct("return"),tt[Symbol.asyncIterator]=function(){return this},tt;function Ct(Pt){Ae[Pt]&&(tt[Pt]=function(mn){return new Promise(function(Ut,xt){Fe.push([Pt,mn,Ut,xt])>1||mt(Pt,mn)})})}function mt(Pt,mn){try{!function Jt(Pt){Pt.value instanceof Z?Promise.resolve(Pt.value.v).then(yt,Rt):Wt(Fe[0][2],Pt)}(Ae[Pt](mn))}catch(Ut){Wt(Fe[0][3],Ut)}}function yt(Pt){mt("next",Pt)}function Rt(Pt){mt("throw",Pt)}function Wt(Pt,mn){Pt(mn),Fe.shift(),Fe.length&&mt(Fe[0][0],Fe[0][1])}}function Qe(ve){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var xe,Me=ve[Symbol.asyncIterator];return Me?Me.call(ve):(ve=function de(ve){var Me="function"==typeof Symbol&&Symbol.iterator,xe=Me&&ve[Me],Ae=0;if(xe)return xe.call(ve);if(ve&&"number"==typeof ve.length)return{next:function(){return ve&&Ae>=ve.length&&(ve=void 0),{value:ve&&ve[Ae++],done:!ve}}};throw new TypeError(Me?"Object is not iterable.":"Symbol.iterator is not defined.")}(ve),xe={},Ae("next"),Ae("throw"),Ae("return"),xe[Symbol.asyncIterator]=function(){return this},xe);function Ae(Fe){xe[Fe]=ve[Fe]&&function(Ct){return new Promise(function(mt,Jt){!function tt(Fe,Ct,mt,Jt){Promise.resolve(Jt).then(function(yt){Fe({value:yt,done:mt})},Ct)}(mt,Jt,(Ct=ve[Fe](Ct)).done,Ct.value)})}}}C.d(ye,{mG:()=>Ce,qq:()=>Z,FC:()=>et,KL:()=>Qe})},1777:(qe,ye,C)=>{C.d(ye,{l3:()=>g,_j:()=>c,LC:()=>o,ZN:()=>et,jt:()=>ce,pV:()=>J,F4:()=>ee,IO:()=>ke,vP:()=>De,SB:()=>ue,oB:()=>Ce,eR:()=>se,X$:()=>Y,ZE:()=>Ye,k1:()=>Qe});class c{}class o{}const g="*";function Y(me,z){return{type:7,name:me,definitions:z,options:{}}}function ce(me,z=null){return{type:4,styles:z,timings:me}}function De(me,z=null){return{type:2,steps:me,options:z}}function Ce(me){return{type:6,styles:me,offset:null}}function ue(me,z,q){return{type:0,name:me,styles:z,options:q}}function ee(me){return{type:5,steps:me}}function se(me,z,q=null){return{type:1,expr:me,animation:z,options:q}}function J(me=null){return{type:9,options:me}}function ke(me,z,q=null){return{type:11,selector:me,animation:z,options:q}}function Z(me){Promise.resolve(null).then(me)}class et{constructor(z=0,q=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=z+q}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}onStart(z){this._onStartFns.push(z)}onDone(z){this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Z(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(z=>z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(z){this._position=this.totalTime?z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(z){const q="start"==z?this._onStartFns:this._onDoneFns;q.forEach(pe=>pe()),q.length=0}}class Ye{constructor(z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=z;let q=0,pe=0,Te=0;const Ne=this.players.length;0==Ne?Z(()=>this._onFinish()):this.players.forEach(ve=>{ve.onDone(()=>{++q==Ne&&this._onFinish()}),ve.onDestroy(()=>{++pe==Ne&&this._onDestroy()}),ve.onStart(()=>{++Te==Ne&&this._onStart()})}),this.totalTime=this.players.reduce((ve,Me)=>Math.max(ve,Me.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}init(){this.players.forEach(z=>z.init())}onStart(z){this._onStartFns.push(z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(z=>z()),this._onStartFns=[])}onDone(z){this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(z=>z.play())}pause(){this.players.forEach(z=>z.pause())}restart(){this.players.forEach(z=>z.restart())}finish(){this._onFinish(),this.players.forEach(z=>z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(z=>z.destroy()),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}reset(){this.players.forEach(z=>z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(z){const q=z*this.totalTime;this.players.forEach(pe=>{const Te=pe.totalTime?Math.min(1,q/pe.totalTime):1;pe.setPosition(Te)})}getPosition(){const z=this.players.reduce((q,pe)=>null===q||pe.totalTime>q.totalTime?pe:q,null);return null!=z?z.getPosition():0}beforeDestroy(){this.players.forEach(z=>{z.beforeDestroy&&z.beforeDestroy()})}triggerCallback(z){const q="start"==z?this._onStartFns:this._onDoneFns;q.forEach(pe=>pe()),q.length=0}}const Qe="!"},9950:(qe,ye,C)=>{C.d(ye,{rt:()=>we,s1:()=>tt,$s:()=>ve,Em:()=>Fe,tE:()=>nn,qV:()=>He,qm:()=>Le,ic:()=>mt,Kd:()=>ze,X6:()=>at,yG:()=>Pe});var c=C(9808),o=C(4893),g=C(925),Y=C(7579),ce=C(727),ie=C(1135),De=C(9646),Ce=C(1159),ue=C(8505),ee=C(8372),se=C(9300),de=C(4004),J=C(5698),le=C(5684),ke=C(1884),Be=C(2722),Z=C(3191),et=C(7144);function z(V,j){return(V.getAttribute(j)||"").match(/\S+/g)||[]}const pe="cdk-describedby-message",Te="cdk-describedby-host";let Ne=0,ve=(()=>{class V{constructor($,he){this._platform=he,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ne++,this._document=$}describe($,he,Se){if(!this._canBeDescribed($,he))return;const st=Me(he,Se);"string"!=typeof he?(xe(he),this._messageRegistry.set(st,{messageElement:he,referenceCount:0})):this._messageRegistry.has(st)||this._createMessageElement(he,Se),this._isElementDescribedByMessage($,st)||this._addMessageReference($,st)}removeDescription($,he,Se){var st;if(!he||!this._isElementNode($))return;const At=Me(he,Se);if(this._isElementDescribedByMessage($,At)&&this._removeMessageReference($,At),"string"==typeof he){const Zt=this._messageRegistry.get(At);Zt&&0===Zt.referenceCount&&this._deleteMessageElement(At)}0===(null===(st=this._messagesContainer)||void 0===st?void 0:st.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var $;const he=this._document.querySelectorAll(`[${Te}="${this._id}"]`);for(let Se=0;Se0!=Se.indexOf(pe));$.setAttribute("aria-describedby",he.join(" "))}_addMessageReference($,he){const Se=this._messageRegistry.get(he);(function Qe(V,j,$){const he=z(V,j);he.some(Se=>Se.trim()==$.trim())||(he.push($.trim()),V.setAttribute(j,he.join(" ")))})($,"aria-describedby",Se.messageElement.id),$.setAttribute(Te,this._id),Se.referenceCount++}_removeMessageReference($,he){const Se=this._messageRegistry.get(he);Se.referenceCount--,function me(V,j,$){const Se=z(V,j).filter(st=>st!=$.trim());Se.length?V.setAttribute(j,Se.join(" ")):V.removeAttribute(j)}($,"aria-describedby",Se.messageElement.id),$.removeAttribute(Te)}_isElementDescribedByMessage($,he){const Se=z($,"aria-describedby"),st=this._messageRegistry.get(he),At=st&&st.messageElement.id;return!!At&&-1!=Se.indexOf(At)}_canBeDescribed($,he){if(!this._isElementNode($))return!1;if(he&&"object"==typeof he)return!0;const Se=null==he?"":`${he}`.trim(),st=$.getAttribute("aria-label");return!(!Se||st&&st.trim()===Se)}_isElementNode($){return $.nodeType===this._document.ELEMENT_NODE}}return V.\u0275fac=function($){return new($||V)(o.LFG(c.K0),o.LFG(g.t4))},V.\u0275prov=o.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();function Me(V,j){return"string"==typeof V?`${j||""}/${V}`:V}function xe(V){V.id||(V.id=`${pe}-${Ne++}`)}class Ae{constructor(j){this._items=j,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Y.x,this._typeaheadSubscription=ce.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=$=>$.disabled,this._pressedLetters=[],this.tabOut=new Y.x,this.change=new Y.x,j instanceof o.n_E&&j.changes.subscribe($=>{if(this._activeItem){const Se=$.toArray().indexOf(this._activeItem);Se>-1&&Se!==this._activeItemIndex&&(this._activeItemIndex=Se)}})}skipPredicate(j){return this._skipPredicateFn=j,this}withWrap(j=!0){return this._wrap=j,this}withVerticalOrientation(j=!0){return this._vertical=j,this}withHorizontalOrientation(j){return this._horizontal=j,this}withAllowedModifierKeys(j){return this._allowedModifierKeys=j,this}withTypeAhead(j=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ue.b)($=>this._pressedLetters.push($)),(0,ee.b)(j),(0,se.h)(()=>this._pressedLetters.length>0),(0,de.U)(()=>this._pressedLetters.join(""))).subscribe($=>{const he=this._getItemsArray();for(let Se=1;Se!j[st]||this._allowedModifierKeys.indexOf(st)>-1);switch($){case Ce.Mf:return void this.tabOut.next();case Ce.JH:if(this._vertical&&Se){this.setNextItemActive();break}return;case Ce.LH:if(this._vertical&&Se){this.setPreviousItemActive();break}return;case Ce.SV:if(this._horizontal&&Se){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Ce.oh:if(this._horizontal&&Se){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case Ce.Sd:if(this._homeAndEnd&&Se){this.setFirstItemActive();break}return;case Ce.uR:if(this._homeAndEnd&&Se){this.setLastItemActive();break}return;default:return void((Se||(0,Ce.Vb)(j,"shiftKey"))&&(j.key&&1===j.key.length?this._letterKeyStream.next(j.key.toLocaleUpperCase()):($>=Ce.A&&$<=Ce.Z||$>=Ce.xE&&$<=Ce.aO)&&this._letterKeyStream.next(String.fromCharCode($))))}this._pressedLetters=[],j.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(j){const $=this._getItemsArray(),he="number"==typeof j?j:$.indexOf(j),Se=$[he];this._activeItem=null==Se?null:Se,this._activeItemIndex=he}_setActiveItemByDelta(j){this._wrap?this._setActiveInWrapMode(j):this._setActiveInDefaultMode(j)}_setActiveInWrapMode(j){const $=this._getItemsArray();for(let he=1;he<=$.length;he++){const Se=(this._activeItemIndex+j*he+$.length)%$.length;if(!this._skipPredicateFn($[Se]))return void this.setActiveItem(Se)}}_setActiveInDefaultMode(j){this._setActiveItemByIndex(this._activeItemIndex+j,j)}_setActiveItemByIndex(j,$){const he=this._getItemsArray();if(he[j]){for(;this._skipPredicateFn(he[j]);)if(!he[j+=$])return;this.setActiveItem(j)}}_getItemsArray(){return this._items instanceof o.n_E?this._items.toArray():this._items}}class tt extends Ae{setActiveItem(j){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(j),this.activeItem&&this.activeItem.setActiveStyles()}}class Fe extends Ae{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(j){return this._origin=j,this}setActiveItem(j){super.setActiveItem(j),this.activeItem&&this.activeItem.focus(this._origin)}}let mt=(()=>{class V{constructor($){this._platform=$}isDisabled($){return $.hasAttribute("disabled")}isVisible($){return function yt(V){return!!(V.offsetWidth||V.offsetHeight||"function"==typeof V.getClientRects&&V.getClientRects().length)}($)&&"visible"===getComputedStyle($).visibility}isTabbable($){if(!this._platform.isBrowser)return!1;const he=function Jt(V){try{return V.frameElement}catch(j){return null}}(function Q(V){return V.ownerDocument&&V.ownerDocument.defaultView||window}($));if(he&&(-1===on(he)||!this.isVisible(he)))return!1;let Se=$.nodeName.toLowerCase(),st=on($);return $.hasAttribute("contenteditable")?-1!==st:!("iframe"===Se||"object"===Se||this._platform.WEBKIT&&this._platform.IOS&&!function Xe(V){let j=V.nodeName.toLowerCase(),$="input"===j&&V.type;return"text"===$||"password"===$||"select"===j||"textarea"===j}($))&&("audio"===Se?!!$.hasAttribute("controls")&&-1!==st:"video"===Se?-1!==st&&(null!==st||this._platform.FIREFOX||$.hasAttribute("controls")):$.tabIndex>=0)}isFocusable($,he){return function je(V){return!function Wt(V){return function mn(V){return"input"==V.nodeName.toLowerCase()}(V)&&"hidden"==V.type}(V)&&(function Rt(V){let j=V.nodeName.toLowerCase();return"input"===j||"select"===j||"button"===j||"textarea"===j}(V)||function Pt(V){return function Ut(V){return"a"==V.nodeName.toLowerCase()}(V)&&V.hasAttribute("href")}(V)||V.hasAttribute("contenteditable")||xt(V))}($)&&!this.isDisabled($)&&((null==he?void 0:he.ignoreVisibility)||this.isVisible($))}}return V.\u0275fac=function($){return new($||V)(o.LFG(g.t4))},V.\u0275prov=o.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();function xt(V){if(!V.hasAttribute("tabindex")||void 0===V.tabIndex)return!1;let j=V.getAttribute("tabindex");return!(!j||isNaN(parseInt(j,10)))}function on(V){if(!xt(V))return null;const j=parseInt(V.getAttribute("tabindex")||"",10);return isNaN(j)?-1:j}class K{constructor(j,$,he,Se,st=!1){this._element=j,this._checker=$,this._ngZone=he,this._document=Se,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,st||this.attachAnchors()}get enabled(){return this._enabled}set enabled(j){this._enabled=j,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(j,this._startAnchor),this._toggleAnchorTabIndex(j,this._endAnchor))}destroy(){const j=this._startAnchor,$=this._endAnchor;j&&(j.removeEventListener("focus",this.startAnchorListener),j.remove()),$&&($.removeEventListener("focus",this.endAnchorListener),$.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(j){return new Promise($=>{this._executeOnStable(()=>$(this.focusInitialElement(j)))})}focusFirstTabbableElementWhenReady(j){return new Promise($=>{this._executeOnStable(()=>$(this.focusFirstTabbableElement(j)))})}focusLastTabbableElementWhenReady(j){return new Promise($=>{this._executeOnStable(()=>$(this.focusLastTabbableElement(j)))})}_getRegionBoundary(j){const $=this._element.querySelectorAll(`[cdk-focus-region-${j}], [cdkFocusRegion${j}], [cdk-focus-${j}]`);return"start"==j?$.length?$[0]:this._getFirstTabbableElement(this._element):$.length?$[$.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(j){const $=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if($){if(!this._checker.isFocusable($)){const he=this._getFirstTabbableElement($);return null==he||he.focus(j),!!he}return $.focus(j),!0}return this.focusFirstTabbableElement(j)}focusFirstTabbableElement(j){const $=this._getRegionBoundary("start");return $&&$.focus(j),!!$}focusLastTabbableElement(j){const $=this._getRegionBoundary("end");return $&&$.focus(j),!!$}hasAttached(){return this._hasAttached}_getFirstTabbableElement(j){if(this._checker.isFocusable(j)&&this._checker.isTabbable(j))return j;const $=j.children;for(let he=0;he<$.length;he++){const Se=$[he].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement($[he]):null;if(Se)return Se}return null}_getLastTabbableElement(j){if(this._checker.isFocusable(j)&&this._checker.isTabbable(j))return j;const $=j.children;for(let he=$.length-1;he>=0;he--){const Se=$[he].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement($[he]):null;if(Se)return Se}return null}_createAnchor(){const j=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,j),j.classList.add("cdk-visually-hidden"),j.classList.add("cdk-focus-trap-anchor"),j.setAttribute("aria-hidden","true"),j}_toggleAnchorTabIndex(j,$){j?$.setAttribute("tabindex","0"):$.removeAttribute("tabindex")}toggleAnchors(j){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(j,this._startAnchor),this._toggleAnchorTabIndex(j,this._endAnchor))}_executeOnStable(j){this._ngZone.isStable?j():this._ngZone.onStable.pipe((0,J.q)(1)).subscribe(j)}}let He=(()=>{class V{constructor($,he,Se){this._checker=$,this._ngZone=he,this._document=Se}create($,he=!1){return new K($,this._checker,this._ngZone,this._document,he)}}return V.\u0275fac=function($){return new($||V)(o.LFG(mt),o.LFG(o.R0b),o.LFG(c.K0))},V.\u0275prov=o.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();function at(V){return 0===V.buttons||0===V.offsetX&&0===V.offsetY}function Pe(V){const j=V.touches&&V.touches[0]||V.changedTouches&&V.changedTouches[0];return!(!j||-1!==j.identifier||null!=j.radiusX&&1!==j.radiusX||null!=j.radiusY&&1!==j.radiusY)}const E=new o.OlP("cdk-input-modality-detector-options"),S={ignoreKeys:[Ce.zL,Ce.jx,Ce.b2,Ce.MW,Ce.JU]},P=(0,g.i$)({passive:!0,capture:!0});let L=(()=>{class V{constructor($,he,Se,st){this._platform=$,this._mostRecentTarget=null,this._modality=new ie.X(null),this._lastTouchMs=0,this._onKeydown=At=>{var Zt,Kt;(null===(Kt=null===(Zt=this._options)||void 0===Zt?void 0:Zt.ignoreKeys)||void 0===Kt?void 0:Kt.some(Dt=>Dt===At.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(At))},this._onMousedown=At=>{Date.now()-this._lastTouchMs<650||(this._modality.next(at(At)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(At))},this._onTouchstart=At=>{Pe(At)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(At))},this._options=Object.assign(Object.assign({},S),st),this.modalityDetected=this._modality.pipe((0,le.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,ke.x)()),$.isBrowser&&he.runOutsideAngular(()=>{Se.addEventListener("keydown",this._onKeydown,P),Se.addEventListener("mousedown",this._onMousedown,P),Se.addEventListener("touchstart",this._onTouchstart,P)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,P),document.removeEventListener("mousedown",this._onMousedown,P),document.removeEventListener("touchstart",this._onTouchstart,P))}}return V.\u0275fac=function($){return new($||V)(o.LFG(g.t4),o.LFG(o.R0b),o.LFG(c.K0),o.LFG(E,8))},V.\u0275prov=o.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();const re=new o.OlP("liveAnnouncerElement",{providedIn:"root",factory:function be(){return null}}),Ue=new o.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ze=(()=>{class V{constructor($,he,Se,st){this._ngZone=he,this._defaultOptions=st,this._document=Se,this._liveElement=$||this._createLiveElement()}announce($,...he){const Se=this._defaultOptions;let st,At;return 1===he.length&&"number"==typeof he[0]?At=he[0]:[st,At]=he,this.clear(),clearTimeout(this._previousTimeout),st||(st=Se&&Se.politeness?Se.politeness:"polite"),null==At&&Se&&(At=Se.duration),this._liveElement.setAttribute("aria-live",st),this._ngZone.runOutsideAngular(()=>new Promise(Zt=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=$,Zt(),"number"==typeof At&&(this._previousTimeout=setTimeout(()=>this.clear(),At))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var $;clearTimeout(this._previousTimeout),null===($=this._liveElement)||void 0===$||$.remove(),this._liveElement=null}_createLiveElement(){const $="cdk-live-announcer-element",he=this._document.getElementsByClassName($),Se=this._document.createElement("div");for(let st=0;st{class V{constructor($,he,Se,st,At){this._ngZone=$,this._platform=he,this._inputModalityDetector=Se,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Y.x,this._rootNodeFocusAndBlurListener=Zt=>{const Kt=(0,g.sA)(Zt),Dt="focus"===Zt.type?this._onFocus:this._onBlur;for(let Rn=Kt;Rn;Rn=Rn.parentElement)Dt.call(this,Zt,Rn)},this._document=st,this._detectionMode=(null==At?void 0:At.detectionMode)||0}monitor($,he=!1){const Se=(0,Z.fI)($);if(!this._platform.isBrowser||1!==Se.nodeType)return(0,De.of)(null);const st=(0,g.kV)(Se)||this._getDocument(),At=this._elementInfo.get(Se);if(At)return he&&(At.checkChildren=!0),At.subject;const Zt={checkChildren:he,subject:new Y.x,rootNode:st};return this._elementInfo.set(Se,Zt),this._registerGlobalListeners(Zt),Zt.subject}stopMonitoring($){const he=(0,Z.fI)($),Se=this._elementInfo.get(he);Se&&(Se.subject.complete(),this._setClasses(he),this._elementInfo.delete(he),this._removeGlobalListeners(Se))}focusVia($,he,Se){const st=(0,Z.fI)($);st===this._getDocument().activeElement?this._getClosestElementsInfo(st).forEach(([Zt,Kt])=>this._originChanged(Zt,he,Kt)):(this._setOrigin(he),"function"==typeof st.focus&&st.focus(Se))}ngOnDestroy(){this._elementInfo.forEach(($,he)=>this.stopMonitoring(he))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin($){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch($)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch($){return 1===this._detectionMode||!!(null==$?void 0:$.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses($,he){$.classList.toggle("cdk-focused",!!he),$.classList.toggle("cdk-touch-focused","touch"===he),$.classList.toggle("cdk-keyboard-focused","keyboard"===he),$.classList.toggle("cdk-mouse-focused","mouse"===he),$.classList.toggle("cdk-program-focused","program"===he)}_setOrigin($,he=!1){this._ngZone.runOutsideAngular(()=>{this._origin=$,this._originFromTouchInteraction="touch"===$&&he,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus($,he){const Se=this._elementInfo.get(he),st=(0,g.sA)($);!Se||!Se.checkChildren&&he!==st||this._originChanged(he,this._getFocusOrigin(st),Se)}_onBlur($,he){const Se=this._elementInfo.get(he);!Se||Se.checkChildren&&$.relatedTarget instanceof Node&&he.contains($.relatedTarget)||(this._setClasses(he),this._emitOrigin(Se.subject,null))}_emitOrigin($,he){this._ngZone.run(()=>$.next(he))}_registerGlobalListeners($){if(!this._platform.isBrowser)return;const he=$.rootNode,Se=this._rootNodeFocusListenerCount.get(he)||0;Se||this._ngZone.runOutsideAngular(()=>{he.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ot),he.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ot)}),this._rootNodeFocusListenerCount.set(he,Se+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Be.R)(this._stopInputModalityDetector)).subscribe(st=>{this._setOrigin(st,!0)}))}_removeGlobalListeners($){const he=$.rootNode;if(this._rootNodeFocusListenerCount.has(he)){const Se=this._rootNodeFocusListenerCount.get(he);Se>1?this._rootNodeFocusListenerCount.set(he,Se-1):(he.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ot),he.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ot),this._rootNodeFocusListenerCount.delete(he))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged($,he,Se){this._setClasses($,he),this._emitOrigin(Se.subject,he),this._lastFocusOrigin=he}_getClosestElementsInfo($){const he=[];return this._elementInfo.forEach((Se,st)=>{(st===$||Se.checkChildren&&st.contains($))&&he.push([st,Se])}),he}}return V.\u0275fac=function($){return new($||V)(o.LFG(o.R0b),o.LFG(g.t4),o.LFG(L),o.LFG(c.K0,8),o.LFG(ct,8))},V.\u0275prov=o.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})();const dn="cdk-high-contrast-black-on-white",dt="cdk-high-contrast-white-on-black",vt="cdk-high-contrast-active";let Le=(()=>{class V{constructor($,he){this._platform=$,this._document=he}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const $=this._document.createElement("div");$.style.backgroundColor="rgb(1,2,3)",$.style.position="absolute",this._document.body.appendChild($);const he=this._document.defaultView||window,Se=he&&he.getComputedStyle?he.getComputedStyle($):null,st=(Se&&Se.backgroundColor||"").replace(/ /g,"");switch($.remove(),st){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const $=this._document.body.classList;$.remove(vt),$.remove(dn),$.remove(dt),this._hasCheckedHighContrastMode=!0;const he=this.getHighContrastMode();1===he?($.add(vt),$.add(dn)):2===he&&($.add(vt),$.add(dt))}}}return V.\u0275fac=function($){return new($||V)(o.LFG(g.t4),o.LFG(c.K0))},V.\u0275prov=o.Yz7({token:V,factory:V.\u0275fac,providedIn:"root"}),V})(),we=(()=>{class V{constructor($){$._applyBodyHighContrastModeCssClasses()}}return V.\u0275fac=function($){return new($||V)(o.LFG(Le))},V.\u0275mod=o.oAB({type:V}),V.\u0275inj=o.cJS({imports:[[et.Q8]]}),V})()},226:(qe,ye,C)=>{C.d(ye,{vT:()=>ue,Is:()=>De});var c=C(4893),o=C(9808);const g=new c.OlP("cdk-dir-doc",{providedIn:"root",factory:function Y(){return(0,c.f3M)(o.K0)}}),ce=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let De=(()=>{class ee{constructor(de){if(this.value="ltr",this.change=new c.vpe,de){const le=de.documentElement?de.documentElement.dir:null;this.value=function ie(ee){const se=(null==ee?void 0:ee.toLowerCase())||"";return"auto"===se&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?ce.test(navigator.language)?"rtl":"ltr":"rtl"===se?"rtl":"ltr"}((de.body?de.body.dir:null)||le||"ltr")}}ngOnDestroy(){this.change.complete()}}return ee.\u0275fac=function(de){return new(de||ee)(c.LFG(g,8))},ee.\u0275prov=c.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),ue=(()=>{class ee{}return ee.\u0275fac=function(de){return new(de||ee)},ee.\u0275mod=c.oAB({type:ee}),ee.\u0275inj=c.cJS({}),ee})()},3191:(qe,ye,C)=>{C.d(ye,{Eq:()=>ce,Ig:()=>o,HM:()=>ie,fI:()=>De,su:()=>g});var c=C(4893);function o(ue){return null!=ue&&"false"!=`${ue}`}function g(ue,ee=0){return function Y(ue){return!isNaN(parseFloat(ue))&&!isNaN(Number(ue))}(ue)?Number(ue):ee}function ce(ue){return Array.isArray(ue)?ue:[ue]}function ie(ue){return null==ue?"":"string"==typeof ue?ue:`${ue}px`}function De(ue){return ue instanceof c.SBq?ue.nativeElement:ue}},449:(qe,ye,C)=>{C.d(ye,{Ov:()=>Ce,A8:()=>ee});var c=C(7579),o=C(4893);class Ce{constructor(J=!1,le,ke=!0){this._multiple=J,this._emitChanges=ke,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new c.x,le&&le.length&&(J?le.forEach(Be=>this._markSelected(Be)):this._markSelected(le[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...J){this._verifyValueAssignment(J),J.forEach(le=>this._markSelected(le)),this._emitChangeEvent()}deselect(...J){this._verifyValueAssignment(J),J.forEach(le=>this._unmarkSelected(le)),this._emitChangeEvent()}toggle(J){this.isSelected(J)?this.deselect(J):this.select(J)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(J){return this._selection.has(J)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(J){this._multiple&&this.selected&&this._selected.sort(J)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(J){this.isSelected(J)||(this._multiple||this._unmarkAll(),this._selection.add(J),this._emitChanges&&this._selectedToEmit.push(J))}_unmarkSelected(J){this.isSelected(J)&&(this._selection.delete(J),this._emitChanges&&this._deselectedToEmit.push(J))}_unmarkAll(){this.isEmpty()||this._selection.forEach(J=>this._unmarkSelected(J))}_verifyValueAssignment(J){}}let ee=(()=>{class de{constructor(){this._listeners=[]}notify(le,ke){for(let Be of this._listeners)Be(le,ke)}listen(le){return this._listeners.push(le),()=>{this._listeners=this._listeners.filter(ke=>le!==ke)}}ngOnDestroy(){this._listeners=[]}}return de.\u0275fac=function(le){return new(le||de)},de.\u0275prov=o.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})()},1159:(qe,ye,C)=>{C.d(ye,{A:()=>Pt,zL:()=>Ce,jx:()=>De,JH:()=>Qe,uR:()=>ke,K5:()=>ce,hY:()=>se,Sd:()=>Be,oh:()=>Z,b2:()=>Jn,MW:()=>ze,aO:()=>mt,SV:()=>Ye,JU:()=>ie,L_:()=>de,Mf:()=>g,LH:()=>et,Z:()=>Ue,xE:()=>Te,Vb:()=>Si});const g=9,ce=13,ie=16,De=17,Ce=18,se=27,de=32,ke=35,Be=36,Z=37,et=38,Ye=39,Qe=40,Te=48,mt=57,Pt=65,Ue=90,ze=91,Jn=224;function Si(Gn,...gn){return gn.length?gn.some(di=>Gn[di]):Gn.altKey||Gn.shiftKey||Gn.ctrlKey||Gn.metaKey}},7144:(qe,ye,C)=>{C.d(ye,{wD:()=>Ce,Q8:()=>ue});var c=C(3191),o=C(4893),g=C(8306),Y=C(7579),ce=C(8372);let ie=(()=>{class ee{create(de){return"undefined"==typeof MutationObserver?null:new MutationObserver(de)}}return ee.\u0275fac=function(de){return new(de||ee)},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),De=(()=>{class ee{constructor(de){this._mutationObserverFactory=de,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((de,J)=>this._cleanupObserver(J))}observe(de){const J=(0,c.fI)(de);return new g.y(le=>{const Be=this._observeElement(J).subscribe(le);return()=>{Be.unsubscribe(),this._unobserveElement(J)}})}_observeElement(de){if(this._observedElements.has(de))this._observedElements.get(de).count++;else{const J=new Y.x,le=this._mutationObserverFactory.create(ke=>J.next(ke));le&&le.observe(de,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(de,{observer:le,stream:J,count:1})}return this._observedElements.get(de).stream}_unobserveElement(de){this._observedElements.has(de)&&(this._observedElements.get(de).count--,this._observedElements.get(de).count||this._cleanupObserver(de))}_cleanupObserver(de){if(this._observedElements.has(de)){const{observer:J,stream:le}=this._observedElements.get(de);J&&J.disconnect(),le.complete(),this._observedElements.delete(de)}}}return ee.\u0275fac=function(de){return new(de||ee)(o.LFG(ie))},ee.\u0275prov=o.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Ce=(()=>{class ee{constructor(de,J,le){this._contentObserver=de,this._elementRef=J,this._ngZone=le,this.event=new o.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(de){this._disabled=(0,c.Ig)(de),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(de){this._debounce=(0,c.su)(de),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const de=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?de.pipe((0,ce.b)(this.debounce)):de).subscribe(this.event)})}_unsubscribe(){var de;null===(de=this._currentSubscription)||void 0===de||de.unsubscribe()}}return ee.\u0275fac=function(de){return new(de||ee)(o.Y36(De),o.Y36(o.SBq),o.Y36(o.R0b))},ee.\u0275dir=o.lG2({type:ee,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),ee})(),ue=(()=>{class ee{}return ee.\u0275fac=function(de){return new(de||ee)},ee.\u0275mod=o.oAB({type:ee}),ee.\u0275inj=o.cJS({providers:[ie]}),ee})()},9776:(qe,ye,C)=>{C.d(ye,{pI:()=>St,xu:()=>lt,aV:()=>K,X_:()=>Ne,Xj:()=>Ct,U8:()=>Nt});var c=C(495),o=C(9808),g=C(4893),Y=C(3191),ce=C(925),ie=C(226),De=C(7429),Ce=C(7579),ue=C(727),ee=C(6451),se=C(4482),de=C(5403),le=C(5698),ke=C(2722),Be=C(1159);const Z=(0,ce.Mq)();class et{constructor(E,S){this._viewportRuler=E,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=S}attach(){}enable(){if(this._canBeEnabled()){const E=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=E.style.left||"",this._previousHTMLStyles.top=E.style.top||"",E.style.left=(0,Y.HM)(-this._previousScrollPosition.left),E.style.top=(0,Y.HM)(-this._previousScrollPosition.top),E.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const E=this._document.documentElement,D=E.style,P=this._document.body.style,L=D.scrollBehavior||"",re=P.scrollBehavior||"";this._isEnabled=!1,D.left=this._previousHTMLStyles.left,D.top=this._previousHTMLStyles.top,E.classList.remove("cdk-global-scrollblock"),Z&&(D.scrollBehavior=P.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Z&&(D.scrollBehavior=L,P.scrollBehavior=re)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const S=this._document.body,D=this._viewportRuler.getViewportSize();return S.scrollHeight>D.height||S.scrollWidth>D.width}}class Qe{constructor(E,S,D,P){this._scrollDispatcher=E,this._ngZone=S,this._viewportRuler=D,this._config=P,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(E){this._overlayRef=E}enable(){if(this._scrollSubscription)return;const E=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=E.subscribe(()=>{const S=this._viewportRuler.getViewportScrollPosition().top;Math.abs(S-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=E.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class me{enable(){}disable(){}attach(){}}function z(Pe,E){return E.some(S=>Pe.bottomS.bottom||Pe.rightS.right)}function q(Pe,E){return E.some(S=>Pe.topS.bottom||Pe.leftS.right)}class pe{constructor(E,S,D,P){this._scrollDispatcher=E,this._viewportRuler=S,this._ngZone=D,this._config=P,this._scrollSubscription=null}attach(E){this._overlayRef=E}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const S=this._overlayRef.overlayElement.getBoundingClientRect(),{width:D,height:P}=this._viewportRuler.getViewportSize();z(S,[{width:D,height:P,bottom:P,right:D,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Te=(()=>{class Pe{constructor(S,D,P,L){this._scrollDispatcher=S,this._viewportRuler=D,this._ngZone=P,this.noop=()=>new me,this.close=re=>new Qe(this._scrollDispatcher,this._ngZone,this._viewportRuler,re),this.block=()=>new et(this._viewportRuler,this._document),this.reposition=re=>new pe(this._scrollDispatcher,this._viewportRuler,this._ngZone,re),this._document=L}}return Pe.\u0275fac=function(S){return new(S||Pe)(g.LFG(c.mF),g.LFG(c.rL),g.LFG(g.R0b),g.LFG(o.K0))},Pe.\u0275prov=g.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})();class Ne{constructor(E){if(this.scrollStrategy=new me,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,E){const S=Object.keys(E);for(const D of S)void 0!==E[D]&&(this[D]=E[D])}}}class xe{constructor(E,S){this.connectionPair=E,this.scrollableViewProperties=S}}class Fe{constructor(E,S,D,P,L,re,be,Ue,ze){this._portalOutlet=E,this._host=S,this._pane=D,this._config=P,this._ngZone=L,this._keyboardDispatcher=re,this._document=be,this._location=Ue,this._outsideClickDispatcher=ze,this._backdropElement=null,this._backdropClick=new Ce.x,this._attachments=new Ce.x,this._detachments=new Ce.x,this._locationChanges=ue.w0.EMPTY,this._backdropClickHandler=_t=>this._backdropClick.next(_t),this._keydownEvents=new Ce.x,this._outsidePointerEvents=new Ce.x,P.scrollStrategy&&(this._scrollStrategy=P.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=P.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(E){let S=this._portalOutlet.attach(E);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,le.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),S}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const E=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),E}dispose(){var E;const S=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(E=this._host)||void 0===E||E.remove(),this._previousHostParent=this._pane=this._host=null,S&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(E){E!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=E,this.hasAttached()&&(E.attach(this),this.updatePosition()))}updateSize(E){this._config=Object.assign(Object.assign({},this._config),E),this._updateElementSize()}setDirection(E){this._config=Object.assign(Object.assign({},this._config),{direction:E}),this._updateElementDirection()}addPanelClass(E){this._pane&&this._toggleClasses(this._pane,E,!0)}removePanelClass(E){this._pane&&this._toggleClasses(this._pane,E,!1)}getDirection(){const E=this._config.direction;return E?"string"==typeof E?E:E.value:"ltr"}updateScrollStrategy(E){E!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=E,this.hasAttached()&&(E.attach(this),E.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const E=this._pane.style;E.width=(0,Y.HM)(this._config.width),E.height=(0,Y.HM)(this._config.height),E.minWidth=(0,Y.HM)(this._config.minWidth),E.minHeight=(0,Y.HM)(this._config.minHeight),E.maxWidth=(0,Y.HM)(this._config.maxWidth),E.maxHeight=(0,Y.HM)(this._config.maxHeight)}_togglePointerEvents(E){this._pane.style.pointerEvents=E?"":"none"}_attachBackdrop(){const E="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(E)})}):this._backdropElement.classList.add(E)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const E=this._backdropElement;if(!E)return;let S;const D=()=>{E&&(E.removeEventListener("click",this._backdropClickHandler),E.removeEventListener("transitionend",D),this._disposeBackdrop(E)),this._config.backdropClass&&this._toggleClasses(E,this._config.backdropClass,!1),clearTimeout(S)};E.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{E.addEventListener("transitionend",D)}),E.style.pointerEvents="none",S=this._ngZone.runOutsideAngular(()=>setTimeout(D,500))}_toggleClasses(E,S,D){const P=(0,Y.Eq)(S||[]).filter(L=>!!L);P.length&&(D?E.classList.add(...P):E.classList.remove(...P))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const E=this._ngZone.onStable.pipe((0,ke.R)((0,ee.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),E.unsubscribe())})})}_disposeScrollStrategy(){const E=this._scrollStrategy;E&&(E.disable(),E.detach&&E.detach())}_disposeBackdrop(E){E&&(E.remove(),this._backdropElement===E&&(this._backdropElement=null))}}let Ct=(()=>{class Pe{constructor(S,D){this._platform=D,this._document=S}ngOnDestroy(){var S;null===(S=this._containerElement)||void 0===S||S.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const S="cdk-overlay-container";if(this._platform.isBrowser||(0,ce.Oy)()){const P=this._document.querySelectorAll(`.${S}[platform="server"], .${S}[platform="test"]`);for(let L=0;L{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const E=this._originRect,S=this._overlayRect,D=this._viewportRect,P=this._containerRect,L=[];let re;for(let be of this._preferredPositions){let Ue=this._getOriginPoint(E,P,be),ze=this._getOverlayPoint(Ue,S,be),_t=this._getOverlayFit(ze,S,D,be);if(_t.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(be,Ue);this._canFitWithFlexibleDimensions(_t,ze,D)?L.push({position:be,origin:Ue,overlayRect:S,boundingBoxRect:this._calculateBoundingBoxRect(Ue,be)}):(!re||re.overlayFit.visibleArea<_t.visibleArea)&&(re={overlayFit:_t,overlayPoint:ze,originPoint:Ue,position:be,overlayRect:S})}if(L.length){let be=null,Ue=-1;for(const ze of L){const _t=ze.boundingBoxRect.width*ze.boundingBoxRect.height*(ze.position.weight||1);_t>Ue&&(Ue=_t,be=ze)}return this._isPushed=!1,void this._applyPosition(be.position,be.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(re.position,re.originPoint);this._applyPosition(re.position,re.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Rt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(mt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const E=this._lastPosition;if(E){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const S=this._getOriginPoint(this._originRect,this._containerRect,E);this._applyPosition(E,S)}else this.apply()}withScrollableContainers(E){return this._scrollables=E,this}withPositions(E){return this._preferredPositions=E,-1===E.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(E){return this._viewportMargin=E,this}withFlexibleDimensions(E=!0){return this._hasFlexibleDimensions=E,this}withGrowAfterOpen(E=!0){return this._growAfterOpen=E,this}withPush(E=!0){return this._canPush=E,this}withLockedPosition(E=!0){return this._positionLocked=E,this}setOrigin(E){return this._origin=E,this}withDefaultOffsetX(E){return this._offsetX=E,this}withDefaultOffsetY(E){return this._offsetY=E,this}withTransformOriginOn(E){return this._transformOriginSelector=E,this}_getOriginPoint(E,S,D){let P,L;if("center"==D.originX)P=E.left+E.width/2;else{const re=this._isRtl()?E.right:E.left,be=this._isRtl()?E.left:E.right;P="start"==D.originX?re:be}return S.left<0&&(P-=S.left),L="center"==D.originY?E.top+E.height/2:"top"==D.originY?E.top:E.bottom,S.top<0&&(L-=S.top),{x:P,y:L}}_getOverlayPoint(E,S,D){let P,L;return P="center"==D.overlayX?-S.width/2:"start"===D.overlayX?this._isRtl()?-S.width:0:this._isRtl()?0:-S.width,L="center"==D.overlayY?-S.height/2:"top"==D.overlayY?0:-S.height,{x:E.x+P,y:E.y+L}}_getOverlayFit(E,S,D,P){const L=Pt(S);let{x:re,y:be}=E,Ue=this._getOffset(P,"x"),ze=this._getOffset(P,"y");Ue&&(re+=Ue),ze&&(be+=ze);let Ot=0-be,nn=be+L.height-D.height,Yt=this._subtractOverflows(L.width,0-re,re+L.width-D.width),dn=this._subtractOverflows(L.height,Ot,nn),dt=Yt*dn;return{visibleArea:dt,isCompletelyWithinViewport:L.width*L.height===dt,fitsInViewportVertically:dn===L.height,fitsInViewportHorizontally:Yt==L.width}}_canFitWithFlexibleDimensions(E,S,D){if(this._hasFlexibleDimensions){const P=D.bottom-S.y,L=D.right-S.x,re=Wt(this._overlayRef.getConfig().minHeight),be=Wt(this._overlayRef.getConfig().minWidth),ze=E.fitsInViewportHorizontally||null!=be&&be<=L;return(E.fitsInViewportVertically||null!=re&&re<=P)&&ze}return!1}_pushOverlayOnScreen(E,S,D){if(this._previousPushAmount&&this._positionLocked)return{x:E.x+this._previousPushAmount.x,y:E.y+this._previousPushAmount.y};const P=Pt(S),L=this._viewportRect,re=Math.max(E.x+P.width-L.width,0),be=Math.max(E.y+P.height-L.height,0),Ue=Math.max(L.top-D.top-E.y,0),ze=Math.max(L.left-D.left-E.x,0);let _t=0,ct=0;return _t=P.width<=L.width?ze||-re:E.xYt&&!this._isInitialRender&&!this._growAfterOpen&&(re=E.y-Yt/2)}if("end"===S.overlayX&&!P||"start"===S.overlayX&&P)Ot=D.width-E.x+this._viewportMargin,_t=E.x-this._viewportMargin;else if("start"===S.overlayX&&!P||"end"===S.overlayX&&P)ct=E.x,_t=D.right-E.x;else{const nn=Math.min(D.right-E.x+D.left,E.x),Yt=this._lastBoundingBoxSize.width;_t=2*nn,ct=E.x-nn,_t>Yt&&!this._isInitialRender&&!this._growAfterOpen&&(ct=E.x-Yt/2)}return{top:re,left:ct,bottom:be,right:Ot,width:_t,height:L}}_setBoundingBoxStyles(E,S){const D=this._calculateBoundingBoxRect(E,S);!this._isInitialRender&&!this._growAfterOpen&&(D.height=Math.min(D.height,this._lastBoundingBoxSize.height),D.width=Math.min(D.width,this._lastBoundingBoxSize.width));const P={};if(this._hasExactPosition())P.top=P.left="0",P.bottom=P.right=P.maxHeight=P.maxWidth="",P.width=P.height="100%";else{const L=this._overlayRef.getConfig().maxHeight,re=this._overlayRef.getConfig().maxWidth;P.height=(0,Y.HM)(D.height),P.top=(0,Y.HM)(D.top),P.bottom=(0,Y.HM)(D.bottom),P.width=(0,Y.HM)(D.width),P.left=(0,Y.HM)(D.left),P.right=(0,Y.HM)(D.right),P.alignItems="center"===S.overlayX?"center":"end"===S.overlayX?"flex-end":"flex-start",P.justifyContent="center"===S.overlayY?"center":"bottom"===S.overlayY?"flex-end":"flex-start",L&&(P.maxHeight=(0,Y.HM)(L)),re&&(P.maxWidth=(0,Y.HM)(re))}this._lastBoundingBoxSize=D,Rt(this._boundingBox.style,P)}_resetBoundingBoxStyles(){Rt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Rt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(E,S){const D={},P=this._hasExactPosition(),L=this._hasFlexibleDimensions,re=this._overlayRef.getConfig();if(P){const _t=this._viewportRuler.getViewportScrollPosition();Rt(D,this._getExactOverlayY(S,E,_t)),Rt(D,this._getExactOverlayX(S,E,_t))}else D.position="static";let be="",Ue=this._getOffset(S,"x"),ze=this._getOffset(S,"y");Ue&&(be+=`translateX(${Ue}px) `),ze&&(be+=`translateY(${ze}px)`),D.transform=be.trim(),re.maxHeight&&(P?D.maxHeight=(0,Y.HM)(re.maxHeight):L&&(D.maxHeight="")),re.maxWidth&&(P?D.maxWidth=(0,Y.HM)(re.maxWidth):L&&(D.maxWidth="")),Rt(this._pane.style,D)}_getExactOverlayY(E,S,D){let P={top:"",bottom:""},L=this._getOverlayPoint(S,this._overlayRect,E);return this._isPushed&&(L=this._pushOverlayOnScreen(L,this._overlayRect,D)),"bottom"===E.overlayY?P.bottom=this._document.documentElement.clientHeight-(L.y+this._overlayRect.height)+"px":P.top=(0,Y.HM)(L.y),P}_getExactOverlayX(E,S,D){let re,P={left:"",right:""},L=this._getOverlayPoint(S,this._overlayRect,E);return this._isPushed&&(L=this._pushOverlayOnScreen(L,this._overlayRect,D)),re=this._isRtl()?"end"===E.overlayX?"left":"right":"end"===E.overlayX?"right":"left","right"===re?P.right=this._document.documentElement.clientWidth-(L.x+this._overlayRect.width)+"px":P.left=(0,Y.HM)(L.x),P}_getScrollVisibility(){const E=this._getOriginRect(),S=this._pane.getBoundingClientRect(),D=this._scrollables.map(P=>P.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:q(E,D),isOriginOutsideView:z(E,D),isOverlayClipped:q(S,D),isOverlayOutsideView:z(S,D)}}_subtractOverflows(E,...S){return S.reduce((D,P)=>D-Math.max(P,0),E)}_getNarrowedViewportRect(){const E=this._document.documentElement.clientWidth,S=this._document.documentElement.clientHeight,D=this._viewportRuler.getViewportScrollPosition();return{top:D.top+this._viewportMargin,left:D.left+this._viewportMargin,right:D.left+E-this._viewportMargin,bottom:D.top+S-this._viewportMargin,width:E-2*this._viewportMargin,height:S-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(E,S){return"x"===S?null==E.offsetX?this._offsetX:E.offsetX:null==E.offsetY?this._offsetY:E.offsetY}_validatePositions(){}_addPanelClasses(E){this._pane&&(0,Y.Eq)(E).forEach(S=>{""!==S&&-1===this._appliedPanelClasses.indexOf(S)&&(this._appliedPanelClasses.push(S),this._pane.classList.add(S))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(E=>{this._pane.classList.remove(E)}),this._appliedPanelClasses=[])}_getOriginRect(){const E=this._origin;if(E instanceof g.SBq)return E.nativeElement.getBoundingClientRect();if(E instanceof Element)return E.getBoundingClientRect();const S=E.width||0,D=E.height||0;return{top:E.y,bottom:E.y+D,left:E.x,right:E.x+S,height:D,width:S}}}function Rt(Pe,E){for(let S in E)E.hasOwnProperty(S)&&(Pe[S]=E[S]);return Pe}function Wt(Pe){if("number"!=typeof Pe&&null!=Pe){const[E,S]=Pe.split(Jt);return S&&"px"!==S?null:parseFloat(E)}return Pe||null}function Pt(Pe){return{top:Math.floor(Pe.top),right:Math.floor(Pe.right),bottom:Math.floor(Pe.bottom),left:Math.floor(Pe.left),width:Math.floor(Pe.width),height:Math.floor(Pe.height)}}const mn="cdk-global-overlay-wrapper";class Ut{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(E){const S=E.getConfig();this._overlayRef=E,this._width&&!S.width&&E.updateSize({width:this._width}),this._height&&!S.height&&E.updateSize({height:this._height}),E.hostElement.classList.add(mn),this._isDisposed=!1}top(E=""){return this._bottomOffset="",this._topOffset=E,this._alignItems="flex-start",this}left(E=""){return this._rightOffset="",this._leftOffset=E,this._justifyContent="flex-start",this}bottom(E=""){return this._topOffset="",this._bottomOffset=E,this._alignItems="flex-end",this}right(E=""){return this._leftOffset="",this._rightOffset=E,this._justifyContent="flex-end",this}width(E=""){return this._overlayRef?this._overlayRef.updateSize({width:E}):this._width=E,this}height(E=""){return this._overlayRef?this._overlayRef.updateSize({height:E}):this._height=E,this}centerHorizontally(E=""){return this.left(E),this._justifyContent="center",this}centerVertically(E=""){return this.top(E),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const E=this._overlayRef.overlayElement.style,S=this._overlayRef.hostElement.style,D=this._overlayRef.getConfig(),{width:P,height:L,maxWidth:re,maxHeight:be}=D,Ue=!("100%"!==P&&"100vw"!==P||re&&"100%"!==re&&"100vw"!==re),ze=!("100%"!==L&&"100vh"!==L||be&&"100%"!==be&&"100vh"!==be);E.position=this._cssPosition,E.marginLeft=Ue?"0":this._leftOffset,E.marginTop=ze?"0":this._topOffset,E.marginBottom=this._bottomOffset,E.marginRight=this._rightOffset,Ue?S.justifyContent="flex-start":"center"===this._justifyContent?S.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?S.justifyContent="flex-end":"flex-end"===this._justifyContent&&(S.justifyContent="flex-start"):S.justifyContent=this._justifyContent,S.alignItems=ze?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const E=this._overlayRef.overlayElement.style,S=this._overlayRef.hostElement,D=S.style;S.classList.remove(mn),D.justifyContent=D.alignItems=E.marginTop=E.marginBottom=E.marginLeft=E.marginRight=E.position="",this._overlayRef=null,this._isDisposed=!0}}let xt=(()=>{class Pe{constructor(S,D,P,L){this._viewportRuler=S,this._document=D,this._platform=P,this._overlayContainer=L}global(){return new Ut}flexibleConnectedTo(S){return new yt(S,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Pe.\u0275fac=function(S){return new(S||Pe)(g.LFG(c.rL),g.LFG(o.K0),g.LFG(ce.t4),g.LFG(Ct))},Pe.\u0275prov=g.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),on=(()=>{class Pe{constructor(S){this._attachedOverlays=[],this._document=S}ngOnDestroy(){this.detach()}add(S){this.remove(S),this._attachedOverlays.push(S)}remove(S){const D=this._attachedOverlays.indexOf(S);D>-1&&this._attachedOverlays.splice(D,1),0===this._attachedOverlays.length&&this.detach()}}return Pe.\u0275fac=function(S){return new(S||Pe)(g.LFG(o.K0))},Pe.\u0275prov=g.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),Xe=(()=>{class Pe extends on{constructor(S,D){super(S),this._ngZone=D,this._keydownListener=P=>{const L=this._attachedOverlays;for(let re=L.length-1;re>-1;re--)if(L[re]._keydownEvents.observers.length>0){const be=L[re]._keydownEvents;this._ngZone?this._ngZone.run(()=>be.next(P)):be.next(P);break}}}add(S){super.add(S),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return Pe.\u0275fac=function(S){return new(S||Pe)(g.LFG(o.K0),g.LFG(g.R0b,8))},Pe.\u0275prov=g.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),je=(()=>{class Pe extends on{constructor(S,D,P){super(S),this._platform=D,this._ngZone=P,this._cursorStyleIsSet=!1,this._pointerDownListener=L=>{this._pointerDownEventTarget=(0,ce.sA)(L)},this._clickListener=L=>{const re=(0,ce.sA)(L),be="click"===L.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:re;this._pointerDownEventTarget=null;const Ue=this._attachedOverlays.slice();for(let ze=Ue.length-1;ze>-1;ze--){const _t=Ue[ze];if(_t._outsidePointerEvents.observers.length<1||!_t.hasAttached())continue;if(_t.overlayElement.contains(re)||_t.overlayElement.contains(be))break;const ct=_t._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ct.next(L)):ct.next(L)}}}add(S){if(super.add(S),!this._isAttached){const D=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(D)):this._addEventListeners(D),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=D.style.cursor,D.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const S=this._document.body;S.removeEventListener("pointerdown",this._pointerDownListener,!0),S.removeEventListener("click",this._clickListener,!0),S.removeEventListener("auxclick",this._clickListener,!0),S.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(S.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(S){S.addEventListener("pointerdown",this._pointerDownListener,!0),S.addEventListener("click",this._clickListener,!0),S.addEventListener("auxclick",this._clickListener,!0),S.addEventListener("contextmenu",this._clickListener,!0)}}return Pe.\u0275fac=function(S){return new(S||Pe)(g.LFG(o.K0),g.LFG(ce.t4),g.LFG(g.R0b,8))},Pe.\u0275prov=g.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),Q=0,K=(()=>{class Pe{constructor(S,D,P,L,re,be,Ue,ze,_t,ct,Ot){this.scrollStrategies=S,this._overlayContainer=D,this._componentFactoryResolver=P,this._positionBuilder=L,this._keyboardDispatcher=re,this._injector=be,this._ngZone=Ue,this._document=ze,this._directionality=_t,this._location=ct,this._outsideClickDispatcher=Ot}create(S){const D=this._createHostElement(),P=this._createPaneElement(D),L=this._createPortalOutlet(P),re=new Ne(S);return re.direction=re.direction||this._directionality.value,new Fe(L,D,P,re,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(S){const D=this._document.createElement("div");return D.id="cdk-overlay-"+Q++,D.classList.add("cdk-overlay-pane"),S.appendChild(D),D}_createHostElement(){const S=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(S),S}_createPortalOutlet(S){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new De.u0(S,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Pe.\u0275fac=function(S){return new(S||Pe)(g.LFG(Te),g.LFG(Ct),g.LFG(g._Vd),g.LFG(xt),g.LFG(Xe),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(o.K0),g.LFG(ie.Is),g.LFG(o.Ye),g.LFG(je))},Pe.\u0275prov=g.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})();const He=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ge=new g.OlP("cdk-connected-overlay-scroll-strategy");let lt=(()=>{class Pe{constructor(S){this.elementRef=S}}return Pe.\u0275fac=function(S){return new(S||Pe)(g.Y36(g.SBq))},Pe.\u0275dir=g.lG2({type:Pe,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Pe})(),St=(()=>{class Pe{constructor(S,D,P,L,re){this._overlay=S,this._dir=re,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ue.w0.EMPTY,this._attachSubscription=ue.w0.EMPTY,this._detachSubscription=ue.w0.EMPTY,this._positionSubscription=ue.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new g.vpe,this.positionChange=new g.vpe,this.attach=new g.vpe,this.detach=new g.vpe,this.overlayKeydown=new g.vpe,this.overlayOutsideClick=new g.vpe,this._templatePortal=new De.UE(D,P),this._scrollStrategyFactory=L,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(S){this._offsetX=S,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(S){this._offsetY=S,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(S){this._hasBackdrop=(0,Y.Ig)(S)}get lockPosition(){return this._lockPosition}set lockPosition(S){this._lockPosition=(0,Y.Ig)(S)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(S){this._flexibleDimensions=(0,Y.Ig)(S)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(S){this._growAfterOpen=(0,Y.Ig)(S)}get push(){return this._push}set push(S){this._push=(0,Y.Ig)(S)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(S){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),S.origin&&this.open&&this._position.apply()),S.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=He);const S=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=S.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=S.detachments().subscribe(()=>this.detach.emit()),S.keydownEvents().subscribe(D=>{this.overlayKeydown.next(D),D.keyCode===Be.hY&&!this.disableClose&&!(0,Be.Vb)(D)&&(D.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(D=>{this.overlayOutsideClick.next(D)})}_buildConfig(){const S=this._position=this.positionStrategy||this._createPositionStrategy(),D=new Ne({direction:this._dir,positionStrategy:S,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(D.width=this.width),(this.height||0===this.height)&&(D.height=this.height),(this.minWidth||0===this.minWidth)&&(D.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(D.minHeight=this.minHeight),this.backdropClass&&(D.backdropClass=this.backdropClass),this.panelClass&&(D.panelClass=this.panelClass),D}_updatePositionStrategy(S){const D=this.positions.map(P=>({originX:P.originX,originY:P.originY,overlayX:P.overlayX,overlayY:P.overlayY,offsetX:P.offsetX||this.offsetX,offsetY:P.offsetY||this.offsetY,panelClass:P.panelClass||void 0}));return S.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(D).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const S=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(S),S}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof lt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(S=>{this.backdropClick.emit(S)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function J(Pe,E=!1){return(0,se.e)((S,D)=>{let P=0;S.subscribe((0,de.x)(D,L=>{const re=Pe(L,P++);(re||E)&&D.next(L),!re&&D.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(S=>{this.positionChange.emit(S),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Pe.\u0275fac=function(S){return new(S||Pe)(g.Y36(K),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(Ge),g.Y36(ie.Is,8))},Pe.\u0275dir=g.lG2({type:Pe,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[g.TTD]}),Pe})();const bt={provide:Ge,deps:[K],useFactory:function Ht(Pe){return()=>Pe.scrollStrategies.reposition()}};let Nt=(()=>{class Pe{}return Pe.\u0275fac=function(S){return new(S||Pe)},Pe.\u0275mod=g.oAB({type:Pe}),Pe.\u0275inj=g.cJS({providers:[K,bt],imports:[[ie.vT,De.eL,c.Cl],c.Cl]}),Pe})()},925:(qe,ye,C)=>{C.d(ye,{t4:()=>Y,sA:()=>Qe,ht:()=>Ye,kV:()=>et,Oy:()=>me,qK:()=>Ce,i$:()=>se,Mq:()=>le});var c=C(4893),o=C(9808);let g;try{g="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(z){g=!1}let ie,Y=(()=>{class z{constructor(pe){this._platformId=pe,this.isBrowser=this._platformId?(0,o.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!g)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return z.\u0275fac=function(pe){return new(pe||z)(c.LFG(c.Lbi))},z.\u0275prov=c.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();const De=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ce(){if(ie)return ie;if("object"!=typeof document||!document)return ie=new Set(De),ie;let z=document.createElement("input");return ie=new Set(De.filter(q=>(z.setAttribute("type",q),z.type===q))),ie}let ue,J,Be;function se(z){return function ee(){if(null==ue&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ue=!0}))}finally{ue=ue||!1}return ue}()?z:!!z.capture}function le(){if(null==J){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return J=!1,J;if("scrollBehavior"in document.documentElement.style)J=!0;else{const z=Element.prototype.scrollTo;J=!!z&&!/\{\s*\[native code\]\s*\}/.test(z.toString())}}return J}function et(z){if(function Z(){if(null==Be){const z="undefined"!=typeof document?document.head:null;Be=!(!z||!z.createShadowRoot&&!z.attachShadow)}return Be}()){const q=z.getRootNode?z.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&q instanceof ShadowRoot)return q}return null}function Ye(){let z="undefined"!=typeof document&&document?document.activeElement:null;for(;z&&z.shadowRoot;){const q=z.shadowRoot.activeElement;if(q===z)break;z=q}return z}function Qe(z){return z.composedPath?z.composedPath()[0]:z.target}function me(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(qe,ye,C)=>{C.d(ye,{en:()=>J,Pl:()=>Ye,C5:()=>ee,u0:()=>ke,eL:()=>me,UE:()=>se});var c=C(4893),o=C(9808);class ue{attach(pe){return this._attachedHost=pe,pe.attach(this)}detach(){let pe=this._attachedHost;null!=pe&&(this._attachedHost=null,pe.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(pe){this._attachedHost=pe}}class ee extends ue{constructor(pe,Te,Ne,ve){super(),this.component=pe,this.viewContainerRef=Te,this.injector=Ne,this.componentFactoryResolver=ve}}class se extends ue{constructor(pe,Te,Ne){super(),this.templateRef=pe,this.viewContainerRef=Te,this.context=Ne}get origin(){return this.templateRef.elementRef}attach(pe,Te=this.context){return this.context=Te,super.attach(pe)}detach(){return this.context=void 0,super.detach()}}class de extends ue{constructor(pe){super(),this.element=pe instanceof c.SBq?pe.nativeElement:pe}}class J{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(pe){return pe instanceof ee?(this._attachedPortal=pe,this.attachComponentPortal(pe)):pe instanceof se?(this._attachedPortal=pe,this.attachTemplatePortal(pe)):this.attachDomPortal&&pe instanceof de?(this._attachedPortal=pe,this.attachDomPortal(pe)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(pe){this._disposeFn=pe}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ke extends J{constructor(pe,Te,Ne,ve,Me){super(),this.outletElement=pe,this._componentFactoryResolver=Te,this._appRef=Ne,this._defaultInjector=ve,this.attachDomPortal=xe=>{const Ae=xe.element,tt=this._document.createComment("dom-portal");Ae.parentNode.insertBefore(tt,Ae),this.outletElement.appendChild(Ae),this._attachedPortal=xe,super.setDisposeFn(()=>{tt.parentNode&&tt.parentNode.replaceChild(Ae,tt)})},this._document=Me}attachComponentPortal(pe){const Ne=(pe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(pe.component);let ve;return pe.viewContainerRef?(ve=pe.viewContainerRef.createComponent(Ne,pe.viewContainerRef.length,pe.injector||pe.viewContainerRef.injector),this.setDisposeFn(()=>ve.destroy())):(ve=Ne.create(pe.injector||this._defaultInjector),this._appRef.attachView(ve.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ve.hostView),ve.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ve)),this._attachedPortal=pe,ve}attachTemplatePortal(pe){let Te=pe.viewContainerRef,Ne=Te.createEmbeddedView(pe.templateRef,pe.context);return Ne.rootNodes.forEach(ve=>this.outletElement.appendChild(ve)),Ne.detectChanges(),this.setDisposeFn(()=>{let ve=Te.indexOf(Ne);-1!==ve&&Te.remove(ve)}),this._attachedPortal=pe,Ne}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(pe){return pe.hostView.rootNodes[0]}}let Ye=(()=>{class q extends J{constructor(Te,Ne,ve){super(),this._componentFactoryResolver=Te,this._viewContainerRef=Ne,this._isInitialized=!1,this.attached=new c.vpe,this.attachDomPortal=Me=>{const xe=Me.element,Ae=this._document.createComment("dom-portal");Me.setAttachedHost(this),xe.parentNode.insertBefore(Ae,xe),this._getRootNode().appendChild(xe),this._attachedPortal=Me,super.setDisposeFn(()=>{Ae.parentNode&&Ae.parentNode.replaceChild(xe,Ae)})},this._document=ve}get portal(){return this._attachedPortal}set portal(Te){this.hasAttached()&&!Te&&!this._isInitialized||(this.hasAttached()&&super.detach(),Te&&super.attach(Te),this._attachedPortal=Te||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(Te){Te.setAttachedHost(this);const Ne=null!=Te.viewContainerRef?Te.viewContainerRef:this._viewContainerRef,Me=(Te.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Te.component),xe=Ne.createComponent(Me,Ne.length,Te.injector||Ne.injector);return Ne!==this._viewContainerRef&&this._getRootNode().appendChild(xe.hostView.rootNodes[0]),super.setDisposeFn(()=>xe.destroy()),this._attachedPortal=Te,this._attachedRef=xe,this.attached.emit(xe),xe}attachTemplatePortal(Te){Te.setAttachedHost(this);const Ne=this._viewContainerRef.createEmbeddedView(Te.templateRef,Te.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Te,this._attachedRef=Ne,this.attached.emit(Ne),Ne}_getRootNode(){const Te=this._viewContainerRef.element.nativeElement;return Te.nodeType===Te.ELEMENT_NODE?Te:Te.parentNode}}return q.\u0275fac=function(Te){return new(Te||q)(c.Y36(c._Vd),c.Y36(c.s_b),c.Y36(o.K0))},q.\u0275dir=c.lG2({type:q,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[c.qOj]}),q})(),me=(()=>{class q{}return q.\u0275fac=function(Te){return new(Te||q)},q.\u0275mod=c.oAB({type:q}),q.\u0275inj=c.cJS({}),q})()},495:(qe,ye,C)=>{C.d(ye,{ZD:()=>on,mF:()=>mt,Cl:()=>Xe,rL:()=>Rt});var c=C(3191),o=C(4893),g=C(4408),Y=C(727);const ce={schedule(je){let Q=requestAnimationFrame,K=cancelAnimationFrame;const{delegate:He}=ce;He&&(Q=He.requestAnimationFrame,K=He.cancelAnimationFrame);const Ge=Q(lt=>{K=void 0,je(lt)});return new Y.w0(()=>null==K?void 0:K(Ge))},requestAnimationFrame(...je){const{delegate:Q}=ce;return((null==Q?void 0:Q.requestAnimationFrame)||requestAnimationFrame)(...je)},cancelAnimationFrame(...je){const{delegate:Q}=ce;return((null==Q?void 0:Q.cancelAnimationFrame)||cancelAnimationFrame)(...je)},delegate:void 0};var De=C(640);new class Ce extends De.v{flush(Q){this._active=!0;const K=this._scheduled;this._scheduled=void 0;const{actions:He}=this;let Ge;Q=Q||He.shift();do{if(Ge=Q.execute(Q.state,Q.delay))break}while((Q=He[0])&&Q.id===K&&He.shift());if(this._active=!1,Ge){for(;(Q=He[0])&&Q.id===K&&He.shift();)Q.unsubscribe();throw Ge}}}(class ie extends g.o{constructor(Q,K){super(Q,K),this.scheduler=Q,this.work=K}requestAsyncId(Q,K,He=0){return null!==He&&He>0?super.requestAsyncId(Q,K,He):(Q.actions.push(this),Q._scheduled||(Q._scheduled=ce.requestAnimationFrame(()=>Q.flush(void 0))))}recycleAsyncId(Q,K,He=0){if(null!=He&&He>0||null==He&&this.delay>0)return super.recycleAsyncId(Q,K,He);Q.actions.some(Ge=>Ge.id===K)||(ce.cancelAnimationFrame(K),Q._scheduled=void 0)}});var se=C(7579),de=C(9646),J=C(8306),le=C(4968),Be=(C(3101),C(4986)),Z=C(4482),et=C(8421),Ye=C(5403),me=C(5963);function z(je,Q=Be.z){return function Qe(je){return(0,Z.e)((Q,K)=>{let He=!1,Ge=null,lt=null,St=!1;const Ht=()=>{if(null==lt||lt.unsubscribe(),lt=null,He){He=!1;const Nt=Ge;Ge=null,K.next(Nt)}St&&K.complete()},bt=()=>{lt=null,St&&K.complete()};Q.subscribe((0,Ye.x)(K,Nt=>{He=!0,Ge=Nt,lt||(0,et.Xf)(je(Nt)).subscribe(lt=(0,Ye.x)(K,Ht,bt))},()=>{St=!0,(!He||!lt||lt.closed)&&K.complete()}))})}(()=>(0,me.H)(je,Q))}var q=C(9300),pe=C(9808),Te=C(925),Ne=C(226);let mt=(()=>{class je{constructor(K,He,Ge){this._ngZone=K,this._platform=He,this._scrolled=new se.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ge}register(K){this.scrollContainers.has(K)||this.scrollContainers.set(K,K.elementScrolled().subscribe(()=>this._scrolled.next(K)))}deregister(K){const He=this.scrollContainers.get(K);He&&(He.unsubscribe(),this.scrollContainers.delete(K))}scrolled(K=20){return this._platform.isBrowser?new J.y(He=>{this._globalSubscription||this._addGlobalListener();const Ge=K>0?this._scrolled.pipe(z(K)).subscribe(He):this._scrolled.subscribe(He);return this._scrolledCount++,()=>{Ge.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,de.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((K,He)=>this.deregister(He)),this._scrolled.complete()}ancestorScrolled(K,He){const Ge=this.getAncestorScrollContainers(K);return this.scrolled(He).pipe((0,q.h)(lt=>!lt||Ge.indexOf(lt)>-1))}getAncestorScrollContainers(K){const He=[];return this.scrollContainers.forEach((Ge,lt)=>{this._scrollableContainsElement(lt,K)&&He.push(lt)}),He}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(K,He){let Ge=(0,c.fI)(He),lt=K.getElementRef().nativeElement;do{if(Ge==lt)return!0}while(Ge=Ge.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const K=this._getWindow();return(0,le.R)(K.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return je.\u0275fac=function(K){return new(K||je)(o.LFG(o.R0b),o.LFG(Te.t4),o.LFG(pe.K0,8))},je.\u0275prov=o.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})(),Rt=(()=>{class je{constructor(K,He,Ge){this._platform=K,this._change=new se.x,this._changeListener=lt=>{this._change.next(lt)},this._document=Ge,He.runOutsideAngular(()=>{if(K.isBrowser){const lt=this._getWindow();lt.addEventListener("resize",this._changeListener),lt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const K=this._getWindow();K.removeEventListener("resize",this._changeListener),K.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const K={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),K}getViewportRect(){const K=this.getViewportScrollPosition(),{width:He,height:Ge}=this.getViewportSize();return{top:K.top,left:K.left,bottom:K.top+Ge,right:K.left+He,height:Ge,width:He}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const K=this._document,He=this._getWindow(),Ge=K.documentElement,lt=Ge.getBoundingClientRect();return{top:-lt.top||K.body.scrollTop||He.scrollY||Ge.scrollTop||0,left:-lt.left||K.body.scrollLeft||He.scrollX||Ge.scrollLeft||0}}change(K=20){return K>0?this._change.pipe(z(K)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const K=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:K.innerWidth,height:K.innerHeight}:{width:0,height:0}}}return je.\u0275fac=function(K){return new(K||je)(o.LFG(Te.t4),o.LFG(o.R0b),o.LFG(pe.K0,8))},je.\u0275prov=o.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})(),on=(()=>{class je{}return je.\u0275fac=function(K){return new(K||je)},je.\u0275mod=o.oAB({type:je}),je.\u0275inj=o.cJS({}),je})(),Xe=(()=>{class je{}return je.\u0275fac=function(K){return new(K||je)},je.\u0275mod=o.oAB({type:je}),je.\u0275inj=o.cJS({imports:[[Ne.vT,on],Ne.vT,on]}),je})()},9808:(qe,ye,C)=>{C.d(ye,{mr:()=>Ye,Ov:()=>fr,ez:()=>Nr,K0:()=>De,Do:()=>me,V_:()=>ee,Ye:()=>z,S$:()=>Z,mk:()=>tn,sg:()=>jt,O5:()=>Si,RF:()=>Nn,n9:()=>Xn,ED:()=>un,b0:()=>Qe,lw:()=>Ce,EM:()=>Tn,JF:()=>Pi,NF:()=>Ii,w_:()=>ie,bD:()=>zi,q:()=>g,Mx:()=>ci,HT:()=>ce});var c=C(4893);let o=null;function g(){return o}function ce(A){o||(o=A)}class ie{}const De=new c.OlP("DocumentToken");let Ce=(()=>{class A{historyGo(T){throw new Error("Not implemented")}}return A.\u0275fac=function(T){return new(T||A)},A.\u0275prov=c.Yz7({token:A,factory:function(){return function ue(){return(0,c.LFG)(se)}()},providedIn:"platform"}),A})();const ee=new c.OlP("Location Initialized");let se=(()=>{class A extends Ce{constructor(T){super(),this._doc=T,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(T){const H=g().getGlobalEventTarget(this._doc,"window");return H.addEventListener("popstate",T,!1),()=>H.removeEventListener("popstate",T)}onHashChange(T){const H=g().getGlobalEventTarget(this._doc,"window");return H.addEventListener("hashchange",T,!1),()=>H.removeEventListener("hashchange",T)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(T){this.location.pathname=T}pushState(T,H,ae){de()?this._history.pushState(T,H,ae):this.location.hash=ae}replaceState(T,H,ae){de()?this._history.replaceState(T,H,ae):this.location.hash=ae}forward(){this._history.forward()}back(){this._history.back()}historyGo(T=0){this._history.go(T)}getState(){return this._history.state}}return A.\u0275fac=function(T){return new(T||A)(c.LFG(De))},A.\u0275prov=c.Yz7({token:A,factory:function(){return function J(){return new se((0,c.LFG)(De))}()},providedIn:"platform"}),A})();function de(){return!!window.history.pushState}function le(A,N){if(0==A.length)return N;if(0==N.length)return A;let T=0;return A.endsWith("/")&&T++,N.startsWith("/")&&T++,2==T?A+N.substring(1):1==T?A+N:A+"/"+N}function ke(A){const N=A.match(/#|\?|$/),T=N&&N.index||A.length;return A.slice(0,T-("/"===A[T-1]?1:0))+A.slice(T)}function Be(A){return A&&"?"!==A[0]?"?"+A:A}let Z=(()=>{class A{historyGo(T){throw new Error("Not implemented")}}return A.\u0275fac=function(T){return new(T||A)},A.\u0275prov=c.Yz7({token:A,factory:function(){return function et(A){const N=(0,c.LFG)(De).location;return new Qe((0,c.LFG)(Ce),N&&N.origin||"")}()},providedIn:"root"}),A})();const Ye=new c.OlP("appBaseHref");let Qe=(()=>{class A extends Z{constructor(T,H){if(super(),this._platformLocation=T,this._removeListenerFns=[],null==H&&(H=this._platformLocation.getBaseHrefFromDOM()),null==H)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=H}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}prepareExternalUrl(T){return le(this._baseHref,T)}path(T=!1){const H=this._platformLocation.pathname+Be(this._platformLocation.search),ae=this._platformLocation.hash;return ae&&T?`${H}${ae}`:H}pushState(T,H,ae,$e){const nt=this.prepareExternalUrl(ae+Be($e));this._platformLocation.pushState(T,H,nt)}replaceState(T,H,ae,$e){const nt=this.prepareExternalUrl(ae+Be($e));this._platformLocation.replaceState(T,H,nt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){var H,ae;null===(ae=(H=this._platformLocation).historyGo)||void 0===ae||ae.call(H,T)}}return A.\u0275fac=function(T){return new(T||A)(c.LFG(Ce),c.LFG(Ye,8))},A.\u0275prov=c.Yz7({token:A,factory:A.\u0275fac}),A})(),me=(()=>{class A extends Z{constructor(T,H){super(),this._platformLocation=T,this._baseHref="",this._removeListenerFns=[],null!=H&&(this._baseHref=H)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(T){this._removeListenerFns.push(this._platformLocation.onPopState(T),this._platformLocation.onHashChange(T))}getBaseHref(){return this._baseHref}path(T=!1){let H=this._platformLocation.hash;return null==H&&(H="#"),H.length>0?H.substring(1):H}prepareExternalUrl(T){const H=le(this._baseHref,T);return H.length>0?"#"+H:H}pushState(T,H,ae,$e){let nt=this.prepareExternalUrl(ae+Be($e));0==nt.length&&(nt=this._platformLocation.pathname),this._platformLocation.pushState(T,H,nt)}replaceState(T,H,ae,$e){let nt=this.prepareExternalUrl(ae+Be($e));0==nt.length&&(nt=this._platformLocation.pathname),this._platformLocation.replaceState(T,H,nt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(T=0){var H,ae;null===(ae=(H=this._platformLocation).historyGo)||void 0===ae||ae.call(H,T)}}return A.\u0275fac=function(T){return new(T||A)(c.LFG(Ce),c.LFG(Ye,8))},A.\u0275prov=c.Yz7({token:A,factory:A.\u0275fac}),A})(),z=(()=>{class A{constructor(T,H){this._subject=new c.vpe,this._urlChangeListeners=[],this._platformStrategy=T;const ae=this._platformStrategy.getBaseHref();this._platformLocation=H,this._baseHref=ke(Te(ae)),this._platformStrategy.onPopState($e=>{this._subject.emit({url:this.path(!0),pop:!0,state:$e.state,type:$e.type})})}path(T=!1){return this.normalize(this._platformStrategy.path(T))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(T,H=""){return this.path()==this.normalize(T+Be(H))}normalize(T){return A.stripTrailingSlash(function pe(A,N){return A&&N.startsWith(A)?N.substring(A.length):N}(this._baseHref,Te(T)))}prepareExternalUrl(T){return T&&"/"!==T[0]&&(T="/"+T),this._platformStrategy.prepareExternalUrl(T)}go(T,H="",ae=null){this._platformStrategy.pushState(ae,"",T,H),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+Be(H)),ae)}replaceState(T,H="",ae=null){this._platformStrategy.replaceState(ae,"",T,H),this._notifyUrlChangeListeners(this.prepareExternalUrl(T+Be(H)),ae)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(T=0){var H,ae;null===(ae=(H=this._platformStrategy).historyGo)||void 0===ae||ae.call(H,T)}onUrlChange(T){this._urlChangeListeners.push(T),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(H=>{this._notifyUrlChangeListeners(H.url,H.state)}))}_notifyUrlChangeListeners(T="",H){this._urlChangeListeners.forEach(ae=>ae(T,H))}subscribe(T,H,ae){return this._subject.subscribe({next:T,error:H,complete:ae})}}return A.normalizeQueryParams=Be,A.joinWithSlash=le,A.stripTrailingSlash=ke,A.\u0275fac=function(T){return new(T||A)(c.LFG(Z),c.LFG(Ce))},A.\u0275prov=c.Yz7({token:A,factory:function(){return function q(){return new z((0,c.LFG)(Z),(0,c.LFG)(Ce))}()},providedIn:"root"}),A})();function Te(A){return A.replace(/\/index.html$/,"")}function ci(A,N){N=encodeURIComponent(N);for(const T of A.split(";")){const H=T.indexOf("="),[ae,$e]=-1==H?[T,""]:[T.slice(0,H),T.slice(H+1)];if(ae.trim()===N)return decodeURIComponent($e)}return null}let tn=(()=>{class A{constructor(T,H,ae,$e){this._iterableDiffers=T,this._keyValueDiffers=H,this._ngEl=ae,this._renderer=$e,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(T){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof T?T.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(T){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof T?T.split(/\s+/):T,this._rawClass&&((0,c.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const T=this._iterableDiffer.diff(this._rawClass);T&&this._applyIterableChanges(T)}else if(this._keyValueDiffer){const T=this._keyValueDiffer.diff(this._rawClass);T&&this._applyKeyValueChanges(T)}}_applyKeyValueChanges(T){T.forEachAddedItem(H=>this._toggleClass(H.key,H.currentValue)),T.forEachChangedItem(H=>this._toggleClass(H.key,H.currentValue)),T.forEachRemovedItem(H=>{H.previousValue&&this._toggleClass(H.key,!1)})}_applyIterableChanges(T){T.forEachAddedItem(H=>{if("string"!=typeof H.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,c.AaK)(H.item)}`);this._toggleClass(H.item,!0)}),T.forEachRemovedItem(H=>this._toggleClass(H.item,!1))}_applyClasses(T){T&&(Array.isArray(T)||T instanceof Set?T.forEach(H=>this._toggleClass(H,!0)):Object.keys(T).forEach(H=>this._toggleClass(H,!!T[H])))}_removeClasses(T){T&&(Array.isArray(T)||T instanceof Set?T.forEach(H=>this._toggleClass(H,!1)):Object.keys(T).forEach(H=>this._toggleClass(H,!1)))}_toggleClass(T,H){(T=T.trim())&&T.split(/\s+/g).forEach(ae=>{H?this._renderer.addClass(this._ngEl.nativeElement,ae):this._renderer.removeClass(this._ngEl.nativeElement,ae)})}}return A.\u0275fac=function(T){return new(T||A)(c.Y36(c.ZZ4),c.Y36(c.aQg),c.Y36(c.SBq),c.Y36(c.Qsj))},A.\u0275dir=c.lG2({type:A,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),A})();class pi{constructor(N,T,H,ae){this.$implicit=N,this.ngForOf=T,this.index=H,this.count=ae}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 jt=(()=>{class A{constructor(T,H,ae){this._viewContainer=T,this._template=H,this._differs=ae,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(T){this._ngForOf=T,this._ngForOfDirty=!0}set ngForTrackBy(T){this._trackByFn=T}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(T){T&&(this._template=T)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const T=this._ngForOf;!this._differ&&T&&(this._differ=this._differs.find(T).create(this.ngForTrackBy))}if(this._differ){const T=this._differ.diff(this._ngForOf);T&&this._applyChanges(T)}}_applyChanges(T){const H=this._viewContainer;T.forEachOperation((ae,$e,nt)=>{if(null==ae.previousIndex)H.createEmbeddedView(this._template,new pi(ae.item,this._ngForOf,-1,-1),null===nt?void 0:nt);else if(null==nt)H.remove(null===$e?void 0:$e);else if(null!==$e){const ht=H.get($e);H.move(ht,nt),ui(ht,ae)}});for(let ae=0,$e=H.length;ae<$e;ae++){const ht=H.get(ae).context;ht.index=ae,ht.count=$e,ht.ngForOf=this._ngForOf}T.forEachIdentityChange(ae=>{ui(H.get(ae.currentIndex),ae)})}static ngTemplateContextGuard(T,H){return!0}}return A.\u0275fac=function(T){return new(T||A)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(c.ZZ4))},A.\u0275dir=c.lG2({type:A,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),A})();function ui(A,N){A.context.$implicit=N.item}let Si=(()=>{class A{constructor(T,H){this._viewContainer=T,this._context=new Gn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=H}set ngIf(T){this._context.$implicit=this._context.ngIf=T,this._updateView()}set ngIfThen(T){gn("ngIfThen",T),this._thenTemplateRef=T,this._thenViewRef=null,this._updateView()}set ngIfElse(T){gn("ngIfElse",T),this._elseTemplateRef=T,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(T,H){return!0}}return A.\u0275fac=function(T){return new(T||A)(c.Y36(c.s_b),c.Y36(c.Rgc))},A.\u0275dir=c.lG2({type:A,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),A})();class Gn{constructor(){this.$implicit=null,this.ngIf=null}}function gn(A,N){if(N&&!N.createEmbeddedView)throw new Error(`${A} must be a TemplateRef, but received '${(0,c.AaK)(N)}'.`)}class di{constructor(N,T){this._viewContainerRef=N,this._templateRef=T,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(N){N&&!this._created?this.create():!N&&this._created&&this.destroy()}}let Nn=(()=>{class A{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(T){this._ngSwitch=T,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(T){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(T)}_matchCase(T){const H=T==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||H,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),H}_updateDefaultCases(T){if(this._defaultViews&&T!==this._defaultUsed){this._defaultUsed=T;for(let H=0;H{class A{constructor(T,H,ae){this.ngSwitch=ae,ae._addCase(),this._view=new di(T,H)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return A.\u0275fac=function(T){return new(T||A)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(Nn,9))},A.\u0275dir=c.lG2({type:A,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),A})(),un=(()=>{class A{constructor(T,H,ae){ae._addDefault(new di(T,H))}}return A.\u0275fac=function(T){return new(T||A)(c.Y36(c.s_b),c.Y36(c.Rgc),c.Y36(Nn,9))},A.\u0275dir=c.lG2({type:A,selectors:[["","ngSwitchDefault",""]]}),A})();class ei{createSubscription(N,T){return N.subscribe({next:T,error:H=>{throw H}})}dispose(N){N.unsubscribe()}onDestroy(N){N.unsubscribe()}}class Oi{createSubscription(N,T){return N.then(T,H=>{throw H})}dispose(N){}onDestroy(N){}}const hr=new Oi,rr=new ei;let fr=(()=>{class A{constructor(T){this._ref=T,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(T){return this._obj?T!==this._obj?(this._dispose(),this.transform(T)):this._latestValue:(T&&this._subscribe(T),this._latestValue)}_subscribe(T){this._obj=T,this._strategy=this._selectStrategy(T),this._subscription=this._strategy.createSubscription(T,H=>this._updateLatestValue(T,H))}_selectStrategy(T){if((0,c.QGY)(T))return hr;if((0,c.F4k)(T))return rr;throw function On(A,N){return new c.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(T,H){T===this._obj&&(this._latestValue=H,this._ref.markForCheck())}}return A.\u0275fac=function(T){return new(T||A)(c.Y36(c.sBO,16))},A.\u0275pipe=c.Yjl({name:"async",type:A,pure:!1}),A})(),Nr=(()=>{class A{}return A.\u0275fac=function(T){return new(T||A)},A.\u0275mod=c.oAB({type:A}),A.\u0275inj=c.cJS({}),A})();const zi="browser";function Ii(A){return A===zi}let Tn=(()=>{class A{}return A.\u0275prov=(0,c.Yz7)({token:A,providedIn:"root",factory:()=>new Ji((0,c.LFG)(De),window)}),A})();class Ji{constructor(N,T){this.document=N,this.window=T,this.offset=()=>[0,0]}setOffset(N){this.offset=Array.isArray(N)?()=>N:N}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(N){this.supportsScrolling()&&this.window.scrollTo(N[0],N[1])}scrollToAnchor(N){if(!this.supportsScrolling())return;const T=function ni(A,N){const T=A.getElementById(N)||A.getElementsByName(N)[0];if(T)return T;if("function"==typeof A.createTreeWalker&&A.body&&(A.body.createShadowRoot||A.body.attachShadow)){const H=A.createTreeWalker(A.body,NodeFilter.SHOW_ELEMENT);let ae=H.currentNode;for(;ae;){const $e=ae.shadowRoot;if($e){const nt=$e.getElementById(N)||$e.querySelector(`[name="${N}"]`);if(nt)return nt}ae=H.nextNode()}}return null}(this.document,N);T&&(this.scrollToElement(T),T.focus())}setHistoryScrollRestoration(N){if(this.supportScrollRestoration()){const T=this.window.history;T&&T.scrollRestoration&&(T.scrollRestoration=N)}}scrollToElement(N){const T=N.getBoundingClientRect(),H=T.left+this.window.pageXOffset,ae=T.top+this.window.pageYOffset,$e=this.offset();this.window.scrollTo(H-$e[0],ae-$e[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const N=Xi(this.window.history)||Xi(Object.getPrototypeOf(this.window.history));return!(!N||!N.writable&&!N.set)}catch(N){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(N){return!1}}}function Xi(A){return Object.getOwnPropertyDescriptor(A,"scrollRestoration")}class Pi{}},520:(qe,ye,C)=>{C.d(ye,{eN:()=>Fe,JF:()=>Pe});var c=C(9808),o=C(4893),g=C(9646),Y=C(8306),ce=C(4351),ie=C(9300),De=C(4004);class Ce{}class ue{}class ee{constructor(P){this.normalizedNames=new Map,this.lazyUpdate=null,P?this.lazyInit="string"==typeof P?()=>{this.headers=new Map,P.split("\n").forEach(L=>{const re=L.indexOf(":");if(re>0){const be=L.slice(0,re),Ue=be.toLowerCase(),ze=L.slice(re+1).trim();this.maybeSetNormalizedName(be,Ue),this.headers.has(Ue)?this.headers.get(Ue).push(ze):this.headers.set(Ue,[ze])}})}:()=>{this.headers=new Map,Object.keys(P).forEach(L=>{let re=P[L];const be=L.toLowerCase();"string"==typeof re&&(re=[re]),re.length>0&&(this.headers.set(be,re),this.maybeSetNormalizedName(L,be))})}:this.headers=new Map}has(P){return this.init(),this.headers.has(P.toLowerCase())}get(P){this.init();const L=this.headers.get(P.toLowerCase());return L&&L.length>0?L[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(P){return this.init(),this.headers.get(P.toLowerCase())||null}append(P,L){return this.clone({name:P,value:L,op:"a"})}set(P,L){return this.clone({name:P,value:L,op:"s"})}delete(P,L){return this.clone({name:P,value:L,op:"d"})}maybeSetNormalizedName(P,L){this.normalizedNames.has(L)||this.normalizedNames.set(L,P)}init(){this.lazyInit&&(this.lazyInit instanceof ee?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(P=>this.applyUpdate(P)),this.lazyUpdate=null))}copyFrom(P){P.init(),Array.from(P.headers.keys()).forEach(L=>{this.headers.set(L,P.headers.get(L)),this.normalizedNames.set(L,P.normalizedNames.get(L))})}clone(P){const L=new ee;return L.lazyInit=this.lazyInit&&this.lazyInit instanceof ee?this.lazyInit:this,L.lazyUpdate=(this.lazyUpdate||[]).concat([P]),L}applyUpdate(P){const L=P.name.toLowerCase();switch(P.op){case"a":case"s":let re=P.value;if("string"==typeof re&&(re=[re]),0===re.length)return;this.maybeSetNormalizedName(P.name,L);const be=("a"===P.op?this.headers.get(L):void 0)||[];be.push(...re),this.headers.set(L,be);break;case"d":const Ue=P.value;if(Ue){let ze=this.headers.get(L);if(!ze)return;ze=ze.filter(_t=>-1===Ue.indexOf(_t)),0===ze.length?(this.headers.delete(L),this.normalizedNames.delete(L)):this.headers.set(L,ze)}else this.headers.delete(L),this.normalizedNames.delete(L)}}forEach(P){this.init(),Array.from(this.normalizedNames.keys()).forEach(L=>P(this.normalizedNames.get(L),this.headers.get(L)))}}class se{encodeKey(P){return ke(P)}encodeValue(P){return ke(P)}decodeKey(P){return decodeURIComponent(P)}decodeValue(P){return decodeURIComponent(P)}}const J=/%(\d[a-f0-9])/gi,le={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function ke(D){return encodeURIComponent(D).replace(J,(P,L)=>{var re;return null!==(re=le[L])&&void 0!==re?re:P})}function Be(D){return`${D}`}class Z{constructor(P={}){if(this.updates=null,this.cloneFrom=null,this.encoder=P.encoder||new se,P.fromString){if(P.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function de(D,P){const L=new Map;return D.length>0&&D.replace(/^\?/,"").split("&").forEach(be=>{const Ue=be.indexOf("="),[ze,_t]=-1==Ue?[P.decodeKey(be),""]:[P.decodeKey(be.slice(0,Ue)),P.decodeValue(be.slice(Ue+1))],ct=L.get(ze)||[];ct.push(_t),L.set(ze,ct)}),L}(P.fromString,this.encoder)}else P.fromObject?(this.map=new Map,Object.keys(P.fromObject).forEach(L=>{const re=P.fromObject[L];this.map.set(L,Array.isArray(re)?re:[re])})):this.map=null}has(P){return this.init(),this.map.has(P)}get(P){this.init();const L=this.map.get(P);return L?L[0]:null}getAll(P){return this.init(),this.map.get(P)||null}keys(){return this.init(),Array.from(this.map.keys())}append(P,L){return this.clone({param:P,value:L,op:"a"})}appendAll(P){const L=[];return Object.keys(P).forEach(re=>{const be=P[re];Array.isArray(be)?be.forEach(Ue=>{L.push({param:re,value:Ue,op:"a"})}):L.push({param:re,value:be,op:"a"})}),this.clone(L)}set(P,L){return this.clone({param:P,value:L,op:"s"})}delete(P,L){return this.clone({param:P,value:L,op:"d"})}toString(){return this.init(),this.keys().map(P=>{const L=this.encoder.encodeKey(P);return this.map.get(P).map(re=>L+"="+this.encoder.encodeValue(re)).join("&")}).filter(P=>""!==P).join("&")}clone(P){const L=new Z({encoder:this.encoder});return L.cloneFrom=this.cloneFrom||this,L.updates=(this.updates||[]).concat(P),L}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(P=>this.map.set(P,this.cloneFrom.map.get(P))),this.updates.forEach(P=>{switch(P.op){case"a":case"s":const L=("a"===P.op?this.map.get(P.param):void 0)||[];L.push(Be(P.value)),this.map.set(P.param,L);break;case"d":if(void 0===P.value){this.map.delete(P.param);break}{let re=this.map.get(P.param)||[];const be=re.indexOf(Be(P.value));-1!==be&&re.splice(be,1),re.length>0?this.map.set(P.param,re):this.map.delete(P.param)}}}),this.cloneFrom=this.updates=null)}}class Ye{constructor(){this.map=new Map}set(P,L){return this.map.set(P,L),this}get(P){return this.map.has(P)||this.map.set(P,P.defaultValue()),this.map.get(P)}delete(P){return this.map.delete(P),this}has(P){return this.map.has(P)}keys(){return this.map.keys()}}function me(D){return"undefined"!=typeof ArrayBuffer&&D instanceof ArrayBuffer}function z(D){return"undefined"!=typeof Blob&&D instanceof Blob}function q(D){return"undefined"!=typeof FormData&&D instanceof FormData}class Te{constructor(P,L,re,be){let Ue;if(this.url=L,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=P.toUpperCase(),function Qe(D){switch(D){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||be?(this.body=void 0!==re?re:null,Ue=be):Ue=re,Ue&&(this.reportProgress=!!Ue.reportProgress,this.withCredentials=!!Ue.withCredentials,Ue.responseType&&(this.responseType=Ue.responseType),Ue.headers&&(this.headers=Ue.headers),Ue.context&&(this.context=Ue.context),Ue.params&&(this.params=Ue.params)),this.headers||(this.headers=new ee),this.context||(this.context=new Ye),this.params){const ze=this.params.toString();if(0===ze.length)this.urlWithParams=L;else{const _t=L.indexOf("?");this.urlWithParams=L+(-1===_t?"?":_tdn.set(dt,P.setHeaders[dt]),Ot)),P.setParams&&(nn=Object.keys(P.setParams).reduce((dn,dt)=>dn.set(dt,P.setParams[dt]),nn)),new Te(re,be,ze,{params:nn,headers:Ot,context:Yt,reportProgress:ct,responseType:Ue,withCredentials:_t})}}var Ne=(()=>((Ne=Ne||{})[Ne.Sent=0]="Sent",Ne[Ne.UploadProgress=1]="UploadProgress",Ne[Ne.ResponseHeader=2]="ResponseHeader",Ne[Ne.DownloadProgress=3]="DownloadProgress",Ne[Ne.Response=4]="Response",Ne[Ne.User=5]="User",Ne))();class ve{constructor(P,L=200,re="OK"){this.headers=P.headers||new ee,this.status=void 0!==P.status?P.status:L,this.statusText=P.statusText||re,this.url=P.url||null,this.ok=this.status>=200&&this.status<300}}class Me extends ve{constructor(P={}){super(P),this.type=Ne.ResponseHeader}clone(P={}){return new Me({headers:P.headers||this.headers,status:void 0!==P.status?P.status:this.status,statusText:P.statusText||this.statusText,url:P.url||this.url||void 0})}}class xe extends ve{constructor(P={}){super(P),this.type=Ne.Response,this.body=void 0!==P.body?P.body:null}clone(P={}){return new xe({body:void 0!==P.body?P.body:this.body,headers:P.headers||this.headers,status:void 0!==P.status?P.status:this.status,statusText:P.statusText||this.statusText,url:P.url||this.url||void 0})}}class Ae extends ve{constructor(P){super(P,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${P.url||"(unknown url)"}`:`Http failure response for ${P.url||"(unknown url)"}: ${P.status} ${P.statusText}`,this.error=P.error||null}}function tt(D,P){return{body:P,headers:D.headers,context:D.context,observe:D.observe,params:D.params,reportProgress:D.reportProgress,responseType:D.responseType,withCredentials:D.withCredentials}}let Fe=(()=>{class D{constructor(L){this.handler=L}request(L,re,be={}){let Ue;if(L instanceof Te)Ue=L;else{let ct,Ot;ct=be.headers instanceof ee?be.headers:new ee(be.headers),be.params&&(Ot=be.params instanceof Z?be.params:new Z({fromObject:be.params})),Ue=new Te(L,re,void 0!==be.body?be.body:null,{headers:ct,context:be.context,params:Ot,reportProgress:be.reportProgress,responseType:be.responseType||"json",withCredentials:be.withCredentials})}const ze=(0,g.of)(Ue).pipe((0,ce.b)(ct=>this.handler.handle(ct)));if(L instanceof Te||"events"===be.observe)return ze;const _t=ze.pipe((0,ie.h)(ct=>ct instanceof xe));switch(be.observe||"body"){case"body":switch(Ue.responseType){case"arraybuffer":return _t.pipe((0,De.U)(ct=>{if(null!==ct.body&&!(ct.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ct.body}));case"blob":return _t.pipe((0,De.U)(ct=>{if(null!==ct.body&&!(ct.body instanceof Blob))throw new Error("Response is not a Blob.");return ct.body}));case"text":return _t.pipe((0,De.U)(ct=>{if(null!==ct.body&&"string"!=typeof ct.body)throw new Error("Response is not a string.");return ct.body}));default:return _t.pipe((0,De.U)(ct=>ct.body))}case"response":return _t;default:throw new Error(`Unreachable: unhandled observe type ${be.observe}}`)}}delete(L,re={}){return this.request("DELETE",L,re)}get(L,re={}){return this.request("GET",L,re)}head(L,re={}){return this.request("HEAD",L,re)}jsonp(L,re){return this.request("JSONP",L,{params:(new Z).append(re,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(L,re={}){return this.request("OPTIONS",L,re)}patch(L,re,be={}){return this.request("PATCH",L,tt(be,re))}post(L,re,be={}){return this.request("POST",L,tt(be,re))}put(L,re,be={}){return this.request("PUT",L,tt(be,re))}}return D.\u0275fac=function(L){return new(L||D)(o.LFG(Ce))},D.\u0275prov=o.Yz7({token:D,factory:D.\u0275fac}),D})();class Ct{constructor(P,L){this.next=P,this.interceptor=L}handle(P){return this.interceptor.intercept(P,this.next)}}const mt=new o.OlP("HTTP_INTERCEPTORS");let Jt=(()=>{class D{intercept(L,re){return re.handle(L)}}return D.\u0275fac=function(L){return new(L||D)},D.\u0275prov=o.Yz7({token:D,factory:D.\u0275fac}),D})();const Xe=/^\)\]\}',?\n/;let Q=(()=>{class D{constructor(L){this.xhrFactory=L}handle(L){if("JSONP"===L.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Y.y(re=>{const be=this.xhrFactory.build();if(be.open(L.method,L.urlWithParams),L.withCredentials&&(be.withCredentials=!0),L.headers.forEach((dt,vt)=>be.setRequestHeader(dt,vt.join(","))),L.headers.has("Accept")||be.setRequestHeader("Accept","application/json, text/plain, */*"),!L.headers.has("Content-Type")){const dt=L.detectContentTypeHeader();null!==dt&&be.setRequestHeader("Content-Type",dt)}if(L.responseType){const dt=L.responseType.toLowerCase();be.responseType="json"!==dt?dt:"text"}const Ue=L.serializeBody();let ze=null;const _t=()=>{if(null!==ze)return ze;const dt=be.statusText||"OK",vt=new ee(be.getAllResponseHeaders()),Le=function je(D){return"responseURL"in D&&D.responseURL?D.responseURL:/^X-Request-URL:/m.test(D.getAllResponseHeaders())?D.getResponseHeader("X-Request-URL"):null}(be)||L.url;return ze=new Me({headers:vt,status:be.status,statusText:dt,url:Le}),ze},ct=()=>{let{headers:dt,status:vt,statusText:Le,url:we}=_t(),V=null;204!==vt&&(V=void 0===be.response?be.responseText:be.response),0===vt&&(vt=V?200:0);let j=vt>=200&&vt<300;if("json"===L.responseType&&"string"==typeof V){const $=V;V=V.replace(Xe,"");try{V=""!==V?JSON.parse(V):null}catch(he){V=$,j&&(j=!1,V={error:he,text:V})}}j?(re.next(new xe({body:V,headers:dt,status:vt,statusText:Le,url:we||void 0})),re.complete()):re.error(new Ae({error:V,headers:dt,status:vt,statusText:Le,url:we||void 0}))},Ot=dt=>{const{url:vt}=_t(),Le=new Ae({error:dt,status:be.status||0,statusText:be.statusText||"Unknown Error",url:vt||void 0});re.error(Le)};let nn=!1;const Yt=dt=>{nn||(re.next(_t()),nn=!0);let vt={type:Ne.DownloadProgress,loaded:dt.loaded};dt.lengthComputable&&(vt.total=dt.total),"text"===L.responseType&&!!be.responseText&&(vt.partialText=be.responseText),re.next(vt)},dn=dt=>{let vt={type:Ne.UploadProgress,loaded:dt.loaded};dt.lengthComputable&&(vt.total=dt.total),re.next(vt)};return be.addEventListener("load",ct),be.addEventListener("error",Ot),be.addEventListener("timeout",Ot),be.addEventListener("abort",Ot),L.reportProgress&&(be.addEventListener("progress",Yt),null!==Ue&&be.upload&&be.upload.addEventListener("progress",dn)),be.send(Ue),re.next({type:Ne.Sent}),()=>{be.removeEventListener("error",Ot),be.removeEventListener("abort",Ot),be.removeEventListener("load",ct),be.removeEventListener("timeout",Ot),L.reportProgress&&(be.removeEventListener("progress",Yt),null!==Ue&&be.upload&&be.upload.removeEventListener("progress",dn)),be.readyState!==be.DONE&&be.abort()}})}}return D.\u0275fac=function(L){return new(L||D)(o.LFG(c.JF))},D.\u0275prov=o.Yz7({token:D,factory:D.\u0275fac}),D})();const K=new o.OlP("XSRF_COOKIE_NAME"),He=new o.OlP("XSRF_HEADER_NAME");class Ge{}let lt=(()=>{class D{constructor(L,re,be){this.doc=L,this.platform=re,this.cookieName=be,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const L=this.doc.cookie||"";return L!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,c.Mx)(L,this.cookieName),this.lastCookieString=L),this.lastToken}}return D.\u0275fac=function(L){return new(L||D)(o.LFG(c.K0),o.LFG(o.Lbi),o.LFG(K))},D.\u0275prov=o.Yz7({token:D,factory:D.\u0275fac}),D})(),St=(()=>{class D{constructor(L,re){this.tokenService=L,this.headerName=re}intercept(L,re){const be=L.url.toLowerCase();if("GET"===L.method||"HEAD"===L.method||be.startsWith("http://")||be.startsWith("https://"))return re.handle(L);const Ue=this.tokenService.getToken();return null!==Ue&&!L.headers.has(this.headerName)&&(L=L.clone({headers:L.headers.set(this.headerName,Ue)})),re.handle(L)}}return D.\u0275fac=function(L){return new(L||D)(o.LFG(Ge),o.LFG(He))},D.\u0275prov=o.Yz7({token:D,factory:D.\u0275fac}),D})(),Ht=(()=>{class D{constructor(L,re){this.backend=L,this.injector=re,this.chain=null}handle(L){if(null===this.chain){const re=this.injector.get(mt,[]);this.chain=re.reduceRight((be,Ue)=>new Ct(be,Ue),this.backend)}return this.chain.handle(L)}}return D.\u0275fac=function(L){return new(L||D)(o.LFG(ue),o.LFG(o.zs3))},D.\u0275prov=o.Yz7({token:D,factory:D.\u0275fac}),D})(),at=(()=>{class D{static disable(){return{ngModule:D,providers:[{provide:St,useClass:Jt}]}}static withOptions(L={}){return{ngModule:D,providers:[L.cookieName?{provide:K,useValue:L.cookieName}:[],L.headerName?{provide:He,useValue:L.headerName}:[]]}}}return D.\u0275fac=function(L){return new(L||D)},D.\u0275mod=o.oAB({type:D}),D.\u0275inj=o.cJS({providers:[St,{provide:mt,useExisting:St,multi:!0},{provide:Ge,useClass:lt},{provide:K,useValue:"XSRF-TOKEN"},{provide:He,useValue:"X-XSRF-TOKEN"}]}),D})(),Pe=(()=>{class D{}return D.\u0275fac=function(L){return new(L||D)},D.\u0275mod=o.oAB({type:D}),D.\u0275inj=o.cJS({providers:[Fe,{provide:Ce,useClass:Ht},Q,{provide:ue,useExisting:Q}],imports:[[at.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),D})()},4893:(qe,ye,C)=>{C.d(ye,{deG:()=>Im,tb:()=>am,AFp:()=>im,ip1:()=>nm,CZH:()=>jc,hGG:()=>VC,z2F:()=>Zc,sBO:()=>DC,Sil:()=>rC,_Vd:()=>Ra,EJc:()=>nC,SBq:()=>Ws,qLn:()=>ca,vpe:()=>co,tBr:()=>ra,XFs:()=>S,OlP:()=>vi,zs3:()=>zr,ZZ4:()=>tu,aQg:()=>nu,soG:()=>Gc,YKP:()=>gp,h0i:()=>fs,PXZ:()=>gC,R0b:()=>Yr,FiY:()=>As,Lbi:()=>sm,g9A:()=>om,n_E:()=>Fa,Qsj:()=>qb,FYo:()=>hp,JOm:()=>ro,q3G:()=>yi,tp0:()=>Ts,Rgc:()=>qs,dDg:()=>dm,GfV:()=>fp,s_b:()=>Na,ifc:()=>Ot,eFA:()=>pm,G48:()=>EC,Gpc:()=>Be,f3M:()=>Mu,_c5:()=>BC,VLi:()=>fC,c2e:()=>lm,zSh:()=>Gl,wAp:()=>qt,vHH:()=>Qe,EiD:()=>Uu,mCW:()=>Ss,qzn:()=>Go,JVY:()=>cg,pB0:()=>fg,eBb:()=>dg,L6k:()=>ug,LAX:()=>hg,cg1:()=>bc,kL8:()=>Lf,yhl:()=>Pu,dqk:()=>vt,sIi:()=>Bs,CqO:()=>zh,QGY:()=>sc,F4k:()=>jh,RDi:()=>N,AaK:()=>J,z3N:()=>_o,qOj:()=>Zl,TTD:()=>zi,_Bn:()=>cp,xp6:()=>Cd,uIk:()=>Jl,Tol:()=>hf,Gre:()=>Af,ekj:()=>fc,Suo:()=>Fp,Xpm:()=>Dt,lG2:()=>$t,Yz7:()=>Q,cJS:()=>He,oAB:()=>Ie,Yjl:()=>bn,Y36:()=>Us,_UZ:()=>oc,BQk:()=>wa,ynx:()=>Ma,qZA:()=>Da,TgZ:()=>Ea,EpF:()=>Hh,n5z:()=>pu,Ikx:()=>vc,LFG:()=>Ni,$8M:()=>$a,$Z:()=>Vh,NdJ:()=>ac,CRH:()=>Lp,kcU:()=>Mo,O4$:()=>eo,oxw:()=>Wh,ALo:()=>Ap,lcZ:()=>Tp,Hsn:()=>Kh,F$t:()=>Yh,Q6J:()=>ic,s9C:()=>uc,VKq:()=>bp,iGM:()=>Rp,MAs:()=>xh,evT:()=>Zu,CHM:()=>Jr,oJD:()=>Hu,LSH:()=>ol,Udp:()=>hc,WFA:()=>lc,d8E:()=>yc,YNc:()=>Th,_uU:()=>yf,Oqu:()=>mc,hij:()=>Ta,AsE:()=>gc,lnq:()=>_c,Gf:()=>kp});var c=C(7579),o=C(727),g=C(8306),Y=C(6451),ce=C(2076),ie=C(5698),De=C(930),Ce=C(4482);function ee(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe((0,ie.q)(1)).subscribe(()=>e())}function se(e){for(let t in e)if(e[t]===se)return t;throw Error("Could not find renamed property on target object.")}function de(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function J(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(J).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 le(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ke=se({__forward_ref__:se});function Be(e){return e.__forward_ref__=Be,e.toString=function(){return J(this())},e}function Z(e){return et(e)?e():e}function et(e){return"function"==typeof e&&e.hasOwnProperty(ke)&&e.__forward_ref__===Be}class Qe extends Error{constructor(t,n){super(function me(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function z(e){return"string"==typeof e?e:null==e?"":String(e)}function q(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():z(e)}function ve(e,t){const n=t?` in ${t}`:"";throw new Qe(-201,`No provider for ${q(e)} found${n}`)}function Ut(e,t){null==e&&function xt(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function Q(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function He(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ge(e){return lt(e,Nt)||lt(e,Pe)}function lt(e,t){return e.hasOwnProperty(t)?e[t]:null}function bt(e){return e&&(e.hasOwnProperty(at)||e.hasOwnProperty(E))?e[at]:null}const Nt=se({\u0275prov:se}),at=se({\u0275inj:se}),Pe=se({ngInjectableDef:se}),E=se({ngInjectorDef:se});var S=(()=>((S=S||{})[S.Default=0]="Default",S[S.Host=1]="Host",S[S.Self=2]="Self",S[S.SkipSelf=4]="SkipSelf",S[S.Optional=8]="Optional",S))();let D;function L(e){const t=D;return D=e,t}function re(e,t,n){const i=Ge(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&S.Optional?null:void 0!==t?t:void ve(J(e),"Injector")}function Ue(e){return{toString:e}.toString()}var ze=(()=>((ze=ze||{})[ze.OnPush=0]="OnPush",ze[ze.Default=1]="Default",ze))(),Ot=(()=>{return(e=Ot||(Ot={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ot;var e})();const nn="undefined"!=typeof globalThis&&globalThis,Yt="undefined"!=typeof window&&window,dn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,vt=nn||"undefined"!=typeof global&&global||Yt||dn,V={},j=[],$=se({\u0275cmp:se}),he=se({\u0275dir:se}),Se=se({\u0275pipe:se}),st=se({\u0275mod:se}),At=se({\u0275fac:se}),Zt=se({__NG_ELEMENT_ID__:se});let Kt=0;function Dt(e){return Ue(()=>{const n={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ze.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||j,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ot.Emulated,id:"c",styles:e.styles||j,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,s=e.features,u=e.pipes;return i.id+=Kt++,i.inputs=kt(e.inputs,n),i.outputs=kt(e.outputs),s&&s.forEach(p=>p(i)),i.directiveDefs=r?()=>("function"==typeof r?r():r).map(Ve):null,i.pipeDefs=u?()=>("function"==typeof u?u():u).map(_e):null,i})}function Ve(e){return en(e)||function kn(e){return e[he]||null}(e)}function _e(e){return function Cn(e){return e[Se]||null}(e)}const te={};function Ie(e){return Ue(()=>{const t={type:e.type,bootstrap:e.bootstrap||j,declarations:e.declarations||j,imports:e.imports||j,exports:e.exports||j,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(te[e.id]=e.type),t})}function kt(e,t){if(null==e)return V;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,t&&(t[r]=s)}return n}const $t=Dt;function bn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function en(e){return e[$]||null}function jn(e,t){const n=e[st]||null;if(!n&&!0===t)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}function Kn(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ci(e){return Array.isArray(e)&&!0===e[1]}function Ki(e){return 0!=(8&e.flags)}function Zi(e){return 2==(2&e.flags)}function On(e){return 1==(1&e.flags)}function ei(e){return null!==e.template}function Oi(e){return 0!=(512&e[2])}function Mi(e,t){return e.hasOwnProperty(At)?e[At]:null}class Nr{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function zi(){return Bi}function Bi(e){return e.type.prototype.ngOnChanges&&(e.setInput=Qr),Qi}function Qi(){const e=lr(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===V)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function Qr(e,t,n,i){const r=lr(e)||function Br(e,t){return e[Ii]=t}(e,{previous:V,current:null}),s=r.current||(r.current={}),u=r.previous,p=this.declaredInputs[n],b=u[p];s[p]=new Nr(b&&b.currentValue,t,u===V),e[i]=t}zi.ngInherit=!0;const Ii="__ngSimpleChanges__";function lr(e){return e[Ii]||null}let A;function N(e){A=e}function T(){return void 0!==A?A:"undefined"!=typeof document?document:void 0}function ae(e){return!!e.listen}const $e={createRenderer:(e,t)=>T()};function ht(e){for(;Array.isArray(e);)e=e[0];return e}function hn(e,t){return ht(t[e])}function zt(e,t){return ht(t[e.index])}function vn(e,t){return e.data[t]}function Sn(e,t){return e[t]}function Vn(e,t){const n=t[e];return Kn(n)?n:n[0]}function wi(e){return 4==(4&e[2])}function er(e){return 128==(128&e[2])}function ki(e,t){return null==t?null:e[t]}function x(e){e[18]=0}function M(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const y={lFrame:Ei(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function gi(){return y.bindingsEnabled}function ot(){return y.lFrame.lView}function sn(){return y.lFrame.tView}function Jr(e){return y.lFrame.contextLView=e,e[8]}function Zn(){let e=bo();for(;null!==e&&64===e.type;)e=e.parent;return e}function bo(){return y.lFrame.currentTNode}function Vi(e,t){const n=y.lFrame;n.currentTNode=e,n.isParent=t}function Xr(){return y.lFrame.isParent}function k(){y.lFrame.isParent=!1}function d(){return y.isInCheckNoChangesMode}function a(e){y.isInCheckNoChangesMode=e}function l(){const e=y.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function v(){return y.lFrame.bindingIndex}function G(){return y.lFrame.bindingIndex++}function ne(e){const t=y.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ke(e,t){const n=y.lFrame;n.bindingIndex=n.bindingRootIndex=e,It(t)}function It(e){y.lFrame.currentDirectiveIndex=e}function Xt(e){const t=y.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function ln(){return y.lFrame.currentQueryIndex}function Vt(e){y.lFrame.currentQueryIndex=e}function rn(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Mn(e,t,n){if(n&S.SkipSelf){let r=t,s=e;for(;!(r=r.parent,null!==r||n&S.Host||(r=rn(s),null===r||(s=s[15],10&r.type))););if(null===r)return!1;t=r,e=s}const i=y.lFrame=li();return i.currentTNode=t,i.lView=e,!0}function $n(e){const t=li(),n=e[1];y.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function li(){const e=y.lFrame,t=null===e?null:e.child;return null===t?Ei(e):t}function Ei(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 ii(){const e=y.lFrame;return y.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Sr=ii;function Ui(){const e=ii();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 Un(){return y.lFrame.selectedIndex}function _i(e){y.lFrame.selectedIndex=e}function Hn(){const e=y.lFrame;return vn(e.tView,e.selectedIndex)}function eo(){y.lFrame.currentNamespace="svg"}function Mo(){!function ho(){y.lFrame.currentNamespace=null}()}function Lt(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[b]<0&&(e[18]+=65536),(p>11>16&&(3&e[2])===t){e[2]+=2048;try{s.call(p)}finally{}}}else try{s.call(p)}finally{}}class Or{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ro(e,t,n){const i=ae(e);let r=0;for(;rt){u=s-1;break}}}for(;s>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let vs=!0;function ys(e){const t=vs;return vs=e,t}let w=0;function B(e,t){const n=ge(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,X(i.data,e),X(t,null),X(i.blueprint,null));const r=Ze(e,t),s=e.injectorIndex;if(Fo(r)){const u=Co(r),p=fo(r,t),b=p[1].data;for(let I=0;I<8;I++)t[s+I]=p[u+I]|b[u+I]}return t[s+8]=r,s}function X(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ge(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ze(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){const s=r[1],u=s.type;if(i=2===u?s.declTNode:1===u?r[6]:null,null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Mt(e,t,n){!function O(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Zt)&&(i=n[Zt]),null==i&&(i=n[Zt]=w++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:Ur:t}(n);if("function"==typeof s){if(!Mn(t,e,i))return i&S.Host?Bt(r,n,i):xn(t,n,i,r);try{const u=s(i);if(null!=u||i&S.Optional)return u;ve(n)}finally{Sr()}}else if("number"==typeof s){let u=null,p=ge(e,t),b=-1,I=i&S.Host?t[16][6]:null;for((-1===p||i&S.SkipSelf)&&(b=-1===p?Ze(e,t):t[p+8],-1!==b&&ea(i,!1)?(u=t[1],p=Co(b),t=fo(b,t)):p=-1);-1!==p;){const F=t[1];if(Ao(s,p,F.data)){const W=mo(p,t,n,u,i,I);if(W!==po)return W}b=t[p+8],-1!==b&&ea(i,t[1].data[p+8]===I)&&Ao(s,p,t)?(u=F,p=Co(b),t=fo(b,t)):p=-1}}}return xn(t,n,i,r)}const po={};function Ur(){return new Lo(Zn(),ot())}function mo(e,t,n,i,r,s){const u=t[1],p=u.data[e+8],F=Ir(p,u,n,null==i?Zi(p)&&vs:i!=u&&0!=(3&p.type),r&S.Host&&s===p);return null!==F?Dr(t,u,F,p):po}function Ir(e,t,n,i,r){const s=e.providerIndexes,u=t.data,p=1048575&s,b=e.directiveStart,F=s>>20,fe=r?p+F:e.directiveEnd;for(let Re=i?p:p+F;Re=b&&Je.type===n)return Re}if(r){const Re=u[b];if(Re&&ei(Re)&&Re.type===n)return b}return null}function Dr(e,t,n,i){let r=e[n];const s=t.data;if(function Js(e){return e instanceof Or}(r)){const u=r;u.resolving&&function pe(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Qe(-200,`Circular dependency in DI detected for ${e}${n}`)}(q(s[n]));const p=ys(u.canSeeViewProviders);u.resolving=!0;const b=u.injectImpl?L(u.injectImpl):null;Mn(e,i,S.Default);try{r=e[n]=u.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function Ft(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){const u=Bi(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,u)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==b&&L(b),ys(p),u.resolving=!1,Sr()}}return r}function Ao(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[At]||Ga(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const s=r[At]||Ga(r);if(s&&s!==n)return s;r=Object.getPrototypeOf(r)}return s=>new s})}function Ga(e){return et(e)?()=>{const t=Ga(Z(e));return t&&t()}:Mi(e)}function $a(e){return function cn(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const i=n.length;let r=0;for(;r{const i=function Wa(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...s){if(this instanceof r)return i.apply(this,s),this;const u=new r(...s);return p.annotation=u,p;function p(b,I,F){const W=b.hasOwnProperty(Bo)?b[Bo]:Object.defineProperty(b,Bo,{value:[]})[Bo];for(;W.length<=F;)W.push(null);return(W[F]=W[F]||[]).push(u),b}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class vi{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=Q({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Im=new vi("AnalyzeForEntryComponents");function Pr(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?to(n,t):t(n))}function gu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ta(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Es(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function km(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Ka(e,t){const n=Ho(e,t);if(n>=0)return e[1|n]}function Ho(e,t){return function yu(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const s=i+(r-i>>1),u=e[s<t?r=s:i=s+1}return~(r<({token:e})),-1),As=ws(Uo("Optional"),8),Ts=ws(Uo("SkipSelf"),4);let sa,aa;function zo(e){var t;return(null===(t=function Xa(){if(void 0===sa&&(sa=null,vt.trustedTypes))try{sa=vt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return sa}())||void 0===t?void 0:t.createHTML(e))||e}function Su(e){var t;return(null===(t=function el(){if(void 0===aa&&(aa=null,vt.trustedTypes))try{aa=vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return aa}())||void 0===t?void 0:t.createHTML(e))||e}class To{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class rg extends To{getTypeName(){return"HTML"}}class og extends To{getTypeName(){return"Style"}}class sg extends To{getTypeName(){return"Script"}}class ag extends To{getTypeName(){return"URL"}}class lg extends To{getTypeName(){return"ResourceURL"}}function _o(e){return e instanceof To?e.changingThisBreaksApplicationSecurity:e}function Go(e,t){const n=Pu(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Pu(e){return e instanceof To&&e.getTypeName()||null}function cg(e){return new rg(e)}function ug(e){return new og(e)}function dg(e){return new sg(e)}function hg(e){return new ag(e)}function fg(e){return new lg(e)}class pg{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(zo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class mg{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const i=this.inertDocument.createElement("body");n.appendChild(i)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=zo(t),n;const i=this.inertDocument.createElement("body");return i.innerHTML=zo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(t){const n=t.attributes;for(let r=n.length-1;0Ss(t.trim())).join(", ")),this.buf.push(" ",u,'="',Vu(b),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();tl.hasOwnProperty(n)&&!Fu.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Vu(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Cg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Eg=/([^\#-~ |!])/g;function Vu(e){return e.replace(/&/g,"&").replace(Cg,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Eg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let la;function Uu(e,t){let n=null;try{la=la||function Ru(e){const t=new mg(e);return function gg(){try{return!!(new window.DOMParser).parseFromString(zo(""),"text/html")}catch(e){return!1}}()?new pg(t):t}(e);let i=t?String(t):"";n=la.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=la.getInertBodyElement(i)}while(i!==s);return zo((new bg).sanitizeChildren(rl(n)||n))}finally{if(n){const i=rl(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function rl(e){return"content"in e&&function Dg(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var yi=(()=>((yi=yi||{})[yi.NONE=0]="NONE",yi[yi.HTML=1]="HTML",yi[yi.STYLE=2]="STYLE",yi[yi.SCRIPT=3]="SCRIPT",yi[yi.URL=4]="URL",yi[yi.RESOURCE_URL=5]="RESOURCE_URL",yi))();function Hu(e){const t=Is();return t?Su(t.sanitize(yi.HTML,e)||""):Go(e,"HTML")?Su(_o(e)):Uu(T(),z(e))}function ol(e){const t=Is();return t?t.sanitize(yi.URL,e)||"":Go(e,"URL")?_o(e):Ss(z(e))}function Is(){const e=ot();return e&&e[12]}const Gu="__ngContext__";function Wi(e,t){e[Gu]=t}function al(e){const t=function Ps(e){return e[Gu]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function cl(e){return e.ngOriginalError}function Vg(e,...t){e.error(...t)}class ca{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),i=function Bg(e){return e&&e.ngErrorLogger||Vg}(t);i(this._console,"ERROR",t),n&&i(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&cl(t);for(;n&&cl(n);)n=cl(n);return n||null}}const Zg=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(vt))();function Zu(e){return e.ownerDocument}function io(e){return e instanceof Function?e():e}var ro=(()=>((ro=ro||{})[ro.Important=1]="Important",ro[ro.DashCase=2]="DashCase",ro))();function dl(e,t){return undefined(e,t)}function Rs(e){const t=e[3];return Ci(t)?t[3]:t}function hl(e){return ed(e[13])}function fl(e){return ed(e[4])}function ed(e){for(;null!==e&&!Ci(e);)e=e[4];return e}function Wo(e,t,n,i,r){if(null!=i){let s,u=!1;Ci(i)?s=i:Kn(i)&&(u=!0,i=i[0]);const p=ht(i);0===e&&null!==n?null==r?sd(t,n,p):xo(t,n,p,r||null,!0):1===e&&null!==n?xo(t,n,p,r||null,!0):2===e?function fd(e,t,n){const i=ua(e,t);i&&function l_(e,t,n,i){ae(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,p,u):3===e&&t.destroyNode(p),null!=s&&function d_(e,t,n,i,r){const s=n[7];s!==ht(n)&&Wo(t,e,i,s,r);for(let p=10;p0&&(e[n-1][4]=i[4]);const s=ta(e,10+t);!function e_(e,t){ks(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const u=s[19];null!==u&&u.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function id(e,t){if(!(256&t[2])){const n=t[11];ae(n)&&n.destroyNode&&ks(e,t,n,3,null,null),function i_(e){let t=e[13];if(!t)return _l(e[1],e);for(;t;){let n=null;if(Kn(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Kn(t)&&_l(t[1],t),t=t[3];null===t&&(t=e),Kn(t)&&_l(t[1],t),n=t&&t[4]}t=n}}(t)}}function _l(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function a_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[r=I]():i[r=-I].unsubscribe(),s+=2}else{const u=i[r=n[s+1]];n[s].call(u)}if(null!==i){for(let s=r+1;ss?"":r[W+1].toLowerCase();const Re=8&i?fe:null;if(Re&&-1!==gd(Re,I,0)||2&i&&I!==fe){if(Hr(i))return!1;u=!0}}}}else{if(!u&&!Hr(i)&&!Hr(b))return!1;if(u&&Hr(b))continue;u=!1,i=b|1&i}}return Hr(i)||u}function Hr(e){return 0==(1&e)}function g_(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let s=!1;for(;r-1)for(n++;n0?'="'+p+'"':"")+"]"}else 8&i?r+="."+u:4&i&&(r+=" "+u);else""!==r&&!Hr(u)&&(t+=bd(s,r),r=""),i=u,s=s||!Hr(i);n++}return""!==r&&(t+=bd(s,r)),t}const an={};function Cd(e){Ed(sn(),ot(),Un()+e,d())}function Ed(e,t,n,i){if(!i)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&fn(t,s,n)}else{const s=e.preOrderHooks;null!==s&&qn(t,s,0,n)}_i(n)}function fa(e,t){return e<<17|t<<2}function jr(e){return e>>17&32767}function El(e){return 2|e}function vo(e){return(131068&e)>>2}function Dl(e,t){return-131069&e|t<<2}function Ml(e){return 1|e}function Rd(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i20&&Ed(e,t,20,d()),n(i,r)}finally{_i(s)}}function Fd(e,t,n){if(Ki(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(p)!=b&&p.push(b),p.push(i,r,u)}}function zd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Gd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function q_(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&Bl(n)}}function Bl(e){for(let i=hl(e);null!==i;i=fl(i))for(let r=10;r0&&Bl(s)}const n=e[1].components;if(null!==n)for(let i=0;i0&&Bl(r)}}function iv(e,t){const n=Vn(t,e),i=n[1];(function rv(e,t){for(let n=t.length;nPromise.resolve(null))();function Zd(e){return e[7]||(e[7]=[])}function qd(e){return e.cleanup||(e.cleanup=[])}function Qd(e,t,n){return(null===e||ei(e))&&(n=function En(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Jd(e,t){const n=e[9],i=n?n.get(ca,null):null;i&&i.handleError(t)}function Xd(e,t,n,i,r){for(let s=0;sthis.processProvider(p,t,n)),to([t],p=>this.processInjectorType(p,[],s)),this.records.set(zl,qo(void 0,this));const u=this.records.get(Gl);this.scope=null!=u?u.value:null,this.source=r||("object"==typeof t?null:J(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Ds,i=S.Default){this.assertNotDestroyed();const r=Eu(this),s=L(void 0);try{if(!(i&S.SkipSelf)){let p=this.records.get(t);if(void 0===p){const b=function bv(e){return"function"==typeof e||"object"==typeof e&&e instanceof vi}(t)&&Ge(t);p=b&&this.injectableDefInScope(b)?qo(Wl(t),Ns):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(i&S.Self?th():this.parent).get(t,n=i&S.Optional&&n===Ds?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[ia]=u[ia]||[]).unshift(J(t)),r)throw u;return function Wm(e,t,n,i){const r=e[ia];throw t[Cu]&&r.unshift(t[Cu]),e.message=function Ym(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=J(t);if(Array.isArray(t))r=t.map(J).join(" -> ");else if("object"==typeof t){let s=[];for(let u in t)if(t.hasOwnProperty(u)){let p=t[u];s.push(u+":"+("string"==typeof p?JSON.stringify(p):J(p)))}r=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Hm,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[ia]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{L(s),Eu(r)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((i,r)=>t.push(J(r))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Qe(205,!1)}processInjectorType(t,n,i){if(!(t=Z(t)))return!1;let r=bt(t);const s=null==r&&t.ngModule||void 0,u=void 0===s?t:s,p=-1!==i.indexOf(u);if(void 0!==s&&(r=bt(s)),null==r)return!1;if(null!=r.imports&&!p){let F;i.push(u);try{to(r.imports,W=>{this.processInjectorType(W,n,i)&&(void 0===F&&(F=[]),F.push(W))})}finally{}if(void 0!==F)for(let W=0;Wthis.processProvider(Je,fe,Re||j))}}this.injectorDefTypes.add(u);const b=Mi(u)||(()=>new u);this.records.set(u,qo(b,Ns));const I=r.providers;if(null!=I&&!p){const F=t;to(I,W=>this.processProvider(W,F,I))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,i){let r=Qo(t=Z(t))?t:Z(t&&t.provide);const s=function pv(e,t,n){return oh(e)?qo(void 0,e.useValue):qo(rh(e),Ns)}(t);if(Qo(t)||!0!==t.multi)this.records.get(r);else{let u=this.records.get(r);u||(u=qo(void 0,Ns,!0),u.factory=()=>Qa(u.multi),this.records.set(r,u)),r=t,u.multi.push(t)}this.records.set(r,s)}hydrate(t,n){return n.value===Ns&&(n.value=dv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Z(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Wl(e){const t=Ge(e),n=null!==t?t.factory:Mi(e);if(null!==n)return n;if(e instanceof vi)throw new Qe(204,!1);if(e instanceof Function)return function fv(e){const t=e.length;if(t>0)throw Es(t,"?"),new Qe(204,!1);const n=function St(e){const t=e&&(e[Nt]||e[Pe]);if(t){const n=function Ht(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Qe(204,!1)}function rh(e,t,n){let i;if(Qo(e)){const r=Z(e);return Mi(r)||Wl(r)}if(oh(e))i=()=>Z(e.useValue);else if(function gv(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Qa(e.deps||[]));else if(function mv(e){return!(!e||!e.useExisting)}(e))i=()=>Ni(Z(e.useExisting));else{const r=Z(e&&(e.useClass||e.provide));if(!function vv(e){return!!e.deps}(e))return Mi(r)||Wl(r);i=()=>new r(...Qa(e.deps))}return i}function qo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function oh(e){return null!==e&&"object"==typeof e&&zm in e}function Qo(e){return"function"==typeof e}let zr=(()=>{class e{static create(n,i){var r;if(Array.isArray(n))return nh({name:""},i,n,"");{const s=null!==(r=n.name)&&void 0!==r?r:"";return nh({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Ds,e.NULL=new eh,e.\u0275prov=Q({token:e,providedIn:"any",factory:()=>Ni(zl)}),e.__NG_ELEMENT_ID__=-1,e})();function xv(e,t){Lt(al(e)[1],Zn())}function Zl(e){let t=function _h(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let r;if(ei(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Qe(903,"");r=t.\u0275dir}if(r){if(n){i.push(r);const u=e;u.inputs=ql(e.inputs),u.declaredInputs=ql(e.declaredInputs),u.outputs=ql(e.outputs);const p=r.hostBindings;p&&Pv(e,p);const b=r.viewQuery,I=r.contentQueries;if(b&&Ov(e,b),I&&Iv(e,I),de(e.inputs,r.inputs),de(e.declaredInputs,r.declaredInputs),de(e.outputs,r.outputs),ei(r)&&r.data.animation){const F=e.data;F.animation=(F.animation||[]).concat(r.data.animation)}}const s=r.features;if(s)for(let u=0;u=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=ko(r.hostAttrs,n=ko(n,r.hostAttrs))}}(i)}function ql(e){return e===V?{}:e===j?[]:e}function Ov(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function Iv(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,s)=>{t(i,r,s),n(i,r,s)}:t}function Pv(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}let ya=null;function Jo(){if(!ya){const e=vt.Symbol;if(e&&e.iterator)ya=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;np(ht(yn[i.index])):i.index;if(ae(n)){let yn=null;if(!p&&b&&(yn=function ly(e,t,n,i){const r=e.cleanup;if(null!=r)for(let s=0;sb?p[b]:null}"string"==typeof u&&(s+=2)}return null}(e,t,r,i.index)),null!==yn)(yn.__ngLastListenerFn__||yn).__ngNextListenerFn__=s,yn.__ngLastListenerFn__=s,Re=!1;else{s=cc(i,t,W,s,!1);const In=n.listen(wt,r,s);fe.push(s,In),F&&F.push(r,Gt,it,it+1)}}else s=cc(i,t,W,s,!0),wt.addEventListener(r,s,u),fe.push(s),F&&F.push(r,Gt,it,u)}else s=cc(i,t,W,s,!1);const Je=i.outputs;let ut;if(Re&&null!==Je&&(ut=Je[r])){const pt=ut.length;if(pt)for(let wt=0;wt0;)t=t[15],e--;return t}(e,y.lFrame.contextLView))[8]}(e)}function cy(e,t){let n=null;const i=function __(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let r=0;r=0}const xi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sf(e){return e.substring(xi.key,xi.keyEnd)}function af(e,t){const n=xi.textEnd;return n===t?-1:(t=xi.keyEnd=function gy(e,t,n){for(;t32;)t++;return t}(e,xi.key=t,n),cs(e,t,n))}function cs(e,t,n){for(;t=0;n=af(t,n))Mr(e,sf(t),!0)}function $r(e,t,n,i){const r=ot(),s=sn(),u=ne(2);s.firstUpdatePass&&pf(s,e,u,i),t!==an&&Yi(r,u,t)&&gf(s,s.data[Un()],r,r[11],e,r[u+1]=function Ay(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=J(_o(e)))),e}(t,n),i,u)}function Wr(e,t,n,i){const r=sn(),s=ne(2);r.firstUpdatePass&&pf(r,null,s,i);const u=ot();if(n!==an&&Yi(u,s,n)){const p=r.data[Un()];if(vf(p,i)&&!ff(r,s)){let b=i?p.classesWithoutHost:p.stylesWithoutHost;null!==b&&(n=le(b,n||"")),rc(r,p,u,n,i)}else!function wy(e,t,n,i,r,s,u,p){r===an&&(r=j);let b=0,I=0,F=0=e.expandoStartIndex}function pf(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[Un()],u=ff(e,n);vf(s,i)&&null===t&&!u&&(t=!1),t=function by(e,t,n,i){const r=Xt(e);let s=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Hs(n=pc(null,e,t,n,i),t.attrs,i),s=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==r)if(n=pc(r,e,t,n,i),null===s){let b=function Cy(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==vo(i))return e[jr(i)]}(e,t,i);void 0!==b&&Array.isArray(b)&&(b=pc(null,e,t,b[1],i),b=Hs(b,t.attrs,i),function Ey(e,t,n,i){e[jr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,b))}else s=function Dy(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(I=!0)}else F=n;if(r)if(0!==b){const fe=jr(e[p+1]);e[i+1]=fa(fe,p),0!==fe&&(e[fe+1]=Dl(e[fe+1],i)),e[p+1]=function M_(e,t){return 131071&e|t<<17}(e[p+1],i)}else e[i+1]=fa(p,0),0!==p&&(e[p+1]=Dl(e[p+1],i)),p=i;else e[i+1]=fa(b,0),0===p?p=i:e[b+1]=Dl(e[b+1],i),b=i;I&&(e[i+1]=El(e[i+1])),rf(e,F,i,!0),rf(e,F,i,!1),function dy(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Ho(s,t)>=0&&(n[i+1]=Ml(n[i+1]))}(t,F,e,i,s),u=fa(p,b),s?t.classBindings=u:t.styleBindings=u}(r,s,t,n,u,i)}}function pc(e,t,n,i,r){let s=null;const u=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p0;){const b=e[r],I=Array.isArray(b),F=I?b[1]:b,W=null===F;let fe=n[r+1];fe===an&&(fe=W?j:void 0);let Re=W?Ka(fe,i):F===i?fe:void 0;if(I&&!Aa(Re)&&(Re=Ka(b,i)),Aa(Re)&&(p=Re,u))return p;const Je=e[r+1];r=u?jr(Je):vo(Je)}if(null!==t){let b=s?t.residualClasses:t.residualStyles;null!=b&&(p=Ka(b,i))}return p}function Aa(e){return void 0!==e}function vf(e,t){return 0!=(e.flags&(t?16:32))}function yf(e,t=""){const n=ot(),i=sn(),r=e+20,s=i.firstCreatePass?Yo(i,r,1,t,null):i.data[r],u=n[r]=function pl(e,t){return ae(e)?e.createText(t):e.createTextNode(t)}(n[11],t);da(i,n,u,s),Vi(s,!1)}function mc(e){return Ta("",e,""),mc}function Ta(e,t,n){const i=ot(),r=es(i,e,t,n);return r!==an&&yo(i,Un(),r),Ta}function gc(e,t,n,i,r){const s=ot(),u=function ts(e,t,n,i,r,s){const p=So(e,v(),n,r);return ne(2),p?t+z(n)+i+z(r)+s:an}(s,e,t,n,i,r);return u!==an&&yo(s,Un(),u),gc}function _c(e,t,n,i,r,s,u){const p=ot(),b=ns(p,e,t,n,i,r,s,u);return b!==an&&yo(p,Un(),b),_c}function Af(e,t,n){Wr(Mr,lo,es(ot(),e,t,n),!0)}function vc(e,t,n){const i=ot();return Yi(i,G(),t)&&wr(sn(),Hn(),i,e,t,i[11],n,!0),vc}function yc(e,t,n){const i=ot();if(Yi(i,G(),t)){const s=sn(),u=Hn();wr(s,u,i,e,t,Qd(Xt(s.data),u,i),n,!0)}return yc}const Oo=void 0;var $y=["en",[["a","p"],["AM","PM"],Oo],[["AM","PM"],Oo,Oo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Oo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Oo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Oo,"{1} 'at' {0}",Oo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Gy(e){const n=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let us={};function bc(e){const t=function Wy(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Nf(t);if(n)return n;const i=t.split("-")[0];if(n=Nf(i),n)return n;if("en"===i)return $y;throw new Error(`Missing locale data for the locale "${e}".`)}function Lf(e){return bc(e)[qt.PluralCase]}function Nf(e){return e in us||(us[e]=vt.ng&&vt.ng.common&&vt.ng.common.locales&&vt.ng.common.locales[e]),us[e]}var qt=(()=>((qt=qt||{})[qt.LocaleId=0]="LocaleId",qt[qt.DayPeriodsFormat=1]="DayPeriodsFormat",qt[qt.DayPeriodsStandalone=2]="DayPeriodsStandalone",qt[qt.DaysFormat=3]="DaysFormat",qt[qt.DaysStandalone=4]="DaysStandalone",qt[qt.MonthsFormat=5]="MonthsFormat",qt[qt.MonthsStandalone=6]="MonthsStandalone",qt[qt.Eras=7]="Eras",qt[qt.FirstDayOfWeek=8]="FirstDayOfWeek",qt[qt.WeekendRange=9]="WeekendRange",qt[qt.DateFormat=10]="DateFormat",qt[qt.TimeFormat=11]="TimeFormat",qt[qt.DateTimeFormat=12]="DateTimeFormat",qt[qt.NumberSymbols=13]="NumberSymbols",qt[qt.NumberFormats=14]="NumberFormats",qt[qt.CurrencyCode=15]="CurrencyCode",qt[qt.CurrencySymbol=16]="CurrencySymbol",qt[qt.CurrencyName=17]="CurrencyName",qt[qt.Currencies=18]="Currencies",qt[qt.Directionality=19]="Directionality",qt[qt.PluralCase=20]="PluralCase",qt[qt.ExtraData=21]="ExtraData",qt))();const xa="en-US";let Bf=xa;function Dc(e,t,n,i,r){if(e=Z(e),Array.isArray(e))for(let s=0;s>20;if(Qo(e)||!e.multi){const Re=new Or(b,r,Us),Je=wc(p,t,r?F:F+fe,W);-1===Je?(Mt(B(I,u),s,p),Mc(s,e,t.length),t.push(p),I.directiveStart++,I.directiveEnd++,r&&(I.providerIndexes+=1048576),n.push(Re),u.push(Re)):(n[Je]=Re,u[Je]=Re)}else{const Re=wc(p,t,F+fe,W),Je=wc(p,t,F,F+fe),ut=Re>=0&&n[Re],pt=Je>=0&&n[Je];if(r&&!pt||!r&&!ut){Mt(B(I,u),s,p);const wt=function Gb(e,t,n,i,r){const s=new Or(e,n,Us);return s.multi=[],s.index=t,s.componentProviders=0,lp(s,r,i&&!n),s}(r?zb:jb,n.length,r,i,b);!r&&pt&&(n[Je].providerFactory=wt),Mc(s,e,t.length,0),t.push(p),I.directiveStart++,I.directiveEnd++,r&&(I.providerIndexes+=1048576),n.push(wt),u.push(wt)}else Mc(s,e,Re>-1?Re:Je,lp(n[r?Je:Re],b,!r&&i));!r&&i&&pt&&n[Je].componentProviders++}}}function Mc(e,t,n,i){const r=Qo(t),s=function _v(e){return!!e.useClass}(t);if(r||s){const b=(s?Z(t.useClass):t).prototype.ngOnDestroy;if(b){const I=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const F=I.indexOf(n);-1===F?I.push(n,[i,b]):I[F+1].push(i,b)}else I.push(n,b)}}}function lp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function wc(e,t,n,i){for(let r=n;r{n.providersResolver=(i,r)=>function Hb(e,t,n){const i=sn();if(i.firstCreatePass){const r=ei(e);Dc(n,i.data,i.blueprint,r,!0),Dc(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class up{}class Yb{resolveComponentFactory(t){throw function Wb(e){const t=Error(`No component factory found for ${J(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ra=(()=>{class e{}return e.NULL=new Yb,e})();function Kb(){return hs(Zn(),ot())}function hs(e,t){return new Ws(zt(e,t))}let Ws=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Kb,e})();function Zb(e){return e instanceof Ws?e.nativeElement:e}class hp{}let qb=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Jb(){const e=ot(),n=Vn(Zn().index,e);return function Qb(e){return e[11]}(Kn(n)?n:e)}(),e})(),Xb=(()=>{class e{}return e.\u0275prov=Q({token:e,providedIn:"root",factory:()=>null}),e})();class fp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const e0=new fp("13.2.5"),Tc={};function ka(e,t,n,i,r=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&i.push(ht(s)),Ci(s))for(let p=10;p-1&&(gl(t,i),ta(n,i))}this._attachedToViewContainer=!1}id(this._lView[1],this._lView)}onDestroy(t){Vd(this._lView[1],this._lView,null,t)}markForCheck(){Vl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Hl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function sv(e,t,n){a(!0);try{Hl(e,t,n)}finally{a(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Qe(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function n_(e,t){ks(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Qe(902,"");this._appRef=t}}class t0 extends Ys{constructor(t){super(t),this._view=t}detectChanges(){Kd(this._view)}checkNoChanges(){!function av(e){a(!0);try{Kd(e)}finally{a(!1)}}(this._view)}get context(){return null}}class pp extends Ra{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=en(t);return new xc(n,this.ngModule)}}function mp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class xc extends up{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function E_(e){return e.map(C_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return mp(this.componentDef.inputs)}get outputs(){return mp(this.componentDef.outputs)}create(t,n,i,r){const s=(r=r||this.ngModule)?function r0(e,t){return{get:(n,i,r)=>{const s=e.get(n,Tc,r);return s!==Tc||i===Tc?s:t.get(n,i,r)}}}(t,r.injector):t,u=s.get(hp,$e),p=s.get(Xb,null),b=u.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",F=i?function Bd(e,t,n){if(ae(e))return e.selectRootElement(t,n===Ot.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(b,i,this.componentDef.encapsulation):ml(u.createRenderer(null,this.componentDef),I,function n0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(I)),W=this.componentDef.onPush?576:528,fe=function gh(e,t){return{components:[],scheduler:e||Zg,clean:lv,playerHandler:t||null,flags:0}}(),Re=ga(0,null,null,1,0,null,null,null,null,null),Je=Fs(null,Re,fe,W,null,null,u,b,p,s);let ut,pt;$n(Je);try{const wt=function ph(e,t,n,i,r,s){const u=n[1];n[20]=e;const b=Yo(u,20,2,"#host",null),I=b.mergedAttrs=t.hostAttrs;null!==I&&(va(b,I,!0),null!==e&&(Ro(r,e,I),null!==b.classes&&Cl(r,e,b.classes),null!==b.styles&&md(r,e,b.styles)));const F=i.createRenderer(e,t),W=Fs(n,Ld(t),null,t.onPush?64:16,n[20],b,i,F,s||null,null);return u.firstCreatePass&&(Mt(B(b,n),u,t.type),Gd(u,b),$d(b,n.length,1)),_a(n,W),n[20]=W}(F,this.componentDef,Je,u,b);if(F)if(i)Ro(b,F,["ng-version",e0.full]);else{const{attrs:it,classes:Gt}=function D_(e){const t=[],n=[];let i=1,r=2;for(;i0&&Cl(b,F,Gt.join(" "))}if(pt=vn(Re,20),void 0!==n){const it=pt.projection=[];for(let Gt=0;Gtb(u,t)),t.contentQueries){const b=Zn();t.contentQueries(1,u,b.directiveStart)}const p=Zn();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(_i(p.index),jd(n[1],p,0,p.directiveStart,p.directiveEnd,t),zd(t,u)),u}(wt,this.componentDef,Je,fe,[xv]),Ls(Re,Je,null)}finally{Ui()}return new s0(this.componentType,ut,hs(pt,Je),Je,pt)}}class s0 extends class $b{}{constructor(t,n,i,r,s){super(),this.location=i,this._rootLView=r,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new t0(r),this.componentType=t}get injector(){return new Lo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class fs{}class gp{}const ps=new Map;class yp extends fs{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new pp(this);const i=jn(t);this._bootstrapComponents=io(i.bootstrap),this._r3Injector=ih(t,n,[{provide:fs,useValue:this},{provide:Ra,useValue:this.componentFactoryResolver}],J(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=zr.THROW_IF_NOT_FOUND,i=S.Default){return t===zr||t===fs||t===zl?this:this._r3Injector.get(t,n,i)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Sc extends gp{constructor(t){super(),this.moduleType=t,null!==jn(t)&&function l0(e){const t=new Set;!function n(i){const r=jn(i,!0),s=r.id;null!==s&&(function _p(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${J(t)} vs ${J(t.name)}`)}(s,ps.get(s),i),ps.set(s,i));const u=io(r.imports);for(const p of u)t.has(p)||(t.add(p),n(p))}(e)}(t)}create(t){return new yp(this.moduleType,t)}}function bp(e,t,n,i){return Cp(ot(),l(),e,t,n,i)}function Cp(e,t,n,i,r,s){const u=t+n;return Yi(e,u,r)?function so(e,t,n){return e[t]=n}(e,u+1,s?i.call(s,r):i(r)):function Ks(e,t){const n=e[t];return n===an?void 0:n}(e,u+1)}function Ap(e,t){const n=sn();let i;const r=e+20;n.firstCreatePass?(i=function v0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=Mi(i.type)),u=L(Us);try{const p=ys(!1),b=s();return ys(p),function Uv(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,ot(),r,b),b}finally{L(u)}}function Tp(e,t,n){const i=e+20,r=ot(),s=Sn(r,i);return function Zs(e,t){return e[1].data[t].pure}(r,i)?Cp(r,l(),t,s.transform,n,s):s.transform(n)}function Oc(e){return t=>{setTimeout(e,void 0,t)}}const co=class D0 extends c.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){var r,s,u;let p=t,b=n||(()=>null),I=i;if(t&&"object"==typeof t){const W=t;p=null===(r=W.next)||void 0===r?void 0:r.bind(W),b=null===(s=W.error)||void 0===s?void 0:s.bind(W),I=null===(u=W.complete)||void 0===u?void 0:u.bind(W)}this.__isAsync&&(b=Oc(b),p&&(p=Oc(p)),I&&(I=Oc(I)));const F=super.subscribe({next:p,error:b,complete:I});return t instanceof o.w0&&t.add(F),F}};function M0(){return this._results[Jo()]()}class Fa{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Jo(),i=Fa.prototype;i[n]||(i[n]=M0)}get changes(){return this._changes||(this._changes=new co)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const r=Pr(t);(this._changesDetected=!function Pm(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=T0,e})();const w0=qs,A0=class extends w0{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t){const n=this._declarationTContainer.tViews,i=Fs(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(n)),Ls(n,i,t),new Ys(i)}};function T0(){return La(Zn(),ot())}function La(e,t){return 4&e.type?new A0(t,e,hs(e,t)):null}let Na=(()=>{class e{}return e.__NG_ELEMENT_ID__=x0,e})();function x0(){return Op(Zn(),ot())}const S0=Na,xp=class extends S0{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return hs(this._hostTNode,this._hostLView)}get injector(){return new Lo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ze(this._hostTNode,this._hostLView);if(Fo(t)){const n=fo(t,this._hostLView),i=Co(t);return new Lo(n[1].data[i+8],n)}return new Lo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Sp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){const r=t.createEmbeddedView(n||{});return this.insert(r,i),r}createComponent(t,n,i,r,s){const u=t&&!function Cs(e){return"function"==typeof e}(t);let p;if(u)p=n;else{const W=n||{};p=W.index,i=W.injector,r=W.projectableNodes,s=W.ngModuleRef}const b=u?t:new xc(en(t)),I=i||this.parentInjector;if(!s&&null==b.ngModule){const fe=(u?I:this.parentInjector).get(fs,null);fe&&(s=fe)}const F=b.create(I,r,void 0,s);return this.insert(F.hostView,p),F}insert(t,n){const i=t._lView,r=i[1];if(function Ri(e){return Ci(e[3])}(i)){const F=this.indexOf(t);if(-1!==F)this.detach(F);else{const W=i[3],fe=new xp(W,W[6],W[3]);fe.detach(fe.indexOf(t))}}const s=this._adjustIndex(n),u=this._lContainer;!function r_(e,t,n,i){const r=10+i,s=n.length;i>0&&(n[r-1][4]=t),i0)i.push(u[p/2]);else{const I=s[p+1],F=t[-b];for(let W=10;W{class e{constructor(n){this.appInits=n,this.resolve=Ua,this.reject=Ua,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{s.subscribe({complete:p,error:b})});n.push(u)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Ni(nm,8))},e.\u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const im=new vi("AppId",{providedIn:"root",factory:function rm(){return`${zc()}${zc()}${zc()}`}});function zc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const om=new vi("Platform Initializer"),sm=new vi("Platform ID"),am=new vi("appBootstrapListener");let lm=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Q({token:e,factory:e.\u0275fac}),e})();const Gc=new vi("LocaleId",{providedIn:"root",factory:()=>Mu(Gc,S.Optional|S.SkipSelf)||function tC(){return"undefined"!=typeof $localize&&$localize.locale||xa}()}),nC=new vi("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class iC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let rC=(()=>{class e{compileModuleSync(n){return new Sc(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=io(jn(n).declarations).reduce((u,p)=>{const b=en(p);return b&&u.push(new xc(b)),u},[]);return new iC(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const sC=(()=>Promise.resolve(0))();function $c(e){"undefined"==typeof Zone?sC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Yr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new co(!1),this.onMicrotaskEmpty=new co(!1),this.onStable=new co(!1),this.onError=new co(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function aC(){let e=vt.requestAnimationFrame,t=vt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function uC(e){const t=()=>{!function cC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(vt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Yc(e),e.isCheckStableRunning=!0,Wc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Yc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,u,p)=>{try{return cm(e),n.invokeTask(r,s,u,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),um(e)}},onInvoke:(n,i,r,s,u,p,b)=>{try{return cm(e),n.invoke(r,s,u,p,b)}finally{e.shouldCoalesceRunChangeDetection&&t(),um(e)}},onHasTask:(n,i,r,s)=>{n.hasTask(r,s),i===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Yc(e),Wc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,r,s)=>(n.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Yr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Yr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const s=this._inner,u=s.scheduleEventTask("NgZoneEvent: "+r,t,lC,Ua,Ua);try{return s.runTask(u,n,i)}finally{s.cancelTask(u)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const lC={};function Wc(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 Yc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function cm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function um(e){e._nesting--,Wc(e)}class dC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new co,this.onMicrotaskEmpty=new co,this.onStable=new co,this.onError=new co}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}let dm=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{Yr.assertNotInAngularZone(),$c(()=>{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())$c(()=>{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(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.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,i,r){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:r})}whenStable(n,i,r){if(r&&!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,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,i,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(Ni(Yr))},e.\u0275prov=Q({token:e,factory:e.\u0275fac}),e})(),hm=(()=>{class e{constructor(){this._applications=new Map,Kc.addToWindow(this)}registerApplication(n,i){this._applications.set(n,i)}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,i=!0){return Kc.findTestabilityInTree(this,n,i)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Q({token:e,factory:e.\u0275fac}),e})();class hC{addToWindow(t){}findTestabilityInTree(t,n,i){return null}}function fC(e){Kc=e}let Kr,Kc=new hC;const fm=new vi("AllowMultipleToken");class gC{constructor(t,n){this.name=t,this.token=n}}function pm(e,t,n=[]){const i=`Platform: ${t}`,r=new vi(i);return(s=[])=>{let u=mm();if(!u||u.injector.get(fm,!1))if(e)e(n.concat(s).concat({provide:r,useValue:!0}));else{const p=n.concat(s).concat({provide:r,useValue:!0},{provide:Gl,useValue:"platform"});!function _C(e){if(Kr&&!Kr.destroyed&&!Kr.injector.get(fm,!1))throw new Qe(400,"");Kr=e.get(gm);const t=e.get(om,null);t&&t.forEach(n=>n())}(zr.create({providers:p,name:i}))}return function vC(e){const t=mm();if(!t)throw new Qe(401,"");return t}()}}function mm(){return Kr&&!Kr.destroyed?Kr:null}let gm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const p=function yC(e,t){let n;return n="noop"===e?new dC:("zone.js"===e?void 0:e)||new Yr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),b=[{provide:Yr,useValue:p}];return p.run(()=>{const I=zr.create({providers:b,parent:this.injector,name:n.moduleType.name}),F=n.create(I),W=F.injector.get(ca,null);if(!W)throw new Qe(402,"");return p.runOutsideAngular(()=>{const fe=p.onError.subscribe({next:Re=>{W.handleError(Re)}});F.onDestroy(()=>{qc(this._modules,F),fe.unsubscribe()})}),function bC(e,t,n){try{const i=n();return sc(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(W,p,()=>{const fe=F.injector.get(jc);return fe.runInitializers(),fe.donePromise.then(()=>(function qy(e){Ut(e,"Expected localeId to be defined"),"string"==typeof e&&(Bf=e.toLowerCase().replace(/_/g,"-"))}(F.injector.get(Gc,xa)||xa),this._moduleDoBootstrap(F),F))})})}bootstrapModule(n,i=[]){const r=_m({},i);return function pC(e,t,n){const i=new Sc(n);return Promise.resolve(i)}(0,0,n).then(s=>this.bootstrapModuleFactory(s,r))}_moduleDoBootstrap(n){const i=n.injector.get(Zc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new Qe(403,"");n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Qe(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(Ni(zr))},e.\u0275prov=Q({token:e,factory:e.\u0275fac}),e})();function _m(e,t){return Array.isArray(t)?t.reduce(_m,e):Object.assign(Object.assign({},e),t)}let Zc=(()=>{class e{constructor(n,i,r,s,u){this._zone=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const p=new g.y(I=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{I.next(this._stable),I.complete()})}),b=new g.y(I=>{let F;this._zone.runOutsideAngular(()=>{F=this._zone.onStable.subscribe(()=>{Yr.assertNotInAngularZone(),$c(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,I.next(!0))})})});const W=this._zone.onUnstable.subscribe(()=>{Yr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{I.next(!1)}))});return()=>{F.unsubscribe(),W.unsubscribe()}});this.isStable=(0,Y.T)(p,b.pipe(function ue(e={}){const{connector:t=(()=>new c.x),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return s=>{let u=null,p=null,b=null,I=0,F=!1,W=!1;const fe=()=>{null==p||p.unsubscribe(),p=null},Re=()=>{fe(),u=b=null,F=W=!1},Je=()=>{const ut=u;Re(),null==ut||ut.unsubscribe()};return(0,Ce.e)((ut,pt)=>{I++,!W&&!F&&fe();const wt=b=null!=b?b:t();pt.add(()=>{I--,0===I&&!W&&!F&&(p=ee(Je,r))}),wt.subscribe(pt),u||(u=new De.Hp({next:it=>wt.next(it),error:it=>{W=!0,fe(),p=ee(Re,n,it),wt.error(it)},complete:()=>{F=!0,fe(),p=ee(Re,i),wt.complete()}}),(0,ce.D)(ut).subscribe(u))})(s)}}()))}bootstrap(n,i){if(!this._initStatus.done)throw new Qe(405,"");let r;r=n instanceof up?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(r.componentType);const s=function mC(e){return e.isBoundToModule}(r)?void 0:this._injector.get(fs),p=r.create(zr.NULL,[],i||r.selector,s),b=p.location.nativeElement,I=p.injector.get(dm,null),F=I&&p.injector.get(hm);return I&&F&&F.registerApplication(b,I),p.onDestroy(()=>{this.detachView(p.hostView),qc(this.components,p),F&&F.unregisterApplication(b)}),this._loadComponent(p),p}tick(){if(this._runningTick)throw new Qe(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;qc(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(am,[]).concat(this._bootstrapListeners).forEach(r=>r(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(Ni(Yr),Ni(zr),Ni(ca),Ni(Ra),Ni(jc))},e.\u0275prov=Q({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function qc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let ym=!0;function EC(){ym=!1}let DC=(()=>{class e{}return e.__NG_ELEMENT_ID__=MC,e})();function MC(e){return function wC(e,t,n){if(Zi(e)&&!n){const i=Vn(e.index,t);return new Ys(i,i)}return 47&e.type?new Ys(t[16],t):null}(Zn(),ot(),16==(16&e))}class Mm{constructor(){}supports(t){return Bs(t)}create(t){return new IC(t)}}const OC=(e,t)=>t;class IC{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||OC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,s=null;for(;n||i;){const u=!i||n&&n.currentIndex{u=this._trackByFn(r,p),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,p,u,r)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,u,r),i=!0),n=n._next,r++}),this.length=r;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,i,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,r)):t=this._addAfter(new PC(n,i),s,r),t}_verifyReinsertion(t,n,i,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new wm),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._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 wm),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 PC{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 RC{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class wm{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new RC,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.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 Am(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._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 r=this._records.get(t);this._maybeAddToChanges(r,n);const s=r._prev,u=r._next;return s&&(s._next=u),u&&(u._prev=s),r._next=null,r._prev=null,r}const i=new FC(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_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(i=>n(t[i],i))}}class FC{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 xm(){return new tu([new Mm])}let tu=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||xm()),deps:[[e,new Ts,new As]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new Qe(901,"")}}return e.\u0275prov=Q({token:e,providedIn:"root",factory:xm}),e})();function Sm(){return new nu([new Tm])}let nu=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Sm()),deps:[[e,new Ts,new As]]}}find(n){const i=this.factories.find(s=>s.supports(n));if(i)return i;throw new Qe(901,"")}}return e.\u0275prov=Q({token:e,providedIn:"root",factory:Sm}),e})();const BC=pm(null,"core",[{provide:sm,useValue:"unknown"},{provide:gm,deps:[zr]},{provide:hm,deps:[]},{provide:lm,deps:[]}]);let VC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Ni(Zc))},e.\u0275mod=Ie({type:e}),e.\u0275inj=He({}),e})()},2382:(qe,ye,C)=>{C.d(ye,{Zs:()=>T,sg:()=>sr,u5:()=>Vn,Cf:()=>pe,JU:()=>ke,a5:()=>at,JL:()=>L,F:()=>gn,kI:()=>ve,_Y:()=>On});var c=C(4893),g=(C(9808),C(8306)),Y=C(4742),ce=C(8421),ie=C(3269),De=C(5403),Ce=C(3268),ue=C(1810),se=C(2076),de=C(4004);const ke=new c.OlP("NgValueAccessor");function z(x){return null==x||0===x.length}function q(x){return null!=x&&"number"==typeof x.length}const pe=new c.OlP("NgValidators"),Te=new c.OlP("NgAsyncValidators"),Ne=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ve{static min(M){return function Me(x){return M=>{if(z(M.value)||z(x))return null;const y=parseFloat(M.value);return!isNaN(y)&&y{if(z(M.value)||z(x))return null;const y=parseFloat(M.value);return!isNaN(y)&&y>x?{max:{max:x,actual:M.value}}:null}}(M)}static required(M){return Ae(M)}static requiredTrue(M){return tt(M)}static email(M){return function Fe(x){return z(x.value)||Ne.test(x.value)?null:{email:!0}}(M)}static minLength(M){return function Ct(x){return M=>z(M.value)||!q(M.value)?null:M.value.lengthq(M.value)&&M.value.length>x?{maxlength:{requiredLength:x,actualLength:M.value.length}}:null}(M)}static pattern(M){return function Jt(x){if(!x)return yt;let M,y;return"string"==typeof x?(y="","^"!==x.charAt(0)&&(y+="^"),y+=x,"$"!==x.charAt(x.length-1)&&(y+="$"),M=new RegExp(y)):(y=x.toString(),M=x),U=>{if(z(U.value))return null;const We=U.value;return M.test(We)?null:{pattern:{requiredPattern:y,actualValue:We}}}}(M)}static nullValidator(M){return null}static compose(M){return on(M)}static composeAsync(M){return je(M)}}function Ae(x){return z(x.value)?{required:!0}:null}function tt(x){return!0===x.value?null:{required:!0}}function yt(x){return null}function Rt(x){return null!=x}function Wt(x){const M=(0,c.QGY)(x)?(0,se.D)(x):x;return(0,c.CqO)(M),M}function Pt(x){let M={};return x.forEach(y=>{M=null!=y?Object.assign(Object.assign({},M),y):M}),0===Object.keys(M).length?null:M}function mn(x,M){return M.map(y=>y(x))}function xt(x){return x.map(M=>function Ut(x){return!x.validate}(M)?M:y=>M.validate(y))}function on(x){if(!x)return null;const M=x.filter(Rt);return 0==M.length?null:function(y){return Pt(mn(y,M))}}function Xe(x){return null!=x?on(xt(x)):null}function je(x){if(!x)return null;const M=x.filter(Rt);return 0==M.length?null:function(y){return function ee(...x){const M=(0,ie.jO)(x),{args:y,keys:U}=(0,Y.D)(x),We=new g.y(Et=>{const{length:Dn}=y;if(!Dn)return void Et.complete();const gi=new Array(Dn);let Gi=Dn,Fi=Dn;for(let ot=0;ot{sn||(sn=!0,Fi--),gi[ot]=Jr},()=>Gi--,void 0,()=>{(!Gi||!sn)&&(Fi||Et.next(U?(0,ue.n)(U,gi):gi),Et.complete())}))}});return M?We.pipe((0,Ce.Z)(M)):We}(mn(y,M).map(Wt)).pipe((0,de.U)(Pt))}}function Q(x){return null!=x?je(xt(x)):null}function K(x,M){return null===x?[M]:Array.isArray(x)?[...x,M]:[x,M]}function He(x){return x._rawValidators}function Ge(x){return x._rawAsyncValidators}function lt(x){return x?Array.isArray(x)?x:[x]:[]}function St(x,M){return Array.isArray(x)?x.includes(M):x===M}function Ht(x,M){const y=lt(M);return lt(x).forEach(We=>{St(y,We)||y.push(We)}),y}function bt(x,M){return lt(M).filter(y=>!St(x,y))}class Nt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(M){this._rawValidators=M||[],this._composedValidatorFn=Xe(this._rawValidators)}_setAsyncValidators(M){this._rawAsyncValidators=M||[],this._composedAsyncValidatorFn=Q(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(M){this._onDestroyCallbacks.push(M)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(M=>M()),this._onDestroyCallbacks=[]}reset(M){this.control&&this.control.reset(M)}hasError(M,y){return!!this.control&&this.control.hasError(M,y)}getError(M,y){return this.control?this.control.getError(M,y):null}}class at extends Nt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Pe extends Nt{get formDirective(){return null}get path(){return null}}let L=(()=>{class x extends class E{constructor(M){this._cd=M}is(M){var y,U,We;return"submitted"===M?!!(null===(y=this._cd)||void 0===y?void 0:y.submitted):!!(null===(We=null===(U=this._cd)||void 0===U?void 0:U.control)||void 0===We?void 0:We[M])}}{constructor(y){super(y)}}return x.\u0275fac=function(y){return new(y||x)(c.Y36(Pe,10))},x.\u0275dir=c.lG2({type:x,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(y,U){2&y&&c.ekj("ng-untouched",U.is("untouched"))("ng-touched",U.is("touched"))("ng-pristine",U.is("pristine"))("ng-dirty",U.is("dirty"))("ng-valid",U.is("valid"))("ng-invalid",U.is("invalid"))("ng-pending",U.is("pending"))("ng-submitted",U.is("submitted"))},features:[c.qOj]}),x})();function he(x,M){Zt(x,M),M.valueAccessor.writeValue(x.value),function Dt(x,M){M.valueAccessor.registerOnChange(y=>{x._pendingValue=y,x._pendingChange=!0,x._pendingDirty=!0,"change"===x.updateOn&&Ve(x,M)})}(x,M),function _e(x,M){const y=(U,We)=>{M.valueAccessor.writeValue(U),We&&M.viewToModelUpdate(U)};x.registerOnChange(y),M._registerOnDestroy(()=>{x._unregisterOnChange(y)})}(x,M),function Rn(x,M){M.valueAccessor.registerOnTouched(()=>{x._pendingTouched=!0,"blur"===x.updateOn&&x._pendingChange&&Ve(x,M),"submit"!==x.updateOn&&x.markAsTouched()})}(x,M),function At(x,M){if(M.valueAccessor.setDisabledState){const y=U=>{M.valueAccessor.setDisabledState(U)};x.registerOnDisabledChange(y),M._registerOnDestroy(()=>{x._unregisterOnDisabledChange(y)})}}(x,M)}function Se(x,M,y=!0){const U=()=>{};M.valueAccessor&&(M.valueAccessor.registerOnChange(U),M.valueAccessor.registerOnTouched(U)),Kt(x,M),x&&(M._invokeOnDestroyCallbacks(),x._registerOnCollectionChange(()=>{}))}function st(x,M){x.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(M)})}function Zt(x,M){const y=He(x);null!==M.validator?x.setValidators(K(y,M.validator)):"function"==typeof y&&x.setValidators([y]);const U=Ge(x);null!==M.asyncValidator?x.setAsyncValidators(K(U,M.asyncValidator)):"function"==typeof U&&x.setAsyncValidators([U]);const We=()=>x.updateValueAndValidity();st(M._rawValidators,We),st(M._rawAsyncValidators,We)}function Kt(x,M){let y=!1;if(null!==x){if(null!==M.validator){const We=He(x);if(Array.isArray(We)&&We.length>0){const Et=We.filter(Dn=>Dn!==M.validator);Et.length!==We.length&&(y=!0,x.setValidators(Et))}}if(null!==M.asyncValidator){const We=Ge(x);if(Array.isArray(We)&&We.length>0){const Et=We.filter(Dn=>Dn!==M.asyncValidator);Et.length!==We.length&&(y=!0,x.setAsyncValidators(Et))}}}const U=()=>{};return st(M._rawValidators,U),st(M._rawAsyncValidators,U),y}function Ve(x,M){x._pendingDirty&&x.markAsDirty(),x.setValue(x._pendingValue,{emitModelToViewChange:!1}),M.viewToModelUpdate(x._pendingValue),x._pendingChange=!1}function te(x,M){Zt(x,M)}function en(x,M){x._syncPendingControls(),M.forEach(y=>{const U=y.control;"submit"===U.updateOn&&U._pendingChange&&(y.viewToModelUpdate(U._pendingValue),U._pendingChange=!1)})}function Cn(x,M){const y=x.indexOf(M);y>-1&&x.splice(y,1)}const Wn="VALID",bi="INVALID",si="PENDING",fi="DISABLED";function ji(x){return(pn(x)?x.validators:x)||null}function zn(x){return Array.isArray(x)?Xe(x):x||null}function ft(x,M){return(pn(M)?M.asyncValidators:x)||null}function Qt(x){return Array.isArray(x)?Q(x):x||null}function pn(x){return null!=x&&!Array.isArray(x)&&"object"==typeof x}const Fn=x=>x instanceof jt,ai=x=>x instanceof ui;function ci(x){return Fn(x)?x.value:x.getRawValue()}function tn(x,M){const y=ai(x),U=x.controls;if(!(y?Object.keys(U):U).length)throw new c.vHH(1e3,"");if(!U[M])throw new c.vHH(1001,"")}function Yn(x,M){ai(x),x._forEachChild((U,We)=>{if(void 0===M[We])throw new c.vHH(1002,"")})}class pi{constructor(M,y){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=M,this._rawAsyncValidators=y,this._composedValidatorFn=zn(this._rawValidators),this._composedAsyncValidatorFn=Qt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(M){this._rawValidators=this._composedValidatorFn=M}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(M){this._rawAsyncValidators=this._composedAsyncValidatorFn=M}get parent(){return this._parent}get valid(){return this.status===Wn}get invalid(){return this.status===bi}get pending(){return this.status==si}get disabled(){return this.status===fi}get enabled(){return this.status!==fi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(M){this._rawValidators=M,this._composedValidatorFn=zn(M)}setAsyncValidators(M){this._rawAsyncValidators=M,this._composedAsyncValidatorFn=Qt(M)}addValidators(M){this.setValidators(Ht(M,this._rawValidators))}addAsyncValidators(M){this.setAsyncValidators(Ht(M,this._rawAsyncValidators))}removeValidators(M){this.setValidators(bt(M,this._rawValidators))}removeAsyncValidators(M){this.setAsyncValidators(bt(M,this._rawAsyncValidators))}hasValidator(M){return St(this._rawValidators,M)}hasAsyncValidator(M){return St(this._rawAsyncValidators,M)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(M={}){this.touched=!0,this._parent&&!M.onlySelf&&this._parent.markAsTouched(M)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(M=>M.markAllAsTouched())}markAsUntouched(M={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(y=>{y.markAsUntouched({onlySelf:!0})}),this._parent&&!M.onlySelf&&this._parent._updateTouched(M)}markAsDirty(M={}){this.pristine=!1,this._parent&&!M.onlySelf&&this._parent.markAsDirty(M)}markAsPristine(M={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(y=>{y.markAsPristine({onlySelf:!0})}),this._parent&&!M.onlySelf&&this._parent._updatePristine(M)}markAsPending(M={}){this.status=si,!1!==M.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!M.onlySelf&&this._parent.markAsPending(M)}disable(M={}){const y=this._parentMarkedDirty(M.onlySelf);this.status=fi,this.errors=null,this._forEachChild(U=>{U.disable(Object.assign(Object.assign({},M),{onlySelf:!0}))}),this._updateValue(),!1!==M.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},M),{skipPristineCheck:y})),this._onDisabledChange.forEach(U=>U(!0))}enable(M={}){const y=this._parentMarkedDirty(M.onlySelf);this.status=Wn,this._forEachChild(U=>{U.enable(Object.assign(Object.assign({},M),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},M),{skipPristineCheck:y})),this._onDisabledChange.forEach(U=>U(!1))}_updateAncestors(M){this._parent&&!M.onlySelf&&(this._parent.updateValueAndValidity(M),M.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(M){this._parent=M}updateValueAndValidity(M={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wn||this.status===si)&&this._runAsyncValidator(M.emitEvent)),!1!==M.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!M.onlySelf&&this._parent.updateValueAndValidity(M)}_updateTreeValidity(M={emitEvent:!0}){this._forEachChild(y=>y._updateTreeValidity(M)),this.updateValueAndValidity({onlySelf:!0,emitEvent:M.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fi:Wn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(M){if(this.asyncValidator){this.status=si,this._hasOwnPendingAsyncValidator=!0;const y=Wt(this.asyncValidator(this));this._asyncValidationSubscription=y.subscribe(U=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(U,{emitEvent:M})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(M,y={}){this.errors=M,this._updateControlsErrors(!1!==y.emitEvent)}get(M){return function Ln(x,M,y){if(null==M||(Array.isArray(M)||(M=M.split(y)),Array.isArray(M)&&0===M.length))return null;let U=x;return M.forEach(We=>{U=ai(U)?U.controls.hasOwnProperty(We)?U.controls[We]:null:(x=>x instanceof Jn)(U)&&U.at(We)||null}),U}(this,M,".")}getError(M,y){const U=y?this.get(y):this;return U&&U.errors?U.errors[M]:null}hasError(M,y){return!!this.getError(M,y)}get root(){let M=this;for(;M._parent;)M=M._parent;return M}_updateControlsErrors(M){this.status=this._calculateStatus(),M&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(M)}_initObservables(){this.valueChanges=new c.vpe,this.statusChanges=new c.vpe}_calculateStatus(){return this._allControlsDisabled()?fi:this.errors?bi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(si)?si:this._anyControlsHaveStatus(bi)?bi:Wn}_anyControlsHaveStatus(M){return this._anyControls(y=>y.status===M)}_anyControlsDirty(){return this._anyControls(M=>M.dirty)}_anyControlsTouched(){return this._anyControls(M=>M.touched)}_updatePristine(M={}){this.pristine=!this._anyControlsDirty(),this._parent&&!M.onlySelf&&this._parent._updatePristine(M)}_updateTouched(M={}){this.touched=this._anyControlsTouched(),this._parent&&!M.onlySelf&&this._parent._updateTouched(M)}_isBoxedValue(M){return"object"==typeof M&&null!==M&&2===Object.keys(M).length&&"value"in M&&"disabled"in M}_registerOnCollectionChange(M){this._onCollectionChange=M}_setUpdateStrategy(M){pn(M)&&null!=M.updateOn&&(this._updateOn=M.updateOn)}_parentMarkedDirty(M){return!M&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class jt extends pi{constructor(M=null,y,U){super(ji(y),ft(U,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(M),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pn(y)&&y.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(M)?M.value:M)}setValue(M,y={}){this.value=this._pendingValue=M,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach(U=>U(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(M,y={}){this.setValue(M,y)}reset(M=this.defaultValue,y={}){this._applyFormState(M),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(M){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(M){this._onChange.push(M)}_unregisterOnChange(M){Cn(this._onChange,M)}registerOnDisabledChange(M){this._onDisabledChange.push(M)}_unregisterOnDisabledChange(M){Cn(this._onDisabledChange,M)}_forEachChild(M){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(M){this._isBoxedValue(M)?(this.value=this._pendingValue=M.value,M.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=M}}class ui extends pi{constructor(M,y,U){super(ji(y),ft(U,y)),this.controls=M,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(M,y){return this.controls[M]?this.controls[M]:(this.controls[M]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(M,y,U={}){this.registerControl(M,y),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}removeControl(M,y={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),delete this.controls[M],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(M,y,U={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),delete this.controls[M],y&&this.registerControl(M,y),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}contains(M){return this.controls.hasOwnProperty(M)&&this.controls[M].enabled}setValue(M,y={}){Yn(this,M),Object.keys(M).forEach(U=>{tn(this,U),this.controls[U].setValue(M[U],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(M,y={}){null!=M&&(Object.keys(M).forEach(U=>{this.controls[U]&&this.controls[U].patchValue(M[U],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(M={},y={}){this._forEachChild((U,We)=>{U.reset(M[We],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(M,y,U)=>(M[U]=ci(y),M))}_syncPendingControls(){let M=this._reduceChildren(!1,(y,U)=>!!U._syncPendingControls()||y);return M&&this.updateValueAndValidity({onlySelf:!0}),M}_forEachChild(M){Object.keys(this.controls).forEach(y=>{const U=this.controls[y];U&&M(U,y)})}_setUpControls(){this._forEachChild(M=>{M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(M){for(const y of Object.keys(this.controls)){const U=this.controls[y];if(this.contains(y)&&M(U))return!0}return!1}_reduceValue(){return this._reduceChildren({},(M,y,U)=>((y.enabled||this.disabled)&&(M[U]=y.value),M))}_reduceChildren(M,y){let U=M;return this._forEachChild((We,Et)=>{U=y(U,We,Et)}),U}_allControlsDisabled(){for(const M of Object.keys(this.controls))if(this.controls[M].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Jn extends pi{constructor(M,y,U){super(ji(y),ft(U,y)),this.controls=M,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(M){return this.controls[M]}push(M,y={}){this.controls.push(M),this._registerControl(M),this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}insert(M,y,U={}){this.controls.splice(M,0,y),this._registerControl(y),this.updateValueAndValidity({emitEvent:U.emitEvent})}removeAt(M,y={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),this.controls.splice(M,1),this.updateValueAndValidity({emitEvent:y.emitEvent})}setControl(M,y,U={}){this.controls[M]&&this.controls[M]._registerOnCollectionChange(()=>{}),this.controls.splice(M,1),y&&(this.controls.splice(M,0,y),this._registerControl(y)),this.updateValueAndValidity({emitEvent:U.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(M,y={}){Yn(this,M),M.forEach((U,We)=>{tn(this,We),this.at(We).setValue(U,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(M,y={}){null!=M&&(M.forEach((U,We)=>{this.at(We)&&this.at(We).patchValue(U,{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(M=[],y={}){this._forEachChild((U,We)=>{U.reset(M[We],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this.controls.map(M=>ci(M))}clear(M={}){this.controls.length<1||(this._forEachChild(y=>y._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:M.emitEvent}))}_syncPendingControls(){let M=this.controls.reduce((y,U)=>!!U._syncPendingControls()||y,!1);return M&&this.updateValueAndValidity({onlySelf:!0}),M}_forEachChild(M){this.controls.forEach((y,U)=>{M(y,U)})}_updateValue(){this.value=this.controls.filter(M=>M.enabled||this.disabled).map(M=>M.value)}_anyControls(M){return this.controls.some(y=>y.enabled&&M(y))}_setUpControls(){this._forEachChild(M=>this._registerControl(M))}_allControlsDisabled(){for(const M of this.controls)if(M.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(M){M.setParent(this),M._registerOnCollectionChange(this._onCollectionChange)}}const Si={provide:Pe,useExisting:(0,c.Gpc)(()=>gn)},Gn=(()=>Promise.resolve(null))();let gn=(()=>{class x extends Pe{constructor(y,U){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new c.vpe,this.form=new ui({},Xe(y),Q(U))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(y){Gn.then(()=>{const U=this._findContainer(y.path);y.control=U.registerControl(y.name,y.control),he(y.control,y),y.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(y)})}getControl(y){return this.form.get(y.path)}removeControl(y){Gn.then(()=>{const U=this._findContainer(y.path);U&&U.removeControl(y.name),this._directives.delete(y)})}addFormGroup(y){Gn.then(()=>{const U=this._findContainer(y.path),We=new ui({});te(We,y),U.registerControl(y.name,We),We.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(y){Gn.then(()=>{const U=this._findContainer(y.path);U&&U.removeControl(y.name)})}getFormGroup(y){return this.form.get(y.path)}updateModel(y,U){Gn.then(()=>{this.form.get(y.path).setValue(U)})}setValue(y){this.control.setValue(y)}onSubmit(y){return this.submitted=!0,en(this.form,this._directives),this.ngSubmit.emit(y),!1}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(y){return y.pop(),y.length?this.form.get(y):this.form}}return x.\u0275fac=function(y){return new(y||x)(c.Y36(pe,10),c.Y36(Te,10))},x.\u0275dir=c.lG2({type:x,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(y,U){1&y&&c.NdJ("submit",function(Et){return U.onSubmit(Et)})("reset",function(){return U.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([Si]),c.qOj]}),x})(),On=(()=>{class x{}return x.\u0275fac=function(y){return new(y||x)},x.\u0275dir=c.lG2({type:x,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),x})(),fr=(()=>{class x{}return x.\u0275fac=function(y){return new(y||x)},x.\u0275mod=c.oAB({type:x}),x.\u0275inj=c.cJS({}),x})();const xr={provide:Pe,useExisting:(0,c.Gpc)(()=>sr)};let sr=(()=>{class x extends Pe{constructor(y,U){super(),this.validators=y,this.asyncValidators=U,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new c.vpe,this._setValidators(y),this._setAsyncValidators(U)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Kt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const U=this.form.get(y.path);return he(U,y),U.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),U}getControl(y){return this.form.get(y.path)}removeControl(y){Se(y.control||null,y,!1),Cn(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,U){this.form.get(y.path).setValue(U)}onSubmit(y){return this.submitted=!0,en(this.form,this.directives),this.ngSubmit.emit(y),!1}onReset(){this.resetForm()}resetForm(y){this.form.reset(y),this.submitted=!1}_updateDomValue(){this.directives.forEach(y=>{const U=y.control,We=this.form.get(y.path);U!==We&&(Se(U||null,y),Fn(We)&&(he(We,y),y.control=We))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const U=this.form.get(y.path);te(U,y),U.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const U=this.form.get(y.path);U&&function Ie(x,M){return Kt(x,M)}(U,y)&&U.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zt(this.form,this),this._oldForm&&Kt(this._oldForm,this)}_checkFormPresent(){}}return x.\u0275fac=function(y){return new(y||x)(c.Y36(pe,10),c.Y36(Te,10))},x.\u0275dir=c.lG2({type:x,selectors:[["","formGroup",""]],hostBindings:function(y,U){1&y&&c.NdJ("submit",function(Et){return U.onSubmit(Et)})("reset",function(){return U.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([xr]),c.qOj,c.TTD]}),x})(),Tn=(()=>{class x{constructor(){this._validator=yt}ngOnChanges(y){if(this.inputName in y){const U=this.normalizeInput(y[this.inputName].currentValue);this._enabled=this.enabled(U),this._validator=this._enabled?this.createValidator(U):yt,this._onChange&&this._onChange()}}validate(y){return this._validator(y)}registerOnValidatorChange(y){this._onChange=y}enabled(y){return null!=y}}return x.\u0275fac=function(y){return new(y||x)},x.\u0275dir=c.lG2({type:x,features:[c.TTD]}),x})();const Pi={provide:pe,useExisting:(0,c.Gpc)(()=>N),multi:!0},A={provide:pe,useExisting:(0,c.Gpc)(()=>T),multi:!0};let N=(()=>{class x extends Tn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=y=>function ti(x){return null!=x&&!1!==x&&"false"!=`${x}`}(y),this.createValidator=y=>Ae}enabled(y){return y}}return x.\u0275fac=function(){let M;return function(U){return(M||(M=c.n5z(x)))(U||x)}}(),x.\u0275dir=c.lG2({type:x,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(y,U){2&y&&c.uIk("required",U._enabled?"":null)},inputs:{required:"required"},features:[c._Bn([Pi]),c.qOj]}),x})(),T=(()=>{class x extends N{constructor(){super(...arguments),this.createValidator=y=>tt}}return x.\u0275fac=function(){let M;return function(U){return(M||(M=c.n5z(x)))(U||x)}}(),x.\u0275dir=c.lG2({type:x,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(y,U){2&y&&c.uIk("required",U._enabled?"":null)},features:[c._Bn([A]),c.qOj]}),x})(),Sn=(()=>{class x{}return x.\u0275fac=function(y){return new(y||x)},x.\u0275mod=c.oAB({type:x}),x.\u0275inj=c.cJS({imports:[[fr]]}),x})(),Vn=(()=>{class x{}return x.\u0275fac=function(y){return new(y||x)},x.\u0275mod=c.oAB({type:x}),x.\u0275inj=c.cJS({imports:[Sn]}),x})()},7423:(qe,ye,C)=>{C.d(ye,{zs:()=>de,lW:()=>se,ot:()=>J});var c=C(4893),o=C(508),g=C(6360),Y=C(9950);const ce=["mat-button",""],ie=["*"],ue=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],ee=(0,o.pj)((0,o.Id)((0,o.Kr)(class{constructor(le){this._elementRef=le}})));let se=(()=>{class le extends ee{constructor(Be,Z,et){super(Be),this._focusMonitor=Z,this._animationMode=et,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const Ye of ue)this._hasHostAttributes(Ye)&&this._getHostElement().classList.add(Ye);Be.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(Be,Z){Be?this._focusMonitor.focusVia(this._getHostElement(),Be,Z):this._getHostElement().focus(Z)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...Be){return Be.some(Z=>this._getHostElement().hasAttribute(Z))}}return le.\u0275fac=function(Be){return new(Be||le)(c.Y36(c.SBq),c.Y36(Y.tE),c.Y36(g.Qb,8))},le.\u0275cmp=c.Xpm({type:le,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(Be,Z){if(1&Be&&c.Gf(o.wG,5),2&Be){let et;c.iGM(et=c.CRH())&&(Z.ripple=et.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(Be,Z){2&Be&&(c.uIk("disabled",Z.disabled||null),c.ekj("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-button-disabled",Z.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[c.qOj],attrs:ce,ngContentSelectors:ie,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(Be,Z){1&Be&&(c.F$t(),c.TgZ(0,"span",0),c.Hsn(1),c.qZA(),c._UZ(2,"span",1)(3,"span",2)),2&Be&&(c.xp6(2),c.ekj("mat-button-ripple-round",Z.isRoundButton||Z.isIconButton),c.Q6J("matRippleDisabled",Z._isRippleDisabled())("matRippleCentered",Z.isIconButton)("matRippleTrigger",Z._getHostElement()))},directives:[o.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),le})(),de=(()=>{class le extends se{constructor(Be,Z,et,Ye){super(Z,Be,et),this._ngZone=Ye,this._haltDisabledEvents=Qe=>{this.disabled&&(Qe.preventDefault(),Qe.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return le.\u0275fac=function(Be){return new(Be||le)(c.Y36(Y.tE),c.Y36(c.SBq),c.Y36(g.Qb,8),c.Y36(c.R0b,8))},le.\u0275cmp=c.Xpm({type:le,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(Be,Z){2&Be&&(c.uIk("tabindex",Z.disabled?-1:Z.tabIndex||0)("disabled",Z.disabled||null)("aria-disabled",Z.disabled.toString()),c.ekj("_mat-animation-noopable","NoopAnimations"===Z._animationMode)("mat-button-disabled",Z.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[c.qOj],attrs:ce,ngContentSelectors:ie,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(Be,Z){1&Be&&(c.F$t(),c.TgZ(0,"span",0),c.Hsn(1),c.qZA(),c._UZ(2,"span",1)(3,"span",2)),2&Be&&(c.xp6(2),c.ekj("mat-button-ripple-round",Z.isRoundButton||Z.isIconButton),c.Q6J("matRippleDisabled",Z._isRippleDisabled())("matRippleCentered",Z.isIconButton)("matRippleTrigger",Z._getHostElement()))},directives:[o.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),le})(),J=(()=>{class le{}return le.\u0275fac=function(Be){return new(Be||le)},le.\u0275mod=c.oAB({type:le}),le.\u0275inj=c.cJS({imports:[[o.si,o.BQ],o.BQ]}),le})()},508:(qe,ye,C)=>{C.d(ye,{rD:()=>xt,K7:()=>ze,HF:()=>L,BQ:()=>me,ey:()=>Yt,Ng:()=>vt,wG:()=>E,si:()=>S,CB:()=>dn,jH:()=>dt,pj:()=>Ne,Kr:()=>ve,Id:()=>Te,FD:()=>xe,sb:()=>Me});var c=C(4893),o=C(226),Y=C(9808),ce=C(925),ie=C(9950),De=C(3191),Ce=C(7579),ue=C(6360),ee=C(1159);function J(Le,we){if(1&Le&&c._UZ(0,"mat-pseudo-checkbox",4),2&Le){const V=c.oxw();c.Q6J("state",V.selected?"checked":"unchecked")("disabled",V.disabled)}}function le(Le,we){if(1&Le&&(c.TgZ(0,"span",5),c._uU(1),c.qZA()),2&Le){const V=c.oxw();c.xp6(1),c.hij("(",V.group.label,")")}}const ke=["*"],Qe=new c.OlP("mat-sanity-checks",{providedIn:"root",factory:function Ye(){return!0}});let me=(()=>{class Le{constructor(V,j,$){this._sanityChecks=j,this._document=$,this._hasDoneGlobalChecks=!1,V._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(V){return!(0,ce.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[V])}}return Le.\u0275fac=function(V){return new(V||Le)(c.LFG(ie.qm),c.LFG(Qe,8),c.LFG(Y.K0))},Le.\u0275mod=c.oAB({type:Le}),Le.\u0275inj=c.cJS({imports:[[o.vT],o.vT]}),Le})();function Te(Le){return class extends Le{constructor(...we){super(...we),this._disabled=!1}get disabled(){return this._disabled}set disabled(we){this._disabled=(0,De.Ig)(we)}}}function Ne(Le,we){return class extends Le{constructor(...V){super(...V),this.defaultColor=we,this.color=we}get color(){return this._color}set color(V){const j=V||this.defaultColor;j!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),j&&this._elementRef.nativeElement.classList.add(`mat-${j}`),this._color=j)}}}function ve(Le){return class extends Le{constructor(...we){super(...we),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(we){this._disableRipple=(0,De.Ig)(we)}}}function Me(Le,we=0){return class extends Le{constructor(...V){super(...V),this._tabIndex=we,this.defaultTabIndex=we}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(V){this._tabIndex=null!=V?(0,De.su)(V):this.defaultTabIndex}}}function xe(Le){return class extends Le{constructor(...we){super(...we),this.stateChanges=new Ce.x,this.errorState=!1}updateErrorState(){const we=this.errorState,he=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);he!==we&&(this.errorState=he,this.stateChanges.next())}}}let xt=(()=>{class Le{isErrorState(V,j){return!!(V&&V.invalid&&(V.touched||j&&j.submitted))}}return Le.\u0275fac=function(V){return new(V||Le)},Le.\u0275prov=c.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})();class K{constructor(we,V,j){this._renderer=we,this.element=V,this.config=j,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const He={enterDuration:225,exitDuration:150},lt=(0,ce.i$)({passive:!0}),St=["mousedown","touchstart"],Ht=["mouseup","mouseleave","touchend","touchcancel"];class bt{constructor(we,V,j,$){this._target=we,this._ngZone=V,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,$.isBrowser&&(this._containerElement=(0,De.fI)(j))}fadeInRipple(we,V,j={}){const $=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),he=Object.assign(Object.assign({},He),j.animation);j.centered&&(we=$.left+$.width/2,V=$.top+$.height/2);const Se=j.radius||function at(Le,we,V){const j=Math.max(Math.abs(Le-V.left),Math.abs(Le-V.right)),$=Math.max(Math.abs(we-V.top),Math.abs(we-V.bottom));return Math.sqrt(j*j+$*$)}(we,V,$),st=we-$.left,At=V-$.top,Zt=he.enterDuration,Kt=document.createElement("div");Kt.classList.add("mat-ripple-element"),Kt.style.left=st-Se+"px",Kt.style.top=At-Se+"px",Kt.style.height=2*Se+"px",Kt.style.width=2*Se+"px",null!=j.color&&(Kt.style.backgroundColor=j.color),Kt.style.transitionDuration=`${Zt}ms`,this._containerElement.appendChild(Kt),function Nt(Le){window.getComputedStyle(Le).getPropertyValue("opacity")}(Kt),Kt.style.transform="scale(1)";const Dt=new K(this,Kt,j);return Dt.state=0,this._activeRipples.add(Dt),j.persistent||(this._mostRecentTransientRipple=Dt),this._runTimeoutOutsideZone(()=>{const Rn=Dt===this._mostRecentTransientRipple;Dt.state=1,!j.persistent&&(!Rn||!this._isPointerDown)&&Dt.fadeOut()},Zt),Dt}fadeOutRipple(we){const V=this._activeRipples.delete(we);if(we===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!V)return;const j=we.element,$=Object.assign(Object.assign({},He),we.config.animation);j.style.transitionDuration=`${$.exitDuration}ms`,j.style.opacity="0",we.state=2,this._runTimeoutOutsideZone(()=>{we.state=3,j.remove()},$.exitDuration)}fadeOutAll(){this._activeRipples.forEach(we=>we.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(we=>{we.config.persistent||we.fadeOut()})}setupTriggerEvents(we){const V=(0,De.fI)(we);!V||V===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=V,this._registerEvents(St))}handleEvent(we){"mousedown"===we.type?this._onMousedown(we):"touchstart"===we.type?this._onTouchStart(we):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Ht),this._pointerUpEventsRegistered=!0)}_onMousedown(we){const V=(0,ie.X6)(we),j=this._lastTouchStartEvent&&Date.now(){!we.config.persistent&&(1===we.state||we.config.terminateOnPointerUp&&0===we.state)&&we.fadeOut()}))}_runTimeoutOutsideZone(we,V=0){this._ngZone.runOutsideAngular(()=>setTimeout(we,V))}_registerEvents(we){this._ngZone.runOutsideAngular(()=>{we.forEach(V=>{this._triggerElement.addEventListener(V,this,lt)})})}_removeTriggerEvents(){this._triggerElement&&(St.forEach(we=>{this._triggerElement.removeEventListener(we,this,lt)}),this._pointerUpEventsRegistered&&Ht.forEach(we=>{this._triggerElement.removeEventListener(we,this,lt)}))}}const Pe=new c.OlP("mat-ripple-global-options");let E=(()=>{class Le{constructor(V,j,$,he,Se){this._elementRef=V,this._animationMode=Se,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=he||{},this._rippleRenderer=new bt(this,j,V,$)}get disabled(){return this._disabled}set disabled(V){V&&this.fadeOutAllNonPersistent(),this._disabled=V,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(V){this._trigger=V,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(V,j=0,$){return"number"==typeof V?this._rippleRenderer.fadeInRipple(V,j,Object.assign(Object.assign({},this.rippleConfig),$)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),V))}}return Le.\u0275fac=function(V){return new(V||Le)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(ce.t4),c.Y36(Pe,8),c.Y36(ue.Qb,8))},Le.\u0275dir=c.lG2({type:Le,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(V,j){2&V&&c.ekj("mat-ripple-unbounded",j.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Le})(),S=(()=>{class Le{}return Le.\u0275fac=function(V){return new(V||Le)},Le.\u0275mod=c.oAB({type:Le}),Le.\u0275inj=c.cJS({imports:[[me],me]}),Le})(),D=(()=>{class Le{constructor(V){this._animationMode=V,this.state="unchecked",this.disabled=!1}}return Le.\u0275fac=function(V){return new(V||Le)(c.Y36(ue.Qb,8))},Le.\u0275cmp=c.Xpm({type:Le,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(V,j){2&V&&c.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===j.state)("mat-pseudo-checkbox-checked","checked"===j.state)("mat-pseudo-checkbox-disabled",j.disabled)("_mat-animation-noopable","NoopAnimations"===j._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(V,j){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Le})(),P=(()=>{class Le{}return Le.\u0275fac=function(V){return new(V||Le)},Le.\u0275mod=c.oAB({type:Le}),Le.\u0275inj=c.cJS({imports:[[me]]}),Le})();const L=new c.OlP("MAT_OPTION_PARENT_COMPONENT"),ze=new c.OlP("MatOptgroup");let ct=0;class Ot{constructor(we,V=!1){this.source=we,this.isUserInput=V}}let nn=(()=>{class Le{constructor(V,j,$,he){this._element=V,this._changeDetectorRef=j,this._parent=$,this.group=he,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ct++,this.onSelectionChange=new c.vpe,this._stateChanges=new Ce.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(V){this._disabled=(0,De.Ig)(V)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(V,j){const $=this._getHostElement();"function"==typeof $.focus&&$.focus(j)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(V){(V.keyCode===ee.K5||V.keyCode===ee.L_)&&!(0,ee.Vb)(V)&&(this._selectViaInteraction(),V.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const V=this.viewValue;V!==this._mostRecentViewValue&&(this._mostRecentViewValue=V,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(V=!1){this.onSelectionChange.emit(new Ot(this,V))}}return Le.\u0275fac=function(V){c.$Z()},Le.\u0275dir=c.lG2({type:Le,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Le})(),Yt=(()=>{class Le extends nn{constructor(V,j,$,he){super(V,j,$,he)}}return Le.\u0275fac=function(V){return new(V||Le)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(L,8),c.Y36(ze,8))},Le.\u0275cmp=c.Xpm({type:Le,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(V,j){1&V&&c.NdJ("click",function(){return j._selectViaInteraction()})("keydown",function(he){return j._handleKeydown(he)}),2&V&&(c.Ikx("id",j.id),c.uIk("tabindex",j._getTabIndex())("aria-selected",j._getAriaSelected())("aria-disabled",j.disabled.toString()),c.ekj("mat-selected",j.selected)("mat-option-multiple",j.multiple)("mat-active",j.active)("mat-option-disabled",j.disabled))},exportAs:["matOption"],features:[c.qOj],ngContentSelectors:ke,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(V,j){1&V&&(c.F$t(),c.YNc(0,J,1,2,"mat-pseudo-checkbox",0),c.TgZ(1,"span",1),c.Hsn(2),c.qZA(),c.YNc(3,le,2,1,"span",2),c._UZ(4,"div",3)),2&V&&(c.Q6J("ngIf",j.multiple),c.xp6(3),c.Q6J("ngIf",j.group&&j.group._inert),c.xp6(1),c.Q6J("matRippleTrigger",j._getHostElement())("matRippleDisabled",j.disabled||j.disableRipple))},directives:[D,Y.O5,E],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Le})();function dn(Le,we,V){if(V.length){let j=we.toArray(),$=V.toArray(),he=0;for(let Se=0;SeV+j?Math.max(0,Le-j+we):V}let vt=(()=>{class Le{}return Le.\u0275fac=function(V){return new(V||Le)},Le.\u0275mod=c.oAB({type:Le}),Le.\u0275inj=c.cJS({imports:[[S,Y.ez,me,P]]}),Le})()},8966:(qe,ye,C)=>{C.d(ye,{WI:()=>Me,uw:()=>Jt,H8:()=>Ut,ZT:()=>Wt,xY:()=>mn,Is:()=>on,so:()=>Ne,uh:()=>Pt});var c=C(9776),o=C(7429),g=C(4893),Y=C(508),ce=C(226),ie=C(7579),De=C(9770),Ce=C(727),ue=C(9646),ee=C(9300),se=C(5698),de=C(8675),J=C(925),le=C(9808),ke=C(1777),Be=C(9950),Z=C(1159),et=C(6360);function Ye(Xe,je){}class Qe{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0}}const me={dialogContainer:(0,ke.X$)("dialogContainer",[(0,ke.SB)("void, exit",(0,ke.oB)({opacity:0,transform:"scale(0.7)"})),(0,ke.SB)("enter",(0,ke.oB)({transform:"none"})),(0,ke.eR)("* => enter",(0,ke.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ke.oB)({transform:"none",opacity:1}))),(0,ke.eR)("* => void, * => exit",(0,ke.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,ke.oB)({opacity:0})))])};let q=(()=>{class Xe extends o.en{constructor(Q,K,He,Ge,lt,St,Ht,bt){super(),this._elementRef=Q,this._focusTrapFactory=K,this._changeDetectorRef=He,this._config=lt,this._interactivityChecker=St,this._ngZone=Ht,this._focusMonitor=bt,this._animationStateChanged=new g.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Nt=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(Nt)),this._ariaLabelledBy=lt.ariaLabelledBy||null,this._document=Ge}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement()}attachComponentPortal(Q){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(Q)}attachTemplatePortal(Q){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(Q)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Q,K){this._interactivityChecker.isFocusable(Q)||(Q.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{Q.addEventListener("blur",()=>Q.removeAttribute("tabindex")),Q.addEventListener("mousedown",()=>Q.removeAttribute("tabindex"))})),Q.focus(K)}_focusByCssSelector(Q,K){let He=this._elementRef.nativeElement.querySelector(Q);He&&this._forceFocus(He,K)}_trapFocus(){const Q=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Q.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(K=>{K||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const Q=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&Q&&"function"==typeof Q.focus){const K=(0,J.ht)(),He=this._elementRef.nativeElement;(!K||K===this._document.body||K===He||He.contains(K))&&(this._focusMonitor?(this._focusMonitor.focusVia(Q,this._closeInteractionType),this._closeInteractionType=null):Q.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,J.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Q=this._elementRef.nativeElement,K=(0,J.ht)();return Q===K||Q.contains(K)}}return Xe.\u0275fac=function(Q){return new(Q||Xe)(g.Y36(g.SBq),g.Y36(Be.qV),g.Y36(g.sBO),g.Y36(le.K0,8),g.Y36(Qe),g.Y36(Be.ic),g.Y36(g.R0b),g.Y36(Be.tE))},Xe.\u0275dir=g.lG2({type:Xe,viewQuery:function(Q,K){if(1&Q&&g.Gf(o.Pl,7),2&Q){let He;g.iGM(He=g.CRH())&&(K._portalOutlet=He.first)}},features:[g.qOj]}),Xe})(),pe=(()=>{class Xe extends q{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:Q,totalTime:K}){"enter"===Q?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:K})):"exit"===Q&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:K}))}_onAnimationStart({toState:Q,totalTime:K}){"enter"===Q?this._animationStateChanged.next({state:"opening",totalTime:K}):("exit"===Q||"void"===Q)&&this._animationStateChanged.next({state:"closing",totalTime:K})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return Xe.\u0275fac=function(){let je;return function(K){return(je||(je=g.n5z(Xe)))(K||Xe)}}(),Xe.\u0275cmp=g.Xpm({type:Xe,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(Q,K){1&Q&&g.WFA("@dialogContainer.start",function(Ge){return K._onAnimationStart(Ge)})("@dialogContainer.done",function(Ge){return K._onAnimationDone(Ge)}),2&Q&&(g.Ikx("id",K._id),g.uIk("role",K._config.role)("aria-labelledby",K._config.ariaLabel?null:K._ariaLabelledBy)("aria-label",K._config.ariaLabel)("aria-describedby",K._config.ariaDescribedBy||null),g.d8E("@dialogContainer",K._state))},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Q,K){1&Q&&g.YNc(0,Ye,0,0,"ng-template",0)},directives:[o.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[me.dialogContainer]}}),Xe})(),Te=0;class Ne{constructor(je,Q,K="mat-dialog-"+Te++){this._overlayRef=je,this._containerInstance=Q,this.id=K,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new ie.x,this._afterClosed=new ie.x,this._beforeClosed=new ie.x,this._state=0,Q._id=K,Q._animationStateChanged.pipe((0,ee.h)(He=>"opened"===He.state),(0,se.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Q._animationStateChanged.pipe((0,ee.h)(He=>"closed"===He.state),(0,se.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),je.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),je.keydownEvents().pipe((0,ee.h)(He=>He.keyCode===Z.hY&&!this.disableClose&&!(0,Z.Vb)(He))).subscribe(He=>{He.preventDefault(),ve(this,"keyboard")}),je.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():ve(this,"mouse")})}close(je){this._result=je,this._containerInstance._animationStateChanged.pipe((0,ee.h)(Q=>"closing"===Q.state),(0,se.q)(1)).subscribe(Q=>{this._beforeClosed.next(je),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Q.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(je){let Q=this._getPositionStrategy();return je&&(je.left||je.right)?je.left?Q.left(je.left):Q.right(je.right):Q.centerHorizontally(),je&&(je.top||je.bottom)?je.top?Q.top(je.top):Q.bottom(je.bottom):Q.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(je="",Q=""){return this._overlayRef.updateSize({width:je,height:Q}),this._overlayRef.updatePosition(),this}addPanelClass(je){return this._overlayRef.addPanelClass(je),this}removePanelClass(je){return this._overlayRef.removePanelClass(je),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function ve(Xe,je,Q){return void 0!==Xe._containerInstance&&(Xe._containerInstance._closeInteractionType=je),Xe.close(Q)}const Me=new g.OlP("MatDialogData"),xe=new g.OlP("mat-dialog-default-options"),Ae=new g.OlP("mat-dialog-scroll-strategy"),Ct={provide:Ae,deps:[c.aV],useFactory:function Fe(Xe){return()=>Xe.scrollStrategies.block()}};let mt=(()=>{class Xe{constructor(Q,K,He,Ge,lt,St,Ht,bt,Nt,at){this._overlay=Q,this._injector=K,this._defaultOptions=He,this._parentDialog=Ge,this._overlayContainer=lt,this._dialogRefConstructor=Ht,this._dialogContainerType=bt,this._dialogDataToken=Nt,this._animationMode=at,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ie.x,this._afterOpenedAtThisLevel=new ie.x,this._ariaHiddenElements=new Map,this._dialogAnimatingOpen=!1,this.afterAllClosed=(0,De.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,de.O)(void 0))),this._scrollStrategy=St}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Q=this._parentDialog;return Q?Q._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(Q,K){if(K=function yt(Xe,je){return Object.assign(Object.assign({},je),Xe)}(K,this._defaultOptions||new Qe),K.id&&this.getDialogById(K.id),this._dialogAnimatingOpen)return this._lastDialogRef;const He=this._createOverlay(K),Ge=this._attachDialogContainer(He,K);if("NoopAnimations"!==this._animationMode){const St=Ge._animationStateChanged.subscribe(Ht=>{"opening"===Ht.state&&(this._dialogAnimatingOpen=!0),"opened"===Ht.state&&(this._dialogAnimatingOpen=!1,St.unsubscribe())});this._animationStateSubscriptions||(this._animationStateSubscriptions=new Ce.w0),this._animationStateSubscriptions.add(St)}const lt=this._attachDialogContent(Q,Ge,He,K);return this._lastDialogRef=lt,this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(lt),lt.afterClosed().subscribe(()=>this._removeOpenDialog(lt)),this.afterOpened.next(lt),Ge._initializeWithAttachedContent(),lt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Q){return this.openDialogs.find(K=>K.id===Q)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._animationStateSubscriptions&&this._animationStateSubscriptions.unsubscribe()}_createOverlay(Q){const K=this._getOverlayConfig(Q);return this._overlay.create(K)}_getOverlayConfig(Q){const K=new c.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:Q.scrollStrategy||this._scrollStrategy(),panelClass:Q.panelClass,hasBackdrop:Q.hasBackdrop,direction:Q.direction,minWidth:Q.minWidth,minHeight:Q.minHeight,maxWidth:Q.maxWidth,maxHeight:Q.maxHeight,disposeOnNavigation:Q.closeOnNavigation});return Q.backdropClass&&(K.backdropClass=Q.backdropClass),K}_attachDialogContainer(Q,K){const Ge=g.zs3.create({parent:K&&K.viewContainerRef&&K.viewContainerRef.injector||this._injector,providers:[{provide:Qe,useValue:K}]}),lt=new o.C5(this._dialogContainerType,K.viewContainerRef,Ge,K.componentFactoryResolver);return Q.attach(lt).instance}_attachDialogContent(Q,K,He,Ge){const lt=new this._dialogRefConstructor(He,K,Ge.id);if(Q instanceof g.Rgc)K.attachTemplatePortal(new o.UE(Q,null,{$implicit:Ge.data,dialogRef:lt}));else{const St=this._createInjector(Ge,lt,K),Ht=K.attachComponentPortal(new o.C5(Q,Ge.viewContainerRef,St,Ge.componentFactoryResolver));lt.componentInstance=Ht.instance}return lt.updateSize(Ge.width,Ge.height).updatePosition(Ge.position),lt}_createInjector(Q,K,He){const Ge=Q&&Q.viewContainerRef&&Q.viewContainerRef.injector,lt=[{provide:this._dialogContainerType,useValue:He},{provide:this._dialogDataToken,useValue:Q.data},{provide:this._dialogRefConstructor,useValue:K}];return Q.direction&&(!Ge||!Ge.get(ce.Is,null,g.XFs.Optional))&<.push({provide:ce.Is,useValue:{value:Q.direction,change:(0,ue.of)()}}),g.zs3.create({parent:Ge||this._injector,providers:lt})}_removeOpenDialog(Q){const K=this.openDialogs.indexOf(Q);K>-1&&(this.openDialogs.splice(K,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((He,Ge)=>{He?Ge.setAttribute("aria-hidden",He):Ge.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Q=this._overlayContainer.getContainerElement();if(Q.parentElement){const K=Q.parentElement.children;for(let He=K.length-1;He>-1;He--){let Ge=K[He];Ge!==Q&&"SCRIPT"!==Ge.nodeName&&"STYLE"!==Ge.nodeName&&!Ge.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Ge,Ge.getAttribute("aria-hidden")),Ge.setAttribute("aria-hidden","true"))}}}_closeDialogs(Q){let K=Q.length;for(;K--;)Q[K].close()}}return Xe.\u0275fac=function(Q){g.$Z()},Xe.\u0275dir=g.lG2({type:Xe}),Xe})(),Jt=(()=>{class Xe extends mt{constructor(Q,K,He,Ge,lt,St,Ht,bt){super(Q,K,Ge,St,Ht,lt,Ne,pe,Me,bt)}}return Xe.\u0275fac=function(Q){return new(Q||Xe)(g.LFG(c.aV),g.LFG(g.zs3),g.LFG(le.Ye,8),g.LFG(xe,8),g.LFG(Ae),g.LFG(Xe,12),g.LFG(c.Xj),g.LFG(et.Qb,8))},Xe.\u0275prov=g.Yz7({token:Xe,factory:Xe.\u0275fac}),Xe})(),Rt=0,Wt=(()=>{class Xe{constructor(Q,K,He){this.dialogRef=Q,this._elementRef=K,this._dialog=He,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=xt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Q){const K=Q._matDialogClose||Q._matDialogCloseResult;K&&(this.dialogResult=K.currentValue)}_onButtonClick(Q){ve(this.dialogRef,0===Q.screenX&&0===Q.screenY?"keyboard":"mouse",this.dialogResult)}}return Xe.\u0275fac=function(Q){return new(Q||Xe)(g.Y36(Ne,8),g.Y36(g.SBq),g.Y36(Jt))},Xe.\u0275dir=g.lG2({type:Xe,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Q,K){1&Q&&g.NdJ("click",function(Ge){return K._onButtonClick(Ge)}),2&Q&&g.uIk("aria-label",K.ariaLabel||null)("type",K.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[g.TTD]}),Xe})(),Pt=(()=>{class Xe{constructor(Q,K,He){this._dialogRef=Q,this._elementRef=K,this._dialog=He,this.id="mat-dialog-title-"+Rt++}ngOnInit(){this._dialogRef||(this._dialogRef=xt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const Q=this._dialogRef._containerInstance;Q&&!Q._ariaLabelledBy&&(Q._ariaLabelledBy=this.id)})}}return Xe.\u0275fac=function(Q){return new(Q||Xe)(g.Y36(Ne,8),g.Y36(g.SBq),g.Y36(Jt))},Xe.\u0275dir=g.lG2({type:Xe,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(Q,K){2&Q&&g.Ikx("id",K.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),Xe})(),mn=(()=>{class Xe{}return Xe.\u0275fac=function(Q){return new(Q||Xe)},Xe.\u0275dir=g.lG2({type:Xe,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),Xe})(),Ut=(()=>{class Xe{}return Xe.\u0275fac=function(Q){return new(Q||Xe)},Xe.\u0275dir=g.lG2({type:Xe,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),Xe})();function xt(Xe,je){let Q=Xe.nativeElement.parentElement;for(;Q&&!Q.classList.contains("mat-dialog-container");)Q=Q.parentElement;return Q?je.find(K=>K.id===Q.id):null}let on=(()=>{class Xe{}return Xe.\u0275fac=function(Q){return new(Q||Xe)},Xe.\u0275mod=g.oAB({type:Xe}),Xe.\u0275inj=g.cJS({providers:[Jt,Ct],imports:[[c.U8,o.eL,Y.BQ],Y.BQ]}),Xe})()},7322:(qe,ye,C)=>{C.d(ye,{G_:()=>Nt,o2:()=>bt,KE:()=>at,Eo:()=>yt,lN:()=>Pe,hX:()=>on,R9:()=>He});var c=C(7144),o=C(9808),g=C(4893),Y=C(508),ce=C(3191),ie=C(7579),De=C(6451),Ce=C(4968),ue=C(8675),ee=C(2722),se=C(5698),de=C(1777),J=C(6360),le=C(226),ke=C(925);const Be=["connectionContainer"],Z=["inputContainer"],et=["label"];function Ye(E,S){1&E&&(g.ynx(0),g.TgZ(1,"div",14),g._UZ(2,"div",15)(3,"div",16)(4,"div",17),g.qZA(),g.TgZ(5,"div",18),g._UZ(6,"div",15)(7,"div",16)(8,"div",17),g.qZA(),g.BQk())}function Qe(E,S){if(1&E){const D=g.EpF();g.TgZ(0,"div",19),g.NdJ("cdkObserveContent",function(){return g.CHM(D),g.oxw().updateOutlineGap()}),g.Hsn(1,1),g.qZA()}if(2&E){const D=g.oxw();g.Q6J("cdkObserveContentDisabled","outline"!=D.appearance)}}function me(E,S){if(1&E&&(g.ynx(0),g.Hsn(1,2),g.TgZ(2,"span"),g._uU(3),g.qZA(),g.BQk()),2&E){const D=g.oxw(2);g.xp6(3),g.Oqu(D._control.placeholder)}}function z(E,S){1&E&&g.Hsn(0,3,["*ngSwitchCase","true"])}function q(E,S){1&E&&(g.TgZ(0,"span",23),g._uU(1," *"),g.qZA())}function pe(E,S){if(1&E){const D=g.EpF();g.TgZ(0,"label",20,21),g.NdJ("cdkObserveContent",function(){return g.CHM(D),g.oxw().updateOutlineGap()}),g.YNc(2,me,4,1,"ng-container",12),g.YNc(3,z,1,0,"ng-content",12),g.YNc(4,q,2,0,"span",22),g.qZA()}if(2&E){const D=g.oxw();g.ekj("mat-empty",D._control.empty&&!D._shouldAlwaysFloat())("mat-form-field-empty",D._control.empty&&!D._shouldAlwaysFloat())("mat-accent","accent"==D.color)("mat-warn","warn"==D.color),g.Q6J("cdkObserveContentDisabled","outline"!=D.appearance)("id",D._labelId)("ngSwitch",D._hasLabel()),g.uIk("for",D._control.id)("aria-owns",D._control.id),g.xp6(2),g.Q6J("ngSwitchCase",!1),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngIf",!D.hideRequiredMarker&&D._control.required&&!D._control.disabled)}}function Te(E,S){1&E&&(g.TgZ(0,"div",24),g.Hsn(1,4),g.qZA())}function Ne(E,S){if(1&E&&(g.TgZ(0,"div",25),g._UZ(1,"span",26),g.qZA()),2&E){const D=g.oxw();g.xp6(1),g.ekj("mat-accent","accent"==D.color)("mat-warn","warn"==D.color)}}function ve(E,S){if(1&E&&(g.TgZ(0,"div"),g.Hsn(1,5),g.qZA()),2&E){const D=g.oxw();g.Q6J("@transitionMessages",D._subscriptAnimationState)}}function Me(E,S){if(1&E&&(g.TgZ(0,"div",30),g._uU(1),g.qZA()),2&E){const D=g.oxw(2);g.Q6J("id",D._hintLabelId),g.xp6(1),g.Oqu(D.hintLabel)}}function xe(E,S){if(1&E&&(g.TgZ(0,"div",27),g.YNc(1,Me,2,2,"div",28),g.Hsn(2,6),g._UZ(3,"div",29),g.Hsn(4,7),g.qZA()),2&E){const D=g.oxw();g.Q6J("@transitionMessages",D._subscriptAnimationState),g.xp6(1),g.Q6J("ngIf",D.hintLabel)}}const Ae=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],tt=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],Ct=new g.OlP("MatError"),Jt={transitionMessages:(0,de.X$)("transitionMessages",[(0,de.SB)("enter",(0,de.oB)({opacity:1,transform:"translateY(0%)"})),(0,de.eR)("void => enter",[(0,de.oB)({opacity:0,transform:"translateY(-5px)"}),(0,de.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let yt=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275dir=g.lG2({type:E}),E})();const Ut=new g.OlP("MatHint");let on=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275dir=g.lG2({type:E,selectors:[["mat-label"]]}),E})(),Xe=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275dir=g.lG2({type:E,selectors:[["mat-placeholder"]]}),E})();const je=new g.OlP("MatPrefix"),K=new g.OlP("MatSuffix");let He=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275dir=g.lG2({type:E,selectors:[["","matSuffix",""]],features:[g._Bn([{provide:K,useExisting:E}])]}),E})(),Ge=0;const Ht=(0,Y.pj)(class{constructor(E){this._elementRef=E}},"primary"),bt=new g.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Nt=new g.OlP("MatFormField");let at=(()=>{class E extends Ht{constructor(D,P,L,re,be,Ue,ze){super(D),this._changeDetectorRef=P,this._dir=L,this._defaults=re,this._platform=be,this._ngZone=Ue,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new ie.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Ge++,this._labelId="mat-form-field-label-"+Ge++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==ze,this.appearance=re&&re.appearance?re.appearance:"legacy",this._hideRequiredMarker=!(!re||null==re.hideRequiredMarker)&&re.hideRequiredMarker}get appearance(){return this._appearance}set appearance(D){const P=this._appearance;this._appearance=D||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&P!==D&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(D){this._hideRequiredMarker=(0,ce.Ig)(D)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(D){this._hintLabel=D,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(D){D!==this._floatLabel&&(this._floatLabel=D||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(D){this._explicitFormFieldControl=D}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const D=this._control;D.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${D.controlType}`),D.stateChanges.pipe((0,ue.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),D.ngControl&&D.ngControl.valueChanges&&D.ngControl.valueChanges.pipe((0,ee.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,ee.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,De.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,ue.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,ue.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,ee.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(D){const P=this._control?this._control.ngControl:null;return P&&P[D]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,Ce.R)(this._label.nativeElement,"transitionend").pipe((0,se.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let D=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&D.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const P=this._hintChildren?this._hintChildren.find(re=>"start"===re.align):null,L=this._hintChildren?this._hintChildren.find(re=>"end"===re.align):null;P?D.push(P.id):this._hintLabel&&D.push(this._hintLabelId),L&&D.push(L.id)}else this._errorChildren&&D.push(...this._errorChildren.map(P=>P.id));this._control.setDescribedByIds(D)}}_validateControlChild(){}updateOutlineGap(){const D=this._label?this._label.nativeElement:null,P=this._connectionContainerRef.nativeElement,L=".mat-form-field-outline-start",re=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!D||!D.children.length||!D.textContent.trim()){const ct=P.querySelectorAll(`${L}, ${re}`);for(let Ot=0;Ot0?.75*dn+10:0}for(let ct=0;ct{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275mod=g.oAB({type:E}),E.\u0275inj=g.cJS({imports:[[o.ez,Y.BQ,c.Q8],Y.BQ]}),E})()},7531:(qe,ye,C)=>{C.d(ye,{Nt:()=>Ye,c:()=>Qe});var c=C(3191),o=C(925),g=C(4893),Y=C(2382),ce=C(508),ie=C(7322),De=C(7579),Ce=C(515);const ue=(0,o.i$)({passive:!0});let ee=(()=>{class me{constructor(q,pe){this._platform=q,this._ngZone=pe,this._monitoredElements=new Map}monitor(q){if(!this._platform.isBrowser)return Ce.E;const pe=(0,c.fI)(q),Te=this._monitoredElements.get(pe);if(Te)return Te.subject;const Ne=new De.x,ve="cdk-text-field-autofilled",Me=xe=>{"cdk-text-field-autofill-start"!==xe.animationName||pe.classList.contains(ve)?"cdk-text-field-autofill-end"===xe.animationName&&pe.classList.contains(ve)&&(pe.classList.remove(ve),this._ngZone.run(()=>Ne.next({target:xe.target,isAutofilled:!1}))):(pe.classList.add(ve),this._ngZone.run(()=>Ne.next({target:xe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{pe.addEventListener("animationstart",Me,ue),pe.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(pe,{subject:Ne,unlisten:()=>{pe.removeEventListener("animationstart",Me,ue)}}),Ne}stopMonitoring(q){const pe=(0,c.fI)(q),Te=this._monitoredElements.get(pe);Te&&(Te.unlisten(),Te.subject.complete(),pe.classList.remove("cdk-text-field-autofill-monitored"),pe.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(pe))}ngOnDestroy(){this._monitoredElements.forEach((q,pe)=>this.stopMonitoring(pe))}}return me.\u0275fac=function(q){return new(q||me)(g.LFG(o.t4),g.LFG(g.R0b))},me.\u0275prov=g.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"}),me})(),J=(()=>{class me{}return me.\u0275fac=function(q){return new(q||me)},me.\u0275mod=g.oAB({type:me}),me.\u0275inj=g.cJS({}),me})();const ke=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),Be=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Z=0;const et=(0,ce.FD)(class{constructor(me,z,q,pe){this._defaultErrorStateMatcher=me,this._parentForm=z,this._parentFormGroup=q,this.ngControl=pe}});let Ye=(()=>{class me extends et{constructor(q,pe,Te,Ne,ve,Me,xe,Ae,tt,Fe){super(Me,Ne,ve,Te),this._elementRef=q,this._platform=pe,this._autofillMonitor=Ae,this._formField=Fe,this._uid="mat-input-"+Z++,this.focused=!1,this.stateChanges=new De.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Jt=>(0,o.qK)().has(Jt));const Ct=this._elementRef.nativeElement,mt=Ct.nodeName.toLowerCase();this._inputValueAccessor=xe||Ct,this._previousNativeValue=this.value,this.id=this.id,pe.IOS&&tt.runOutsideAngular(()=>{q.nativeElement.addEventListener("keyup",Jt=>{const yt=Jt.target;!yt.value&&0===yt.selectionStart&&0===yt.selectionEnd&&(yt.setSelectionRange(1,1),yt.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===mt,this._isTextarea="textarea"===mt,this._isInFormField=!!Fe,this._isNativeSelect&&(this.controlType=Ct.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(q){this._disabled=(0,c.Ig)(q),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(q){this._id=q||this._uid}get required(){var q,pe,Te,Ne;return null!==(Ne=null!==(q=this._required)&&void 0!==q?q:null===(Te=null===(pe=this.ngControl)||void 0===pe?void 0:pe.control)||void 0===Te?void 0:Te.hasValidator(Y.kI.required))&&void 0!==Ne&&Ne}set required(q){this._required=(0,c.Ig)(q)}get type(){return this._type}set type(q){this._type=q||"text",this._validateType(),!this._isTextarea&&(0,o.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(q){q!==this.value&&(this._inputValueAccessor.value=q,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(q){this._readonly=(0,c.Ig)(q)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(q=>{this.autofilled=q.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(q){this._elementRef.nativeElement.focus(q)}_focusChanged(q){q!==this.focused&&(this.focused=q,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var q,pe;const Te=(null===(pe=null===(q=this._formField)||void 0===q?void 0:q._hideControlPlaceholder)||void 0===pe?void 0:pe.call(q))?null:this.placeholder;if(Te!==this._previousPlaceholder){const Ne=this._elementRef.nativeElement;this._previousPlaceholder=Te,Te?Ne.setAttribute("placeholder",Te):Ne.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const q=this._elementRef.nativeElement.value;this._previousNativeValue!==q&&(this._previousNativeValue=q,this.stateChanges.next())}_validateType(){Be.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let q=this._elementRef.nativeElement.validity;return q&&q.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const q=this._elementRef.nativeElement,pe=q.options[0];return this.focused||q.multiple||!this.empty||!!(q.selectedIndex>-1&&pe&&pe.label)}return this.focused||!this.empty}setDescribedByIds(q){q.length?this._elementRef.nativeElement.setAttribute("aria-describedby",q.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const q=this._elementRef.nativeElement;return this._isNativeSelect&&(q.multiple||q.size>1)}}return me.\u0275fac=function(q){return new(q||me)(g.Y36(g.SBq),g.Y36(o.t4),g.Y36(Y.a5,10),g.Y36(Y.F,8),g.Y36(Y.sg,8),g.Y36(ce.rD),g.Y36(ke,10),g.Y36(ee),g.Y36(g.R0b),g.Y36(ie.G_,8))},me.\u0275dir=g.lG2({type:me,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(q,pe){1&q&&g.NdJ("focus",function(){return pe._focusChanged(!0)})("blur",function(){return pe._focusChanged(!1)})("input",function(){return pe._onInput()}),2&q&&(g.Ikx("disabled",pe.disabled)("required",pe.required),g.uIk("id",pe.id)("data-placeholder",pe.placeholder)("name",pe.name||null)("readonly",pe.readonly&&!pe._isNativeSelect||null)("aria-invalid",pe.empty&&pe.required?null:pe.errorState)("aria-required",pe.required),g.ekj("mat-input-server",pe._isServer)("mat-native-select-inline",pe._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[g._Bn([{provide:ie.Eo,useExisting:me}]),g.qOj,g.TTD]}),me})(),Qe=(()=>{class me{}return me.\u0275fac=function(q){return new(q||me)},me.\u0275mod=g.oAB({type:me}),me.\u0275inj=g.cJS({providers:[ce.rD],imports:[[J,ie.lN,ce.BQ],J,ie.lN]}),me})()},4107:(qe,ye,C)=>{C.d(ye,{gD:()=>bt,LD:()=>Nt});var c=C(9776),o=C(9808),g=C(4893),Y=C(508),ce=C(7322),ie=C(495),De=C(9950),Ce=C(3191),ue=C(449),ee=C(1159),se=C(2382),de=C(7579),J=C(9770),le=C(6451),ke=C(8675),Be=C(3900),Z=C(5698),et=C(9300),Ye=C(4004),Qe=C(1884),me=C(2722),z=C(1777),q=C(226);const pe=["trigger"],Te=["panel"];function Ne(at,Pe){if(1&at&&(g.TgZ(0,"span",8),g._uU(1),g.qZA()),2&at){const E=g.oxw();g.xp6(1),g.Oqu(E.placeholder)}}function ve(at,Pe){if(1&at&&(g.TgZ(0,"span",12),g._uU(1),g.qZA()),2&at){const E=g.oxw(2);g.xp6(1),g.Oqu(E.triggerValue)}}function Me(at,Pe){1&at&&g.Hsn(0,0,["*ngSwitchCase","true"])}function xe(at,Pe){if(1&at&&(g.TgZ(0,"span",9),g.YNc(1,ve,2,1,"span",10),g.YNc(2,Me,1,0,"ng-content",11),g.qZA()),2&at){const E=g.oxw();g.Q6J("ngSwitch",!!E.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function Ae(at,Pe){if(1&at){const E=g.EpF();g.TgZ(0,"div",13)(1,"div",14,15),g.NdJ("@transformPanel.done",function(D){return g.CHM(E),g.oxw()._panelDoneAnimatingStream.next(D.toState)})("keydown",function(D){return g.CHM(E),g.oxw()._handleKeydown(D)}),g.Hsn(3,1),g.qZA()()}if(2&at){const E=g.oxw();g.Q6J("@transformPanelWrap",void 0),g.xp6(1),g.Gre("mat-select-panel ",E._getPanelTheme(),""),g.Udp("transform-origin",E._transformOrigin)("font-size",E._triggerFontSize,"px"),g.Q6J("ngClass",E.panelClass)("@transformPanel",E.multiple?"showing-multiple":"showing"),g.uIk("id",E.id+"-panel")("aria-multiselectable",E.multiple)("aria-label",E.ariaLabel||null)("aria-labelledby",E._getPanelAriaLabelledby())}}const tt=[[["mat-select-trigger"]],"*"],Fe=["mat-select-trigger","*"],Ct={transformPanelWrap:(0,z.X$)("transformPanelWrap",[(0,z.eR)("* => void",(0,z.IO)("@transformPanel",[(0,z.pV)()],{optional:!0}))]),transformPanel:(0,z.X$)("transformPanel",[(0,z.SB)("void",(0,z.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,z.SB)("showing",(0,z.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,z.SB)("showing-multiple",(0,z.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,z.eR)("void => *",(0,z.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,z.eR)("* => void",(0,z.jt)("100ms 25ms linear",(0,z.oB)({opacity:0})))])};let Rt=0;const Xe=new g.OlP("mat-select-scroll-strategy"),Q=new g.OlP("MAT_SELECT_CONFIG"),K={provide:Xe,deps:[c.aV],useFactory:function je(at){return()=>at.scrollStrategies.reposition()}};class He{constructor(Pe,E){this.source=Pe,this.value=E}}const Ge=(0,Y.Kr)((0,Y.sb)((0,Y.Id)((0,Y.FD)(class{constructor(at,Pe,E,S,D){this._elementRef=at,this._defaultErrorStateMatcher=Pe,this._parentForm=E,this._parentFormGroup=S,this.ngControl=D}})))),lt=new g.OlP("MatSelectTrigger");let Ht=(()=>{class at extends Ge{constructor(E,S,D,P,L,re,be,Ue,ze,_t,ct,Ot,nn,Yt){var dn,dt,vt;super(L,P,be,Ue,_t),this._viewportRuler=E,this._changeDetectorRef=S,this._ngZone=D,this._dir=re,this._parentFormField=ze,this._liveAnnouncer=nn,this._defaultOptions=Yt,this._panelOpen=!1,this._compareWith=(Le,we)=>Le===we,this._uid="mat-select-"+Rt++,this._triggerAriaLabelledBy=null,this._destroy=new de.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Rt++,this._panelDoneAnimatingStream=new de.x,this._overlayPanelClass=(null===(dn=this._defaultOptions)||void 0===dn?void 0:dn.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(vt=null===(dt=this._defaultOptions)||void 0===dt?void 0:dt.disableOptionCentering)&&void 0!==vt&&vt,this.ariaLabel="",this.optionSelectionChanges=(0,J.P)(()=>{const Le=this.options;return Le?Le.changes.pipe((0,ke.O)(Le),(0,Be.w)(()=>(0,le.T)(...Le.map(we=>we.onSelectionChange)))):this._ngZone.onStable.pipe((0,Z.q)(1),(0,Be.w)(()=>this.optionSelectionChanges))}),this.openedChange=new g.vpe,this._openedStream=this.openedChange.pipe((0,et.h)(Le=>Le),(0,Ye.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,et.h)(Le=>!Le),(0,Ye.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Yt?void 0:Yt.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Yt.typeaheadDebounceInterval),this._scrollStrategyFactory=Ot,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ct)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(E){this._placeholder=E,this.stateChanges.next()}get required(){var E,S,D,P;return null!==(P=null!==(E=this._required)&&void 0!==E?E:null===(D=null===(S=this.ngControl)||void 0===S?void 0:S.control)||void 0===D?void 0:D.hasValidator(se.kI.required))&&void 0!==P&&P}set required(E){this._required=(0,Ce.Ig)(E),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(E){this._multiple=(0,Ce.Ig)(E)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(E){this._disableOptionCentering=(0,Ce.Ig)(E)}get compareWith(){return this._compareWith}set compareWith(E){this._compareWith=E,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(E){(E!==this._value||this._multiple&&Array.isArray(E))&&(this.options&&this._setSelectionByValue(E),this._value=E)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(E){this._typeaheadDebounceInterval=(0,Ce.su)(E)}get id(){return this._id}set id(E){this._id=E||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new ue.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,Qe.x)(),(0,me.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,me.R)(this._destroy)).subscribe(E=>{E.added.forEach(S=>S.select()),E.removed.forEach(S=>S.deselect())}),this.options.changes.pipe((0,ke.O)(null),(0,me.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const E=this._getTriggerAriaLabelledby();if(E!==this._triggerAriaLabelledBy){const S=this._elementRef.nativeElement;this._triggerAriaLabelledBy=E,E?S.setAttribute("aria-labelledby",E):S.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(E){E.disabled&&this.stateChanges.next(),E.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(E){this.value=E}registerOnChange(E){this._onChange=E}registerOnTouched(E){this._onTouched=E}setDisabledState(E){this.disabled=E,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var E,S;return this.multiple?(null===(E=this._selectionModel)||void 0===E?void 0:E.selected)||[]:null===(S=this._selectionModel)||void 0===S?void 0:S.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const E=this._selectionModel.selected.map(S=>S.viewValue);return this._isRtl()&&E.reverse(),E.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(E){this.disabled||(this.panelOpen?this._handleOpenKeydown(E):this._handleClosedKeydown(E))}_handleClosedKeydown(E){const S=E.keyCode,D=S===ee.JH||S===ee.LH||S===ee.oh||S===ee.SV,P=S===ee.K5||S===ee.L_,L=this._keyManager;if(!L.isTyping()&&P&&!(0,ee.Vb)(E)||(this.multiple||E.altKey)&&D)E.preventDefault(),this.open();else if(!this.multiple){const re=this.selected;L.onKeydown(E);const be=this.selected;be&&re!==be&&this._liveAnnouncer.announce(be.viewValue,1e4)}}_handleOpenKeydown(E){const S=this._keyManager,D=E.keyCode,P=D===ee.JH||D===ee.LH,L=S.isTyping();if(P&&E.altKey)E.preventDefault(),this.close();else if(L||D!==ee.K5&&D!==ee.L_||!S.activeItem||(0,ee.Vb)(E))if(!L&&this._multiple&&D===ee.A&&E.ctrlKey){E.preventDefault();const re=this.options.some(be=>!be.disabled&&!be.selected);this.options.forEach(be=>{be.disabled||(re?be.select():be.deselect())})}else{const re=S.activeItemIndex;S.onKeydown(E),this._multiple&&P&&E.shiftKey&&S.activeItem&&S.activeItemIndex!==re&&S.activeItem._selectViaInteraction()}else E.preventDefault(),S.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,Z.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(E){if(this._selectionModel.selected.forEach(S=>S.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&E)Array.isArray(E),E.forEach(S=>this._selectValue(S)),this._sortValues();else{const S=this._selectValue(E);S?this._keyManager.updateActiveItem(S):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(E){const S=this.options.find(D=>{if(this._selectionModel.isSelected(D))return!1;try{return null!=D.value&&this._compareWith(D.value,E)}catch(P){return!1}});return S&&this._selectionModel.select(S),S}_initKeyManager(){this._keyManager=new De.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,me.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,me.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const E=(0,le.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,me.R)(E)).subscribe(S=>{this._onSelect(S.source,S.isUserInput),S.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,le.T)(...this.options.map(S=>S._stateChanges)).pipe((0,me.R)(E)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(E,S){const D=this._selectionModel.isSelected(E);null!=E.value||this._multiple?(D!==E.selected&&(E.selected?this._selectionModel.select(E):this._selectionModel.deselect(E)),S&&this._keyManager.setActiveItem(E),this.multiple&&(this._sortValues(),S&&this.focus())):(E.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(E.value)),D!==this._selectionModel.isSelected(E)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const E=this.options.toArray();this._selectionModel.sort((S,D)=>this.sortComparator?this.sortComparator(S,D,E):E.indexOf(S)-E.indexOf(D)),this.stateChanges.next()}}_propagateChanges(E){let S=null;S=this.multiple?this.selected.map(D=>D.value):this.selected?this.selected.value:E,this._value=S,this.valueChange.emit(S),this._onChange(S),this.selectionChange.emit(this._getChangeEvent(S)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var E;return!this._panelOpen&&!this.disabled&&(null===(E=this.options)||void 0===E?void 0:E.length)>0}focus(E){this._elementRef.nativeElement.focus(E)}_getPanelAriaLabelledby(){var E;if(this.ariaLabel)return null;const S=null===(E=this._parentFormField)||void 0===E?void 0:E.getLabelId();return this.ariaLabelledby?(S?S+" ":"")+this.ariaLabelledby:S}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var E;if(this.ariaLabel)return null;const S=null===(E=this._parentFormField)||void 0===E?void 0:E.getLabelId();let D=(S?S+" ":"")+this._valueId;return this.ariaLabelledby&&(D+=" "+this.ariaLabelledby),D}_panelDoneAnimating(E){this.openedChange.emit(E)}setDescribedByIds(E){this._ariaDescribedby=E.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return at.\u0275fac=function(E){return new(E||at)(g.Y36(ie.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(Y.rD),g.Y36(g.SBq),g.Y36(q.Is,8),g.Y36(se.F,8),g.Y36(se.sg,8),g.Y36(ce.G_,8),g.Y36(se.a5,10),g.$8M("tabindex"),g.Y36(Xe),g.Y36(De.Kd),g.Y36(Q,8))},at.\u0275dir=g.lG2({type:at,viewQuery:function(E,S){if(1&E&&(g.Gf(pe,5),g.Gf(Te,5),g.Gf(c.pI,5)),2&E){let D;g.iGM(D=g.CRH())&&(S.trigger=D.first),g.iGM(D=g.CRH())&&(S.panel=D.first),g.iGM(D=g.CRH())&&(S._overlayDir=D.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[g.qOj,g.TTD]}),at})(),bt=(()=>{class at extends Ht{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(E,S,D){const P=this._getItemHeight();return Math.min(Math.max(0,P*E-S+P/2),D)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,me.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,Z.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(E){const S=(0,Y.CB)(E,this.options,this.optionGroups),D=this._getItemHeight();this.panel.nativeElement.scrollTop=0===E&&1===S?0:(0,Y.jH)((E+S)*D,D,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(E){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(E)}_getChangeEvent(E){return new He(this,E)}_calculateOverlayOffsetX(){const E=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),S=this._viewportRuler.getViewportSize(),D=this._isRtl(),P=this.multiple?56:32;let L;if(this.multiple)L=40;else if(this.disableOptionCentering)L=16;else{let Ue=this._selectionModel.selected[0]||this.options.first;L=Ue&&Ue.group?32:16}D||(L*=-1);const re=0-(E.left+L-(D?P:0)),be=E.right+L-S.width+(D?0:P);re>0?L+=re+8:be>0&&(L-=be+8),this._overlayDir.offsetX=Math.round(L),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(E,S,D){const P=this._getItemHeight(),L=(P-this._triggerRect.height)/2,re=Math.floor(256/P);let be;return this.disableOptionCentering?0:(be=0===this._scrollTop?E*P:this._scrollTop===D?(E-(this._getItemCount()-re))*P+(P-(this._getItemCount()*P-256)%P):S-P/2,Math.round(-1*be-L))}_checkOverlayWithinViewport(E){const S=this._getItemHeight(),D=this._viewportRuler.getViewportSize(),P=this._triggerRect.top-8,L=D.height-this._triggerRect.bottom-8,re=Math.abs(this._offsetY),Ue=Math.min(this._getItemCount()*S,256)-re-this._triggerRect.height;Ue>L?this._adjustPanelUp(Ue,L):re>P?this._adjustPanelDown(re,P,E):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(E,S){const D=Math.round(E-S);this._scrollTop-=D,this._offsetY-=D,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(E,S,D){const P=Math.round(E-S);if(this._scrollTop+=P,this._offsetY+=P,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=D)return this._scrollTop=D,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const E=this._getItemHeight(),S=this._getItemCount(),D=Math.min(S*E,256),L=S*E-D;let re;re=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),re+=(0,Y.CB)(re,this.options,this.optionGroups);const be=D/2;this._scrollTop=this._calculateOverlayScroll(re,be,L),this._offsetY=this._calculateOverlayOffsetY(re,be,L),this._checkOverlayWithinViewport(L)}_getOriginBasedOnOption(){const E=this._getItemHeight(),S=(E-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-S+E/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return at.\u0275fac=function(){let Pe;return function(S){return(Pe||(Pe=g.n5z(at)))(S||at)}}(),at.\u0275cmp=g.Xpm({type:at,selectors:[["mat-select"]],contentQueries:function(E,S,D){if(1&E&&(g.Suo(D,lt,5),g.Suo(D,Y.ey,5),g.Suo(D,Y.K7,5)),2&E){let P;g.iGM(P=g.CRH())&&(S.customTrigger=P.first),g.iGM(P=g.CRH())&&(S.options=P),g.iGM(P=g.CRH())&&(S.optionGroups=P)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(E,S){1&E&&g.NdJ("keydown",function(P){return S._handleKeydown(P)})("focus",function(){return S._onFocus()})("blur",function(){return S._onBlur()}),2&E&&(g.uIk("id",S.id)("tabindex",S.tabIndex)("aria-controls",S.panelOpen?S.id+"-panel":null)("aria-expanded",S.panelOpen)("aria-label",S.ariaLabel||null)("aria-required",S.required.toString())("aria-disabled",S.disabled.toString())("aria-invalid",S.errorState)("aria-describedby",S._ariaDescribedby||null)("aria-activedescendant",S._getAriaActiveDescendant()),g.ekj("mat-select-disabled",S.disabled)("mat-select-invalid",S.errorState)("mat-select-required",S.required)("mat-select-empty",S.empty)("mat-select-multiple",S.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[g._Bn([{provide:ce.Eo,useExisting:at},{provide:Y.HF,useExisting:at}]),g.qOj],ngContentSelectors:Fe,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(E,S){if(1&E&&(g.F$t(tt),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return S.toggle()}),g.TgZ(3,"div",2),g.YNc(4,Ne,2,1,"span",3),g.YNc(5,xe,3,2,"span",4),g.qZA(),g.TgZ(6,"div",5),g._UZ(7,"div",6),g.qZA()(),g.YNc(8,Ae,4,14,"ng-template",7),g.NdJ("backdropClick",function(){return S.close()})("attach",function(){return S._onAttached()})("detach",function(){return S.close()})),2&E){const D=g.MAs(1);g.uIk("aria-owns",S.panelOpen?S.id+"-panel":null),g.xp6(3),g.Q6J("ngSwitch",S.empty),g.uIk("id",S._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(3),g.Q6J("cdkConnectedOverlayPanelClass",S._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",S._scrollStrategy)("cdkConnectedOverlayOrigin",D)("cdkConnectedOverlayOpen",S.panelOpen)("cdkConnectedOverlayPositions",S._positions)("cdkConnectedOverlayMinWidth",null==S._triggerRect?null:S._triggerRect.width)("cdkConnectedOverlayOffsetY",S._offsetY)}},directives:[c.xu,o.RF,o.n9,o.ED,c.pI,o.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[Ct.transformPanelWrap,Ct.transformPanel]},changeDetection:0}),at})(),Nt=(()=>{class at{}return at.\u0275fac=function(E){return new(E||at)},at.\u0275mod=g.oAB({type:at}),at.\u0275inj=g.cJS({providers:[K],imports:[[o.ez,c.U8,Y.Ng,Y.BQ],ie.ZD,ce.lN,Y.Ng,Y.BQ]}),at})()},6360:(qe,ye,C)=>{C.d(ye,{Qb:()=>br,PW:()=>Ee});var c=C(4893),o=C(2313),g=C(1777);const Y=!1;function ie(d){return new c.vHH(3e3,Y)}function xt(){return"undefined"!=typeof window&&void 0!==window.document}function on(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Xe(d){switch(d.length){case 0:return new g.ZN;case 1:return d[0];default:return new g.ZE(d)}}function je(d,a,l,v,R={},G={}){const ne=[],oe=[];let Oe=-1,Ke=null;if(v.forEach(gt=>{const It=gt.offset,Xt=It==Oe,ln=Xt&&Ke||{};Object.keys(gt).forEach(Vt=>{let rn=Vt,Mn=gt[Vt];if("offset"!==Vt)switch(rn=a.normalizePropertyName(rn,ne),Mn){case g.k1:Mn=R[Vt];break;case g.l3:Mn=G[Vt];break;default:Mn=a.normalizeStyleValue(Vt,rn,Mn,ne)}ln[rn]=Mn}),Xt||oe.push(ln),Ke=ln,Oe=It}),ne.length)throw function Ae(d){return new c.vHH(3502,Y)}();return oe}function Q(d,a,l,v){switch(a){case"start":d.onStart(()=>v(l&&K(l,"start",d)));break;case"done":d.onDone(()=>v(l&&K(l,"done",d)));break;case"destroy":d.onDestroy(()=>v(l&&K(l,"destroy",d)))}}function K(d,a,l){const v=l.totalTime,G=He(d.element,d.triggerName,d.fromState,d.toState,a||d.phaseName,null==v?d.totalTime:v,!!l.disabled),ne=d._data;return null!=ne&&(G._data=ne),G}function He(d,a,l,v,R="",G=0,ne){return{element:d,triggerName:a,fromState:l,toState:v,phaseName:R,totalTime:G,disabled:!!ne}}function Ge(d,a,l){let v;return d instanceof Map?(v=d.get(a),v||d.set(a,v=l)):(v=d[a],v||(v=d[a]=l)),v}function lt(d){const a=d.indexOf(":");return[d.substring(1,a),d.substr(a+1)]}let St=(d,a)=>!1,Ht=(d,a,l)=>[],bt=null;function Nt(d){const a=d.parentNode||d.host;return a===bt?null:a}(on()||"undefined"!=typeof Element)&&(xt()?(bt=(()=>document.documentElement)(),St=(d,a)=>{for(;a;){if(a===d)return!0;a=Nt(a)}return!1}):St=(d,a)=>d.contains(a),Ht=(d,a,l)=>{if(l)return Array.from(d.querySelectorAll(a));const v=d.querySelector(a);return v?[v]:[]});let E=null,S=!1;function D(d){E||(E=function P(){return"undefined"!=typeof document?document.body:null}()||{},S=!!E.style&&"WebkitAppearance"in E.style);let a=!0;return E.style&&!function Pe(d){return"ebkit"==d.substring(1,6)}(d)&&(a=d in E.style,!a&&S&&(a="Webkit"+d.charAt(0).toUpperCase()+d.substr(1)in E.style)),a}const L=St,re=Ht;let Ue=(()=>{class d{validateStyleProperty(l){return D(l)}matchesElement(l,v){return!1}containsElement(l,v){return L(l,v)}getParentElement(l){return Nt(l)}query(l,v,R){return re(l,v,R)}computeStyle(l,v,R){return R||""}animate(l,v,R,G,ne,oe=[],Oe){return new g.ZN(R,G)}}return d.\u0275fac=function(l){return new(l||d)},d.\u0275prov=c.Yz7({token:d,factory:d.\u0275fac}),d})(),ze=(()=>{class d{}return d.NOOP=new Ue,d})();const nn="ng-enter",Yt="ng-leave",dn="ng-trigger",dt=".ng-trigger",vt="ng-animating",Le=".ng-animating";function we(d){if("number"==typeof d)return d;const a=d.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:V(parseFloat(a[1]),a[2])}function V(d,a){return"s"===a?1e3*d:d}function j(d,a,l){return d.hasOwnProperty("duration")?d:function $(d,a,l){let R,G=0,ne="";if("string"==typeof d){const oe=d.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===oe)return a.push(ie()),{duration:0,delay:0,easing:""};R=V(parseFloat(oe[1]),oe[2]);const Oe=oe[3];null!=Oe&&(G=V(parseFloat(Oe),oe[4]));const Ke=oe[5];Ke&&(ne=Ke)}else R=d;if(!l){let oe=!1,Oe=a.length;R<0&&(a.push(function De(){return new c.vHH(3100,Y)}()),oe=!0),G<0&&(a.push(function Ce(){return new c.vHH(3101,Y)}()),oe=!0),oe&&a.splice(Oe,0,ie())}return{duration:R,delay:G,easing:ne}}(d,a,l)}function he(d,a={}){return Object.keys(d).forEach(l=>{a[l]=d[l]}),a}function st(d,a,l={}){if(a)for(let v in d)l[v]=d[v];else he(d,l);return l}function At(d,a,l){return l?a+":"+l+";":""}function Zt(d){let a="";for(let l=0;l{const R=$t(v);l&&!l.hasOwnProperty(v)&&(l[v]=d.style[R]),d.style[R]=a[v]}),on()&&Zt(d))}function Dt(d,a){d.style&&(Object.keys(a).forEach(l=>{const v=$t(l);d.style[v]=""}),on()&&Zt(d))}function Rn(d){return Array.isArray(d)?1==d.length?d[0]:(0,g.vP)(d):d}const _e=new RegExp("{{\\s*(.+?)\\s*}}","g");function te(d){let a=[];if("string"==typeof d){let l;for(;l=_e.exec(d);)a.push(l[1]);_e.lastIndex=0}return a}function Ie(d,a,l){const v=d.toString(),R=v.replace(_e,(G,ne)=>{let oe=a[ne];return a.hasOwnProperty(ne)||(l.push(function ee(d){return new c.vHH(3003,Y)}()),oe=""),oe.toString()});return R==v?d:R}function rt(d){const a=[];let l=d.next();for(;!l.done;)a.push(l.value),l=d.next();return a}const kt=/-+([a-z0-9])/g;function $t(d){return d.replace(kt,(...a)=>a[1].toUpperCase())}function bn(d){return d.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Cn(d,a,l){switch(a.type){case 7:return d.visitTrigger(a,l);case 0:return d.visitState(a,l);case 1:return d.visitTransition(a,l);case 2:return d.visitSequence(a,l);case 3:return d.visitGroup(a,l);case 4:return d.visitAnimate(a,l);case 5:return d.visitKeyframes(a,l);case 6:return d.visitStyle(a,l);case 8:return d.visitReference(a,l);case 9:return d.visitAnimateChild(a,l);case 10:return d.visitAnimateRef(a,l);case 11:return d.visitQuery(a,l);case 12:return d.visitStagger(a,l);default:throw function se(d){return new c.vHH(3004,Y)}()}}function jn(d,a){return window.getComputedStyle(d)[a]}function ft(d,a){const l=[];return"string"==typeof d?d.split(/\s*,\s*/).forEach(v=>function Qt(d,a,l){if(":"==d[0]){const Oe=function pn(d,a){switch(d){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,v)=>parseFloat(v)>parseFloat(l);case":decrement":return(l,v)=>parseFloat(v) *"}}(d,l);if("function"==typeof Oe)return void a.push(Oe);d=Oe}const v=d.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==v||v.length<4)return l.push(function Te(d){return new c.vHH(3015,Y)}()),a;const R=v[1],G=v[2],ne=v[3];a.push(An(R,ne));"<"==G[0]&&!("*"==R&&"*"==ne)&&a.push(An(ne,R))}(v,l,a)):l.push(d),l}const Fn=new Set(["true","1"]),ai=new Set(["false","0"]);function An(d,a){const l=Fn.has(d)||ai.has(d),v=Fn.has(a)||ai.has(a);return(R,G)=>{let ne="*"==d||d==R,oe="*"==a||a==G;return!ne&&l&&"boolean"==typeof R&&(ne=R?Fn.has(d):ai.has(d)),!oe&&v&&"boolean"==typeof G&&(oe=G?Fn.has(a):ai.has(a)),ne&&oe}}const tn=new RegExp("s*:selfs*,?","g");function Yn(d,a,l,v){return new jt(d).build(a,l,v)}class jt{constructor(a){this._driver=a}build(a,l,v){const R=new Si(l);this._resetContextStyleTimingState(R);const G=Cn(this,Rn(a),R);return R.unsupportedCSSPropertiesFound.size&&R.unsupportedCSSPropertiesFound.keys(),G}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles={},a.collectedStyles[""]={},a.currentTime=0}visitTrigger(a,l){let v=l.queryCount=0,R=l.depCount=0;const G=[],ne=[];return"@"==a.name.charAt(0)&&l.errors.push(function J(){return new c.vHH(3006,Y)}()),a.definitions.forEach(oe=>{if(this._resetContextStyleTimingState(l),0==oe.type){const Oe=oe,Ke=Oe.name;Ke.toString().split(/\s*,\s*/).forEach(gt=>{Oe.name=gt,G.push(this.visitState(Oe,l))}),Oe.name=Ke}else if(1==oe.type){const Oe=this.visitTransition(oe,l);v+=Oe.queryCount,R+=Oe.depCount,ne.push(Oe)}else l.errors.push(function le(){return new c.vHH(3007,Y)}())}),{type:7,name:a.name,states:G,transitions:ne,queryCount:v,depCount:R,options:null}}visitState(a,l){const v=this.visitStyle(a.styles,l),R=a.options&&a.options.params||null;if(v.containsDynamicStyles){const G=new Set,ne=R||{};v.styles.forEach(oe=>{if(gn(oe)){const Oe=oe;Object.keys(Oe).forEach(Ke=>{te(Oe[Ke]).forEach(gt=>{ne.hasOwnProperty(gt)||G.add(gt)})})}}),G.size&&(rt(G.values()),l.errors.push(function ke(d,a){return new c.vHH(3008,Y)}()))}return{type:0,name:a.name,style:v,options:R?{params:R}:null}}visitTransition(a,l){l.queryCount=0,l.depCount=0;const v=Cn(this,Rn(a.animation),l);return{type:1,matchers:ft(a.expr,l.errors),animation:v,queryCount:l.queryCount,depCount:l.depCount,options:Nn(a.options)}}visitSequence(a,l){return{type:2,steps:a.steps.map(v=>Cn(this,v,l)),options:Nn(a.options)}}visitGroup(a,l){const v=l.currentTime;let R=0;const G=a.steps.map(ne=>{l.currentTime=v;const oe=Cn(this,ne,l);return R=Math.max(R,l.currentTime),oe});return l.currentTime=R,{type:3,steps:G,options:Nn(a.options)}}visitAnimate(a,l){const v=function di(d,a){let l=null;if(d.hasOwnProperty("duration"))l=d;else if("number"==typeof d)return Xn(j(d,a).duration,0,"");const v=d;if(v.split(/\s+/).some(G=>"{"==G.charAt(0)&&"{"==G.charAt(1))){const G=Xn(0,0,"");return G.dynamic=!0,G.strValue=v,G}return l=l||j(v,a),Xn(l.duration,l.delay,l.easing)}(a.timings,l.errors);l.currentAnimateTimings=v;let R,G=a.styles?a.styles:(0,g.oB)({});if(5==G.type)R=this.visitKeyframes(G,l);else{let ne=a.styles,oe=!1;if(!ne){oe=!0;const Ke={};v.easing&&(Ke.easing=v.easing),ne=(0,g.oB)(Ke)}l.currentTime+=v.duration+v.delay;const Oe=this.visitStyle(ne,l);Oe.isEmptyStep=oe,R=Oe}return l.currentAnimateTimings=null,{type:4,timings:v,style:R,options:null}}visitStyle(a,l){const v=this._makeStyleAst(a,l);return this._validateStyleAst(v,l),v}_makeStyleAst(a,l){const v=[];Array.isArray(a.styles)?a.styles.forEach(ne=>{"string"==typeof ne?ne==g.l3?v.push(ne):l.errors.push(function Be(d){return new c.vHH(3002,Y)}()):v.push(ne)}):v.push(a.styles);let R=!1,G=null;return v.forEach(ne=>{if(gn(ne)){const oe=ne,Oe=oe.easing;if(Oe&&(G=Oe,delete oe.easing),!R)for(let Ke in oe)if(oe[Ke].toString().indexOf("{{")>=0){R=!0;break}}}),{type:6,styles:v,easing:G,offset:a.offset,containsDynamicStyles:R,options:null}}_validateStyleAst(a,l){const v=l.currentAnimateTimings;let R=l.currentTime,G=l.currentTime;v&&G>0&&(G-=v.duration+v.delay),a.styles.forEach(ne=>{"string"!=typeof ne&&Object.keys(ne).forEach(oe=>{if(!this._driver.validateStyleProperty(oe))return delete ne[oe],void l.unsupportedCSSPropertiesFound.add(oe);const Oe=l.collectedStyles[l.currentQuerySelector],Ke=Oe[oe];let gt=!0;Ke&&(G!=R&&G>=Ke.startTime&&R<=Ke.endTime&&(l.errors.push(function et(d,a,l,v,R){return new c.vHH(3010,Y)}()),gt=!1),G=Ke.startTime),gt&&(Oe[oe]={startTime:G,endTime:R}),l.options&&function Ve(d,a,l){const v=a.params||{},R=te(d);R.length&&R.forEach(G=>{v.hasOwnProperty(G)||l.push(function ue(d){return new c.vHH(3001,Y)}())})}(ne[oe],l.options,l.errors)})})}visitKeyframes(a,l){const v={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Ye(){return new c.vHH(3011,Y)}()),v;let G=0;const ne=[];let oe=!1,Oe=!1,Ke=0;const gt=a.steps.map($n=>{const li=this._makeStyleAst($n,l);let Ei=null!=li.offset?li.offset:function Gn(d){if("string"==typeof d)return null;let a=null;if(Array.isArray(d))d.forEach(l=>{if(gn(l)&&l.hasOwnProperty("offset")){const v=l;a=parseFloat(v.offset),delete v.offset}});else if(gn(d)&&d.hasOwnProperty("offset")){const l=d;a=parseFloat(l.offset),delete l.offset}return a}(li.styles),ii=0;return null!=Ei&&(G++,ii=li.offset=Ei),Oe=Oe||ii<0||ii>1,oe=oe||ii0&&G{const Ei=Xt>0?li==ln?1:Xt*li:ne[li],ii=Ei*Mn;l.currentTime=Vt+rn.delay+ii,rn.duration=ii,this._validateStyleAst($n,l),$n.offset=Ei,v.styles.push($n)}),v}visitReference(a,l){return{type:8,animation:Cn(this,Rn(a.animation),l),options:Nn(a.options)}}visitAnimateChild(a,l){return l.depCount++,{type:9,options:Nn(a.options)}}visitAnimateRef(a,l){return{type:10,animation:this.visitReference(a.animation,l),options:Nn(a.options)}}visitQuery(a,l){const v=l.currentQuerySelector,R=a.options||{};l.queryCount++,l.currentQuery=a;const[G,ne]=function ui(d){const a=!!d.split(/\s*,\s*/).find(l=>":self"==l);return a&&(d=d.replace(tn,"")),d=d.replace(/@\*/g,dt).replace(/@\w+/g,l=>dt+"-"+l.substr(1)).replace(/:animating/g,Le),[d,a]}(a.selector);l.currentQuerySelector=v.length?v+" "+G:G,Ge(l.collectedStyles,l.currentQuerySelector,{});const oe=Cn(this,Rn(a.animation),l);return l.currentQuery=null,l.currentQuerySelector=v,{type:11,selector:G,limit:R.limit||0,optional:!!R.optional,includeSelf:ne,animation:oe,originalSelector:a.selector,options:Nn(a.options)}}visitStagger(a,l){l.currentQuery||l.errors.push(function q(){return new c.vHH(3013,Y)}());const v="full"===a.timings?{duration:0,delay:0,easing:"full"}:j(a.timings,l.errors,!0);return{type:12,animation:Cn(this,Rn(a.animation),l),timings:v,options:null}}}class Si{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function gn(d){return!Array.isArray(d)&&"object"==typeof d}function Nn(d){return d?(d=he(d)).params&&(d.params=function Jn(d){return d?he(d):null}(d.params)):d={},d}function Xn(d,a,l){return{duration:d,delay:a,easing:l}}function un(d,a,l,v,R,G,ne=null,oe=!1){return{type:1,element:d,keyframes:a,preStyleProps:l,postStyleProps:v,duration:R,delay:G,totalTime:R+G,easing:ne,subTimeline:oe}}class ir{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,l){let v=this._map.get(a);v||this._map.set(a,v=[]),v.push(...l)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const Ci=new RegExp(":enter","g"),Zi=new RegExp(":leave","g");function On(d,a,l,v,R,G={},ne={},oe,Oe,Ke=[]){return(new ei).buildKeyframes(d,a,l,v,R,G,ne,oe,Oe,Ke)}class ei{buildKeyframes(a,l,v,R,G,ne,oe,Oe,Ke,gt=[]){Ke=Ke||new ir;const It=new hr(a,l,Ke,R,G,gt,[]);It.options=Oe,It.currentTimeline.setStyles([ne],null,It.errors,Oe),Cn(this,v,It);const Xt=It.timelines.filter(ln=>ln.containsAnimation());if(Object.keys(oe).length){let ln;for(let Vt=Xt.length-1;Vt>=0;Vt--){const rn=Xt[Vt];if(rn.element===l){ln=rn;break}}ln&&!ln.allowOnlyTimelineStyles()&&ln.setStyles([oe],null,It.errors,Oe)}return Xt.length?Xt.map(ln=>ln.buildKeyframes()):[un(l,[],[],[],0,0,"",!1)]}visitTrigger(a,l){}visitState(a,l){}visitTransition(a,l){}visitAnimateChild(a,l){const v=l.subInstructions.get(l.element);if(v){const R=l.createSubContext(a.options),G=l.currentTimeline.currentTime,ne=this._visitSubInstructions(v,R,R.options);G!=ne&&l.transformIntoNewTimeline(ne)}l.previousNode=a}visitAnimateRef(a,l){const v=l.createSubContext(a.options);v.transformIntoNewTimeline(),this.visitReference(a.animation,v),l.transformIntoNewTimeline(v.currentTimeline.currentTime),l.previousNode=a}_visitSubInstructions(a,l,v){let G=l.currentTimeline.currentTime;const ne=null!=v.duration?we(v.duration):null,oe=null!=v.delay?we(v.delay):null;return 0!==ne&&a.forEach(Oe=>{const Ke=l.appendInstructionToTimeline(Oe,ne,oe);G=Math.max(G,Ke.duration+Ke.delay)}),G}visitReference(a,l){l.updateOptions(a.options,!0),Cn(this,a.animation,l),l.previousNode=a}visitSequence(a,l){const v=l.subContextCount;let R=l;const G=a.options;if(G&&(G.params||G.delay)&&(R=l.createSubContext(G),R.transformIntoNewTimeline(),null!=G.delay)){6==R.previousNode.type&&(R.currentTimeline.snapshotCurrentStyles(),R.previousNode=Oi);const ne=we(G.delay);R.delayNextStep(ne)}a.steps.length&&(a.steps.forEach(ne=>Cn(this,ne,R)),R.currentTimeline.applyStylesToKeyframe(),R.subContextCount>v&&R.transformIntoNewTimeline()),l.previousNode=a}visitGroup(a,l){const v=[];let R=l.currentTimeline.currentTime;const G=a.options&&a.options.delay?we(a.options.delay):0;a.steps.forEach(ne=>{const oe=l.createSubContext(a.options);G&&oe.delayNextStep(G),Cn(this,ne,oe),R=Math.max(R,oe.currentTimeline.currentTime),v.push(oe.currentTimeline)}),v.forEach(ne=>l.currentTimeline.mergeTimelineCollectedStyles(ne)),l.transformIntoNewTimeline(R),l.previousNode=a}_visitTiming(a,l){if(a.dynamic){const v=a.strValue;return j(l.params?Ie(v,l.params,l.errors):v,l.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,l){const v=l.currentAnimateTimings=this._visitTiming(a.timings,l),R=l.currentTimeline;v.delay&&(l.incrementTime(v.delay),R.snapshotCurrentStyles());const G=a.style;5==G.type?this.visitKeyframes(G,l):(l.incrementTime(v.duration),this.visitStyle(G,l),R.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=a}visitStyle(a,l){const v=l.currentTimeline,R=l.currentAnimateTimings;!R&&v.getCurrentStyleProperties().length&&v.forwardFrame();const G=R&&R.easing||a.easing;a.isEmptyStep?v.applyEmptyStep(G):v.setStyles(a.styles,G,l.errors,l.options),l.previousNode=a}visitKeyframes(a,l){const v=l.currentAnimateTimings,R=l.currentTimeline.duration,G=v.duration,oe=l.createSubContext().currentTimeline;oe.easing=v.easing,a.styles.forEach(Oe=>{oe.forwardTime((Oe.offset||0)*G),oe.setStyles(Oe.styles,Oe.easing,l.errors,l.options),oe.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(oe),l.transformIntoNewTimeline(R+G),l.previousNode=a}visitQuery(a,l){const v=l.currentTimeline.currentTime,R=a.options||{},G=R.delay?we(R.delay):0;G&&(6===l.previousNode.type||0==v&&l.currentTimeline.getCurrentStyleProperties().length)&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=Oi);let ne=v;const oe=l.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!R.optional,l.errors);l.currentQueryTotal=oe.length;let Oe=null;oe.forEach((Ke,gt)=>{l.currentQueryIndex=gt;const It=l.createSubContext(a.options,Ke);G&&It.delayNextStep(G),Ke===l.element&&(Oe=It.currentTimeline),Cn(this,a.animation,It),It.currentTimeline.applyStylesToKeyframe(),ne=Math.max(ne,It.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(ne),Oe&&(l.currentTimeline.mergeTimelineCollectedStyles(Oe),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=a}visitStagger(a,l){const v=l.parentContext,R=l.currentTimeline,G=a.timings,ne=Math.abs(G.duration),oe=ne*(l.currentQueryTotal-1);let Oe=ne*l.currentQueryIndex;switch(G.duration<0?"reverse":G.easing){case"reverse":Oe=oe-Oe;break;case"full":Oe=v.currentStaggerTime}const gt=l.currentTimeline;Oe&>.delayNextStep(Oe);const It=gt.currentTime;Cn(this,a.animation,l),l.previousNode=a,v.currentStaggerTime=R.currentTime-It+(R.startTime-v.currentTimeline.startTime)}}const Oi={};class hr{constructor(a,l,v,R,G,ne,oe,Oe){this._driver=a,this.element=l,this.subInstructions=v,this._enterClassName=R,this._leaveClassName=G,this.errors=ne,this.timelines=oe,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Oi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Oe||new rr(this._driver,l,0),oe.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,l){if(!a)return;const v=a;let R=this.options;null!=v.duration&&(R.duration=we(v.duration)),null!=v.delay&&(R.delay=we(v.delay));const G=v.params;if(G){let ne=R.params;ne||(ne=this.options.params={}),Object.keys(G).forEach(oe=>{(!l||!ne.hasOwnProperty(oe))&&(ne[oe]=Ie(G[oe],ne,this.errors))})}}_copyOptions(){const a={};if(this.options){const l=this.options.params;if(l){const v=a.params={};Object.keys(l).forEach(R=>{v[R]=l[R]})}}return a}createSubContext(a=null,l,v){const R=l||this.element,G=new hr(this._driver,R,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(R,v||0));return G.previousNode=this.previousNode,G.currentAnimateTimings=this.currentAnimateTimings,G.options=this._copyOptions(),G.updateOptions(a),G.currentQueryIndex=this.currentQueryIndex,G.currentQueryTotal=this.currentQueryTotal,G.parentContext=this,this.subContextCount++,G}transformIntoNewTimeline(a){return this.previousNode=Oi,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,l,v){const R={duration:null!=l?l:a.duration,delay:this.currentTimeline.currentTime+(null!=v?v:0)+a.delay,easing:""},G=new fr(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,R,a.stretchStartingKeyframe);return this.timelines.push(G),R}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,l,v,R,G,ne){let oe=[];if(R&&oe.push(this.element),a.length>0){a=(a=a.replace(Ci,"."+this._enterClassName)).replace(Zi,"."+this._leaveClassName);let Ke=this._driver.query(this.element,a,1!=v);0!==v&&(Ke=v<0?Ke.slice(Ke.length+v,Ke.length):Ke.slice(0,v)),oe.push(...Ke)}return!G&&0==oe.length&&ne.push(function pe(d){return new c.vHH(3014,Y)}()),oe}}class rr{constructor(a,l,v,R){this._driver=a,this.element=l,this.startTime=v,this._elementTimelineStylesLookup=R,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const l=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||l?(this.forwardTime(this.currentTime+a),l&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,l){return this.applyStylesToKeyframe(),new rr(this._driver,a,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,l){this._localTimelineStyles[a]=l,this._globalTimelineStyles[a]=l,this._styleSummary[a]={time:this.currentTime,value:l}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&(this._previousKeyframe.easing=a),Object.keys(this._globalTimelineStyles).forEach(l=>{this._backFill[l]=this._globalTimelineStyles[l]||g.l3,this._currentKeyframe[l]=g.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,l,v,R){l&&(this._previousKeyframe.easing=l);const G=R&&R.params||{},ne=function kr(d,a){const l={};let v;return d.forEach(R=>{"*"===R?(v=v||Object.keys(a),v.forEach(G=>{l[G]=g.l3})):st(R,!1,l)}),l}(a,this._globalTimelineStyles);Object.keys(ne).forEach(oe=>{const Oe=Ie(ne[oe],G,v);this._pendingStyles[oe]=Oe,this._localTimelineStyles.hasOwnProperty(oe)||(this._backFill[oe]=this._globalTimelineStyles.hasOwnProperty(oe)?this._globalTimelineStyles[oe]:g.l3),this._updateStyle(oe,Oe)})}applyStylesToKeyframe(){const a=this._pendingStyles,l=Object.keys(a);0!=l.length&&(this._pendingStyles={},l.forEach(v=>{this._currentKeyframe[v]=a[v]}),Object.keys(this._localTimelineStyles).forEach(v=>{this._currentKeyframe.hasOwnProperty(v)||(this._currentKeyframe[v]=this._localTimelineStyles[v])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(a=>{const l=this._localTimelineStyles[a];this._pendingStyles[a]=l,this._updateStyle(a,l)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let l in this._currentKeyframe)a.push(l);return a}mergeTimelineCollectedStyles(a){Object.keys(a._styleSummary).forEach(l=>{const v=this._styleSummary[l],R=a._styleSummary[l];(!v||R.time>v.time)&&this._updateStyle(l,R.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,l=new Set,v=1===this._keyframes.size&&0===this.duration;let R=[];this._keyframes.forEach((oe,Oe)=>{const Ke=st(oe,!0);Object.keys(Ke).forEach(gt=>{const It=Ke[gt];It==g.k1?a.add(gt):It==g.l3&&l.add(gt)}),v||(Ke.offset=Oe/this.duration),R.push(Ke)});const G=a.size?rt(a.values()):[],ne=l.size?rt(l.values()):[];if(v){const oe=R[0],Oe=he(oe);oe.offset=0,Oe.offset=1,R=[oe,Oe]}return un(this.element,R,G,ne,this.duration,this.startTime,this.easing,!1)}}class fr extends rr{constructor(a,l,v,R,G,ne,oe=!1){super(a,l,ne.delay),this.keyframes=v,this.preStyleProps=R,this.postStyleProps=G,this._stretchStartingKeyframe=oe,this.timings={duration:ne.duration,delay:ne.delay,easing:ne.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:l,duration:v,easing:R}=this.timings;if(this._stretchStartingKeyframe&&l){const G=[],ne=v+l,oe=l/ne,Oe=st(a[0],!1);Oe.offset=0,G.push(Oe);const Ke=st(a[0],!1);Ke.offset=pr(oe),G.push(Ke);const gt=a.length-1;for(let It=1;It<=gt;It++){let Xt=st(a[It],!1);Xt.offset=pr((l+Xt.offset*v)/ne),G.push(Xt)}v=ne,l=0,R="",a=G}return un(this.element,a,this.preStyleProps,this.postStyleProps,v,l,R,!0)}}function pr(d,a=3){const l=Math.pow(10,a-1);return Math.round(d*l)/l}class mr{}class gr extends mr{normalizePropertyName(a,l){return $t(a)}normalizeStyleValue(a,l,v,R){let G="";const ne=v.toString().trim();if(or[l]&&0!==v&&"0"!==v)if("number"==typeof v)G="px";else{const oe=v.match(/^[+-]?[\d\.]+([a-z]*)$/);oe&&0==oe[1].length&&R.push(function de(d,a){return new c.vHH(3005,Y)}())}return ne+G}}const or=(()=>function xr(d){const a={};return d.forEach(l=>a[l]=!0),a}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function sr(d,a,l,v,R,G,ne,oe,Oe,Ke,gt,It,Xt){return{type:0,element:d,triggerName:a,isRemovalTransition:R,fromState:l,fromStyles:G,toState:v,toStyles:ne,timelines:oe,queriedElements:Oe,preStyleProps:Ke,postStyleProps:gt,totalTime:It,errors:Xt}}const _r={};class ar{constructor(a,l,v){this._triggerName=a,this.ast=l,this._stateStyles=v}match(a,l,v,R){return function Zr(d,a,l,v,R){return d.some(G=>G(a,l,v,R))}(this.ast.matchers,a,l,v,R)}buildStyles(a,l,v){const R=this._stateStyles["*"],G=this._stateStyles[a],ne=R?R.buildStyles(l,v):{};return G?G.buildStyles(l,v):ne}build(a,l,v,R,G,ne,oe,Oe,Ke,gt){const It=[],Xt=this.ast.options&&this.ast.options.params||_r,Vt=this.buildStyles(v,oe&&oe.params||_r,It),rn=Oe&&Oe.params||_r,Mn=this.buildStyles(R,rn,It),$n=new Set,li=new Map,Ei=new Map,ii="void"===R,Sr={params:Object.assign(Object.assign({},Xt),rn)},Ui=gt?[]:On(a,l,this.ast.animation,G,ne,Vt,Mn,Sr,Ke,It);let Ai=0;if(Ui.forEach(Un=>{Ai=Math.max(Un.duration+Un.delay,Ai)}),It.length)return sr(l,this._triggerName,v,R,ii,Vt,Mn,[],[],li,Ei,Ai,It);Ui.forEach(Un=>{const _i=Un.element,Hn=Ge(li,_i,{});Un.preStyleProps.forEach(ri=>Hn[ri]=!0);const eo=Ge(Ei,_i,{});Un.postStyleProps.forEach(ri=>eo[ri]=!0),_i!==l&&$n.add(_i)});const Cr=rt($n.values());return sr(l,this._triggerName,v,R,ii,Vt,Mn,Ui,Cr,li,Ei,Ai)}}class vr{constructor(a,l,v){this.styles=a,this.defaultParams=l,this.normalizer=v}buildStyles(a,l){const v={},R=he(this.defaultParams);return Object.keys(a).forEach(G=>{const ne=a[G];null!=ne&&(R[G]=ne)}),this.styles.styles.forEach(G=>{if("string"!=typeof G){const ne=G;Object.keys(ne).forEach(oe=>{let Oe=ne[oe];Oe.length>1&&(Oe=Ie(Oe,R,l));const Ke=this.normalizer.normalizePropertyName(oe,l);Oe=this.normalizer.normalizeStyleValue(oe,Ke,Oe,l),v[Ke]=Oe})}}),v}}class qi{constructor(a,l,v){this.name=a,this.ast=l,this._normalizer=v,this.transitionFactories=[],this.states={},l.states.forEach(R=>{this.states[R.name]=new vr(R.style,R.options&&R.options.params||{},v)}),yr(this.states,"true","1"),yr(this.states,"false","0"),l.transitions.forEach(R=>{this.transitionFactories.push(new ar(a,R,this.states))}),this.fallbackTransition=function mi(d,a,l){return new ar(d,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ne,oe)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,l,v,R){return this.transitionFactories.find(ne=>ne.match(a,l,v,R))||null}matchStyles(a,l,v){return this.fallbackTransition.buildStyles(a,l,v)}}function yr(d,a,l){d.hasOwnProperty(a)?d.hasOwnProperty(l)||(d[l]=d[a]):d.hasOwnProperty(l)&&(d[a]=d[l])}const Di=new ir;class qr{constructor(a,l,v){this.bodyNode=a,this._driver=l,this._normalizer=v,this._animations={},this._playersById={},this.players=[]}register(a,l){const v=[],G=Yn(this._driver,l,v,[]);if(v.length)throw function tt(d){return new c.vHH(3503,Y)}();this._animations[a]=G}_buildPlayer(a,l,v){const R=a.element,G=je(0,this._normalizer,0,a.keyframes,l,v);return this._driver.animate(R,G,a.duration,a.delay,a.easing,[],!0)}create(a,l,v={}){const R=[],G=this._animations[a];let ne;const oe=new Map;if(G?(ne=On(this._driver,l,G,nn,Yt,{},{},v,Di,R),ne.forEach(gt=>{const It=Ge(oe,gt.element,{});gt.postStyleProps.forEach(Xt=>It[Xt]=null)})):(R.push(function Fe(){return new c.vHH(3300,Y)}()),ne=[]),R.length)throw function Ct(d){return new c.vHH(3504,Y)}();oe.forEach((gt,It)=>{Object.keys(gt).forEach(Xt=>{gt[Xt]=this._driver.computeStyle(It,Xt,g.l3)})});const Ke=Xe(ne.map(gt=>{const It=oe.get(gt.element);return this._buildPlayer(gt,{},It)}));return this._playersById[a]=Ke,Ke.onDestroy(()=>this.destroy(a)),this.players.push(Ke),Ke}destroy(a){const l=this._getPlayer(a);l.destroy(),delete this._playersById[a];const v=this.players.indexOf(l);v>=0&&this.players.splice(v,1)}_getPlayer(a){const l=this._playersById[a];if(!l)throw function mt(d){return new c.vHH(3301,Y)}();return l}listen(a,l,v,R){const G=He(l,"","","");return Q(this._getPlayer(a),v,G,R),()=>{}}command(a,l,v,R){if("register"==v)return void this.register(a,R[0]);if("create"==v)return void this.create(a,l,R[0]||{});const G=this._getPlayer(a);switch(v){case"play":G.play();break;case"pause":G.pause();break;case"reset":G.reset();break;case"restart":G.restart();break;case"finish":G.finish();break;case"init":G.init();break;case"setPosition":G.setPosition(parseFloat(R[0]));break;case"destroy":this.destroy(a)}}}const Mi="ng-animate-queued",zi="ng-animate-disabled",Ii=[],lr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Br={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ti="__ng_removed";class cr{constructor(a,l=""){this.namespaceId=l;const v=a&&a.hasOwnProperty("value");if(this.value=function A(d){return null!=d?d:null}(v?a.value:a),v){const G=he(a);delete G.value,this.options=G}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const l=a.params;if(l){const v=this.options.params;Object.keys(l).forEach(R=>{null==v[R]&&(v[R]=l[R])})}}}const Tn="void",Ji=new cr(Tn);class Xi{constructor(a,l,v){this.id=a,this.hostElement=l,this._engine=v,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,nt(l,this._hostClassName)}listen(a,l,v,R){if(!this._triggers.hasOwnProperty(l))throw function Jt(d,a){return new c.vHH(3302,Y)}();if(null==v||0==v.length)throw function yt(d){return new c.vHH(3303,Y)}();if(!function T(d){return"start"==d||"done"==d}(v))throw function Rt(d,a){return new c.vHH(3400,Y)}();const G=Ge(this._elementListeners,a,[]),ne={name:l,phase:v,callback:R};G.push(ne);const oe=Ge(this._engine.statesByElement,a,{});return oe.hasOwnProperty(l)||(nt(a,dn),nt(a,dn+"-"+l),oe[l]=Ji),()=>{this._engine.afterFlush(()=>{const Oe=G.indexOf(ne);Oe>=0&&G.splice(Oe,1),this._triggers[l]||delete oe[l]})}}register(a,l){return!this._triggers[a]&&(this._triggers[a]=l,!0)}_getTrigger(a){const l=this._triggers[a];if(!l)throw function Wt(d){return new c.vHH(3401,Y)}();return l}trigger(a,l,v,R=!0){const G=this._getTrigger(l),ne=new ur(this.id,l,a);let oe=this._engine.statesByElement.get(a);oe||(nt(a,dn),nt(a,dn+"-"+l),this._engine.statesByElement.set(a,oe={}));let Oe=oe[l];const Ke=new cr(v,this.id);if(!(v&&v.hasOwnProperty("value"))&&Oe&&Ke.absorbOptions(Oe.options),oe[l]=Ke,Oe||(Oe=Ji),Ke.value!==Tn&&Oe.value===Ke.value){if(!function zt(d,a){const l=Object.keys(d),v=Object.keys(a);if(l.length!=v.length)return!1;for(let R=0;R{Dt(a,Mn),Kt(a,$n)})}return}const Xt=Ge(this._engine.playersByElement,a,[]);Xt.forEach(rn=>{rn.namespaceId==this.id&&rn.triggerName==l&&rn.queued&&rn.destroy()});let ln=G.matchTransition(Oe.value,Ke.value,a,Ke.params),Vt=!1;if(!ln){if(!R)return;ln=G.fallbackTransition,Vt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:l,transition:ln,fromState:Oe,toState:Ke,player:ne,isFallbackTransition:Vt}),Vt||(nt(a,Mi),ne.onStart(()=>{ht(a,Mi)})),ne.onDone(()=>{let rn=this.players.indexOf(ne);rn>=0&&this.players.splice(rn,1);const Mn=this._engine.playersByElement.get(a);if(Mn){let $n=Mn.indexOf(ne);$n>=0&&Mn.splice($n,1)}}),this.players.push(ne),Xt.push(ne),ne}deregister(a){delete this._triggers[a],this._engine.statesByElement.forEach((l,v)=>{delete l[a]}),this._elementListeners.forEach((l,v)=>{this._elementListeners.set(v,l.filter(R=>R.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const l=this._engine.playersByElement.get(a);l&&(l.forEach(v=>v.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,l){const v=this._engine.driver.query(a,dt,!0);v.forEach(R=>{if(R[ti])return;const G=this._engine.fetchNamespacesByElement(R);G.size?G.forEach(ne=>ne.triggerLeaveAnimation(R,l,!1,!0)):this.clearElementCache(R)}),this._engine.afterFlushAnimationsDone(()=>v.forEach(R=>this.clearElementCache(R)))}triggerLeaveAnimation(a,l,v,R){const G=this._engine.statesByElement.get(a),ne=new Map;if(G){const oe=[];if(Object.keys(G).forEach(Oe=>{if(ne.set(Oe,G[Oe].value),this._triggers[Oe]){const Ke=this.trigger(a,Oe,Tn,R);Ke&&oe.push(Ke)}}),oe.length)return this._engine.markElementAsRemoved(this.id,a,!0,l,ne),v&&Xe(oe).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const l=this._elementListeners.get(a),v=this._engine.statesByElement.get(a);if(l&&v){const R=new Set;l.forEach(G=>{const ne=G.name;if(R.has(ne))return;R.add(ne);const Oe=this._triggers[ne].fallbackTransition,Ke=v[ne]||Ji,gt=new cr(Tn),It=new ur(this.id,ne,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:ne,transition:Oe,fromState:Ke,toState:gt,player:It,isFallbackTransition:!0})})}}removeNode(a,l){const v=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,l),this.triggerLeaveAnimation(a,l,!0))return;let R=!1;if(v.totalAnimations){const G=v.players.length?v.playersByQueriedElement.get(a):[];if(G&&G.length)R=!0;else{let ne=a;for(;ne=ne.parentNode;)if(v.statesByElement.get(ne)){R=!0;break}}}if(this.prepareLeaveAnimationListeners(a),R)v.markElementAsRemoved(this.id,a,!1,l);else{const G=a[ti];(!G||G===lr)&&(v.afterFlush(()=>this.clearElementCache(a)),v.destroyInnerAnimations(a),v._onRemovalComplete(a,l))}}insertNode(a,l){nt(a,this._hostClassName)}drainQueuedTransitions(a){const l=[];return this._queue.forEach(v=>{const R=v.player;if(R.destroyed)return;const G=v.element,ne=this._elementListeners.get(G);ne&&ne.forEach(oe=>{if(oe.name==v.triggerName){const Oe=He(G,v.triggerName,v.fromState.value,v.toState.value);Oe._data=a,Q(v.player,oe.phase,Oe,oe.callback)}}),R.markedForDestroy?this._engine.afterFlush(()=>{R.destroy()}):l.push(v)}),this._queue=[],l.sort((v,R)=>{const G=v.transition.ast.depCount,ne=R.transition.ast.depCount;return 0==G||0==ne?G-ne:this._engine.driver.containsElement(v.element,R.element)?1:-1})}destroy(a){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let l=!1;return this._elementListeners.has(a)&&(l=!0),l=!!this._queue.find(v=>v.element===a)||l,l}}class ni{constructor(a,l,v){this.bodyNode=a,this.driver=l,this._normalizer=v,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(R,G)=>{}}_onRemovalComplete(a,l){this.onRemovalComplete(a,l)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(l=>{l.players.forEach(v=>{v.queued&&a.push(v)})}),a}createNamespace(a,l){const v=new Xi(a,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(v,l):(this.newHostElements.set(l,v),this.collectEnterElement(l)),this._namespaceLookup[a]=v}_balanceNamespaceList(a,l){const v=this._namespaceList,R=this.namespacesByHostElement,G=v.length-1;if(G>=0){let ne=!1;if(void 0!==this.driver.getParentElement){let oe=this.driver.getParentElement(l);for(;oe;){const Oe=R.get(oe);if(Oe){const Ke=v.indexOf(Oe);v.splice(Ke+1,0,a),ne=!0;break}oe=this.driver.getParentElement(oe)}}else for(let oe=G;oe>=0;oe--)if(this.driver.containsElement(v[oe].hostElement,l)){v.splice(oe+1,0,a),ne=!0;break}ne||v.unshift(a)}else v.push(a);return R.set(l,a),a}register(a,l){let v=this._namespaceLookup[a];return v||(v=this.createNamespace(a,l)),v}registerTrigger(a,l,v){let R=this._namespaceLookup[a];R&&R.register(l,v)&&this.totalAnimations++}destroy(a,l){if(!a)return;const v=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(v.hostElement),delete this._namespaceLookup[a];const R=this._namespaceList.indexOf(v);R>=0&&this._namespaceList.splice(R,1)}),this.afterFlushAnimationsDone(()=>v.destroy(l))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const l=new Set,v=this.statesByElement.get(a);if(v){const R=Object.keys(v);for(let G=0;G=0&&this.collectedLeaveElements.splice(ne,1)}if(a){const ne=this._fetchNamespace(a);ne&&ne.insertNode(l,v)}R&&this.collectEnterElement(l)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,l){l?this.disabledNodes.has(a)||(this.disabledNodes.add(a),nt(a,zi)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),ht(a,zi))}removeNode(a,l,v,R){if(N(l)){const G=a?this._fetchNamespace(a):null;if(G?G.removeNode(l,R):this.markElementAsRemoved(a,l,!1,R),v){const ne=this.namespacesByHostElement.get(l);ne&&ne.id!==a&&ne.removeNode(l,R)}}else this._onRemovalComplete(l,R)}markElementAsRemoved(a,l,v,R,G){this.collectedLeaveElements.push(l),l[ti]={namespaceId:a,setForRemoval:R,hasAnimation:v,removedBeforeQueried:!1,previousTriggersValues:G}}listen(a,l,v,R,G){return N(l)?this._fetchNamespace(a).listen(l,v,R,G):()=>{}}_buildInstruction(a,l,v,R,G){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,v,R,a.fromState.options,a.toState.options,l,G)}destroyInnerAnimations(a){let l=this.driver.query(a,dt,!0);l.forEach(v=>this.destroyActiveAnimationsForElement(v)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(a,Le,!0),l.forEach(v=>this.finishActiveQueriedAnimationOnElement(v)))}destroyActiveAnimationsForElement(a){const l=this.playersByElement.get(a);l&&l.forEach(v=>{v.queued?v.markedForDestroy=!0:v.destroy()})}finishActiveQueriedAnimationOnElement(a){const l=this.playersByQueriedElement.get(a);l&&l.forEach(v=>v.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Xe(this.players).onDone(()=>a());a()})}processLeaveNode(a){var l;const v=a[ti];if(v&&v.setForRemoval){if(a[ti]=lr,v.namespaceId){this.destroyInnerAnimations(a);const R=this._fetchNamespace(v.namespaceId);R&&R.clearElementCache(a)}this._onRemovalComplete(a,v.setForRemoval)}(null===(l=a.classList)||void 0===l?void 0:l.contains(zi))&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(R=>{this.markElementAsDisabled(R,!1)})}flush(a=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((v,R)=>this._balanceNamespaceList(v,R)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let v=0;vv()),this._flushFns=[],this._whenQuietFns.length){const v=this._whenQuietFns;this._whenQuietFns=[],l.length?Xe(l).onDone(()=>{v.forEach(R=>R())}):v.forEach(R=>R())}}reportError(a){throw function Pt(d){return new c.vHH(3402,Y)}()}_flushAnimations(a,l){const v=new ir,R=[],G=new Map,ne=[],oe=new Map,Oe=new Map,Ke=new Map,gt=new Set;this.disabledNodes.forEach(Tt=>{gt.add(Tt);const Ft=this.driver.query(Tt,".ng-animate-queued",!0);for(let Lt=0;Lt{const Lt=nn+rn++;Vt.set(Ft,Lt),Tt.forEach(fn=>nt(fn,Lt))});const Mn=[],$n=new Set,li=new Set;for(let Tt=0;Tt$n.add(fn)):li.add(Ft))}const Ei=new Map,ii=$e(Xt,Array.from($n));ii.forEach((Tt,Ft)=>{const Lt=Yt+rn++;Ei.set(Ft,Lt),Tt.forEach(fn=>nt(fn,Lt))}),a.push(()=>{ln.forEach((Tt,Ft)=>{const Lt=Vt.get(Ft);Tt.forEach(fn=>ht(fn,Lt))}),ii.forEach((Tt,Ft)=>{const Lt=Ei.get(Ft);Tt.forEach(fn=>ht(fn,Lt))}),Mn.forEach(Tt=>{this.processLeaveNode(Tt)})});const Sr=[],Ui=[];for(let Tt=this._namespaceList.length-1;Tt>=0;Tt--)this._namespaceList[Tt].drainQueuedTransitions(l).forEach(Lt=>{const fn=Lt.player,qn=Lt.element;if(Sr.push(fn),this.collectedEnterElements.length){const Qn=qn[ti];if(Qn&&Qn.setForMove){if(Qn.previousTriggersValues&&Qn.previousTriggersValues.has(Lt.triggerName)){const $i=Qn.previousTriggersValues.get(Lt.triggerName),dr=this.statesByElement.get(Lt.element);dr&&dr[Lt.triggerName]&&(dr[Lt.triggerName].value=$i)}return void fn.destroy()}}const Hi=!It||!this.driver.containsElement(It,qn),Li=Ei.get(qn),Er=Vt.get(qn),wn=this._buildInstruction(Lt,v,Er,Li,Hi);if(wn.errors&&wn.errors.length)return void Ui.push(wn);if(Hi)return fn.onStart(()=>Dt(qn,wn.fromStyles)),fn.onDestroy(()=>Kt(qn,wn.toStyles)),void R.push(fn);if(Lt.isFallbackTransition)return fn.onStart(()=>Dt(qn,wn.fromStyles)),fn.onDestroy(()=>Kt(qn,wn.toStyles)),void R.push(fn);const Or=[];wn.timelines.forEach(Qn=>{Qn.stretchStartingKeyframe=!0,this.disabledNodes.has(Qn.element)||Or.push(Qn)}),wn.timelines=Or,v.append(qn,wn.timelines),ne.push({instruction:wn,player:fn,element:qn}),wn.queriedElements.forEach(Qn=>Ge(oe,Qn,[]).push(fn)),wn.preStyleProps.forEach((Qn,$i)=>{const dr=Object.keys(Qn);if(dr.length){let Vr=Oe.get($i);Vr||Oe.set($i,Vr=new Set),dr.forEach(wo=>Vr.add(wo))}}),wn.postStyleProps.forEach((Qn,$i)=>{const dr=Object.keys(Qn);let Vr=Ke.get($i);Vr||Ke.set($i,Vr=new Set),dr.forEach(wo=>Vr.add(wo))})});if(Ui.length){const Tt=[];Ui.forEach(Ft=>{Tt.push(function Ut(d,a){return new c.vHH(3505,Y)}())}),Sr.forEach(Ft=>Ft.destroy()),this.reportError(Tt)}const Ai=new Map,Cr=new Map;ne.forEach(Tt=>{const Ft=Tt.element;v.has(Ft)&&(Cr.set(Ft,Ft),this._beforeAnimationBuild(Tt.player.namespaceId,Tt.instruction,Ai))}),R.forEach(Tt=>{const Ft=Tt.element;this._getPreviousPlayers(Ft,!1,Tt.namespaceId,Tt.triggerName,null).forEach(fn=>{Ge(Ai,Ft,[]).push(fn),fn.destroy()})});const Un=Mn.filter(Tt=>Bn(Tt,Oe,Ke)),_i=new Map;ae(_i,this.driver,li,Ke,g.l3).forEach(Tt=>{Bn(Tt,Oe,Ke)&&Un.push(Tt)});const eo=new Map;ln.forEach((Tt,Ft)=>{ae(eo,this.driver,new Set(Tt),Oe,g.k1)}),Un.forEach(Tt=>{const Ft=_i.get(Tt),Lt=eo.get(Tt);_i.set(Tt,Object.assign(Object.assign({},Ft),Lt))});const ri=[],Mo=[],ho={};ne.forEach(Tt=>{const{element:Ft,player:Lt,instruction:fn}=Tt;if(v.has(Ft)){if(gt.has(Ft))return Lt.onDestroy(()=>Kt(Ft,fn.toStyles)),Lt.disabled=!0,Lt.overrideTotalTime(fn.totalTime),void R.push(Lt);let qn=ho;if(Cr.size>1){let Li=Ft;const Er=[];for(;Li=Li.parentNode;){const wn=Cr.get(Li);if(wn){qn=wn;break}Er.push(Li)}Er.forEach(wn=>Cr.set(wn,qn))}const Hi=this._buildAnimation(Lt.namespaceId,fn,Ai,G,eo,_i);if(Lt.setRealPlayer(Hi),qn===ho)ri.push(Lt);else{const Li=this.playersByElement.get(qn);Li&&Li.length&&(Lt.parentPlayer=Xe(Li)),R.push(Lt)}}else Dt(Ft,fn.fromStyles),Lt.onDestroy(()=>Kt(Ft,fn.toStyles)),Mo.push(Lt),gt.has(Ft)&&R.push(Lt)}),Mo.forEach(Tt=>{const Ft=G.get(Tt.element);if(Ft&&Ft.length){const Lt=Xe(Ft);Tt.setRealPlayer(Lt)}}),R.forEach(Tt=>{Tt.parentPlayer?Tt.syncPlayerEvents(Tt.parentPlayer):Tt.destroy()});for(let Tt=0;Tt!Hi.destroyed);qn.length?En(this,Ft,qn):this.processLeaveNode(Ft)}return Mn.length=0,ri.forEach(Tt=>{this.players.push(Tt),Tt.onDone(()=>{Tt.destroy();const Ft=this.players.indexOf(Tt);this.players.splice(Ft,1)}),Tt.play()}),ri}elementContainsData(a,l){let v=!1;const R=l[ti];return R&&R.setForRemoval&&(v=!0),this.playersByElement.has(l)&&(v=!0),this.playersByQueriedElement.has(l)&&(v=!0),this.statesByElement.has(l)&&(v=!0),this._fetchNamespace(a).elementContainsData(l)||v}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,l,v,R,G){let ne=[];if(l){const oe=this.playersByQueriedElement.get(a);oe&&(ne=oe)}else{const oe=this.playersByElement.get(a);if(oe){const Oe=!G||G==Tn;oe.forEach(Ke=>{Ke.queued||!Oe&&Ke.triggerName!=R||ne.push(Ke)})}}return(v||R)&&(ne=ne.filter(oe=>!(v&&v!=oe.namespaceId||R&&R!=oe.triggerName))),ne}_beforeAnimationBuild(a,l,v){const G=l.element,ne=l.isRemovalTransition?void 0:a,oe=l.isRemovalTransition?void 0:l.triggerName;for(const Oe of l.timelines){const Ke=Oe.element,gt=Ke!==G,It=Ge(v,Ke,[]);this._getPreviousPlayers(Ke,gt,ne,oe,l.toState).forEach(ln=>{const Vt=ln.getRealPlayer();Vt.beforeDestroy&&Vt.beforeDestroy(),ln.destroy(),It.push(ln)})}Dt(G,l.fromStyles)}_buildAnimation(a,l,v,R,G,ne){const oe=l.triggerName,Oe=l.element,Ke=[],gt=new Set,It=new Set,Xt=l.timelines.map(Vt=>{const rn=Vt.element;gt.add(rn);const Mn=rn[ti];if(Mn&&Mn.removedBeforeQueried)return new g.ZN(Vt.duration,Vt.delay);const $n=rn!==Oe,li=function _n(d){const a=[];return hn(d,a),a}((v.get(rn)||Ii).map(Ai=>Ai.getRealPlayer())).filter(Ai=>!!Ai.element&&Ai.element===rn),Ei=G.get(rn),ii=ne.get(rn),Sr=je(0,this._normalizer,0,Vt.keyframes,Ei,ii),Ui=this._buildPlayer(Vt,Sr,li);if(Vt.subTimeline&&R&&It.add(rn),$n){const Ai=new ur(a,oe,rn);Ai.setRealPlayer(Ui),Ke.push(Ai)}return Ui});Ke.forEach(Vt=>{Ge(this.playersByQueriedElement,Vt.element,[]).push(Vt),Vt.onDone(()=>function Pi(d,a,l){let v;if(d instanceof Map){if(v=d.get(a),v){if(v.length){const R=v.indexOf(l);v.splice(R,1)}0==v.length&&d.delete(a)}}else if(v=d[a],v){if(v.length){const R=v.indexOf(l);v.splice(R,1)}0==v.length&&delete d[a]}return v}(this.playersByQueriedElement,Vt.element,Vt))}),gt.forEach(Vt=>nt(Vt,vt));const ln=Xe(Xt);return ln.onDestroy(()=>{gt.forEach(Vt=>ht(Vt,vt)),Kt(Oe,l.toStyles)}),It.forEach(Vt=>{Ge(R,Vt,[]).push(ln)}),ln}_buildPlayer(a,l,v){return l.length>0?this.driver.animate(a.element,l,a.duration,a.delay,a.easing,v):new g.ZN(a.duration,a.delay)}}class ur{constructor(a,l,v){this.namespaceId=a,this.triggerName=l,this.element=v,this._player=new g.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,Object.keys(this._queuedCallbacks).forEach(l=>{this._queuedCallbacks[l].forEach(v=>Q(a,l,void 0,v))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const l=this._player;l.triggerCallback&&a.onStart(()=>l.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,l){Ge(this._queuedCallbacks,a,[]).push(l)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const l=this._player;l.triggerCallback&&l.triggerCallback(a)}}function N(d){return d&&1===d.nodeType}function H(d,a){const l=d.style.display;return d.style.display=null!=a?a:"none",l}function ae(d,a,l,v,R){const G=[];l.forEach(Oe=>G.push(H(Oe)));const ne=[];v.forEach((Oe,Ke)=>{const gt={};Oe.forEach(It=>{const Xt=gt[It]=a.computeStyle(Ke,It,R);(!Xt||0==Xt.length)&&(Ke[ti]=Br,ne.push(Ke))}),d.set(Ke,gt)});let oe=0;return l.forEach(Oe=>H(Oe,G[oe++])),ne}function $e(d,a){const l=new Map;if(d.forEach(oe=>l.set(oe,[])),0==a.length)return l;const R=new Set(a),G=new Map;function ne(oe){if(!oe)return 1;let Oe=G.get(oe);if(Oe)return Oe;const Ke=oe.parentNode;return Oe=l.has(Ke)?Ke:R.has(Ke)?1:ne(Ke),G.set(oe,Oe),Oe}return a.forEach(oe=>{const Oe=ne(oe);1!==Oe&&l.get(Oe).push(oe)}),l}function nt(d,a){var l;null===(l=d.classList)||void 0===l||l.add(a)}function ht(d,a){var l;null===(l=d.classList)||void 0===l||l.remove(a)}function En(d,a,l){Xe(l).onDone(()=>d.processLeaveNode(a))}function hn(d,a){for(let l=0;lR.add(G)):a.set(d,v),l.delete(d),!0}class vn{constructor(a,l,v){this.bodyNode=a,this._driver=l,this._normalizer=v,this._triggerCache={},this.onRemovalComplete=(R,G)=>{},this._transitionEngine=new ni(a,l,v),this._timelineEngine=new qr(a,l,v),this._transitionEngine.onRemovalComplete=(R,G)=>this.onRemovalComplete(R,G)}registerTrigger(a,l,v,R,G){const ne=a+"-"+R;let oe=this._triggerCache[ne];if(!oe){const Oe=[],gt=Yn(this._driver,G,Oe,[]);if(Oe.length)throw function xe(d,a){return new c.vHH(3404,Y)}();oe=function Lr(d,a,l){return new qi(d,a,l)}(R,gt,this._normalizer),this._triggerCache[ne]=oe}this._transitionEngine.registerTrigger(l,R,oe)}register(a,l){this._transitionEngine.register(a,l)}destroy(a,l){this._transitionEngine.destroy(a,l)}onInsert(a,l,v,R){this._transitionEngine.insertNode(a,l,v,R)}onRemove(a,l,v,R){this._transitionEngine.removeNode(a,l,R||!1,v)}disableAnimations(a,l){this._transitionEngine.markElementAsDisabled(a,l)}process(a,l,v,R){if("@"==v.charAt(0)){const[G,ne]=lt(v);this._timelineEngine.command(G,l,ne,R)}else this._transitionEngine.trigger(a,l,v,R)}listen(a,l,v,R,G){if("@"==v.charAt(0)){const[ne,oe]=lt(v);return this._timelineEngine.listen(ne,l,oe,G)}return this._transitionEngine.listen(a,l,v,R,G)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Vn=(()=>{class d{constructor(l,v,R){this._element=l,this._startStyles=v,this._endStyles=R,this._state=0;let G=d.initialStylesByElement.get(l);G||d.initialStylesByElement.set(l,G={}),this._initialStyles=G}start(){this._state<1&&(this._startStyles&&Kt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Kt(this._element,this._initialStyles),this._endStyles&&(Kt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(d.initialStylesByElement.delete(this._element),this._startStyles&&(Dt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Dt(this._element,this._endStyles),this._endStyles=null),Kt(this._element,this._initialStyles),this._state=3)}}return d.initialStylesByElement=new WeakMap,d})();function wi(d){let a=null;const l=Object.keys(d);for(let v=0;va()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(a,l,v){return a.animate(l,v)}onStart(a){this._onStartFns.push(a)}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a={};if(this.hasStarted()){const l=this._finalKeyframe;Object.keys(l).forEach(v=>{"offset"!=v&&(a[v]=this._finished?l[v]:jn(this.element,v))})}this.currentSnapshot=a}triggerCallback(a){const l="start"==a?this._onStartFns:this._onDoneFns;l.forEach(v=>v()),l.length=0}}class ki{validateStyleProperty(a){return D(a)}matchesElement(a,l){return!1}containsElement(a,l){return L(a,l)}getParentElement(a){return Nt(a)}query(a,l,v){return re(a,l,v)}computeStyle(a,l,v){return window.getComputedStyle(a)[l]}animate(a,l,v,R,G,ne=[]){const Oe={duration:v,delay:R,fill:0==R?"both":"forwards"};G&&(Oe.easing=G);const Ke={},gt=ne.filter(Xt=>Xt instanceof Ri);(function en(d,a){return 0===d||0===a})(v,R)&>.forEach(Xt=>{let ln=Xt.currentSnapshot;Object.keys(ln).forEach(Vt=>Ke[Vt]=ln[Vt])}),l=function kn(d,a,l){const v=Object.keys(l);if(v.length&&a.length){let G=a[0],ne=[];if(v.forEach(oe=>{G.hasOwnProperty(oe)||ne.push(oe),G[oe]=l[oe]}),ne.length)for(var R=1;Rst(Xt,!1)),Ke);const It=function Sn(d,a){let l=null,v=null;return Array.isArray(a)&&a.length?(l=wi(a[0]),a.length>1&&(v=wi(a[a.length-1]))):a&&(l=wi(a)),l||v?new Vn(d,l,v):null}(a,l);return new Ri(a,l,Oe,It)}}var x=C(9808);let M=(()=>{class d extends g._j{constructor(l,v){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(v.body,{id:"0",encapsulation:c.ifc.None,styles:[],data:{animation:[]}})}build(l){const v=this._nextAnimationId.toString();this._nextAnimationId++;const R=Array.isArray(l)?(0,g.vP)(l):l;return We(this._renderer,null,v,"register",[R]),new y(v,this._renderer)}}return d.\u0275fac=function(l){return new(l||d)(c.LFG(c.FYo),c.LFG(x.K0))},d.\u0275prov=c.Yz7({token:d,factory:d.\u0275fac}),d})();class y extends g.LC{constructor(a,l){super(),this._id=a,this._renderer=l}create(a,l){return new U(this._id,a,l||{},this._renderer)}}class U{constructor(a,l,v,R){this.id=a,this.element=l,this._renderer=R,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",v)}_listen(a,l){return this._renderer.listen(this.element,`@@${this.id}:${a}`,l)}_command(a,...l){return We(this._renderer,this.element,this.id,a,l)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){var a,l;return null!==(l=null===(a=this._renderer.engine.players[+this.id])||void 0===a?void 0:a.getPosition())&&void 0!==l?l:0}}function We(d,a,l,v,R){return d.setProperty(a,`@@${l}:${v}`,R)}const Dn="@.disabled";let gi=(()=>{class d{constructor(l,v,R){this.delegate=l,this.engine=v,this._zone=R,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),v.onRemovalComplete=(G,ne)=>{const oe=null==ne?void 0:ne.parentNode(G);oe&&ne.removeChild(oe,G)}}createRenderer(l,v){const G=this.delegate.createRenderer(l,v);if(!(l&&v&&v.data&&v.data.animation)){let gt=this._rendererCache.get(G);return gt||(gt=new Gi("",G,this.engine),this._rendererCache.set(G,gt)),gt}const ne=v.id,oe=v.id+"-"+this._currentId;this._currentId++,this.engine.register(oe,l);const Oe=gt=>{Array.isArray(gt)?gt.forEach(Oe):this.engine.registerTrigger(ne,oe,l,gt.name,gt)};return v.data.animation.forEach(Oe),new Fi(this,oe,G,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,v,R){l>=0&&lv(R)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(G=>{const[ne,oe]=G;ne(oe)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([v,R]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return d.\u0275fac=function(l){return new(l||d)(c.LFG(c.FYo),c.LFG(vn),c.LFG(c.R0b))},d.\u0275prov=c.Yz7({token:d,factory:d.\u0275fac}),d})();class Gi{constructor(a,l,v){this.namespaceId=a,this.delegate=l,this.engine=v,this.destroyNode=this.delegate.destroyNode?R=>l.destroyNode(R):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(a,l){return this.delegate.createElement(a,l)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,l){this.delegate.appendChild(a,l),this.engine.onInsert(this.namespaceId,l,a,!1)}insertBefore(a,l,v,R=!0){this.delegate.insertBefore(a,l,v),this.engine.onInsert(this.namespaceId,l,a,R)}removeChild(a,l,v){this.engine.onRemove(this.namespaceId,l,this.delegate,v)}selectRootElement(a,l){return this.delegate.selectRootElement(a,l)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,l,v,R){this.delegate.setAttribute(a,l,v,R)}removeAttribute(a,l,v){this.delegate.removeAttribute(a,l,v)}addClass(a,l){this.delegate.addClass(a,l)}removeClass(a,l){this.delegate.removeClass(a,l)}setStyle(a,l,v,R){this.delegate.setStyle(a,l,v,R)}removeStyle(a,l,v){this.delegate.removeStyle(a,l,v)}setProperty(a,l,v){"@"==l.charAt(0)&&l==Dn?this.disableAnimations(a,!!v):this.delegate.setProperty(a,l,v)}setValue(a,l){this.delegate.setValue(a,l)}listen(a,l,v){return this.delegate.listen(a,l,v)}disableAnimations(a,l){this.engine.disableAnimations(a,l)}}class Fi extends Gi{constructor(a,l,v,R){super(l,v,R),this.factory=a,this.namespaceId=l}setProperty(a,l,v){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Dn?this.disableAnimations(a,v=void 0===v||!!v):this.engine.process(this.namespaceId,a,l.substr(1),v):this.delegate.setProperty(a,l,v)}listen(a,l,v){if("@"==l.charAt(0)){const R=function ot(d){switch(d){case"body":return document.body;case"document":return document;case"window":return window;default:return d}}(a);let G=l.substr(1),ne="";return"@"!=G.charAt(0)&&([G,ne]=function sn(d){const a=d.indexOf(".");return[d.substring(0,a),d.substr(a+1)]}(G)),this.engine.listen(this.namespaceId,R,G,ne,oe=>{this.factory.scheduleListenerCallback(oe._data||-1,v,oe)})}return this.delegate.listen(a,l,v)}}let Jr=(()=>{class d extends vn{constructor(l,v,R){super(l.body,v,R)}ngOnDestroy(){this.flush()}}return d.\u0275fac=function(l){return new(l||d)(c.LFG(x.K0),c.LFG(ze),c.LFG(mr))},d.\u0275prov=c.Yz7({token:d,factory:d.\u0275fac}),d})();const br=new c.OlP("AnimationModuleType"),Vi=[{provide:g._j,useClass:M},{provide:mr,useFactory:function Zn(){return new gr}},{provide:vn,useClass:Jr},{provide:c.FYo,useFactory:function bo(d,a,l){return new gi(d,a,l)},deps:[o.se,vn,c.R0b]}],Xr=[{provide:ze,useFactory:()=>new ki},{provide:br,useValue:"BrowserAnimations"},...Vi],k=[{provide:ze,useClass:Ue},{provide:br,useValue:"NoopAnimations"},...Vi];let Ee=(()=>{class d{static withConfig(l){return{ngModule:d,providers:l.disableAnimations?k:Xr}}}return d.\u0275fac=function(l){return new(l||d)},d.\u0275mod=c.oAB({type:d}),d.\u0275inj=c.cJS({providers:Xr,imports:[o.b2]}),d})()},2313:(qe,ye,C)=>{C.d(ye,{b2:()=>St,H7:()=>Zt,q6:()=>Ge,se:()=>tt});var c=C(9808),o=C(4893);class g extends c.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Y extends g{static makeCurrent(){(0,c.HT)(new Y)}onAndCancel(_e,te,Ie){return _e.addEventListener(te,Ie,!1),()=>{_e.removeEventListener(te,Ie,!1)}}dispatchEvent(_e,te){_e.dispatchEvent(te)}remove(_e){_e.parentNode&&_e.parentNode.removeChild(_e)}createElement(_e,te){return(te=te||this.getDefaultDocument()).createElement(_e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(_e){return _e.nodeType===Node.ELEMENT_NODE}isShadowRoot(_e){return _e instanceof DocumentFragment}getGlobalEventTarget(_e,te){return"window"===te?window:"document"===te?_e:"body"===te?_e.body:null}getBaseHref(_e){const te=function ie(){return ce=ce||document.querySelector("base"),ce?ce.getAttribute("href"):null}();return null==te?null:function Ce(Ve){De=De||document.createElement("a"),De.setAttribute("href",Ve);const _e=De.pathname;return"/"===_e.charAt(0)?_e:`/${_e}`}(te)}resetBaseElement(){ce=null}getUserAgent(){return window.navigator.userAgent}getCookie(_e){return(0,c.Mx)(document.cookie,_e)}}let De,ce=null;const ue=new o.OlP("TRANSITION_ID"),se=[{provide:o.ip1,useFactory:function ee(Ve,_e,te){return()=>{te.get(o.CZH).donePromise.then(()=>{const Ie=(0,c.q)(),rt=_e.querySelectorAll(`style[ng-transition="${Ve}"]`);for(let kt=0;kt{const kt=_e.findTestabilityInTree(Ie,rt);if(null==kt)throw new Error("Could not find testability for element.");return kt},o.dqk.getAllAngularTestabilities=()=>_e.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>_e.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(Ie=>{const rt=o.dqk.getAllAngularTestabilities();let kt=rt.length,$t=!1;const bn=function(en){$t=$t||en,kt--,0==kt&&Ie($t)};rt.forEach(function(en){en.whenStable(bn)})})}findTestabilityInTree(_e,te,Ie){if(null==te)return null;const rt=_e.getTestability(te);return null!=rt?rt:Ie?(0,c.q)().isShadowRoot(te)?this.findTestabilityInTree(_e,te.host,!0):this.findTestabilityInTree(_e,te.parentElement,!0):null}}let J=(()=>{class Ve{build(){return new XMLHttpRequest}}return Ve.\u0275fac=function(te){return new(te||Ve)},Ve.\u0275prov=o.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();const le=new o.OlP("EventManagerPlugins");let ke=(()=>{class Ve{constructor(te,Ie){this._zone=Ie,this._eventNameToPlugin=new Map,te.forEach(rt=>rt.manager=this),this._plugins=te.slice().reverse()}addEventListener(te,Ie,rt){return this._findPluginFor(Ie).addEventListener(te,Ie,rt)}addGlobalEventListener(te,Ie,rt){return this._findPluginFor(Ie).addGlobalEventListener(te,Ie,rt)}getZone(){return this._zone}_findPluginFor(te){const Ie=this._eventNameToPlugin.get(te);if(Ie)return Ie;const rt=this._plugins;for(let kt=0;kt{class Ve{constructor(){this._stylesSet=new Set}addStyles(te){const Ie=new Set;te.forEach(rt=>{this._stylesSet.has(rt)||(this._stylesSet.add(rt),Ie.add(rt))}),this.onStylesAdded(Ie)}onStylesAdded(te){}getAllStyles(){return Array.from(this._stylesSet)}}return Ve.\u0275fac=function(te){return new(te||Ve)},Ve.\u0275prov=o.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})(),et=(()=>{class Ve extends Z{constructor(te){super(),this._doc=te,this._hostNodes=new Map,this._hostNodes.set(te.head,[])}_addStylesToHost(te,Ie,rt){te.forEach(kt=>{const $t=this._doc.createElement("style");$t.textContent=kt,rt.push(Ie.appendChild($t))})}addHost(te){const Ie=[];this._addStylesToHost(this._stylesSet,te,Ie),this._hostNodes.set(te,Ie)}removeHost(te){const Ie=this._hostNodes.get(te);Ie&&Ie.forEach(Ye),this._hostNodes.delete(te)}onStylesAdded(te){this._hostNodes.forEach((Ie,rt)=>{this._addStylesToHost(te,rt,Ie)})}ngOnDestroy(){this._hostNodes.forEach(te=>te.forEach(Ye))}}return Ve.\u0275fac=function(te){return new(te||Ve)(o.LFG(c.K0))},Ve.\u0275prov=o.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();function Ye(Ve){(0,c.q)().remove(Ve)}const Qe={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/"},me=/%COMP%/g,q="%COMP%",pe=`_nghost-${q}`,Te=`_ngcontent-${q}`;function Me(Ve,_e,te){for(let Ie=0;Ie<_e.length;Ie++){let rt=_e[Ie];Array.isArray(rt)?Me(Ve,rt,te):(rt=rt.replace(me,Ve),te.push(rt))}return te}function xe(Ve){return _e=>{if("__ngUnwrap__"===_e)return Ve;!1===Ve(_e)&&(_e.preventDefault(),_e.returnValue=!1)}}let tt=(()=>{class Ve{constructor(te,Ie,rt){this.eventManager=te,this.sharedStylesHost=Ie,this.appId=rt,this.rendererByCompId=new Map,this.defaultRenderer=new Fe(te)}createRenderer(te,Ie){if(!te||!Ie)return this.defaultRenderer;switch(Ie.encapsulation){case o.ifc.Emulated:{let rt=this.rendererByCompId.get(Ie.id);return rt||(rt=new Jt(this.eventManager,this.sharedStylesHost,Ie,this.appId),this.rendererByCompId.set(Ie.id,rt)),rt.applyToHost(te),rt}case 1:case o.ifc.ShadowDom:return new yt(this.eventManager,this.sharedStylesHost,te,Ie);default:if(!this.rendererByCompId.has(Ie.id)){const rt=Me(Ie.id,Ie.styles,[]);this.sharedStylesHost.addStyles(rt),this.rendererByCompId.set(Ie.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ve.\u0275fac=function(te){return new(te||Ve)(o.LFG(ke),o.LFG(et),o.LFG(o.AFp))},Ve.\u0275prov=o.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();class Fe{constructor(_e){this.eventManager=_e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(_e,te){return te?document.createElementNS(Qe[te]||te,_e):document.createElement(_e)}createComment(_e){return document.createComment(_e)}createText(_e){return document.createTextNode(_e)}appendChild(_e,te){_e.appendChild(te)}insertBefore(_e,te,Ie){_e&&_e.insertBefore(te,Ie)}removeChild(_e,te){_e&&_e.removeChild(te)}selectRootElement(_e,te){let Ie="string"==typeof _e?document.querySelector(_e):_e;if(!Ie)throw new Error(`The selector "${_e}" did not match any elements`);return te||(Ie.textContent=""),Ie}parentNode(_e){return _e.parentNode}nextSibling(_e){return _e.nextSibling}setAttribute(_e,te,Ie,rt){if(rt){te=rt+":"+te;const kt=Qe[rt];kt?_e.setAttributeNS(kt,te,Ie):_e.setAttribute(te,Ie)}else _e.setAttribute(te,Ie)}removeAttribute(_e,te,Ie){if(Ie){const rt=Qe[Ie];rt?_e.removeAttributeNS(rt,te):_e.removeAttribute(`${Ie}:${te}`)}else _e.removeAttribute(te)}addClass(_e,te){_e.classList.add(te)}removeClass(_e,te){_e.classList.remove(te)}setStyle(_e,te,Ie,rt){rt&(o.JOm.DashCase|o.JOm.Important)?_e.style.setProperty(te,Ie,rt&o.JOm.Important?"important":""):_e.style[te]=Ie}removeStyle(_e,te,Ie){Ie&o.JOm.DashCase?_e.style.removeProperty(te):_e.style[te]=""}setProperty(_e,te,Ie){_e[te]=Ie}setValue(_e,te){_e.nodeValue=te}listen(_e,te,Ie){return"string"==typeof _e?this.eventManager.addGlobalEventListener(_e,te,xe(Ie)):this.eventManager.addEventListener(_e,te,xe(Ie))}}class Jt extends Fe{constructor(_e,te,Ie,rt){super(_e),this.component=Ie;const kt=Me(rt+"-"+Ie.id,Ie.styles,[]);te.addStyles(kt),this.contentAttr=function Ne(Ve){return Te.replace(me,Ve)}(rt+"-"+Ie.id),this.hostAttr=function ve(Ve){return pe.replace(me,Ve)}(rt+"-"+Ie.id)}applyToHost(_e){super.setAttribute(_e,this.hostAttr,"")}createElement(_e,te){const Ie=super.createElement(_e,te);return super.setAttribute(Ie,this.contentAttr,""),Ie}}class yt extends Fe{constructor(_e,te,Ie,rt){super(_e),this.sharedStylesHost=te,this.hostEl=Ie,this.shadowRoot=Ie.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kt=Me(rt.id,rt.styles,[]);for(let $t=0;$t{class Ve extends Be{constructor(te){super(te)}supports(te){return!0}addEventListener(te,Ie,rt){return te.addEventListener(Ie,rt,!1),()=>this.removeEventListener(te,Ie,rt)}removeEventListener(te,Ie,rt){return te.removeEventListener(Ie,rt)}}return Ve.\u0275fac=function(te){return new(te||Ve)(o.LFG(c.K0))},Ve.\u0275prov=o.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();const Wt=["alt","control","meta","shift"],mn={"\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"},Ut={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},xt={alt:Ve=>Ve.altKey,control:Ve=>Ve.ctrlKey,meta:Ve=>Ve.metaKey,shift:Ve=>Ve.shiftKey};let on=(()=>{class Ve extends Be{constructor(te){super(te)}supports(te){return null!=Ve.parseEventName(te)}addEventListener(te,Ie,rt){const kt=Ve.parseEventName(Ie),$t=Ve.eventCallback(kt.fullKey,rt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.q)().onAndCancel(te,kt.domEventName,$t))}static parseEventName(te){const Ie=te.toLowerCase().split("."),rt=Ie.shift();if(0===Ie.length||"keydown"!==rt&&"keyup"!==rt)return null;const kt=Ve._normalizeKey(Ie.pop());let $t="";if(Wt.forEach(en=>{const kn=Ie.indexOf(en);kn>-1&&(Ie.splice(kn,1),$t+=en+".")}),$t+=kt,0!=Ie.length||0===kt.length)return null;const bn={};return bn.domEventName=rt,bn.fullKey=$t,bn}static getEventFullKey(te){let Ie="",rt=function Xe(Ve){let _e=Ve.key;if(null==_e){if(_e=Ve.keyIdentifier,null==_e)return"Unidentified";_e.startsWith("U+")&&(_e=String.fromCharCode(parseInt(_e.substring(2),16)),3===Ve.location&&Ut.hasOwnProperty(_e)&&(_e=Ut[_e]))}return mn[_e]||_e}(te);return rt=rt.toLowerCase()," "===rt?rt="space":"."===rt&&(rt="dot"),Wt.forEach(kt=>{kt!=rt&&xt[kt](te)&&(Ie+=kt+".")}),Ie+=rt,Ie}static eventCallback(te,Ie,rt){return kt=>{Ve.getEventFullKey(kt)===te&&rt.runGuarded(()=>Ie(kt))}}static _normalizeKey(te){return"esc"===te?"escape":te}}return Ve.\u0275fac=function(te){return new(te||Ve)(o.LFG(c.K0))},Ve.\u0275prov=o.Yz7({token:Ve,factory:Ve.\u0275fac}),Ve})();const Ge=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:c.bD},{provide:o.g9A,useValue:function je(){Y.makeCurrent(),de.init()},multi:!0},{provide:c.K0,useFactory:function K(){return(0,o.RDi)(document),document},deps:[]}]),lt=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function Q(){return new o.qLn},deps:[]},{provide:le,useClass:Rt,multi:!0,deps:[c.K0,o.R0b,o.Lbi]},{provide:le,useClass:on,multi:!0,deps:[c.K0]},{provide:tt,useClass:tt,deps:[ke,et,o.AFp]},{provide:o.FYo,useExisting:tt},{provide:Z,useExisting:et},{provide:et,useClass:et,deps:[c.K0]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b]},{provide:ke,useClass:ke,deps:[le,o.R0b]},{provide:c.JF,useClass:J,deps:[]}];let St=(()=>{class Ve{constructor(te){if(te)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(te){return{ngModule:Ve,providers:[{provide:o.AFp,useValue:te.appId},{provide:ue,useExisting:o.AFp},se]}}}return Ve.\u0275fac=function(te){return new(te||Ve)(o.LFG(Ve,12))},Ve.\u0275mod=o.oAB({type:Ve}),Ve.\u0275inj=o.cJS({providers:lt,imports:[c.ez,o.hGG]}),Ve})();"undefined"!=typeof window&&window;let Zt=(()=>{class Ve{}return Ve.\u0275fac=function(te){return new(te||Ve)},Ve.\u0275prov=o.Yz7({token:Ve,factory:function(te){let Ie=null;return Ie=te?new(te||Ve):o.LFG(Dt),Ie},providedIn:"root"}),Ve})(),Dt=(()=>{class Ve extends Zt{constructor(te){super(),this._doc=te}sanitize(te,Ie){if(null==Ie)return null;switch(te){case o.q3G.NONE:return Ie;case o.q3G.HTML:return(0,o.qzn)(Ie,"HTML")?(0,o.z3N)(Ie):(0,o.EiD)(this._doc,String(Ie)).toString();case o.q3G.STYLE:return(0,o.qzn)(Ie,"Style")?(0,o.z3N)(Ie):Ie;case o.q3G.SCRIPT:if((0,o.qzn)(Ie,"Script"))return(0,o.z3N)(Ie);throw new Error("unsafe value used in a script context");case o.q3G.URL:return(0,o.yhl)(Ie),(0,o.qzn)(Ie,"URL")?(0,o.z3N)(Ie):(0,o.mCW)(String(Ie));case o.q3G.RESOURCE_URL:if((0,o.qzn)(Ie,"ResourceURL"))return(0,o.z3N)(Ie);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${te} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(te){return(0,o.JVY)(te)}bypassSecurityTrustStyle(te){return(0,o.L6k)(te)}bypassSecurityTrustScript(te){return(0,o.eBb)(te)}bypassSecurityTrustUrl(te){return(0,o.LAX)(te)}bypassSecurityTrustResourceUrl(te){return(0,o.pB0)(te)}}return Ve.\u0275fac=function(te){return new(te||Ve)(o.LFG(c.K0))},Ve.\u0275prov=o.Yz7({token:Ve,factory:function(te){let Ie=null;return Ie=te?new te:function Kt(Ve){return new Dt(Ve.get(c.K0))}(o.LFG(o.zs3)),Ie},providedIn:"root"}),Ve})()},9525:(qe,ye,C)=>{C.d(ye,{gz:()=>Jn,F0:()=>ri,rH:()=>Tt,yS:()=>Ft,Bz:()=>wo,lC:()=>lr});var c=C(4893),o=C(8306),g=C(576);function Y(_,f){const h=(0,g.m)(_)?_:()=>_,w=O=>O.error(h());return new o.y(f?O=>f.schedule(w,0,O):w)}const ie=(0,C(3888).d)(_=>function(){_(this),this.name="EmptyError",this.message="no elements in sequence"});var De=C(727),Ce=C(4482),ue=C(5403);function ee(){return(0,Ce.e)((_,f)=>{let h=null;_._refCount++;const w=(0,ue.x)(f,void 0,void 0,void 0,()=>{if(!_||_._refCount<=0||0<--_._refCount)return void(h=null);const O=_._connection,B=h;h=null,O&&(!B||O===B)&&O.unsubscribe(),f.unsubscribe()});_.subscribe(w),w.closed||(h=_.connect())})}class se extends o.y{constructor(f,h){super(),this.source=f,this.subjectFactory=h,this._subject=null,this._refCount=0,this._connection=null,(0,Ce.A)(f)&&(this.lift=f.lift)}_subscribe(f){return this.getSubject().subscribe(f)}getSubject(){const f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:f}=this;this._subject=this._connection=null,null==f||f.unsubscribe()}connect(){let f=this._connection;if(!f){f=this._connection=new De.w0;const h=this.getSubject();f.add(this.source.subscribe((0,ue.x)(h,void 0,()=>{this._teardown(),h.complete()},w=>{this._teardown(),h.error(w)},()=>this._teardown()))),f.closed&&(this._connection=null,f=De.w0.EMPTY)}return f}refCount(){return ee()(this)}}var de=C(2076),J=C(9646),le=C(1135),ke=C(9841),Be=C(7272),Z=C(9770),et=C(515),Ye=C(7579);function Qe(_,f,h,w,O){return(B,X)=>{let ge=h,Ze=f,Mt=0;B.subscribe((0,ue.x)(X,cn=>{const Bt=Mt++;Ze=ge?_(Ze,cn,Bt):(ge=!0,cn),w&&X.next(Ze)},O&&(()=>{ge&&X.next(Ze),X.complete()})))}}function me(_,f){return(0,Ce.e)(Qe(_,f,arguments.length>=2,!0))}var z=C(8421);function q(_){return(0,Ce.e)((f,h)=>{let B,w=null,O=!1;w=f.subscribe((0,ue.x)(h,void 0,void 0,X=>{B=(0,z.Xf)(_(X,q(_)(f))),w?(w.unsubscribe(),w=null,B.subscribe(h)):O=!0})),O&&(w.unsubscribe(),w=null,B.subscribe(h))})}var pe=C(9300);function Te(_){return _<=0?()=>et.E:(0,Ce.e)((f,h)=>{let w=[];f.subscribe((0,ue.x)(h,O=>{w.push(O),_{for(const O of w)h.next(O);h.complete()},void 0,()=>{w=null}))})}function Ne(_=ve){return(0,Ce.e)((f,h)=>{let w=!1;f.subscribe((0,ue.x)(h,O=>{w=!0,h.next(O)},()=>w?h.complete():h.error(_())))})}function ve(){return new ie}function Me(_){return(0,Ce.e)((f,h)=>{let w=!1;f.subscribe((0,ue.x)(h,O=>{w=!0,h.next(O)},()=>{w||h.next(_),h.complete()}))})}var xe=C(4671),tt=C(5698);function Fe(_,f){const h=arguments.length>=2;return w=>w.pipe(_?(0,pe.h)((O,B)=>_(O,B,w)):xe.y,(0,tt.q)(1),h?Me(f):Ne(()=>new ie))}var mt=C(4004),Jt=C(3900),yt=C(8675),Rt=C(4351),Wt=C(5577),Pt=C(8505),mn=C(8189),Ut=C(9808);class xt{constructor(f,h){this.id=f,this.url=h}}class on extends xt{constructor(f,h,w="imperative",O=null){super(f,h),this.navigationTrigger=w,this.restoredState=O}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Xe extends xt{constructor(f,h,w){super(f,h),this.urlAfterRedirects=w}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class je extends xt{constructor(f,h,w){super(f,h),this.reason=w}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Q extends xt{constructor(f,h,w){super(f,h),this.error=w}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class K extends xt{constructor(f,h,w,O){super(f,h),this.urlAfterRedirects=w,this.state=O}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class He extends xt{constructor(f,h,w,O){super(f,h),this.urlAfterRedirects=w,this.state=O}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ge extends xt{constructor(f,h,w,O,B){super(f,h),this.urlAfterRedirects=w,this.state=O,this.shouldActivate=B}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class lt extends xt{constructor(f,h,w,O){super(f,h),this.urlAfterRedirects=w,this.state=O}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class St extends xt{constructor(f,h,w,O){super(f,h),this.urlAfterRedirects=w,this.state=O}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ht{constructor(f){this.route=f}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class bt{constructor(f){this.route=f}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Nt{constructor(f){this.snapshot=f}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class at{constructor(f){this.snapshot=f}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pe{constructor(f){this.snapshot=f}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class E{constructor(f){this.snapshot=f}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class S{constructor(f,h,w){this.routerEvent=f,this.position=h,this.anchor=w}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const D="primary";class P{constructor(f){this.params=f||{}}has(f){return Object.prototype.hasOwnProperty.call(this.params,f)}get(f){if(this.has(f)){const h=this.params[f];return Array.isArray(h)?h[0]:h}return null}getAll(f){if(this.has(f)){const h=this.params[f];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function L(_){return new P(_)}const re="ngNavigationCancelingError";function be(_){const f=Error("NavigationCancelingError: "+_);return f[re]=!0,f}function ze(_,f,h){const w=h.path.split("/");if(w.length>_.length||"full"===h.pathMatch&&(f.hasChildren()||w.length<_.length))return null;const O={};for(let B=0;Bw[B]===O)}return _===f}function nn(_){return Array.prototype.concat.apply([],_)}function Yt(_){return _.length>0?_[_.length-1]:null}function dt(_,f){for(const h in _)_.hasOwnProperty(h)&&f(_[h],h)}function vt(_){return(0,c.CqO)(_)?_:(0,c.QGY)(_)?(0,de.D)(Promise.resolve(_)):(0,J.of)(_)}const we={exact:function he(_,f,h){if(!_e(_.segments,f.segments)||!Zt(_.segments,f.segments,h)||_.numberOfChildren!==f.numberOfChildren)return!1;for(const w in f.children)if(!_.children[w]||!he(_.children[w],f.children[w],h))return!1;return!0},subset:st},V={exact:function $(_,f){return ct(_,f)},subset:function Se(_,f){return Object.keys(f).length<=Object.keys(_).length&&Object.keys(f).every(h=>Ot(_[h],f[h]))},ignored:()=>!0};function j(_,f,h){return we[h.paths](_.root,f.root,h.matrixParams)&&V[h.queryParams](_.queryParams,f.queryParams)&&!("exact"===h.fragment&&_.fragment!==f.fragment)}function st(_,f,h){return At(_,f,f.segments,h)}function At(_,f,h,w){if(_.segments.length>h.length){const O=_.segments.slice(0,h.length);return!(!_e(O,h)||f.hasChildren()||!Zt(O,h,w))}if(_.segments.length===h.length){if(!_e(_.segments,h)||!Zt(_.segments,h,w))return!1;for(const O in f.children)if(!_.children[O]||!st(_.children[O],f.children[O],w))return!1;return!0}{const O=h.slice(0,_.segments.length),B=h.slice(_.segments.length);return!!(_e(_.segments,O)&&Zt(_.segments,O,w)&&_.children[D])&&At(_.children[D],f,B,w)}}function Zt(_,f,h){return f.every((w,O)=>V[h](_[O].parameters,w.parameters))}class Kt{constructor(f,h,w){this.root=f,this.queryParams=h,this.fragment=w}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=L(this.queryParams)),this._queryParamMap}toString(){return kt.serialize(this)}}class Dt{constructor(f,h){this.segments=f,this.children=h,this.parent=null,dt(h,(w,O)=>w.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $t(this)}}class Rn{constructor(f,h){this.path=f,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=L(this.parameters)),this._parameterMap}toString(){return bi(this)}}function _e(_,f){return _.length===f.length&&_.every((h,w)=>h.path===f[w].path)}class Ie{}class rt{parse(f){const h=new Fn(f);return new Kt(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(f){const h=`/${bn(f.root,!0)}`,w=function fi(_){const f=Object.keys(_).map(h=>{const w=_[h];return Array.isArray(w)?w.map(O=>`${kn(h)}=${kn(O)}`).join("&"):`${kn(h)}=${kn(w)}`}).filter(h=>!!h);return f.length?`?${f.join("&")}`:""}(f.queryParams);return`${h}${w}${"string"==typeof f.fragment?`#${function Cn(_){return encodeURI(_)}(f.fragment)}`:""}`}}const kt=new rt;function $t(_){return _.segments.map(f=>bi(f)).join("/")}function bn(_,f){if(!_.hasChildren())return $t(_);if(f){const h=_.children[D]?bn(_.children[D],!1):"",w=[];return dt(_.children,(O,B)=>{B!==D&&w.push(`${B}:${bn(O,!1)}`)}),w.length>0?`${h}(${w.join("//")})`:h}{const h=function te(_,f){let h=[];return dt(_.children,(w,O)=>{O===D&&(h=h.concat(f(w,O)))}),dt(_.children,(w,O)=>{O!==D&&(h=h.concat(f(w,O)))}),h}(_,(w,O)=>O===D?[bn(_.children[D],!1)]:[`${O}:${bn(w,!1)}`]);return 1===Object.keys(_.children).length&&null!=_.children[D]?`${$t(_)}/${h[0]}`:`${$t(_)}/(${h.join("//")})`}}function en(_){return encodeURIComponent(_).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function kn(_){return en(_).replace(/%3B/gi,";")}function jn(_){return en(_).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oi(_){return decodeURIComponent(_)}function Wn(_){return oi(_.replace(/\+/g,"%20"))}function bi(_){return`${jn(_.path)}${function si(_){return Object.keys(_).map(f=>`;${jn(f)}=${jn(_[f])}`).join("")}(_.parameters)}`}const Ln=/^[^\/()?;=#]+/;function ji(_){const f=_.match(Ln);return f?f[0]:""}const zn=/^[^=?&#]+/,Qt=/^[^&#]+/;class Fn{constructor(f){this.url=f,this.remaining=f}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Dt([],{}):new Dt([],this.parseChildren())}parseQueryParams(){const f={};if(this.consumeOptional("?"))do{this.parseQueryParam(f)}while(this.consumeOptional("&"));return f}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const f=[];for(this.peekStartsWith("(")||f.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),f.push(this.parseSegment());let h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let w={};return this.peekStartsWith("(")&&(w=this.parseParens(!1)),(f.length>0||Object.keys(h).length>0)&&(w[D]=new Dt(f,h)),w}parseSegment(){const f=ji(this.remaining);if(""===f&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(f),new Rn(oi(f),this.parseMatrixParams())}parseMatrixParams(){const f={};for(;this.consumeOptional(";");)this.parseParam(f);return f}parseParam(f){const h=ji(this.remaining);if(!h)return;this.capture(h);let w="";if(this.consumeOptional("=")){const O=ji(this.remaining);O&&(w=O,this.capture(w))}f[oi(h)]=oi(w)}parseQueryParam(f){const h=function ft(_){const f=_.match(zn);return f?f[0]:""}(this.remaining);if(!h)return;this.capture(h);let w="";if(this.consumeOptional("=")){const X=function pn(_){const f=_.match(Qt);return f?f[0]:""}(this.remaining);X&&(w=X,this.capture(w))}const O=Wn(h),B=Wn(w);if(f.hasOwnProperty(O)){let X=f[O];Array.isArray(X)||(X=[X],f[O]=X),X.push(B)}else f[O]=B}parseParens(f){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const w=ji(this.remaining),O=this.remaining[w.length];if("/"!==O&&")"!==O&&";"!==O)throw new Error(`Cannot parse url '${this.url}'`);let B;w.indexOf(":")>-1?(B=w.substr(0,w.indexOf(":")),this.capture(B),this.capture(":")):f&&(B=D);const X=this.parseChildren();h[B]=1===Object.keys(X).length?X[D]:new Dt([],X),this.consumeOptional("//")}return h}peekStartsWith(f){return this.remaining.startsWith(f)}consumeOptional(f){return!!this.peekStartsWith(f)&&(this.remaining=this.remaining.substring(f.length),!0)}capture(f){if(!this.consumeOptional(f))throw new Error(`Expected "${f}".`)}}class ai{constructor(f){this._root=f}get root(){return this._root.value}parent(f){const h=this.pathFromRoot(f);return h.length>1?h[h.length-2]:null}children(f){const h=An(f,this._root);return h?h.children.map(w=>w.value):[]}firstChild(f){const h=An(f,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(f){const h=ci(f,this._root);return h.length<2?[]:h[h.length-2].children.map(O=>O.value).filter(O=>O!==f)}pathFromRoot(f){return ci(f,this._root).map(h=>h.value)}}function An(_,f){if(_===f.value)return f;for(const h of f.children){const w=An(_,h);if(w)return w}return null}function ci(_,f){if(_===f.value)return[f];for(const h of f.children){const w=ci(_,h);if(w.length)return w.unshift(f),w}return[]}class tn{constructor(f,h){this.value=f,this.children=h}toString(){return`TreeNode(${this.value})`}}function Yn(_){const f={};return _&&_.children.forEach(h=>f[h.value.outlet]=h),f}class pi extends ai{constructor(f,h){super(f),this.snapshot=h,Nn(this,f)}toString(){return this.snapshot.toString()}}function jt(_,f){const h=function ui(_,f){const X=new gn([],{},{},"",{},D,f,null,_.root,-1,{});return new di("",new tn(X,[]))}(_,f),w=new le.X([new Rn("",{})]),O=new le.X({}),B=new le.X({}),X=new le.X({}),ge=new le.X(""),Ze=new Jn(w,O,X,ge,B,D,f,h.root);return Ze.snapshot=h.root,new pi(new tn(Ze,[]),h)}class Jn{constructor(f,h,w,O,B,X,ge,Ze){this.url=f,this.params=h,this.queryParams=w,this.fragment=O,this.data=B,this.outlet=X,this.component=ge,this._futureSnapshot=Ze}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,mt.U)(f=>L(f)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,mt.U)(f=>L(f)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Si(_,f="emptyOnly"){const h=_.pathFromRoot;let w=0;if("always"!==f)for(w=h.length-1;w>=1;){const O=h[w],B=h[w-1];if(O.routeConfig&&""===O.routeConfig.path)w--;else{if(B.component)break;w--}}return function Gn(_){return _.reduce((f,h)=>({params:Object.assign(Object.assign({},f.params),h.params),data:Object.assign(Object.assign({},f.data),h.data),resolve:Object.assign(Object.assign({},f.resolve),h._resolvedData)}),{params:{},data:{},resolve:{}})}(h.slice(w))}class gn{constructor(f,h,w,O,B,X,ge,Ze,Mt,cn,Bt){this.url=f,this.params=h,this.queryParams=w,this.fragment=O,this.data=B,this.outlet=X,this.component=ge,this.routeConfig=Ze,this._urlSegment=Mt,this._lastPathIndex=cn,this._resolve=Bt}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=L(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=L(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(w=>w.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class di extends ai{constructor(f,h){super(h),this.url=f,Nn(this,h)}toString(){return Xn(this._root)}}function Nn(_,f){f.value._routerState=_,f.children.forEach(h=>Nn(_,h))}function Xn(_){const f=_.children.length>0?` { ${_.children.map(Xn).join(", ")} } `:"";return`${_.value}${f}`}function un(_){if(_.snapshot){const f=_.snapshot,h=_._futureSnapshot;_.snapshot=h,ct(f.queryParams,h.queryParams)||_.queryParams.next(h.queryParams),f.fragment!==h.fragment&&_.fragment.next(h.fragment),ct(f.params,h.params)||_.params.next(h.params),function _t(_,f){if(_.length!==f.length)return!1;for(let h=0;h<_.length;++h)if(!ct(_[h],f[h]))return!1;return!0}(f.url,h.url)||_.url.next(h.url),ct(f.data,h.data)||_.data.next(h.data)}else _.snapshot=_._futureSnapshot,_.data.next(_._futureSnapshot.data)}function ir(_,f){const h=ct(_.params,f.params)&&function Ve(_,f){return _e(_,f)&&_.every((h,w)=>ct(h.parameters,f[w].parameters))}(_.url,f.url);return h&&!(!_.parent!=!f.parent)&&(!_.parent||ir(_.parent,f.parent))}function Kn(_,f,h){if(h&&_.shouldReuseRoute(f.value,h.value.snapshot)){const w=h.value;w._futureSnapshot=f.value;const O=function Ci(_,f,h){return f.children.map(w=>{for(const O of h.children)if(_.shouldReuseRoute(w.value,O.value.snapshot))return Kn(_,w,O);return Kn(_,w)})}(_,f,h);return new tn(w,O)}{if(_.shouldAttach(f.value)){const B=_.retrieve(f.value);if(null!==B){const X=B.route;return X.value._futureSnapshot=f.value,X.children=f.children.map(ge=>Kn(_,ge)),X}}const w=function Ki(_){return new Jn(new le.X(_.url),new le.X(_.params),new le.X(_.queryParams),new le.X(_.fragment),new le.X(_.data),_.outlet,_.component,_)}(f.value),O=f.children.map(B=>Kn(_,B));return new tn(w,O)}}function On(_){return"object"==typeof _&&null!=_&&!_.outlets&&!_.segmentPath}function ei(_){return"object"==typeof _&&null!=_&&_.outlets}function Oi(_,f,h,w,O){let B={};return w&&dt(w,(X,ge)=>{B[ge]=Array.isArray(X)?X.map(Ze=>`${Ze}`):`${X}`}),new Kt(h.root===_?f:hr(h.root,_,f),B,O)}function hr(_,f,h){const w={};return dt(_.children,(O,B)=>{w[B]=O===f?h:hr(O,f,h)}),new Dt(_.segments,w)}class rr{constructor(f,h,w){if(this.isAbsolute=f,this.numberOfDoubleDots=h,this.commands=w,f&&w.length>0&&On(w[0]))throw new Error("Root segment cannot have matrix parameters");const O=w.find(ei);if(O&&O!==Yt(w))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class pr{constructor(f,h,w){this.segmentGroup=f,this.processChildren=h,this.index=w}}function Fr(_,f,h){if(_||(_=new Dt([],{})),0===_.segments.length&&_.hasChildren())return gr(_,f,h);const w=function or(_,f,h){let w=0,O=f;const B={match:!1,pathIndex:0,commandIndex:0};for(;O<_.segments.length;){if(w>=h.length)return B;const X=_.segments[O],ge=h[w];if(ei(ge))break;const Ze=`${ge}`,Mt=w0&&void 0===Ze)break;if(Ze&&Mt&&"object"==typeof Mt&&void 0===Mt.outlets){if(!ar(Ze,Mt,X))return B;w+=2}else{if(!ar(Ze,{},X))return B;w++}O++}return{match:!0,pathIndex:O,commandIndex:w}}(_,f,h),O=h.slice(w.commandIndex);if(w.match&&w.pathIndex<_.segments.length){const B=new Dt(_.segments.slice(0,w.pathIndex),{});return B.children[D]=new Dt(_.segments.slice(w.pathIndex),_.children),gr(B,0,O)}return w.match&&0===O.length?new Dt(_.segments,{}):w.match&&!_.hasChildren()?xr(_,f,h):w.match?gr(_,0,O):xr(_,f,h)}function gr(_,f,h){if(0===h.length)return new Dt(_.segments,{});{const w=function mr(_){return ei(_[0])?_[0].outlets:{[D]:_}}(h),O={};return dt(w,(B,X)=>{"string"==typeof B&&(B=[B]),null!==B&&(O[X]=Fr(_.children[X],f,B))}),dt(_.children,(B,X)=>{void 0===w[X]&&(O[X]=B)}),new Dt(_.segments,O)}}function xr(_,f,h){const w=_.segments.slice(0,f);let O=0;for(;O{"string"==typeof h&&(h=[h]),null!==h&&(f[w]=xr(new Dt([],{}),0,h))}),f}function _r(_){const f={};return dt(_,(h,w)=>f[w]=`${h}`),f}function ar(_,f,h){return _==h.path&&ct(f,h.parameters)}class vr{constructor(f,h,w,O){this.routeReuseStrategy=f,this.futureState=h,this.currState=w,this.forwardEvent=O}activate(f){const h=this.futureState._root,w=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,w,f),un(this.futureState.root),this.activateChildRoutes(h,w,f)}deactivateChildRoutes(f,h,w){const O=Yn(h);f.children.forEach(B=>{const X=B.value.outlet;this.deactivateRoutes(B,O[X],w),delete O[X]}),dt(O,(B,X)=>{this.deactivateRouteAndItsChildren(B,w)})}deactivateRoutes(f,h,w){const O=f.value,B=h?h.value:null;if(O===B)if(O.component){const X=w.getContext(O.outlet);X&&this.deactivateChildRoutes(f,h,X.children)}else this.deactivateChildRoutes(f,h,w);else B&&this.deactivateRouteAndItsChildren(h,w)}deactivateRouteAndItsChildren(f,h){f.value.component&&this.routeReuseStrategy.shouldDetach(f.value.snapshot)?this.detachAndStoreRouteSubtree(f,h):this.deactivateRouteAndOutlet(f,h)}detachAndStoreRouteSubtree(f,h){const w=h.getContext(f.value.outlet),O=w&&f.value.component?w.children:h,B=Yn(f);for(const X of Object.keys(B))this.deactivateRouteAndItsChildren(B[X],O);if(w&&w.outlet){const X=w.outlet.detach(),ge=w.children.onOutletDeactivated();this.routeReuseStrategy.store(f.value.snapshot,{componentRef:X,route:f,contexts:ge})}}deactivateRouteAndOutlet(f,h){const w=h.getContext(f.value.outlet),O=w&&f.value.component?w.children:h,B=Yn(f);for(const X of Object.keys(B))this.deactivateRouteAndItsChildren(B[X],O);w&&w.outlet&&(w.outlet.deactivate(),w.children.onOutletDeactivated(),w.attachRef=null,w.resolver=null,w.route=null)}activateChildRoutes(f,h,w){const O=Yn(h);f.children.forEach(B=>{this.activateRoutes(B,O[B.value.outlet],w),this.forwardEvent(new E(B.value.snapshot))}),f.children.length&&this.forwardEvent(new at(f.value.snapshot))}activateRoutes(f,h,w){const O=f.value,B=h?h.value:null;if(un(O),O===B)if(O.component){const X=w.getOrCreateContext(O.outlet);this.activateChildRoutes(f,h,X.children)}else this.activateChildRoutes(f,h,w);else if(O.component){const X=w.getOrCreateContext(O.outlet);if(this.routeReuseStrategy.shouldAttach(O.snapshot)){const ge=this.routeReuseStrategy.retrieve(O.snapshot);this.routeReuseStrategy.store(O.snapshot,null),X.children.onOutletReAttached(ge.contexts),X.attachRef=ge.componentRef,X.route=ge.route.value,X.outlet&&X.outlet.attach(ge.componentRef,ge.route.value),un(ge.route.value),this.activateChildRoutes(f,null,X.children)}else{const ge=function Lr(_){for(let f=_.parent;f;f=f.parent){const h=f.routeConfig;if(h&&h._loadedConfig)return h._loadedConfig;if(h&&h.component)return null}return null}(O.snapshot),Ze=ge?ge.module.componentFactoryResolver:null;X.attachRef=null,X.route=O,X.resolver=Ze,X.outlet&&X.outlet.activateWith(O,Ze),this.activateChildRoutes(f,null,X.children)}}else this.activateChildRoutes(f,null,w)}}class qi{constructor(f,h){this.routes=f,this.module=h}}function mi(_){return"function"==typeof _}function Di(_){return _ instanceof Kt}const Bi=Symbol("INITIAL_VALUE");function Qi(){return(0,Jt.w)(_=>(0,ke.a)(_.map(f=>f.pipe((0,tt.q)(1),(0,yt.O)(Bi)))).pipe(me((f,h)=>{let w=!1;return h.reduce((O,B,X)=>O!==Bi?O:(B===Bi&&(w=!0),w||!1!==B&&X!==h.length-1&&!Di(B)?O:B),f)},Bi),(0,pe.h)(f=>f!==Bi),(0,mt.U)(f=>Di(f)?f:!0===f),(0,tt.q)(1)))}class Qr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ii,this.attachRef=null}}class Ii{constructor(){this.contexts=new Map}onChildOutletCreated(f,h){const w=this.getOrCreateContext(f);w.outlet=h,this.contexts.set(f,w)}onChildOutletDestroyed(f){const h=this.getContext(f);h&&(h.outlet=null,h.attachRef=null)}onOutletDeactivated(){const f=this.contexts;return this.contexts=new Map,f}onOutletReAttached(f){this.contexts=f}getOrCreateContext(f){let h=this.getContext(f);return h||(h=new Qr,this.contexts.set(f,h)),h}getContext(f){return this.contexts.get(f)||null}}let lr=(()=>{class _{constructor(h,w,O,B,X){this.parentContexts=h,this.location=w,this.resolver=O,this.changeDetector=X,this.activated=null,this._activatedRoute=null,this.activateEvents=new c.vpe,this.deactivateEvents=new c.vpe,this.attachEvents=new c.vpe,this.detachEvents=new c.vpe,this.name=B||D,h.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const h=this.parentContexts.getContext(this.name);h&&h.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,w){this.activated=h,this._activatedRoute=w,this.location.insert(h.hostView),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,w){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=h;const X=(w=w||this.resolver).resolveComponentFactory(h._futureSnapshot.routeConfig.component),ge=this.parentContexts.getOrCreateContext(this.name).children,Ze=new Br(h,ge,this.location.injector);this.activated=this.location.createComponent(X,this.location.length,Ze),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return _.\u0275fac=function(h){return new(h||_)(c.Y36(Ii),c.Y36(c.s_b),c.Y36(c._Vd),c.$8M("name"),c.Y36(c.sBO))},_.\u0275dir=c.lG2({type:_,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),_})();class Br{constructor(f,h,w){this.route=f,this.childContexts=h,this.parent=w}get(f,h){return f===Jn?this.route:f===Ii?this.childContexts:this.parent.get(f,h)}}let ti=(()=>{class _{}return _.\u0275fac=function(h){return new(h||_)},_.\u0275cmp=c.Xpm({type:_,selectors:[["ng-component"]],decls:1,vars:0,template:function(h,w){1&h&&c._UZ(0,"router-outlet")},directives:[lr],encapsulation:2}),_})();function cr(_,f=""){for(let h=0;h<_.length;h++){const w=_[h];Tn(w,Ji(f,w))}}function Tn(_,f){_.children&&cr(_.children,f)}function Ji(_,f){return f?_||f.path?_&&!f.path?`${_}/`:!_&&f.path?f.path:`${_}/${f.path}`:"":_}function Xi(_){const f=_.children&&_.children.map(Xi),h=f?Object.assign(Object.assign({},_),{children:f}):Object.assign({},_);return!h.component&&(f||h.loadChildren)&&h.outlet&&h.outlet!==D&&(h.component=ti),h}function ni(_){return _.outlet||D}function ur(_,f){const h=_.filter(w=>ni(w)===f);return h.push(..._.filter(w=>ni(w)!==f)),h}const Pi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function A(_,f,h){var w;if(""===f.path)return"full"===f.pathMatch&&(_.hasChildren()||h.length>0)?Object.assign({},Pi):{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const B=(f.matcher||ze)(h,_,f);if(!B)return Object.assign({},Pi);const X={};dt(B.posParams,(Ze,Mt)=>{X[Mt]=Ze.path});const ge=B.consumed.length>0?Object.assign(Object.assign({},X),B.consumed[B.consumed.length-1].parameters):X;return{matched:!0,consumedSegments:B.consumed,remainingSegments:h.slice(B.consumed.length),parameters:ge,positionalParamSegments:null!==(w=B.posParams)&&void 0!==w?w:{}}}function N(_,f,h,w,O="corrected"){if(h.length>0&&function ae(_,f,h){return h.some(w=>nt(_,f,w)&&ni(w)!==D)}(_,h,w)){const X=new Dt(f,function H(_,f,h,w){const O={};O[D]=w,w._sourceSegment=_,w._segmentIndexShift=f.length;for(const B of h)if(""===B.path&&ni(B)!==D){const X=new Dt([],{});X._sourceSegment=_,X._segmentIndexShift=f.length,O[ni(B)]=X}return O}(_,f,w,new Dt(h,_.children)));return X._sourceSegment=_,X._segmentIndexShift=f.length,{segmentGroup:X,slicedSegments:[]}}if(0===h.length&&function $e(_,f,h){return h.some(w=>nt(_,f,w))}(_,h,w)){const X=new Dt(_.segments,function T(_,f,h,w,O,B){const X={};for(const ge of w)if(nt(_,h,ge)&&!O[ni(ge)]){const Ze=new Dt([],{});Ze._sourceSegment=_,Ze._segmentIndexShift="legacy"===B?_.segments.length:f.length,X[ni(ge)]=Ze}return Object.assign(Object.assign({},O),X)}(_,f,h,w,_.children,O));return X._sourceSegment=_,X._segmentIndexShift=f.length,{segmentGroup:X,slicedSegments:h}}const B=new Dt(_.segments,_.children);return B._sourceSegment=_,B._segmentIndexShift=f.length,{segmentGroup:B,slicedSegments:h}}function nt(_,f,h){return(!(_.hasChildren()||f.length>0)||"full"!==h.pathMatch)&&""===h.path}function ht(_,f,h,w){return!!(ni(_)===w||w!==D&&nt(f,h,_))&&("**"===_.path||A(f,_,h).matched)}function En(_,f,h){return 0===f.length&&!_.children[h]}class _n{constructor(f){this.segmentGroup=f||null}}class hn{constructor(f){this.urlTree=f}}function zt(_){return Y(new _n(_))}function Bn(_){return Y(new hn(_))}class wi{constructor(f,h,w,O,B){this.configLoader=h,this.urlSerializer=w,this.urlTree=O,this.config=B,this.allowRedirects=!0,this.ngModule=f.get(c.h0i)}apply(){const f=N(this.urlTree.root,[],[],this.config).segmentGroup,h=new Dt(f.segments,f.children);return this.expandSegmentGroup(this.ngModule,this.config,h,D).pipe((0,mt.U)(B=>this.createUrlTree(Ri(B),this.urlTree.queryParams,this.urlTree.fragment))).pipe(q(B=>{if(B instanceof hn)return this.allowRedirects=!1,this.match(B.urlTree);throw B instanceof _n?this.noMatchError(B):B}))}match(f){return this.expandSegmentGroup(this.ngModule,this.config,f.root,D).pipe((0,mt.U)(O=>this.createUrlTree(Ri(O),f.queryParams,f.fragment))).pipe(q(O=>{throw O instanceof _n?this.noMatchError(O):O}))}noMatchError(f){return new Error(`Cannot match any routes. URL Segment: '${f.segmentGroup}'`)}createUrlTree(f,h,w){const O=f.segments.length>0?new Dt([],{[D]:f}):f;return new Kt(O,h,w)}expandSegmentGroup(f,h,w,O){return 0===w.segments.length&&w.hasChildren()?this.expandChildren(f,h,w).pipe((0,mt.U)(B=>new Dt([],B))):this.expandSegment(f,w,h,w.segments,O,!0)}expandChildren(f,h,w){const O=[];for(const B of Object.keys(w.children))"primary"===B?O.unshift(B):O.push(B);return(0,de.D)(O).pipe((0,Rt.b)(B=>{const X=w.children[B],ge=ur(h,B);return this.expandSegmentGroup(f,ge,X,B).pipe((0,mt.U)(Ze=>({segment:Ze,outlet:B})))}),me((B,X)=>(B[X.outlet]=X.segment,B),{}),function Ae(_,f){const h=arguments.length>=2;return w=>w.pipe(_?(0,pe.h)((O,B)=>_(O,B,w)):xe.y,Te(1),h?Me(f):Ne(()=>new ie))}())}expandSegment(f,h,w,O,B,X){return(0,de.D)(w).pipe((0,Rt.b)(ge=>this.expandSegmentAgainstRoute(f,h,w,ge,O,B,X).pipe(q(Mt=>{if(Mt instanceof _n)return(0,J.of)(null);throw Mt}))),Fe(ge=>!!ge),q((ge,Ze)=>{if(ge instanceof ie||"EmptyError"===ge.name){if(En(h,O,B))return(0,J.of)(new Dt([],{}));throw new _n(h)}throw ge}))}expandSegmentAgainstRoute(f,h,w,O,B,X,ge){return ht(O,h,B,X)?void 0===O.redirectTo?this.matchSegmentAgainstRoute(f,h,O,B,X):ge&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(f,h,w,O,B,X):zt(h):zt(h)}expandSegmentAgainstRouteUsingRedirect(f,h,w,O,B,X){return"**"===O.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(f,w,O,X):this.expandRegularSegmentAgainstRouteUsingRedirect(f,h,w,O,B,X)}expandWildCardWithParamsAgainstRouteUsingRedirect(f,h,w,O){const B=this.applyRedirectCommands([],w.redirectTo,{});return w.redirectTo.startsWith("/")?Bn(B):this.lineralizeSegments(w,B).pipe((0,Wt.z)(X=>{const ge=new Dt(X,{});return this.expandSegment(f,ge,h,X,O,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(f,h,w,O,B,X){const{matched:ge,consumedSegments:Ze,remainingSegments:Mt,positionalParamSegments:cn}=A(h,O,B);if(!ge)return zt(h);const Bt=this.applyRedirectCommands(Ze,O.redirectTo,cn);return O.redirectTo.startsWith("/")?Bn(Bt):this.lineralizeSegments(O,Bt).pipe((0,Wt.z)(xn=>this.expandSegment(f,h,w,xn.concat(Mt),X,!1)))}matchSegmentAgainstRoute(f,h,w,O,B){if("**"===w.path)return w.loadChildren?(w._loadedConfig?(0,J.of)(w._loadedConfig):this.configLoader.load(f.injector,w)).pipe((0,mt.U)(Bt=>(w._loadedConfig=Bt,new Dt(O,{})))):(0,J.of)(new Dt(O,{}));const{matched:X,consumedSegments:ge,remainingSegments:Ze}=A(h,w,O);return X?this.getChildConfig(f,w,O).pipe((0,Wt.z)(cn=>{const Bt=cn.module,xn=cn.routes,{segmentGroup:Pn,slicedSegments:po}=N(h,ge,Ze,xn),Ur=new Dt(Pn.segments,Pn.children);if(0===po.length&&Ur.hasChildren())return this.expandChildren(Bt,xn,Ur).pipe((0,mt.U)(go=>new Dt(ge,go)));if(0===xn.length&&0===po.length)return(0,J.of)(new Dt(ge,{}));const mo=ni(w)===B;return this.expandSegment(Bt,Ur,xn,po,mo?D:B,!0).pipe((0,mt.U)(Dr=>new Dt(ge.concat(Dr.segments),Dr.children)))})):zt(h)}getChildConfig(f,h,w){return h.children?(0,J.of)(new qi(h.children,f)):h.loadChildren?void 0!==h._loadedConfig?(0,J.of)(h._loadedConfig):this.runCanLoadGuards(f.injector,h,w).pipe((0,Wt.z)(O=>O?this.configLoader.load(f.injector,h).pipe((0,mt.U)(B=>(h._loadedConfig=B,B))):function Sn(_){return Y(be(`Cannot load children because the guard of the route "path: '${_.path}'" returned false`))}(h))):(0,J.of)(new qi([],f))}runCanLoadGuards(f,h,w){const O=h.canLoad;if(!O||0===O.length)return(0,J.of)(!0);const B=O.map(X=>{const ge=f.get(X);let Ze;if(function qr(_){return _&&mi(_.canLoad)}(ge))Ze=ge.canLoad(h,w);else{if(!mi(ge))throw new Error("Invalid CanLoad guard");Ze=ge(h,w)}return vt(Ze)});return(0,J.of)(B).pipe(Qi(),(0,Pt.b)(X=>{if(!Di(X))return;const ge=be(`Redirecting to "${this.urlSerializer.serialize(X)}"`);throw ge.url=X,ge}),(0,mt.U)(X=>!0===X))}lineralizeSegments(f,h){let w=[],O=h.root;for(;;){if(w=w.concat(O.segments),0===O.numberOfChildren)return(0,J.of)(w);if(O.numberOfChildren>1||!O.children[D])return Y(new Error(`Only absolute redirects can have named outlets. redirectTo: '${f.redirectTo}'`));O=O.children[D]}}applyRedirectCommands(f,h,w){return this.applyRedirectCreatreUrlTree(h,this.urlSerializer.parse(h),f,w)}applyRedirectCreatreUrlTree(f,h,w,O){const B=this.createSegmentGroup(f,h.root,w,O);return new Kt(B,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(f,h){const w={};return dt(f,(O,B)=>{if("string"==typeof O&&O.startsWith(":")){const ge=O.substring(1);w[B]=h[ge]}else w[B]=O}),w}createSegmentGroup(f,h,w,O){const B=this.createSegments(f,h.segments,w,O);let X={};return dt(h.children,(ge,Ze)=>{X[Ze]=this.createSegmentGroup(f,ge,w,O)}),new Dt(B,X)}createSegments(f,h,w,O){return h.map(B=>B.path.startsWith(":")?this.findPosParam(f,B,O):this.findOrReturn(B,w))}findPosParam(f,h,w){const O=w[h.path.substring(1)];if(!O)throw new Error(`Cannot redirect to '${f}'. Cannot find '${h.path}'.`);return O}findOrReturn(f,h){let w=0;for(const O of h){if(O.path===f.path)return h.splice(w),O;w++}return f}}function Ri(_){const f={};for(const w of Object.keys(_.children)){const B=Ri(_.children[w]);(B.segments.length>0||B.hasChildren())&&(f[w]=B)}return function er(_){if(1===_.numberOfChildren&&_.children[D]){const f=_.children[D];return new Dt(_.segments.concat(f.segments),f.children)}return _}(new Dt(_.segments,f))}class x{constructor(f){this.path=f,this.route=this.path[this.path.length-1]}}class M{constructor(f,h){this.component=f,this.route=h}}function y(_,f,h){const w=_._root;return Dn(w,f?f._root:null,h,[w.value])}function We(_,f,h){const w=function Et(_){if(!_)return null;for(let f=_.parent;f;f=f.parent){const h=f.routeConfig;if(h&&h._loadedConfig)return h._loadedConfig}return null}(f);return(w?w.module.injector:h).get(_)}function Dn(_,f,h,w,O={canDeactivateChecks:[],canActivateChecks:[]}){const B=Yn(f);return _.children.forEach(X=>{(function gi(_,f,h,w,O={canDeactivateChecks:[],canActivateChecks:[]}){const B=_.value,X=f?f.value:null,ge=h?h.getContext(_.value.outlet):null;if(X&&B.routeConfig===X.routeConfig){const Ze=function Gi(_,f,h){if("function"==typeof h)return h(_,f);switch(h){case"pathParamsChange":return!_e(_.url,f.url);case"pathParamsOrQueryParamsChange":return!_e(_.url,f.url)||!ct(_.queryParams,f.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ir(_,f)||!ct(_.queryParams,f.queryParams);default:return!ir(_,f)}}(X,B,B.routeConfig.runGuardsAndResolvers);Ze?O.canActivateChecks.push(new x(w)):(B.data=X.data,B._resolvedData=X._resolvedData),Dn(_,f,B.component?ge?ge.children:null:h,w,O),Ze&&ge&&ge.outlet&&ge.outlet.isActivated&&O.canDeactivateChecks.push(new M(ge.outlet.component,X))}else X&&Fi(f,ge,O),O.canActivateChecks.push(new x(w)),Dn(_,null,B.component?ge?ge.children:null:h,w,O)})(X,B[X.value.outlet],h,w.concat([X.value]),O),delete B[X.value.outlet]}),dt(B,(X,ge)=>Fi(X,h.getContext(ge),O)),O}function Fi(_,f,h){const w=Yn(_),O=_.value;dt(w,(B,X)=>{Fi(B,O.component?f?f.children.getContext(X):null:f,h)}),h.canDeactivateChecks.push(new M(O.component&&f&&f.outlet&&f.outlet.isActivated?f.outlet.component:null,O))}class k{}function Ee(_){return new o.y(f=>f.error(_))}class d{constructor(f,h,w,O,B,X){this.rootComponentType=f,this.config=h,this.urlTree=w,this.url=O,this.paramsInheritanceStrategy=B,this.relativeLinkResolution=X}recognize(){const f=N(this.urlTree.root,[],[],this.config.filter(X=>void 0===X.redirectTo),this.relativeLinkResolution).segmentGroup,h=this.processSegmentGroup(this.config,f,D);if(null===h)return null;const w=new gn([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},D,this.rootComponentType,null,this.urlTree.root,-1,{}),O=new tn(w,h),B=new di(this.url,O);return this.inheritParamsAndData(B._root),B}inheritParamsAndData(f){const h=f.value,w=Si(h,this.paramsInheritanceStrategy);h.params=Object.freeze(w.params),h.data=Object.freeze(w.data),f.children.forEach(O=>this.inheritParamsAndData(O))}processSegmentGroup(f,h,w){return 0===h.segments.length&&h.hasChildren()?this.processChildren(f,h):this.processSegment(f,h,h.segments,w)}processChildren(f,h){const w=[];for(const B of Object.keys(h.children)){const X=h.children[B],ge=ur(f,B),Ze=this.processSegmentGroup(ge,X,B);if(null===Ze)return null;w.push(...Ze)}const O=R(w);return function a(_){_.sort((f,h)=>f.value.outlet===D?-1:h.value.outlet===D?1:f.value.outlet.localeCompare(h.value.outlet))}(O),O}processSegment(f,h,w,O){for(const B of f){const X=this.processSegmentAgainstRoute(B,h,w,O);if(null!==X)return X}return En(h,w,O)?[]:null}processSegmentAgainstRoute(f,h,w,O){if(f.redirectTo||!ht(f,h,w,O))return null;let B,X=[],ge=[];if("**"===f.path){const Pn=w.length>0?Yt(w).parameters:{};B=new gn(w,Pn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Oe(f),ni(f),f.component,f,ne(h),oe(h)+w.length,Ke(f))}else{const Pn=A(h,f,w);if(!Pn.matched)return null;X=Pn.consumedSegments,ge=Pn.remainingSegments,B=new gn(X,Pn.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Oe(f),ni(f),f.component,f,ne(h),oe(h)+X.length,Ke(f))}const Ze=function l(_){return _.children?_.children:_.loadChildren?_._loadedConfig.routes:[]}(f),{segmentGroup:Mt,slicedSegments:cn}=N(h,X,ge,Ze.filter(Pn=>void 0===Pn.redirectTo),this.relativeLinkResolution);if(0===cn.length&&Mt.hasChildren()){const Pn=this.processChildren(Ze,Mt);return null===Pn?null:[new tn(B,Pn)]}if(0===Ze.length&&0===cn.length)return[new tn(B,[])];const Bt=ni(f)===O,xn=this.processSegment(Ze,Mt,cn,Bt?D:O);return null===xn?null:[new tn(B,xn)]}}function v(_){const f=_.value.routeConfig;return f&&""===f.path&&void 0===f.redirectTo}function R(_){const f=[],h=new Set;for(const w of _){if(!v(w)){f.push(w);continue}const O=f.find(B=>w.value.routeConfig===B.value.routeConfig);void 0!==O?(O.children.push(...w.children),h.add(O)):f.push(w)}for(const w of h){const O=R(w.children);f.push(new tn(w.value,O))}return f.filter(w=>!h.has(w))}function ne(_){let f=_;for(;f._sourceSegment;)f=f._sourceSegment;return f}function oe(_){let f=_,h=f._segmentIndexShift?f._segmentIndexShift:0;for(;f._sourceSegment;)f=f._sourceSegment,h+=f._segmentIndexShift?f._segmentIndexShift:0;return h-1}function Oe(_){return _.data||{}}function Ke(_){return _.resolve||{}}function Vt(_){return[...Object.keys(_),...Object.getOwnPropertySymbols(_)]}function Mn(_){return(0,Jt.w)(f=>{const h=_(f);return h?(0,de.D)(h).pipe((0,mt.U)(()=>f)):(0,J.of)(f)})}class Ei extends class li{shouldDetach(f){return!1}store(f,h){}shouldAttach(f){return!1}retrieve(f){return null}shouldReuseRoute(f,h){return f.routeConfig===h.routeConfig}}{}const ii=new c.OlP("ROUTES");class Sr{constructor(f,h,w,O){this.injector=f,this.compiler=h,this.onLoadStartListener=w,this.onLoadEndListener=O}load(f,h){if(h._loader$)return h._loader$;this.onLoadStartListener&&this.onLoadStartListener(h);const O=this.loadModuleFactory(h.loadChildren).pipe((0,mt.U)(B=>{this.onLoadEndListener&&this.onLoadEndListener(h);const X=B.create(f);return new qi(nn(X.injector.get(ii,void 0,c.XFs.Self|c.XFs.Optional)).map(Xi),X)}),q(B=>{throw h._loader$=void 0,B}));return h._loader$=new se(O,()=>new Ye.x).pipe(ee()),h._loader$}loadModuleFactory(f){return vt(f()).pipe((0,Wt.z)(h=>h instanceof c.YKP?(0,J.of)(h):(0,de.D)(this.compiler.compileModuleAsync(h))))}}class Ai{shouldProcessUrl(f){return!0}extract(f){return f}merge(f,h){return f}}function Cr(_){throw _}function Un(_,f,h){return f.parse("/")}function _i(_,f){return(0,J.of)(null)}const Hn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},eo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ri=(()=>{class _{constructor(h,w,O,B,X,ge,Ze){this.rootComponentType=h,this.urlSerializer=w,this.rootContexts=O,this.location=B,this.config=Ze,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ye.x,this.errorHandler=Cr,this.malformedUriErrorHandler=Un,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:_i,afterPreactivation:_i},this.urlHandlingStrategy=new Ai,this.routeReuseStrategy=new Ei,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=X.get(c.h0i),this.console=X.get(c.c2e);const Bt=X.get(c.R0b);this.isNgZoneEnabled=Bt instanceof c.R0b&&c.R0b.isInAngularZone(),this.resetConfig(Ze),this.currentUrlTree=function Le(){return new Kt(new Dt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Sr(X,ge,xn=>this.triggerEvent(new Ht(xn)),xn=>this.triggerEvent(new bt(xn))),this.routerState=jt(this.currentUrlTree,this.rootComponentType),this.transitions=new le.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var h;return null===(h=this.location.getState())||void 0===h?void 0:h.\u0275routerPageId}setupNavigations(h){const w=this.events;return h.pipe((0,pe.h)(O=>0!==O.id),(0,mt.U)(O=>Object.assign(Object.assign({},O),{extractedUrl:this.urlHandlingStrategy.extract(O.rawUrl)})),(0,Jt.w)(O=>{let B=!1,X=!1;return(0,J.of)(O).pipe((0,Pt.b)(ge=>{this.currentNavigation={id:ge.id,initialUrl:ge.currentRawUrl,extractedUrl:ge.extractedUrl,trigger:ge.source,extras:ge.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Jt.w)(ge=>{const Ze=this.browserUrlTree.toString(),Mt=!this.navigated||ge.extractedUrl.toString()!==Ze||Ze!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Mt)&&this.urlHandlingStrategy.shouldProcessUrl(ge.rawUrl))return ho(ge.source)&&(this.browserUrlTree=ge.extractedUrl),(0,J.of)(ge).pipe((0,Jt.w)(Bt=>{const xn=this.transitions.getValue();return w.next(new on(Bt.id,this.serializeUrl(Bt.extractedUrl),Bt.source,Bt.restoredState)),xn!==this.transitions.getValue()?et.E:Promise.resolve(Bt)}),function ki(_,f,h,w){return(0,Jt.w)(O=>function Vn(_,f,h,w,O){return new wi(_,f,h,w,O).apply()}(_,f,h,O.extractedUrl,w).pipe((0,mt.U)(B=>Object.assign(Object.assign({},O),{urlAfterRedirects:B}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Pt.b)(Bt=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Bt.urlAfterRedirects})}),function gt(_,f,h,w,O){return(0,Wt.z)(B=>function m(_,f,h,w,O="emptyOnly",B="legacy"){try{const X=new d(_,f,h,w,O,B).recognize();return null===X?Ee(new k):(0,J.of)(X)}catch(X){return Ee(X)}}(_,f,B.urlAfterRedirects,h(B.urlAfterRedirects),w,O).pipe((0,mt.U)(X=>Object.assign(Object.assign({},B),{targetSnapshot:X}))))}(this.rootComponentType,this.config,Bt=>this.serializeUrl(Bt),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Pt.b)(Bt=>{if("eager"===this.urlUpdateStrategy){if(!Bt.extras.skipLocationChange){const Pn=this.urlHandlingStrategy.merge(Bt.urlAfterRedirects,Bt.rawUrl);this.setBrowserUrl(Pn,Bt)}this.browserUrlTree=Bt.urlAfterRedirects}const xn=new K(Bt.id,this.serializeUrl(Bt.extractedUrl),this.serializeUrl(Bt.urlAfterRedirects),Bt.targetSnapshot);w.next(xn)}));if(Mt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:xn,extractedUrl:Pn,source:po,restoredState:Ur,extras:mo}=ge,Ir=new on(xn,this.serializeUrl(Pn),po,Ur);w.next(Ir);const Dr=jt(Pn,this.rootComponentType).snapshot;return(0,J.of)(Object.assign(Object.assign({},ge),{targetSnapshot:Dr,urlAfterRedirects:Pn,extras:Object.assign(Object.assign({},mo),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=ge.rawUrl,ge.resolve(null),et.E}),Mn(ge=>{const{targetSnapshot:Ze,id:Mt,extractedUrl:cn,rawUrl:Bt,extras:{skipLocationChange:xn,replaceUrl:Pn}}=ge;return this.hooks.beforePreactivation(Ze,{navigationId:Mt,appliedUrlTree:cn,rawUrlTree:Bt,skipLocationChange:!!xn,replaceUrl:!!Pn})}),(0,Pt.b)(ge=>{const Ze=new He(ge.id,this.serializeUrl(ge.extractedUrl),this.serializeUrl(ge.urlAfterRedirects),ge.targetSnapshot);this.triggerEvent(Ze)}),(0,mt.U)(ge=>Object.assign(Object.assign({},ge),{guards:y(ge.targetSnapshot,ge.currentSnapshot,this.rootContexts)})),function ot(_,f){return(0,Wt.z)(h=>{const{targetSnapshot:w,currentSnapshot:O,guards:{canActivateChecks:B,canDeactivateChecks:X}}=h;return 0===X.length&&0===B.length?(0,J.of)(Object.assign(Object.assign({},h),{guardsResult:!0})):function sn(_,f,h,w){return(0,de.D)(_).pipe((0,Wt.z)(O=>function Xr(_,f,h,w,O){const B=f&&f.routeConfig?f.routeConfig.canDeactivate:null;if(!B||0===B.length)return(0,J.of)(!0);const X=B.map(ge=>{const Ze=We(ge,f,O);let Mt;if(function zi(_){return _&&mi(_.canDeactivate)}(Ze))Mt=vt(Ze.canDeactivate(_,f,h,w));else{if(!mi(Ze))throw new Error("Invalid CanDeactivate guard");Mt=vt(Ze(_,f,h,w))}return Mt.pipe(Fe())});return(0,J.of)(X).pipe(Qi())}(O.component,O.route,h,f,w)),Fe(O=>!0!==O,!0))}(X,w,O,_).pipe((0,Wt.z)(ge=>ge&&function yr(_){return"boolean"==typeof _}(ge)?function Jr(_,f,h,w){return(0,de.D)(f).pipe((0,Rt.b)(O=>(0,Be.z)(function bo(_,f){return null!==_&&f&&f(new Nt(_)),(0,J.of)(!0)}(O.route.parent,w),function Zn(_,f){return null!==_&&f&&f(new Pe(_)),(0,J.of)(!0)}(O.route,w),function Vi(_,f,h){const w=f[f.length-1],B=f.slice(0,f.length-1).reverse().map(X=>function U(_){const f=_.routeConfig?_.routeConfig.canActivateChild:null;return f&&0!==f.length?{node:_,guards:f}:null}(X)).filter(X=>null!==X).map(X=>(0,Z.P)(()=>{const ge=X.guards.map(Ze=>{const Mt=We(Ze,X.node,h);let cn;if(function Nr(_){return _&&mi(_.canActivateChild)}(Mt))cn=vt(Mt.canActivateChild(w,_));else{if(!mi(Mt))throw new Error("Invalid CanActivateChild guard");cn=vt(Mt(w,_))}return cn.pipe(Fe())});return(0,J.of)(ge).pipe(Qi())}));return(0,J.of)(B).pipe(Qi())}(_,O.path,h),function br(_,f,h){const w=f.routeConfig?f.routeConfig.canActivate:null;if(!w||0===w.length)return(0,J.of)(!0);const O=w.map(B=>(0,Z.P)(()=>{const X=We(B,f,h);let ge;if(function Mi(_){return _&&mi(_.canActivate)}(X))ge=vt(X.canActivate(f,_));else{if(!mi(X))throw new Error("Invalid CanActivate guard");ge=vt(X(f,_))}return ge.pipe(Fe())}));return(0,J.of)(O).pipe(Qi())}(_,O.route,h))),Fe(O=>!0!==O,!0))}(w,B,_,f):(0,J.of)(ge)),(0,mt.U)(ge=>Object.assign(Object.assign({},h),{guardsResult:ge})))})}(this.ngModule.injector,ge=>this.triggerEvent(ge)),(0,Pt.b)(ge=>{if(Di(ge.guardsResult)){const Mt=be(`Redirecting to "${this.serializeUrl(ge.guardsResult)}"`);throw Mt.url=ge.guardsResult,Mt}const Ze=new Ge(ge.id,this.serializeUrl(ge.extractedUrl),this.serializeUrl(ge.urlAfterRedirects),ge.targetSnapshot,!!ge.guardsResult);this.triggerEvent(Ze)}),(0,pe.h)(ge=>!!ge.guardsResult||(this.restoreHistory(ge),this.cancelNavigationTransition(ge,""),!1)),Mn(ge=>{if(ge.guards.canActivateChecks.length)return(0,J.of)(ge).pipe((0,Pt.b)(Ze=>{const Mt=new lt(Ze.id,this.serializeUrl(Ze.extractedUrl),this.serializeUrl(Ze.urlAfterRedirects),Ze.targetSnapshot);this.triggerEvent(Mt)}),(0,Jt.w)(Ze=>{let Mt=!1;return(0,J.of)(Ze).pipe(function It(_,f){return(0,Wt.z)(h=>{const{targetSnapshot:w,guards:{canActivateChecks:O}}=h;if(!O.length)return(0,J.of)(h);let B=0;return(0,de.D)(O).pipe((0,Rt.b)(X=>function Xt(_,f,h,w){return function ln(_,f,h,w){const O=Vt(_);if(0===O.length)return(0,J.of)({});const B={};return(0,de.D)(O).pipe((0,Wt.z)(X=>function rn(_,f,h,w){const O=We(_,f,w);return vt(O.resolve?O.resolve(f,h):O(f,h))}(_[X],f,h,w).pipe((0,Pt.b)(ge=>{B[X]=ge}))),Te(1),(0,Wt.z)(()=>Vt(B).length===O.length?(0,J.of)(B):et.E))}(_._resolve,_,f,w).pipe((0,mt.U)(B=>(_._resolvedData=B,_.data=Object.assign(Object.assign({},_.data),Si(_,h).resolve),null)))}(X.route,w,_,f)),(0,Pt.b)(()=>B++),Te(1),(0,Wt.z)(X=>B===O.length?(0,J.of)(h):et.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Pt.b)({next:()=>Mt=!0,complete:()=>{Mt||(this.restoreHistory(Ze),this.cancelNavigationTransition(Ze,"At least one route resolver didn't emit any value."))}}))}),(0,Pt.b)(Ze=>{const Mt=new St(Ze.id,this.serializeUrl(Ze.extractedUrl),this.serializeUrl(Ze.urlAfterRedirects),Ze.targetSnapshot);this.triggerEvent(Mt)}))}),Mn(ge=>{const{targetSnapshot:Ze,id:Mt,extractedUrl:cn,rawUrl:Bt,extras:{skipLocationChange:xn,replaceUrl:Pn}}=ge;return this.hooks.afterPreactivation(Ze,{navigationId:Mt,appliedUrlTree:cn,rawUrlTree:Bt,skipLocationChange:!!xn,replaceUrl:!!Pn})}),(0,mt.U)(ge=>{const Ze=function Tr(_,f,h){const w=Kn(_,f._root,h?h._root:void 0);return new pi(w,f)}(this.routeReuseStrategy,ge.targetSnapshot,ge.currentRouterState);return Object.assign(Object.assign({},ge),{targetRouterState:Ze})}),(0,Pt.b)(ge=>{this.currentUrlTree=ge.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ge.urlAfterRedirects,ge.rawUrl),this.routerState=ge.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ge.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ge),this.browserUrlTree=ge.urlAfterRedirects)}),((_,f,h)=>(0,mt.U)(w=>(new vr(f,w.targetRouterState,w.currentRouterState,h).activate(_),w)))(this.rootContexts,this.routeReuseStrategy,ge=>this.triggerEvent(ge)),(0,Pt.b)({next(){B=!0},complete(){B=!0}}),function Ct(_){return(0,Ce.e)((f,h)=>{try{f.subscribe(h)}finally{h.add(_)}})}(()=>{var ge;B||X||this.cancelNavigationTransition(O,`Navigation ID ${O.id} is not equal to the current navigation id ${this.navigationId}`),(null===(ge=this.currentNavigation)||void 0===ge?void 0:ge.id)===O.id&&(this.currentNavigation=null)}),q(ge=>{if(X=!0,function Ue(_){return _&&_[re]}(ge)){const Ze=Di(ge.url);Ze||(this.navigated=!0,this.restoreHistory(O,!0));const Mt=new je(O.id,this.serializeUrl(O.extractedUrl),ge.message);w.next(Mt),Ze?setTimeout(()=>{const cn=this.urlHandlingStrategy.merge(ge.url,this.rawUrlTree),Bt={skipLocationChange:O.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ho(O.source)};this.scheduleNavigation(cn,"imperative",null,Bt,{resolve:O.resolve,reject:O.reject,promise:O.promise})},0):O.resolve(!1)}else{this.restoreHistory(O,!0);const Ze=new Q(O.id,this.serializeUrl(O.extractedUrl),ge);w.next(Ze);try{O.resolve(this.errorHandler(ge))}catch(Mt){O.reject(Mt)}}return et.E}))}))}resetRootComponentType(h){this.rootComponentType=h,this.routerState.root.component=this.rootComponentType}setTransition(h){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),h))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(h=>{const w="popstate"===h.type?"popstate":"hashchange";"popstate"===w&&setTimeout(()=>{var O;const B={replaceUrl:!0},X=(null===(O=h.state)||void 0===O?void 0:O.navigationId)?h.state:null;if(X){const Ze=Object.assign({},X);delete Ze.navigationId,delete Ze.\u0275routerPageId,0!==Object.keys(Ze).length&&(B.state=Ze)}const ge=this.parseUrl(h.url);this.scheduleNavigation(ge,w,X,B)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(h){this.events.next(h)}resetConfig(h){cr(h),this.config=h.map(Xi),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(h,w={}){const{relativeTo:O,queryParams:B,fragment:X,queryParamsHandling:ge,preserveFragment:Ze}=w,Mt=O||this.routerState.root,cn=Ze?this.currentUrlTree.fragment:X;let Bt=null;switch(ge){case"merge":Bt=Object.assign(Object.assign({},this.currentUrlTree.queryParams),B);break;case"preserve":Bt=this.currentUrlTree.queryParams;break;default:Bt=B||null}return null!==Bt&&(Bt=this.removeEmptyProps(Bt)),function Zi(_,f,h,w,O){if(0===h.length)return Oi(f.root,f.root,f,w,O);const B=function fr(_){if("string"==typeof _[0]&&1===_.length&&"/"===_[0])return new rr(!0,0,_);let f=0,h=!1;const w=_.reduce((O,B,X)=>{if("object"==typeof B&&null!=B){if(B.outlets){const ge={};return dt(B.outlets,(Ze,Mt)=>{ge[Mt]="string"==typeof Ze?Ze.split("/"):Ze}),[...O,{outlets:ge}]}if(B.segmentPath)return[...O,B.segmentPath]}return"string"!=typeof B?[...O,B]:0===X?(B.split("/").forEach((ge,Ze)=>{0==Ze&&"."===ge||(0==Ze&&""===ge?h=!0:".."===ge?f++:""!=ge&&O.push(ge))}),O):[...O,B]},[]);return new rr(h,f,w)}(h);if(B.toRoot())return Oi(f.root,new Dt([],{}),f,w,O);const X=function kr(_,f,h){if(_.isAbsolute)return new pr(f.root,!0,0);if(-1===h.snapshot._lastPathIndex){const B=h.snapshot._urlSegment;return new pr(B,B===f.root,0)}const w=On(_.commands[0])?0:1;return function uo(_,f,h){let w=_,O=f,B=h;for(;B>O;){if(B-=O,w=w.parent,!w)throw new Error("Invalid number of '../'");O=w.segments.length}return new pr(w,!1,O-B)}(h.snapshot._urlSegment,h.snapshot._lastPathIndex+w,_.numberOfDoubleDots)}(B,f,_),ge=X.processChildren?gr(X.segmentGroup,X.index,B.commands):Fr(X.segmentGroup,X.index,B.commands);return Oi(X.segmentGroup,ge,f,w,O)}(Mt,this.currentUrlTree,h,Bt,null!=cn?cn:null)}navigateByUrl(h,w={skipLocationChange:!1}){const O=Di(h)?h:this.parseUrl(h),B=this.urlHandlingStrategy.merge(O,this.rawUrlTree);return this.scheduleNavigation(B,"imperative",null,w)}navigate(h,w={skipLocationChange:!1}){return function Mo(_){for(let f=0;f<_.length;f++){const h=_[f];if(null==h)throw new Error(`The requested path contains ${h} segment at index ${f}`)}}(h),this.navigateByUrl(this.createUrlTree(h,w),w)}serializeUrl(h){return this.urlSerializer.serialize(h)}parseUrl(h){let w;try{w=this.urlSerializer.parse(h)}catch(O){w=this.malformedUriErrorHandler(O,this.urlSerializer,h)}return w}isActive(h,w){let O;if(O=!0===w?Object.assign({},Hn):!1===w?Object.assign({},eo):w,Di(h))return j(this.currentUrlTree,h,O);const B=this.parseUrl(h);return j(this.currentUrlTree,B,O)}removeEmptyProps(h){return Object.keys(h).reduce((w,O)=>{const B=h[O];return null!=B&&(w[O]=B),w},{})}processNavigations(){this.navigations.subscribe(h=>{this.navigated=!0,this.lastSuccessfulId=h.id,this.currentPageId=h.targetPageId,this.events.next(new Xe(h.id,this.serializeUrl(h.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,h.resolve(!0)},h=>{this.console.warn(`Unhandled Navigation Error: ${h}`)})}scheduleNavigation(h,w,O,B,X){var ge,Ze,Mt;if(this.disposed)return Promise.resolve(!1);const cn=this.transitions.value,Bt=ho(w)&&cn&&!ho(cn.source),xn=cn.rawUrl.toString()===h.toString(),Pn=cn.id===(null===(ge=this.currentNavigation)||void 0===ge?void 0:ge.id);if(Bt&&xn&&Pn)return Promise.resolve(!0);let Ur,mo,Ir;X?(Ur=X.resolve,mo=X.reject,Ir=X.promise):Ir=new Promise((Ao,ea)=>{Ur=Ao,mo=ea});const Dr=++this.navigationId;let go;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(O=this.location.getState()),go=O&&O.\u0275routerPageId?O.\u0275routerPageId:B.replaceUrl||B.skipLocationChange?null!==(Ze=this.browserPageId)&&void 0!==Ze?Ze:0:(null!==(Mt=this.browserPageId)&&void 0!==Mt?Mt:0)+1):go=0,this.setTransition({id:Dr,targetPageId:go,source:w,restoredState:O,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:h,extras:B,resolve:Ur,reject:mo,promise:Ir,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ir.catch(Ao=>Promise.reject(Ao))}setBrowserUrl(h,w){const O=this.urlSerializer.serialize(h),B=Object.assign(Object.assign({},w.extras.state),this.generateNgRouterState(w.id,w.targetPageId));this.location.isCurrentPathEqualTo(O)||w.extras.replaceUrl?this.location.replaceState(O,"",B):this.location.go(O,"",B)}restoreHistory(h,w=!1){var O,B;if("computed"===this.canceledNavigationResolution){const X=this.currentPageId-h.targetPageId;"popstate"!==h.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(O=this.currentNavigation)||void 0===O?void 0:O.finalUrl)||0===X?this.currentUrlTree===(null===(B=this.currentNavigation)||void 0===B?void 0:B.finalUrl)&&0===X&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(X)}else"replace"===this.canceledNavigationResolution&&(w&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(h,w){const O=new je(h.id,this.serializeUrl(h.extractedUrl),w);this.triggerEvent(O),h.resolve(!1)}generateNgRouterState(h,w){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:w}:{navigationId:h}}}return _.\u0275fac=function(h){c.$Z()},_.\u0275prov=c.Yz7({token:_,factory:_.\u0275fac}),_})();function ho(_){return"imperative"!==_}let Tt=(()=>{class _{constructor(h,w,O,B,X){this.router=h,this.route=w,this.tabIndexAttribute=O,this.renderer=B,this.el=X,this.commands=null,this.onChanges=new Ye.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(h){if(null!=this.tabIndexAttribute)return;const w=this.renderer,O=this.el.nativeElement;null!==h?w.setAttribute(O,"tabindex",h):w.removeAttribute(O,"tabindex")}ngOnChanges(h){this.onChanges.next(this)}set routerLink(h){null!=h?(this.commands=Array.isArray(h)?h:[h],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const h={skipLocationChange:Lt(this.skipLocationChange),replaceUrl:Lt(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,h),!0}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:Lt(this.preserveFragment)})}}return _.\u0275fac=function(h){return new(h||_)(c.Y36(ri),c.Y36(Jn),c.$8M("tabindex"),c.Y36(c.Qsj),c.Y36(c.SBq))},_.\u0275dir=c.lG2({type:_,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(h,w){1&h&&c.NdJ("click",function(){return w.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[c.TTD]}),_})(),Ft=(()=>{class _{constructor(h,w,O){this.router=h,this.route=w,this.locationStrategy=O,this.commands=null,this.href=null,this.onChanges=new Ye.x,this.subscription=h.events.subscribe(B=>{B instanceof Xe&&this.updateTargetUrlAndHref()})}set routerLink(h){this.commands=null!=h?Array.isArray(h)?h:[h]:null}ngOnChanges(h){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(h,w,O,B,X){if(0!==h||w||O||B||X||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const ge={skipLocationChange:Lt(this.skipLocationChange),replaceUrl:Lt(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ge),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:Lt(this.preserveFragment)})}}return _.\u0275fac=function(h){return new(h||_)(c.Y36(ri),c.Y36(Jn),c.Y36(Ut.S$))},_.\u0275dir=c.lG2({type:_,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(h,w){1&h&&c.NdJ("click",function(B){return w.onClick(B.button,B.ctrlKey,B.shiftKey,B.altKey,B.metaKey)}),2&h&&c.uIk("target",w.target)("href",w.href,c.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[c.TTD]}),_})();function Lt(_){return""===_||!!_}class Hi{}class Er{preload(f,h){return(0,J.of)(null)}}let wn=(()=>{class _{constructor(h,w,O,B){this.router=h,this.injector=O,this.preloadingStrategy=B,this.loader=new Sr(O,w,Ze=>h.triggerEvent(new Ht(Ze)),Ze=>h.triggerEvent(new bt(Ze)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,pe.h)(h=>h instanceof Xe),(0,Rt.b)(()=>this.preload())).subscribe(()=>{})}preload(){const h=this.injector.get(c.h0i);return this.processRoutes(h,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,w){const O=[];for(const B of w)if(B.loadChildren&&!B.canLoad&&B._loadedConfig){const X=B._loadedConfig;O.push(this.processRoutes(X.module,X.routes))}else B.loadChildren&&!B.canLoad?O.push(this.preloadConfig(h,B)):B.children&&O.push(this.processRoutes(h,B.children));return(0,de.D)(O).pipe((0,mn.J)(),(0,mt.U)(B=>{}))}preloadConfig(h,w){return this.preloadingStrategy.preload(w,()=>(w._loadedConfig?(0,J.of)(w._loadedConfig):this.loader.load(h.injector,w)).pipe((0,Wt.z)(B=>(w._loadedConfig=B,this.processRoutes(B.module,B.routes)))))}}return _.\u0275fac=function(h){return new(h||_)(c.LFG(ri),c.LFG(c.Sil),c.LFG(c.zs3),c.LFG(Hi))},_.\u0275prov=c.Yz7({token:_,factory:_.\u0275fac}),_})(),Or=(()=>{class _{constructor(h,w,O={}){this.router=h,this.viewportScroller=w,this.options=O,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},O.scrollPositionRestoration=O.scrollPositionRestoration||"disabled",O.anchorScrolling=O.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(h=>{h instanceof on?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof Xe&&(this.lastId=h.id,this.scheduleScrollEvent(h,this.router.parseUrl(h.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(h=>{h instanceof S&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(h,w){this.router.triggerEvent(new S(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,w))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return _.\u0275fac=function(h){c.$Z()},_.\u0275prov=c.Yz7({token:_,factory:_.\u0275fac}),_})();const Qn=new c.OlP("ROUTER_CONFIGURATION"),$i=new c.OlP("ROUTER_FORROOT_GUARD"),dr=[Ut.Ye,{provide:Ie,useClass:rt},{provide:ri,useFactory:function _s(_,f,h,w,O,B,X={},ge,Ze){const Mt=new ri(null,_,f,h,w,O,nn(B));return ge&&(Mt.urlHandlingStrategy=ge),Ze&&(Mt.routeReuseStrategy=Ze),function ko(_,f){_.errorHandler&&(f.errorHandler=_.errorHandler),_.malformedUriErrorHandler&&(f.malformedUriErrorHandler=_.malformedUriErrorHandler),_.onSameUrlNavigation&&(f.onSameUrlNavigation=_.onSameUrlNavigation),_.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=_.paramsInheritanceStrategy),_.relativeLinkResolution&&(f.relativeLinkResolution=_.relativeLinkResolution),_.urlUpdateStrategy&&(f.urlUpdateStrategy=_.urlUpdateStrategy),_.canceledNavigationResolution&&(f.canceledNavigationResolution=_.canceledNavigationResolution)}(X,Mt),X.enableTracing&&Mt.events.subscribe(cn=>{var Bt,xn;null===(Bt=console.group)||void 0===Bt||Bt.call(console,`Router Event: ${cn.constructor.name}`),console.log(cn.toString()),console.log(cn),null===(xn=console.groupEnd)||void 0===xn||xn.call(console)}),Mt},deps:[Ie,Ii,Ut.Ye,c.zs3,c.Sil,ii,Qn,[class Ui{},new c.FiY],[class $n{},new c.FiY]]},Ii,{provide:Jn,useFactory:function Xs(_){return _.routerState.root},deps:[ri]},wn,Er,class Li{preload(f,h){return h().pipe(q(()=>(0,J.of)(null)))}},{provide:Qn,useValue:{enableTracing:!1}}];function Vr(){return new c.PXZ("Router",ri)}let wo=(()=>{class _{constructor(h,w){}static forRoot(h,w){return{ngModule:_,providers:[dr,gs(h),{provide:$i,useFactory:Ro,deps:[[ri,new c.FiY,new c.tp0]]},{provide:Qn,useValue:w||{}},{provide:Ut.S$,useFactory:fu,deps:[Ut.lw,[new c.tBr(Ut.mr),new c.FiY],Qn]},{provide:Or,useFactory:hu,deps:[ri,Ut.EM,Qn]},{provide:Hi,useExisting:w&&w.preloadingStrategy?w.preloadingStrategy:Er},{provide:c.PXZ,multi:!0,useFactory:Vr},[Fo,{provide:c.ip1,multi:!0,useFactory:Co,deps:[Fo]},{provide:fo,useFactory:za,deps:[Fo]},{provide:c.tb,multi:!0,useExisting:fo}]]}}static forChild(h){return{ngModule:_,providers:[gs(h)]}}}return _.\u0275fac=function(h){return new(h||_)(c.LFG($i,8),c.LFG(ri,8))},_.\u0275mod=c.oAB({type:_}),_.\u0275inj=c.cJS({}),_})();function hu(_,f,h){return h.scrollOffset&&f.setOffset(h.scrollOffset),new Or(_,f,h)}function fu(_,f,h={}){return h.useHash?new Ut.Do(_,f):new Ut.b0(_,f)}function Ro(_){return"guarded"}function gs(_){return[{provide:c.deG,multi:!0,useValue:_},{provide:ii,multi:!0,useValue:_}]}let Fo=(()=>{class _{constructor(h){this.injector=h,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ye.x}appInitializer(){return this.injector.get(Ut.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let w=null;const O=new Promise(ge=>w=ge),B=this.injector.get(ri),X=this.injector.get(Qn);return"disabled"===X.initialNavigation?(B.setUpLocationChangeListener(),w(!0)):"enabled"===X.initialNavigation||"enabledBlocking"===X.initialNavigation?(B.hooks.afterPreactivation=()=>this.initNavigation?(0,J.of)(null):(this.initNavigation=!0,w(!0),this.resultOfPreactivationDone),B.initialNavigation()):w(!0),O})}bootstrapListener(h){const w=this.injector.get(Qn),O=this.injector.get(wn),B=this.injector.get(Or),X=this.injector.get(ri),ge=this.injector.get(c.z2F);h===ge.components[0]&&(("enabledNonBlocking"===w.initialNavigation||void 0===w.initialNavigation)&&X.initialNavigation(),O.setUpPreloading(),B.init(),X.resetRootComponentType(ge.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return _.\u0275fac=function(h){return new(h||_)(c.LFG(c.zs3))},_.\u0275prov=c.Yz7({token:_,factory:_.\u0275fac}),_})();function Co(_){return _.appInitializer.bind(_)}function za(_){return _.bootstrapListener.bind(_)}const fo=new c.OlP("Router Initializer")}},qe=>{qe(qe.s=5664)}]); \ No newline at end of file diff --git a/server/src/uds/static/modern/polyfills-es2015.js b/server/src/uds/static/modern/polyfills-es2015.js deleted file mode 100644 index f95186bf..00000000 --- a/server/src/uds/static/modern/polyfills-es2015.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkuds=self.webpackChunkuds||[]).push([[429],{7277:function(){"use strict";!function(t){const e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");const o=t.__Zone_symbol_prefix||"__zone_symbol__";function i(t){return o+t}const a=!0===t[i("forceDuplicateZoneCheck")];if(t.Zone){if(a||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}let s=(()=>{class e{constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==D.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=e.current;for(;t.parent;)t=t.parent;return t}static get current(){return N.zone}static get currentTask(){return C}static __load_patch(o,i,s=!1){if(D.hasOwnProperty(o)){if(!s&&a)throw Error("Already loaded patch: "+o)}else if(!t["__Zone_disable_"+o]){const a="Zone:"+o;n(a),D[o]=i(t,e,R),r(a,a)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}run(t,e,n,r){N={parent:N,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{N=N.parent}}runGuarded(t,e=null,n,r){N={parent:N,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{N=N.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||_).name+"; Execution: "+this.name+")");if(t.state===b&&(t.type===O||t.type===P))return;const r=t.state!=w;r&&t._transitionTo(w,k),t.runCount++;const o=C;C=t,N={parent:N,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==b&&t.state!==E&&(t.type==O||t.data&&t.data.isPeriodic?r&&t._transitionTo(k,w):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(b,w,b))),N=N.parent,C=o}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(T,b);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(n){throw t._transitionTo(E,T,b),this._zoneDelegate.handleError(this,n),n}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==T&&t._transitionTo(k,T),t}scheduleMicroTask(t,e,n,r){return this.scheduleTask(new l(S,t,e,n,r,void 0))}scheduleMacroTask(t,e,n,r,o){return this.scheduleTask(new l(P,t,e,n,r,o))}scheduleEventTask(t,e,n,r,o){return this.scheduleTask(new l(O,t,e,n,r,o))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||_).name+"; Execution: "+this.name+")");t._transitionTo(x,k,w);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(E,x),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(b,x),t.runCount=0,t}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let r=0;rt.hasTask(n,r),onScheduleTask:(t,e,n,r)=>t.scheduleTask(n,r),onInvokeTask:(t,e,n,r,o,i)=>t.invokeTask(n,r,o,i),onCancelTask:(t,e,n,r)=>t.cancelTask(n,r)};class u{constructor(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:c,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new s(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=S)throw new Error("Task is missing scheduleFn.");v(e)}return n}invokeTask(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}_updateTaskCount(t,e){const n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class l{constructor(e,n,r,o,i,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=n,this.data=o,this.scheduleFn=i,this.cancelFn=a,!r)throw new Error("callback is not defined");this.callback=r;const s=this;this.invoke=e===O&&o&&o.useG?l.invokeTask:function(){return l.invokeTask.call(t,s,this,arguments)}}static invokeTask(t,e,n){t||(t=this),j++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==j&&y(),j--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,T)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==b&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?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 f=i("setTimeout"),h=i("Promise"),p=i("then");let d,m=[],g=!1;function v(e){if(0===j&&0===m.length)if(d||t[h]&&(d=t[h].resolve(0)),d){let t=d[p];t||(t=d.then),t.call(d,y)}else t[f](y,0);e&&m.push(e)}function y(){if(!g){for(g=!0;m.length;){const e=m;m=[];for(let n=0;nN,onUnhandledError:M,microtaskDrainDone:M,scheduleMicroTask:v,showUncaughtError:()=>!s[i("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:M,patchMethod:()=>M,bindArguments:()=>[],patchThen:()=>M,patchMacroTask:()=>M,patchEventPrototype:()=>M,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>M,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>M,wrapWithCurrentZone:()=>M,filterProperties:()=>[],attachOriginToPatched:()=>M,_redefineProperty:()=>M,patchCallbacks:()=>M};let N={parent:null,zone:new s(null,null)},C=null,j=0;function M(){}r("Zone","Zone"),t.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const t=Object.getOwnPropertyDescriptor,e=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,o=Array.prototype.slice,i="addEventListener",a="removeEventListener",s=Zone.__symbol__(i),c=Zone.__symbol__(a),u="true",l="false",f=Zone.__symbol__("");function h(t,e){return Zone.current.wrap(t,e)}function p(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}const d=Zone.__symbol__,m="undefined"!=typeof window,g=m?window:void 0,v=m&&g||"object"==typeof self&&self||global,y=[null];function _(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=h(t[n],e+"_"+n));return t}function b(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}const T="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,k=!("nw"in v)&&void 0!==v.process&&"[object process]"==={}.toString.call(v.process),w=!k&&!T&&!(!m||!g.HTMLElement),x=void 0!==v.process&&"[object process]"==={}.toString.call(v.process)&&!T&&!(!m||!g.HTMLElement),E={},S=function(t){if(!(t=t||v.event))return;let e=E[t.type];e||(e=E[t.type]=d("ON_PROPERTY"+t.type));const n=this||t.target||v,r=n[e];let o;if(w&&n===g&&"error"===t.type){const e=t;o=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===o&&t.preventDefault()}else o=r&&r.apply(this,arguments),null!=o&&!o&&t.preventDefault();return o};function P(n,r,o){let i=t(n,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const a=d("on"+r+"patched");if(n.hasOwnProperty(a)&&n[a])return;delete i.writable,delete i.value;const s=i.get,c=i.set,u=r.substr(2);let l=E[u];l||(l=E[u]=d("ON_PROPERTY"+u)),i.set=function(t){let e=this;!e&&n===v&&(e=v),e&&(e[l]&&e.removeEventListener(u,S),c&&c.apply(e,y),"function"==typeof t?(e[l]=t,e.addEventListener(u,S,!1)):e[l]=null)},i.get=function(){let t=this;if(!t&&n===v&&(t=v),!t)return null;const e=t[l];if(e)return e;if(s){let e=s&&s.call(this);if(e)return i.set.call(this,e),"function"==typeof t.removeAttribute&&t.removeAttribute(r),e}return null},e(n,r,i),n[a]=!0}function O(t,e,n){if(e)for(let r=0;rfunction(e,r){const i=n(e,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?p(i.name,r[i.cbIdx],i,o):t.apply(e,r)})}function j(t,e){t[d("OriginalDelegate")]=e}let M=!1,A=!1;function Z(){if(M)return A;M=!0;try{const t=g.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(A=!0)}catch(t){}return A}Zone.__load_patch("ZoneAwarePromise",(t,e,n)=>{const r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,a=[],s=!0===t[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=i("Promise"),u=i("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;a.length;){const e=a.shift();try{e.zone.runGuarded(()=>{throw e.throwOriginal?e.rejection:e})}catch(t){f(t)}}};const l=i("unhandledPromiseRejectionHandler");function f(t){n.onUnhandledError(t);try{const n=e[l];"function"==typeof n&&n.call(this,t)}catch(r){}}function h(t){return t&&t.then}function p(t){return t}function d(t){return D.reject(t)}const m=i("state"),g=i("value"),v=i("finally"),y=i("parentPromiseValue"),_=i("parentPromiseState"),b=null,T=!1;function k(t,e){return n=>{try{x(t,e,n)}catch(r){x(t,!1,r)}}}const w=i("currentTaskTrace");function x(t,r,i){const c=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}}();if(t===i)throw new TypeError("Promise resolved with itself");if(t[m]===b){let f=null;try{("object"==typeof i||"function"==typeof i)&&(f=i&&i.then)}catch(u){return c(()=>{x(t,!1,u)})(),t}if(r!==T&&i instanceof D&&i.hasOwnProperty(m)&&i.hasOwnProperty(g)&&i[m]!==b)S(i),x(t,i[m],i[g]);else if(r!==T&&"function"==typeof f)try{f.call(i,c(k(t,r)),c(k(t,!1)))}catch(u){c(()=>{x(t,!1,u)})()}else{t[m]=r;const c=t[g];if(t[g]=i,t[v]===v&&!0===r&&(t[m]=t[_],t[g]=t[y]),r===T&&i instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&o(i,w,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e{try{const r=t[g],o=!!n&&v===n[v];o&&(n[y]=r,n[_]=i);const s=e.run(a,void 0,o&&a!==d&&a!==p?[]:[r]);x(n,!0,s)}catch(r){x(n,!1,r)}},n)}const O=function(){};class D{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return x(new this(null),!0,t)}static reject(t){return x(new this(null),T,t)}static race(t){let e,n,r=new this((t,r)=>{e=t,n=r});function o(t){e(t)}function i(t){n(t)}for(let a of t)h(a)||(a=this.resolve(a)),a.then(o,i);return r}static all(t){return D.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof D?this:D).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,r,o=new this((t,e)=>{n=t,r=e}),i=2,a=0;const s=[];for(let u of t){h(u)||(u=this.resolve(u));const t=a;try{u.then(r=>{s[t]=e?e.thenCallback(r):r,i--,0===i&&n(s)},o=>{e?(s[t]=e.errorCallback(o),i--,0===i&&n(s)):r(o)})}catch(c){r(c)}i++,a++}return i-=2,0===i&&n(s),o}constructor(t){const e=this;if(!(e instanceof D))throw new Error("Must be an instanceof Promise.");e[m]=b,e[g]=[];try{t&&t(k(e,!0),k(e,T))}catch(n){x(e,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return D}then(t,n){let r=this.constructor[Symbol.species];(!r||"function"!=typeof r)&&(r=this.constructor||D);const o=new r(O),i=e.current;return this[m]==b?this[g].push(i,o,t,n):P(this,i,o,t,n),o}catch(t){return this.then(null,t)}finally(t){let n=this.constructor[Symbol.species];(!n||"function"!=typeof n)&&(n=D);const r=new n(O);r[v]=v;const o=e.current;return this[m]==b?this[g].push(o,r,t,t):P(this,o,r,t,t),r}}D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;const R=t[c]=t.Promise;t.Promise=D;const C=i("thenPatched");function j(t){const e=t.prototype,n=r(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const o=e.then;e[u]=o,t.prototype.then=function(t,e){return new D((t,e)=>{o.call(this,t,e)}).then(t,e)},t[C]=!0}return n.patchThen=j,R&&(j(R),N(t,"fetch",t=>function(t){return function(e,n){let r=t.apply(e,n);if(r instanceof D)return r;let o=r.constructor;return o[C]||j(o),r}}(t))),Promise[e.__symbol__("uncaughtPromiseErrors")]=a,D}),Zone.__load_patch("toString",t=>{const e=Function.prototype.toString,n=d("OriginalDelegate"),r=d("Promise"),o=d("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=t[r];if(n)return e.call(n)}if(this===Error){const n=t[o];if(n)return e.call(n)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;const a=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":a.call(this)}});let z=!1;if("undefined"!=typeof window)try{const t=Object.defineProperty({},"passive",{get:function(){z=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(ct){z=!1}const I={useG:!0},L={},F={},H=new RegExp("^"+f+"(\\w+)(true|false)$"),W=d("propagationStopped");function B(t,e){const n=(e?e(t):t)+l,r=(e?e(t):t)+u,o=f+n,i=f+r;L[t]={},L[t][l]=o,L[t][u]=i}function q(t,e,r){const o=r&&r.add||i,s=r&&r.rm||a,c=r&&r.listeners||"eventListeners",h=r&&r.rmAll||"removeAllListeners",p=d(o),m="."+o+":",g=function(t,e,n){if(t.isRemoved)return;const r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=t=>r.handleEvent(t),t.originalDelegate=r),t.invoke(t,e,[n]);const o=t.options;o&&"object"==typeof o&&o.once&&e[s].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)},v=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,r=n[L[e.type][l]];if(r)if(1===r.length)g(r[0],n,e);else{const t=r.slice();for(let r=0;rfunction(e,n){e[W]=!0,t&&t.apply(e,n)})}function V(t,e,n,r,o){const i=Zone.__symbol__(r);if(e[i])return;const a=e[i]=e[r];e[r]=function(i,s,c){return s&&s.prototype&&o.forEach(function(e){const o=`${n}.${r}::`+e,i=s.prototype;if(i.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(i,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,o),t._redefineProperty(s.prototype,e,n)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}),a.call(e,i,s,c)},t.attachOriginToPatched(e[r],a)}const $=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],K=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],X=["load"],Y=["blur","error","focus","load","resize","scroll","messageerror"],J=["bounce","finish","start"],Q=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],tt=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],et=["close","error","open","message"],nt=["error","message"],rt=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],$,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(t,e,n){if(!n||0===n.length)return e;const r=n.filter(e=>e.target===t);if(!r||0===r.length)return e;const o=r[0].ignoreProperties;return e.filter(t=>-1===o.indexOf(t))}function it(t,e,n,r){t&&O(t,ot(t,e,n),r)}Zone.__load_patch("util",(n,s,c)=>{c.patchOnProperties=O,c.patchMethod=N,c.bindArguments=_,c.patchMacroTask=C;const p=s.__symbol__("BLACK_LISTED_EVENTS"),d=s.__symbol__("UNPATCHED_EVENTS");n[d]&&(n[p]=n[d]),n[p]&&(s[p]=s[d]=n[p]),c.patchEventPrototype=G,c.patchEventTarget=q,c.isIEOrEdge=Z,c.ObjectDefineProperty=e,c.ObjectGetOwnPropertyDescriptor=t,c.ObjectCreate=r,c.ArraySlice=o,c.patchClass=R,c.wrapWithCurrentZone=h,c.filterProperties=ot,c.attachOriginToPatched=j,c._redefineProperty=Object.defineProperty,c.patchCallbacks=V,c.getGlobalObjects=()=>({globalSources:F,zoneSymbolEventNames:L,eventNames:rt,isBrowser:w,isMix:x,isNode:k,TRUE_STR:u,FALSE_STR:l,ZONE_SYMBOL_PREFIX:f,ADD_EVENT_LISTENER_STR:i,REMOVE_EVENT_LISTENER_STR:a})});const at=d("zoneTask");function st(t,e,n,r){let o=null,i=null;n+=r;const a={};function s(e){const n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=o.apply(t,n.args),e}function c(e){return i.call(t,e.data.handleId)}o=N(t,e+=r,n=>function(o,i){if("function"==typeof i[0]){const t={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},n=i[0];i[0]=function(){try{return n.apply(this,arguments)}finally{t.isPeriodic||("number"==typeof t.handleId?delete a[t.handleId]:t.handleId&&(t.handleId[at]=null))}};const o=p(e,i[0],t,s,c);if(!o)return o;const u=o.data.handleId;return"number"==typeof u?a[u]=o:u&&(u[at]=o),u&&u.ref&&u.unref&&"function"==typeof u.ref&&"function"==typeof u.unref&&(o.ref=u.ref.bind(u),o.unref=u.unref.bind(u)),"number"==typeof u||u?u:o}return n.apply(t,i)}),i=N(t,n,e=>function(n,r){const o=r[0];let i;"number"==typeof o?i=a[o]:(i=o&&o[at],i||(i=o)),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof o?delete a[o]:o&&(o[at]=null),i.zone.cancelTask(i)):e.apply(t,r)})}Zone.__load_patch("legacy",t=>{const e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("queueMicrotask",(t,e,n)=>{n.patchMethod(t,"queueMicrotask",t=>function(t,n){e.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",t=>{const e="set",n="clear";st(t,e,n,"Timeout"),st(t,e,n,"Interval"),st(t,e,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{st(t,"request","cancel","AnimationFrame"),st(t,"mozRequest","mozCancel","AnimationFrame"),st(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let r=0;rfunction(r,i){return e.current.run(n,t,i,o)})}),Zone.__load_patch("EventTarget",(t,e,n)=>{(function(t,e){e.patchEventPrototype(t,e)})(t,n),function(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:o,FALSE_STR:i,ZONE_SYMBOL_PREFIX:a}=e.getGlobalObjects();for(let c=0;c{R("MutationObserver"),R("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(t,e,n)=>{R("IntersectionObserver")}),Zone.__load_patch("FileReader",(t,e,n)=>{R("FileReader")}),Zone.__load_patch("on_property",(t,e,r)=>{!function(t,e){if(k&&!x||Zone[t.symbol("patchEvents")])return;const r="undefined"!=typeof WebSocket,o=e.__Zone_ignore_on_properties;if(w){const e=window,r=function(){try{const t=g.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(t){}return!1}()?[{target:e,ignoreProperties:["error"]}]:[];it(e,rt.concat(["messageerror"]),o&&o.concat(r),n(e)),it(Document.prototype,rt,o),void 0!==e.SVGElement&&it(e.SVGElement.prototype,rt,o),it(Element.prototype,rt,o),it(HTMLElement.prototype,rt,o),it(HTMLMediaElement.prototype,K,o),it(HTMLFrameSetElement.prototype,$.concat(Y),o),it(HTMLBodyElement.prototype,$.concat(Y),o),it(HTMLFrameElement.prototype,X,o),it(HTMLIFrameElement.prototype,X,o);const i=e.HTMLMarqueeElement;i&&it(i.prototype,J,o);const a=e.Worker;a&&it(a.prototype,nt,o)}const i=e.XMLHttpRequest;i&&it(i.prototype,Q,o);const a=e.XMLHttpRequestEventTarget;a&&it(a&&a.prototype,Q,o),"undefined"!=typeof IDBIndex&&(it(IDBIndex.prototype,tt,o),it(IDBRequest.prototype,tt,o),it(IDBOpenDBRequest.prototype,tt,o),it(IDBDatabase.prototype,tt,o),it(IDBTransaction.prototype,tt,o),it(IDBCursor.prototype,tt,o)),r&&it(WebSocket.prototype,et,o)}(r,t)}),Zone.__load_patch("customElements",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:r}=e.getGlobalObjects();(n||r)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",(t,e)=>{!function(t){const l=t.XMLHttpRequest;if(!l)return;const f=l.prototype;let h=f[s],m=f[c];if(!h){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;h=t[s],m=t[c]}}const g="readystatechange",v="scheduled";function y(t){const r=t.data,a=r.target;a[i]=!1,a[u]=!1;const l=a[o];h||(h=a[s],m=a[c]),l&&m.call(a,g,l);const f=a[o]=()=>{if(a.readyState===a.DONE)if(!r.aborted&&a[i]&&t.state===v){const n=a[e.__symbol__("loadfalse")];if(0!==a.status&&n&&n.length>0){const o=t.invoke;t.invoke=function(){const n=a[e.__symbol__("loadfalse")];for(let e=0;efunction(t,e){return t[r]=0==e[2],t[a]=e[1],T.apply(t,e)}),k=d("fetchTaskAborting"),w=d("fetchTaskScheduling"),x=N(f,"send",()=>function(t,n){if(!0===e.current[w]||t[r])return x.apply(t,n);{const e={target:t,url:t[a],isPeriodic:!1,args:n,aborted:!1},r=p("XMLHttpRequest.send",_,e,y,b);t&&!0===t[u]&&!e.aborted&&r.state===v&&r.invoke()}}),E=N(f,"abort",()=>function(t,r){const o=function(t){return t[n]}(t);if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[k])return E.apply(t,r)})}(t);const n=d("xhrTask"),r=d("xhrSync"),o=d("xhrListener"),i=d("xhrScheduled"),a=d("xhrURL"),u=d("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,n){const r=e.constructor.name;for(let o=0;o{const e=function(){return t.apply(this,_(arguments,r+"."+i))};return j(e,t),e})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){U(t,e).forEach(r=>{const o=t.PromiseRejectionEvent;if(o){const t=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(t)}})}}t.PromiseRejectionEvent&&(e[d("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[d("rejectionHandledHandler")]=n("rejectionhandled"))})},7435:function(t,e,n){"use strict";n(333),n(6799),n(7277)},333:function(t,e,n){n(5704),n(8115),n(7821),n(3138),n(2786),n(2633),n(6718),n(6989),n(1170),n(9062),n(4101),n(8905),n(9421),n(408),n(4144);var r=n(6950);t.exports=r.Reflect},7625:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},8634:function(t,e,n){var r=n(726);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1099:function(t,e,n){var r=n(726);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},452:function(t,e,n){var r=n(8643),o=n(5902),i=n(5996),a=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},6644:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},9420:function(t,e,n){var r=n(2900),o=n(6644),i=n(4563)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},9:function(t,e,n){var r=n(7791),o=n(9376),i=n(3099),a=n(2975);t.exports=function(t,e){for(var n=o(e),s=a.f,c=i.f,u=0;u=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},1001:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1163:function(t,e,n){var r=n(1864),o=n(3099).f,i=n(815),a=n(7763),s=n(2341),c=n(9),u=n(7215);t.exports=function(t,e){var n,l,f,h,p,d=t.target,m=t.global,g=t.stat;if(n=m?r:g?r[d]||s(d,{}):(r[d]||{}).prototype)for(l in e){if(h=e[l],f=t.noTargetGet?(p=o(n,l))&&p.value:n[l],!u(m?l:d+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof h==typeof f)continue;c(h,f)}(t.sham||f&&f.sham)&&i(h,"sham",!0),a(n,l,h,t)}}},8597:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},9352:function(t,e,n){var r=n(8597);t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},2702:function(t,e,n){"use strict";var r=n(7625),o=n(726),i=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o"+t+""},g=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}v="undefined"!=typeof document?document.domain&&r?g(r):function(){var t,e=u("iframe");return e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F}():g(r);for(var t=a.length;t--;)delete v[f][a[t]];return v()};s[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d[f]=o(t),n=new d,d[f]=null,n[p]=t):n=v(),void 0===e?n:i(n,e)}},988:function(t,e,n){var r=n(7012),o=n(2975),i=n(1099),a=n(8032);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),s=r.length,c=0;s>c;)o.f(t,n=r[c++],e[n]);return t}},2975:function(t,e,n){var r=n(7012),o=n(7091),i=n(1099),a=n(6582),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=a(e),i(n),o)try{return s(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},3099:function(t,e,n){var r=n(7012),o=n(5600),i=n(3203),a=n(8643),s=n(6582),c=n(7791),u=n(7091),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e),u)try{return l(t,e)}catch(n){}if(c(t,e))return i(!o.f.call(t,e),t[e])}},4564:function(t,e,n){var r=n(7759),o=n(1001).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},7593:function(t,e){e.f=Object.getOwnPropertySymbols},3963:function(t,e,n){var r=n(7791),o=n(6174),i=n(2650),a=n(1335),s=i("IE_PROTO"),c=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},7759:function(t,e,n){var r=n(7791),o=n(8643),i=n(452).indexOf,a=n(3536);t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},8032:function(t,e,n){var r=n(7759),o=n(1001);t.exports=Object.keys||function(t){return r(t,o)}},5600:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},1464:function(t,e,n){var r=n(1099),o=n(8634);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},3119:function(t,e,n){"use strict";var r=n(2900),o=n(9420);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},8297:function(t,e,n){var r=n(726);t.exports=function(t,e){var n,o;if("string"===e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t))||"function"==typeof(n=t.valueOf)&&!r(o=n.call(t))||"string"!==e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},9376:function(t,e,n){var r=n(3626),o=n(4564),i=n(7593),a=n(1099);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},6950:function(t,e,n){var r=n(1864);t.exports=r},7763:function(t,e,n){var r=n(1864),o=n(815),i=n(7791),a=n(2341),s=n(7720),c=n(2493),u=c.get,l=c.enforce,f=String(String).split("String");(t.exports=function(t,e,n,s){var c,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"==typeof e&&!i(n,"name")&&o(n,"name",e),(c=l(n)).source||(c.source=f.join("string"==typeof e?e:""))),t!==r?(u?!p&&t[e]&&(h=!0):delete t[e],h?t[e]=n:o(t,e,n)):h?t[e]=n:a(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&u(this).source||s(this)})},5025:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},2341:function(t,e,n){var r=n(1864);t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},8242:function(t,e,n){var r=n(2975).f,o=n(7791),i=n(4563)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},2650:function(t,e,n){var r=n(7719),o=n(4295),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},9941:function(t,e,n){var r=n(1864),o=n(2341),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},7719:function(t,e,n){var r=n(7515),o=n(9941);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:r?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},5996:function(t,e,n){var r=n(9463),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},8643:function(t,e,n){var r=n(6169),o=n(5025);t.exports=function(t){return r(o(t))}},9463:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},5902:function(t,e,n){var r=n(9463),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},6174:function(t,e,n){var r=n(5025);t.exports=function(t){return Object(r(t))}},8495:function(t,e,n){var r=n(726),o=n(6186),i=n(8297),a=n(4563)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,s=t[a];if(void 0!==s){if(void 0===e&&(e="default"),n=s.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},6582:function(t,e,n){var r=n(8495),o=n(6186);t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},2900:function(t,e,n){var r={};r[n(4563)("toStringTag")]="z",t.exports="[object z]"===String(r)},4295:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},4431:function(t,e,n){var r=n(7040);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4563:function(t,e,n){var r=n(1864),o=n(7719),i=n(7791),a=n(4295),s=n(7040),c=n(4431),u=o("wks"),l=r.Symbol,f=c?l:l&&l.withoutSetter||a;t.exports=function(t){return(!i(u,t)||!(s||"string"==typeof u[t]))&&(u[t]=s&&i(l,t)?l[t]:f("Symbol."+t)),u[t]}},5704:function(t,e,n){var r=n(2900),o=n(7763),i=n(3119);r||o(Object.prototype,"toString",i,{unsafe:!0})},8115:function(t,e,n){var r=n(1163),o=n(3626),i=n(7625),a=n(1099),s=n(8597),c=o("Reflect","apply"),u=Function.apply;r({target:"Reflect",stat:!0,forced:!s(function(){c(function(){})})},{apply:function(t,e,n){return i(t),a(n),c?c(t,e,n):u.call(t,e,n)}})},7821:function(t,e,n){var r=n(1163),o=n(3626),i=n(7625),a=n(1099),s=n(726),c=n(8724),u=n(2702),l=n(8597),f=o("Reflect","construct"),h=l(function(){function t(){}return!(f(function(){},[],t)instanceof t)}),p=!l(function(){f(function(){})}),d=h||p;r({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(p&&!h)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var o=n.prototype,l=c(s(o)?o:Object.prototype),d=Function.apply.call(t,l,e);return s(d)?d:l}})},3138:function(t,e,n){var r=n(1163),o=n(7012),i=n(1099),a=n(6582),s=n(2975);r({target:"Reflect",stat:!0,forced:n(8597)(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})}),sham:!o},{defineProperty:function(t,e,n){i(t);var r=a(e);i(n);try{return s.f(t,r,n),!0}catch(o){return!1}}})},2786:function(t,e,n){var r=n(1163),o=n(1099),i=n(3099).f;r({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},6718:function(t,e,n){var r=n(1163),o=n(7012),i=n(1099),a=n(3099);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(t,e){return a.f(i(t),e)}})},6989:function(t,e,n){var r=n(1163),o=n(1099),i=n(3963);r({target:"Reflect",stat:!0,sham:!n(1335)},{getPrototypeOf:function(t){return i(o(t))}})},2633:function(t,e,n){var r=n(1163),o=n(726),i=n(1099),a=n(7463),s=n(3099),c=n(3963);r({target:"Reflect",stat:!0},{get:function t(e,n){var r,u,l=arguments.length<3?e:arguments[2];return i(e)===l?e[n]:(r=s.f(e,n))?a(r)?r.value:void 0===r.get?void 0:r.get.call(l):o(u=c(e))?t(u,n,l):void 0}})},1170:function(t,e,n){n(1163)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},9062:function(t,e,n){var r=n(1163),o=n(1099),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(t){return o(t),!i||i(t)}})},4101:function(t,e,n){n(1163)({target:"Reflect",stat:!0},{ownKeys:n(9376)})},8905:function(t,e,n){var r=n(1163),o=n(3626),i=n(1099);r({target:"Reflect",stat:!0,sham:!n(9352)},{preventExtensions:function(t){i(t);try{var e=o("Object","preventExtensions");return e&&e(t),!0}catch(n){return!1}}})},408:function(t,e,n){var r=n(1163),o=n(1099),i=n(8634),a=n(1464);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){o(t),i(e);try{return a(t,e),!0}catch(n){return!1}}})},9421:function(t,e,n){var r=n(1163),o=n(1099),i=n(726),a=n(7463),s=n(8597),c=n(2975),u=n(3099),l=n(3963),f=n(3203);r({target:"Reflect",stat:!0,forced:s(function(){var t=function(){},e=c.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)})},{set:function t(e,n,r){var s,h,p,d=arguments.length<4?e:arguments[3],m=u.f(o(e),n);if(!m){if(i(h=l(e)))return t(h,n,r,d);m=f(0)}if(a(m)){if(!1===m.writable||!i(d))return!1;if(s=u.f(d,n)){if(s.get||s.set||!1===s.writable)return!1;s.value=r,c.f(d,n,s)}else c.f(d,n,f(0,r))}else{if(void 0===(p=m.set))return!1;p.call(d,r)}return!0}})},4144:function(t,e,n){var r=n(1163),o=n(1864),i=n(8242);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},6799:function(){var t,e,n,r;r={},function(t,e){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=h}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function o(e,r,o){var i=new n;return r&&(i.fill="both",i.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function(n){if("auto"!=e[n]){if(("number"==typeof i[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n]))||"fill"==n&&-1==l.indexOf(e[n])||"direction"==n&&-1==f.indexOf(e[n])||"playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;i[n]=e[n]}}):i.duration=e,i}function i(t,e,n,r){return t<0||t>1||n<0||n>1?h:function(o){function i(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(o<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*o}if(o>=1){var s=0;return n<1?s=(r-1)/(n-1):1==n&&t<1&&(s=(e-1)/(t-1)),1+s*(o-1)}for(var c=0,u=1;c=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function s(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function c(t){if("linear"==t)return h;var e=_.exec(t);if(e)return i.apply(this,e.slice(1).map(Number));var n=b.exec(t);if(n)return a(Number(n[1]),m);var r=T.exec(t);return r?a(Number(r[1]),{start:p,middle:d,end:m}[r[2]]):g[t]||h}function u(t,e,n){if(null==e)return k;var r=n.delay+t+n.endDelay;return e=Math.min(n.delay+t,r)?x:E}var l="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),h=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=c(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var p=1,d=.5,m=0,g={ease:i(.25,.1,.25,1),"ease-in":i(.42,0,1,1),"ease-out":i(0,0,.58,1),"ease-in-out":i(.42,0,.58,1),"step-start":a(1,p),"step-middle":a(1,d),"step-end":a(1,m)},v=null,y="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",_=new RegExp("cubic-bezier\\("+y+","+y+","+y+","+y+"\\)"),b=/steps\(\s*(\d+)\s*\)/,T=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,k=0,w=1,x=2,E=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=o,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return o(e=t.numericTimingToObject(e),n)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,n){var r=u(t,e,n),o=function(t,e,n,r,o){switch(r){case w:return"backwards"==e||"both"==e?0:null;case E:return n-o;case x:return"forwards"==e||"both"==e?t:null;case k:return null}}(t,n.fill,e,r,n.delay);if(null===o)return null;var i=function(t,e,n,r,o){var i=o;return 0===t?e!==w&&(i+=n):i+=r/t,i}(n.duration,r,n.iterations,o,n.iterationStart),a=function(t,e,n,r,o,i){var a=t===1/0?e%1:t%1;return 0!==a||n!==x||0===r||0===o&&0!==i||(a=1),a}(i,n.iterationStart,r,n.iterations,o,n.duration),s=function(t,e,n,r){return t===x&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,i),c=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var o=e;"alternate-reverse"===t&&(o+=1),r="normal",o!==1/0&&o%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,s,a);return n._easingFunction(c)},t.calculatePhase=u,t.normalizeEasing=s,t.parseEasingFunction=c}(n={}),function(t,e){function n(t,e){return t in c&&c[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var o=i[t];if(o)for(var s in a.style[t]=e,o){var c=o[s];r[c]=n(c,a.style[c])}else r[t]=n(t,e)}}function o(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var o,i=r.length,a=0;a1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==o){if("add"==i||"accumulate"==i)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=i)throw new TypeError("Invalid composite mode "+i+".")}else i="easing"==o?t.normalizeEasing(i):""+i;r(o,i,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n}),i=!0,a=-1/0,s=0;s=0&&t.offset<=1}),i||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,o=1;o=t.applyFrom&&rthis._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,n){this._style[e]=n,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(n)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},a)r.prototype[c]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(c,c in s);for(var u in document.documentElement.style)u in i||u in a||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(u);t.apply=function(e,o,i){(function(t){if(!t._webAnimationsPatchedStyle){var e=new r(t);try{n(t,"style",{get:function(){return e}})}catch(i){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}})(e),e.style._set(t.propertyName(o),i)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(r),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(r),function(t,e){function n(t,e,r){if("number"==typeof t&&"number"==typeof e)return t*(1-r)+e*r;if("boolean"==typeof t&&"boolean"==typeof e)return r<.5?t:e;if(t.length==e.length){for(var o=[],i=0;i0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var n=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){n.forEach(function(t){t.call(e.target,e)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(n,r),function(t,e,n){function r(t){var e=u;u=[],t1e-4?(g=.5/Math.sqrt(y),v=[(h[2][1]-h[1][2])*g,(h[0][2]-h[2][0])*g,(h[1][0]-h[0][1])*g,.25/g]):h[0][0]>h[1][1]&&h[0][0]>h[2][2]?v=[.25*(g=2*Math.sqrt(1+h[0][0]-h[1][1]-h[2][2])),(h[0][1]+h[1][0])/g,(h[0][2]+h[2][0])/g,(h[2][1]-h[1][2])/g]:h[1][1]>h[2][2]?(g=2*Math.sqrt(1+h[1][1]-h[0][0]-h[2][2]),v=[(h[0][1]+h[1][0])/g,.25*g,(h[1][2]+h[2][1])/g,(h[0][2]-h[2][0])/g]):(g=2*Math.sqrt(1+h[2][2]-h[0][0]-h[1][1]),v=[(h[0][2]+h[2][0])/g,(h[1][2]+h[2][1])/g,.25*g,(h[1][0]-h[0][1])/g]),[f,p,d,v,u]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[s(a(t))]},t.transformListToMatrix=a}(r),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,o){for(var i=[],a=[],s=[],c=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,o.length),u=0;u=1?e:"visible"}]},["visibility"])}(r),function(t,e){function n(t){t=t.trim(),i.fillStyle="#000",i.fillStyle=t;var e=i.fillStyle;if(i.fillStyle="#fff",i.fillStyle=t,e==i.fillStyle){i.fillRect(0,0,1,1);var n=i.getImageData(0,0,1,1).data;i.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(Math.max(0,Math.min(255,e[n]/e[3])));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var o=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");o.width=o.height=1;var i=o.getContext("2d");t.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,n),t.mergeColors=r}(r),function(t,e){function n(t){function e(){var e=a.exec(t);i=e?e[0]:void 0}function n(){if("("!==i)return function(){var t=Number(i);return e(),t}();e();var t=o();return")"!==i?NaN:(e(),t)}function r(){for(var t=n();"*"===i||"/"===i;){var r=i;e();var o=n();"*"===r?t*=o:t/=o}return t}function o(){for(var t=r();"+"===i||"-"===i;){var n=i;e();var o=r();"+"===n?t+=o:t-=o}return t}var i,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),o()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.replace(t,function(t){return r[t]=null,"U"+t});for(var o="U("+t.source+")",i=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+o,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=r.bind(null,new RegExp(a,"g")),c=r.bind(null,new RegExp(a+"|%","g")),u=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=c,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,c),t.parseAngle=u,t.mergeDimensions=i;var l=t.consumeParenthesised.bind(null,s),f=t.consumeRepeated.bind(void 0,l,/^/),h=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=h;var p=t.mergeNestedRepeated.bind(void 0,o," "),d=t.mergeNestedRepeated.bind(void 0,p,",");t.mergeNonNegativeSizePair=p,t.addPropertiesHandler(function(t){var e=h(t);if(e&&""==e[1])return e[0]},d,["background-size"]),t.addPropertiesHandler(c,o,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(c,i,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(r),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var o=t.mergeWrappedNestedRepeated.bind(null,function(t){return"rect("+t+")"},function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var o=r?e:n;if("auto"==o)return"auto";var i=t.mergeDimensions(o,o);return i[2](i[0])}]:t.mergeDimensions(e,n)},", ");t.parseBox=r,t.mergeBoxes=o,t.addPropertiesHandler(r,o,["clip"])}(r),function(t,e){function n(t){return function(e){var n=0;return t.map(function(t){return t===u?e[n++]:t})}}function r(t){return t}function o(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,o=[],i=0;n=r.exec(e);){if(n.index!=i)return;i=n.index+n[0].length;var a=n[1],s=h[a];if(!s)return;var c=n[2].split(","),u=s[0];if(u.length900||e%100!=0))return e},function(t,n){return[t,n,e]},["font-weight"])}(r),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function n(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function r(e,r){var o=t.consumeRepeated(n,/^/,r);if(o&&""==o[1]){var a=o[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==e&&(a[2]=a[2]||{px:0}),a.length==e){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var s=a[0];a[0]=a[1],a[1]=s}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map(function(t){return"object"==typeof t?t:i[t]})}}}function o(r){var o=t.consumeRepeated(n,/^/,r);if(o){for(var a=o[0],s=[{"%":50},{"%":50}],c=0,u=!1,l=0;l=0&&this._cancelHandlers.splice(n,1)}else c.call(this,t,e)},i}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var o="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[o,o]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==o}catch(a){}finally{n&&n.cancel()}if(!r){var i=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),i.call(this,e,n)}}}(n)}},function(t){t(t.s=7435)}]); \ No newline at end of file diff --git a/server/src/uds/static/modern/polyfills-es5.js b/server/src/uds/static/modern/polyfills-es5.js deleted file mode 100644 index f4ec1414..00000000 --- a/server/src/uds/static/modern/polyfills-es5.js +++ /dev/null @@ -1 +0,0 @@ -!function(){function t(t,n){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:j(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(n){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},1670:function(){"use strict";var t,e,n,r,o,i;function a(t,e,n){var r=n.configurable;return s(t,e,n=u(t,e,n),r)}function c(t,e){return t&&t[o]&&t[o][e]}function u(t,n,r){return Object.isFrozen(r)||(r.configurable=!0),r.configurable||(!t[o]&&!Object.isFrozen(t)&&e(t,o,{writable:!0,value:{}}),t[o]&&(t[o][n]=!0)),r}function s(t,n,r,o){try{return e(t,n,r)}catch(c){if(!r.configurable)throw c;void 0===o?delete r.configurable:r.configurable=o;try{return e(t,n,r)}catch(u){var i=!1;if(("createdCallback"===n||"attachedCallback"===n||"detachedCallback"===n||"attributeChangedCallback"===n)&&(i=!0),!i)throw u;var a=null;try{a=JSON.stringify(r)}catch(s){a=r.toString()}console.log("Attempting to configure '".concat(n,"' with descriptor '").concat(a,"' on object '").concat(t,"' and got error, giving up: ").concat(u))}}}(i="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})[(i.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var f=i.Zone;f.__load_patch("defineProperty",function(i,f,l){l._redefineProperty=a,t=Zone.__symbol__,e=Object[t("defineProperty")]=Object.defineProperty,n=Object[t("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,r=Object.create,o=t("unconfigurables"),Object.defineProperty=function(t,e,n){if(c(t,e))throw new TypeError("Cannot assign to read only property '"+e+"' of "+t);var r=n.configurable;return"prototype"!==e&&(n=u(t,e,n)),s(t,e,n,r)},Object.defineProperties=function(t,e){return Object.keys(e).forEach(function(n){Object.defineProperty(t,n,e[n])}),t},Object.create=function(t,e){return"object"==typeof e&&!Object.isFrozen(e)&&Object.keys(e).forEach(function(n){e[n]=u(t,n,e[n])}),r(t,e)},Object.getOwnPropertyDescriptor=function(t,e){var r=n(t,e);return r&&c(t,e)&&(r.configurable=!1),r}}),f.__load_patch("registerElement",function(t,e,n){!function(t,e){var n=e.getGlobalObjects(),r=n.isBrowser,o=n.isMix;(r||o)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)}),f.__load_patch("EventTargetLegacy",function(t,e,n){(function(t,e){var n=e.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,c=n.FALSE_STR,u=n.ZONE_SYMBOL_PREFIX,s="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),f="EventTarget",l=[],p=t.wtf,h="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");p?l=h.map(function(t){return"HTML"+t+"Element"}).concat(s):t[f]?l.push(f):l=s;for(var d=t.__Zone_disable_IE_check||!1,v=t.__Zone_enable_cross_context_check||!1,g=e.isIEOrEdge(),m="[object FunctionWrapper]",y="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",b={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},_=0;_1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach(function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}})):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}(n,t)})}},7277:function(){"use strict";!function(t){var e=t.performance;function r(t){e&&e.mark&&e.mark(t)}function i(t,n){e&&e.measure&&e.measure(t,n)}r("Zone");var a=t.__Zone_symbol_prefix||"__zone_symbol__";function c(t){return a+t}var u=!0===t[c("forceDuplicateZoneCheck")];if(t.Zone){if(u||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var s,f,l=((s=function(){function e(t,r){n(this,e),this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new h(this,this._parent&&this._parent._zoneDelegate,r)}return o(e,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]}},{key:"getZoneWith",value:function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}},{key:"fork",value:function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}},{key:"wrap",value:function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}},{key:"run",value:function(t,e,n,r){D={parent:D,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{D=D.parent}}},{key:"runGuarded",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;D={parent:D,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{D=D.parent}}},{key:"runTask",value:function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||w).name+"; Execution: "+this.name+")");if(t.state!==k||t.type!==R&&t.type!==M){var r=t.state!=S;r&&t._transitionTo(S,E),t.runCount++;var o=I;I=t,D={parent:D,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==k&&t.state!==P&&(t.type==R||t.data&&t.data.isPeriodic?r&&t._transitionTo(E,S):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(k,S,k))),D=D.parent,I=o}}}},{key:"scheduleTask",value:function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));e=e.parent}t._transitionTo(T,k);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(P,T,k),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==T&&t._transitionTo(E,T),t}},{key:"scheduleMicroTask",value:function(t,e,n,r){return this.scheduleTask(new d(j,t,e,n,r,void 0))}},{key:"scheduleMacroTask",value:function(t,e,n,r,o){return this.scheduleTask(new d(M,t,e,n,r,o))}},{key:"scheduleEventTask",value:function(t,e,n,r,o){return this.scheduleTask(new d(R,t,e,n,r,o))}},{key:"cancelTask",value:function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||w).name+"; Execution: "+this.name+")");t._transitionTo(O,E,S);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(P,O),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(k,O),t.runCount=0,t}},{key:"_updateTaskCount",value:function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r2&&void 0!==arguments[2]&&arguments[2];if(N.hasOwnProperty(n)){if(!a&&u)throw Error("Already loaded patch: "+n)}else if(!t["__Zone_disable_"+n]){var c="Zone:"+n;r(c),N[n]=o(t,e,A),i(c,c)}}}]),e}()).__symbol__=c,s),p={name:"",onHasTask:function(t,e,n,r){return t.hasTask(n,r)},onScheduleTask:function(t,e,n,r){return t.scheduleTask(n,r)},onInvokeTask:function(t,e,n,r,o,i){return t.invokeTask(n,r,o,i)},onCancelTask:function(t,e,n,r){return t.cancelTask(n,r)}},h=function(){function t(e,r,o){n(this,t),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=r,this._forkZS=o&&(o&&o.onFork?o:r._forkZS),this._forkDlgt=o&&(o.onFork?r:r._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:r._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:r._interceptZS),this._interceptDlgt=o&&(o.onIntercept?r:r._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:r._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:r._invokeZS),this._invokeDlgt=o&&(o.onInvoke?r:r._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:r._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:r._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?r:r._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:r._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:r._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?r:r._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:r._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:r._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?r:r._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:r._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:r._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?r:r._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:r._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var i=o&&o.onHasTask;(i||r&&r._hasTaskZS)&&(this._hasTaskZS=i?o:p,this._hasTaskDlgt=r,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,o.onScheduleTask||(this._scheduleTaskZS=p,this._scheduleTaskDlgt=r,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=p,this._invokeTaskDlgt=r,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=p,this._cancelTaskDlgt=r,this._cancelTaskCurrZone=this.zone))}return o(t,[{key:"fork",value:function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new l(t,e)}},{key:"intercept",value:function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}},{key:"invoke",value:function(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)}},{key:"handleError",value:function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}},{key:"scheduleTask",value:function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=j)throw new Error("Task is missing scheduleFn.");_(e)}return n}},{key:"invokeTask",value:function(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}},{key:"cancelTask",value:function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}},{key:"hasTask",value:function(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}},{key:"_updateTaskCount",value:function(t,e){var n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}]),t}(),d=function(){function e(r,o,i,a,c,u){if(n(this,e),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=r,this.source=o,this.data=a,this.scheduleFn=c,this.cancelFn=u,!i)throw new Error("callback is not defined");this.callback=i;var s=this;this.invoke=r===R&&a&&a.useG?e.invokeTask:function(){return e.invokeTask.call(t,s,this,arguments)}}return o(e,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(k,T)}},{key:"_transitionTo",value:function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(t,"', expecting state '").concat(e,"'").concat(n?" or '"+n+"'":"",", was '").concat(this._state,"'."));this._state=t,t==k&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(t,e,n){t||(t=this),C++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==C&&x(),C--}}}]),e}(),v=c("setTimeout"),g=c("Promise"),m=c("then"),y=[],b=!1;function _(e){if(0===C&&0===y.length)if(f||t[g]&&(f=t[g].resolve(0)),f){var n=f[m];n||(n=f.then),n.call(f,x)}else t[v](x,0);e&&y.push(e)}function x(){if(!b){for(b=!0;y.length;){var t=y;y=[];for(var e=0;e=0;n--)"function"==typeof t[n]&&(t[n]=v(t[n],e+"_"+n));return t}function k(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var T="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,E=!("nw"in _)&&void 0!==_.process&&"[object process]"==={}.toString.call(_.process),S=!E&&!T&&!(!y||!b.HTMLElement),O=void 0!==_.process&&"[object process]"==={}.toString.call(_.process)&&!T&&!(!y||!b.HTMLElement),P={},j=function(t){if(t=t||_.event){var e=P[t.type];e||(e=P[t.type]=m("ON_PROPERTY"+t.type));var n,r=this||t.target||_,o=r[e];if(S&&r===b&&"error"===t.type){var i=t;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&t.preventDefault()}else null!=(n=o&&o.apply(this,arguments))&&!n&&t.preventDefault();return n}};function M(t,n,o){var i=e(t,n);if(!i&&o&&e(o,n)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=m("on"+n+"patched");if(!t.hasOwnProperty(a)||!t[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=n.substr(2),f=P[s];f||(f=P[s]=m("ON_PROPERTY"+s)),i.set=function(e){var n=this;!n&&t===_&&(n=_),n&&(n[f]&&n.removeEventListener(s,j),u&&u.apply(n,x),"function"==typeof e?(n[f]=e,n.addEventListener(s,j,!1)):n[f]=null)},i.get=function(){var e=this;if(!e&&t===_&&(e=_),!e)return null;var r=e[f];if(r)return r;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof e.removeAttribute&&e.removeAttribute(n),o}return null},r(t,n,i),t[a]=!0}}}function R(t,e,n){if(e)for(var r=0;r=0&&"function"==typeof r[i.cbIdx]?g(i.name,r[i.cbIdx],i,o):t.apply(e,r)}})}function C(t,e){t[m("OriginalDelegate")]=e}var L=!1,z=!1;function F(){if(L)return z;L=!0;try{var t=b.navigator.userAgent;(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/"))&&(z=!0)}catch(t){}return z}Zone.__load_patch("ZoneAwarePromise",function(e,r,i){var a=Object.getOwnPropertyDescriptor,c=Object.defineProperty,u=i.symbol,s=[],f=!0===e[u("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=u("Promise"),p=u("then");i.onUnhandledError=function(t){if(i.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},i.microtaskDrainDone=function(){for(var t=function(){var t=s.shift();try{t.zone.runGuarded(function(){throw t.throwOriginal?t.rejection:t})}catch(e){!function(t){i.onUnhandledError(t);try{var e=r[h];"function"==typeof e&&e.call(this,t)}catch(e){}}(e)}};s.length;)t()};var h=u("unhandledPromiseRejectionHandler");function d(t){return t&&t.then}function v(t){return t}function g(t){return R.reject(t)}var m=u("state"),y=u("value"),b=u("finally"),_=u("parentPromiseValue"),x=u("parentPromiseState"),w=null,k=!1;function T(t,e){return function(n){try{S(t,e,n)}catch(r){S(t,!1,r)}}}var E=u("currentTaskTrace");function S(t,e,n){var o=function(){var t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}}();if(t===n)throw new TypeError("Promise resolved with itself");if(t[m]===w){var a=null;try{("object"==typeof n||"function"==typeof n)&&(a=n&&n.then)}catch(u){return o(function(){S(t,!1,u)})(),t}if(e!==k&&n instanceof R&&n.hasOwnProperty(m)&&n.hasOwnProperty(y)&&n[m]!==w)P(n),S(t,n[m],n[y]);else if(e!==k&&"function"==typeof a)try{a.call(n,o(T(t,e)),o(T(t,!1)))}catch(u){o(function(){S(t,!1,u)})()}else{t[m]=e;var u=t[y];if(t[y]=n,t[b]===b&&!0===e&&(t[m]=t[x],t[y]=t[_]),e===k&&n instanceof Error){var l=r.currentTask&&r.currentTask.data&&r.currentTask.data.__creationTrace__;l&&c(n,E,{configurable:!0,enumerable:!1,writable:!0,value:l})}for(var p=0;p4&&void 0!==arguments[4]&&arguments[4],c=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var f=this||t,l=arguments[0];n&&n.transferEventName&&(l=n.transferEventName(l));var d=arguments[1];if(!d)return e.apply(this,arguments);if(E&&"uncaughtException"===l)return e.apply(this,arguments);var g=!1;if("function"!=typeof d){if(!d.handleEvent)return e.apply(this,arguments);g=!0}if(!s||s(e,d,f,arguments)){var m=Z&&!!D&&-1!==D.indexOf(l),y=j(arguments[2],m);if(A)for(var b=0;b0){var o=t.invoke;t.invoke=function(){for(var n=a[e.__symbol__("loadfalse")],i=0;i2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),p=1;for(s0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},2749:function(t,e,n){"use strict";var r=n(3542),o=n(3141),i=n(7457);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,s=void 0===u?n:o(u,n);s>c;)e[c++]=t;return e}},4274:function(t,e,n){"use strict";var r=n(1269).forEach,o=n(9925)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},164:function(t,e,n){"use strict";var r=n(8952),o=n(3542),i=n(7761),a=n(2064),c=n(7457),u=n(8923),s=n(2108);t.exports=function(t){var e,n,f,l,p,h,d=o(t),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,y=void 0!==m,b=s(d),_=0;if(y&&(m=r(m,g>2?arguments[2]:void 0,2)),null==b||v==Array&&a(b))for(n=new v(e=c(d.length));e>_;_++)h=y?m(d[_],_):d[_],u(n,_,h);else for(p=(l=b.call(d)).next,n=new v;!(f=p.call(l)).done;_++)h=y?i(l,m,[f.value,_],!0):f.value,u(n,_,h);return n.length=_,n}},3759:function(t,e,n){var r=n(58),o=n(7457),i=n(3141),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},1269:function(t,e,n){var r=n(8952),o=n(7858),i=n(3542),a=n(7457),c=n(5301),u=[].push,s=function(t){var e=1==t,n=2==t,s=3==t,f=4==t,l=6==t,p=7==t,h=5==t||l;return function(d,v,g,m){for(var y,b,_=i(d),x=o(_),w=r(v,g,3),k=a(x.length),T=0,E=m||c,S=e?E(d,k):n||p?E(d,0):void 0;k>T;T++)if((h||T in x)&&(b=w(y=x[T],T,_),t))if(e)S[T]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return T;case 2:u.call(S,y)}else switch(t){case 4:return!1;case 7:u.call(S,y)}return l?-1:s||f?f:S}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},5004:function(t,e,n){"use strict";var r=n(58),o=n(397),i=n(7457),a=n(9925),c=Math.min,u=[].lastIndexOf,s=!!u&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf");t.exports=s||!f?function(t){if(s)return u.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=c(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:u},9197:function(t,e,n){var r=n(3849),o=n(2871),i=n(6889),a=o("species");t.exports=function(t){return i>=51||!r(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},9925:function(t,e,n){"use strict";var r=n(3849);t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){throw 1},1)})}},2527:function(t,e,n){var r=n(272),o=n(3542),i=n(7858),a=n(7457),c=function(t){return function(e,n,c,u){r(n);var s=o(e),f=i(s),l=a(s.length),p=t?l-1:0,h=t?-1:1;if(c<2)for(;;){if(p in f){u=f[p],p+=h;break}if(p+=h,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=h)p in f&&(u=n(u,f[p],p,s));return u}};t.exports={left:c(!1),right:c(!0)}},9756:function(t){var e=Math.floor,n=function(t,e){for(var n,r,o=t.length,i=1;i0;)t[r]=t[--r];r!==i++&&(t[r]=n)}return t},r=function(t,e,n){for(var r=t.length,o=e.length,i=0,a=0,c=[];i1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!m(this,t)}}),i(f.prototype,n?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=v(e),i=v(r);s(t,e,function(t,e){d(this,{type:r,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),f(e)}}},2903:function(t,e,n){"use strict";var r=n(6475),o=n(7483).getWeakData,i=n(6845),a=n(5053),c=n(4697),u=n(7421),s=n(1269),f=n(2515),l=n(7996),p=l.set,h=l.getterFor,d=s.find,v=s.findIndex,g=0,m=function(t){return t.frozen||(t.frozen=new y)},y=function(){this.entries=[]},b=function(t,e){return d(t.entries,function(t){return t[0]===e})};y.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=v(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var l=t(function(t,r){c(t,l,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[s],{that:t,AS_ENTRIES:n})}),d=h(e),v=function(t,e,n){var r=d(t),a=o(i(e),!0);return!0===a?m(r).set(e,n):a[r.id]=n,t};return r(l.prototype,{delete:function(t){var e=d(this);if(!a(t))return!1;var n=o(t);return!0===n?m(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=d(this);if(!a(t))return!1;var n=o(t);return!0===n?m(e).has(t):n&&f(n,e.id)}}),r(l.prototype,n?{get:function(t){var e=d(this);if(a(t)){var n=o(t);return!0===n?m(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return v(this,t,e)}}:{add:function(t){return v(this,t,!0)}}),l}}},8545:function(t,e,n){"use strict";var r=n(4773),o=n(357),i=n(8153),a=n(1859),c=n(7483),u=n(7421),s=n(4697),f=n(5053),l=n(3849),p=n(865),h=n(814),d=n(5079);t.exports=function(t,e,n){var v=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),m=v?"set":"add",y=o[t],b=y&&y.prototype,_=y,x={},w=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof y||!(g||b.forEach&&!l(function(){(new y).entries().next()}))))_=n.getConstructor(e,t,v,m),c.enable();else if(i(t,!0)){var k=new _,T=k[m](g?{}:-0,1)!=k,E=l(function(){k.has(1)}),S=p(function(t){new y(t)}),O=!g&&l(function(){for(var t=new y,e=5;e--;)t[m](e,e);return!t.has(-0)});S||((_=e(function(e,n){s(e,_,t);var r=d(new y,e,_);return null!=n&&u(n,r[m],{that:r,AS_ENTRIES:v}),r})).prototype=b,b.constructor=_),(E||O)&&(w("delete"),w("has"),v&&w("get")),(O||T)&&w(m),g&&b.clear&&delete b.clear}return x[t]=_,r({global:!0,forced:_!=y},x),h(_,t),g||n.setStrong(_,t,v),_}},2242:function(t,e,n){var r=n(2515),o=n(713),i=n(9629),a=n(704);t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s"+c+""}},9066:function(t,e,n){"use strict";var r=n(7473).IteratorPrototype,o=n(6527),i=n(4618),a=n(814),c=n(7448),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,s,!1,!0),c[s]=u,t}},5384:function(t,e,n){var r=n(4952),o=n(704),i=n(4618);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},4618:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8923:function(t,e,n){"use strict";var r=n(1046),o=n(704),i=n(4618);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},2594:function(t,e,n){"use strict";var r=n(3849),o=n(6293).start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))})||!r(function(){u.call(new Date(NaN))})?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+o(i(e),r?6:4,0)+"-"+o(t.getUTCMonth()+1,2,0)+"-"+o(t.getUTCDate(),2,0)+"T"+o(t.getUTCHours(),2,0)+":"+o(t.getUTCMinutes(),2,0)+":"+o(t.getUTCSeconds(),2,0)+"."+o(n,3,0)+"Z"}:u},9445:function(t,e,n){"use strict";var r=n(6845),o=n(9717);t.exports=function(t){if(r(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw TypeError("Incorrect hint");return o(this,t)}},97:function(t,e,n){"use strict";var r=n(4773),o=n(9066),i=n(8873),a=n(4234),c=n(814),u=n(5384),s=n(1859),f=n(2871),l=n(9345),p=n(7448),h=n(7473),d=h.IteratorPrototype,v=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),m="keys",y="values",b="entries",_=function(){return this};t.exports=function(t,e,n,f,h,x,w){o(n,e,f);var k,T,E,S=function(t){if(t===h&&R)return R;if(!v&&t in j)return j[t];switch(t){case m:case y:case b:return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",P=!1,j=t.prototype,M=j[g]||j["@@iterator"]||h&&j[h],R=!v&&M||S(h),N="Array"==e&&j.entries||M;if(N&&(k=i(N.call(new t)),d!==Object.prototype&&k.next&&(!l&&i(k)!==d&&(a?a(k,d):"function"!=typeof k[g]&&u(k,g,_)),c(k,O,!0,!0),l&&(p[O]=_))),h==y&&M&&M.name!==y&&(P=!0,R=function(){return M.call(this)}),(!l||w)&&j[g]!==R&&u(j,g,R),p[e]=R,h)if(T={values:S(y),keys:x?R:S(m),entries:S(b)},w)for(E in T)(v||P||!(E in j))&&s(j,E,T[E]);else r({target:e,proto:!0,forced:v||P},T);return T}},7949:function(t,e,n){var r=n(1833),o=n(2515),i=n(7768),a=n(704).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},4952:function(t,e,n){var r=n(3849);t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},6792:function(t,e,n){var r=n(357),o=n(5053),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},7793:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},1258:function(t,e,n){var r=n(8964).match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},250:function(t){t.exports="object"==typeof window},2285:function(t,e,n){var r=n(8964);t.exports=/MSIE|Trident/.test(r)},5623:function(t,e,n){var r=n(8964);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},170:function(t,e,n){var r=n(6504),o=n(357);t.exports="process"==r(o.process)},9310:function(t,e,n){var r=n(8964);t.exports=/web0s(?!.*chrome)/i.test(r)},8964:function(t,e,n){var r=n(7344);t.exports=r("navigator","userAgent")||""},6889:function(t,e,n){var r,o,i=n(357),a=n(8964),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f?o=(r=f.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},1806:function(t,e,n){var r=n(8964).match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},8176:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4773:function(t,e,n){var r=n(357),o=n(9629).f,i=n(5384),a=n(1859),c=n(6190),u=n(2242),s=n(8153);t.exports=function(t,e){var n,f,l,p,h,d=t.target,v=t.global,g=t.stat;if(n=v?r:g?r[d]||c(d,{}):(r[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(v?f:d+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},3849:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4398:function(t,e,n){"use strict";n(9624);var r=n(1859),o=n(9108),i=n(3849),a=n(2871),c=n(5384),u=a("species"),s=RegExp.prototype;t.exports=function(t,e,n,f){var l=a(t),p=!i(function(){var e={};return e[l]=function(){return 7},7!=""[t](e)}),h=p&&!i(function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[l]=/./[l]),n.exec=function(){return e=!0,null},n[l](""),!e});if(!p||!h||n){var d=/./[l],v=e(l,""[t],function(t,e,n,r,i){var a=e.exec;return a===o||a===s.exec?p&&!i?{done:!0,value:d.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}});r(String.prototype,t,v[0]),r(s,l,v[1])}f&&c(s[l],"sham",!0)}},5907:function(t,e,n){"use strict";var r=n(2703),o=n(7457),i=n(8952);t.exports=function t(e,n,a,c,u,s,f,l){for(var p,h=u,d=0,v=!!f&&i(f,l,3);d0&&r(p))h=t(e,n,p,o(p.length),h,s-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[h]=p}h++}d++}return h}},5744:function(t,e,n){var r=n(3849);t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},8952:function(t,e,n){var r=n(272);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},6574:function(t,e,n){"use strict";var r=n(272),o=n(5053),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,u,s,f){var l=n+t.length,p=u.length,h=c;return void 0!==s&&(s=r(s),h=a),i.call(f,h,function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(l);case"<":a=s[i.slice(1,-1)];break;default:var c=+i;if(0===c)return r;if(c>p){var f=o(c/10);return 0===f?r:f<=p?void 0===u[f-1]?i.charAt(1):u[f-1]+i.charAt(1):r}a=u[c-1]}return void 0===a?"":a})}},357:function(t){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||function(){return this}()||Function("return this")()},2515:function(t,e,n){var r=n(3542),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},4199:function(t){t.exports={}},1714:function(t,e,n){var r=n(357);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},3815:function(t,e,n){var r=n(7344);t.exports=r("document","documentElement")},4718:function(t,e,n){var r=n(4952),o=n(3849),i=n(6792);t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},7858:function(t,e,n){var r=n(3849),o=n(6504),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},5079:function(t,e,n){var r=n(5053),o=n(4234);t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},4419:function(t,e,n){var r=n(6291),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},7483:function(t,e,n){var r=n(4773),o=n(4199),i=n(5053),a=n(2515),c=n(704).f,u=n(6006),s=n(2774),f=n(1427),l=n(5744),p=!1,h=f("meta"),d=0,v=Object.isExtensible||function(){return!0},g=function(t){c(t,h,{value:{objectID:"O"+d++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},p=!0;var t=u.f,e=[].splice,n={};n[h]=1,t(n).length&&(u.f=function(n){for(var r=t(n),o=0,i=r.length;op;p++)if((d=w(t[p]))&&d instanceof s)return d;return new s(!1)}f=l.call(t)}for(v=f.next;!(g=v.call(f)).done;){try{d=w(g.value)}catch(k){throw u(f),k}if("object"==typeof d&&d&&d instanceof s)return d}return new s(!1)}},8309:function(t,e,n){var r=n(6845);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},7473:function(t,e,n){"use strict";var r,o,i,a=n(3849),c=n(8873),u=n(5384),s=n(2515),f=n(2871),l=n(9345),p=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):h=!0);var d=null==r||a(function(){var t={};return r[p].call(t)!==t});d&&(r={}),(!l||d)&&!s(r,p)&&u(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7448:function(t){t.exports={}},4807:function(t){var e=Math.expm1,n=Math.exp;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:e},9636:function(t,e,n){var r=n(4462),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),f=r(t);return iu||n!=n?f*(1/0):f*n}},7308:function(t){var e=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:e(1+t)}},4462:function(t){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},2839:function(t,e,n){var r,o,i,a,c,u,s,f,l=n(357),p=n(9629).f,h=n(727).set,d=n(5623),v=n(9310),g=n(170),m=l.MutationObserver||l.WebKitMutationObserver,y=l.document,b=l.process,_=l.Promise,x=p(l,"queueMicrotask"),w=x&&x.value;w||(r=function(){var t,e;for(g&&(t=b.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},d||g||v||!m||!y?_&&_.resolve?((s=_.resolve(void 0)).constructor=_,f=s.then,a=function(){f.call(s,r)}):a=g?function(){b.nextTick(r)}:function(){h.call(l,r)}:(c=!0,u=y.createTextNode(""),new m(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),t.exports=w||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},3507:function(t,e,n){var r=n(357);t.exports=r.Promise},6700:function(t,e,n){var r=n(6889),o=n(3849);t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},7013:function(t,e,n){var r=n(357),o=n(4419),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},7620:function(t,e,n){"use strict";var r=n(272),o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},3078:function(t,e,n){var r=n(6914);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},8907:function(t,e,n){var r=n(357).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},1854:function(t,e,n){var r=n(357),o=n(7311),i=n(5223).trim,a=n(454),c=r.parseFloat,u=1/c(a+"-0")!=-1/0;t.exports=u?function(t){var e=i(o(t)),n=c(e);return 0===n&&"-"==e.charAt(0)?-0:n}:c},6282:function(t,e,n){var r=n(357),o=n(7311),i=n(5223).trim,a=n(454),c=r.parseInt,u=/^[+-]?0[Xx]/,s=8!==c(a+"08")||22!==c(a+"0x16");t.exports=s?function(t,e){var n=i(o(t));return c(n,e>>>0||(u.test(n)?16:10))}:c},3696:function(t,e,n){"use strict";var r=n(4952),o=n(3849),i=n(671),a=n(7513),c=n(7023),u=n(3542),s=n(7858),f=Object.assign,l=Object.defineProperty;t.exports=!f||o(function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach(function(t){e[t]=t}),7!=f({},t)[n]||i(f({},e)).join("")!=o})?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,d=s(arguments[f++]),v=l?i(d).concat(l(d)):i(d),g=v.length,m=0;g>m;)h=v[m++],(!r||p.call(d,h))&&(n[h]=d[h]);return n}:f},6527:function(t,e,n){var r,o=n(6845),i=n(6858),a=n(8176),c=n(4199),u=n(3815),s=n(6792),f=n(1822),l="prototype",p="script",h=f("IE_PROTO"),d=function(){},v=function(t){return"<"+p+">"+t+""},g=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}m=document.domain&&r?g(r):function(){var t,e=s("iframe");if(e.style)return e.style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F}()||g(r);for(var t=a.length;t--;)delete m[l][a[t]];return m()};c[h]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d[l]=o(t),n=new d,d[l]=null,n[h]=t):n=m(),void 0===e?n:i(n,e)}},6858:function(t,e,n){var r=n(4952),o=n(704),i=n(6845),a=n(671);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},704:function(t,e,n){var r=n(4952),o=n(4718),i=n(6845),a=n(1046),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e),i(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},9629:function(t,e,n){var r=n(4952),o=n(7023),i=n(4618),a=n(58),c=n(1046),u=n(2515),s=n(4718),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e),s)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},2774:function(t,e,n){var r=n(58),o=n(6006).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(e){try{return o(e)}catch(t){return a.slice()}}(t):o(r(t))}},6006:function(t,e,n){var r=n(7331),o=n(8176).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},7513:function(t,e){e.f=Object.getOwnPropertySymbols},8873:function(t,e,n){var r=n(2515),o=n(3542),i=n(1822),a=n(1304),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},7331:function(t,e,n){var r=n(2515),o=n(58),i=n(3759).indexOf,a=n(4199);t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},671:function(t,e,n){var r=n(7331),o=n(8176);t.exports=Object.keys||function(t){return r(t,o)}},7023:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},4234:function(t,e,n){var r=n(6845),o=n(4338);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},5761:function(t,e,n){var r=n(4952),o=n(671),i=n(58),a=n(7023).f,c=function(t){return function(e){for(var n,c=i(e),u=o(c),s=u.length,f=0,l=[];s>f;)n=u[f++],(!r||a.call(c,n))&&l.push(t?[n,c[n]]:c[n]);return l}};t.exports={entries:c(!0),values:c(!1)}},2644:function(t,e,n){"use strict";var r=n(4556),o=n(9736);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},9717:function(t,e,n){var r=n(5053);t.exports=function(t,e){var n,o;if("string"===e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t))||"function"==typeof(n=t.valueOf)&&!r(o=n.call(t))||"string"!==e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},713:function(t,e,n){var r=n(7344),o=n(6006),i=n(7513),a=n(6845);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},1833:function(t,e,n){var r=n(357);t.exports=r},9298:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},4247:function(t,e,n){var r=n(6845),o=n(5053),i=n(7620);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},6475:function(t,e,n){var r=n(1859);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},1859:function(t,e,n){var r=n(357),o=n(5384),i=n(2515),a=n(6190),c=n(4419),u=n(7996),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var u,s=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"==typeof e&&!i(n,"name")&&o(n,"name",e),(u=f(n)).source||(u.source=l.join("string"==typeof e?e:""))),t!==r?(s?!h&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:a(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&s(this).source||c(this)})},5454:function(t,e,n){var r=n(6504),o=n(9108);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},9108:function(t,e,n){"use strict";var r,o,i=n(7311),a=n(4650),c=n(3817),u=n(823),s=n(6527),f=n(7996).get,l=n(4475),p=n(1659),h=RegExp.prototype.exec,d=u("native-string-replace",String.prototype.replace),v=h,g=(o=/b*/g,h.call(r=/a/,"a"),h.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),m=c.UNSUPPORTED_Y||c.BROKEN_CARET,y=void 0!==/()??/.exec("")[1];(g||y||m||l||p)&&(v=function(t){var e,n,r,o,c,u,l,p=this,b=f(p),_=i(t),x=b.raw;if(x)return x.lastIndex=p.lastIndex,e=v.call(x,_),p.lastIndex=x.lastIndex,e;var w=b.groups,k=m&&p.sticky,T=a.call(p),E=p.source,S=0,O=_;if(k&&(-1===(T=T.replace("y","")).indexOf("g")&&(T+="g"),O=_.slice(p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==_.charAt(p.lastIndex-1))&&(E="(?: "+E+")",O=" "+O,S++),n=new RegExp("^(?:"+E+")",T)),y&&(n=new RegExp("^"+E+"$(?!\\s)",T)),g&&(r=p.lastIndex),o=h.call(k?n:p,O),k?o?(o.input=o.input.slice(S),o[0]=o[0].slice(S),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:g&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),y&&o&&o.length>1&&d.call(o[0],n,function(){for(c=1;cb)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")})},4300:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},4787:function(t){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},6190:function(t,e,n){var r=n(357);t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},8506:function(t,e,n){"use strict";var r=n(7344),o=n(704),i=n(2871),a=n(4952),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},814:function(t,e,n){var r=n(704).f,o=n(2515),i=n(2871)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},1822:function(t,e,n){var r=n(823),o=n(1427),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},6291:function(t,e,n){var r=n(357),o=n(6190),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},823:function(t,e,n){var r=n(9345),o=n(6291);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.0",mode:r?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},2335:function(t,e,n){var r=n(6845),o=n(272),i=n(2871)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},6137:function(t,e,n){var r=n(3849);t.exports=function(t){return r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},153:function(t,e,n){var r=n(397),o=n(7311),i=n(4300),a=function(t){return function(e,n){var a,c,u=o(i(e)),s=r(n),f=u.length;return s<0||s>=f?t?"":void 0:(a=u.charCodeAt(s))<55296||a>56319||s+1===f||(c=u.charCodeAt(s+1))<56320||c>57343?t?u.charAt(s):a:t?u.slice(s,s+2):c-56320+(a-55296<<10)+65536}};t.exports={codeAt:a(!1),charAt:a(!0)}},6293:function(t,e,n){var r=n(7457),o=n(7311),i=n(6110),a=n(4300),c=Math.ceil,u=function(t){return function(e,n,u){var s,f,l=o(a(e)),p=l.length,h=void 0===u?" ":o(u),d=r(n);return d<=p||""==h?l:((f=i.call(h,c((s=d-p)/h.length))).length>s&&(f=f.slice(0,s)),t?l+f:f+l)}};t.exports={start:u(!1),end:u(!0)}},6110:function(t,e,n){"use strict";var r=n(397),o=n(7311),i=n(4300);t.exports=function(t){var e=o(i(this)),n="",a=r(t);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(n+=e);return n}},5189:function(t,e,n){var r=n(3849),o=n(454);t.exports=function(t){return r(function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t})}},5223:function(t,e,n){var r=n(4300),o=n(7311),i="["+n(454)+"]",a=RegExp("^"+i+i+"*"),c=RegExp(i+i+"*$"),u=function(t){return function(e){var n=o(r(e));return 1&t&&(n=n.replace(a,"")),2&t&&(n=n.replace(c,"")),n}};t.exports={start:u(1),end:u(2),trim:u(3)}},727:function(t,e,n){var r,o,i,a,c=n(357),u=n(3849),s=n(8952),f=n(3815),l=n(6792),p=n(5623),h=n(170),d=c.setImmediate,v=c.clearImmediate,g=c.process,m=c.MessageChannel,y=c.Dispatch,b=0,_={},x="onreadystatechange";try{r=c.location}catch(S){}var w=function(t){if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}},k=function(t){return function(){w(t)}},T=function(t){w(t.data)},E=function(t){c.postMessage(String(t),r.protocol+"//"+r.host)};(!d||!v)&&(d=function(t){for(var e=[],n=arguments.length,r=1;n>r;)e.push(arguments[r++]);return _[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},o(b),b},v=function(t){delete _[t]},h?o=function(t){g.nextTick(k(t))}:y&&y.now?o=function(t){y.now(k(t))}:m&&!p?(a=(i=new m).port2,i.port1.onmessage=T,o=s(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts&&r&&"file:"!==r.protocol&&!u(E)?(o=E,c.addEventListener("message",T,!1)):o=x in l("script")?function(t){f.appendChild(l("script"))[x]=function(){f.removeChild(this),w(t)}}:function(t){setTimeout(k(t),0)}),t.exports={set:d,clear:v}},6943:function(t,e,n){var r=n(6504);t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},3141:function(t,e,n){var r=n(397),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},58:function(t,e,n){var r=n(7858),o=n(4300);t.exports=function(t){return r(o(t))}},397:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},7457:function(t,e,n){var r=n(397),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},3542:function(t,e,n){var r=n(4300);t.exports=function(t){return Object(r(t))}},2729:function(t,e,n){var r=n(5053),o=n(9973),i=n(9717),a=n(2871)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,c=t[a];if(void 0!==c){if(void 0===e&&(e="default"),n=c.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},1046:function(t,e,n){var r=n(2729),o=n(9973);t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},4556:function(t,e,n){var r={};r[n(2871)("toStringTag")]="z",t.exports="[object z]"===String(r)},7311:function(t,e,n){var r=n(9973);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},1427:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},7954:function(t,e,n){var r=n(6700);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7768:function(t,e,n){var r=n(2871);e.f=r},2871:function(t,e,n){var r=n(357),o=n(823),i=n(2515),a=n(1427),c=n(6700),u=n(7954),s=o("wks"),f=r.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return(!i(s,t)||!(c||"string"==typeof s[t]))&&(s[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},454:function(t){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},2231:function(t,e,n){"use strict";var r=n(4773),o=n(3849),i=n(2703),a=n(5053),c=n(3542),u=n(7457),s=n(8923),f=n(5301),l=n(9197),p=n(2871),h=n(6889),d=p("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=h>=51||!o(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),y=l("concat"),b=function(t){if(!a(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!m||!y},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;ev)throw TypeError(g);for(n=0;n=v)throw TypeError(g);s(l,p++,i)}return l.length=p,l}})},3391:function(t,e,n){var r=n(4773),o=n(3135),i=n(992);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},5247:function(t,e,n){"use strict";var r=n(4773),o=n(1269).every;r({target:"Array",proto:!0,forced:!n(9925)("every")},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},4735:function(t,e,n){var r=n(4773),o=n(2749),i=n(992);r({target:"Array",proto:!0},{fill:o}),i("fill")},2249:function(t,e,n){"use strict";var r=n(4773),o=n(1269).filter;r({target:"Array",proto:!0,forced:!n(9197)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},3275:function(t,e,n){"use strict";var r=n(4773),o=n(1269).findIndex,i=n(992),a="findIndex",c=!0;a in[]&&Array(1)[a](function(){c=!1}),r({target:"Array",proto:!0,forced:c},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},3503:function(t,e,n){"use strict";var r=n(4773),o=n(1269).find,i=n(992),a="find",c=!0;a in[]&&Array(1)[a](function(){c=!1}),r({target:"Array",proto:!0,forced:c},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},2043:function(t,e,n){"use strict";var r=n(4773),o=n(5907),i=n(3542),a=n(7457),c=n(272),u=n(5301);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=i(this),r=a(n.length);return c(t),(e=u(n,0)).length=o(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},30:function(t,e,n){"use strict";var r=n(4773),o=n(5907),i=n(3542),a=n(7457),c=n(397),u=n(5301);r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=a(e.length),r=u(e,0);return r.length=o(r,e,e,n,0,void 0===t?1:c(t)),r}})},3212:function(t,e,n){"use strict";var r=n(4773),o=n(4274);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},6497:function(t,e,n){var r=n(4773),o=n(164);r({target:"Array",stat:!0,forced:!n(865)(function(t){Array.from(t)})},{from:o})},3720:function(t,e,n){"use strict";var r=n(4773),o=n(3759).includes,i=n(992);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},7491:function(t,e,n){"use strict";var r=n(4773),o=n(3759).indexOf,i=n(9925),a=[].indexOf,c=!!a&&1/[1].indexOf(1,-0)<0,u=i("indexOf");r({target:"Array",proto:!0,forced:c||!u},{indexOf:function(t){return c?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},1915:function(t,e,n){n(4773)({target:"Array",stat:!0},{isArray:n(2703)})},1361:function(t,e,n){"use strict";var r=n(58),o=n(992),i=n(7448),a=n(7996),c=n(97),u="Array Iterator",s=a.set,f=a.getterFor(u);t.exports=c(Array,"Array",function(t,e){s(this,{type:u,target:r(t),index:0,kind:e})},function(){var t=f(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},8602:function(t,e,n){"use strict";var r=n(4773),o=n(7858),i=n(58),a=n(9925),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},6459:function(t,e,n){var r=n(4773),o=n(5004);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},5790:function(t,e,n){"use strict";var r=n(4773),o=n(1269).map;r({target:"Array",proto:!0,forced:!n(9197)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},698:function(t,e,n){"use strict";var r=n(4773),o=n(3849),i=n(8923);r({target:"Array",stat:!0,forced:o(function(){function t(){}return!(Array.of.call(t)instanceof t)})},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},2173:function(t,e,n){"use strict";var r=n(4773),o=n(2527).right,i=n(9925),a=n(6889),c=n(170);r({target:"Array",proto:!0,forced:!i("reduceRight")||!c&&a>79&&a<83},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},9594:function(t,e,n){"use strict";var r=n(4773),o=n(2527).left,i=n(9925),a=n(6889),c=n(170);r({target:"Array",proto:!0,forced:!i("reduce")||!c&&a>79&&a<83},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},6290:function(t,e,n){"use strict";var r=n(4773),o=n(5053),i=n(2703),a=n(3141),c=n(7457),u=n(58),s=n(8923),f=n(2871),l=n(9197)("slice"),p=f("species"),h=[].slice,d=Math.max;r({target:"Array",proto:!0,forced:!l},{slice:function(t,e){var n,r,f,l=u(this),v=c(l.length),g=a(t,v),m=a(void 0===e?v:e,v);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return h.call(l,g,m);for(r=new(void 0===n?Array:n)(d(m-g,0)),f=0;g1?arguments[1]:void 0)}})},9208:function(t,e,n){"use strict";var r=n(4773),o=n(272),i=n(3542),a=n(7457),c=n(7311),u=n(3849),s=n(9756),f=n(9925),l=n(1258),p=n(2285),h=n(6889),d=n(1806),v=[],g=v.sort,m=u(function(){v.sort(void 0)}),y=u(function(){v.sort(null)}),b=f("sort"),_=!u(function(){if(h)return h<70;if(!(l&&l>3)){if(p)return!0;if(d)return d<603;var t,e,n,r,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:e+r,v:n})}for(v.sort(function(t,e){return e.v-t.v}),r=0;rc(n)?1:-1}}(t))).length,r=0;rh)throw TypeError(d);for(f=u(y,r),v=0;vb-r+n;v--)delete y[v-1]}else if(n>r)for(v=b-r;v>_;v--)m=v+n-1,(g=v+r-1)in y?y[m]=y[g]:delete y[m];for(v=0;v94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},3208:function(t,e,n){var r=n(4773),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},7389:function(t,e,n){var r=n(4773),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:i((1+t)/(1-t))/2}})},99:function(t,e,n){var r=n(4773),o=n(4462),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},5715:function(t,e,n){var r=n(4773),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},5143:function(t,e,n){var r=n(4773),o=n(4807),i=Math.cosh,a=Math.abs,c=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*c*c))*(c/2)}})},4438:function(t,e,n){var r=n(4773),o=n(4807);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},4399:function(t,e,n){n(4773)({target:"Math",stat:!0},{fround:n(9636)})},9815:function(t,e,n){var r=n(4773),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,c=0,u=arguments.length,s=0;c0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},2529:function(t,e,n){var r=n(4773),o=n(3849),i=Math.imul;r({target:"Math",stat:!0,forced:o(function(){return-5!=i(4294967295,5)||2!=i.length})},{imul:function(t,e){var n=65535,r=+t,o=+e,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},299:function(t,e,n){var r=n(4773),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},8760:function(t,e,n){n(4773)({target:"Math",stat:!0},{log1p:n(7308)})},4546:function(t,e,n){var r=n(4773),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},6685:function(t,e,n){n(4773)({target:"Math",stat:!0},{sign:n(4462)})},9605:function(t,e,n){var r=n(4773),o=n(3849),i=n(4807),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},6537:function(t,e,n){var r=n(4773),o=n(4807),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},3137:function(t,e,n){n(814)(Math,"Math",!0)},6542:function(t,e,n){var r=n(4773),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},8199:function(t,e,n){"use strict";var r=n(4952),o=n(357),i=n(8153),a=n(1859),c=n(2515),u=n(6504),s=n(5079),f=n(9973),l=n(2729),p=n(3849),h=n(6527),d=n(6006).f,v=n(9629).f,g=n(704).f,m=n(5223).trim,y="Number",b=o[y],_=b.prototype,x=u(h(_))==y,w=function(t){if(f(t))throw TypeError("Cannot convert a Symbol value to a number");var e,n,r,o,i,a,c,u,s=l(t,"number");if("string"==typeof s&&s.length>2)if(43===(e=(s=m(s)).charCodeAt(0))||45===e){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;co)return NaN;return parseInt(i,r)}return+s};if(i(y,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var k,T=function t(e){var n=arguments.length<1?0:e,r=this;return r instanceof t&&(x?p(function(){_.valueOf.call(r)}):u(r)!=y)?s(new b(w(n)),r,t):w(n)},E=r?d(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),S=0;E.length>S;S++)c(b,k=E[S])&&!c(T,k)&&g(T,k,v(b,k));T.prototype=_,_.constructor=T,a(o,y,T)}},4008:function(t,e,n){n(4773)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},3290:function(t,e,n){n(4773)({target:"Number",stat:!0},{isFinite:n(8907)})},941:function(t,e,n){n(4773)({target:"Number",stat:!0},{isInteger:n(1243)})},9362:function(t,e,n){n(4773)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},8519:function(t,e,n){var r=n(4773),o=n(1243),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},2561:function(t,e,n){n(4773)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},1634:function(t,e,n){n(4773)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},977:function(t,e,n){var r=n(4773),o=n(1854);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},4318:function(t,e,n){var r=n(4773),o=n(6282);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},3595:function(t,e,n){"use strict";var r=n(4773),o=n(397),i=n(6943),a=n(6110),c=n(3849),u=1..toFixed,s=Math.floor,f=function t(e,n,r){return 0===n?r:n%2==1?t(e,n-1,r*e):t(e*e,n/2,r)},l=function(t,e,n){for(var r=-1,o=n;++r<6;)t[r]=(o+=e*t[r])%1e7,o=s(o/1e7)},p=function(t,e){for(var n=6,r=0;--n>=0;)t[n]=s((r+=t[n])/e),r=r%e*1e7},h=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=String(t[e]);n=""===n?r:n+a.call("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c(function(){u.call({})})},{toFixed:function(t){var e,n,r,c,u=i(this),s=o(t),d=[0,0,0,0,0,0],v="",g="0";if(s<0||s>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(v="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(l(d,0,n),r=s;r>=7;)l(d,1e7,0),r-=7;for(l(d,f(10,r,1),0),r=e-1;r>=23;)p(d,1<<23),r-=23;p(d,1<0?v+((c=g.length)<=s?"0."+a.call("0",s-c)+g:g.slice(0,c-s)+"."+g.slice(c-s)):v+g}})},7064:function(t,e,n){"use strict";var r=n(4773),o=n(3849),i=n(6943),a=1..toPrecision;r({target:"Number",proto:!0,forced:o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},8895:function(t,e,n){var r=n(4773),o=n(3696);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},194:function(t,e,n){n(4773)({target:"Object",stat:!0,sham:!n(4952)},{create:n(6527)})},8438:function(t,e,n){var r=n(4773),o=n(4952);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(6858)})},6985:function(t,e,n){var r=n(4773),o=n(4952);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(704).f})},57:function(t,e,n){var r=n(4773),o=n(5761).entries;r({target:"Object",stat:!0},{entries:function(t){return o(t)}})},473:function(t,e,n){var r=n(4773),o=n(5744),i=n(3849),a=n(5053),c=n(7483).onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i(function(){u(1)}),sham:!o},{freeze:function(t){return u&&a(t)?u(c(t)):t}})},2876:function(t,e,n){var r=n(4773),o=n(7421),i=n(8923);r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return o(t,function(t,n){i(e,t,n)},{AS_ENTRIES:!0}),e}})},9914:function(t,e,n){var r=n(4773),o=n(3849),i=n(58),a=n(9629).f,c=n(4952),u=o(function(){a(1)});r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},9614:function(t,e,n){var r=n(4773),o=n(4952),i=n(713),a=n(58),c=n(9629),u=n(8923);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),o=c.f,s=i(r),f={},l=0;s.length>l;)void 0!==(n=o(r,e=s[l++]))&&u(f,e,n);return f}})},3262:function(t,e,n){var r=n(4773),o=n(3849),i=n(2774).f;r({target:"Object",stat:!0,forced:o(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:i})},2135:function(t,e,n){var r=n(4773),o=n(3849),i=n(3542),a=n(8873),c=n(1304);r({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},4147:function(t,e,n){var r=n(4773),o=n(3849),i=n(5053),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isExtensible:function(t){return!!i(t)&&(!a||a(t))}})},4949:function(t,e,n){var r=n(4773),o=n(3849),i=n(5053),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},8743:function(t,e,n){var r=n(4773),o=n(3849),i=n(5053),a=Object.isSealed;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},4409:function(t,e,n){n(4773)({target:"Object",stat:!0},{is:n(4787)})},4633:function(t,e,n){var r=n(4773),o=n(3542),i=n(671);r({target:"Object",stat:!0,forced:n(3849)(function(){i(1)})},{keys:function(t){return i(o(t))}})},3116:function(t,e,n){var r=n(4773),o=n(5053),i=n(7483).onFreeze,a=n(5744),c=n(3849),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:c(function(){u(1)}),sham:!a},{preventExtensions:function(t){return u&&o(t)?u(i(t)):t}})},9472:function(t,e,n){var r=n(4773),o=n(5053),i=n(7483).onFreeze,a=n(5744),c=n(3849),u=Object.seal;r({target:"Object",stat:!0,forced:c(function(){u(1)}),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},5338:function(t,e,n){n(4773)({target:"Object",stat:!0},{setPrototypeOf:n(4234)})},3651:function(t,e,n){var r=n(4556),o=n(1859),i=n(2644);r||o(Object.prototype,"toString",i,{unsafe:!0})},5174:function(t,e,n){var r=n(4773),o=n(5761).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},7695:function(t,e,n){var r=n(4773),o=n(1854);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},7048:function(t,e,n){var r=n(4773),o=n(6282);r({global:!0,forced:parseInt!=o},{parseInt:o})},5788:function(t,e,n){"use strict";var r,o,i,a,c=n(4773),u=n(9345),s=n(357),f=n(7344),l=n(3507),p=n(1859),h=n(6475),d=n(4234),v=n(814),g=n(8506),m=n(5053),y=n(272),b=n(4697),_=n(4419),x=n(7421),w=n(865),k=n(2335),T=n(727).set,E=n(2839),S=n(4247),O=n(1714),P=n(7620),j=n(9298),M=n(7996),R=n(8153),N=n(2871),A=n(250),D=n(170),I=n(6889),C=N("species"),L="Promise",z=M.get,F=M.set,Z=M.getterFor(L),W=l&&l.prototype,H=l,G=W,B=s.TypeError,U=s.document,q=s.process,V=P.f,$=V,X=!!(U&&U.createEvent&&s.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,K="unhandledrejection",J=!1,Q=R(L,function(){var t=_(H),e=t!==String(H);if(!e&&66===I||u&&!G.finally)return!0;if(I>=51&&/native code/.test(t))return!1;var n=new H(function(t){t(1)}),r=function(t){t(function(){},function(){})};return(n.constructor={})[C]=r,!(J=n.then(function(){})instanceof r)||!e&&A&&!Y}),tt=Q||!w(function(t){H.all(t).catch(function(){})}),et=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},nt=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;E(function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var a,c,u,s=n[i++],f=o?s.ok:s.fail,l=s.resolve,p=s.reject,h=s.domain;try{f?(o||(2===t.rejection&&at(t),t.rejection=1),!0===f?a=r:(h&&h.enter(),a=f(r),h&&(h.exit(),u=!0)),a===s.promise?p(B("Promise-chain cycle")):(c=et(a))?c.call(a,l,p):l(a)):p(r)}catch(d){h&&!u&&h.exit(),p(d)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&ot(t)})}},rt=function(t,e,n){var r,o;X?((r=U.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!Y&&(o=s["on"+t])?o(r):t===K&&O("Unhandled promise rejection",n)},ot=function(t){T.call(s,function(){var e,n=t.facade,r=t.value;if(it(t)&&(e=j(function(){D?q.emit("unhandledRejection",r,n):rt(K,n,r)}),t.rejection=D||it(t)?2:1,e.error))throw e.value})},it=function(t){return 1!==t.rejection&&!t.parent},at=function(t){T.call(s,function(){var e=t.facade;D?q.emit("rejectionHandled",e):rt("rejectionhandled",e,t.value)})},ct=function(t,e,n){return function(r){t(e,r,n)}},ut=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,nt(t,!0))},st=function t(e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===n)throw B("Promise can't be resolved itself");var o=et(n);o?E(function(){var r={done:!1};try{o.call(n,ct(t,r,e),ct(ut,r,e))}catch(i){ut(r,i,e)}}):(e.value=n,e.state=1,nt(e,!1))}catch(i){ut({done:!1},i,e)}}};if(Q&&(H=function(t){b(this,H,L),y(t),r.call(this);var e=z(this);try{t(ct(st,e),ct(ut,e))}catch(n){ut(e,n)}},(r=function(t){F(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(G=H.prototype,{then:function(t,e){var n=Z(this),r=V(k(this,H));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=D?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&nt(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=z(t);this.promise=t,this.resolve=ct(st,e),this.reject=ct(ut,e)},P.f=V=function(t){return t===H||t===i?new o(t):$(t)},!u&&"function"==typeof l&&W!==Object.prototype)){a=W.then,J||(p(W,"then",function(t,e){var n=this;return new H(function(t,e){a.call(n,t,e)}).then(t,e)},{unsafe:!0}),p(W,"catch",G.catch,{unsafe:!0}));try{delete W.constructor}catch(ft){}d&&d(W,G)}c({global:!0,wrap:!0,forced:Q},{Promise:H}),v(H,L,!1,!0),g(L),i=f(L),c({target:L,stat:!0,forced:Q},{reject:function(t){var e=V(this);return e.reject.call(void 0,t),e.promise}}),c({target:L,stat:!0,forced:u||Q},{resolve:function(t){return S(u&&this===i?H:this,t)}}),c({target:L,stat:!0,forced:tt},{all:function(t){var e=this,n=V(e),r=n.resolve,o=n.reject,i=j(function(){var n=y(e.resolve),i=[],a=0,c=1;x(t,function(t){var u=a++,s=!1;i.push(void 0),c++,n.call(e,t).then(function(t){s||(s=!0,i[u]=t,--c||r(i))},o)}),--c||r(i)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=V(e),r=n.reject,o=j(function(){var o=y(e.resolve);x(t,function(t){o.call(e,t).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},6317:function(t,e,n){var r=n(4773),o=n(357),i=n(814);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},6149:function(t,e,n){var r=n(4952),o=n(357),i=n(8153),a=n(5079),c=n(5384),u=n(704).f,s=n(6006).f,f=n(6914),l=n(7311),p=n(4650),h=n(3817),d=n(1859),v=n(3849),g=n(2515),m=n(7996).enforce,y=n(8506),b=n(2871),_=n(4475),x=n(1659),w=b("match"),k=o.RegExp,T=k.prototype,E=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,S=/a/g,O=/a/g,P=new k(S)!==S,j=h.UNSUPPORTED_Y;if(i("RegExp",r&&(!P||j||_||x||v(function(){return O[w]=!1,k(S)!=S||k(O)==O||"/a/i"!=k(S,"i")})))){for(var M=function t(e,n){var r,o,i,u,s,h,d=this instanceof t,v=f(e),y=void 0===n,b=[],w=e;if(!d&&v&&y&&e.constructor===t)return e;if((v||e instanceof t)&&(e=e.source,y&&(n="flags"in w?w.flags:p.call(w))),e=void 0===e?"":l(e),n=void 0===n?"":l(n),w=e,_&&"dotAll"in S&&(o=!!n&&n.indexOf("s")>-1)&&(n=n.replace(/s/g,"")),r=n,j&&"sticky"in S&&(i=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,"")),x&&(e=(u=function(t){for(var e,n=t.length,r=0,o="",i=[],a={},c=!1,u=!1,s=0,f="";r<=n;r++){if("\\"===(e=t.charAt(r)))e+=t.charAt(++r);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:E.test(t.slice(r+1))&&(r+=2,u=!0),o+=e,s++;continue;case">"===e&&u:if(""===f||g(a,f))throw new SyntaxError("Invalid capture group name");a[f]=!0,i.push([f,s]),u=!1,f="";continue}u?f+=e:o+=e}return[o,i]}(e))[0],b=u[1]),s=a(k(e,n),d?this:T,t),(o||i||b.length)&&(h=m(s),o&&(h.dotAll=!0,h.raw=t(function(t){for(var e,n=t.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(e=t.charAt(r))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+t.charAt(++r);return o}(e),r)),i&&(h.sticky=!0),b.length&&(h.groups=b)),e!==w)try{c(s,"source",""===w?"(?:)":w)}catch(O){}return s},R=function(t){t in M||u(M,t,{configurable:!0,get:function(){return k[t]},set:function(e){k[t]=e}})},N=s(k),A=0;N.length>A;)R(N[A++]);T.constructor=M,M.prototype=T,d(o,"RegExp",M)}y("RegExp")},9624:function(t,e,n){"use strict";var r=n(4773),o=n(9108);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},5318:function(t,e,n){var r=n(4952),o=n(704),i=n(4650),a=n(3849);r&&a(function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})})&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},2385:function(t,e,n){"use strict";var r=n(1859),o=n(6845),i=n(7311),a=n(3849),c=n(4650),u="toString",s=RegExp.prototype,f=s[u];(a(function(){return"/a/b"!=f.call({source:"a",flags:"b"})})||f.name!=u)&&r(RegExp.prototype,u,function(){var t=o(this),e=i(t.source),n=t.flags;return"/"+e+"/"+i(void 0===n&&t instanceof RegExp&&!("flags"in s)?c.call(t):n)},{unsafe:!0})},8363:function(t,e,n){"use strict";var r=n(8545),o=n(9274);t.exports=r("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},o)},6494:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},488:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("big")},{big:function(){return o(this,"big","","")}})},979:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("blink")},{blink:function(){return o(this,"blink","","")}})},2226:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("bold")},{bold:function(){return o(this,"b","","")}})},2817:function(t,e,n){"use strict";var r=n(4773),o=n(153).codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},1619:function(t,e,n){"use strict";var r,o=n(4773),i=n(9629).f,a=n(7457),c=n(7311),u=n(3078),s=n(4300),f=n(3211),l=n(9345),p="".endsWith,h=Math.min,d=f("endsWith");o({target:"String",proto:!0,forced:!(!l&&!d&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||d)},{endsWith:function(t){var e=c(s(this));u(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),o=void 0===n?r:h(a(n),r),i=c(t);return p?p.call(e,i,o):e.slice(o-i.length,o)===i}})},4716:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("fixed")},{fixed:function(){return o(this,"tt","","")}})},3004:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},4924:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},5663:function(t,e,n){var r=n(4773),o=n(3141),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},1610:function(t,e,n){"use strict";var r=n(4773),o=n(3078),i=n(4300),a=n(7311);r({target:"String",proto:!0,forced:!n(3211)("includes")},{includes:function(t){return!!~a(i(this)).indexOf(a(o(t)),arguments.length>1?arguments[1]:void 0)}})},3062:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("italics")},{italics:function(){return o(this,"i","","")}})},2999:function(t,e,n){"use strict";var r=n(153).charAt,o=n(7311),i=n(7996),a=n(97),c="String Iterator",u=i.set,s=i.getterFor(c);a(String,"String",function(t){u(this,{type:c,string:o(t),index:0})},function(){var t,e=s(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})})},1661:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("link")},{link:function(t){return o(this,"a","href",t)}})},7814:function(t,e,n){"use strict";var r=n(4398),o=n(6845),i=n(7457),a=n(7311),c=n(4300),u=n(6987),s=n(5454);r("match",function(t,e,n){return[function(e){var n=c(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](a(n))},function(t){var r=o(this),c=a(t),f=n(e,r,c);if(f.done)return f.value;if(!r.global)return s(r,c);var l=r.unicode;r.lastIndex=0;for(var p,h=[],d=0;null!==(p=s(r,c));){var v=a(p[0]);h[d]=v,""===v&&(r.lastIndex=u(c,i(r.lastIndex),l)),d++}return 0===d?null:h}]})},7505:function(t,e,n){var r=n(4773),o=n(58),i=n(7457),a=n(7311);r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,c=[],u=0;n>u;)c.push(a(e[u++])),u=T&&(k+=h.slice(T,O)+N,T=O+S.length)}return k+h.slice(T)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})||!m||y)},3326:function(t,e,n){"use strict";var r=n(4398),o=n(6845),i=n(4300),a=n(4787),c=n(7311),u=n(5454);r("search",function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](c(n))},function(t){var r=o(this),i=c(t),s=n(e,r,i);if(s.done)return s.value;var f=r.lastIndex;a(f,0)||(r.lastIndex=0);var l=u(r,i);return a(r.lastIndex,f)||(r.lastIndex=f),null===l?-1:l.index}]})},7398:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("small")},{small:function(){return o(this,"small","","")}})},9692:function(t,e,n){"use strict";var r=n(4398),o=n(6914),i=n(6845),a=n(4300),c=n(2335),u=n(6987),s=n(7457),f=n(7311),l=n(5454),p=n(9108),h=n(3817),d=n(3849),v=h.UNSUPPORTED_Y,g=[].push,m=Math.min,y=4294967295;r("split",function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=f(a(this)),i=void 0===n?y:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var c,u,s,l=[],h=0,d=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=p.call(d,r))&&!((u=d.lastIndex)>h&&(l.push(r.slice(h,c.index)),c.length>1&&c.index=i));)d.lastIndex===c.index&&d.lastIndex++;return h===r.length?(s||!d.test(""))&&l.push(""):l.push(r.slice(h)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(f(o),e,n)},function(t,o){var a=i(this),p=f(t),h=n(r,a,p,o,r!==e);if(h.done)return h.value;var d=c(a,RegExp),g=a.unicode,b=new d(v?"^(?:"+a.source+")":a,(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(v?"g":"y")),_=void 0===o?y:o>>>0;if(0===_)return[];if(0===p.length)return null===l(b,p)?[p]:[];for(var x=0,w=0,k=[];w1?arguments[1]:void 0,e.length)),r=c(t);return p?p.call(e,r,n):e.slice(n,n+r.length)===r}})},5503:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("strike")},{strike:function(){return o(this,"strike","","")}})},5343:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("sub")},{sub:function(){return o(this,"sub","","")}})},8356:function(t,e,n){"use strict";var r=n(4773),o=n(9112);r({target:"String",proto:!0,forced:n(6137)("sup")},{sup:function(){return o(this,"sup","","")}})},6595:function(t,e,n){"use strict";var r=n(4773),o=n(5223).trim;r({target:"String",proto:!0,forced:n(5189)("trim")},{trim:function(){return o(this)}})},2326:function(t,e,n){n(7949)("asyncIterator")},7607:function(t,e,n){"use strict";var r=n(4773),o=n(4952),i=n(357),a=n(2515),c=n(5053),u=n(704).f,s=n(2242),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},p=function t(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof t?new f(e):void 0===e?f():f(e);return""===e&&(l[n]=!0),n};s(p,f);var h=p.prototype=f.prototype;h.constructor=p;var d=h.toString,v="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=d.call(t);if(a(l,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},3812:function(t,e,n){n(7949)("hasInstance")},6079:function(t,e,n){n(7949)("isConcatSpreadable")},4620:function(t,e,n){n(7949)("iterator")},2136:function(t,e,n){"use strict";var r=n(4773),o=n(357),i=n(7344),a=n(9345),c=n(4952),u=n(6700),s=n(3849),f=n(2515),l=n(2703),p=n(5053),h=n(9973),d=n(6845),v=n(3542),g=n(58),m=n(1046),y=n(7311),b=n(4618),_=n(6527),x=n(671),w=n(6006),k=n(2774),T=n(7513),E=n(9629),S=n(704),O=n(7023),P=n(5384),j=n(1859),M=n(823),R=n(1822),N=n(4199),A=n(1427),D=n(2871),I=n(7768),C=n(7949),L=n(814),z=n(7996),F=n(1269).forEach,Z=R("hidden"),W="Symbol",H="prototype",G=D("toPrimitive"),B=z.set,U=z.getterFor(W),q=Object[H],V=o.Symbol,$=i("JSON","stringify"),X=E.f,Y=S.f,K=k.f,J=O.f,Q=M("symbols"),tt=M("op-symbols"),et=M("string-to-symbol-registry"),nt=M("symbol-to-string-registry"),rt=M("wks"),ot=o.QObject,it=!ot||!ot[H]||!ot[H].findChild,at=c&&s(function(){return 7!=_(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=X(q,e);r&&delete q[e],Y(t,e,n),r&&t!==q&&Y(q,e,r)}:Y,ct=function(t,e){var n=Q[t]=_(V[H]);return B(n,{type:W,tag:t,description:e}),c||(n.description=e),n},ut=function t(e,n,r){e===q&&t(tt,n,r),d(e);var o=m(n);return d(r),f(Q,o)?(r.enumerable?(f(e,Z)&&e[Z][o]&&(e[Z][o]=!1),r=_(r,{enumerable:b(0,!1)})):(f(e,Z)||Y(e,Z,b(1,{})),e[Z][o]=!0),at(e,o,r)):Y(e,o,r)},st=function(t,e){d(t);var n=g(e),r=x(n).concat(ht(n));return F(r,function(e){(!c||ft.call(n,e))&&ut(t,e,n[e])}),t},ft=function(t){var e=m(t),n=J.call(this,e);return!(this===q&&f(Q,e)&&!f(tt,e))&&(!(n||!f(this,e)||!f(Q,e)||f(this,Z)&&this[Z][e])||n)},lt=function(t,e){var n=g(t),r=m(e);if(n!==q||!f(Q,r)||f(tt,r)){var o=X(n,r);return o&&f(Q,r)&&!(f(n,Z)&&n[Z][r])&&(o.enumerable=!0),o}},pt=function(t){var e=K(g(t)),n=[];return F(e,function(t){!f(Q,t)&&!f(N,t)&&n.push(t)}),n},ht=function(t){var e=t===q,n=K(e?tt:g(t)),r=[];return F(n,function(t){f(Q,t)&&(!e||f(q,t))&&r.push(Q[t])}),r};u||(j((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=A(t),n=function t(n){this===q&&t.call(tt,n),f(this,Z)&&f(this[Z],e)&&(this[Z][e]=!1),at(this,e,b(1,n))};return c&&it&&at(q,e,{configurable:!0,set:n}),ct(e,t)})[H],"toString",function(){return U(this).tag}),j(V,"withoutSetter",function(t){return ct(A(t),t)}),O.f=ft,S.f=ut,E.f=lt,w.f=k.f=pt,T.f=ht,I.f=function(t){return ct(D(t),t)},c&&(Y(V[H],"description",{configurable:!0,get:function(){return U(this).description}}),a||j(q,"propertyIsEnumerable",ft,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),F(x(rt),function(t){C(t)}),r({target:W,stat:!0,forced:!u},{for:function(t){var e=y(t);if(f(et,e))return et[e];var n=V(e);return et[e]=n,nt[n]=e,n},keyFor:function(t){if(!h(t))throw TypeError(t+" is not a symbol");if(f(nt,t))return nt[t]},useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?_(t):st(_(t),e)},defineProperty:ut,defineProperties:st,getOwnPropertyDescriptor:lt}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pt,getOwnPropertySymbols:ht}),r({target:"Object",stat:!0,forced:s(function(){T.f(1)})},{getOwnPropertySymbols:function(t){return T.f(v(t))}}),$&&r({target:"JSON",stat:!0,forced:!u||s(function(){var t=V();return"[null]"!=$([t])||"{}"!=$({a:t})||"{}"!=$(Object(t))})},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!h(t))return l(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!h(e))return e}),o[1]=e,$.apply(null,o)}}),V[H][G]||P(V[H],G,V[H].valueOf),L(V,W),N[Z]=!0},8439:function(t,e,n){n(7949)("matchAll")},608:function(t,e,n){n(7949)("match")},7683:function(t,e,n){n(7949)("replace")},5463:function(t,e,n){n(7949)("search")},2070:function(t,e,n){n(7949)("species")},2676:function(t,e,n){n(7949)("split")},4823:function(t,e,n){n(7949)("toPrimitive")},9134:function(t,e,n){n(7949)("toStringTag")},1622:function(t,e,n){n(7949)("unscopables")},9142:function(t,e,n){"use strict";var r,o=n(357),i=n(6475),a=n(7483),c=n(8545),u=n(2903),s=n(5053),f=n(7996).enforce,l=n(7013),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,d=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},v=t.exports=c("WeakMap",d,u);if(l&&p){r=u.getConstructor(d,"WeakMap",!0),a.enable();var g=v.prototype,m=g.delete,y=g.has,b=g.get,_=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.delete(t)}return m.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.has(t)}return y.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=f(this);n.frozen||(n.frozen=new r),y.call(this,t)?_.call(this,t,e):n.frozen.set(t,e)}else _.call(this,t,e);return this}})}},9364:function(t,e,n){var r=n(357),o=n(7793),i=n(4274),a=n(5384);for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(f){s.forEach=i}}},5302:function(t,e,n){var r=n(357),o=n(7793),i=n(1361),a=n(5384),c=n(2871),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(v){h[u]=f}if(h[s]||a(h,s,l),o[l])for(var d in i)if(h[d]!==i[d])try{a(h,d,i[d])}catch(v){h[d]=i[d]}}}},333:function(t,e,n){n(5704),n(8115),n(7821),n(3138),n(2786),n(2633),n(6718),n(6989),n(1170),n(9062),n(4101),n(8905),n(9421),n(408),n(4144);var r=n(6950);t.exports=r.Reflect},7625:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},8634:function(t,e,n){var r=n(726);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1099:function(t,e,n){var r=n(726);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},452:function(t,e,n){var r=n(8643),o=n(5902),i=n(5996),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},6644:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},9420:function(t,e,n){var r=n(2900),o=n(6644),i=n(4563)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},9:function(t,e,n){var r=n(7791),o=n(9376),i=n(3099),a=n(2975);t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},1001:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1163:function(t,e,n){var r=n(1864),o=n(3099).f,i=n(815),a=n(7763),c=n(2341),u=n(9),s=n(7215);t.exports=function(t,e){var n,f,l,p,h,d=t.target,v=t.global,g=t.stat;if(n=v?r:g?r[d]||c(d,{}):(r[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(v?f:d+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},8597:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},9352:function(t,e,n){var r=n(8597);t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},2702:function(t,e,n){"use strict";var r=n(7625),o=n(726),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o"+t+""},g=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}m="undefined"!=typeof document?document.domain&&r?g(r):function(){var t,e=s("iframe");return e.style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F}():g(r);for(var t=a.length;t--;)delete m[l][a[t]];return m()};c[h]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d[l]=o(t),n=new d,d[l]=null,n[h]=t):n=m(),void 0===e?n:i(n,e)}},988:function(t,e,n){var r=n(7012),o=n(2975),i=n(1099),a=n(8032);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},2975:function(t,e,n){var r=n(7012),o=n(7091),i=n(1099),a=n(6582),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e),i(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},3099:function(t,e,n){var r=n(7012),o=n(5600),i=n(3203),a=n(8643),c=n(6582),u=n(7791),s=n(7091),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e),s)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},4564:function(t,e,n){var r=n(7759),o=n(1001).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},7593:function(t,e){e.f=Object.getOwnPropertySymbols},3963:function(t,e,n){var r=n(7791),o=n(6174),i=n(2650),a=n(1335),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},7759:function(t,e,n){var r=n(7791),o=n(8643),i=n(452).indexOf,a=n(3536);t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},8032:function(t,e,n){var r=n(7759),o=n(1001);t.exports=Object.keys||function(t){return r(t,o)}},5600:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},1464:function(t,e,n){var r=n(1099),o=n(8634);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},3119:function(t,e,n){"use strict";var r=n(2900),o=n(9420);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},8297:function(t,e,n){var r=n(726);t.exports=function(t,e){var n,o;if("string"===e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t))||"function"==typeof(n=t.valueOf)&&!r(o=n.call(t))||"string"!==e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},9376:function(t,e,n){var r=n(3626),o=n(4564),i=n(7593),a=n(1099);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},6950:function(t,e,n){var r=n(1864);t.exports=r},7763:function(t,e,n){var r=n(1864),o=n(815),i=n(7791),a=n(2341),c=n(7720),u=n(2493),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var u,s=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"==typeof e&&!i(n,"name")&&o(n,"name",e),(u=f(n)).source||(u.source=l.join("string"==typeof e?e:""))),t!==r?(s?!h&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:a(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&s(this).source||c(this)})},5025:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},2341:function(t,e,n){var r=n(1864);t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},8242:function(t,e,n){var r=n(2975).f,o=n(7791),i=n(4563)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},2650:function(t,e,n){var r=n(7719),o=n(4295),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},9941:function(t,e,n){var r=n(1864),o=n(2341),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},7719:function(t,e,n){var r=n(7515),o=n(9941);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.2",mode:r?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},5996:function(t,e,n){var r=n(9463),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},8643:function(t,e,n){var r=n(6169),o=n(5025);t.exports=function(t){return r(o(t))}},9463:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},5902:function(t,e,n){var r=n(9463),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},6174:function(t,e,n){var r=n(5025);t.exports=function(t){return Object(r(t))}},8495:function(t,e,n){var r=n(726),o=n(6186),i=n(8297),a=n(4563)("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,c=t[a];if(void 0!==c){if(void 0===e&&(e="default"),n=c.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},6582:function(t,e,n){var r=n(8495),o=n(6186);t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},2900:function(t,e,n){var r={};r[n(4563)("toStringTag")]="z",t.exports="[object z]"===String(r)},4295:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},4431:function(t,e,n){var r=n(7040);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4563:function(t,e,n){var r=n(1864),o=n(7719),i=n(7791),a=n(4295),c=n(7040),u=n(4431),s=o("wks"),f=r.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return(!i(s,t)||!(c||"string"==typeof s[t]))&&(s[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},5704:function(t,e,n){var r=n(2900),o=n(7763),i=n(3119);r||o(Object.prototype,"toString",i,{unsafe:!0})},8115:function(t,e,n){var r=n(1163),o=n(3626),i=n(7625),a=n(1099),c=n(8597),u=o("Reflect","apply"),s=Function.apply;r({target:"Reflect",stat:!0,forced:!c(function(){u(function(){})})},{apply:function(t,e,n){return i(t),a(n),u?u(t,e,n):s.call(t,e,n)}})},7821:function(t,e,n){var r=n(1163),o=n(3626),i=n(7625),a=n(1099),c=n(726),u=n(8724),s=n(2702),f=n(8597),l=o("Reflect","construct"),p=f(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),h=!f(function(){l(function(){})}),d=p||h;r({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(h&&!p)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(s.apply(t,r))}var o=n.prototype,f=u(c(o)?o:Object.prototype),d=Function.apply.call(t,f,e);return c(d)?d:f}})},3138:function(t,e,n){var r=n(1163),o=n(7012),i=n(1099),a=n(6582),c=n(2975);r({target:"Reflect",stat:!0,forced:n(8597)(function(){Reflect.defineProperty(c.f({},1,{value:1}),1,{value:2})}),sham:!o},{defineProperty:function(t,e,n){i(t);var r=a(e);i(n);try{return c.f(t,r,n),!0}catch(o){return!1}}})},2786:function(t,e,n){var r=n(1163),o=n(1099),i=n(3099).f;r({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},6718:function(t,e,n){var r=n(1163),o=n(7012),i=n(1099),a=n(3099);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(t,e){return a.f(i(t),e)}})},6989:function(t,e,n){var r=n(1163),o=n(1099),i=n(3963);r({target:"Reflect",stat:!0,sham:!n(1335)},{getPrototypeOf:function(t){return i(o(t))}})},2633:function(t,e,n){var r=n(1163),o=n(726),i=n(1099),a=n(7463),c=n(3099),u=n(3963);r({target:"Reflect",stat:!0},{get:function t(e,n){var r,s,f=arguments.length<3?e:arguments[2];return i(e)===f?e[n]:(r=c.f(e,n))?a(r)?r.value:void 0===r.get?void 0:r.get.call(f):o(s=u(e))?t(s,n,f):void 0}})},1170:function(t,e,n){n(1163)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},9062:function(t,e,n){var r=n(1163),o=n(1099),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(t){return o(t),!i||i(t)}})},4101:function(t,e,n){n(1163)({target:"Reflect",stat:!0},{ownKeys:n(9376)})},8905:function(t,e,n){var r=n(1163),o=n(3626),i=n(1099);r({target:"Reflect",stat:!0,sham:!n(9352)},{preventExtensions:function(t){i(t);try{var e=o("Object","preventExtensions");return e&&e(t),!0}catch(n){return!1}}})},408:function(t,e,n){var r=n(1163),o=n(1099),i=n(8634),a=n(1464);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){o(t),i(e);try{return a(t,e),!0}catch(n){return!1}}})},9421:function(t,e,n){var r=n(1163),o=n(1099),i=n(726),a=n(7463),c=n(8597),u=n(2975),s=n(3099),f=n(3963),l=n(3203);r({target:"Reflect",stat:!0,forced:c(function(){var t=function(){},e=u.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)})},{set:function t(e,n,r){var c,p,h,d=arguments.length<4?e:arguments[3],v=s.f(o(e),n);if(!v){if(i(p=f(e)))return t(p,n,r,d);v=l(0)}if(a(v)){if(!1===v.writable||!i(d))return!1;if(c=s.f(d,n)){if(c.get||c.set||!1===c.writable)return!1;c.value=r,u.f(d,n,c)}else u.f(d,n,l(0,r))}else{if(void 0===(h=v.set))return!1;h.call(d,r)}return!0}})},4144:function(t,e,n){var r=n(1163),o=n(1864),i=n(8242);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},6799:function(){var t,e,n,r;r={},function(t,e){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=p}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function o(e,r,o){var i=new n;return r&&(i.fill="both",i.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function(n){if("auto"!=e[n]){if(("number"==typeof i[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n]))||"fill"==n&&-1==f.indexOf(e[n])||"direction"==n&&-1==l.indexOf(e[n])||"playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;i[n]=e[n]}}):i.duration=e,i}function i(t,e,n,r){return t<0||t>1||n<0||n>1?p:function(o){function i(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(o<=0){var a=0;return t>0?a=e/t:!e&&n>0&&(a=r/n),a*o}if(o>=1){var c=0;return n<1?c=(r-1)/(n-1):1==n&&t<1&&(c=(e-1)/(t-1)),1+c*(o-1)}for(var u=0,s=1;u=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function c(t){m||(m=document.createElement("div").style),m.animationTimingFunction="",m.animationTimingFunction=t;var e=m.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return p;var e=b.exec(t);if(e)return i.apply(this,e.slice(1).map(Number));var n=_.exec(t);if(n)return a(Number(n[1]),v);var r=x.exec(t);return r?a(Number(r[1]),{start:h,middle:d,end:v}[r[2]]):g[t]||p}function s(t,e,n){if(null==e)return w;var r=n.delay+t+n.endDelay;return e=Math.min(n.delay+t,r)?T:E}var f="backwards|forwards|both|none".split("|"),l="reverse|alternate|alternate-reverse".split("|"),p=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(c(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var h=1,d=.5,v=0,g={ease:i(.25,.1,.25,1),"ease-in":i(.42,0,1,1),"ease-out":i(0,0,.58,1),"ease-in-out":i(.42,0,.58,1),"step-start":a(1,h),"step-middle":a(1,d),"step-end":a(1,v)},m=null,y="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",b=new RegExp("cubic-bezier\\("+y+","+y+","+y+","+y+"\\)"),_=/steps\(\s*(\d+)\s*\)/,x=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,w=0,k=1,T=2,E=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=o,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return o(e=t.numericTimingToObject(e),n)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,n){var r=s(t,e,n),o=function(t,e,n,r,o){switch(r){case k:return"backwards"==e||"both"==e?0:null;case E:return n-o;case T:return"forwards"==e||"both"==e?t:null;case w:return null}}(t,n.fill,e,r,n.delay);if(null===o)return null;var i=function(t,e,n,r,o){var i=o;return 0===t?e!==k&&(i+=n):i+=r/t,i}(n.duration,r,n.iterations,o,n.iterationStart),a=function(t,e,n,r,o,i){var a=t===1/0?e%1:t%1;return 0!==a||n!==T||0===r||0===o&&0!==i||(a=1),a}(i,n.iterationStart,r,n.iterations,o,n.duration),c=function(t,e,n,r){return t===T&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,a,i),u=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var o=e;"alternate-reverse"===t&&(o+=1),r="normal",o!==1/0&&o%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,c,a);return n._easingFunction(u)},t.calculatePhase=s,t.normalizeEasing=c,t.parseEasingFunction=u}(n={}),function(t,e){function n(t,e){return t in u&&u[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var o=i[t];if(o)for(var c in a.style[t]=e,o){var u=o[c];r[u]=n(u,a.style[u])}else r[t]=n(t,e)}}function o(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var o,i=r.length,a=0;a1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==o){if("add"==i||"accumulate"==i)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=i)throw new TypeError("Invalid composite mode "+i+".")}else i="easing"==o?t.normalizeEasing(i):""+i;r(o,i,n)}return null==n.offset&&(n.offset=null),null==n.easing&&(n.easing="linear"),n}),i=!0,a=-1/0,c=0;c=0&&t.offset<=1}),i||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,o=1;o=t.applyFrom&&rthis._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,n){this._style[e]=n,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(n)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},a)r.prototype[u]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(u,u in c);for(var s in document.documentElement.style)s in i||s in a||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(s);t.apply=function(e,o,i){(function(t){if(!t._webAnimationsPatchedStyle){var e=new r(t);try{n(t,"style",{get:function(){return e}})}catch(i){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}})(e),e.style._set(t.propertyName(o),i)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(r),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(r),function(t,e){function n(t,e,r){if("number"==typeof t&&"number"==typeof e)return t*(1-r)+e*r;if("boolean"==typeof t&&"boolean"==typeof e)return r<.5?t:e;if(t.length==e.length){for(var o=[],i=0;i0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var n=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new r(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){n.forEach(function(t){t.call(e.target,e)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(n,r),function(t,e,n){function r(t){var e=s;s=[],t1e-4?(g=.5/Math.sqrt(y),m=[(p[2][1]-p[1][2])*g,(p[0][2]-p[2][0])*g,(p[1][0]-p[0][1])*g,.25/g]):p[0][0]>p[1][1]&&p[0][0]>p[2][2]?m=[.25*(g=2*Math.sqrt(1+p[0][0]-p[1][1]-p[2][2])),(p[0][1]+p[1][0])/g,(p[0][2]+p[2][0])/g,(p[2][1]-p[1][2])/g]:p[1][1]>p[2][2]?(g=2*Math.sqrt(1+p[1][1]-p[0][0]-p[2][2]),m=[(p[0][1]+p[1][0])/g,.25*g,(p[1][2]+p[2][1])/g,(p[0][2]-p[2][0])/g]):(g=2*Math.sqrt(1+p[2][2]-p[0][0]-p[1][1]),m=[(p[0][2]+p[2][0])/g,(p[1][2]+p[2][1])/g,.25*g,(p[1][0]-p[0][1])/g]),[l,h,d,m,s]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[c(a(t))]},t.transformListToMatrix=a}(r),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,o){for(var i=[],a=[],c=[],u=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,o.length),s=0;s=1?e:"visible"}]},["visibility"])}(r),function(t,e){function n(t){t=t.trim(),i.fillStyle="#000",i.fillStyle=t;var e=i.fillStyle;if(i.fillStyle="#fff",i.fillStyle=t,e==i.fillStyle){i.fillRect(0,0,1,1);var n=i.getImageData(0,0,1,1).data;i.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(Math.max(0,Math.min(255,e[n]/e[3])));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var o=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");o.width=o.height=1;var i=o.getContext("2d");t.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,n),t.mergeColors=r}(r),function(t,e){function n(t){function e(){var e=a.exec(t);i=e?e[0]:void 0}function n(){if("("!==i)return function(){var t=Number(i);return e(),t}();e();var t=o();return")"!==i?NaN:(e(),t)}function r(){for(var t=n();"*"===i||"/"===i;){var r=i;e();var o=n();"*"===r?t*=o:t/=o}return t}function o(){for(var t=r();"+"===i||"-"===i;){var n=i;e();var o=r();"+"===n?t+=o:t-=o}return t}var i,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),o()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.replace(t,function(t){return r[t]=null,"U"+t});for(var o="U("+t.source+")",i=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+o,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),a=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],c=0;c1?"calc("+n+")":n}]}var a="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",c=r.bind(null,new RegExp(a,"g")),u=r.bind(null,new RegExp(a+"|%","g")),s=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=c,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=s,t.mergeDimensions=i;var f=t.consumeParenthesised.bind(null,c),l=t.consumeRepeated.bind(void 0,f,/^/),p=t.consumeRepeated.bind(void 0,l,/^,/);t.consumeSizePairList=p;var h=t.mergeNestedRepeated.bind(void 0,o," "),d=t.mergeNestedRepeated.bind(void 0,h,",");t.mergeNonNegativeSizePair=h,t.addPropertiesHandler(function(t){var e=p(t);if(e&&""==e[1])return e[0]},d,["background-size"]),t.addPropertiesHandler(u,o,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(u,i,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(r),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var o=t.mergeWrappedNestedRepeated.bind(null,function(t){return"rect("+t+")"},function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var o=r?e:n;if("auto"==o)return"auto";var i=t.mergeDimensions(o,o);return i[2](i[0])}]:t.mergeDimensions(e,n)},", ");t.parseBox=r,t.mergeBoxes=o,t.addPropertiesHandler(r,o,["clip"])}(r),function(t,e){function n(t){return function(e){var n=0;return t.map(function(t){return t===s?e[n++]:t})}}function r(t){return t}function o(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,o=[],i=0;n=r.exec(e);){if(n.index!=i)return;i=n.index+n[0].length;var a=n[1],c=p[a];if(!c)return;var u=n[2].split(","),s=c[0];if(s.length900||e%100!=0))return e},function(t,n){return[t,n,e]},["font-weight"])}(r),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function n(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function r(e,r){var o=t.consumeRepeated(n,/^/,r);if(o&&""==o[1]){var a=o[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==e&&(a[2]=a[2]||{px:0}),a.length==e){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var c=a[0];a[0]=a[1],a[1]=c}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map(function(t){return"object"==typeof t?t:i[t]})}}}function o(r){var o=t.consumeRepeated(n,/^/,r);if(o){for(var a=o[0],c=[{"%":50},{"%":50}],u=0,s=!1,f=0;f=0&&this._cancelHandlers.splice(n,1)}else u.call(this,t,e)},i}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var o="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[o,o]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==o}catch(a){}finally{n&&n.cancel()}if(!r){var i=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),i.call(this,e,n)}}}(n)}},function(t){var e=function(e){return t(t.s=e)};e(4990),e(7435)}])}(); \ No newline at end of file diff --git a/server/src/uds/static/modern/polyfills.js b/server/src/uds/static/modern/polyfills.js new file mode 100644 index 00000000..4809b60f --- /dev/null +++ b/server/src/uds/static/modern/polyfills.js @@ -0,0 +1 @@ +(self.webpackChunkuds=self.webpackChunkuds||[]).push([[429],{7435:(s,v,t)=>{"use strict";t(2254),t(8583)},8583:()=>{"use strict";!function(n){const c=n.performance;function d(nt){c&&c.mark&&c.mark(nt)}function f(nt,M){c&&c.measure&&c.measure(nt,M)}d("Zone");const p=n.__Zone_symbol_prefix||"__zone_symbol__";function O(nt){return p+nt}const L=!0===n[O("forceDuplicateZoneCheck")];if(n.Zone){if(L||"function"!=typeof n.Zone.__symbol__)throw new Error("Zone already loaded.");return n.Zone}let k=(()=>{class nt{constructor(r,l){this._parent=r,this._name=l?l.name||"unnamed":"",this._properties=l&&l.properties||{},this._zoneDelegate=new U(this,this._parent&&this._parent._zoneDelegate,l)}static assertZonePatched(){if(n.Promise!==jt.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 r=nt.current;for(;r.parent;)r=r.parent;return r}static get current(){return dt.zone}static get currentTask(){return It}static __load_patch(r,l,H=!1){if(jt.hasOwnProperty(r)){if(!H&&L)throw Error("Already loaded patch: "+r)}else if(!n["__Zone_disable_"+r]){const Y="Zone:"+r;d(Y),jt[r]=l(n,nt,Et),f(Y,Y)}}get parent(){return this._parent}get name(){return this._name}get(r){const l=this.getZoneWith(r);if(l)return l._properties[r]}getZoneWith(r){let l=this;for(;l;){if(l._properties.hasOwnProperty(r))return l;l=l._parent}return null}fork(r){if(!r)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,r)}wrap(r,l){if("function"!=typeof r)throw new Error("Expecting function got: "+r);const H=this._zoneDelegate.intercept(this,r,l),Y=this;return function(){return Y.runGuarded(H,this,arguments,l)}}run(r,l,H,Y){dt={parent:dt,zone:this};try{return this._zoneDelegate.invoke(this,r,l,H,Y)}finally{dt=dt.parent}}runGuarded(r,l=null,H,Y){dt={parent:dt,zone:this};try{try{return this._zoneDelegate.invoke(this,r,l,H,Y)}catch(mt){if(this._zoneDelegate.handleError(this,mt))throw mt}}finally{dt=dt.parent}}runTask(r,l,H){if(r.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(r.zone||Ot).name+"; Execution: "+this.name+")");if(r.state===ct&&(r.type===St||r.type===$))return;const Y=r.state!=Z;Y&&r._transitionTo(Z,ot),r.runCount++;const mt=It;It=r,dt={parent:dt,zone:this};try{r.type==$&&r.data&&!r.data.isPeriodic&&(r.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,r,l,H)}catch(b){if(this._zoneDelegate.handleError(this,b))throw b}}finally{r.state!==ct&&r.state!==j&&(r.type==St||r.data&&r.data.isPeriodic?Y&&r._transitionTo(ot,Z):(r.runCount=0,this._updateTaskCount(r,-1),Y&&r._transitionTo(ct,Z,ct))),dt=dt.parent,It=mt}}scheduleTask(r){if(r.zone&&r.zone!==this){let H=this;for(;H;){if(H===r.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${r.zone.name}`);H=H.parent}}r._transitionTo(yt,ct);const l=[];r._zoneDelegates=l,r._zone=this;try{r=this._zoneDelegate.scheduleTask(this,r)}catch(H){throw r._transitionTo(j,yt,ct),this._zoneDelegate.handleError(this,H),H}return r._zoneDelegates===l&&this._updateTaskCount(r,1),r.state==yt&&r._transitionTo(ot,yt),r}scheduleMicroTask(r,l,H,Y){return this.scheduleTask(new A(et,r,l,H,Y,void 0))}scheduleMacroTask(r,l,H,Y,mt){return this.scheduleTask(new A($,r,l,H,Y,mt))}scheduleEventTask(r,l,H,Y,mt){return this.scheduleTask(new A(St,r,l,H,Y,mt))}cancelTask(r){if(r.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(r.zone||Ot).name+"; Execution: "+this.name+")");r._transitionTo(lt,ot,Z);try{this._zoneDelegate.cancelTask(this,r)}catch(l){throw r._transitionTo(j,lt),this._zoneDelegate.handleError(this,l),l}return this._updateTaskCount(r,-1),r._transitionTo(ct,lt),r.runCount=0,r}_updateTaskCount(r,l){const H=r._zoneDelegates;-1==l&&(r._zoneDelegates=null);for(let Y=0;Ynt.hasTask(r,l),onScheduleTask:(nt,M,r,l)=>nt.scheduleTask(r,l),onInvokeTask:(nt,M,r,l,H,Y)=>nt.invokeTask(r,l,H,Y),onCancelTask:(nt,M,r,l)=>nt.cancelTask(r,l)};class U{constructor(M,r,l){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=M,this._parentDelegate=r,this._forkZS=l&&(l&&l.onFork?l:r._forkZS),this._forkDlgt=l&&(l.onFork?r:r._forkDlgt),this._forkCurrZone=l&&(l.onFork?this.zone:r._forkCurrZone),this._interceptZS=l&&(l.onIntercept?l:r._interceptZS),this._interceptDlgt=l&&(l.onIntercept?r:r._interceptDlgt),this._interceptCurrZone=l&&(l.onIntercept?this.zone:r._interceptCurrZone),this._invokeZS=l&&(l.onInvoke?l:r._invokeZS),this._invokeDlgt=l&&(l.onInvoke?r:r._invokeDlgt),this._invokeCurrZone=l&&(l.onInvoke?this.zone:r._invokeCurrZone),this._handleErrorZS=l&&(l.onHandleError?l:r._handleErrorZS),this._handleErrorDlgt=l&&(l.onHandleError?r:r._handleErrorDlgt),this._handleErrorCurrZone=l&&(l.onHandleError?this.zone:r._handleErrorCurrZone),this._scheduleTaskZS=l&&(l.onScheduleTask?l:r._scheduleTaskZS),this._scheduleTaskDlgt=l&&(l.onScheduleTask?r:r._scheduleTaskDlgt),this._scheduleTaskCurrZone=l&&(l.onScheduleTask?this.zone:r._scheduleTaskCurrZone),this._invokeTaskZS=l&&(l.onInvokeTask?l:r._invokeTaskZS),this._invokeTaskDlgt=l&&(l.onInvokeTask?r:r._invokeTaskDlgt),this._invokeTaskCurrZone=l&&(l.onInvokeTask?this.zone:r._invokeTaskCurrZone),this._cancelTaskZS=l&&(l.onCancelTask?l:r._cancelTaskZS),this._cancelTaskDlgt=l&&(l.onCancelTask?r:r._cancelTaskDlgt),this._cancelTaskCurrZone=l&&(l.onCancelTask?this.zone:r._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const H=l&&l.onHasTask;(H||r&&r._hasTaskZS)&&(this._hasTaskZS=H?l:W,this._hasTaskDlgt=r,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=M,l.onScheduleTask||(this._scheduleTaskZS=W,this._scheduleTaskDlgt=r,this._scheduleTaskCurrZone=this.zone),l.onInvokeTask||(this._invokeTaskZS=W,this._invokeTaskDlgt=r,this._invokeTaskCurrZone=this.zone),l.onCancelTask||(this._cancelTaskZS=W,this._cancelTaskDlgt=r,this._cancelTaskCurrZone=this.zone))}fork(M,r){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,M,r):new k(M,r)}intercept(M,r,l){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,M,r,l):r}invoke(M,r,l,H,Y){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,M,r,l,H,Y):r.apply(l,H)}handleError(M,r){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,M,r)}scheduleTask(M,r){let l=r;if(this._scheduleTaskZS)this._hasTaskZS&&l._zoneDelegates.push(this._hasTaskDlgtOwner),l=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,M,r),l||(l=r);else if(r.scheduleFn)r.scheduleFn(r);else{if(r.type!=et)throw new Error("Task is missing scheduleFn.");K(r)}return l}invokeTask(M,r,l,H){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,M,r,l,H):r.callback.apply(l,H)}cancelTask(M,r){let l;if(this._cancelTaskZS)l=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,M,r);else{if(!r.cancelFn)throw Error("Task is not cancelable");l=r.cancelFn(r)}return l}hasTask(M,r){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,M,r)}catch(l){this.handleError(M,l)}}_updateTaskCount(M,r){const l=this._taskCounts,H=l[M],Y=l[M]=H+r;if(Y<0)throw new Error("More tasks executed then were scheduled.");0!=H&&0!=Y||this.hasTask(this.zone,{microTask:l.microTask>0,macroTask:l.macroTask>0,eventTask:l.eventTask>0,change:M})}}class A{constructor(M,r,l,H,Y,mt){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=M,this.source=r,this.data=H,this.scheduleFn=Y,this.cancelFn=mt,!l)throw new Error("callback is not defined");this.callback=l;const b=this;this.invoke=M===St&&H&&H.useG?A.invokeTask:function(){return A.invokeTask.call(n,b,this,arguments)}}static invokeTask(M,r,l){M||(M=this),Rt++;try{return M.runCount++,M.zone.runTask(M,r,l)}finally{1==Rt&&w(),Rt--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(ct,yt)}_transitionTo(M,r,l){if(this._state!==r&&this._state!==l)throw new Error(`${this.type} '${this.source}': can not transition to '${M}', expecting state '${r}'${l?" or '"+l+"'":""}, was '${this._state}'.`);this._state=M,M==ct&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?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 rt=O("setTimeout"),_=O("Promise"),tt=O("then");let bt,ht=[],it=!1;function pt(nt){if(bt||n[_]&&(bt=n[_].resolve(0)),bt){let M=bt[tt];M||(M=bt.then),M.call(bt,nt)}else n[rt](nt,0)}function K(nt){0===Rt&&0===ht.length&&pt(w),nt&&ht.push(nt)}function w(){if(!it){for(it=!0;ht.length;){const nt=ht;ht=[];for(let M=0;Mdt,onUnhandledError:vt,microtaskDrainDone:vt,scheduleMicroTask:K,showUncaughtError:()=>!k[O("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:vt,patchMethod:()=>vt,bindArguments:()=>[],patchThen:()=>vt,patchMacroTask:()=>vt,patchEventPrototype:()=>vt,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>vt,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>vt,wrapWithCurrentZone:()=>vt,filterProperties:()=>[],attachOriginToPatched:()=>vt,_redefineProperty:()=>vt,patchCallbacks:()=>vt,nativeScheduleMicroTask:pt};let dt={parent:null,zone:new k(null,null)},It=null,Rt=0;function vt(){}f("Zone","Zone"),n.Zone=k}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const s=Object.getOwnPropertyDescriptor,v=Object.defineProperty,t=Object.getPrototypeOf,e=Object.create,o=Array.prototype.slice,a="addEventListener",i="removeEventListener",u=Zone.__symbol__(a),y=Zone.__symbol__(i),E="true",T="false",P=Zone.__symbol__("");function S(n,c){return Zone.current.wrap(n,c)}function m(n,c,d,f,p){return Zone.current.scheduleMacroTask(n,c,d,f,p)}const g=Zone.__symbol__,D="undefined"!=typeof window,I=D?window:void 0,x=D&&I||"object"==typeof self&&self||global;function G(n,c){for(let d=n.length-1;d>=0;d--)"function"==typeof n[d]&&(n[d]=S(n[d],c+"_"+d));return n}function q(n){return!n||!1!==n.writable&&!("function"==typeof n.get&&void 0===n.set)}const st="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,gt=!("nw"in x)&&void 0!==x.process&&"[object process]"==={}.toString.call(x.process),Tt=!gt&&!st&&!(!D||!I.HTMLElement),at=void 0!==x.process&&"[object process]"==={}.toString.call(x.process)&&!st&&!(!D||!I.HTMLElement),Pt={},Gt=function(n){if(!(n=n||x.event))return;let c=Pt[n.type];c||(c=Pt[n.type]=g("ON_PROPERTY"+n.type));const d=this||n.target||x,f=d[c];let p;if(Tt&&d===I&&"error"===n.type){const O=n;p=f&&f.call(this,O.message,O.filename,O.lineno,O.colno,O.error),!0===p&&n.preventDefault()}else p=f&&f.apply(this,arguments),null!=p&&!p&&n.preventDefault();return p};function Yt(n,c,d){let f=s(n,c);if(!f&&d&&s(d,c)&&(f={enumerable:!0,configurable:!0}),!f||!f.configurable)return;const p=g("on"+c+"patched");if(n.hasOwnProperty(p)&&n[p])return;delete f.writable,delete f.value;const O=f.get,L=f.set,k=c.substr(2);let W=Pt[k];W||(W=Pt[k]=g("ON_PROPERTY"+k)),f.set=function(U){let A=this;!A&&n===x&&(A=x),A&&("function"==typeof A[W]&&A.removeEventListener(k,Gt),L&&L.call(A,null),A[W]=U,"function"==typeof U&&A.addEventListener(k,Gt,!1))},f.get=function(){let U=this;if(!U&&n===x&&(U=x),!U)return null;const A=U[W];if(A)return A;if(O){let rt=O.call(this);if(rt)return f.set.call(this,rt),"function"==typeof U.removeAttribute&&U.removeAttribute(c),rt}return null},v(n,c,f),n[p]=!0}function Xt(n,c,d){if(c)for(let f=0;ffunction(L,k){const W=d(L,k);return W.cbIdx>=0&&"function"==typeof k[W.cbIdx]?m(W.name,k[W.cbIdx],W,p):O.apply(L,k)})}function kt(n,c){n[g("OriginalDelegate")]=c}let Jt=!1,Wt=!1;function fe(){if(Jt)return Wt;Jt=!0;try{const n=I.navigator.userAgent;(-1!==n.indexOf("MSIE ")||-1!==n.indexOf("Trident/")||-1!==n.indexOf("Edge/"))&&(Wt=!0)}catch(n){}return Wt}Zone.__load_patch("ZoneAwarePromise",(n,c,d)=>{const f=Object.getOwnPropertyDescriptor,p=Object.defineProperty,L=d.symbol,k=[],W=!0===n[L("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],U=L("Promise"),A=L("then");d.onUnhandledError=b=>{if(d.showUncaughtError()){const R=b&&b.rejection;R?console.error("Unhandled Promise rejection:",R instanceof Error?R.message:R,"; Zone:",b.zone.name,"; Task:",b.task&&b.task.source,"; Value:",R,R instanceof Error?R.stack:void 0):console.error(b)}},d.microtaskDrainDone=()=>{for(;k.length;){const b=k.shift();try{b.zone.runGuarded(()=>{throw b.throwOriginal?b.rejection:b})}catch(R){tt(R)}}};const _=L("unhandledPromiseRejectionHandler");function tt(b){d.onUnhandledError(b);try{const R=c[_];"function"==typeof R&&R.call(this,b)}catch(R){}}function ht(b){return b&&b.then}function it(b){return b}function bt(b){return r.reject(b)}const pt=L("state"),K=L("value"),w=L("finally"),Ot=L("parentPromiseValue"),ct=L("parentPromiseState"),ot=null,Z=!0,lt=!1;function et(b,R){return h=>{try{Et(b,R,h)}catch(C){Et(b,!1,C)}}}const jt=L("currentTaskTrace");function Et(b,R,h){const C=function(){let b=!1;return function(h){return function(){b||(b=!0,h.apply(null,arguments))}}}();if(b===h)throw new TypeError("Promise resolved with itself");if(b[pt]===ot){let B=null;try{("object"==typeof h||"function"==typeof h)&&(B=h&&h.then)}catch(z){return C(()=>{Et(b,!1,z)})(),b}if(R!==lt&&h instanceof r&&h.hasOwnProperty(pt)&&h.hasOwnProperty(K)&&h[pt]!==ot)It(h),Et(b,h[pt],h[K]);else if(R!==lt&&"function"==typeof B)try{B.call(h,C(et(b,R)),C(et(b,!1)))}catch(z){C(()=>{Et(b,!1,z)})()}else{b[pt]=R;const z=b[K];if(b[K]=h,b[w]===w&&R===Z&&(b[pt]=b[ct],b[K]=b[Ot]),R===lt&&h instanceof Error){const F=c.currentTask&&c.currentTask.data&&c.currentTask.data.__creationTrace__;F&&p(h,jt,{configurable:!0,enumerable:!1,writable:!0,value:F})}for(let F=0;F{try{const X=b[K],J=!!h&&w===h[w];J&&(h[Ot]=X,h[ct]=z);const Q=R.run(F,void 0,J&&F!==bt&&F!==it?[]:[X]);Et(h,!0,Q)}catch(X){Et(h,!1,X)}},h)}const nt=function(){},M=n.AggregateError;class r{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(R){return Et(new this(null),Z,R)}static reject(R){return Et(new this(null),lt,R)}static any(R){if(!R||"function"!=typeof R[Symbol.iterator])return Promise.reject(new M([],"All promises were rejected"));const h=[];let C=0;try{for(let F of R)C++,h.push(r.resolve(F))}catch(F){return Promise.reject(new M([],"All promises were rejected"))}if(0===C)return Promise.reject(new M([],"All promises were rejected"));let B=!1;const z=[];return new r((F,X)=>{for(let J=0;J{B||(B=!0,F(Q))},Q=>{z.push(Q),C--,0===C&&(B=!0,X(new M(z,"All promises were rejected")))})})}static race(R){let h,C,B=new this((X,J)=>{h=X,C=J});function z(X){h(X)}function F(X){C(X)}for(let X of R)ht(X)||(X=this.resolve(X)),X.then(z,F);return B}static all(R){return r.allWithCallback(R)}static allSettled(R){return(this&&this.prototype instanceof r?this:r).allWithCallback(R,{thenCallback:C=>({status:"fulfilled",value:C}),errorCallback:C=>({status:"rejected",reason:C})})}static allWithCallback(R,h){let C,B,z=new this((Q,ut)=>{C=Q,B=ut}),F=2,X=0;const J=[];for(let Q of R){ht(Q)||(Q=this.resolve(Q));const ut=X;try{Q.then(ft=>{J[ut]=h?h.thenCallback(ft):ft,F--,0===F&&C(J)},ft=>{h?(J[ut]=h.errorCallback(ft),F--,0===F&&C(J)):B(ft)})}catch(ft){B(ft)}F++,X++}return F-=2,0===F&&C(J),z}constructor(R){const h=this;if(!(h instanceof r))throw new Error("Must be an instanceof Promise.");h[pt]=ot,h[K]=[];try{R&&R(et(h,Z),et(h,lt))}catch(C){Et(h,!1,C)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return r}then(R,h){let C=this.constructor[Symbol.species];(!C||"function"!=typeof C)&&(C=this.constructor||r);const B=new C(nt),z=c.current;return this[pt]==ot?this[K].push(z,B,R,h):Rt(this,z,B,R,h),B}catch(R){return this.then(null,R)}finally(R){let h=this.constructor[Symbol.species];(!h||"function"!=typeof h)&&(h=r);const C=new h(nt);C[w]=w;const B=c.current;return this[pt]==ot?this[K].push(B,C,R,R):Rt(this,B,C,R,R),C}}r.resolve=r.resolve,r.reject=r.reject,r.race=r.race,r.all=r.all;const l=n[U]=n.Promise;n.Promise=r;const H=L("thenPatched");function Y(b){const R=b.prototype,h=f(R,"then");if(h&&(!1===h.writable||!h.configurable))return;const C=R.then;R[A]=C,b.prototype.then=function(B,z){return new r((X,J)=>{C.call(this,X,J)}).then(B,z)},b[H]=!0}return d.patchThen=Y,l&&(Y(l),Nt(n,"fetch",b=>function mt(b){return function(R,h){let C=b.apply(R,h);if(C instanceof r)return C;let B=C.constructor;return B[H]||Y(B),C}}(b))),Promise[c.__symbol__("uncaughtPromiseErrors")]=k,r}),Zone.__load_patch("toString",n=>{const c=Function.prototype.toString,d=g("OriginalDelegate"),f=g("Promise"),p=g("Error"),O=function(){if("function"==typeof this){const U=this[d];if(U)return"function"==typeof U?c.call(U):Object.prototype.toString.call(U);if(this===Promise){const A=n[f];if(A)return c.call(A)}if(this===Error){const A=n[p];if(A)return c.call(A)}}return c.call(this)};O[d]=c,Function.prototype.toString=O;const L=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":L.call(this)}});let Zt=!1;if("undefined"!=typeof window)try{const n=Object.defineProperty({},"passive",{get:function(){Zt=!0}});window.addEventListener("test",n,n),window.removeEventListener("test",n,n)}catch(n){Zt=!1}const he={useG:!0},xt={},Qt={},_t=new RegExp("^"+P+"(\\w+)(true|false)$"),qt=g("propagationStopped");function te(n,c){const d=(c?c(n):n)+T,f=(c?c(n):n)+E,p=P+d,O=P+f;xt[n]={},xt[n][T]=p,xt[n][E]=O}function de(n,c,d,f){const p=f&&f.add||a,O=f&&f.rm||i,L=f&&f.listeners||"eventListeners",k=f&&f.rmAll||"removeAllListeners",W=g(p),U="."+p+":",_=function(K,w,Ot){if(K.isRemoved)return;const ct=K.callback;let yt;"object"==typeof ct&&ct.handleEvent&&(K.callback=Z=>ct.handleEvent(Z),K.originalDelegate=ct);try{K.invoke(K,w,[Ot])}catch(Z){yt=Z}const ot=K.options;return ot&&"object"==typeof ot&&ot.once&&w[O].call(w,Ot.type,K.originalDelegate?K.originalDelegate:K.callback,ot),yt};function tt(K,w,Ot){if(!(w=w||n.event))return;const ct=K||w.target||n,yt=ct[xt[w.type][Ot?E:T]];if(yt){const ot=[];if(1===yt.length){const Z=_(yt[0],ct,w);Z&&ot.push(Z)}else{const Z=yt.slice();for(let lt=0;lt{throw lt})}}}const ht=function(K){return tt(this,K,!1)},it=function(K){return tt(this,K,!0)};function bt(K,w){if(!K)return!1;let Ot=!0;w&&void 0!==w.useG&&(Ot=w.useG);const ct=w&&w.vh;let yt=!0;w&&void 0!==w.chkDup&&(yt=w.chkDup);let ot=!1;w&&void 0!==w.rt&&(ot=w.rt);let Z=K;for(;Z&&!Z.hasOwnProperty(p);)Z=t(Z);if(!Z&&K[p]&&(Z=K),!Z||Z[W])return!1;const lt=w&&w.eventNameToString,j={},et=Z[W]=Z[p],$=Z[g(O)]=Z[O],St=Z[g(L)]=Z[L],jt=Z[g(k)]=Z[k];let Et;function dt(h,C){return!Zt&&"object"==typeof h&&h?!!h.capture:Zt&&C?"boolean"==typeof h?{capture:h,passive:!0}:h?"object"==typeof h&&!1!==h.passive?Object.assign(Object.assign({},h),{passive:!0}):h:{passive:!0}:h}w&&w.prepend&&(Et=Z[g(w.prepend)]=Z[w.prepend]);const r=Ot?function(h){if(!j.isExisting)return et.call(j.target,j.eventName,j.capture?it:ht,j.options)}:function(h){return et.call(j.target,j.eventName,h.invoke,j.options)},l=Ot?function(h){if(!h.isRemoved){const C=xt[h.eventName];let B;C&&(B=C[h.capture?E:T]);const z=B&&h.target[B];if(z)for(let F=0;Ffunction(p,O){p[qt]=!0,f&&f.apply(p,O)})}function pe(n,c,d,f,p){const O=Zone.__symbol__(f);if(c[O])return;const L=c[O]=c[f];c[f]=function(k,W,U){return W&&W.prototype&&p.forEach(function(A){const rt=`${d}.${f}::`+A,_=W.prototype;if(_.hasOwnProperty(A)){const tt=n.ObjectGetOwnPropertyDescriptor(_,A);tt&&tt.value?(tt.value=n.wrapWithCurrentZone(tt.value,rt),n._redefineProperty(W.prototype,A,tt)):_[A]&&(_[A]=n.wrapWithCurrentZone(_[A],rt))}else _[A]&&(_[A]=n.wrapWithCurrentZone(_[A],rt))}),L.call(c,k,W,U)},n.attachOriginToPatched(c[f],L)}function ne(n,c,d){if(!d||0===d.length)return c;const f=d.filter(O=>O.target===n);if(!f||0===f.length)return c;const p=f[0].ignoreProperties;return c.filter(O=>-1===p.indexOf(O))}function re(n,c,d,f){n&&Xt(n,ne(n,c,d),f)}function $t(n){return Object.getOwnPropertyNames(n).filter(c=>c.startsWith("on")&&c.length>2).map(c=>c.substring(2))}Zone.__load_patch("util",(n,c,d)=>{const f=$t(n);d.patchOnProperties=Xt,d.patchMethod=Nt,d.bindArguments=G,d.patchMacroTask=le;const p=c.__symbol__("BLACK_LISTED_EVENTS"),O=c.__symbol__("UNPATCHED_EVENTS");n[O]&&(n[p]=n[O]),n[p]&&(c[p]=c[O]=n[p]),d.patchEventPrototype=ve,d.patchEventTarget=de,d.isIEOrEdge=fe,d.ObjectDefineProperty=v,d.ObjectGetOwnPropertyDescriptor=s,d.ObjectCreate=e,d.ArraySlice=o,d.patchClass=Bt,d.wrapWithCurrentZone=S,d.filterProperties=ne,d.attachOriginToPatched=kt,d._redefineProperty=Object.defineProperty,d.patchCallbacks=pe,d.getGlobalObjects=()=>({globalSources:Qt,zoneSymbolEventNames:xt,eventNames:f,isBrowser:Tt,isMix:at,isNode:gt,TRUE_STR:E,FALSE_STR:T,ZONE_SYMBOL_PREFIX:P,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:i})});const Ut=g("zoneTask");function At(n,c,d,f){let p=null,O=null;d+=f;const L={};function k(U){const A=U.data;return A.args[0]=function(){return U.invoke.apply(this,arguments)},A.handleId=p.apply(n,A.args),U}function W(U){return O.call(n,U.data.handleId)}p=Nt(n,c+=f,U=>function(A,rt){if("function"==typeof rt[0]){const _={isPeriodic:"Interval"===f,delay:"Timeout"===f||"Interval"===f?rt[1]||0:void 0,args:rt},tt=rt[0];rt[0]=function(){try{return tt.apply(this,arguments)}finally{_.isPeriodic||("number"==typeof _.handleId?delete L[_.handleId]:_.handleId&&(_.handleId[Ut]=null))}};const ht=m(c,rt[0],_,k,W);if(!ht)return ht;const it=ht.data.handleId;return"number"==typeof it?L[it]=ht:it&&(it[Ut]=ht),it&&it.ref&&it.unref&&"function"==typeof it.ref&&"function"==typeof it.unref&&(ht.ref=it.ref.bind(it),ht.unref=it.unref.bind(it)),"number"==typeof it||it?it:ht}return U.apply(n,rt)}),O=Nt(n,d,U=>function(A,rt){const _=rt[0];let tt;"number"==typeof _?tt=L[_]:(tt=_&&_[Ut],tt||(tt=_)),tt&&"string"==typeof tt.type?"notScheduled"!==tt.state&&(tt.cancelFn&&tt.data.isPeriodic||0===tt.runCount)&&("number"==typeof _?delete L[_]:_&&(_[Ut]=null),tt.zone.cancelTask(tt)):U.apply(n,rt)})}Zone.__load_patch("legacy",n=>{const c=n[Zone.__symbol__("legacyPatch")];c&&c()}),Zone.__load_patch("queueMicrotask",(n,c,d)=>{d.patchMethod(n,"queueMicrotask",f=>function(p,O){c.current.scheduleMicroTask("queueMicrotask",O[0])})}),Zone.__load_patch("timers",n=>{const c="set",d="clear";At(n,c,d,"Timeout"),At(n,c,d,"Interval"),At(n,c,d,"Immediate")}),Zone.__load_patch("requestAnimationFrame",n=>{At(n,"request","cancel","AnimationFrame"),At(n,"mozRequest","mozCancel","AnimationFrame"),At(n,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(n,c)=>{const d=["alert","prompt","confirm"];for(let f=0;ffunction(W,U){return c.current.run(O,n,U,k)})}),Zone.__load_patch("EventTarget",(n,c,d)=>{(function ge(n,c){c.patchEventPrototype(n,c)})(n,d),function Te(n,c){if(Zone[c.symbol("patchEventTarget")])return;const{eventNames:d,zoneSymbolEventNames:f,TRUE_STR:p,FALSE_STR:O,ZONE_SYMBOL_PREFIX:L}=c.getGlobalObjects();for(let W=0;W{Bt("MutationObserver"),Bt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(n,c,d)=>{Bt("IntersectionObserver")}),Zone.__load_patch("FileReader",(n,c,d)=>{Bt("FileReader")}),Zone.__load_patch("on_property",(n,c,d)=>{!function ye(n,c){if(gt&&!at||Zone[n.symbol("patchEvents")])return;const d=c.__Zone_ignore_on_properties;let f=[];if(Tt){const p=window;f=f.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const O=function ue(){try{const n=I.navigator.userAgent;if(-1!==n.indexOf("MSIE ")||-1!==n.indexOf("Trident/"))return!0}catch(n){}return!1}()?[{target:p,ignoreProperties:["error"]}]:[];re(p,$t(p),d&&d.concat(O),t(p))}f=f.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let p=0;p{!function Ee(n,c){const{isBrowser:d,isMix:f}=c.getGlobalObjects();(d||f)&&n.customElements&&"customElements"in n&&c.patchCallbacks(c,n.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(n,d)}),Zone.__load_patch("XHR",(n,c)=>{!function W(U){const A=U.XMLHttpRequest;if(!A)return;const rt=A.prototype;let tt=rt[u],ht=rt[y];if(!tt){const j=U.XMLHttpRequestEventTarget;if(j){const et=j.prototype;tt=et[u],ht=et[y]}}const it="readystatechange",bt="scheduled";function pt(j){const et=j.data,$=et.target;$[O]=!1,$[k]=!1;const St=$[p];tt||(tt=$[u],ht=$[y]),St&&ht.call($,it,St);const jt=$[p]=()=>{if($.readyState===$.DONE)if(!et.aborted&&$[O]&&j.state===bt){const dt=$[c.__symbol__("loadfalse")];if(0!==$.status&&dt&&dt.length>0){const It=j.invoke;j.invoke=function(){const Rt=$[c.__symbol__("loadfalse")];for(let vt=0;vtfunction(j,et){return j[f]=0==et[2],j[L]=et[1],Ot.apply(j,et)}),yt=g("fetchTaskAborting"),ot=g("fetchTaskScheduling"),Z=Nt(rt,"send",()=>function(j,et){if(!0===c.current[ot]||j[f])return Z.apply(j,et);{const $={target:j,url:j[L],isPeriodic:!1,args:et,aborted:!1},St=m("XMLHttpRequest.send",K,$,pt,w);j&&!0===j[k]&&!$.aborted&&St.state===bt&&St.invoke()}}),lt=Nt(rt,"abort",()=>function(j,et){const $=function _(j){return j[d]}(j);if($&&"string"==typeof $.type){if(null==$.cancelFn||$.data&&$.data.aborted)return;$.zone.cancelTask($)}else if(!0===c.current[yt])return lt.apply(j,et)})}(n);const d=g("xhrTask"),f=g("xhrSync"),p=g("xhrListener"),O=g("xhrScheduled"),L=g("xhrURL"),k=g("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&function V(n,c){const d=n.constructor.name;for(let f=0;f{const W=function(){return k.apply(this,G(arguments,d+"."+p))};return kt(W,k),W})(O)}}}(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(n,c)=>{function d(f){return function(p){ee(n,f).forEach(L=>{const k=n.PromiseRejectionEvent;if(k){const W=new k(f,{promise:p.promise,reason:p.rejection});L.invoke(W)}})}}n.PromiseRejectionEvent&&(c[g("unhandledPromiseRejectionHandler")]=d("unhandledrejection"),c[g("rejectionHandledHandler")]=d("rejectionhandled"))})},2254:(s,v,t)=>{t(1539),t(6535),t(2419),t(9596),t(2586),t(4819),t(5683),t(9361),t(1037),t(5898),t(7318),t(4361),t(3593),t(9532),t(1299);var e=t(857);s.exports=e.Reflect},9662:(s,v,t)=>{var e=t(7854),o=t(614),a=t(6330),i=e.TypeError;s.exports=function(u){if(o(u))return u;throw i(a(u)+" is not a function")}},9483:(s,v,t)=>{var e=t(7854),o=t(4411),a=t(6330),i=e.TypeError;s.exports=function(u){if(o(u))return u;throw i(a(u)+" is not a constructor")}},6077:(s,v,t)=>{var e=t(7854),o=t(614),a=e.String,i=e.TypeError;s.exports=function(u){if("object"==typeof u||o(u))return u;throw i("Can't set "+a(u)+" as a prototype")}},9670:(s,v,t)=>{var e=t(7854),o=t(111),a=e.String,i=e.TypeError;s.exports=function(u){if(o(u))return u;throw i(a(u)+" is not an object")}},7556:(s,v,t)=>{var e=t(7293);s.exports=e(function(){if("function"==typeof ArrayBuffer){var o=new ArrayBuffer(8);Object.isExtensible(o)&&Object.defineProperty(o,"a",{value:8})}})},1318:(s,v,t)=>{var e=t(5656),o=t(1400),a=t(6244),i=function(u){return function(y,E,T){var g,P=e(y),S=a(P),m=o(T,S);if(u&&E!=E){for(;S>m;)if((g=P[m++])!=g)return!0}else for(;S>m;m++)if((u||m in P)&&P[m]===E)return u||m||0;return!u&&-1}};s.exports={includes:i(!0),indexOf:i(!1)}},206:(s,v,t)=>{var e=t(1702);s.exports=e([].slice)},4326:(s,v,t)=>{var e=t(1702),o=e({}.toString),a=e("".slice);s.exports=function(i){return a(o(i),8,-1)}},648:(s,v,t)=>{var e=t(7854),o=t(1694),a=t(614),i=t(4326),y=t(5112)("toStringTag"),E=e.Object,T="Arguments"==i(function(){return arguments}());s.exports=o?i:function(S){var m,g,D;return void 0===S?"Undefined":null===S?"Null":"string"==typeof(g=function(S,m){try{return S[m]}catch(g){}}(m=E(S),y))?g:T?i(m):"Object"==(D=i(m))&&a(m.callee)?"Arguments":D}},9920:(s,v,t)=>{var e=t(2597),o=t(3887),a=t(1236),i=t(3070);s.exports=function(u,y,E){for(var T=o(y),P=i.f,S=a.f,m=0;m{var e=t(7293);s.exports=!e(function(){function o(){}return o.prototype.constructor=null,Object.getPrototypeOf(new o)!==o.prototype})},8880:(s,v,t)=>{var e=t(9781),o=t(3070),a=t(9114);s.exports=e?function(i,u,y){return o.f(i,u,a(1,y))}:function(i,u,y){return i[u]=y,i}},9114:s=>{s.exports=function(v,t){return{enumerable:!(1&v),configurable:!(2&v),writable:!(4&v),value:t}}},9781:(s,v,t)=>{var e=t(7293);s.exports=!e(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},317:(s,v,t)=>{var e=t(7854),o=t(111),a=e.document,i=o(a)&&o(a.createElement);s.exports=function(u){return i?a.createElement(u):{}}},8113:(s,v,t)=>{var e=t(5005);s.exports=e("navigator","userAgent")||""},7392:(s,v,t)=>{var E,T,e=t(7854),o=t(8113),a=e.process,i=e.Deno,u=a&&a.versions||i&&i.version,y=u&&u.v8;y&&(T=(E=y.split("."))[0]>0&&E[0]<4?1:+(E[0]+E[1])),!T&&o&&(!(E=o.match(/Edge\/(\d+)/))||E[1]>=74)&&(E=o.match(/Chrome\/(\d+)/))&&(T=+E[1]),s.exports=T},748:s=>{s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(s,v,t)=>{var e=t(7854),o=t(1236).f,a=t(8880),i=t(1320),u=t(3505),y=t(9920),E=t(4705);s.exports=function(T,P){var I,x,N,G,V,S=T.target,m=T.global,g=T.stat;if(I=m?e:g?e[S]||u(S,{}):(e[S]||{}).prototype)for(x in P){if(G=P[x],N=T.noTargetGet?(V=o(I,x))&&V.value:I[x],!E(m?x:S+(g?".":"#")+x,T.forced)&&void 0!==N){if(typeof G==typeof N)continue;y(G,N)}(T.sham||N&&N.sham)&&a(G,"sham",!0),i(I,x,G,T)}}},7293:s=>{s.exports=function(v){try{return!!v()}catch(t){return!0}}},6677:(s,v,t)=>{var e=t(7293);s.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},2104:(s,v,t)=>{var e=t(4374),o=Function.prototype,a=o.apply,i=o.call;s.exports="object"==typeof Reflect&&Reflect.apply||(e?i.bind(a):function(){return i.apply(a,arguments)})},4374:(s,v,t)=>{var e=t(7293);s.exports=!e(function(){var o=function(){}.bind();return"function"!=typeof o||o.hasOwnProperty("prototype")})},7065:(s,v,t)=>{"use strict";var e=t(7854),o=t(1702),a=t(9662),i=t(111),u=t(2597),y=t(206),E=t(4374),T=e.Function,P=o([].concat),S=o([].join),m={},g=function(D,I,x){if(!u(m,I)){for(var N=[],G=0;G{var e=t(4374),o=Function.prototype.call;s.exports=e?o.bind(o):function(){return o.apply(o,arguments)}},6530:(s,v,t)=>{var e=t(9781),o=t(2597),a=Function.prototype,i=e&&Object.getOwnPropertyDescriptor,u=o(a,"name"),y=u&&"something"===function(){}.name,E=u&&(!e||e&&i(a,"name").configurable);s.exports={EXISTS:u,PROPER:y,CONFIGURABLE:E}},1702:(s,v,t)=>{var e=t(4374),o=Function.prototype,i=o.call,u=e&&o.bind.bind(i,i);s.exports=e?function(y){return y&&u(y)}:function(y){return y&&function(){return i.apply(y,arguments)}}},5005:(s,v,t)=>{var e=t(7854),o=t(614),a=function(i){return o(i)?i:void 0};s.exports=function(i,u){return arguments.length<2?a(e[i]):e[i]&&e[i][u]}},8173:(s,v,t)=>{var e=t(9662);s.exports=function(o,a){var i=o[a];return null==i?void 0:e(i)}},7854:s=>{var v=function(t){return t&&t.Math==Math&&t};s.exports=v("object"==typeof globalThis&&globalThis)||v("object"==typeof window&&window)||v("object"==typeof self&&self)||v("object"==typeof global&&global)||function(){return this}()||Function("return this")()},2597:(s,v,t)=>{var e=t(1702),o=t(7908),a=e({}.hasOwnProperty);s.exports=Object.hasOwn||function(u,y){return a(o(u),y)}},3501:s=>{s.exports={}},490:(s,v,t)=>{var e=t(5005);s.exports=e("document","documentElement")},4664:(s,v,t)=>{var e=t(9781),o=t(7293),a=t(317);s.exports=!e&&!o(function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},8361:(s,v,t)=>{var e=t(7854),o=t(1702),a=t(7293),i=t(4326),u=e.Object,y=o("".split);s.exports=a(function(){return!u("z").propertyIsEnumerable(0)})?function(E){return"String"==i(E)?y(E,""):u(E)}:u},2788:(s,v,t)=>{var e=t(1702),o=t(614),a=t(5465),i=e(Function.toString);o(a.inspectSource)||(a.inspectSource=function(u){return i(u)}),s.exports=a.inspectSource},9909:(s,v,t)=>{var D,I,x,e=t(8536),o=t(7854),a=t(1702),i=t(111),u=t(8880),y=t(2597),E=t(5465),T=t(6200),P=t(3501),S="Object already initialized",m=o.TypeError;if(e||E.state){var V=E.state||(E.state=new(0,o.WeakMap)),q=a(V.get),st=a(V.has),gt=a(V.set);D=function(at,Pt){if(st(V,at))throw new m(S);return Pt.facade=at,gt(V,at,Pt),Pt},I=function(at){return q(V,at)||{}},x=function(at){return st(V,at)}}else{var Tt=T("state");P[Tt]=!0,D=function(at,Pt){if(y(at,Tt))throw new m(S);return Pt.facade=at,u(at,Tt,Pt),Pt},I=function(at){return y(at,Tt)?at[Tt]:{}},x=function(at){return y(at,Tt)}}s.exports={set:D,get:I,has:x,enforce:function(at){return x(at)?I(at):D(at,{})},getterFor:function(at){return function(Pt){var Gt;if(!i(Pt)||(Gt=I(Pt)).type!==at)throw m("Incompatible receiver, "+at+" required");return Gt}}}},614:s=>{s.exports=function(v){return"function"==typeof v}},4411:(s,v,t)=>{var e=t(1702),o=t(7293),a=t(614),i=t(648),u=t(5005),y=t(2788),E=function(){},T=[],P=u("Reflect","construct"),S=/^\s*(?:class|function)\b/,m=e(S.exec),g=!S.exec(E),D=function(N){if(!a(N))return!1;try{return P(E,T,N),!0}catch(G){return!1}},I=function(N){if(!a(N))return!1;switch(i(N)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!m(S,y(N))}catch(G){return!0}};I.sham=!0,s.exports=!P||o(function(){var x;return D(D.call)||!D(Object)||!D(function(){x=!0})||x})?I:D},2149:(s,v,t)=>{var e=t(2597);s.exports=function(o){return void 0!==o&&(e(o,"value")||e(o,"writable"))}},4705:(s,v,t)=>{var e=t(7293),o=t(614),a=/#|\.prototype\./,i=function(P,S){var m=y[u(P)];return m==T||m!=E&&(o(S)?e(S):!!S)},u=i.normalize=function(P){return String(P).replace(a,".").toLowerCase()},y=i.data={},E=i.NATIVE="N",T=i.POLYFILL="P";s.exports=i},111:(s,v,t)=>{var e=t(614);s.exports=function(o){return"object"==typeof o?null!==o:e(o)}},1913:s=>{s.exports=!1},2190:(s,v,t)=>{var e=t(7854),o=t(5005),a=t(614),i=t(7976),u=t(3307),y=e.Object;s.exports=u?function(E){return"symbol"==typeof E}:function(E){var T=o("Symbol");return a(T)&&i(T.prototype,y(E))}},6244:(s,v,t)=>{var e=t(7466);s.exports=function(o){return e(o.length)}},133:(s,v,t)=>{var e=t(7392),o=t(7293);s.exports=!!Object.getOwnPropertySymbols&&!o(function(){var a=Symbol();return!String(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&e&&e<41})},8536:(s,v,t)=>{var e=t(7854),o=t(614),a=t(2788),i=e.WeakMap;s.exports=o(i)&&/native code/.test(a(i))},30:(s,v,t)=>{var G,e=t(9670),o=t(6048),a=t(748),i=t(3501),u=t(490),y=t(317),E=t(6200),S="prototype",m="script",g=E("IE_PROTO"),D=function(){},I=function(q){return"<"+m+">"+q+""},x=function(q){q.write(I("")),q.close();var st=q.parentWindow.Object;return q=null,st},V=function(){try{G=new ActiveXObject("htmlfile")}catch(st){}V="undefined"!=typeof document?document.domain&&G?x(G):function(){var gt,q=y("iframe");return q.style.display="none",u.appendChild(q),q.src=String("javascript:"),(gt=q.contentWindow.document).open(),gt.write(I("document.F=Object")),gt.close(),gt.F}():x(G);for(var q=a.length;q--;)delete V[S][a[q]];return V()};i[g]=!0,s.exports=Object.create||function(st,gt){var Tt;return null!==st?(D[S]=e(st),Tt=new D,D[S]=null,Tt[g]=st):Tt=V(),void 0===gt?Tt:o.f(Tt,gt)}},6048:(s,v,t)=>{var e=t(9781),o=t(3353),a=t(3070),i=t(9670),u=t(5656),y=t(1956);v.f=e&&!o?Object.defineProperties:function(T,P){i(T);for(var I,S=u(P),m=y(P),g=m.length,D=0;g>D;)a.f(T,I=m[D++],S[I]);return T}},3070:(s,v,t)=>{var e=t(7854),o=t(9781),a=t(4664),i=t(3353),u=t(9670),y=t(4948),E=e.TypeError,T=Object.defineProperty,P=Object.getOwnPropertyDescriptor,S="enumerable",m="configurable",g="writable";v.f=o?i?function(I,x,N){if(u(I),x=y(x),u(N),"function"==typeof I&&"prototype"===x&&"value"in N&&g in N&&!N[g]){var G=P(I,x);G&&G[g]&&(I[x]=N.value,N={configurable:m in N?N[m]:G[m],enumerable:S in N?N[S]:G[S],writable:!1})}return T(I,x,N)}:T:function(I,x,N){if(u(I),x=y(x),u(N),a)try{return T(I,x,N)}catch(G){}if("get"in N||"set"in N)throw E("Accessors not supported");return"value"in N&&(I[x]=N.value),I}},1236:(s,v,t)=>{var e=t(9781),o=t(6916),a=t(5296),i=t(9114),u=t(5656),y=t(4948),E=t(2597),T=t(4664),P=Object.getOwnPropertyDescriptor;v.f=e?P:function(m,g){if(m=u(m),g=y(g),T)try{return P(m,g)}catch(D){}if(E(m,g))return i(!o(a.f,m,g),m[g])}},8006:(s,v,t)=>{var e=t(6324),a=t(748).concat("length","prototype");v.f=Object.getOwnPropertyNames||function(u){return e(u,a)}},5181:(s,v)=>{v.f=Object.getOwnPropertySymbols},9518:(s,v,t)=>{var e=t(7854),o=t(2597),a=t(614),i=t(7908),u=t(6200),y=t(8544),E=u("IE_PROTO"),T=e.Object,P=T.prototype;s.exports=y?T.getPrototypeOf:function(S){var m=i(S);if(o(m,E))return m[E];var g=m.constructor;return a(g)&&m instanceof g?g.prototype:m instanceof T?P:null}},2050:(s,v,t)=>{var e=t(7293),o=t(111),a=t(4326),i=t(7556),u=Object.isExtensible,y=e(function(){u(1)});s.exports=y||i?function(T){return!(!o(T)||i&&"ArrayBuffer"==a(T))&&(!u||u(T))}:u},7976:(s,v,t)=>{var e=t(1702);s.exports=e({}.isPrototypeOf)},6324:(s,v,t)=>{var e=t(1702),o=t(2597),a=t(5656),i=t(1318).indexOf,u=t(3501),y=e([].push);s.exports=function(E,T){var g,P=a(E),S=0,m=[];for(g in P)!o(u,g)&&o(P,g)&&y(m,g);for(;T.length>S;)o(P,g=T[S++])&&(~i(m,g)||y(m,g));return m}},1956:(s,v,t)=>{var e=t(6324),o=t(748);s.exports=Object.keys||function(i){return e(i,o)}},5296:(s,v)=>{"use strict";var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,o=e&&!t.call({1:2},1);v.f=o?function(i){var u=e(this,i);return!!u&&u.enumerable}:t},7674:(s,v,t)=>{var e=t(1702),o=t(9670),a=t(6077);s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,i=!1,u={};try{(y=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(u,[]),i=u instanceof Array}catch(E){}return function(T,P){return o(T),a(P),i?y(T,P):T.__proto__=P,T}}():void 0)},288:(s,v,t)=>{"use strict";var e=t(1694),o=t(648);s.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},2140:(s,v,t)=>{var e=t(7854),o=t(6916),a=t(614),i=t(111),u=e.TypeError;s.exports=function(y,E){var T,P;if("string"===E&&a(T=y.toString)&&!i(P=o(T,y))||a(T=y.valueOf)&&!i(P=o(T,y))||"string"!==E&&a(T=y.toString)&&!i(P=o(T,y)))return P;throw u("Can't convert object to primitive value")}},3887:(s,v,t)=>{var e=t(5005),o=t(1702),a=t(8006),i=t(5181),u=t(9670),y=o([].concat);s.exports=e("Reflect","ownKeys")||function(T){var P=a.f(u(T)),S=i.f;return S?y(P,S(T)):P}},857:(s,v,t)=>{var e=t(7854);s.exports=e},1320:(s,v,t)=>{var e=t(7854),o=t(614),a=t(2597),i=t(8880),u=t(3505),y=t(2788),E=t(9909),T=t(6530).CONFIGURABLE,P=E.get,S=E.enforce,m=String(String).split("String");(s.exports=function(g,D,I,x){var st,N=!!x&&!!x.unsafe,G=!!x&&!!x.enumerable,V=!!x&&!!x.noTargetGet,q=x&&void 0!==x.name?x.name:D;o(I)&&("Symbol("===String(q).slice(0,7)&&(q="["+String(q).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(I,"name")||T&&I.name!==q)&&i(I,"name",q),(st=S(I)).source||(st.source=m.join("string"==typeof q?q:""))),g!==e?(N?!V&&g[D]&&(G=!0):delete g[D],G?g[D]=I:i(g,D,I)):G?g[D]=I:u(D,I)})(Function.prototype,"toString",function(){return o(this)&&P(this).source||y(this)})},4488:(s,v,t)=>{var o=t(7854).TypeError;s.exports=function(a){if(null==a)throw o("Can't call method on "+a);return a}},3505:(s,v,t)=>{var e=t(7854),o=Object.defineProperty;s.exports=function(a,i){try{o(e,a,{value:i,configurable:!0,writable:!0})}catch(u){e[a]=i}return i}},8003:(s,v,t)=>{var e=t(3070).f,o=t(2597),i=t(5112)("toStringTag");s.exports=function(u,y,E){u&&!E&&(u=u.prototype),u&&!o(u,i)&&e(u,i,{configurable:!0,value:y})}},6200:(s,v,t)=>{var e=t(2309),o=t(9711),a=e("keys");s.exports=function(i){return a[i]||(a[i]=o(i))}},5465:(s,v,t)=>{var e=t(7854),o=t(3505),a="__core-js_shared__",i=e[a]||o(a,{});s.exports=i},2309:(s,v,t)=>{var e=t(1913),o=t(5465);(s.exports=function(a,i){return o[a]||(o[a]=void 0!==i?i:{})})("versions",[]).push({version:"3.21.1",mode:e?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},1400:(s,v,t)=>{var e=t(9303),o=Math.max,a=Math.min;s.exports=function(i,u){var y=e(i);return y<0?o(y+u,0):a(y,u)}},5656:(s,v,t)=>{var e=t(8361),o=t(4488);s.exports=function(a){return e(o(a))}},9303:s=>{var v=Math.ceil,t=Math.floor;s.exports=function(e){var o=+e;return o!=o||0===o?0:(o>0?t:v)(o)}},7466:(s,v,t)=>{var e=t(9303),o=Math.min;s.exports=function(a){return a>0?o(e(a),9007199254740991):0}},7908:(s,v,t)=>{var e=t(7854),o=t(4488),a=e.Object;s.exports=function(i){return a(o(i))}},7593:(s,v,t)=>{var e=t(7854),o=t(6916),a=t(111),i=t(2190),u=t(8173),y=t(2140),E=t(5112),T=e.TypeError,P=E("toPrimitive");s.exports=function(S,m){if(!a(S)||i(S))return S;var D,g=u(S,P);if(g){if(void 0===m&&(m="default"),D=o(g,S,m),!a(D)||i(D))return D;throw T("Can't convert object to primitive value")}return void 0===m&&(m="number"),y(S,m)}},4948:(s,v,t)=>{var e=t(7593),o=t(2190);s.exports=function(a){var i=e(a,"string");return o(i)?i:i+""}},1694:(s,v,t)=>{var a={};a[t(5112)("toStringTag")]="z",s.exports="[object z]"===String(a)},6330:(s,v,t)=>{var o=t(7854).String;s.exports=function(a){try{return o(a)}catch(i){return"Object"}}},9711:(s,v,t)=>{var e=t(1702),o=0,a=Math.random(),i=e(1..toString);s.exports=function(u){return"Symbol("+(void 0===u?"":u)+")_"+i(++o+a,36)}},3307:(s,v,t)=>{var e=t(133);s.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(s,v,t)=>{var e=t(9781),o=t(7293);s.exports=e&&o(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},5112:(s,v,t)=>{var e=t(7854),o=t(2309),a=t(2597),i=t(9711),u=t(133),y=t(3307),E=o("wks"),T=e.Symbol,P=T&&T.for,S=y?T:T&&T.withoutSetter||i;s.exports=function(m){if(!a(E,m)||!u&&"string"!=typeof E[m]){var g="Symbol."+m;E[m]=u&&a(T,m)?T[m]:y&&P?P(g):S(g)}return E[m]}},1539:(s,v,t)=>{var e=t(1694),o=t(1320),a=t(288);e||o(Object.prototype,"toString",a,{unsafe:!0})},6535:(s,v,t)=>{var e=t(2109),o=t(2104),a=t(9662),i=t(9670);e({target:"Reflect",stat:!0,forced:!t(7293)(function(){Reflect.apply(function(){})})},{apply:function(T,P,S){return o(a(T),P,i(S))}})},2419:(s,v,t)=>{var e=t(2109),o=t(5005),a=t(2104),i=t(7065),u=t(9483),y=t(9670),E=t(111),T=t(30),P=t(7293),S=o("Reflect","construct"),m=Object.prototype,g=[].push,D=P(function(){function N(){}return!(S(function(){},[],N)instanceof N)}),I=!P(function(){S(function(){})}),x=D||I;e({target:"Reflect",stat:!0,forced:x,sham:x},{construct:function(G,V){u(G),y(V);var q=arguments.length<3?G:u(arguments[2]);if(I&&!D)return S(G,V,q);if(G==q){switch(V.length){case 0:return new G;case 1:return new G(V[0]);case 2:return new G(V[0],V[1]);case 3:return new G(V[0],V[1],V[2]);case 4:return new G(V[0],V[1],V[2],V[3])}var st=[null];return a(g,st,V),new(a(i,G,st))}var gt=q.prototype,Tt=T(E(gt)?gt:m),at=a(G,Tt,V);return E(at)?at:Tt}})},9596:(s,v,t)=>{var e=t(2109),o=t(9781),a=t(9670),i=t(4948),u=t(3070);e({target:"Reflect",stat:!0,forced:t(7293)(function(){Reflect.defineProperty(u.f({},1,{value:1}),1,{value:2})}),sham:!o},{defineProperty:function(P,S,m){a(P);var g=i(S);a(m);try{return u.f(P,g,m),!0}catch(D){return!1}}})},2586:(s,v,t)=>{var e=t(2109),o=t(9670),a=t(1236).f;e({target:"Reflect",stat:!0},{deleteProperty:function(u,y){var E=a(o(u),y);return!(E&&!E.configurable)&&delete u[y]}})},5683:(s,v,t)=>{var e=t(2109),o=t(9781),a=t(9670),i=t(1236);e({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(y,E){return i.f(a(y),E)}})},9361:(s,v,t)=>{var e=t(2109),o=t(9670),a=t(9518);e({target:"Reflect",stat:!0,sham:!t(8544)},{getPrototypeOf:function(y){return a(o(y))}})},4819:(s,v,t)=>{var e=t(2109),o=t(6916),a=t(111),i=t(9670),u=t(2149),y=t(1236),E=t(9518);e({target:"Reflect",stat:!0},{get:function T(P,S){var g,D,m=arguments.length<3?P:arguments[2];return i(P)===m?P[S]:(g=y.f(P,S))?u(g)?g.value:void 0===g.get?void 0:o(g.get,m):a(D=E(P))?T(D,S,m):void 0}})},1037:(s,v,t)=>{t(2109)({target:"Reflect",stat:!0},{has:function(a,i){return i in a}})},5898:(s,v,t)=>{var e=t(2109),o=t(9670),a=t(2050);e({target:"Reflect",stat:!0},{isExtensible:function(u){return o(u),a(u)}})},7318:(s,v,t)=>{t(2109)({target:"Reflect",stat:!0},{ownKeys:t(3887)})},4361:(s,v,t)=>{var e=t(2109),o=t(5005),a=t(9670);e({target:"Reflect",stat:!0,sham:!t(6677)},{preventExtensions:function(y){a(y);try{var E=o("Object","preventExtensions");return E&&E(y),!0}catch(T){return!1}}})},9532:(s,v,t)=>{var e=t(2109),o=t(9670),a=t(6077),i=t(7674);i&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(y,E){o(y),a(E);try{return i(y,E),!0}catch(T){return!1}}})},3593:(s,v,t)=>{var e=t(2109),o=t(6916),a=t(9670),i=t(111),u=t(2149),y=t(7293),E=t(3070),T=t(1236),P=t(9518),S=t(9114);e({target:"Reflect",stat:!0,forced:y(function(){var D=function(){},I=E.f(new D,"a",{configurable:!0});return!1!==Reflect.set(D.prototype,"a",1,I)})},{set:function m(D,I,x){var V,q,st,N=arguments.length<4?D:arguments[3],G=T.f(a(D),I);if(!G){if(i(q=P(D)))return m(q,I,x,N);G=S(0)}if(u(G)){if(!1===G.writable||!i(N))return!1;if(V=T.f(N,I)){if(V.get||V.set||!1===V.writable)return!1;V.value=x,E.f(N,I,V)}else E.f(N,I,S(0,x))}else{if(void 0===(st=G.set))return!1;o(st,N,x)}return!0}})},1299:(s,v,t)=>{var e=t(2109),o=t(7854),a=t(8003);e({global:!0},{Reflect:{}}),a(o.Reflect,"Reflect",!0)}},s=>{s(s.s=7435)}]); \ No newline at end of file diff --git a/server/src/uds/static/modern/runtime-es2015.js b/server/src/uds/static/modern/runtime-es2015.js deleted file mode 100644 index 84abdee6..00000000 --- a/server/src/uds/static/modern/runtime-es2015.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var r,n={},e={};function t(r){var o=e[r];if(void 0!==o)return o.exports;var u=e[r]={exports:{}};return n[r](u,u.exports,t),u.exports}t.m=n,r=[],t.O=function(n,e,o,u){if(!e){var f=1/0;for(l=0;l=u)&&Object.keys(t.O).every(function(r){return t.O[r](e[c])})?e.splice(c--,1):(i=!1,u0&&r[l-1][2]>u;l--)r[l]=r[l-1];r[l]=[e,o,u]},t.n=function(r){var n=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(n,{a:n}),n},t.d=function(r,n){for(var e in n)t.o(n,e)&&!t.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:n[e]})},t.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)},function(){var r={666:0};t.O.j=function(n){return 0===r[n]};var n=function(n,e){var o,u,f=e[0],i=e[1],c=e[2],a=0;for(o in i)t.o(i,o)&&(t.m[o]=i[o]);if(c)var l=c(t);for(n&&n(e);a=u)&&Object.keys(t.O).every(function(r){return t.O[r](e[c])})?e.splice(c--,1):(i=!1,u0&&r[l-1][2]>u;l--)r[l]=r[l-1];r[l]=[e,o,u]},t.n=function(r){var n=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(n,{a:n}),n},t.d=function(r,n){for(var e in n)t.o(n,e)&&!t.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:n[e]})},t.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)},function(){var r={666:0};t.O.j=function(n){return 0===r[n]};var n=function(n,e){var o,u,f=e[0],i=e[1],c=e[2],a=0;for(o in i)t.o(i,o)&&(t.m[o]=i[o]);if(c)var l=c(t);for(n&&n(e);a{"use strict";var e,_={},d={};function n(e){var a=d[e];if(void 0!==a)return a.exports;var r=d[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,t,u)=>{if(!r){var c=1/0;for(f=0;f=u)&&Object.keys(n.O).every(i=>n.O[i](r[l]))?r.splice(l--,1):(o=!1,u0&&e[f-1][2]>u;f--)e[f]=e[f-1];e[f]=[r,t,u]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=t=>0===e[t];var a=(t,u)=>{var l,s,[f,c,o]=u,v=0;if(f.some(h=>0!==e[h])){for(l in c)n.o(c,l)&&(n.m[l]=c[l]);if(o)var b=o(n)}for(t&&t(u);v=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var i=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(i,"")},interpolateString:function(e,t){return e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(e){return t(arguments[1])||""})},getCookie:function(e){var t=("; "+document.cookie).split("; "+e+"=");return t.length<2?void 0:t.pop().split(";").shift()},setCookie:function(e,t,i,n,o,s){var r=new Date;r.setHours(r.getHours()+24*(i||365));var a=[e+"="+t,"expires="+r.toUTCString(),"path="+(o||"/")];n&&a.push("domain="+n),s&&a.push("secure"),document.cookie=a.join(";")},deepExtend:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(i in e&&this.isPlainObject(e[i])&&this.isPlainObject(t[i])?this.deepExtend(e[i],t[i]):e[i]=t[i]);return e},throttle:function(e,t){var i=!1;return function(){i||(e.apply(this,arguments),i=!0,setTimeout(function(){i=!1},t))}},hash:function(e){var t,i,n=0;if(0===e.length)return n;for(t=0,i=e.length;t=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),i=38+(t>>16),n=38+(t>>8&255),o=38+(255&t);return"#"+(16777216+65536*(i<255?i<1?0:i:255)+256*(n<255?n<1?0:n:255)+(o<255?o<1?0:o:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"==typeof e&&null!==e&&e.constructor==Object},traverseDOMPath:function(e,i){return e&&e.parentNode?t.hasClass(e,i)?e:this.traverseDOMPath(e.parentNode,i):null}};e.status={deny:"deny",allow:"allow",dismiss:"dismiss"},e.transitionEnd=function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var i in t)if(t.hasOwnProperty(i)&&void 0!==e.style[i+"ransition"])return t[i];return""}(),e.hasTransition=!!e.transitionEnd;var i=Object.keys(e.status).map(t.escapeRegExp);e.customStyles={},e.Popup=function(){var n={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(e){},onStatusChange:function(e,t){},onRevokeChoice:function(){},onNoCookieLaw:function(e,t){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"https://www.cookiesandyou.com",close:"❌",target:"_blank",policy:"Cookie Policy"},elements:{header:'{{header}} ',message:'{{message}}',messagelink:'{{message}} {{link}}',dismiss:'{{dismiss}}',allow:'{{allow}}',deny:'{{deny}}',link:'{{link}}',close:'{{close}}'},window:'',revokeBtn:'
{{policy}}
',compliance:{info:'
{{dismiss}}
',"opt-in":'
{{deny}}{{allow}}
',"opt-out":'
{{deny}}{{allow}}
'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};function o(){this.initialise.apply(this,arguments)}function s(e){this.openingTimeout=null,t.removeClass(e,"cc-invisible")}function r(t){t.style.display="none",t.removeEventListener(e.transitionEnd,this.afterTransition),this.afterTransition=null}function a(){var e=this.options.position.split("-"),t=[];return e.forEach(function(e){t.push("cc-"+e)}),t}function c(n){var o=this.options,s=document.createElement("div"),r=o.container&&1===o.container.nodeType?o.container:document.body;s.innerHTML=n;var a=s.children[0];return a.style.display="none",t.hasClass(a,"cc-window")&&e.hasTransition&&t.addClass(a,"cc-invisible"),this.onButtonClick=function(n){var o=t.traverseDOMPath(n.target,"cc-btn")||n.target;if(t.hasClass(o,"cc-btn")){var s=o.className.match(new RegExp("\\bcc-("+i.join("|")+")\\b")),r=s&&s[1]||!1;r&&(this.setStatus(r),this.close(!0))}t.hasClass(o,"cc-close")&&(this.setStatus(e.status.dismiss),this.close(!0)),t.hasClass(o,"cc-revoke")&&this.revokeChoice()}.bind(this),a.addEventListener("click",this.onButtonClick),o.autoAttach&&(r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a)),a}function l(e){return"000000"==(e=t.normaliseHex(e))?"#222":t.getLuminance(e)}function u(e,t){for(var i=0,n=e.length;i=0;return o&&t(n),o}.call(this)&&(this.options.enabled=!1),u(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),u(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var o=this.options.window.replace("{{classes}}",function(){var i=this.options,n="top"==i.position||"bottom"==i.position?"banner":"floating";t.isMobile()&&(n="floating");var o=["cc-"+n,"cc-type-"+i.type,"cc-theme-"+i.theme];return i.static&&o.push("cc-static"),o.push.apply(o,a.call(this)),function(i){var n=t.hash(JSON.stringify(i)),o="cc-color-override-"+n,s=t.isPlainObject(i);return this.customStyleSelector=s?o:null,s&&function(i,n,o){if(e.customStyles[i])++e.customStyles[i].references;else{var s={},r=n.popup,a=n.button,c=n.highlight;r&&(r.text=r.text?r.text:t.getContrast(r.background),r.link=r.link?r.link:r.text,s[o+".cc-window"]=["color: "+r.text,"background-color: "+r.background],s[o+".cc-revoke"]=["color: "+r.text,"background-color: "+r.background],s[o+" .cc-link,"+o+" .cc-link:active,"+o+" .cc-link:visited"]=["color: "+r.link],a&&(a.text=a.text?a.text:t.getContrast(a.background),a.border=a.border?a.border:"transparent",s[o+" .cc-btn"]=["color: "+a.text,"border-color: "+a.border,"background-color: "+a.background],a.padding&&s[o+" .cc-btn"].push("padding: "+a.padding),"transparent"!=a.background&&(s[o+" .cc-btn:hover, "+o+" .cc-btn:focus"]=["background-color: "+(a.hover||l(a.background))]),c?(c.text=c.text?c.text:t.getContrast(c.background),c.border=c.border?c.border:"transparent",s[o+" .cc-highlight .cc-btn:first-child"]=["color: "+c.text,"border-color: "+c.border,"background-color: "+c.background]):s[o+" .cc-highlight .cc-btn:first-child"]=["color: "+r.text]));var u=document.createElement("style");document.head.appendChild(u),e.customStyles[i]={references:1,element:u.sheet};var h=-1;for(var p in s)s.hasOwnProperty(p)&&u.sheet.insertRule(p+"{"+s[p].join(";")+"}",++h)}}(n,i,"."+o),s}.call(this,this.options.palette),this.customStyleSelector&&o.push(this.customStyleSelector),o}.call(this).join(" ")).replace("{{children}}",function(){var e={},i=this.options;i.showLink||(i.elements.link="",i.elements.messagelink=i.elements.message),Object.keys(i.elements).forEach(function(n){e[n]=t.interpolateString(i.elements[n],function(e){var t=i.content[e];return e&&"string"==typeof t&&t.length?t:""})});var n=i.compliance[i.type];n||(n=i.compliance.info),e.compliance=t.interpolateString(n,function(t){return e[t]});var o=i.layouts[i.layout];return o||(o=i.layouts.basic),t.interpolateString(o,function(t){return e[t]})}.call(this)),s=this.options.overrideHTML;if("string"==typeof s&&s.length&&(o=s),this.options.static){var r=c.call(this,'
'+o+"
");r.style.display="",this.element=r.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")}else this.element=c.call(this,o);(function(){var i=this.setStatus.bind(this),n=this.close.bind(this),o=this.options.dismissOnTimeout;"number"==typeof o&&o>=0&&(this.dismissTimeout=window.setTimeout(function(){i(e.status.dismiss),n(!0)},Math.floor(o)));var s=this.options.dismissOnScroll;if("number"==typeof s&&s>=0){var r=function(t){window.pageYOffset>Math.floor(s)&&(i(e.status.dismiss),n(!0),window.removeEventListener("scroll",r),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=r,window.addEventListener("scroll",r))}var a=this.options.dismissOnWindowClick,c=this.options.ignoreClicksFrom;if(a){var l=function(o){for(var s=!1,r=o.path.length,a=c.length,u=0;uo&&(i=!0),i?t.hasClass(n,"cc-active")||t.addClass(n,"cc-active"):t.hasClass(n,"cc-active")&&t.removeClass(n,"cc-active")},200);this.onMouseMove=o,window.addEventListener("mousemove",o)}}}.call(this),this.options.autoOpen&&this.autoOpen()},o.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,function(i){if(t.isPlainObject(i)){var n=t.hash(JSON.stringify(i)),o=e.customStyles[n];if(o&&!--o.references){var s=o.element.ownerNode;s&&s.parentNode&&s.parentNode.removeChild(s),e.customStyles[n]=null}}}(this.options.palette),this.options=null},o.prototype.open=function(t){if(this.element)return this.isOpen()||(e.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},o.prototype.close=function(t){if(this.element)return this.isOpen()&&(e.hasTransition?this.fadeOut():this.element.style.display="none",t&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},o.prototype.fadeIn=function(){var i=this.element;if(e.hasTransition&&i&&(this.afterTransition&&r.call(this,i),t.hasClass(i,"cc-invisible"))){if(i.style.display="",this.options.static){var n=this.element.clientHeight;this.element.parentNode.style.maxHeight=n+"px"}this.openingTimeout=setTimeout(s.bind(this,i),20)}},o.prototype.fadeOut=function(){var i=this.element;e.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),s.bind(this,i)),t.hasClass(i,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=r.bind(this,i),i.addEventListener(e.transitionEnd,this.afterTransition),t.addClass(i,"cc-invisible")))},o.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!e.hasTransition||!t.hasClass(this.element,"cc-invisible"))},o.prototype.toggleRevokeButton=function(e){this.revokeBtn&&(this.revokeBtn.style.display=e?"":"none")},o.prototype.revokeChoice=function(e){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),e||this.autoOpen()},o.prototype.hasAnswered=function(t){return Object.keys(e.status).indexOf(this.getStatus())>=0},o.prototype.hasConsented=function(t){var i=this.getStatus();return i==e.status.allow||i==e.status.dismiss},o.prototype.autoOpen=function(e){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&this.options.revokable&&this.toggleRevokeButton(!0)},o.prototype.setStatus=function(i){var n=this.options.cookie,o=t.getCookie(n.name),s=Object.keys(e.status).indexOf(o)>=0;Object.keys(e.status).indexOf(i)>=0?(t.setCookie(n.name,i,n.expiryDays,n.domain,n.path,n.secure),this.options.onStatusChange.call(this,i,s)):this.clearStatus()},o.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},o.prototype.clearStatus=function(){var e=this.options.cookie;t.setCookie(e.name,"",-1,e.domain,e.path)},o}(),e.Location=function(){var e={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(e,t){try{var i=JSON.parse(t);return i.error?s(i):{code:i.country}}catch(e){return s({error:"Invalid response ("+e+")"})}}}},ipinfodb:function(e){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(e,t){try{var i=JSON.parse(t);return"ERROR"==i.statusCode?s({error:i.statusMessage}):{code:i.countryCode}}catch(e){return s({error:"Invalid response ("+e+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(e){window.geoip2?geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(t){e(s(t))}},function(t){e(s(t))}):e(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};function i(i){t.deepExtend(this.options={},e),t.isPlainObject(i)&&t.deepExtend(this.options,i),this.currentServiceIndex=-1}function n(e,t,i){var n,o=document.createElement("script");o.type="text/"+(e.type||"javascript"),o.src=e.src||e,o.async=!1,o.onreadystatechange=o.onload=function(){var e=o.readyState;clearTimeout(n),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),o.onreadystatechange=o.onload=null)},document.body.appendChild(o),n=setTimeout(function(){t.done=!0,t(),o.onreadystatechange=o.onload=null},i)}function o(e,t,i,n,o){var s=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(s.open(n?"POST":"GET",e,1),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(o))for(var r=0,a=o.length;r3&&t(s)}),s.send(n)}function s(e){return new Error("Error ["+(e.code||"UNKNOWN")+"]: "+e.error)}return i.prototype.getNextService=function(){var e;do{e=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex=0,revokable:t.revokable.indexOf(e)>=0,explicitAction:t.explicitAction.indexOf(e)>=0}},i.prototype.applyLaw=function(e,t){var i=this.get(t);return i.hasLaw||(e.enabled=!1,"function"==typeof e.onNoCookieLaw&&e.onNoCookieLaw(t,i)),this.options.regionalLaw&&(i.revokable&&(e.revokable=!0),i.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e},i}(),e.initialise=function(i,n,o){var s=new e.Law(i.law);n||(n=function(){}),o||(o=function(){});var r=Object.keys(e.status),a=t.getCookie("cookieconsent_status");r.indexOf(a)>=0?n(new e.Popup(i)):e.getCountryCode(i,function(t){delete i.law,delete i.location,t.code&&(i=s.applyLaw(i,t.code)),n(new e.Popup(i))},function(t){delete i.law,delete i.location,o(t,new e.Popup(i))})},e.getCountryCode=function(t,i,n){t.law&&t.law.countryCode?i({code:t.law.countryCode}):t.location?new e.Location(t.location).locate(function(e){i(e||{})},n):i({})},e.utils=t,e.hasInitialised=!0,window.cookieconsent=e}}(window.cookieconsent||{}); \ No newline at end of file +!function(c){if(!c.hasInitialised){var a={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var o=" ";return 1===e.nodeType&&(o+e.className+o).replace(/[\n\t]/g,o).indexOf(o+t+o)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var o=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(o,"")},interpolateString:function(e,t){return e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(o){return t(arguments[1])||""})},getCookie:function(e){var t=("; "+document.cookie).split("; "+e+"=");return t.length<2?void 0:t.pop().split(";").shift()},setCookie:function(e,t,o,d,f,n){var r=new Date;r.setHours(r.getHours()+24*(o||365));var u=[e+"="+t,"expires="+r.toUTCString(),"path="+(f||"/")];d&&u.push("domain="+d),n&&u.push("secure"),document.cookie=u.join(";")},deepExtend:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(o in e&&this.isPlainObject(e[o])&&this.isPlainObject(t[o])?this.deepExtend(e[o],t[o]):e[o]=t[o]);return e},throttle:function(e,t){var o=!1;return function(){o||(e.apply(this,arguments),o=!0,setTimeout(function(){o=!1},t))}},hash:function(e){var t,o,d=0;if(0===e.length)return d;for(t=0,o=e.length;t=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),o=38+(t>>16),d=38+(t>>8&255),f=38+(255&t);return"#"+(16777216+65536*(o<255?o<1?0:o:255)+256*(d<255?d<1?0:d:255)+(f<255?f<1?0:f:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"==typeof e&&null!==e&&e.constructor==Object},traverseDOMPath:function(e,t){return e&&e.parentNode?a.hasClass(e,t)?e:this.traverseDOMPath(e.parentNode,t):null}};c.status={deny:"deny",allow:"allow",dismiss:"dismiss"},c.transitionEnd=function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var o in t)if(t.hasOwnProperty(o)&&void 0!==e.style[o+"ransition"])return t[o];return""}(),c.hasTransition=!!c.transitionEnd;var N=Object.keys(c.status).map(a.escapeRegExp);c.customStyles={},c.Popup=function(){var e={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(i){},onStatusChange:function(i,s){},onRevokeChoice:function(){},onNoCookieLaw:function(i,s){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"https://www.cookiesandyou.com",close:"❌",target:"_blank",policy:"Cookie Policy"},elements:{header:'{{header}} ',message:'{{message}}',messagelink:'{{message}} {{link}}',dismiss:'{{dismiss}}',allow:'{{allow}}',deny:'{{deny}}',link:'{{link}}',close:'{{close}}'},window:'',revokeBtn:'
{{policy}}
',compliance:{info:'
{{dismiss}}
',"opt-in":'
{{deny}}{{allow}}
',"opt-out":'
{{deny}}{{allow}}
'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};function t(){this.initialise.apply(this,arguments)}function o(i){this.openingTimeout=null,a.removeClass(i,"cc-invisible")}function d(i){i.style.display="none",i.removeEventListener(c.transitionEnd,this.afterTransition),this.afterTransition=null}function f(){var i=this.options.position.split("-"),s=[];return i.forEach(function(h){s.push("cc-"+h)}),s}function n(i){var s=this.options,h=document.createElement("div"),m=s.container&&1===s.container.nodeType?s.container:document.body;h.innerHTML=i;var l=h.children[0];return l.style.display="none",a.hasClass(l,"cc-window")&&c.hasTransition&&a.addClass(l,"cc-invisible"),this.onButtonClick=function(p){var v=a.traverseDOMPath(p.target,"cc-btn")||p.target;if(a.hasClass(v,"cc-btn")){var b=v.className.match(new RegExp("\\bcc-("+N.join("|")+")\\b")),k=b&&b[1]||!1;k&&(this.setStatus(k),this.close(!0))}a.hasClass(v,"cc-close")&&(this.setStatus(c.status.dismiss),this.close(!0)),a.hasClass(v,"cc-revoke")&&this.revokeChoice()}.bind(this),l.addEventListener("click",this.onButtonClick),s.autoAttach&&(m.firstChild?m.insertBefore(l,m.firstChild):m.appendChild(l)),l}function r(i){return"000000"==(i=a.normaliseHex(i))?"#222":a.getLuminance(i)}function u(i,s){for(var h=0,m=i.length;h=0;return b&&l(v),b}.call(this)&&(this.options.enabled=!1),u(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),u(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var s=this.options.window.replace("{{classes}}",function(){var l=this.options,p="top"==l.position||"bottom"==l.position?"banner":"floating";a.isMobile()&&(p="floating");var v=["cc-"+p,"cc-type-"+l.type,"cc-theme-"+l.theme];return l.static&&v.push("cc-static"),v.push.apply(v,f.call(this)),function(b){var k=a.hash(JSON.stringify(b)),O="cc-color-override-"+k,x=a.isPlainObject(b);return this.customStyleSelector=x?O:null,x&&function(E,T,w){if(c.customStyles[E])++c.customStyles[E].references;else{var C={},y=T.popup,g=T.button,S=T.highlight;y&&(y.text=y.text?y.text:a.getContrast(y.background),y.link=y.link?y.link:y.text,C[w+".cc-window"]=["color: "+y.text,"background-color: "+y.background],C[w+".cc-revoke"]=["color: "+y.text,"background-color: "+y.background],C[w+" .cc-link,"+w+" .cc-link:active,"+w+" .cc-link:visited"]=["color: "+y.link],g&&(g.text=g.text?g.text:a.getContrast(g.background),g.border=g.border?g.border:"transparent",C[w+" .cc-btn"]=["color: "+g.text,"border-color: "+g.border,"background-color: "+g.background],g.padding&&C[w+" .cc-btn"].push("padding: "+g.padding),"transparent"!=g.background&&(C[w+" .cc-btn:hover, "+w+" .cc-btn:focus"]=["background-color: "+(g.hover||r(g.background))]),S?(S.text=S.text?S.text:a.getContrast(S.background),S.border=S.border?S.border:"transparent",C[w+" .cc-highlight .cc-btn:first-child"]=["color: "+S.text,"border-color: "+S.border,"background-color: "+S.background]):C[w+" .cc-highlight .cc-btn:first-child"]=["color: "+y.text]));var L=document.createElement("style");document.head.appendChild(L),c.customStyles[E]={references:1,element:L.sheet};var R=-1;for(var P in C)C.hasOwnProperty(P)&&L.sheet.insertRule(P+"{"+C[P].join(";")+"}",++R)}}(k,b,"."+O),x}.call(this,this.options.palette),this.customStyleSelector&&v.push(this.customStyleSelector),v}.call(this).join(" ")).replace("{{children}}",function(){var l={},p=this.options;p.showLink||(p.elements.link="",p.elements.messagelink=p.elements.message),Object.keys(p.elements).forEach(function(k){l[k]=a.interpolateString(p.elements[k],function(O){var x=p.content[O];return O&&"string"==typeof x&&x.length?x:""})});var v=p.compliance[p.type];v||(v=p.compliance.info),l.compliance=a.interpolateString(v,function(k){return l[k]});var b=p.layouts[p.layout];return b||(b=p.layouts.basic),a.interpolateString(b,function(k){return l[k]})}.call(this)),h=this.options.overrideHTML;if("string"==typeof h&&h.length&&(s=h),this.options.static){var m=n.call(this,'
'+s+"
");m.style.display="",this.element=m.firstChild,this.element.style.display="none",a.addClass(this.element,"cc-invisible")}else this.element=n.call(this,s);(function(){var l=this.setStatus.bind(this),p=this.close.bind(this),v=this.options.dismissOnTimeout;"number"==typeof v&&v>=0&&(this.dismissTimeout=window.setTimeout(function(){l(c.status.dismiss),p(!0)},Math.floor(v)));var b=this.options.dismissOnScroll;if("number"==typeof b&&b>=0){var k=function(T){window.pageYOffset>Math.floor(b)&&(l(c.status.dismiss),p(!0),window.removeEventListener("scroll",k),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=k,window.addEventListener("scroll",k))}var x=this.options.ignoreClicksFrom;if(this.options.dismissOnWindowClick){var E=function(T){for(var w=!1,C=T.path.length,y=x.length,g=0;gx&&(O=!0),O?a.hasClass(v,"cc-active")||a.addClass(v,"cc-active"):a.hasClass(v,"cc-active")&&a.removeClass(v,"cc-active")},200);this.onMouseMove=b,window.addEventListener("mousemove",b)}}}.call(this),this.options.autoOpen&&this.autoOpen()},t.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,function(i){if(a.isPlainObject(i)){var s=a.hash(JSON.stringify(i)),h=c.customStyles[s];if(h&&!--h.references){var m=h.element.ownerNode;m&&m.parentNode&&m.parentNode.removeChild(m),c.customStyles[s]=null}}}(this.options.palette),this.options=null},t.prototype.open=function(i){if(this.element)return this.isOpen()||(c.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},t.prototype.close=function(i){if(this.element)return this.isOpen()&&(c.hasTransition?this.fadeOut():this.element.style.display="none",i&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},t.prototype.fadeIn=function(){var i=this.element;c.hasTransition&&i&&(this.afterTransition&&d.call(this,i),a.hasClass(i,"cc-invisible"))&&(i.style.display="",this.options.static&&(this.element.parentNode.style.maxHeight=this.element.clientHeight+"px"),this.openingTimeout=setTimeout(o.bind(this,i),20))},t.prototype.fadeOut=function(){var i=this.element;c.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),o.bind(this,i)),a.hasClass(i,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=d.bind(this,i),i.addEventListener(c.transitionEnd,this.afterTransition),a.addClass(i,"cc-invisible")))},t.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!c.hasTransition||!a.hasClass(this.element,"cc-invisible"))},t.prototype.toggleRevokeButton=function(i){this.revokeBtn&&(this.revokeBtn.style.display=i?"":"none")},t.prototype.revokeChoice=function(i){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),i||this.autoOpen()},t.prototype.hasAnswered=function(i){return Object.keys(c.status).indexOf(this.getStatus())>=0},t.prototype.hasConsented=function(i){var s=this.getStatus();return s==c.status.allow||s==c.status.dismiss},t.prototype.autoOpen=function(i){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&this.options.revokable&&this.toggleRevokeButton(!0)},t.prototype.setStatus=function(i){var s=this.options.cookie,h=a.getCookie(s.name),m=Object.keys(c.status).indexOf(h)>=0;Object.keys(c.status).indexOf(i)>=0?(a.setCookie(s.name,i,s.expiryDays,s.domain,s.path,s.secure),this.options.onStatusChange.call(this,i,m)):this.clearStatus()},t.prototype.getStatus=function(){return a.getCookie(this.options.cookie.name)},t.prototype.clearStatus=function(){var i=this.options.cookie;a.setCookie(i.name,"",-1,i.domain,i.path)},t}(),c.Location=function(){var e={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(n,r){try{var u=JSON.parse(r);return u.error?f(u):{code:u.country}}catch(i){return f({error:"Invalid response ("+i+")"})}}}},ipinfodb:function(n){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(r,u){try{var i=JSON.parse(u);return"ERROR"==i.statusCode?f({error:i.statusMessage}):{code:i.countryCode}}catch(s){return f({error:"Invalid response ("+s+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(n){window.geoip2?geoip2.country(function(r){try{n({code:r.country.iso_code})}catch(u){n(f(u))}},function(r){n(f(r))}):n(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};function t(n){a.deepExtend(this.options={},e),a.isPlainObject(n)&&a.deepExtend(this.options,n),this.currentServiceIndex=-1}function o(n,r,u){var i,s=document.createElement("script");s.type="text/"+(n.type||"javascript"),s.src=n.src||n,s.async=!1,s.onreadystatechange=s.onload=function(){var h=s.readyState;clearTimeout(i),r.done||h&&!/loaded|complete/.test(h)||(r.done=!0,r(),s.onreadystatechange=s.onload=null)},document.body.appendChild(s),i=setTimeout(function(){r.done=!0,r(),s.onreadystatechange=s.onload=null},u)}function d(n,r,u,i,s){var h=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(h.open(i?"POST":"GET",n,1),h.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(s))for(var m=0,l=s.length;m3&&r(h)}),h.send(i)}function f(n){return new Error("Error ["+(n.code||"UNKNOWN")+"]: "+n.error)}return t.prototype.getNextService=function(){var n;do{n=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex=0,revokable:d.revokable.indexOf(o)>=0,explicitAction:d.explicitAction.indexOf(o)>=0}},t.prototype.applyLaw=function(o,d){var f=this.get(d);return f.hasLaw||(o.enabled=!1,"function"==typeof o.onNoCookieLaw&&o.onNoCookieLaw(d,f)),this.options.regionalLaw&&(f.revokable&&(o.revokable=!0),f.explicitAction&&(o.dismissOnScroll=!1,o.dismissOnTimeout=!1)),o},t}(),c.initialise=function(e,t,o){var d=new c.Law(e.law);t||(t=function(){}),o||(o=function(){});var f=Object.keys(c.status),n=a.getCookie("cookieconsent_status");f.indexOf(n)>=0?t(new c.Popup(e)):c.getCountryCode(e,function(r){delete e.law,delete e.location,r.code&&(e=d.applyLaw(e,r.code)),t(new c.Popup(e))},function(r){delete e.law,delete e.location,o(r,new c.Popup(e))})},c.getCountryCode=function(e,t,o){e.law&&e.law.countryCode?t({code:e.law.countryCode}):e.location?new c.Location(e.location).locate(function(d){t(d||{})},o):t({})},c.utils=a,c.hasInitialised=!0,window.cookieconsent=c}}(window.cookieconsent||{}); \ No newline at end of file diff --git a/server/src/uds/static/modern/styles.css b/server/src/uds/static/modern/styles.css index be1e68b9..4f9ea930 100644 --- a/server/src/uds/static/modern/styles.css +++ b/server/src/uds/static/modern/styles.css @@ -1 +1 @@ -.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body-1 p,.mat-body p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content,.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group,.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@-webkit-keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-start{/*!*/}@-webkit-keyframes cdk-text-field-autofill-end{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}.mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-option{color:rgba(0,0,0,.87)}.mat-option.mat-active,.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled),.mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{color:rgba(0,0,0,.87)}.mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#3f51b5}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff4081}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label{color:rgba(0,0,0,.54)}.mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate,.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate{background:#ff4081}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable,.ng-animate-disabled .mat-badge-content{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .mat-badge-content{outline:1px solid;border-radius:0}.mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#3f51b5}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#ff4081}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#3f51b5}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff4081}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not(.mat-button-disabled){border-color:rgba(0,0,0,.12)}.mat-fab,.mat-flat-button,.mat-mini-fab,.mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.mat-fab.mat-accent,.mat-fab.mat-primary,.mat-fab.mat-warn,.mat-flat-button.mat-accent,.mat-flat-button.mat-primary,.mat-flat-button.mat-warn,.mat-mini-fab.mat-accent,.mat-mini-fab.mat-primary,.mat-mini-fab.mat-warn,.mat-raised-button.mat-accent,.mat-raised-button.mat-primary,.mat-raised-button.mat-warn{color:#fff}.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled{color:rgba(0,0,0,.26)}.mat-fab.mat-primary,.mat-flat-button.mat-primary,.mat-mini-fab.mat-primary,.mat-raised-button.mat-primary{background-color:#3f51b5}.mat-fab.mat-accent,.mat-flat-button.mat-accent,.mat-mini-fab.mat-accent,.mat-raised-button.mat-accent{background-color:#ff4081}.mat-fab.mat-warn,.mat-flat-button.mat-warn,.mat-mini-fab.mat-warn,.mat-raised-button.mat-warn{background-color:#f44336}.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled{background-color:rgba(0,0,0,.12)}.mat-fab.mat-accent .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-flat-button.mat-primary .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-flat-button:not([class*=mat-elevation-z]),.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none}.mat-button-toggle{color:rgba(0,0,0,.38)}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border:1px solid rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#fff;color:rgba(0,0,0,.87)}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle{color:rgba(0,0,0,.54)}.mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-checked.mat-primary .mat-checkbox-background,.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#3f51b5}.mat-checkbox-checked.mat-accent .mat-checkbox-background,.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#ff4081}.mat-checkbox-checked.mat-warn .mat-checkbox-background,.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#3f51b5}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff4081}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#3f51b5;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff4081;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-table{background:#fff}.mat-table-sticky,.mat-table tbody,.mat-table tfoot,.mat-table thead,[mat-footer-row],[mat-header-row],[mat-row],mat-footer-row,mat-header-row,mat-row{background:inherit}mat-footer-row,mat-header-row,mat-row,td.mat-cell,td.mat-footer-cell,th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.mat-header-cell{color:rgba(0,0,0,.54)}.mat-cell,.mat-footer-cell{color:rgba(0,0,0,.87)}.mat-calendar-arrow{fill:rgba(0,0,0,.54)}.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-toggle{color:rgba(0,0,0,.54)}.mat-calendar-table-header{color:rgba(0,0,0,.38)}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-body-label{color:rgba(0,0,0,.54)}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:rgba(0,0,0,.87);border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-form-field-disabled .mat-date-range-input-separator{color:rgba(0,0,0,.38)}.mat-calendar-body-in-preview{color:rgba(0,0,0,.24)}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:rgba(0,0,0,.18)}.mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 0)}.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(63,81,181,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(63,81,181,.3)}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(255,64,129,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(255,64,129,.3)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(90deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(270deg,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 0)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after,.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(244,67,54,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:rgba(244,67,54,.3)}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#3f51b5}.mat-datepicker-toggle-active.mat-accent{color:#ff4081}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:rgba(0,0,0,.38)}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator:after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff4081}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#ff4081}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff4081}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#3f51b5}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ff4081}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after,.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(90deg,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#3f51b5}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff4081}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#3f51b5}.mat-icon.mat-accent{color:#ff4081}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#3f51b5}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-form-field.mat-accent .mat-input-element{caret-color:#ff4081}.mat-form-field-invalid .mat-input-element,.mat-form-field.mat-warn .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.mat-list-base .mat-subheader{color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:focus,.mat-list-single-selected-option:hover{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:transparent;color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-icon-no-color,.mat-menu-item[disabled] .mat-menu-submenu-icon{color:rgba(0,0,0,.38)}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#cbd0e9}.mat-progress-bar-buffer{background-color:#cbd0e9}.mat-progress-bar-fill:after{background-color:#3f51b5}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ff4081}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#3f51b5}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#ff4081}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#3f51b5}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#3f51b5}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff4081}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff4081}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#3f51b5}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff4081}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{color:rgba(0,0,0,.87)}.mat-drawer,.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff4081}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(255,64,129,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff4081}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#3f51b5}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(63,81,181,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#3f51b5}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(244,67,54,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#3f51b5}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-primary .mat-slider-focus-ring{background-color:rgba(63,81,181,.2)}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#ff4081}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-focus-ring{background-color:rgba(255,64,129,.2)}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#f44336}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-focus-ring{background-color:rgba(244,67,54,.2)}.mat-slider.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(90deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:rgba(0,0,0,.04)}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media(hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header:after,.mat-horizontal-stepper-header:before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before,.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(197,202,233,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#3f51b5}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,128,171,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff4081}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(197,202,233,.3)}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container{background-color:#3f51b5}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,128,171,.3)}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container{background-color:#ff4081}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(255,205,210,.3)}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.mat-toolbar.mat-accent{background:#ff4081;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-nested-tree-node,.mat-tree-node{color:rgba(0,0,0,.87)}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:rgba(255,255,255,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#ff4081}.cc-window{opacity:1;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{transition:transform 1s ease}.cc-animate.cc-revoke.cc-top{transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-animate.cc-revoke.cc-active.cc-top,.cc-revoke:hover{transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;transition:max-height 1s}.cc-revoke,.cc-window{position:fixed;overflow:hidden;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:flex;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;flex-direction:row}.cc-revoke{padding:.5em}.cc-revoke:hover{text-decoration:underline}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em;text-decoration:underline}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:#000;color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{flex:1 0 auto}.cc-window.cc-banner{align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:flex;align-items:center;align-content:space-between}.cc-floating .cc-compliance>.cc-btn{flex:1}.cc-btn+.cc-btn{margin-left:.5em}@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait), screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{flex-direction:column}.cc-window.cc-banner .cc-compliance{flex:1 1 auto}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{align-items:unset}.cc-window.cc-banner .cc-message{margin-right:0}}.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}body,html{margin:0;font-family:Roboto,sans-serif;height:100%}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHEAAAB4CAYAAADFcR0YAAAYNElEQVR4nO2deXwT1drHT2nSlFK6JHNOAPX6XlQuive6wEWRrS2iLOJFSpq0ySC2CoKg4AI06ZKyoywCBUVR3NFeRUrbOQMIFSjpnGHTq6C4XVH09RUXWhFBpc/7R7pMli5Jk061/X0+zz/9TGfOPN+c55zznGdmEOpUpzrVqU51CqGiIhRZui8+saQi8S+llYYrS1yGgSLDQ4VKPHo7M4zf/S5J3XeM8NJxwrOPyNQyFzd149bEqUs3xk+d+1js1HtzYqfaHoyZapoRMyXFouXrLCktypZs0o0datIOHJIa3XuQCenVvtc/rIS9sbhU4pIp46aKEllOGdkiMnyQyuQUlfEFUcY1/mz7AVyzrYKrKdycWDPn0TjgZ3eDUZO6QoolukWWbNbV+LMUs+5csln3YbJFV5ycFr0o2Rw1YfDtqJfaflJVb5YnJJQxboAg4YmUkUcowxtFhvdQhk+KMoGW2s5DBLbtx7DmlUR4cHEcTJgaA0NTo2FIqg6GmaIhKa1l8II2s+58iiXalWLWrUoyR1mGpequUNu3YZUg6a+iMl5MGT4uyvg0ZeSsu1e1HJo3wNUvJcK4zK4wIj0aks0tcbzOj4UKqu5CikV3Jtmiez8lLSpdbX+HRMUVXHehkgymjKykDP8QLCx/RhmBh5fGwU3jPSGMsGhhhEUDw9MxDM7oAzdmXAM3ZAyEgdabYIB1GPS3jYb+tjENZr0VBliHwkDrILghYwAMsl0HQyZdA0P5K2C4tRekpHeHEeYIGGHuAiPMGkixRLU8NFuiv042ayf1N6F4tVkEowhBIvNFmZxoTU9ryhY9meDV86JgpAVBf9touHTyejBmFgOXuQv0WRWQmMUgIesgxGcdasQOQ0KmDPj+D6FnzjdwUe7XcHHOZ3CJ/Rhcmn0ILpuzC/o9sAYGTLkLhvF9YWQagpvTUC3UFvXQT4enRSerDaWlihAqyWAqk1PhAKfshen3d1OExxgYaB0KOHMnxGW9AwlZMiRksZbbPQcAP3ISejh/gh751X7sJzA6z4LReR5IQQ30zD8DfR56E/pPvRuG8n0hKYPUtqOZXpoWlYMQ6qI2pCYlMrw0nPCUECdMjakNWbFw+Z0LIT7rUODwMiUwTH8PjDnfNwGwaag986vg0uzD0Hf2JrgxayyMTEOQYtE2MRGK2qQ2p0YlyNw9bQGwzu6xx0KKRQfX2syQkHUgMHhZDBKyJNDPOAo9nWcCgNe0GZ2/wKX2YzB48g2QYolpahmzUW1ePhL3cj3bEqAoE1j7ih5GmCOh112vBd4DsyTgZn0cYO9rIcj8M2B0/gZ9Zz8PSdaLGpn96i4MN+tGq83NQwLDM9oa4luHjXBfng4Md9LAIGZKYJj5YVgAetsljk8gOT3RP0hz9Pdqc/PQYy/Grd9+oG0hijKB3Uc4mLAkB+IzWx5O9TOOhTSENh1ez8JfHB+7lyp+lyBRuWqzq5dlruYNQcJtDlGUCZS4/gL9HtwK8S0AmHjPQTDm/tgmAJV25aynGxsjv+k/DsWozQ8hhFD6vMgt2YUxsONg20PcfoCD1/f0hYum7YH4zCbCaqYEZM5XbRJGfcx5FobZevuGVbPuXLJJM1xtfgghhGx27dO8QwtPFyeq0ht3HOBgfekwME6paHQiY7jvKPRoozDqG1bPQ79Z6+HmNOQbUtN096vNDyGEkC1bO413aOHugijYVoFhuwogdx40wMynZ0BcI+Oj0X5KFYBu+wl65lX5h2iOelZtfgghhPiHEeEdWrBma+G+pdGg1vi461AiZK6bC13vfMdzLJx6RJWx0LM3noNhtst9QmqyJfpttfnVy2bX/Jt3aIF3aCFnfTegrO0hijIBQeoJKQVPes5Ip/8HeuRXqQzxLNx013A/EHXvq82uXqbZSM87ND/yDi3Y7FpY/Woc7DpsVAEkhjf2XgF/myVA97sO1kJ8T1WAdRAHZY70ya8mm3WfqM3OQza79gGbXVNTF1o3FieCGuvH7QcwvFnRG3rdu88Ncdq70COvnfbE9gYRIYRsdk1lXVjNckbB629zqoRVUcaw4s1bQX+3BIlTDreDMfEXGMpf5Q/iEbWZ+WjcFBRjs2t+qAur0xfrYMdBNcIqgR0HDTB/sxmibEfB6PhOZYjnYYSfBX+yWbddbWZ+ZcuOHK8Mq3NXx6jUGwnsOpQAU5+YDYbZn6mz0M+vhh75P8ElOSdhpMl3iZFi1j2tNq9GZbNrN9eFVd6hhZUvx8EOFcZHUSYgMiOMXbwGuNxzqo2HfR7e5nedmGLRPaw2qyZlc2g/r4OYPlcDL4h6VSY6okzg7cPdYciynUDyf1YllF49cxmMMHtD1F0Yboq6Q21OTSrDjq7lHZqf60BOztXCq28ZVAutxa7L4IYVB8GY37ZhlRT8Dv+cwsMIcxfvUPrzsFTtdWpzalZWh2aBMqzOXBYNgqRSWJUxbHVdAX+df6pNQZKCGhjKX+tbg2OO/n7IWJSoNqMWiXdoSuogZszTgL2wm2phdccBPby29zrot+STNuyNZyE5PcHfePiR2mxarDuykUE5PvIOLSze1F21sCrKBJ7fPRh6OdsG4iWOjyA5Pd7PprDuKbXZBCRbduR4JcRJOVrYVJaoyh6kKBN462ACvFh+E/Rd/HnYQ+tlc3ZDcnqsn22oqFS1uQQs3q7J9gZZtNugWmjdLmN46e2B0GfhScB54Zu19p39vN+d/UEm1FVtJkHJ5tCUK0FOW6SDbfvV2boSZXdlgMh6wahCCr0KvvvGmFf9dY+8qu+MeVXVxvzq30IB8e8zFvkrzfg/tVkErQn3oUvT50ScqYNos2shuzAGdh1RJzXnNgzbD2B4dU8/Gd0Bhvh5p3sb7T9cTXKrBxlzqm8z5lbl9MivKjPmVVUHDrEKrp86xc94GP2a2iyCUvl/k6K/+OGOq1/def171mxNfW9Mn6eBZc/HqjY+Ko0yvNdZjjSN3YNx3unebqjVHxjzqqqNedW/Nw3xNNyYOcpfznR6W/q+1Tp69Fb90f+OyX7/xJgDR0+MhQ9PjoO1r10BNrvn+PhsiTo1On5AFrXkvvRzvr+Y5Pw43phftapHXtUX/iD2zPsBhvJ9vQHWDDdpBoXb7yER+2CE4f0TY54/emIseNu7n42GGUvjQDk+Ts7TQqlLvfHRC2RZoPfbI++0yTvk9sz73mf3ItkSfWqYKfqv4fB5SASwsuvRE2NNR0+M2eoPXp0dPzkKKt5LBqs9AXiHpn58nL5Y125AigyvDdgBMz/WGfOqN7ohnoFLs//jk/hONus+bNcz04INvU6989no3499cVsjAMfA8ZMjoexQDtyz6RSkLS+rh1hn+Ru6qQ+w1gTGLQvGD8bcqhyj8xxcNesZ390Ls25bqP0eUqVndzk/OU8HL5T9A+QPR8IHX7phHv/yFjjyqQm2sIVw/4ufwJhVABMKAVILATIW2IB3II+Jzvo3EmDnITVnrATcL3MgIEr4gYAdkVSuwQU1B/tPvdsn8Z2Uprs3DK4PnWwO7WfuzWANTFscC8+WXA3HvxwNT+1+DrKe+RYmFgJMWOuG12A1YMvtA7yji0ePfLZUnRodfzDLJP3IQH2RsBDuHzrpWvB+XjHJhHqEw/chk7J0kXdoIWMugrSVDP61xhucp01cfRL4nHgPiPcu1MHWfWrV6PhaCSPXBOKLRCdcnWL2rqmJ/jZcvg+ZrHbtTCUI3o7AtPJAkwDrzLxsHfD2hrBqzdbCQyu7wluqh9X6HvlVsdTN2FJfDDZxf/OzPlwRTv+HROY56EpviOblpS2COGE9gHX+bcA7IjxAFjyl3taVjzF8sKW+GJ6mG+cNMcmkvTac/g+ZvCFali6H1HXNQ0wtBEhd+yvY8q/xmLFOytHCMyXtZXwkQGW8uSV+SDZ3fcQL4ld/mNeM2ewaqQFkBGQssLQcYiFA2koX8I4Yj/GRd2hhm0udh3X8hNWaMsZlNOeHQSbUNcmseyDZrNuQbIl+LdkSZW8L/4dEvENToHS+La9vQBAnrAOwLF0JkxTjo82uhfuWRENpZftIBFBGzpa4DBep7euwyTpPcwtv1/xaDyC3J0xcc6rFEOssY+HdPsuOhc/Etqew2v5K8EOl9IcQx9s139U7P6c7mFZKAUOcuOZbsOX19hgfLXM18PTWBNipUlW5H5Dt4yHRcIi3a7Y29KBIsCwrDBhiaiGA6fF3YVI28uiNk3O18PIOveoARZmAyMg3RUUoUm1/h0XumtM6x2vA6kwOCmLqOgDLo0/7hNUHHms/46MgkfZdxd0a8Q7tYeVSY+Lqr4IDWfg7WAtGA++IbMgEZWsh94luKj0D6R1Sybk/bW+0ZUferoQY6FLDY3xcex54R5zH+GjN1sKaovh2MdGhksGmtr/DIvfTw9ovGsJgFJge/zTI3ghgWnUIeEc3j7Cama/mM5DK3tiyBMAfUla7ZrHS6emL50BqYU3QINOXOD16o82uhWmLo9XPrzJ8pKgcx6rt73ApgrdrqhuWG3qYuOa7oCGmrgOwFiR5JMozsjXg3BCrajaHyuTbkvLunNrODpt4R+S4ht6IwFowBiasDxJiIUDq2jO160evivJS9QqtqEzOi3u5nmr7OmxKmoyibXaN7LmzsTV4iIUAaSu2A+/QeY6PzigodWFVJjpUxhf+1Gk4hBCyzdOM8synXgmpa8+2CmT6kgLP/Ue7FmY91lWl3ohPb9kfS9T2c9jFO7RFyt6YvujhoJccqYXuRLm14FaP9SPv0MLjm+PVgPiBIOnj1PZx2DVuCoqpq8Gp32t89LlWgZy4+iTwudgnLff621zbhlVG3kQIRajt4zaRzRGZarNrfm/Y4SBgevzjVoVV83LRI6za7FqYskDXprNVKnEWtX3bprLZtRuUm8bW/AGQWvhbq8KqZcl8j7IOm10LS55rowdZGflMbZ+qIptDs78BZBewOoe1qjemrv0FrM6bfKoB3tgT/mxOiYT/3N+HakzmR9BldW+eqtuucmdzggdpevxTj/yqO5ujCy9EiSxX25eqyurQ3ujZcyIgfXF2qxIBaSv3+YyPC5/pHp5JDsPHnM52/sWZtpA1O/JOT5Ao6A1kt9VA+qJ7PfKrmflRULQ7tO/PoTL+UG3ftStZHZplniB1YFm2LugeOXHtGeBzDB5h9cEVXWF3qJ5GZuQzYW8sVttv7U42h/Y5n3rVZauDHx9XujzCavo8DRS+ntDq98t19sBmZLNrX/SeXaYvcQadDMhYYPYIq1MW6KC4IviSDsrw9j/zdlPIpHz7VEPx8SQIZg8ybcUu4HNiPCY5a1+LDy4JwMjLavvmDyXeoX3K7XT3O1N5B4KM+akwcc2PAYO05f3VZ5ITRC8sqG1ax0irhUo2u+ZRzx6pAVvuxYGl6NYBpC9d4LmBPE8DK16Oh50tfVNHpeFmtX3xR1UEQghZHdpZyjyru0fFQtry11scXtNW/cfjcQDeoYV7CqKaneBQhk+WyXiY2o74Uyh9rmaId4/kHVFgnT8OJhb+3vxyY3W1b/FxXhT8u7zxdByVccWfutRCDVkeRJfwDu0x7wkP74gF8/ISSF17vokMToVHOOUdWrgzVwsvbW+kgpyRNzuzMGHS+Fkogc/WrPLtlZFgdQ4C8/Ji91JkneeYaHUOAu/q8TtztfCi6A0R11AZT1b7PjuEbPbIScpXUiuTA7a8PmB+dBNMXP2/YFp1HKwFN4P361XqwulruwzK8a+6jHED1L63DqWMeai399v+67a0eDtyT2TsyGN/UWlZzijl+PfGFtbdoPY9dVhl2DXJNoemyh+oxsy9xIiDnQeNIMhkmtr30CmEkMmEoqzZmjyP2p1GzGbXwsOrusKOg4SVuAwD1W57p7xkmo5i3dta7i/H+QM4c1k0FL2lf1AQkE7t9naqGfHzNCm8PfIJm0Ozh7drXNZszVsPLNOteu8LcpnabetUEOo/BWnVbkOnOtWpTnWqU53q1B9eRUUoqsRl6EsruaQyxt1GJTyGMv0gQdJfHP6Ll+NYyshLVCY7RYZ3UwkvCPU1yhjXR2S4hMpkJ2V4nyDpb2zm+AFUxm9TmexsqYky2UFlUiwy/DyVuccEhmcKzDC+hJFrwrFWpFLiPwSGZ4oyFijDPzRfs0M+pwwXiYy7t8yV+PeQNubN8oQEysjnigRxaUgvgGqhMHK2/hqV3O1NHi/jUaEoN6QM/y7K5IzIyHeijF8trTRc2dp7ESR9nMjwbiqTn5u4brXI8E9NAD0ryoRtY/GheUt/LcT/Nuyx4ZKQnFghd89quGmhkhvX1PGUkVu9Nm43izKXK0hcnre5/07mizJeRSW8iTIsUhnLIsMfU4arfPcQMRUrueuDuQ9ayd3u2S7ys8jwHkHmHhIrues3bPBdpxa54vRCJTdOYOQJUcYf+LaHuzuYtnio/UPENaJk+Fcg1ysqQpFFrjh9sQtfXibjUVQmxV77ib9SGa8L5JyU6QfVv+zd7ac9xS58eUDtKsexAjOkUBl/7dVz1wRyHh/9ESDSSjKhtW3Yukd/CZVxhVdY2+Wv9/htk0zOKSoCpNa8VUqQ9HFUxp8oIs2FYF4eX6+OArFWEZRxs71CdbM9soxxGZ7/YxjR2oYUueL07rG6/gf1ftAn62AQ3eeXcLYHFAkPafJ4mWxQHh+qdggMz1Cet0zGwX1+oSNCLClBMSLDHysceKKZ9rwSDoh0v+GfVMZfU5mcooycFSRyS1An6ogQEUJIlPB9inv+ranCYZHhpUqIIdxkjigqQlF1FnTlXUeF6HSiLl6THGdjx5Ywco3XMuWdMsb1CXWbglZHhYgQQlTGhxUzziZrUKlEpvtZ0D9DKxP+JxxtC0gdGaJ7AV5/30eaWzYIDM8VZfyj94KdMlwtyligMs4RJHKLKOv7lbgMF5WUoJhwtNtHHRkilfE85eSmJWu/EglfQSW8wA2ukZQfI7+IMv5KlMl7lJG3RIaXUma4I2xPHHdwiPc3rP3Iqaa+L+xPoqzvRyW8QJQJExn5P1HGpz2SAn4NnxYZt15w4etC9mqxjgxRkMjDiut8FShEpTZsQNrSffG9BRc3nEoGm8DwIspwqSjjLxoDWruzsbHVifCODJEyslKZMQnXC9qdTtSFVnJJAiNPUIarqIwveM12fyuTSGrQF+jgEHcpJidiWz0hVeIyDKQyXuceOz1SgMF9PMUbYjj2E0td5CZlg9sLRK/QthK17SPeEVRK/IfHBInhnwRJf1XAZ/JJQTF8LNStFSRyS+0Gbd01hjZ1fJtkbBg3VtEDLggSnui3LTLeTGV8mDJ8gDLu0VD3VoEZxnv8mCQyPagTUYYPKH8NRUUoKqQNlck0ZUObG3vaAGIEZaRSuSR4YTvq5u9AUSZM4Zs94Rg3RZmcafhBcY8FdRLKuHyF034VmCEllI2srYGpX1Q3357wQhSYYbwyMlBGHmnsWFEiTymXB0Uu1DWUbUEIIY9SD4YXBnWSF7ajbl4DbMg+3kElPER5bkHmrM3+TxghiowbqxyfqYzLA2k/lfCSULUFIYQESX+j8l5FifDBn0zmHvIc6LGptQ0sk3EP5a+MMny8yBXX7CdawwGxpATFuKvTPO7xy6179Jc09X9F5ThWZPhIqH2DEELC3lisXEdShn9oVYmjsxxpRBkLofrVlUn6kcoJE5XJuZYWKPlAZIY7gm2HKOv7UcblU0be9QKxt6WLbHe1niL8yuS8yPDS4gque7DtKpNIqsjwR54JAJwW7Pk8RBkWvTILZ6iM768dCyKQ/2l4/d/LKg03UEZcnuGZfBtItt8bosDIpNJ98YlFrjh9Y1Ym4x5lrsS/uyvL8FzKyNbGygYpI85AZ5ml++J7eye/qUzOU0aepBXc37z84O2jCIRQhLMcaYRKbPaG566xwXcF0p5mJUg40/uXWxcOKcMiZdwLlJEnqUw2UIY3Uka2iDJhPrWYDP8kMPJEIN+rR8i3ZLG15u5FeL8gcXmt+bLMlv2xhMq4UFkb4/VjP0wZLqOMvKT0j8hwicjwMb9tk/HbZTIeFWybmtSmchQtVJLByqxGAE47KUjcrKKdifEoiAU0lfCY1oHDp0UZ76eMrBAkckvRzsT4EFaBRxRXcN0p49JFRqQg2/ejIOPHi1348pZW24VElOkHiYy7270NQ54UGX6eMvKKKJGnRIksF2TuoTLG3RaKL7ds2IC0W1h3Q1Ph09sESR+n0scpI8RK7vrapLeDSni1KJGnqIw310UskeGlAsMzKSO3dr69qgPr/wEIWo9ONIJi0AAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}.highlight{color:red}.mat-menu-content .mat-menu-item:hover{background-color:#e8e8e8} \ No newline at end of file +.cc-window{opacity:1;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{transition:transform 1s ease}.cc-animate.cc-revoke.cc-top{transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-top,.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-revoke:hover{transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;transition:max-height 1s}.cc-revoke,.cc-window{position:fixed;overflow:hidden;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:flex;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;flex-direction:row}.cc-revoke{padding:.5em}.cc-revoke:hover{text-decoration:underline}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em;text-decoration:underline}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:#000;color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{flex:1 0 auto}.cc-window.cc-banner{align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:flex;align-items:center;align-content:space-between}.cc-floating .cc-compliance>.cc-btn{flex:1}.cc-btn+.cc-btn{margin-left:.5em}@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{flex-direction:column}.cc-window.cc-banner .cc-compliance{flex:1 1 auto}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{align-items:unset}.cc-window.cc-banner .cc-message{margin-right:0}}.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@-webkit-keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation:cdk-text-field-autofill-start 0s 1ms;animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation:cdk-text-field-autofill-end 0s 1ms;animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}.mat-ripple-element{background-color:#0000001a}.mat-option{color:#000000de}.mat-option:hover:not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled{color:#00000061}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#3f51b5}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff4081}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label{color:#0000008a}.mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.mat-pseudo-checkbox{color:#0000008a}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#ff4081}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:white;color:#000000de}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#3f51b5}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#ff4081}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#3f51b5}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff4081}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:black}.mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button,.mat-raised-button,.mat-fab,.mat-mini-fab{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary,.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent,.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background-color:#3f51b5}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#ff4081}.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.mat-flat-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:white}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #e0e0e0}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:white;color:#000000de}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle{color:#0000008a}.mat-checkbox-frame{border-color:#0000008a}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-label{color:#000000de}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#3f51b5}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#ff4081}.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#3f51b5}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff4081}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:black}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#3f51b5;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff4081;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.mat-table{background:white}.mat-table thead,.mat-table tbody,.mat-table tfoot,mat-header-row,mat-row,mat-footer-row,[mat-header-row],[mat-row],[mat-footer-row],.mat-table-sticky{background:inherit}mat-row,mat-header-row,mat-footer-row,th.mat-header-cell,td.mat-cell,td.mat-footer-cell{border-bottom-color:#0000001f}.mat-header-cell{color:#0000008a}.mat-cell,.mat-footer-cell{color:#000000de}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#3f51b566}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ff408166}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#3f51b5}.mat-datepicker-toggle-active.mat-accent{color:#ff4081}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:white;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:#0009}.mat-form-field.mat-focused .mat-form-field-label{color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff4081}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#ff4081}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff4081}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#3f51b5}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ff4081}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#3f51b5}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff4081}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-icon.mat-primary{color:#3f51b5}.mat-icon.mat-accent{color:#ff4081}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.mat-input-element{caret-color:#3f51b5}.mat-input-element::placeholder{color:#0000006b}.mat-input-element::-moz-placeholder{color:#0000006b}.mat-input-element::-webkit-input-placeholder{color:#0000006b}.mat-input-element:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent .mat-input-element{caret-color:#ff4081}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#000000de}.mat-list-base .mat-subheader{color:#0000008a}.mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-menu-panel{background:white}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:transparent;color:#000000de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0000008a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:white}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0000008a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#cbd0e9}.mat-progress-bar-buffer{background-color:#cbd0e9}.mat-progress-bar-fill:after{background-color:#3f51b5}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ff4081}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#3f51b5}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#ff4081}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#3f51b5}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#3f51b5}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff4081}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff4081}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:#000000de}.mat-select-placeholder{color:#0000006b}.mat-select-disabled .mat-select-value{color:#00000061}.mat-select-arrow{color:#0000008a}.mat-select-panel{background:white}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#3f51b5}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff4081}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff4081}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ff40818a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff4081}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#3f51b5}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#3f51b58a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#3f51b5}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#00000061}.mat-slider-track-background{background-color:#00000042}.mat-slider.mat-primary .mat-slider-track-fill,.mat-slider.mat-primary .mat-slider-thumb,.mat-slider.mat-primary .mat-slider-thumb-label{background-color:#3f51b5}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#3f51b533}.mat-slider.mat-accent .mat-slider-track-fill,.mat-slider.mat-accent .mat-slider-thumb,.mat-slider.mat-accent .mat-slider-thumb-label{background-color:#ff4081}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#ff408133}.mat-slider.mat-warn .mat-slider-track-fill,.mat-slider.mat-warn .mat-slider-thumb,.mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.mat-slider.mat-slider-disabled .mat-slider-track-background,.mat-slider.mat-slider-disabled .mat-slider-track-fill,.mat-slider.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#000000de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#00000061}.mat-tab-header-pagination-chevron{border-color:#000000de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#3f51b5}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff4081}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#3f51b5}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#ff4081}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-toolbar{background:whitesmoke;color:#000000de}.mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.mat-toolbar.mat-accent{background:#ff4081;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#ff4081}html,body{margin:0;font-family:Roboto,sans-serif;height:100%}.app-loading .logo{width:113px;height:120px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHEAAAB4CAYAAADFcR0YAAAYNElEQVR4nO2deXwT1drHT2nSlFK6JHNOAPX6XlQuive6wEWRrS2iLOJFSpq0ySC2CoKg4AI06ZKyoywCBUVR3NFeRUrbOQMIFSjpnGHTq6C4XVH09RUXWhFBpc/7R7pMli5Jk061/X0+zz/9TGfOPN+c55zznGdmEOpUpzrVqU51CqGiIhRZui8+saQi8S+llYYrS1yGgSLDQ4VKPHo7M4zf/S5J3XeM8NJxwrOPyNQyFzd149bEqUs3xk+d+1js1HtzYqfaHoyZapoRMyXFouXrLCktypZs0o0datIOHJIa3XuQCenVvtc/rIS9sbhU4pIp46aKEllOGdkiMnyQyuQUlfEFUcY1/mz7AVyzrYKrKdycWDPn0TjgZ3eDUZO6QoolukWWbNbV+LMUs+5csln3YbJFV5ycFr0o2Rw1YfDtqJfaflJVb5YnJJQxboAg4YmUkUcowxtFhvdQhk+KMoGW2s5DBLbtx7DmlUR4cHEcTJgaA0NTo2FIqg6GmaIhKa1l8II2s+58iiXalWLWrUoyR1mGpequUNu3YZUg6a+iMl5MGT4uyvg0ZeSsu1e1HJo3wNUvJcK4zK4wIj0aks0tcbzOj4UKqu5CikV3Jtmiez8lLSpdbX+HRMUVXHehkgymjKykDP8QLCx/RhmBh5fGwU3jPSGMsGhhhEUDw9MxDM7oAzdmXAM3ZAyEgdabYIB1GPS3jYb+tjENZr0VBliHwkDrILghYwAMsl0HQyZdA0P5K2C4tRekpHeHEeYIGGHuAiPMGkixRLU8NFuiv042ayf1N6F4tVkEowhBIvNFmZxoTU9ryhY9meDV86JgpAVBf9touHTyejBmFgOXuQv0WRWQmMUgIesgxGcdasQOQ0KmDPj+D6FnzjdwUe7XcHHOZ3CJ/Rhcmn0ILpuzC/o9sAYGTLkLhvF9YWQagpvTUC3UFvXQT4enRSerDaWlihAqyWAqk1PhAKfshen3d1OExxgYaB0KOHMnxGW9AwlZMiRksZbbPQcAP3ISejh/gh751X7sJzA6z4LReR5IQQ30zD8DfR56E/pPvRuG8n0hKYPUtqOZXpoWlYMQ6qI2pCYlMrw0nPCUECdMjakNWbFw+Z0LIT7rUODwMiUwTH8PjDnfNwGwaag986vg0uzD0Hf2JrgxayyMTEOQYtE2MRGK2qQ2p0YlyNw9bQGwzu6xx0KKRQfX2syQkHUgMHhZDBKyJNDPOAo9nWcCgNe0GZ2/wKX2YzB48g2QYolpahmzUW1ePhL3cj3bEqAoE1j7ih5GmCOh112vBd4DsyTgZn0cYO9rIcj8M2B0/gZ9Zz8PSdaLGpn96i4MN+tGq83NQwLDM9oa4luHjXBfng4Md9LAIGZKYJj5YVgAetsljk8gOT3RP0hz9Pdqc/PQYy/Grd9+oG0hijKB3Uc4mLAkB+IzWx5O9TOOhTSENh1ez8JfHB+7lyp+lyBRuWqzq5dlruYNQcJtDlGUCZS4/gL9HtwK8S0AmHjPQTDm/tgmAJV25aynGxsjv+k/DsWozQ8hhFD6vMgt2YUxsONg20PcfoCD1/f0hYum7YH4zCbCaqYEZM5XbRJGfcx5FobZevuGVbPuXLJJM1xtfgghhGx27dO8QwtPFyeq0ht3HOBgfekwME6paHQiY7jvKPRoozDqG1bPQ79Z6+HmNOQbUtN096vNDyGEkC1bO413aOHugijYVoFhuwogdx40wMynZ0BcI+Oj0X5KFYBu+wl65lX5h2iOelZtfgghhPiHEeEdWrBma+G+pdGg1vi461AiZK6bC13vfMdzLJx6RJWx0LM3noNhtst9QmqyJfpttfnVy2bX/Jt3aIF3aCFnfTegrO0hijIBQeoJKQVPes5Ip/8HeuRXqQzxLNx013A/EHXvq82uXqbZSM87ND/yDi3Y7FpY/Woc7DpsVAEkhjf2XgF/myVA97sO1kJ8T1WAdRAHZY70ya8mm3WfqM3OQza79gGbXVNTF1o3FieCGuvH7QcwvFnRG3rdu88Ncdq70COvnfbE9gYRIYRsdk1lXVjNckbB629zqoRVUcaw4s1bQX+3BIlTDreDMfEXGMpf5Q/iEbWZ+WjcFBRjs2t+qAur0xfrYMdBNcIqgR0HDTB/sxmibEfB6PhOZYjnYYSfBX+yWbddbWZ+ZcuOHK8Mq3NXx6jUGwnsOpQAU5+YDYbZn6mz0M+vhh75P8ElOSdhpMl3iZFi1j2tNq9GZbNrN9eFVd6hhZUvx8EOFcZHUSYgMiOMXbwGuNxzqo2HfR7e5nedmGLRPaw2qyZlc2g/r4OYPlcDL4h6VSY6okzg7cPdYciynUDyf1YllF49cxmMMHtD1F0Yboq6Q21OTSrDjq7lHZqf60BOztXCq28ZVAutxa7L4IYVB8GY37ZhlRT8Dv+cwsMIcxfvUPrzsFTtdWpzalZWh2aBMqzOXBYNgqRSWJUxbHVdAX+df6pNQZKCGhjKX+tbg2OO/n7IWJSoNqMWiXdoSuogZszTgL2wm2phdccBPby29zrot+STNuyNZyE5PcHfePiR2mxarDuykUE5PvIOLSze1F21sCrKBJ7fPRh6OdsG4iWOjyA5Pd7PprDuKbXZBCRbduR4JcRJOVrYVJaoyh6kKBN462ACvFh+E/Rd/HnYQ+tlc3ZDcnqsn22oqFS1uQQs3q7J9gZZtNugWmjdLmN46e2B0GfhScB54Zu19p39vN+d/UEm1FVtJkHJ5tCUK0FOW6SDbfvV2boSZXdlgMh6wahCCr0KvvvGmFf9dY+8qu+MeVXVxvzq30IB8e8zFvkrzfg/tVkErQn3oUvT50ScqYNos2shuzAGdh1RJzXnNgzbD2B4dU8/Gd0Bhvh5p3sb7T9cTXKrBxlzqm8z5lbl9MivKjPmVVUHDrEKrp86xc94GP2a2iyCUvl/k6K/+OGOq1/def171mxNfW9Mn6eBZc/HqjY+Ko0yvNdZjjSN3YNx3unebqjVHxjzqqqNedW/Nw3xNNyYOcpfznR6W/q+1Tp69Fb90f+OyX7/xJgDR0+MhQ9PjoO1r10BNrvn+PhsiTo1On5AFrXkvvRzvr+Y5Pw43phftapHXtUX/iD2zPsBhvJ9vQHWDDdpBoXb7yER+2CE4f0TY54/emIseNu7n42GGUvjQDk+Ts7TQqlLvfHRC2RZoPfbI++0yTvk9sz73mf3ItkSfWqYKfqv4fB5SASwsuvRE2NNR0+M2eoPXp0dPzkKKt5LBqs9AXiHpn58nL5Y125AigyvDdgBMz/WGfOqN7ohnoFLs//jk/hONus+bNcz04INvU6989no3499cVsjAMfA8ZMjoexQDtyz6RSkLS+rh1hn+Ru6qQ+w1gTGLQvGD8bcqhyj8xxcNesZ390Ls25bqP0eUqVndzk/OU8HL5T9A+QPR8IHX7phHv/yFjjyqQm2sIVw/4ufwJhVABMKAVILATIW2IB3II+Jzvo3EmDnITVnrATcL3MgIEr4gYAdkVSuwQU1B/tPvdsn8Z2Uprs3DK4PnWwO7WfuzWANTFscC8+WXA3HvxwNT+1+DrKe+RYmFgJMWOuG12A1YMvtA7yji0ePfLZUnRodfzDLJP3IQH2RsBDuHzrpWvB+XjHJhHqEw/chk7J0kXdoIWMugrSVDP61xhucp01cfRL4nHgPiPcu1MHWfWrV6PhaCSPXBOKLRCdcnWL2rqmJ/jZcvg+ZrHbtTCUI3o7AtPJAkwDrzLxsHfD2hrBqzdbCQyu7wluqh9X6HvlVsdTN2FJfDDZxf/OzPlwRTv+HROY56EpviOblpS2COGE9gHX+bcA7IjxAFjyl3taVjzF8sKW+GJ6mG+cNMcmkvTac/g+ZvCFali6H1HXNQ0wtBEhd+yvY8q/xmLFOytHCMyXtZXwkQGW8uSV+SDZ3fcQL4ld/mNeM2ewaqQFkBGQssLQcYiFA2koX8I4Yj/GRd2hhm0udh3X8hNWaMsZlNOeHQSbUNcmseyDZrNuQbIl+LdkSZW8L/4dEvENToHS+La9vQBAnrAOwLF0JkxTjo82uhfuWRENpZftIBFBGzpa4DBep7euwyTpPcwtv1/xaDyC3J0xcc6rFEOssY+HdPsuOhc/Etqew2v5K8EOl9IcQx9s139U7P6c7mFZKAUOcuOZbsOX19hgfLXM18PTWBNipUlW5H5Dt4yHRcIi3a7Y29KBIsCwrDBhiaiGA6fF3YVI28uiNk3O18PIOveoARZmAyMg3RUUoUm1/h0XumtM6x2vA6kwOCmLqOgDLo0/7hNUHHms/46MgkfZdxd0a8Q7tYeVSY+Lqr4IDWfg7WAtGA++IbMgEZWsh94luKj0D6R1Sybk/bW+0ZUferoQY6FLDY3xcex54R5zH+GjN1sKaovh2MdGhksGmtr/DIvfTw9ovGsJgFJge/zTI3ghgWnUIeEc3j7Cama/mM5DK3tiyBMAfUla7ZrHS6emL50BqYU3QINOXOD16o82uhWmLo9XPrzJ8pKgcx6rt73ApgrdrqhuWG3qYuOa7oCGmrgOwFiR5JMozsjXg3BCrajaHyuTbkvLunNrODpt4R+S4ht6IwFowBiasDxJiIUDq2jO160evivJS9QqtqEzOi3u5nmr7OmxKmoyibXaN7LmzsTV4iIUAaSu2A+/QeY6PzigodWFVJjpUxhf+1Gk4hBCyzdOM8synXgmpa8+2CmT6kgLP/Ue7FmY91lWl3ohPb9kfS9T2c9jFO7RFyt6YvujhoJccqYXuRLm14FaP9SPv0MLjm+PVgPiBIOnj1PZx2DVuCoqpq8Gp32t89LlWgZy4+iTwudgnLff621zbhlVG3kQIRajt4zaRzRGZarNrfm/Y4SBgevzjVoVV83LRI6za7FqYskDXprNVKnEWtX3bprLZtRuUm8bW/AGQWvhbq8KqZcl8j7IOm10LS55rowdZGflMbZ+qIptDs78BZBewOoe1qjemrv0FrM6bfKoB3tgT/mxOiYT/3N+HakzmR9BldW+eqtuucmdzggdpevxTj/yqO5ujCy9EiSxX25eqyurQ3ujZcyIgfXF2qxIBaSv3+YyPC5/pHp5JDsPHnM52/sWZtpA1O/JOT5Ao6A1kt9VA+qJ7PfKrmflRULQ7tO/PoTL+UG3ftStZHZplniB1YFm2LugeOXHtGeBzDB5h9cEVXWF3qJ5GZuQzYW8sVttv7U42h/Y5n3rVZauDHx9XujzCavo8DRS+ntDq98t19sBmZLNrX/SeXaYvcQadDMhYYPYIq1MW6KC4IviSDsrw9j/zdlPIpHz7VEPx8SQIZg8ybcUu4HNiPCY5a1+LDy4JwMjLavvmDyXeoX3K7XT3O1N5B4KM+akwcc2PAYO05f3VZ5ITRC8sqG1ax0irhUo2u+ZRzx6pAVvuxYGl6NYBpC9d4LmBPE8DK16Oh50tfVNHpeFmtX3xR1UEQghZHdpZyjyru0fFQtry11scXtNW/cfjcQDeoYV7CqKaneBQhk+WyXiY2o74Uyh9rmaId4/kHVFgnT8OJhb+3vxyY3W1b/FxXhT8u7zxdByVccWfutRCDVkeRJfwDu0x7wkP74gF8/ISSF17vokMToVHOOUdWrgzVwsvbW+kgpyRNzuzMGHS+Fkogc/WrPLtlZFgdQ4C8/Ji91JkneeYaHUOAu/q8TtztfCi6A0R11AZT1b7PjuEbPbIScpXUiuTA7a8PmB+dBNMXP2/YFp1HKwFN4P361XqwulruwzK8a+6jHED1L63DqWMeai399v+67a0eDtyT2TsyGN/UWlZzijl+PfGFtbdoPY9dVhl2DXJNoemyh+oxsy9xIiDnQeNIMhkmtr30CmEkMmEoqzZmjyP2p1GzGbXwsOrusKOg4SVuAwD1W57p7xkmo5i3dta7i/H+QM4c1k0FL2lf1AQkE7t9naqGfHzNCm8PfIJm0Ozh7drXNZszVsPLNOteu8LcpnabetUEOo/BWnVbkOnOtWpTnWqU53q1B9eRUUoqsRl6EsruaQyxt1GJTyGMv0gQdJfHP6Ll+NYyshLVCY7RYZ3UwkvCPU1yhjXR2S4hMpkJ2V4nyDpb2zm+AFUxm9TmexsqYky2UFlUiwy/DyVuccEhmcKzDC+hJFrwrFWpFLiPwSGZ4oyFijDPzRfs0M+pwwXiYy7t8yV+PeQNubN8oQEysjnigRxaUgvgGqhMHK2/hqV3O1NHi/jUaEoN6QM/y7K5IzIyHeijF8trTRc2dp7ESR9nMjwbiqTn5u4brXI8E9NAD0ryoRtY/GheUt/LcT/Nuyx4ZKQnFghd89quGmhkhvX1PGUkVu9Nm43izKXK0hcnre5/07mizJeRSW8iTIsUhnLIsMfU4arfPcQMRUrueuDuQ9ayd3u2S7ys8jwHkHmHhIrues3bPBdpxa54vRCJTdOYOQJUcYf+LaHuzuYtnio/UPENaJk+Fcg1ysqQpFFrjh9sQtfXibjUVQmxV77ib9SGa8L5JyU6QfVv+zd7ac9xS58eUDtKsexAjOkUBl/7dVz1wRyHh/9ESDSSjKhtW3Yukd/CZVxhVdY2+Wv9/htk0zOKSoCpNa8VUqQ9HFUxp8oIs2FYF4eX6+OArFWEZRxs71CdbM9soxxGZ7/YxjR2oYUueL07rG6/gf1ftAn62AQ3eeXcLYHFAkPafJ4mWxQHh+qdggMz1Cet0zGwX1+oSNCLClBMSLDHysceKKZ9rwSDoh0v+GfVMZfU5mcooycFSRyS1An6ogQEUJIlPB9inv+ranCYZHhpUqIIdxkjigqQlF1FnTlXUeF6HSiLl6THGdjx5Ywco3XMuWdMsb1CXWbglZHhYgQQlTGhxUzziZrUKlEpvtZ0D9DKxP+JxxtC0gdGaJ7AV5/30eaWzYIDM8VZfyj94KdMlwtyligMs4RJHKLKOv7lbgMF5WUoJhwtNtHHRkilfE85eSmJWu/EglfQSW8wA2ukZQfI7+IMv5KlMl7lJG3RIaXUma4I2xPHHdwiPc3rP3Iqaa+L+xPoqzvRyW8QJQJExn5P1HGpz2SAn4NnxYZt15w4etC9mqxjgxRkMjDiut8FShEpTZsQNrSffG9BRc3nEoGm8DwIspwqSjjLxoDWruzsbHVifCODJEyslKZMQnXC9qdTtSFVnJJAiNPUIarqIwveM12fyuTSGrQF+jgEHcpJidiWz0hVeIyDKQyXuceOz1SgMF9PMUbYjj2E0td5CZlg9sLRK/QthK17SPeEVRK/IfHBInhnwRJf1XAZ/JJQTF8LNStFSRyS+0Gbd01hjZ1fJtkbBg3VtEDLggSnui3LTLeTGV8mDJ8gDLu0VD3VoEZxnv8mCQyPagTUYYPKH8NRUUoKqQNlck0ZUObG3vaAGIEZaRSuSR4YTvq5u9AUSZM4Zs94Rg3RZmcafhBcY8FdRLKuHyF034VmCEllI2srYGpX1Q3357wQhSYYbwyMlBGHmnsWFEiTymXB0Uu1DWUbUEIIY9SD4YXBnWSF7ajbl4DbMg+3kElPER5bkHmrM3+TxghiowbqxyfqYzLA2k/lfCSULUFIYQESX+j8l5FifDBn0zmHvIc6LGptQ0sk3EP5a+MMny8yBXX7CdawwGxpATFuKvTPO7xy6179Jc09X9F5ThWZPhIqH2DEELC3lisXEdShn9oVYmjsxxpRBkLofrVlUn6kcoJE5XJuZYWKPlAZIY7gm2HKOv7UcblU0be9QKxt6WLbHe1niL8yuS8yPDS4gque7DtKpNIqsjwR54JAJwW7Pk8RBkWvTILZ6iM768dCyKQ/2l4/d/LKg03UEZcnuGZfBtItt8bosDIpNJ98YlFrjh9Y1Ym4x5lrsS/uyvL8FzKyNbGygYpI85AZ5ml++J7eye/qUzOU0aepBXc37z84O2jCIRQhLMcaYRKbPaG566xwXcF0p5mJUg40/uXWxcOKcMiZdwLlJEnqUw2UIY3Uka2iDJhPrWYDP8kMPJEIN+rR8i3ZLG15u5FeL8gcXmt+bLMlv2xhMq4UFkb4/VjP0wZLqOMvKT0j8hwicjwMb9tk/HbZTIeFWybmtSmchQtVJLByqxGAE47KUjcrKKdifEoiAU0lfCY1oHDp0UZ76eMrBAkckvRzsT4EFaBRxRXcN0p49JFRqQg2/ejIOPHi1348pZW24VElOkHiYy7270NQ54UGX6eMvKKKJGnRIksF2TuoTLG3RaKL7ds2IC0W1h3Q1Ph09sESR+n0scpI8RK7vrapLeDSni1KJGnqIw310UskeGlAsMzKSO3dr69qgPr/wEIWo9ONIJi0AAAAABJRU5ErkJggg==)}i.material-icons{vertical-align:middle!important}.highlight{color:red}.mat-menu-content .mat-menu-item:hover{background-color:#e8e8e8}.dark-theme .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-option{color:#fff}.dark-theme .mat-option:hover:not(.mat-option-disabled),.dark-theme .mat-option:focus:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.dark-theme .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(255,255,255,.04)}.dark-theme .mat-option.mat-active{background:rgba(255,255,255,.04);color:#fff}.dark-theme .mat-option.mat-option-disabled{color:#ffffff80}.dark-theme .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#3f51b5}.dark-theme .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff4081}.dark-theme .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.dark-theme .mat-optgroup-label{color:#ffffffb3}.dark-theme .mat-optgroup-disabled .mat-optgroup-label{color:#ffffff80}.dark-theme .mat-pseudo-checkbox{color:#ffffffb3}.dark-theme .mat-pseudo-checkbox:after{color:#303030}.dark-theme .mat-pseudo-checkbox-disabled{color:#686868}.dark-theme .mat-primary .mat-pseudo-checkbox-checked,.dark-theme .mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.dark-theme .mat-pseudo-checkbox-checked,.dark-theme .mat-pseudo-checkbox-indeterminate,.dark-theme .mat-accent .mat-pseudo-checkbox-checked,.dark-theme .mat-accent .mat-pseudo-checkbox-indeterminate{background:#ff4081}.dark-theme .mat-warn .mat-pseudo-checkbox-checked,.dark-theme .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.dark-theme .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.dark-theme .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.dark-theme .mat-app-background,.dark-theme.mat-app-background{background-color:#303030;color:#fff}.dark-theme .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.dark-theme .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.dark-theme .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.dark-theme .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.dark-theme .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.dark-theme .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.dark-theme .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.dark-theme .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.dark-theme .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.dark-theme .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.dark-theme .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.dark-theme .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.dark-theme .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.dark-theme .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.dark-theme .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.dark-theme .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.dark-theme .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.dark-theme .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.dark-theme .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.dark-theme .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.dark-theme .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.dark-theme .mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.dark-theme .mat-autocomplete-panel{background:#424242;color:#fff}.dark-theme .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#424242}.dark-theme .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}.dark-theme .mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .dark-theme .mat-badge-content{outline:solid 1px;border-radius:0}.dark-theme .mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.dark-theme .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.dark-theme .mat-badge-disabled .mat-badge-content{background:#6e6e6e;color:#ffffff80}.dark-theme .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#424242;color:#fff}.dark-theme .mat-button,.dark-theme .mat-icon-button,.dark-theme .mat-stroked-button{color:inherit;background:transparent}.dark-theme .mat-button.mat-primary,.dark-theme .mat-icon-button.mat-primary,.dark-theme .mat-stroked-button.mat-primary{color:#3f51b5}.dark-theme .mat-button.mat-accent,.dark-theme .mat-icon-button.mat-accent,.dark-theme .mat-stroked-button.mat-accent{color:#ff4081}.dark-theme .mat-button.mat-warn,.dark-theme .mat-icon-button.mat-warn,.dark-theme .mat-stroked-button.mat-warn{color:#f44336}.dark-theme .mat-button.mat-primary.mat-button-disabled,.dark-theme .mat-button.mat-accent.mat-button-disabled,.dark-theme .mat-button.mat-warn.mat-button-disabled,.dark-theme .mat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-icon-button.mat-primary.mat-button-disabled,.dark-theme .mat-icon-button.mat-accent.mat-button-disabled,.dark-theme .mat-icon-button.mat-warn.mat-button-disabled,.dark-theme .mat-icon-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-stroked-button.mat-primary.mat-button-disabled,.dark-theme .mat-stroked-button.mat-accent.mat-button-disabled,.dark-theme .mat-stroked-button.mat-warn.mat-button-disabled,.dark-theme .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#ffffff4d}.dark-theme .mat-button.mat-primary .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-primary .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#3f51b5}.dark-theme .mat-button.mat-accent .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-accent .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff4081}.dark-theme .mat-button.mat-warn .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-warn .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.dark-theme .mat-button.mat-button-disabled .mat-button-focus-overlay,.dark-theme .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.dark-theme .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.dark-theme .mat-button .mat-ripple-element,.dark-theme .mat-icon-button .mat-ripple-element,.dark-theme .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.dark-theme .mat-button-focus-overlay{background:white}.dark-theme .mat-stroked-button:not(.mat-button-disabled){border-color:#ffffff1f}.dark-theme .mat-flat-button,.dark-theme .mat-raised-button,.dark-theme .mat-fab,.dark-theme .mat-mini-fab{color:#fff;background-color:#424242}.dark-theme .mat-flat-button.mat-primary,.dark-theme .mat-raised-button.mat-primary,.dark-theme .mat-fab.mat-primary,.dark-theme .mat-mini-fab.mat-primary,.dark-theme .mat-flat-button.mat-accent,.dark-theme .mat-raised-button.mat-accent,.dark-theme .mat-fab.mat-accent,.dark-theme .mat-mini-fab.mat-accent,.dark-theme .mat-flat-button.mat-warn,.dark-theme .mat-raised-button.mat-warn,.dark-theme .mat-fab.mat-warn,.dark-theme .mat-mini-fab.mat-warn{color:#fff}.dark-theme .mat-flat-button.mat-primary.mat-button-disabled,.dark-theme .mat-flat-button.mat-accent.mat-button-disabled,.dark-theme .mat-flat-button.mat-warn.mat-button-disabled,.dark-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-raised-button.mat-primary.mat-button-disabled,.dark-theme .mat-raised-button.mat-accent.mat-button-disabled,.dark-theme .mat-raised-button.mat-warn.mat-button-disabled,.dark-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-fab.mat-primary.mat-button-disabled,.dark-theme .mat-fab.mat-accent.mat-button-disabled,.dark-theme .mat-fab.mat-warn.mat-button-disabled,.dark-theme .mat-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-mini-fab.mat-primary.mat-button-disabled,.dark-theme .mat-mini-fab.mat-accent.mat-button-disabled,.dark-theme .mat-mini-fab.mat-warn.mat-button-disabled,.dark-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#ffffff4d}.dark-theme .mat-flat-button.mat-primary,.dark-theme .mat-raised-button.mat-primary,.dark-theme .mat-fab.mat-primary,.dark-theme .mat-mini-fab.mat-primary{background-color:#3f51b5}.dark-theme .mat-flat-button.mat-accent,.dark-theme .mat-raised-button.mat-accent,.dark-theme .mat-fab.mat-accent,.dark-theme .mat-mini-fab.mat-accent{background-color:#ff4081}.dark-theme .mat-flat-button.mat-warn,.dark-theme .mat-raised-button.mat-warn,.dark-theme .mat-fab.mat-warn,.dark-theme .mat-mini-fab.mat-warn{background-color:#f44336}.dark-theme .mat-flat-button.mat-primary.mat-button-disabled,.dark-theme .mat-flat-button.mat-accent.mat-button-disabled,.dark-theme .mat-flat-button.mat-warn.mat-button-disabled,.dark-theme .mat-flat-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-raised-button.mat-primary.mat-button-disabled,.dark-theme .mat-raised-button.mat-accent.mat-button-disabled,.dark-theme .mat-raised-button.mat-warn.mat-button-disabled,.dark-theme .mat-raised-button.mat-button-disabled.mat-button-disabled,.dark-theme .mat-fab.mat-primary.mat-button-disabled,.dark-theme .mat-fab.mat-accent.mat-button-disabled,.dark-theme .mat-fab.mat-warn.mat-button-disabled,.dark-theme .mat-fab.mat-button-disabled.mat-button-disabled,.dark-theme .mat-mini-fab.mat-primary.mat-button-disabled,.dark-theme .mat-mini-fab.mat-accent.mat-button-disabled,.dark-theme .mat-mini-fab.mat-warn.mat-button-disabled,.dark-theme .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#ffffff1f}.dark-theme .mat-flat-button.mat-primary .mat-ripple-element,.dark-theme .mat-raised-button.mat-primary .mat-ripple-element,.dark-theme .mat-fab.mat-primary .mat-ripple-element,.dark-theme .mat-mini-fab.mat-primary .mat-ripple-element,.dark-theme .mat-flat-button.mat-accent .mat-ripple-element,.dark-theme .mat-raised-button.mat-accent .mat-ripple-element,.dark-theme .mat-fab.mat-accent .mat-ripple-element,.dark-theme .mat-mini-fab.mat-accent .mat-ripple-element,.dark-theme .mat-flat-button.mat-warn .mat-ripple-element,.dark-theme .mat-raised-button.mat-warn .mat-ripple-element,.dark-theme .mat-fab.mat-warn .mat-ripple-element,.dark-theme .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-stroked-button:not([class*=mat-elevation-z]),.dark-theme .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.dark-theme .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-fab:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.dark-theme .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.dark-theme .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.dark-theme .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.dark-theme .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.dark-theme .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.dark-theme .mat-button-toggle{color:#ffffff80}.dark-theme .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff1f}.dark-theme .mat-button-toggle-appearance-standard{color:#fff;background:#424242}.dark-theme .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.dark-theme .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #595959}.dark-theme [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #595959}.dark-theme .mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #595959}.dark-theme .mat-button-toggle-checked{background-color:#212121;color:#ffffffb3}.dark-theme .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#fff}.dark-theme .mat-button-toggle-disabled{color:#ffffff4d;background-color:#000}.dark-theme .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#424242}.dark-theme .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#424242}.dark-theme .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.dark-theme .mat-button-toggle-group-appearance-standard{border:solid 1px #595959}.dark-theme .mat-card{background:#424242;color:#fff}.dark-theme .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.dark-theme .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.dark-theme .mat-card-subtitle{color:#ffffffb3}.dark-theme .mat-checkbox-frame{border-color:#ffffffb3}.dark-theme .mat-checkbox-checkmark{fill:#303030}.dark-theme .mat-checkbox-label{color:#fff}.dark-theme .mat-checkbox-checkmark-path{stroke:#303030!important}.dark-theme .mat-checkbox-mixedmark{background-color:#303030}.dark-theme .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.dark-theme .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#3f51b5}.dark-theme .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.dark-theme .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#ff4081}.dark-theme .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.dark-theme .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.dark-theme .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.dark-theme .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.dark-theme .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.dark-theme .mat-checkbox-disabled .mat-checkbox-label{color:#ffffff80}.dark-theme .mat-checkbox .mat-ripple-element{background-color:#fff}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#3f51b5}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff4081}.dark-theme .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.dark-theme .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.dark-theme .mat-chip.mat-standard-chip{background-color:#616161;color:#fff}.dark-theme .mat-chip.mat-standard-chip .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.dark-theme .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.dark-theme .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.dark-theme .mat-chip.mat-standard-chip:after{background:white}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#3f51b5;color:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff4081;color:#fff}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.dark-theme .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.dark-theme .mat-table{background:#424242}.dark-theme .mat-table thead,.dark-theme .mat-table tbody,.dark-theme .mat-table tfoot,.dark-theme mat-header-row,.dark-theme mat-row,.dark-theme mat-footer-row,.dark-theme [mat-header-row],.dark-theme [mat-row],.dark-theme [mat-footer-row],.dark-theme .mat-table-sticky{background:inherit}.dark-theme mat-row,.dark-theme mat-header-row,.dark-theme mat-footer-row,.dark-theme th.mat-header-cell,.dark-theme td.mat-cell,.dark-theme td.mat-footer-cell{border-bottom-color:#ffffff1f}.dark-theme .mat-header-cell{color:#ffffffb3}.dark-theme .mat-cell,.dark-theme .mat-footer-cell{color:#fff}.dark-theme .mat-calendar-arrow{fill:#fff}.dark-theme .mat-datepicker-toggle,.dark-theme .mat-datepicker-content .mat-calendar-next-button,.dark-theme .mat-datepicker-content .mat-calendar-previous-button{color:#fff}.dark-theme .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.dark-theme .mat-calendar-table-header,.dark-theme .mat-calendar-body-label{color:#ffffffb3}.dark-theme .mat-calendar-body-cell-content,.dark-theme .mat-date-range-input-separator{color:#fff;border-color:transparent}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#ffffff80}.dark-theme .mat-form-field-disabled .mat-date-range-input-separator{color:#ffffff80}.dark-theme .mat-calendar-body-in-preview{color:#ffffff3d}.dark-theme .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff80}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff4d}.dark-theme .mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.dark-theme .mat-calendar-body-comparison-identical,.dark-theme .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-calendar-body-comparison-bridge-start:before,.dark-theme [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-calendar-body-comparison-bridge-end:before,.dark-theme [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.dark-theme .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.dark-theme .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.dark-theme .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#3f51b566}.dark-theme .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}@media (hover: hover){.dark-theme .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}}.dark-theme .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#424242;color:#fff}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.dark-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.dark-theme .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ff408166}.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}@media (hover: hover){.dark-theme .mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.dark-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.dark-theme .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.dark-theme .mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.dark-theme .mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.dark-theme .mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.dark-theme .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.dark-theme .mat-datepicker-toggle-active{color:#3f51b5}.dark-theme .mat-datepicker-toggle-active.mat-accent{color:#ff4081}.dark-theme .mat-datepicker-toggle-active.mat-warn{color:#f44336}.dark-theme .mat-date-range-input-inner[disabled]{color:#ffffff80}.dark-theme .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#424242;color:#fff}.dark-theme .mat-divider{border-top-color:#ffffff1f}.dark-theme .mat-divider-vertical{border-right-color:#ffffff1f}.dark-theme .mat-expansion-panel{background:#424242;color:#fff}.dark-theme .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.dark-theme .mat-action-row{border-top-color:#ffffff1f}.dark-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.dark-theme .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.dark-theme .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.dark-theme .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#424242}}.dark-theme .mat-expansion-panel-header-title{color:#fff}.dark-theme .mat-expansion-panel-header-description,.dark-theme .mat-expansion-indicator:after{color:#ffffffb3}.dark-theme .mat-expansion-panel-header[aria-disabled=true]{color:#ffffff4d}.dark-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.dark-theme .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.dark-theme .mat-form-field-label,.dark-theme .mat-hint{color:#ffffffb3}.dark-theme .mat-form-field.mat-focused .mat-form-field-label{color:#3f51b5}.dark-theme .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff4081}.dark-theme .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.dark-theme .mat-focused .mat-form-field-required-marker{color:#ff4081}.dark-theme .mat-form-field-ripple{background-color:#fff}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#3f51b5}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff4081}.dark-theme .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#3f51b5}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ff4081}.dark-theme .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.dark-theme .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.dark-theme .mat-error{color:#f44336}.dark-theme .mat-form-field-appearance-legacy .mat-form-field-label,.dark-theme .mat-form-field-appearance-legacy .mat-hint{color:#ffffffb3}.dark-theme .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#ffffffb3}.dark-theme .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.dark-theme .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#ffffffb3}.dark-theme .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.dark-theme .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#ffffff1a}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#ffffff0d}.dark-theme .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#ffffff80}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#ffffff80}.dark-theme .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.dark-theme .mat-form-field-appearance-outline .mat-form-field-outline{color:#ffffff4d}.dark-theme .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.dark-theme .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#3f51b5}.dark-theme .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff4081}.dark-theme .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.dark-theme .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.dark-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#ffffff80}.dark-theme .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#ffffff26}.dark-theme .mat-icon.mat-primary{color:#3f51b5}.dark-theme .mat-icon.mat-accent{color:#ff4081}.dark-theme .mat-icon.mat-warn{color:#f44336}.dark-theme .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#ffffffb3}.dark-theme .mat-input-element:disabled,.dark-theme .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#ffffff80}.dark-theme .mat-input-element{caret-color:#3f51b5}.dark-theme .mat-input-element::placeholder{color:#ffffff80}.dark-theme .mat-input-element::-moz-placeholder{color:#ffffff80}.dark-theme .mat-input-element::-webkit-input-placeholder{color:#ffffff80}.dark-theme .mat-input-element:-ms-input-placeholder{color:#ffffff80}.dark-theme .mat-input-element:not(.mat-native-select-inline) option{color:#000000de}.dark-theme .mat-input-element:not(.mat-native-select-inline) option:disabled{color:#00000061}.dark-theme .mat-form-field.mat-accent .mat-input-element{caret-color:#ff4081}.dark-theme .mat-form-field.mat-warn .mat-input-element,.dark-theme .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.dark-theme .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.dark-theme .mat-list-base .mat-list-item,.dark-theme .mat-list-base .mat-list-option{color:#fff}.dark-theme .mat-list-base .mat-subheader{color:#ffffffb3}.dark-theme .mat-list-base .mat-list-item-disabled{background-color:#ffffff1f;color:#ffffff80}.dark-theme .mat-list-option:hover,.dark-theme .mat-list-option:focus,.dark-theme .mat-nav-list .mat-list-item:hover,.dark-theme .mat-nav-list .mat-list-item:focus,.dark-theme .mat-action-list .mat-list-item:hover,.dark-theme .mat-action-list .mat-list-item:focus{background:rgba(255,255,255,.04)}.dark-theme .mat-list-single-selected-option,.dark-theme .mat-list-single-selected-option:hover,.dark-theme .mat-list-single-selected-option:focus{background:rgba(255,255,255,.12)}.dark-theme .mat-menu-panel{background:#424242}.dark-theme .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-menu-item{background:transparent;color:#fff}.dark-theme .mat-menu-item[disabled],.dark-theme .mat-menu-item[disabled] .mat-menu-submenu-icon,.dark-theme .mat-menu-item[disabled] .mat-icon-no-color{color:#ffffff80}.dark-theme .mat-menu-item .mat-icon-no-color,.dark-theme .mat-menu-submenu-icon{color:#fff}.dark-theme .mat-menu-item:hover:not([disabled]),.dark-theme .mat-menu-item.cdk-program-focused:not([disabled]),.dark-theme .mat-menu-item.cdk-keyboard-focused:not([disabled]),.dark-theme .mat-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.04)}.dark-theme .mat-paginator{background:#424242}.dark-theme .mat-paginator,.dark-theme .mat-paginator-page-size .mat-select-trigger{color:#ffffffb3}.dark-theme .mat-paginator-decrement,.dark-theme .mat-paginator-increment{border-top:2px solid white;border-right:2px solid white}.dark-theme .mat-paginator-first,.dark-theme .mat-paginator-last{border-top:2px solid white}.dark-theme .mat-icon-button[disabled] .mat-paginator-decrement,.dark-theme .mat-icon-button[disabled] .mat-paginator-increment,.dark-theme .mat-icon-button[disabled] .mat-paginator-first,.dark-theme .mat-icon-button[disabled] .mat-paginator-last{border-color:#ffffff80}.dark-theme .mat-progress-bar-background{fill:#343851}.dark-theme .mat-progress-bar-buffer{background-color:#343851}.dark-theme .mat-progress-bar-fill:after{background-color:#3f51b5}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#643444}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#643444}.dark-theme .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ff4081}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#613532}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#613532}.dark-theme .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.dark-theme .mat-progress-spinner circle,.dark-theme .mat-spinner circle{stroke:#3f51b5}.dark-theme .mat-progress-spinner.mat-accent circle,.dark-theme .mat-spinner.mat-accent circle{stroke:#ff4081}.dark-theme .mat-progress-spinner.mat-warn circle,.dark-theme .mat-spinner.mat-warn circle{stroke:#f44336}.dark-theme .mat-radio-outer-circle{border-color:#ffffffb3}.dark-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#3f51b5}.dark-theme .mat-radio-button.mat-primary .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#3f51b5}.dark-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff4081}.dark-theme .mat-radio-button.mat-accent .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff4081}.dark-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.dark-theme .mat-radio-button.mat-warn .mat-radio-inner-circle,.dark-theme .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.dark-theme .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.dark-theme .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.dark-theme .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#ffffff80}.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#ffffff80}.dark-theme .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#ffffff80}.dark-theme .mat-radio-button .mat-ripple-element{background-color:#fff}.dark-theme .mat-select-value{color:#fff}.dark-theme .mat-select-placeholder,.dark-theme .mat-select-disabled .mat-select-value{color:#ffffff80}.dark-theme .mat-select-arrow{color:#ffffffb3}.dark-theme .mat-select-panel{background:#424242}.dark-theme .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.dark-theme .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.dark-theme .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#3f51b5}.dark-theme .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff4081}.dark-theme .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.dark-theme .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.dark-theme .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#ffffff80}.dark-theme .mat-drawer-container{background-color:#303030;color:#fff}.dark-theme .mat-drawer{background-color:#424242;color:#fff}.dark-theme .mat-drawer.mat-drawer-push{background-color:#424242}.dark-theme .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.dark-theme .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.dark-theme .mat-drawer-side.mat-drawer-end,.dark-theme [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.dark-theme [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.dark-theme .mat-drawer-backdrop.mat-drawer-shown{background-color:#bdbdbd99}.dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff4081}.dark-theme .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ff40818a}.dark-theme .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff4081}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#3f51b5}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#3f51b58a}.dark-theme .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#3f51b5}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.dark-theme .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.dark-theme .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#fff}.dark-theme .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#bdbdbd}.dark-theme .mat-slide-toggle-bar{background-color:#ffffff80}.dark-theme .mat-slider-track-background{background-color:#ffffff4d}.dark-theme .mat-slider.mat-primary .mat-slider-track-fill,.dark-theme .mat-slider.mat-primary .mat-slider-thumb,.dark-theme .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#3f51b5}.dark-theme .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.dark-theme .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#3f51b533}.dark-theme .mat-slider.mat-accent .mat-slider-track-fill,.dark-theme .mat-slider.mat-accent .mat-slider-thumb,.dark-theme .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#ff4081}.dark-theme .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.dark-theme .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#ff408133}.dark-theme .mat-slider.mat-warn .mat-slider-track-fill,.dark-theme .mat-slider.mat-warn .mat-slider-thumb,.dark-theme .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.dark-theme .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.dark-theme .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.dark-theme .mat-slider:hover .mat-slider-track-background,.dark-theme .mat-slider.cdk-focused .mat-slider-track-background,.dark-theme .mat-slider.mat-slider-disabled .mat-slider-track-background,.dark-theme .mat-slider.mat-slider-disabled .mat-slider-track-fill,.dark-theme .mat-slider.mat-slider-disabled .mat-slider-thumb,.dark-theme .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#ffffff4d}.dark-theme .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#ffffff1f}.dark-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.dark-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#fff}.dark-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.dark-theme .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#ffffff4d}.dark-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#ffffff4d;background-color:transparent}.dark-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.dark-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#ffffff4d}.dark-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.dark-theme .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#ffffff4d}.dark-theme .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#ffffffb3}.dark-theme .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.dark-theme .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.dark-theme .mat-step-header.cdk-keyboard-focused,.dark-theme .mat-step-header.cdk-program-focused,.dark-theme .mat-step-header:hover:not([aria-disabled]),.dark-theme .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.dark-theme .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.dark-theme .mat-step-header:hover{background:none}}.dark-theme .mat-step-header .mat-step-label,.dark-theme .mat-step-header .mat-step-optional{color:#ffffffb3}.dark-theme .mat-step-header .mat-step-icon{background-color:#ffffffb3;color:#fff}.dark-theme .mat-step-header .mat-step-icon-selected,.dark-theme .mat-step-header .mat-step-icon-state-done,.dark-theme .mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.dark-theme .mat-step-header.mat-accent .mat-step-icon{color:#fff}.dark-theme .mat-step-header.mat-accent .mat-step-icon-selected,.dark-theme .mat-step-header.mat-accent .mat-step-icon-state-done,.dark-theme .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.dark-theme .mat-step-header.mat-warn .mat-step-icon{color:#fff}.dark-theme .mat-step-header.mat-warn .mat-step-icon-selected,.dark-theme .mat-step-header.mat-warn .mat-step-icon-state-done,.dark-theme .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.dark-theme .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.dark-theme .mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.dark-theme .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.dark-theme .mat-stepper-horizontal,.dark-theme .mat-stepper-vertical{background-color:#424242}.dark-theme .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.dark-theme .mat-horizontal-stepper-header:before,.dark-theme .mat-horizontal-stepper-header:after,.dark-theme .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.dark-theme .mat-sort-header-arrow{color:#c6c6c6}.dark-theme .mat-tab-nav-bar,.dark-theme .mat-tab-header{border-bottom:1px solid rgba(255,255,255,.12)}.dark-theme .mat-tab-group-inverted-header .mat-tab-nav-bar,.dark-theme .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.dark-theme .mat-tab-label,.dark-theme .mat-tab-link{color:#fff}.dark-theme .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-link.mat-tab-disabled{color:#ffffff80}.dark-theme .mat-tab-header-pagination-chevron{border-color:#fff}.dark-theme .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#ffffff80}.dark-theme .mat-tab-group[class*=mat-background-]>.mat-tab-header,.dark-theme .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.dark-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.dark-theme .mat-tab-group.mat-primary .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#3f51b5}.dark-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.dark-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.dark-theme .mat-tab-group.mat-accent .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff4081}.dark-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.dark-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.dark-theme .mat-tab-group.mat-warn .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.dark-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.dark-theme .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.dark-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#3f51b5}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.dark-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#ff4081}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.dark-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.dark-theme .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.dark-theme .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.dark-theme .mat-toolbar{background:#212121;color:#fff}.dark-theme .mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.dark-theme .mat-toolbar.mat-accent{background:#ff4081;color:#fff}.dark-theme .mat-toolbar.mat-warn{background:#f44336;color:#fff}.dark-theme .mat-toolbar .mat-form-field-underline,.dark-theme .mat-toolbar .mat-form-field-ripple,.dark-theme .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.dark-theme .mat-toolbar .mat-form-field-label,.dark-theme .mat-toolbar .mat-focused .mat-form-field-label,.dark-theme .mat-toolbar .mat-select-value,.dark-theme .mat-toolbar .mat-select-arrow,.dark-theme .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.dark-theme .mat-toolbar .mat-input-element{caret-color:currentColor}.dark-theme .mat-tooltip{background:rgba(97,97,97,.9)}.dark-theme .mat-tree{background:#424242}.dark-theme .mat-tree-node,.dark-theme .mat-nested-tree-node{color:#fff}.dark-theme .mat-snack-bar-container{color:#000000de;background:#fafafa;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.dark-theme .mat-simple-snackbar-action{color:inherit}.dark-theme html,.dark-theme body{background-color:#303030} diff --git a/server/src/uds/templates/uds/modern/index.html b/server/src/uds/templates/uds/modern/index.html index 4c3cf39a..3b002bc6 100644 --- a/server/src/uds/templates/uds/modern/index.html +++ b/server/src/uds/templates/uds/modern/index.html @@ -93,7 +93,7 @@ head.appendChild(link); --> - + @@ -105,7 +105,7 @@ - + \ No newline at end of file