-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvendor-es2015.22dc2d6d677b37a72861.js
More file actions
1 lines (1 loc) · 464 KB
/
vendor-es2015.22dc2d6d677b37a72861.js
File metadata and controls
1 lines (1 loc) · 464 KB
1
(self.webpackChunk_angular_ru_sdk=self.webpackChunk_angular_ru_sdk||[]).push([[736],{6083:function(t,e,n){"use strict";n.d(e,{l3:function(){return r},_j:function(){return s},LC:function(){return i},ZN:function(){return p},jt:function(){return a},vP:function(){return l},SB:function(){return u},oB:function(){return c},eR:function(){return h},X$:function(){return o},ZE:function(){return f},k1:function(){return m}});class s{}class i{}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,e,n=null){return{type:1,expr:t,animation:e,options:n}}function d(t){Promise.resolve(null).then(t)}class p{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(){d(()=>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 f{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,s=0;const i=this.players.length;0==i?d(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++s==i&&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 m="!"},9760:function(t,e,n){"use strict";n.d(e,{Em:function(){return S},tE:function(){return V},qV:function(){return T},qm:function(){return j},X6:function(){return A},yG:function(){return O}});var s=n(2057),i=n(793),r=n(9765),o=n(5319),a=n(6215),l=n(5917),c=n(3328),u=n(7393);class h{constructor(t){this.total=t}call(t,e){return e.subscribe(new d(t,this.total))}}class d extends u.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var p=n(3342),f=n(4395),m=n(5435),g=n(8002),_=n(5257),y=n(7519),v=n(6782),b=n(9490),w=n(9642);n(7721);class S extends class{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 i.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,p.b)(t=>this._pressedLetters.push(t)),(0,f.b)(t),(0,m.h)(()=>this._pressedLetters.length>0),(0,g.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const s=(this._activeItemIndex+n)%e.length,i=e[s];if(!this._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(s);break}}this._pressedLetters=[]}),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!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),s=e[n];this._activeItem=null==s?null:s,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 s=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_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 i.n_E?this._items.toArray():this._items}}{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 C=(()=>{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}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===x(e))return!1;if(!this.isVisible(e))return!1}let s=t.nodeName.toLowerCase(),i=x(t);return t.hasAttribute("contenteditable")?-1!==i:"iframe"!==s&&"object"!==s&&!(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"===s?!!t.hasAttribute("controls")&&-1!==i:"video"===s?-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")||E(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(w.t4))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(w.t4))},token:t,providedIn:"root"}),t})();function E(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 x(t){if(!E(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class k{constructor(t,e,n,s,i=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||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<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),!this._checker.isFocusable(e)){const n=this._getFirstTabbableElement(e);return null==n||n.focus(t),!!n}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;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,_.q)(1)).subscribe(t)}}let T=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new k(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(C),i.LFG(i.R0b),i.LFG(s.K0))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(C),i.LFG(i.R0b),i.LFG(s.K0))},token:t,providedIn:"root"}),t})();function A(t){return 0===t.buttons}function O(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 R=new i.OlP("cdk-input-modality-detector-options"),I={ignoreKeys:[c.zL,c.jx,c.b2,c.MW,c.JU]},P=(0,w.i$)({passive:!0,capture:!0});let L=(()=>{class t{constructor(t,e,n,s){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=D(t))},this._onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(A(t)?"keyboard":"mouse"),this._mostRecentTarget=D(t))},this._onTouchstart=t=>{O(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=D(t))},this._options=Object.assign(Object.assign({},I),s),this.modalityDetected=this._modality.pipe(t=>t.lift(new h(1))),this.modalityChanged=this.modalityDetected.pipe((0,y.x)()),t.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,P),n.addEventListener("mousedown",this._onMousedown,P),n.addEventListener("touchstart",this._onTouchstart,P)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,P),document.removeEventListener("mousedown",this._onMousedown,P),document.removeEventListener("touchstart",this._onTouchstart,P))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(w.t4),i.LFG(i.R0b),i.LFG(s.K0),i.LFG(R,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(w.t4),i.LFG(i.R0b),i.LFG(s.K0),i.LFG(R,8))},token:t,providedIn:"root"}),t})();function D(t){return t.composedPath?t.composedPath()[0]:t.target}const F=new i.OlP("cdk-focus-monitor-default-options"),N=(0,w.i$)({passive:!0,capture:!0});let V=(()=>{class t{constructor(t,e,n,s,i){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=D(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let s=e;s;s=s.parentElement)n.call(this,t,s)},this._document=s,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=(0,b.fI)(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,l.of)(null);const s=(0,w.kV)(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return e&&(i.checkChildren=!0),i.subject;const o={checkChildren:e,subject:new r.xQ,rootNode:s};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=(0,b.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 s=(0,b.fI)(t);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOrigin(e),"function"==typeof s.focus&&s.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),s=D(t);n&&(n.checkChildren||e===s)&&this._originChanged(e,this._getFocusOrigin(s),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,N),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,N)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,v.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,N),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,N),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,s)=>{(s===t||n.checkChildren&&s.contains(t))&&e.push([s,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.R0b),i.LFG(w.t4),i.LFG(L),i.LFG(s.K0,8),i.LFG(F,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(i.R0b),i.LFG(w.t4),i.LFG(L),i.LFG(s.K0,8),i.LFG(F,8))},token:t,providedIn:"root"}),t})(),j=(()=>{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,s=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),s){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("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black"),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(w.t4),i.LFG(s.K0))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(w.t4),i.LFG(s.K0))},token:t,providedIn:"root"}),t})()},6794:function(t,e,n){"use strict";n.d(e,{vT:function(){return a},Is:function(){return o}});var s=n(793),i=n(2057);const r=new s.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,s.f3M)(i.K0)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new s.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)(s.LFG(r,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(r,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})()},9490:function(t,e,n){"use strict";n.d(e,{Eq:function(){return o},Ig:function(){return i},HM:function(){return a},fI:function(){return l},su:function(){return r}});var s=n(793);function i(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 s.SBq?t.nativeElement:t}},3296:function(t,e,n){"use strict";n.d(e,{P3:function(){return l},Ov:function(){return u},eX:function(){return c},k:function(){return h},Z9:function(){return a}});var s=n(5639),i=n(5917),r=n(9765),o=n(793);function a(t){return t&&"function"==typeof t.connect}class l extends class{}{constructor(t){super(),this._data=t}connect(){return(0,s.b)(this._data)?this._data:(0,i.of)(this._data)}disconnect(){}}class c{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,s,i){t.forEachOperation((t,r,o)=>{let a,l;null==t.previousIndex?(a=this._insertView(()=>n(t,r,o),o,e,s(t)),l=a?1:0):null==o?(this._detachAndCacheView(r,e),l=3):(a=this._moveView(r,o,e,s(t)),l=2),i&&i({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,s){const i=this._insertViewFromCache(e,n);if(i)return void(i.context.$implicit=s);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,s){const i=n.get(t);return n.move(i,e),i.context.$implicit=s,i}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{const n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}_insertViewFromCache(t,e){const n=this._viewCache.pop();return n&&e.insert(n,t),n||null}}class u{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new r.xQ,e&&e.length&&(t?e.forEach(t=>this._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){}}const h=new o.OlP("_ViewRepeater")},3328: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 i},hY:function(){return l},Sd:function(){return h},oh:function(){return d},b2:function(){return w},MW:function(){return b},aO:function(){return _},SV:function(){return f},JU:function(){return r},L_:function(){return c},Mf:function(){return s},LH:function(){return p},Z:function(){return v},xE:function(){return g},Vb:function(){return S}});const s=9,i=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,v=90,b=91,w=224;function S(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},7721:function(t,e,n){"use strict";n.d(e,{wD:function(){return u},yq:function(){return c},Q8:function(){return h}});var s=n(9490),i=n(793),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=i.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,s.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)(i.LFG(l))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.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 i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,s.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=(0,s.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)(i.Y36(c),i.Y36(i.SBq),i.Y36(i.R0b))},t.\u0275dir=i.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=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[l]}),t})()},9642:function(t,e,n){"use strict";n.d(e,{t4:function(){return a},ud:function(){return l},ht:function(){return v},kV:function(){return y},_i:function(){return _},qK:function(){return u},i$:function(){return m},Mq:function(){return g}});var s=n(793),i=n(2057);let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){r=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,i.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)(s.LFG(s.Lbi))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.Lbi))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.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"),s=n.style;s.width="2px",s.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 v(){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}},4259:function(t,e,n){"use strict";n.d(e,{PQ:function(){return y},ZD:function(){return b},mF:function(){return _},Cl:function(){return w},rL:function(){return v}});var s=n(9490),i=n(793),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,s=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++s<i&&(t=e.shift()));if(this.active=!1,n){for(;++s<i&&(t=e.shift());)t.unsubscribe();throw n}}}(class extends r.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?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(5124),d=n(5435),p=n(6782),f=(n(9761),n(3190),n(9642)),m=n(2057),g=n(6794);n(3296);let _=(()=>{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,s)=>{this._scrollableContainsElement(s,t)&&e.push(s)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=(0,s.fI)(e),i=t.getElementRef().nativeElement;do{if(n==i)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)(i.LFG(i.R0b),i.LFG(f.t4),i.LFG(m.K0,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(i.R0b),i.LFG(f.t4),i.LFG(m.K0,8))},token:t,providedIn:"root"}),t})(),y=(()=>{class t{constructor(t,e,n,s){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=s,this._destroyed=new a.xQ,this._elementScrolled=new c.y(t=>this.ngZone.runOutsideAngular(()=>(0,u.R)(this.elementRef.nativeElement,"scroll").pipe((0,p.R)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=(0,f._i)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==(0,f._i)()?t.left=t.right:1==(0,f._i)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;(0,f.Mq)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==(0,f._i)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==(0,f._i)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(_),i.Y36(i.R0b),i.Y36(g.Is,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),v=(()=>{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._updateViewportSize())})}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,s=n.getBoundingClientRect();return{top:-s.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-s.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)(i.LFG(f.t4),i.LFG(i.R0b),i.LFG(m.K0,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(f.t4),i.LFG(i.R0b),i.LFG(m.K0,8))},token:t,providedIn:"root"}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[g.vT,f.ud,b],g.vT,b]}),t})()},2057:function(t,e,n){"use strict";n.d(e,{mr:function(){return b},ez:function(){return j},K0:function(){return l},Do:function(){return S},V_:function(){return h},Ye:function(){return C},S$:function(){return y},mk:function(){return I},O5:function(){return P},RF:function(){return N},n9:function(){return V},b0:function(){return w},lw:function(){return c},EM:function(){return U},JF:function(){return G},NF:function(){return B},w_:function(){return a},bD:function(){return M},q:function(){return r},Mx:function(){return R},HT:function(){return o}});var s=n(793);let i=null;function r(){return i}function o(t){i||(i=t)}class a{}const l=new s.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,s.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,s.LFG)(d)}const h=new s.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)(s.LFG(l))},t.\u0275prov=(0,s.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,s.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,s.Yz7)({factory:v,token:t,providedIn:"root"}),t})();function v(t){const e=(0,s.LFG)(l).location;return new w((0,s.LFG)(c),e&&e.origin||"")}const b=new s.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,s){const i=this.prepareExternalUrl(n+_(s));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,s){const i=this.prepareExternalUrl(n+_(s));this._platformLocation.replaceState(t,e,i)}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)(s.LFG(c),s.LFG(b,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),S=(()=>{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,s){let i=this.prepareExternalUrl(n+_(s));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,s){let i=this.prepareExternalUrl(n+_(s));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}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)(s.LFG(c),s.LFG(b,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t{constructor(t,e){this._subject=new s.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(x(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,x(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)(s.LFG(y),s.LFG(c))},t.normalizeQueryParams=_,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=(0,s.Yz7)({factory:E,token:t,providedIn:"root"}),t})();function E(){return new C((0,s.LFG)(y),(0,s.LFG)(c))}function x(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 T=s.kL8;class A{}let O=(()=>{class t extends A{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(T(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)(s.LFG(s.soG))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function R(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[s,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(s.trim()===e)return decodeURIComponent(i)}return null}let I=(()=>{class t{constructor(t,e,n,s){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=s,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,s.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,s.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)(s.Y36(s.ZZ4),s.Y36(s.aQg),s.Y36(s.SBq),s.Y36(s.Qsj))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})(),P=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new L,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){D("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){D("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)(s.Y36(s.s_b),s.Y36(s.Rgc))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class L{constructor(){this.$implicit=null,this.ngIf=null}}function D(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,s.AaK)(e)}'.`)}class F{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 N=(()=>{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<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),V=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new F(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.s_b),s.Y36(s.Rgc),s.Y36(N,9))},t.\u0275dir=s.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:A,useClass:O}]}),t})();const M="browser";function B(t){return t===M}let U=(()=>{class t{}return t.\u0275prov=(0,s.Yz7)({token:t,providedIn:"root",factory:()=>new H((0,s.LFG)(l),window)}),t})();class H{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 s=n.currentNode;for(;s;){const t=s.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}s=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,s=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],s-i[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=z(this.window.history)||z(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 z(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class G{}},8497:function(t,e,n){"use strict";n.d(e,{JF:function(){return U}});var s=n(2057),i=n(793),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),s=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,s),this.headers.has(s)?this.headers.get(s).push(i):this.headers.set(s,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const s=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(s,n),this.maybeSetNormalizedName(e,s))})}: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 s=("a"===t.op?this.headers.get(e):void 0)||[];s.push(...n),this.headers.set(e,s);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.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 f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function m(t){return`${t}`}class g{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 s=t.indexOf("="),[i,r]=-1==s?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,s)),e.decodeValue(t.slice(s+1))],o=n.get(i)||[];o.push(r),n.set(i,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 s=t[n];Array.isArray(s)?s.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:s,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 g({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(m(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(m(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 _{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 y(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function v(t){return"undefined"!=typeof Blob&&t instanceof Blob}function b(t){return"undefined"!=typeof FormData&&t instanceof FormData}class w{constructor(t,e,n,s){let i;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)||s?(this.body=void 0!==n?n:null,i=s):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new d),this.context||(this.context=new _),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new g,this.urlWithParams=e}serializeBody(){return null===this.body?null:y(this.body)||v(this.body)||b(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||b(this.body)?null:v(this.body)?this.body.type||null:y(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var e;const n=t.method||this.method,s=t.url||this.url,i=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,c=t.params||this.params;const u=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new w(n,s,r,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:o})}}var S=(()=>((S=S||{})[S.Sent=0]="Sent",S[S.UploadProgress=1]="UploadProgress",S[S.ResponseHeader=2]="ResponseHeader",S[S.DownloadProgress=3]="DownloadProgress",S[S.Response=4]="Response",S[S.User=5]="User",S))();class C{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 E extends C{constructor(t={}){super(t),this.type=S.ResponseHeader}clone(t={}){return new E({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 x extends C{constructor(t={}){super(t),this.type=S.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new x({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 k extends C{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 T(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 A=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let s;if(t instanceof w)s=t;else{let i,r;i=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(r=n.params instanceof g?n.params:new g({fromObject:n.params})),s=new w(t,e,void 0!==n.body?n.body:null,{headers:i,context:n.context,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=(0,r.of)(s).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof w||"events"===n.observe)return i;const o=i.pipe((0,l.h)(t=>t instanceof x));switch(n.observe||"body"){case"body":switch(s.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 g).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,T(n,e))}post(t,e,n={}){return this.request("POST",t,T(n,e))}put(t,e,n={}){return this.request("PUT",t,T(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(u))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class O{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const R=new i.OlP("HTTP_INTERCEPTORS");let I=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const P=/^\)\]\}',?\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 s=t.serializeBody();let i=null;const r=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,s=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 i=new E({headers:r,status:e,statusText:s,url:o}),i},o=()=>{let{headers:s,status:i,statusText:o,url:a}=r(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(P,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new x({body:l,headers:s,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new k({error:l,headers:s,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:s}=r(),i=new k({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:s||void 0});e.error(i)};let l=!1;const c=s=>{l||(e.next(r()),l=!0);let i={type:S.DownloadProgress,loaded:s.loaded};s.lengthComputable&&(i.total=s.total),"text"===t.responseType&&n.responseText&&(i.partialText=n.responseText),e.next(i)},u=t=>{let n={type:S.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!==s&&n.upload&&n.upload.addEventListener("progress",u)),n.send(s),e.next({type:S.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==s&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.JF))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const D=new i.OlP("XSRF_COOKIE_NAME"),F=new i.OlP("XSRF_HEADER_NAME");class N{}let V=(()=>{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,s.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.K0),i.LFG(i.Lbi),i.LFG(D))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),j=(()=>{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 s=this.tokenService.getToken();return null===s||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,s)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(N),i.LFG(F))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),M=(()=>{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 O(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(h),i.LFG(i.zs3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:j,useClass:I}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:D,useValue:e.cookieName}:[],e.headerName?{provide:F,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[j,{provide:R,useExisting:j,multi:!0},{provide:N,useClass:V},{provide:D,useValue:"XSRF-TOKEN"},{provide:F,useValue:"X-XSRF-TOKEN"}]}),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[A,{provide:u,useClass:M},L,{provide:h,useExisting:L}],imports:[[B.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},793:function(t,e,n){"use strict";n.d(e,{deG:function(){return Je},tb:function(){return ol},AFp:function(){return el},ip1:function(){return Ja},CZH:function(){return tl},hGG:function(){return Jl},z2F:function(){return zl},sBO:function(){return oa},Sil:function(){return _l},_Vd:function(){return Ro},EJc:function(){return cl},SBq:function(){return Do},qLn:function(){return ms},vpe:function(){return Da},gxx:function(){return tr},tBr:function(){return bn},XFs:function(){return I},OlP:function(){return Xe},zs3:function(){return mr},ZZ4:function(){return Jo},aQg:function(){return ea},soG:function(){return ll},YKP:function(){return ga},v3s:function(){return $l},h0i:function(){return ma},PXZ:function(){return jl},R0b:function(){return bl},FiY:function(){return wn},Lbi:function(){return rl},g9A:function(){return il},n_E:function(){return Na},Qsj:function(){return Vo},FYo:function(){return No},JOm:function(){return ys},Tiy:function(){return Mo},q3G:function(){return ls},tp0:function(){return Sn},EAV:function(){return Kl},Rgc:function(){return ha},dDg:function(){return Tl},DyG:function(){return tn},GfV:function(){return Bo},s_b:function(){return ya},ifc:function(){return V},eFA:function(){return Ml},G48:function(){return Nl},Gpc:function(){return m},f3M:function(){return _n},X6Q:function(){return Fl},_c5:function(){return Zl},VLi:function(){return Rl},c2e:function(){return al},zSh:function(){return nr},wAp:function(){return _o},vHH:function(){return y},EiD:function(){return os},mCW:function(){return zn},qzn:function(){return Pn},JVY:function(){return Dn},pB0:function(){return jn},eBb:function(){return Nn},L6k:function(){return Fn},LAX:function(){return Vn},cg1:function(){return fo},Tjo:function(){return Wl},kL8:function(){return mo},yhl:function(){return Ln},dqk:function(){return H},sIi:function(){return Er},CqO:function(){return Br},QGY:function(){return jr},F4k:function(){return Mr},RDi:function(){return Et},AaK:function(){return d},z3N:function(){return In},qOj:function(){return _r},TTD:function(){return yt},_Bn:function(){return To},xp6:function(){return ii},uIk:function(){return Tr},ekj:function(){return Jr},Suo:function(){return Ka},Xpm:function(){return J},lG2:function(){return ot},Yz7:function(){return S},cJS:function(){return C},oAB:function(){return st},Yjl:function(){return at},Y36:function(){return Or},IAx:function(){return Bt},_UZ:function(){return Dr},BQk:function(){return Nr},ynx:function(){return Fr},qZA:function(){return Lr},TgZ:function(){return Pr},fQ9:function(){return Mt},EpF:function(){return Vr},n5z:function(){return Ke},Ikx:function(){return lo},LFG:function(){return gn},$8M:function(){return We},NdJ:function(){return Ur},CRH:function(){return Qa},oxw:function(){return qr},Hsn:function(){return Qr},F$t:function(){return Kr},Q6J:function(){return Rr},iGM:function(){return qa},CHM:function(){return zt},LSH:function(){return cs},kYT:function(){return it},Udp:function(){return Xr},WFA:function(){return Hr},d8E:function(){return co},YNc:function(){return Ar},_uU:function(){return ro},Oqu:function(){return oo},hij:function(){return ao},Gf:function(){return Ya}});var s=n(9765),i=n(5319),r=n(7574),o=n(6682),a=n(2441),l=n(1307);function c(){return new s.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 v(t){return"string"==typeof t?t:null==t?"":String(t)}function b(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():v(t)}function w(t,e){const n=e?` in ${e}`:"";throw new y("201",`No provider for ${b(t)} found${n}`)}function S(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function C(t){return{providers:t.providers||[],imports:t.imports||[]}}function E(t){return x(t,T)||x(t,O)}function x(t,e){return t.hasOwnProperty(e)?t[e]:null}function k(t){return t&&(t.hasOwnProperty(A)||t.hasOwnProperty(R))?t[A]:null}const T=u({"\u0275prov":u}),A=u({"\u0275inj":u}),O=u({ngInjectableDef:u}),R=u({ngInjectorDef:u});var I=(()=>((I=I||{})[I.Default=0]="Default",I[I.Host=1]="Host",I[I.Self=2]="Self",I[I.SkipSelf=4]="SkipSelf",I[I.Optional=8]="Optional",I))();let P;function L(t){const e=P;return P=t,e}function D(t,e,n){const s=E(t);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:n&I.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))(),V=(()=>((V=V||{})[V.Emulated=0]="Emulated",V[V.None=2]="None",V[V.ShadowDom=3]="ShadowDom",V))();const j="undefined"!=typeof globalThis&&globalThis,M="undefined"!=typeof window&&window,B="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,U="undefined"!=typeof global&&global,H=j||U||M||B,z={},G=[],$=u({"\u0275cmp":u}),q=u({"\u0275dir":u}),Y=u({"\u0275pipe":u}),K=u({"\u0275mod":u}),Q=u({"\u0275loc":u}),W=u({"\u0275fac":u}),Z=u({__NG_ELEMENT_ID__:u});let X=0;function J(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||G,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||V.Emulated,id:"c",styles:t.styles||G,_:null,setInput:null,schemas:t.schemas||null,tView:null},s=t.directives,i=t.features,r=t.pipes;return n.id+=X++,n.inputs=rt(t.inputs,e),n.outputs=rt(t.outputs),i&&i.forEach(t=>t(n)),n.directiveDefs=s?()=>("function"==typeof s?s():s).map(tt):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(et):null,n})}function tt(t){return lt(t)||function(t){return t[q]||null}(t)}function et(t){return function(t){return t[Y]||null}(t)}const nt={};function st(t){return F(()=>{const e={type:t.type,bootstrap:t.bootstrap||G,declarations:t.declarations||G,imports:t.imports||G,exports:t.exports||G,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(nt[t.id]=t.type),e})}function it(t,e){return F(()=>{const n=ct(t,!0);n.declarations=e.declarations||G,n.imports=e.imports||G,n.exports=e.exports||G})}function rt(t,e){if(null==t)return z;const n={};for(const s in t)if(t.hasOwnProperty(s)){let i=t[s],r=i;Array.isArray(i)&&(r=i[1],i=i[0]),n[i]=s,e&&(e[i]=r)}return n}const ot=J;function at(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function lt(t){return t[$]||null}function ct(t,e){const n=t[K]||null;if(!n&&!0===e)throw new Error(`Type ${d(t)} does not have '\u0275mod' property.`);return n}function ut(t){return Array.isArray(t)&&"object"==typeof t[1]}function ht(t){return Array.isArray(t)&&!0===t[1]}function dt(t){return 0!=(8&t.flags)}function pt(t){return 2==(2&t.flags)}function ft(t){return 1==(1&t.flags)}function mt(t){return null!==t.template}function gt(t,e){return t.hasOwnProperty(W)?t[W]:null}class _t{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function yt(){return vt}function vt(t){return t.type.prototype.ngOnChanges&&(t.setInput=wt),bt}function bt(){const t=St(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===z)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function wt(t,e,n,s){const i=St(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:z,current:null}),r=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],l=o[a];r[a]=new _t(l&&l.currentValue,e,o===z),t[s]=e}function St(t){return t.__ngSimpleChanges__||null}let Ct;function Et(t){Ct=t}function xt(t){return!!t.listen}yt.ngInherit=!0;const kt={createRenderer:(t,e)=>void 0!==Ct?Ct:"undefined"!=typeof document?document:void 0};function Tt(t){for(;Array.isArray(t);)t=t[0];return t}function At(t,e){return Tt(e[t])}function Ot(t,e){return Tt(e[t.index])}function Rt(t,e){return t.data[e]}function It(t,e){const n=e[t];return ut(n)?n:n[0]}function Pt(t){return 4==(4&t[2])}function Lt(t){return 128==(128&t[2])}function Dt(t,e){return null==e?null:t[e]}function Ft(t){t[18]=0}function Nt(t,e){t[5]+=e;let n=t,s=t[3];for(;null!==s&&(1===e&&1===n[5]||-1===e&&0===n[5]);)s[5]+=e,n=s,s=s[3]}const Vt={lFrame:ae(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function jt(){return Vt.bindingsEnabled}function Mt(){Vt.bindingsEnabled=!0}function Bt(){Vt.bindingsEnabled=!1}function Ut(){return Vt.lFrame.lView}function Ht(){return Vt.lFrame.tView}function zt(t){return Vt.lFrame.contextLView=t,t[8]}function Gt(){let t=$t();for(;null!==t&&64===t.type;)t=t.parent;return t}function $t(){return Vt.lFrame.currentTNode}function qt(t,e){const n=Vt.lFrame;n.currentTNode=t,n.isParent=e}function Yt(){return Vt.lFrame.isParent}function Kt(){Vt.lFrame.isParent=!1}function Qt(){return Vt.isInCheckNoChangesMode}function Wt(t){Vt.isInCheckNoChangesMode=t}function Zt(){return Vt.lFrame.bindingIndex++}function Xt(t,e){const n=Vt.lFrame;n.bindingIndex=n.bindingRootIndex=t,Jt(e)}function Jt(t){Vt.lFrame.currentDirectiveIndex=t}function te(t){const e=Vt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ee(){return Vt.lFrame.currentQueryIndex}function ne(t){Vt.lFrame.currentQueryIndex=t}function se(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ie(t,e,n){if(n&I.SkipSelf){let s=e,i=t;for(;s=s.parent,!(null!==s||n&I.Host||(s=se(i),null===s)||(i=i[15],10&s.type)););if(null===s)return!1;e=s,t=i}const s=Vt.lFrame=oe();return s.currentTNode=e,s.lView=t,!0}function re(t){const e=oe(),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 oe(){const t=Vt.lFrame,e=null===t?null:t.child;return null===e?ae(t):e}function ae(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 le(){const t=Vt.lFrame;return Vt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ce=le;function ue(){const t=le();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 he(){return Vt.lFrame.selectedIndex}function de(t){Vt.lFrame.selectedIndex=t}function pe(){const t=Vt.lFrame;return Rt(t.tView,t.selectedIndex)}function fe(t,e){for(let n=e.directiveStart,s=e.directiveEnd;n<s;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:i,ngAfterViewInit:r,ngAfterViewChecked:o,ngOnDestroy:a}=e;s&&(t.contentHooks||(t.contentHooks=[])).push(-n,s),i&&((t.contentHooks||(t.contentHooks=[])).push(n,i),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,i)),r&&(t.viewHooks||(t.viewHooks=[])).push(-n,r),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function me(t,e,n){ye(t,e,3,n)}function ge(t,e,n,s){(3&t[2])===n&&ye(t,e,n,s)}function _e(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function ye(t,e,n,s){const i=null!=s?s:-1,r=e.length-1;let o=0;for(let a=void 0!==s?65535&t[18]:0;a<r;a++)if("number"==typeof e[a+1]){if(o=e[a],null!=s&&o>=s)break}else e[a]<0&&(t[18]+=65536),(o<i||-1==i)&&(ve(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function ve(t,e,n,s){const i=n[s]<0,r=n[s+1],o=t[i?-n[s]:n[s]];if(i){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}class be{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function we(t,e,n){const s=xt(t);let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const o=n[i++],a=n[i++],l=n[i++];s?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=r,a=n[++i];Ce(o)?s&&t.setProperty(e,o,a):s?t.setAttribute(e,o,a):e.setAttribute(o,a),i++}}return i}function Se(t){return 3===t||4===t||6===t}function Ce(t){return 64===t.charCodeAt(0)}function Ee(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let s=0;s<e.length;s++){const i=e[s];"number"==typeof i?n=i:0===n||xe(t,n,i,null,-1===n||2===n?e[++s]:null)}}return t}function xe(t,e,n,s,i){let r=0,o=t.length;if(-1===e)o=-1;else for(;r<t.length;){const n=t[r++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=r-1;break}}}for(;r<t.length;){const e=t[r];if("number"==typeof e)break;if(e===n){if(null===s)return void(null!==i&&(t[r+1]=i));if(s===t[r+1])return void(t[r+2]=i)}r++,null!==s&&r++,null!==i&&r++}-1!==o&&(t.splice(o,0,e),r=o+1),t.splice(r++,0,n),null!==s&&t.splice(r++,0,s),null!==i&&t.splice(r++,0,i)}function ke(t){return-1!==t}function Te(t){return 32767&t}function Ae(t,e){let n=t>>16,s=e;for(;n>0;)s=s[15],n--;return s}let Oe=!0;function Re(t){const e=Oe;return Oe=t,e}let Ie=0;function Pe(t,e){const n=De(t,e);if(-1!==n)return n;const s=e[1];s.firstCreatePass&&(t.injectorIndex=e.length,Le(s.data,t),Le(e,null),Le(s.blueprint,null));const i=Fe(t,e),r=t.injectorIndex;if(ke(i)){const t=Te(i),n=Ae(i,e),s=n[1].data;for(let i=0;i<8;i++)e[r+i]=n[t+i]|s[t+i]}return e[r+8]=i,r}function Le(t,e){t.push(0,0,0,0,0,0,0,0,e)}function De(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Fe(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,s=null,i=e;for(;null!==i;){const t=i[1],e=t.type;if(s=2===e?t.declTNode:1===e?i[6]:null,null===s)return-1;if(n++,i=i[15],-1!==s.injectorIndex)return s.injectorIndex|n<<16}return-1}function Ne(t,e,n){!function(t,e,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(Z)&&(s=n[Z]),null==s&&(s=n[Z]=Ie++);const i=255&s;e.data[t+(i>>5)]|=1<<i}(t,e,n)}function Ve(t,e,n){if(n&I.Optional)return t;w(e,"NodeInjector")}function je(t,e,n,s){if(n&I.Optional&&void 0===s&&(s=null),0==(n&(I.Self|I.Host))){const i=t[9],r=L(void 0);try{return i?i.get(e,s,n&I.Optional):D(e,s,n&I.Optional)}finally{L(r)}}return Ve(s,e,n)}function Me(t,e,n,s=I.Default,i){if(null!==t){const r=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Z)?t[Z]:void 0;return"number"==typeof e?e>=0?255&e:Ue:e}(n);if("function"==typeof r){if(!ie(e,t,s))return s&I.Host?Ve(i,n,s):je(e,n,s,i);try{const t=r(s);if(null!=t||s&I.Optional)return t;w(n)}finally{ce()}}else if("number"==typeof r){let i=null,o=De(t,e),a=-1,l=s&I.Host?e[16][6]:null;for((-1===o||s&I.SkipSelf)&&(a=-1===o?Fe(t,e):e[o+8],-1!==a&&qe(s,!1)?(i=e[1],o=Te(a),e=Ae(a,e)):o=-1);-1!==o;){const t=e[1];if($e(r,o,t.data)){const t=He(o,e,n,i,s,l);if(t!==Be)return t}a=e[o+8],-1!==a&&qe(s,e[1].data[o+8]===l)&&$e(r,o,e)?(i=t,o=Te(a),e=Ae(a,e)):o=-1}}}return je(e,n,s,i)}const Be={};function Ue(){return new Ye(Gt(),Ut())}function He(t,e,n,s,i,r){const o=e[1],a=o.data[t+8],l=ze(a,o,n,null==s?pt(a)&&Oe:s!=o&&0!=(3&a.type),i&I.Host&&r===a);return null!==l?Ge(e,o,l,a):Be}function ze(t,e,n,s,i){const r=t.providerIndexes,o=e.data,a=1048575&r,l=t.directiveStart,c=r>>20,u=i?a+c:t.directiveEnd;for(let h=s?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(i){const t=o[l];if(t&&mt(t)&&t.type===n)return l}return null}function Ge(t,e,n,s){let i=t[n];const r=e.data;if(i instanceof be){const o=i;o.resolving&&function(t,e){throw new y("200",`Circular dependency in DI detected for ${t}`)}(b(r[n]));const a=Re(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?L(o.injectImpl):null;ie(t,s,I.Default);try{i=t[n]=o.factory(void 0,r,t,s),e.firstCreatePass&&n>=s.directiveStart&&function(t,e,n){const{ngOnChanges:s,ngOnInit:i,ngDoCheck:r}=e.type.prototype;if(s){const s=vt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&L(l),Re(a),o.resolving=!1,ce()}}return i}function $e(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function qe(t,e){return!(t&I.Self||t&I.Host&&e)}class Ye{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Me(this._tNode,this._lView,t,void 0,e)}}function Ke(t){return F(()=>{const e=t.prototype.constructor,n=e[W]||Qe(e),s=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==s;){const t=i[W]||Qe(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function Qe(t){return _(t)?()=>{const e=Qe(g(t));return e&&e()}:gt(t)}function We(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 s=0;for(;s<t;){const i=n[s];if(Se(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<t&&"string"==typeof n[s];)s++;else{if(i===e)return n[s+1];s+=2}}}return null}(Gt(),t)}function Ze(t,e,n){return F(()=>{const s=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return s.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,s){const i=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;i.length<=s;)i.push(null);return(i[s]=i[s]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}class Xe{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=S({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Je=new Xe("AnalyzeForEntryComponents"),tn=Function;function en(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let s=t[n];Array.isArray(s)?(e===t&&(e=t.slice(0,n)),en(s,e)):e!==t&&e.push(s)}return e}function nn(t,e){t.forEach(t=>Array.isArray(t)?nn(t,e):e(t))}function sn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function rn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function on(t,e){const n=[];for(let s=0;s<t;s++)n.push(e);return n}function an(t,e,n){let s=cn(t,e);return s>=0?t[1|s]=n:(s=~s,function(t,e,n,s){let i=t.length;if(i==e)t.push(n,s);else if(1===i)t.push(s,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=s}}(t,s,e,n)),s}function ln(t,e){const n=cn(t,e);if(n>=0)return t[1|n]}function cn(t,e){return function(t,e,n){let s=0,i=t.length>>1;for(;i!==s;){const n=s+(i-s>>1),r=t[n<<1];if(e===r)return n<<1;r>e?i=n:s=n+1}return~(i<<1)}(t,e)}const un={},hn=/\n/gm,dn=u({provide:String,useValue:u});let pn;function fn(t){const e=pn;return pn=t,e}function mn(t,e=I.Default){if(void 0===pn)throw new Error("inject() must be called from an injection context");return null===pn?D(t,void 0,e):pn.get(t,e&I.Optional?null:void 0,e)}function gn(t,e=I.Default){return(P||mn)(g(t),e)}const _n=gn;function yn(t){const e=[];for(let n=0;n<t.length;n++){const s=g(t[n]);if(Array.isArray(s)){if(0===s.length)throw new Error("Arguments array must have arguments.");let t,n=I.Default;for(let e=0;e<s.length;e++){const i=s[e],r=i.__NG_DI_FLAG__;"number"==typeof r?-1===r?t=i.token:n|=r:t=i}e.push(gn(t,n))}else e.push(gn(s))}return e}function vn(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}const bn=vn(Ze("Inject",t=>({token:t})),-1),wn=vn(Ze("Optional"),8),Sn=vn(Ze("SkipSelf"),4);let Cn;function En(t){var e;return(null===(e=function(){if(void 0===Cn&&(Cn=null,H.trustedTypes))try{Cn=H.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Cn}())||void 0===e?void 0:e.createHTML(t))||t}class xn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class kn extends xn{getTypeName(){return"HTML"}}class Tn extends xn{getTypeName(){return"Style"}}class An extends xn{getTypeName(){return"Script"}}class On extends xn{getTypeName(){return"URL"}}class Rn extends xn{getTypeName(){return"ResourceURL"}}function In(t){return t instanceof xn?t.changingThisBreaksApplicationSecurity:t}function Pn(t,e){const n=Ln(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 Ln(t){return t instanceof xn&&t.getTypeName()||null}function Dn(t){return new kn(t)}function Fn(t){return new Tn(t)}function Nn(t){return new An(t)}function Vn(t){return new On(t)}function jn(t){return new Rn(t)}class Mn{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(En(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Bn{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=En(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=En(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let s=e.length-1;0<s;s--){const n=e.item(s).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Un=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Hn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function zn(t){return(t=String(t)).match(Un)||t.match(Hn)?t:"unsafe:"+t}function Gn(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function $n(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const qn=Gn("area,br,col,hr,img,wbr"),Yn=Gn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Kn=Gn("rp,rt"),Qn=$n(Kn,Yn),Wn=$n(qn,$n(Yn,Gn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),$n(Kn,Gn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Qn),Zn=Gn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xn=Gn("srcset"),Jn=$n(Zn,Xn,Gn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Gn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ts=Gn("script,style,template");class es{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Wn.hasOwnProperty(e))return this.sanitizedSomething=!0,!ts.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,r=e.toLowerCase();if(!Jn.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=t.value;Zn[r]&&(o=zn(o)),Xn[r]&&(s=o,o=(s=String(s)).split(",").map(t=>zn(t.trim())).join(", ")),this.buf.push(" ",e,'="',is(o),'"')}var s;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Wn.hasOwnProperty(e)&&!qn.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(is(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 ns=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ss=/([^\#-~ |!])/g;function is(t){return t.replace(/&/g,"&").replace(ns,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ss,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let rs;function os(t,e){let n=null;try{rs=rs||function(t){const e=new Bn(t);return function(){try{return!!(new window.DOMParser).parseFromString(En(""),"text/html")}catch(t){return!1}}()?new Mn(e):e}(t);let s=e?String(e):"";n=rs.getInertBodyElement(s);let i=5,r=s;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,s=r,r=n.innerHTML,n=rs.getInertBodyElement(s)}while(s!==r);return En((new es).sanitizeChildren(as(n)||n))}finally{if(n){const t=as(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function as(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ls=(()=>((ls=ls||{})[ls.NONE=0]="NONE",ls[ls.HTML=1]="HTML",ls[ls.STYLE=2]="STYLE",ls[ls.SCRIPT=3]="SCRIPT",ls[ls.URL=4]="URL",ls[ls.RESOURCE_URL=5]="RESOURCE_URL",ls))();function cs(t){const e=function(){const t=Ut();return t&&t[12]}();return e?e.sanitize(ls.URL,t)||"":Pn(t,"URL")?In(t):zn(v(t))}function us(t,e){t.__ngContext__=e}function hs(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ds(t){return t.ngDebugContext}function ps(t){return t.ngOriginalError}function fs(t,...e){t.error(...e)}class ms{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),s=function(t){return t.ngErrorLogger||fs}(t);s(this._console,"ERROR",t),e&&s(this._console,"ORIGINAL ERROR",e),n&&s(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?ds(t)?ds(t):this._findContext(ps(t)):null}_findOriginalError(t){let e=ps(t);for(;e&&ps(e);)e=ps(e);return e}}const gs=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(H))();function _s(t){return t instanceof Function?t():t}var ys=(()=>((ys=ys||{})[ys.Important=1]="Important",ys[ys.DashCase=2]="DashCase",ys))();function vs(t,e){return(void 0)(t,e)}function bs(t){const e=t[3];return ht(e)?e[3]:e}function ws(t){return Cs(t[13])}function Ss(t){return Cs(t[4])}function Cs(t){for(;null!==t&&!ht(t);)t=t[4];return t}function Es(t,e,n,s,i){if(null!=s){let r,o=!1;ht(s)?r=s:ut(s)&&(o=!0,s=s[0]);const a=Tt(s);0===t&&null!==n?null==i?Ps(e,n,a):Is(e,n,a,i||null,!0):1===t&&null!==n?Is(e,n,a,i||null,!0):2===t?function(t,e,n){const s=Ds(t,e);s&&function(t,e,n,s){xt(t)?t.removeChild(e,n,s):e.removeChild(n)}(t,s,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,s,i){const r=n[7];r!==Tt(n)&&Es(e,t,s,r,i);for(let o=10;o<n.length;o++){const i=n[o];Hs(i[1],i,t,e,s,r)}}(e,t,r,n,i)}}function xs(t,e,n){return xt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function ks(t,e){const n=t[9],s=n.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,Nt(i,-1)),n.splice(s,1)}function Ts(t,e){if(t.length<=10)return;const n=10+e,s=t[n];if(s){const r=s[17];null!==r&&r!==t&&ks(r,s),e>0&&(t[n-1][4]=s[4]);const o=rn(t,10+e);Hs(s[1],i=s,i[11],2,null,null),i[0]=null,i[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),s[3]=null,s[4]=null,s[2]&=-129}var i;return s}function As(t,e){if(!(256&e[2])){const n=e[11];xt(n)&&n.destroyNode&&Hs(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Os(t[1],t);for(;e;){let n=null;if(ut(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ut(e)&&Os(e[1],e),e=e[3];null===e&&(e=t),ut(e)&&Os(e[1],e),n=e&&e[4]}e=n}}(e)}}function Os(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 s=0;s<n.length;s+=2){const t=e[n[s]];if(!(t instanceof be)){const e=n[s+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2){const s=t[e[n]],i=e[n+1];try{i.call(s)}finally{}}else try{e.call(t)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,s=e[7];let i=-1;if(null!==n)for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const t=n[r+1],o="function"==typeof t?t(e):Tt(e[t]),a=s[i=n[r+2]],l=n[r+3];"boolean"==typeof l?o.removeEventListener(n[r],a,l):l>=0?s[i=l]():s[i=-l].unsubscribe(),r+=2}else{const t=s[i=n[r+1]];n[r].call(t)}if(null!==s){for(let t=i+1;t<s.length;t++)(0,s[t])();e[7]=null}}(t,e),1===e[1].type&&xt(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&ht(e[3])){n!==e[3]&&ks(n,e);const s=e[19];null!==s&&s.detachView(t)}}}function Rs(t,e,n){return function(t,e,n){let s=e;for(;null!==s&&40&s.type;)s=(e=s).parent;if(null===s)return n[0];if(2&s.flags){const e=t.data[s.directiveStart].encapsulation;if(e===V.None||e===V.Emulated)return null}return Ot(s,n)}(t,e.parent,n)}function Is(t,e,n,s,i){xt(t)?t.insertBefore(e,n,s,i):e.insertBefore(n,s,i)}function Ps(t,e,n){xt(t)?t.appendChild(e,n):e.appendChild(n)}function Ls(t,e,n,s,i){null!==s?Is(t,e,n,s,i):Ps(t,e,n)}function Ds(t,e){return xt(t)?t.parentNode(e):e.parentNode}function Fs(t,e,n){return Ns(t,e,n)}let Ns=function(t,e,n){return 40&t.type?Ot(t,n):null};function Vs(t,e,n,s){const i=Rs(t,s,e),r=e[11],o=Fs(s.parent||e[6],s,e);if(null!=i)if(Array.isArray(n))for(let a=0;a<n.length;a++)Ls(r,i,n[a],o,!1);else Ls(r,i,n,o,!1)}function js(t,e){if(null!==e){const n=e.type;if(3&n)return Ot(e,t);if(4&n)return Bs(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return js(t,n);{const n=t[e.index];return ht(n)?Bs(-1,n):Tt(n)}}if(32&n)return vs(e,t)()||Tt(t[e.index]);{const n=Ms(t,e);return null!==n?Array.isArray(n)?n[0]:js(bs(t[16]),n):js(t,e.next)}}return null}function Ms(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Bs(t,e){const n=10+t+1;if(n<e.length){const t=e[n],s=t[1].firstChild;if(null!==s)return js(t,s)}return e[7]}function Us(t,e,n,s,i,r,o){for(;null!=n;){const a=s[n.index],l=n.type;if(o&&0===e&&(a&&us(Tt(a),s),n.flags|=4),64!=(64&n.flags))if(8&l)Us(t,e,n.child,s,i,r,!1),Es(e,t,i,a,r);else if(32&l){const o=vs(n,s);let l;for(;l=o();)Es(e,t,i,l,r);Es(e,t,i,a,r)}else 16&l?zs(t,e,s,n,i,r):Es(e,t,i,a,r);n=o?n.projectionNext:n.next}}function Hs(t,e,n,s,i,r){Us(n,s,t.firstChild,e,i,r,!1)}function zs(t,e,n,s,i,r){const o=n[16],a=o[6].projection[s.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Es(e,t,i,a[l],r);else Us(t,e,a,o[3],i,r,!0)}function Gs(t,e,n){xt(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function $s(t,e,n){xt(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function qs(t,e,n){let s=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===s||t.charCodeAt(i+n)<=32)return i}n=i+1}}function Ys(t,e,n){let s=0;for(;s<t.length;){let i=t[s++];if(n&&"class"===i){if(i=t[s],-1!==qs(i.toLowerCase(),e,0))return!0}else if(1===i){for(;s<t.length&&"string"==typeof(i=t[s++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function Ks(t){return 4===t.type&&"ng-template"!==t.value}function Qs(t,e,n){return e===(4!==t.type||n?t.value:"ng-template")}function Ws(t,e,n){let s=4;const i=t.attrs||[],r=function(t){for(let e=0;e<t.length;e++)if(Se(t[e]))return e;return t.length}(i);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&s){if(s=2|1&s,""!==l&&!Qs(t,l,n)||""===l&&1===e.length){if(Zs(s))return!1;o=!0}}else{const c=8&s?l:e[++a];if(8&s&&null!==t.attrs){if(!Ys(t.attrs,c,n)){if(Zs(s))return!1;o=!0}continue}const u=Xs(8&s?"class":l,i,Ks(t),n);if(-1===u){if(Zs(s))return!1;o=!0;continue}if(""!==c){let t;t=u>r?"":i[u+1].toLowerCase();const e=8&s?t:null;if(e&&-1!==qs(e,c,0)||2&s&&c!==t){if(Zs(s))return!1;o=!0}}}}else{if(!o&&!Zs(s)&&!Zs(l))return!1;if(o&&Zs(l))continue;o=!1,s=l|1&s}}return Zs(s)||o}function Zs(t){return 0==(1&t)}function Xs(t,e,n,s){if(null===e)return-1;let i=0;if(s||!n){let n=!1;for(;i<e.length;){const s=e[i];if(s===t)return i;if(3===s||6===s)n=!0;else{if(1===s||2===s){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const s=t[n];if("number"==typeof s)return-1;if(s===e)return n;n++}return-1}(e,t)}function Js(t,e,n=!1){for(let s=0;s<e.length;s++)if(Ws(t,e[s],n))return!0;return!1}function ti(t,e){t:for(let n=0;n<e.length;n++){const s=e[n];if(t.length===s.length){for(let e=0;e<t.length;e++)if(t[e]!==s[e])continue t;return!0}}return!1}function ei(t,e){return t?":not("+e.trim()+")":e}function ni(t){let e=t[0],n=1,s=2,i="",r=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&s){const e=t[++n];i+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&s?i+="."+o:4&s&&(i+=" "+o);else""===i||Zs(o)||(e+=ei(r,i),i=""),s=o,r=r||!Zs(s);n++}return""!==i&&(e+=ei(r,i)),e}const si={};function ii(t){ri(Ht(),Ut(),he()+t,Qt())}function ri(t,e,n,s){if(!s)if(3==(3&e[2])){const s=t.preOrderCheckHooks;null!==s&&me(e,s,n)}else{const s=t.preOrderHooks;null!==s&&ge(e,s,0,n)}de(n)}function oi(t,e){return t<<17|e<<2}function ai(t){return t>>17&32767}function li(t){return 2|t}function ci(t){return(131068&t)>>2}function ui(t,e){return-131069&t|e<<2}function hi(t){return 1|t}function di(t,e){const n=t.contentQueries;if(null!==n)for(let s=0;s<n.length;s+=2){const i=n[s],r=n[s+1];if(-1!==r){const n=t.data[r];ne(i),n.contentQueries(2,e[r],r)}}}function pi(t,e,n,s,i,r,o,a,l,c){const u=e.blueprint.slice();return u[0]=i,u[2]=140|s,Ft(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=r,u[16]=2==e.type?t[16]:u,u}function fi(t,e,n,s,i){let r=t.data[e];if(null===r)r=function(t,e,n,s,i){const r=$t(),o=Yt(),a=t.data[e]=function(t,e,n,s,i,r){return{type:n,index:s,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?r:r&&r.parent,n,e,s,i);return null===t.firstChild&&(t.firstChild=a),null!==r&&(o?null==r.child&&null!==a.parent&&(r.child=a):null===r.next&&(r.next=a)),a}(t,e,n,s,i),Vt.lFrame.inI18n&&(r.flags|=64);else if(64&r.type){r.type=n,r.value=s,r.attrs=i;const t=function(){const t=Vt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();r.injectorIndex=null===t?-1:t.injectorIndex}return qt(r,!0),r}function mi(t,e,n,s){if(0===n)return-1;const i=e.length;for(let r=0;r<n;r++)e.push(s),t.blueprint.push(s),t.data.push(null);return i}function gi(t,e,n){re(e);try{const s=t.viewQuery;null!==s&&qi(1,s,n);const i=t.template;null!==i&&vi(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&di(t,e),t.staticViewQueries&&qi(2,t.viewQuery,n);const r=t.components;null!==r&&function(t,e){for(let n=0;n<e.length;n++)Ui(t,e[n])}(e,r)}catch(s){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),s}finally{e[2]&=-5,ue()}}function _i(t,e,n,s){const i=e[2];if(256==(256&i))return;re(e);const r=Qt();try{Ft(e),Vt.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&vi(t,e,n,2,s);const o=3==(3&i);if(!r)if(o){const n=t.preOrderCheckHooks;null!==n&&me(e,n,null)}else{const n=t.preOrderHooks;null!==n&&ge(e,n,0,null),_e(e,0)}if(function(t){for(let e=ws(t);null!==e;e=Ss(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],s=n[3];0==(1024&n[2])&&Nt(s,1),n[2]|=1024}}}(e),function(t){for(let e=ws(t);null!==e;e=Ss(e))for(let t=10;t<e.length;t++){const n=e[t],s=n[1];Lt(n)&&_i(s,n,s.template,n[8])}}(e),null!==t.contentQueries&&di(t,e),!r)if(o){const n=t.contentCheckHooks;null!==n&&me(e,n)}else{const n=t.contentHooks;null!==n&&ge(e,n,1),_e(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const s=n[t];if(s<0)de(~s);else{const i=s,r=n[++t],o=n[++t];Xt(r,i),o(2,e[i])}}}finally{de(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Mi(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&qi(2,l,s),!r)if(o){const n=t.viewCheckHooks;null!==n&&me(e,n)}else{const n=t.viewHooks;null!==n&&ge(e,n,2),_e(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),r||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Nt(e[3],-1))}finally{ue()}}function yi(t,e,n,s){const i=e[10],r=!Qt(),o=Pt(e);try{r&&!o&&i.begin&&i.begin(),o&&gi(t,e,s),_i(t,e,n,s)}finally{r&&!o&&i.end&&i.end()}}function vi(t,e,n,s,i){const r=he(),o=2&s;try{de(-1),o&&e.length>20&&ri(t,e,20,Qt()),n(s,i)}finally{de(r)}}function bi(t,e,n){if(dt(e)){const s=e.directiveEnd;for(let i=e.directiveStart;i<s;i++){const e=t.data[i];e.contentQueries&&e.contentQueries(1,n[i],i)}}}function wi(t,e,n){jt()&&(function(t,e,n,s){const i=n.directiveStart,r=n.directiveEnd;t.firstCreatePass||Pe(n,e),us(s,e);const o=n.initialInputs;for(let a=i;a<r;a++){const s=t.data[a],r=mt(s);r&&Fi(e,n,s);const l=Ge(e,t,a,n);us(l,e),null!==o&&Ni(0,a-i,l,s,0,o),r&&(It(n.index,e)[8]=l)}}(t,e,n,Ot(n,e)),128==(128&n.flags)&&function(t,e,n){const s=n.directiveStart,i=n.directiveEnd,r=n.index,o=Vt.lFrame.currentDirectiveIndex;try{de(r);for(let n=s;n<i;n++){const s=t.data[n],i=e[n];Jt(n),null===s.hostBindings&&0===s.hostVars&&null===s.hostAttrs||Ri(s,i)}}finally{de(-1),Jt(o)}}(t,e,n))}function Si(t,e,n=Ot){const s=e.localNames;if(null!==s){let i=e.index+1;for(let r=0;r<s.length;r+=2){const o=s[r+1],a=-1===o?n(e,t):t[o];t[i++]=a}}}function Ci(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Ei(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Ei(t,e,n,s,i,r,o,a,l,c){const u=20+s,h=u+i,d=function(t,e){const n=[];for(let s=0;s<e;s++)n.push(s<t?null:si);return n}(u,h),p="function"==typeof c?c():c;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function xi(t,e,n,s){const i=Ki(e);null===n?i.push(s):(i.push(n),t.firstCreatePass&&Qi(t).push(s,i.length-1))}function ki(t,e,n){for(let s in t)if(t.hasOwnProperty(s)){const i=t[s];(n=null===n?{}:n).hasOwnProperty(s)?n[s].push(e,i):n[s]=[e,i]}return n}function Ti(t,e,n,s,i,r,o,a){const l=Ot(e,n);let c,u=e.inputs;var h;!a&&null!=u&&(c=u[s])?(Xi(t,n,c,s,i),pt(e)&&function(t,e){const n=It(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(s="class"===(h=s)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,i=null!=o?o(i,e.value||"",s):i,xt(r)?r.setProperty(l,s,i):Ce(s)||(l.setProperty?l.setProperty(s,i):l[s]=i))}function Ai(t,e,n,s){let i=!1;if(jt()){const r=function(t,e,n){const s=t.directiveRegistry;let i=null;if(s)for(let r=0;r<s.length;r++){const o=s[r];Js(n,o.selectors,!1)&&(i||(i=[]),Ne(Pe(n,e),t,o.type),mt(o)?(Ii(t,n),i.unshift(o)):i.push(o))}return i}(t,e,n),o=null===s?null:{"":-1};if(null!==r){i=!0,Li(n,t.data.length,r.length);for(let t=0;t<r.length;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let s=!1,a=!1,l=mi(t,e,r.length,null);for(let i=0;i<r.length;i++){const c=r[i];n.mergedAttrs=Ee(n.mergedAttrs,c.hostAttrs),Di(t,n,e,l,c),Pi(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),s=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(t,e){const n=e.directiveEnd,s=t.data,i=e.attrs,r=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=s[l],n=t.inputs,c=null===i||Ks(e)?null:Vi(n,i);r.push(c),o=ki(n,l,o),a=ki(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=r,e.inputs=o,e.outputs=a}(t,n)}o&&function(t,e,n){if(e){const s=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new y("301",`Export of name '${e[t+1]}' not found!`);s.push(e[t],i)}}}(n,s,o)}return n.mergedAttrs=Ee(n.mergedAttrs,n.attrs),i}function Oi(t,e,n,s,i,r){const o=r.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const r=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(s,i,o)}}function Ri(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ii(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Pi(t,e,n){if(n){if(e.exportAs)for(let s=0;s<e.exportAs.length;s++)n[e.exportAs[s]]=t;mt(e)&&(n[""]=t)}}function Li(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Di(t,e,n,s,i){t.data[s]=i;const r=i.factory||(i.factory=gt(i.type)),o=new be(r,mt(i),null);t.blueprint[s]=o,n[s]=o,Oi(t,e,0,s,mi(t,n,i.hostVars,si),i)}function Fi(t,e,n){const s=Ot(e,t),i=Ci(n),r=t[10],o=Hi(t,pi(t,i,null,n.onPush?64:16,s,e,r,r.createRenderer(s,n),null,null));t[e.index]=o}function Ni(t,e,n,s,i,r){const o=r[e];if(null!==o){const t=s.setInput;for(let e=0;e<o.length;){const i=o[e++],r=o[e++],a=o[e++];null!==t?s.setInput(n,a,i,r):n[r]=a}}}function Vi(t,e){let n=null,s=0;for(;s<e.length;){const i=e[s];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[s+1])),s+=2}else s+=2;else s+=4}return n}function ji(t,e,n,s){return new Array(t,!0,!1,e,null,0,s,n,null,null)}function Mi(t,e){const n=It(e,t);if(Lt(n)){const t=n[1];80&n[2]?_i(t,n,t.template,n[8]):n[5]>0&&Bi(n)}}function Bi(t){for(let n=ws(t);null!==n;n=Ss(n))for(let t=10;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];_i(t,e,t.template,e[8])}else e[5]>0&&Bi(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const s=It(e[n],t);Lt(s)&&s[5]>0&&Bi(s)}}function Ui(t,e){const n=It(e,t),s=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(s,n),gi(s,n,n[8])}function Hi(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function zi(t){for(;t;){t[2]|=64;const e=bs(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function Gi(t,e,n){const s=e[10];s.begin&&s.begin();try{_i(t,e,t.template,n)}catch(i){throw Zi(e,i),i}finally{s.end&&s.end()}}function $i(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],s=hs(n),i=s[1];yi(i,s,i.template,n)}}(t[8])}function qi(t,e,n){ne(0),e(t,n)}const Yi=(()=>Promise.resolve(null))();function Ki(t){return t[7]||(t[7]=[])}function Qi(t){return t.cleanup||(t.cleanup=[])}function Wi(t,e,n){return(null===t||mt(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 Zi(t,e){const n=t[9],s=n?n.get(ms,null):null;s&&s.handleError(e)}function Xi(t,e,n,s,i){for(let r=0;r<n.length;){const o=n[r++],a=n[r++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,i,s,a):l[a]=i}}function Ji(t,e,n){let s=n?t.styles:null,i=n?t.classes:null,r=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?r=t:1==r?i=p(i,t):2==r&&(s=p(s,t+": "+e[++o]+";"))}n?t.styles=s:t.stylesWithoutHost=s,n?t.classes=i:t.classesWithoutHost=i}const tr=new Xe("INJECTOR",-1);class er{get(t,e=un){if(e===un){const e=new Error(`NullInjectorError: No provider for ${d(t)}!`);throw e.name="NullInjectorError",e}return e}}const nr=new Xe("Set Injector scope."),sr={},ir={};let rr;function or(){return void 0===rr&&(rr=new er),rr}function ar(t,e=null,n=null,s){return new lr(t,n,e||or(),s)}class lr{constructor(t,e,n,s=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&nn(e,n=>this.processProvider(n,t,e)),nn([t],t=>this.processInjectorType(t,[],i)),this.records.set(tr,hr(void 0,this));const r=this.records.get(nr);this.scope=null!=r?r.value:null,this.source=s||("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=un,n=I.Default){this.assertNotDestroyed();const s=fn(this);try{if(!(n&I.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Xe)&&E(t);e=n&&this.injectableDefInScope(n)?hr(cr(t),sr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&I.Self?or():this.parent).get(t,e=n&I.Optional&&e===un?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(d(t)),s)throw r;return function(t,e,n,s){const i=t.ngTempTokenPath;throw e.__source&&i.unshift(e.__source),t.message=function(t,e,n,s=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=d(e);if(Array.isArray(e))i=e.map(d).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let s=e[n];t.push(n+":"+("string"==typeof s?JSON.stringify(s):d(s)))}i=`{${t.join(", ")}}`}return`${n}${s?"("+s+")":""}[${i}]: ${t.replace(hn,"\n ")}`}("\n"+t.message,i,n,s),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{fn(s)}var i}_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 s=k(t);const i=null==s&&t.ngModule||void 0,r=void 0===i?t:i,o=-1!==n.indexOf(r);if(void 0!==i&&(s=k(i)),null==s)return!1;if(null!=s.imports&&!o){let t;n.push(r);try{nn(s.imports,s=>{this.processInjectorType(s,e,n)&&(void 0===t&&(t=[]),t.push(s))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:s}=t[e];nn(s,t=>this.processProvider(t,n,s||G))}}this.injectorDefTypes.add(r);const a=gt(r)||(()=>new r);this.records.set(r,hr(a,sr));const l=s.providers;if(null!=l&&!o){const e=t;nn(l,t=>this.processProvider(t,e,l))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let s=pr(t=g(t))?t:g(t&&t.provide);const i=function(t,e,n){return dr(t)?hr(void 0,t.useValue):hr(ur(t),sr)}(t);if(pr(t)||!0!==t.multi)this.records.get(s);else{let e=this.records.get(s);e||(e=hr(void 0,sr,!0),e.factory=()=>yn(e.multi),this.records.set(s,e)),s=t,e.multi.push(t)}this.records.set(s,i)}hydrate(t,e){var n;return e.value===sr&&(e.value=ir,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}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 cr(t){const e=E(t),n=null!==e?e.factory:gt(t);if(null!==n)return n;if(t instanceof Xe)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=on(e,"?");throw new Error(`Can't resolve all parameters for ${d(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[T]||t[O]);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 ur(t,e,n){let s;if(pr(t)){const e=g(t);return gt(e)||cr(e)}if(dr(t))s=()=>g(t.useValue);else if((i=t)&&i.useFactory)s=()=>t.useFactory(...yn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))s=()=>gn(g(t.useExisting));else{const e=g(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return gt(e)||cr(e);s=()=>new e(...yn(t.deps))}var i;return s}function hr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function dr(t){return null!==t&&"object"==typeof t&&dn in t}function pr(t){return"function"==typeof t}const fr=function(t,e,n){return function(t,e=null,n=null,s){const i=ar(t,e,n,s);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};class mr{static create(t,e){return Array.isArray(t)?fr(t,e,""):fr(t.providers,t.parent,t.name||"")}}function gr(t,e){fe(hs(t)[1],Gt())}function _r(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const s=[t];for(;e;){let i;if(mt(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){s.push(i);const e=t;e.inputs=yr(t.inputs),e.declaredInputs=yr(t.declaredInputs),e.outputs=yr(t.outputs);const n=i.hostBindings;n&&wr(t,n);const r=i.viewQuery,o=i.contentQueries;if(r&&vr(t,r),o&&br(t,o),h(t.inputs,i.inputs),h(t.declaredInputs,i.declaredInputs),h(t.outputs,i.outputs),mt(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let s=0;s<e.length;s++){const i=e[s];i&&i.ngInherit&&i(t),i===_r&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let s=t.length-1;s>=0;s--){const i=t[s];i.hostVars=e+=i.hostVars,i.hostAttrs=Ee(i.hostAttrs,n=Ee(n,i.hostAttrs))}}(s)}function yr(t){return t===z?{}:t===G?[]:t}function vr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,s)=>{e(t,s),n(t,s)}:e}function br(t,e){const n=t.contentQueries;t.contentQueries=n?(t,s,i)=>{e(t,s,i),n(t,s,i)}:e}function wr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,s)=>{e(t,s),n(t,s)}:e}mr.THROW_IF_NOT_FOUND=un,mr.NULL=new er,mr.\u0275prov=S({token:mr,providedIn:"any",factory:()=>gn(tr)}),mr.__NG_ELEMENT_ID__=-1;let Sr=null;function Cr(){if(!Sr){const t=H.Symbol;if(t&&t.iterator)Sr=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Sr=n)}}}return Sr}function Er(t){return!!xr(t)&&(Array.isArray(t)||!(t instanceof Map)&&Cr()in t)}function xr(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function kr(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Tr(t,e,n,s){const i=Ut();return kr(i,Zt(),e)&&(Ht(),function(t,e,n,s,i,r){const o=Ot(t,e);!function(t,e,n,s,i,r,o){if(null==r)xt(t)?t.removeAttribute(e,i,n):e.removeAttribute(i);else{const a=null==o?v(r):o(r,s||"",i);xt(t)?t.setAttribute(e,i,a,n):n?e.setAttributeNS(n,i,a):e.setAttribute(i,a)}}(e[11],o,r,t.value,n,s,i)}(pe(),i,t,e,n,s)),Tr}function Ar(t,e,n,s,i,r,o,a){const l=Ut(),c=Ht(),u=t+20,h=c.firstCreatePass?function(t,e,n,s,i,r,o,a,l){const c=e.consts,u=fi(e,t,4,o||null,Dt(c,a));Ai(e,n,u,Dt(c,l)),fe(e,u);const h=u.tViews=Ei(2,u,s,i,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,n,s,i,r,o):c.data[u];qt(h,!1);const d=l[11].createComment("");Vs(c,l,d,h),us(d,l),Hi(l,l[u]=ji(d,l,d,h)),ft(h)&&wi(c,l,h),null!=o&&Si(l,h,a)}function Or(t,e=I.Default){const n=Ut();return null===n?gn(t,e):Me(Gt(),n,g(t),e)}function Rr(t,e,n){const s=Ut();return kr(s,Zt(),e)&&Ti(Ht(),pe(),s,t,e,s[11],n,!1),Rr}function Ir(t,e,n,s,i){const r=i?"class":"style";Xi(t,n,e.inputs[r],r,s)}function Pr(t,e,n,s){const i=Ut(),r=Ht(),o=20+t,a=i[11],l=i[o]=xs(a,e,Vt.lFrame.currentNamespace),c=r.firstCreatePass?function(t,e,n,s,i,r,o){const a=e.consts,l=fi(e,t,2,i,Dt(a,r));return Ai(e,n,l,Dt(a,o)),null!==l.attrs&&Ji(l,l.attrs,!1),null!==l.mergedAttrs&&Ji(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,r,i,0,e,n,s):r.data[o];qt(c,!0);const u=c.mergedAttrs;null!==u&&we(a,l,u);const h=c.classes;null!==h&&$s(a,l,h);const d=c.styles;null!==d&&Gs(a,l,d),64!=(64&c.flags)&&Vs(r,i,l,c),0===Vt.lFrame.elementDepthCount&&us(l,i),Vt.lFrame.elementDepthCount++,ft(c)&&(wi(r,i,c),bi(r,c,i)),null!==s&&Si(i,c)}function Lr(){let t=Gt();Yt()?Kt():(t=t.parent,qt(t,!1));const e=t;Vt.lFrame.elementDepthCount--;const n=Ht();n.firstCreatePass&&(fe(n,t),dt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Ir(n,e,Ut(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Ir(n,e,Ut(),e.stylesWithoutHost,!1)}function Dr(t,e,n,s){Pr(t,e,n,s),Lr()}function Fr(t,e,n){const s=Ut(),i=Ht(),r=t+20,o=i.firstCreatePass?function(t,e,n,s,i){const r=e.consts,o=Dt(r,s),a=fi(e,t,8,"ng-container",o);return null!==o&&Ji(a,o,!0),Ai(e,n,a,Dt(r,i)),null!==e.queries&&e.queries.elementStart(e,a),a}(r,i,s,e,n):i.data[r];qt(o,!0);const a=s[r]=s[11].createComment("");Vs(i,s,a,o),us(a,s),ft(o)&&(wi(i,s,o),bi(i,o,s)),null!=n&&Si(s,o)}function Nr(){let t=Gt();const e=Ht();Yt()?Kt():(t=t.parent,qt(t,!1)),e.firstCreatePass&&(fe(e,t),dt(t)&&e.queries.elementEnd(t))}function Vr(){return Ut()}function jr(t){return!!t&&"function"==typeof t.then}function Mr(t){return!!t&&"function"==typeof t.subscribe}const Br=Mr;function Ur(t,e,n,s){const i=Ut(),r=Ht(),o=Gt();return zr(r,i,i[11],o,t,e,!!n,s),Ur}function Hr(t,e){const n=Gt(),s=Ut(),i=Ht();return zr(i,s,Wi(te(i.data),n,s),n,t,e,!1),Hr}function zr(t,e,n,s,i,r,o,a){const l=ft(s),c=t.firstCreatePass&&Qi(t),u=Ki(e);let h=!0;if(3&s.type||a){const d=Ot(s,e),p=a?a(d):d,f=u.length,m=a?t=>a(Tt(t[s.index])):s.index;if(xt(n)){let o=null;if(!a&&l&&(o=function(t,e,n,s){const i=t.cleanup;if(null!=i)for(let r=0;r<i.length-1;r+=2){const t=i[r];if(t===n&&i[r+1]===s){const t=e[7],n=i[r+2];return t.length>n?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,i,s.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,h=!1;else{r=$r(s,e,0,r,!1);const t=n.listen(p,i,r);u.push(r,t),c&&c.push(i,m,f,f+1)}}else r=$r(s,e,0,r,!0),p.addEventListener(i,r,o),u.push(r),c&&c.push(i,m,f,o)}else r=$r(s,e,0,r,!1);const d=s.outputs;let p;if(h&&null!==d&&(p=d[i])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(r),o=u.length;u.push(r,t),c&&c.push(i,s.index,o,-(o+1))}}}function Gr(t,e,n,s){try{return!1!==n(s)}catch(i){return Zi(t,i),!1}}function $r(t,e,n,s,i){return function n(r){if(r===Function)return s;const o=2&t.flags?It(t.index,e):e;0==(32&e[2])&&zi(o);let a=Gr(e,0,s,r),l=n.__ngNextListenerFn__;for(;l;)a=Gr(e,0,l,r)&&a,l=l.__ngNextListenerFn__;return i&&!1===a&&(r.preventDefault(),r.returnValue=!1),a}}function qr(t=1){return function(t){return(Vt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Vt.lFrame.contextLView))[8]}(t)}function Yr(t,e){let n=null;const s=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 i=0;i<e.length;i++){const r=e[i];if("*"!==r){if(null===s?Js(t,r,!0):ti(s,r))return i}else n=i}return n}function Kr(t){const e=Ut()[16][6];if(!e.projection){const n=e.projection=on(t?t.length:1,null),s=n.slice();let i=e.child;for(;null!==i;){const e=t?Yr(i,t):0;null!==e&&(s[e]?s[e].projectionNext=i:n[e]=i,s[e]=i),i=i.next}}}function Qr(t,e=0,n){const s=Ut(),i=Ht(),r=fi(i,20+t,16,null,n||null);null===r.projection&&(r.projection=e),Kt(),64!=(64&r.flags)&&function(t,e,n){zs(e[11],0,e,n,Rs(t,n,e),Fs(n.parent||e[6],n,e))}(i,s,r)}function Wr(t,e,n,s,i){const r=t[n+1],o=null===e;let a=s?ai(r):ci(r),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];Zr(t[a],e)&&(l=!0,t[a+1]=s?hi(n):li(n)),a=s?ai(n):ci(n)}l&&(t[n+1]=s?li(r):hi(r))}function Zr(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&cn(t,e)>=0}function Xr(t,e,n){return to(t,e,n,!1),Xr}function Jr(t,e){return to(t,e,null,!0),Jr}function to(t,e,n,s){const i=Ut(),r=Ht(),o=function(t){const e=Vt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+2,n}();r.firstUpdatePass&&function(t,e,n,s){const i=t.data;if(null===i[n+1]){const r=i[he()],o=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(t.flags&(e?16:32))})(r,s)&&null===e&&!o&&(e=!1),e=function(t,e,n,s){const i=te(t);let r=s?e.residualClasses:e.residualStyles;if(null===i)0===(s?e.classBindings:e.styleBindings)&&(n=no(n=eo(null,t,e,n,s),e.attrs,s),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=eo(i,t,e,n,s),null===r){let n=function(t,e,n){const s=n?e.classBindings:e.styleBindings;if(0!==ci(s))return t[ai(s)]}(t,e,s);void 0!==n&&Array.isArray(n)&&(n=eo(null,t,e,n[1],s),n=no(n,e.attrs,s),function(t,e,n,s){t[ai(n?e.classBindings:e.styleBindings)]=s}(t,e,s,n))}else r=function(t,e,n){let s;const i=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<i;r++)s=no(s,t[r].hostAttrs,n);return no(s,e.attrs,n)}(t,e,s)}return void 0!==r&&(s?e.residualClasses=r:e.residualStyles=r),n}(i,r,e,s),function(t,e,n,s,i,r){let o=r?e.classBindings:e.styleBindings,a=ai(o),l=ci(o);t[s]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||cn(t,c)>0)&&(u=!0)}else c=n;if(i)if(0!==l){const e=ai(t[a+1]);t[s+1]=oi(e,a),0!==e&&(t[e+1]=ui(t[e+1],s)),t[a+1]=131071&t[a+1]|s<<17}else t[s+1]=oi(a,0),0!==a&&(t[a+1]=ui(t[a+1],s)),a=s;else t[s+1]=oi(l,0),0===a?a=s:t[l+1]=ui(t[l+1],s),l=s;u&&(t[s+1]=li(t[s+1])),Wr(t,c,s,!0),Wr(t,c,s,!1),function(t,e,n,s,i){const r=i?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&cn(r,e)>=0&&(n[s+1]=hi(n[s+1]))}(e,c,t,s,r),o=oi(a,l),r?e.classBindings=o:e.styleBindings=o}(i,r,e,n,o,s)}}(r,t,o,s),e!==si&&kr(i,o,e)&&function(t,e,n,s,i,r,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];io(1==(1&c)?so(l,e,n,i,ci(c),o):void 0)||(io(r)||function(t){return 2==(2&t)}(c)&&(r=so(l,null,n,i,a,o)),function(t,e,n,s,i){const r=xt(t);if(e)i?r?t.addClass(n,s):n.classList.add(s):r?t.removeClass(n,s):n.classList.remove(s);else{let e=-1===s.indexOf("-")?void 0:ys.DashCase;if(null==i)r?t.removeStyle(n,s,e):n.style.removeProperty(s);else{const o="string"==typeof i&&i.endsWith("!important");o&&(i=i.slice(0,-10),e|=ys.Important),r?t.setStyle(n,s,i,e):n.style.setProperty(s,i,o?"important":"")}}}(s,o,At(he(),n),i,r))}(r,r.data[he()],i,i[11],t,i[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=d(In(t)))),t}(e,n),s,o)}function eo(t,e,n,s,i){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(r=e[a],s=no(s,r.hostAttrs,i),r!==t);)a++;return null!==t&&(n.directiveStylingLast=a),s}function no(t,e,n){const s=n?1:2;let i=-1;if(null!==e)for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?i=o:i===s&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),an(t,o,!!n||e[++r]))}return void 0===t?null:t}function so(t,e,n,s,i,r){const o=null===e;let a;for(;i>0;){const e=t[i],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let u=n[i+1];u===si&&(u=c?G:void 0);let h=c?ln(u,s):l===s?u:void 0;if(r&&!io(h)&&(h=ln(e,s)),io(h)&&(a=h,o))return a;const d=t[i+1];i=o?ai(d):ci(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=ln(t,s))}return a}function io(t){return void 0!==t}function ro(t,e=""){const n=Ut(),s=Ht(),i=t+20,r=s.firstCreatePass?fi(s,i,1,e,null):s.data[i],o=n[i]=function(t,e){return xt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Vs(s,n,o,r),qt(r,!1)}function oo(t){return ao("",t,""),oo}function ao(t,e,n){const s=Ut(),i=function(t,e,n,s){return kr(t,Zt(),n)?e+v(n)+s:si}(s,t,e,n);return i!==si&&function(t,e,n){const s=At(e,t);!function(t,e,n){xt(t)?t.setValue(e,n):e.textContent=n}(t[11],s,n)}(s,he(),i),ao}function lo(t,e,n){const s=Ut();return kr(s,Zt(),e)&&Ti(Ht(),pe(),s,t,e,s[11],n,!0),lo}function co(t,e,n){const s=Ut();if(kr(s,Zt(),e)){const i=Ht(),r=pe();Ti(i,r,s,t,e,Wi(te(i.data),r,s),n,!0)}return co}const uo=void 0;var ho=["en",[["a","p"],["AM","PM"],uo],[["AM","PM"],uo,uo],[["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"]],uo,[["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"]],uo,[["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}",uo,"{1} 'at' {0}",uo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let po={};function fo(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=go(e);if(n)return n;const s=e.split("-")[0];if(n=go(s),n)return n;if("en"===s)return ho;throw new Error(`Missing locale data for the locale "${t}".`)}function mo(t){return fo(t)[_o.PluralCase]}function go(t){return t in po||(po[t]=H.ng&&H.ng.common&&H.ng.common.locales&&H.ng.common.locales[t]),po[t]}var _o=(()=>((_o=_o||{})[_o.LocaleId=0]="LocaleId",_o[_o.DayPeriodsFormat=1]="DayPeriodsFormat",_o[_o.DayPeriodsStandalone=2]="DayPeriodsStandalone",_o[_o.DaysFormat=3]="DaysFormat",_o[_o.DaysStandalone=4]="DaysStandalone",_o[_o.MonthsFormat=5]="MonthsFormat",_o[_o.MonthsStandalone=6]="MonthsStandalone",_o[_o.Eras=7]="Eras",_o[_o.FirstDayOfWeek=8]="FirstDayOfWeek",_o[_o.WeekendRange=9]="WeekendRange",_o[_o.DateFormat=10]="DateFormat",_o[_o.TimeFormat=11]="TimeFormat",_o[_o.DateTimeFormat=12]="DateTimeFormat",_o[_o.NumberSymbols=13]="NumberSymbols",_o[_o.NumberFormats=14]="NumberFormats",_o[_o.CurrencyCode=15]="CurrencyCode",_o[_o.CurrencySymbol=16]="CurrencySymbol",_o[_o.CurrencyName=17]="CurrencyName",_o[_o.Currencies=18]="Currencies",_o[_o.Directionality=19]="Directionality",_o[_o.PluralCase=20]="PluralCase",_o[_o.ExtraData=21]="ExtraData",_o))();let yo="en-US";function vo(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,s){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(yo=t.toLowerCase().replace(/_/g,"-"))}function bo(t,e,n,s,i){if(t=g(t),Array.isArray(t))for(let r=0;r<t.length;r++)bo(t[r],e,n,s,i);else{const r=Ht(),o=Ut();let a=pr(t)?t:g(t.provide),l=ur(t);const c=Gt(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(pr(t)||!t.multi){const s=new be(l,i,Or),p=Co(a,e,i?u:u+d,h);-1===p?(Ne(Pe(c,o),r,a),wo(r,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(s),o.push(s)):(n[p]=s,o[p]=s)}else{const p=Co(a,e,u+d,h),f=Co(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(i&&!g||!i&&!m){Ne(Pe(c,o),r,a);const u=function(t,e,n,s,i){const r=new be(t,n,Or);return r.multi=[],r.index=e,r.componentProviders=0,So(r,i,s&&!n),r}(i?xo:Eo,n.length,i,s,l);!i&&g&&(n[f].providerFactory=u),wo(r,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else wo(r,t,p>-1?p:f,So(n[i?f:p],l,!i&&s));!i&&s&&g&&n[f].componentProviders++}}}function wo(t,e,n,s){const i=pr(e);if(i||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[s,r]):o[t+1].push(s,r)}else o.push(n,r)}}}function So(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Co(t,e,n,s){for(let i=n;i<s;i++)if(e[i]===t)return i;return-1}function Eo(t,e,n,s){return ko(this.multi,[])}function xo(t,e,n,s){const i=this.multi;let r;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Ge(n,n[1],this.providerFactory.index,s);r=e.slice(0,t),ko(i,r);for(let n=t;n<e.length;n++)r.push(e[n])}else r=[],ko(i,r);return r}function ko(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function To(t,e=[]){return n=>{n.providersResolver=(n,s)=>function(t,e,n){const s=Ht();if(s.firstCreatePass){const i=mt(t);bo(n,s.data,s.blueprint,i,!0),bo(e,s.data,s.blueprint,i,!1)}}(n,s?s(t):t,e)}}class Ao{}class Oo{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${d(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}class Ro{}function Io(...t){}function Po(t,e){return new Do(Ot(t,e))}Ro.NULL=new Oo;const Lo=function(){return Po(Gt(),Ut())};let Do=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Lo,t})();function Fo(t){return t instanceof Do?t.nativeElement:t}class No{}let Vo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>jo(),t})();const jo=function(){const t=Ut(),e=It(Gt().index,t);return function(t){return t[11]}(ut(e)?e:t)};let Mo=(()=>{class t{}return t.\u0275prov=S({token:t,providedIn:"root",factory:()=>null}),t})();class Bo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Uo=new Bo("12.1.1");class Ho{constructor(){}supports(t){return Er(t)}create(t){return new Go(t)}}const zo=(t,e)=>e;class Go{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||zo}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,s=0,i=null;for(;e||n;){const r=!n||e&&e.currentIndex<Ko(n,s,i)?e:n,o=Ko(r,s,i),a=r.currentIndex;if(r===n)s--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)s++;else{i||(i=[]);const t=o-s,e=a-s;if(t!=e){for(let n=0;n<t;n++){const s=n<i.length?i[n]:i[n]=0,r=s+n;e<=r&&r<t&&(i[n]=s+1)}i[r.previousIndex]=e-t}}o!==a&&t(r,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Er(t))throw new Error(`Error trying to diff '${d(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,s,i=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],s=this._trackByFn(e,n),null!==i&&Object.is(i.trackById,s)?(r&&(i=this._verifyReinsertion(i,n,s,e)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,s,e),r=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Cr()]();let s;for(;!(s=n.next()).done;)e(s.value)}}(t,t=>{s=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,s)?(r&&(i=this._verifyReinsertion(i,t,s,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,s,e),r=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,s){let i;return null===t?i=this._itTail:(i=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,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,s)):t=this._addAfter(new $o(e,n),i,s),t}_verifyReinsertion(t,e,n,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),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 s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,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 s=null===e?this._itHead:e._next;return t._next=s,t._prev=e,null===s?this._itTail=t:s._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Yo),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 Yo),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 $o{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 qo{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 Yo{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new qo,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 Ko(t,e,n){const s=t.previousIndex;if(null===s)return s;let i=0;return n&&s<n.length&&(i=n[s]),s+e+i}class Qo{constructor(){}supports(t){return t instanceof Map||xr(t)}create(){return new Wo}}class Wo{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||xr(t)))throw new Error(`Error trying to diff '${d(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,s)}}),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 s=n._prev,i=n._next;return s&&(s._next=i),i&&(i._prev=s),n._next=null,n._prev=null,n}const n=new Zo(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 Zo{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 Xo(){return new Jo([new Ho])}let Jo=(()=>{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||Xo()),deps:[[t,new Sn,new wn]]}}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 '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=S({token:t,providedIn:"root",factory:Xo}),t})();function ta(){return new ea([new Qo])}let ea=(()=>{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||ta()),deps:[[t,new Sn,new wn]]}}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=S({token:t,providedIn:"root",factory:ta}),t})();function na(t,e,n,s,i=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&s.push(Tt(r)),ht(r))for(let t=10;t<r.length;t++){const e=r[t],n=e[1].firstChild;null!==n&&na(e[1],e,n,s)}const o=n.type;if(8&o)na(t,e,n.child,s);else if(32&o){const t=vs(n,e);let i;for(;i=t();)s.push(i)}else if(16&o){const t=Ms(e,n);if(Array.isArray(t))s.push(...t);else{const n=bs(e[16]);na(n[1],n,t,s,!0)}}n=i?n.projectionNext:n.next}return s}class sa{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return na(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ht(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(Ts(t,n),rn(e,n))}this._attachedToViewContainer=!1}As(this._lView[1],this._lView)}onDestroy(t){xi(this._lView[1],this._lView,null,t)}markForCheck(){zi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Gi(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Wt(!0);try{Gi(t,e,n)}finally{Wt(!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,Hs(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 ia extends sa{constructor(t){super(t),this._view=t}detectChanges(){$i(this._view)}checkNoChanges(){!function(t){Wt(!0);try{$i(t)}finally{Wt(!1)}}(this._view)}get context(){return null}}const ra=function(t){return function(t,e,n){if(pt(t)&&!n){const n=It(t.index,e);return new sa(n,n)}return 47&t.type?new sa(e[16],e):null}(Gt(),Ut(),16==(16&t))};let oa=(()=>{class t{}return t.__NG_ELEMENT_ID__=ra,t})();const aa=[new Qo],la=new Jo([new Ho]),ca=new ea(aa),ua=function(){return fa(Gt(),Ut())};let ha=(()=>{class t{}return t.__NG_ELEMENT_ID__=ua,t})();const da=ha,pa=class extends da{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=pi(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(n[19]=s.createEmbeddedView(e)),gi(e,n,t),new sa(n)}};function fa(t,e){return 4&t.type?new pa(e,t,Po(t,e)):null}class ma{}class ga{}const _a=function(){return Ca(Gt(),Ut())};let ya=(()=>{class t{}return t.__NG_ELEMENT_ID__=_a,t})();const va=ya,ba=class extends va{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Po(this._hostTNode,this._hostLView)}get injector(){return new Ye(this._hostTNode,this._hostLView)}get parentInjector(){const t=Fe(this._hostTNode,this._hostLView);if(ke(t)){const e=Ae(t,this._hostLView),n=Te(t);return new Ye(e[1].data[n+8],e)}return new Ye(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=wa(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const s=t.createEmbeddedView(e||{});return this.insert(s,n),s}createComponent(t,e,n,s,i){const r=n||this.parentInjector;if(!i&&null==t.ngModule&&r){const t=r.get(ma,null);t&&(i=t)}const o=t.create(r,s,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,s=n[1];if(ht(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],s=new ba(e,e[6],e[3]);s.detach(s.indexOf(t))}}const i=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,s){const i=10+s,r=n.length;s>0&&(n[i-1][4]=e),s<r-10?(e[4]=n[i],sn(n,10+s,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(s,n,r,i);const o=Bs(i,r),a=n[11],l=Ds(a,r[7]);return null!==l&&function(t,e,n,s,i,r){s[0]=i,s[6]=e,Hs(t,s,n,1,i,r)}(s,r[6],a,n,l,o),t.attachToViewContainerRef(),sn(Sa(r),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=wa(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Ts(this._lContainer,e);n&&(rn(Sa(this._lContainer),e),As(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Ts(this._lContainer,e);return n&&null!=rn(Sa(this._lContainer),e)?new sa(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function wa(t){return t[8]}function Sa(t){return t[8]||(t[8]=[])}function Ca(t,e){let n;const s=e[t.index];if(ht(s))n=s;else{let i;if(8&t.type)i=Tt(s);else{const n=e[11];i=n.createComment("");const s=Ot(t,e);Is(n,Ds(n,s),i,function(t,e){return xt(t)?t.nextSibling(e):e.nextSibling}(n,s),!1)}e[t.index]=n=ji(s,e,i,t),Hi(e,n)}return new ba(n,t,e)}const Ea={};class xa extends Ro{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=lt(t);return new Aa(e,this.ngModule)}}function ka(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Ta=new Xe("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>gs});class Aa extends Ao{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(ni).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return ka(this.componentDef.inputs)}get outputs(){return ka(this.componentDef.outputs)}create(t,e,n,s){const i=(s=s||this.ngModule)?function(t,e){return{get:(n,s,i)=>{const r=t.get(n,Ea,i);return r!==Ea||s===Ea?r:e.get(n,s,i)}}}(t,s.injector):t,r=i.get(No,kt),o=i.get(Mo,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(xt(t))return t.selectRootElement(e,n===V.ShadowDom);let s="string"==typeof e?t.querySelector(e):e;return s.textContent="",s}(a,n,this.componentDef.encapsulation):xs(r.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:gs,clean:Yi,playerHandler:null,flags:0},d=Ei(0,null,null,1,0,null,null,null,null,null),p=pi(null,d,h,u,null,null,r,a,o,i);let f,m;re(p);try{const t=function(t,e,n,s,i,r){const o=n[1];n[20]=t;const a=fi(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Ji(a,l,!0),null!==t&&(we(i,t,l),null!==a.classes&&$s(i,t,a.classes),null!==a.styles&&Gs(i,t,a.styles)));const c=s.createRenderer(t,e),u=pi(n,Ci(e),null,e.onPush?64:16,n[20],a,s,c,null,null);return o.firstCreatePass&&(Ne(Pe(a,n),o,e.type),Ii(o,a),Li(a,n.length,1)),Hi(n,u),n[20]=u}(c,this.componentDef,p,r,a);if(c)if(n)we(a,c,["ng-version",Uo.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let s=1,i=2;for(;s<t.length;){let r=t[s];if("string"==typeof r)2===i?""!==r&&e.push(r,t[++s]):8===i&&n.push(r);else{if(!Zs(i))break;i=r}s++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&we(a,c,t),e&&e.length>0&&$s(a,c,e.join(" "))}if(m=Rt(d,20),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const s=e[n];t.push(null!=s?Array.from(s):null)}}f=function(t,e,n,s,i){const r=n[1],o=function(t,e,n){const s=Gt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Di(t,s,e,mi(t,e,1,null),n));const i=Ge(e,t,s.directiveStart,s);us(i,e);const r=Ot(s,e);return r&&us(r,e),i}(r,n,e);if(s.components.push(o),t[8]=o,i&&i.forEach(t=>t(o,e)),e.contentQueries){const t=Gt();e.contentQueries(1,o,t.directiveStart)}const a=Gt();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(de(a.index),Oi(n[1],a,0,a.directiveStart,a.directiveEnd,e),Ri(e,o)),o}(t,this.componentDef,p,h,[gr]),gi(d,p,null)}finally{ue()}return new Oa(this.componentType,f,Po(m,p),p,m)}}class Oa extends class{}{constructor(t,e,n,s,i){super(),this.location=n,this._rootLView=s,this._tNode=i,this.instance=e,this.hostView=this.changeDetectorRef=new ia(s),this.componentType=t}get injector(){return new Ye(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Ra=new Map;class Ia extends ma{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new xa(this);const n=ct(t),s=t[Q]||null;s&&vo(s),this._bootstrapComponents=_s(n.bootstrap),this._r3Injector=ar(t,e,[{provide:ma,useValue:this},{provide:Ro,useValue:this.componentFactoryResolver}],d(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=mr.THROW_IF_NOT_FOUND,n=I.Default){return t===mr||t===ma||t===tr?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 Pa extends ga{constructor(t){super(),this.moduleType=t,null!==ct(t)&&function(t){const e=new Set;!function t(n){const s=ct(n,!0),i=s.id;null!==i&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${d(e)} vs ${d(e.name)}`)}(i,Ra.get(i),n),Ra.set(i,n));const r=_s(s.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new Ia(this.moduleType,t)}}function La(t){return e=>{setTimeout(t,void 0,e)}}const Da=class extends s.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var s,r,o;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(s=e.next)||void 0===s?void 0:s.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=La(l),a&&(a=La(a)),c&&(c=La(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof i.w&&t.add(u),u}};function Fa(){return this._results[Cr()]()}class Na{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=Cr(),n=Na.prototype;n[e]||(n[e]=Fa)}get changes(){return this._changes||(this._changes=new Da)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const n=en(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let s=0;s<t.length;s++){let i=t[s],r=e[s];if(n&&(i=n(i),r=n(r)),r!==i)return!1}return!0}(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class Va{constructor(t){this.queryList=t,this.matches=null}clone(){return new Va(this.queryList)}setDirty(){this.queryList.setDirty()}}class ja{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,s=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);s.push(this.queries[n.indexInDeclarationView].clone())}return new ja(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Xa(t,e).matches&&this.queries[e].setDirty()}}class Ma{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class Ba{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const s=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,s);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new Ba(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ua{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Ua(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let s=0;s<n.length;s++){const i=n[s];this.matchTNodeWithReadOption(t,e,Ha(e,i)),this.matchTNodeWithReadOption(t,e,ze(e,t,i,!1,!1))}else n===ha?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,ze(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const s=this.metadata.read;if(null!==s)if(s===Do||s===ya||s===ha&&4&e.type)this.addMatch(e.index,-2);else{const n=ze(e,t,s,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Ha(t,e){const n=t.localNames;if(null!==n)for(let s=0;s<n.length;s+=2)if(n[s]===e)return n[s+1];return null}function za(t,e,n,s){return-1===n?function(t,e){return 11&t.type?Po(t,e):4&t.type?fa(t,e):null}(e,t):-2===n?function(t,e,n){return n===Do?Po(e,t):n===ha?fa(e,t):n===ya?Ca(e,t):void 0}(t,e,s):Ge(t,t[1],n,e)}function Ga(t,e,n,s){const i=e[19].queries[s];if(null===i.matches){const s=t.data,r=n.matches,o=[];for(let t=0;t<r.length;t+=2){const i=r[t];o.push(i<0?null:za(e,s[i],r[t+1],n.metadata.read))}i.matches=o}return i.matches}function $a(t,e,n,s){const i=t.queries.getByIndex(n),r=i.matches;if(null!==r){const o=Ga(t,e,i,n);for(let t=0;t<r.length;t+=2){const n=r[t];if(n>0)s.push(o[t/2]);else{const i=r[t+1],o=e[-n];for(let t=10;t<o.length;t++){const e=o[t];e[17]===e[3]&&$a(e[1],e,i,s)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];$a(n[1],n,i,s)}}}}}return s}function qa(t){const e=Ut(),n=Ht(),s=ee();ne(s+1);const i=Xa(n,s);if(t.dirty&&Pt(e)===(2==(2&i.metadata.flags))){if(null===i.matches)t.reset([]);else{const r=i.crossesNgTemplate?$a(n,e,s,[]):Ga(n,e,i,s);t.reset(r,Fo),t.notifyOnChanges()}return!0}return!1}function Ya(t,e,n){const s=Ht();s.firstCreatePass&&(Za(s,new Ma(t,e,n),-1),2==(2&e)&&(s.staticViewQueries=!0)),Wa(s,Ut(),e)}function Ka(t,e,n,s){const i=Ht();if(i.firstCreatePass){const r=Gt();Za(i,new Ma(e,n,s),r.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(i,t),2==(2&n)&&(i.staticContentQueries=!0)}Wa(i,Ut(),n)}function Qa(){return t=Ut(),e=ee(),t[19].queries[e].queryList;var t,e}function Wa(t,e,n){const s=new Na(4==(4&n));xi(t,e,s,s.destroy),null===e[19]&&(e[19]=new ja),e[19].queries.push(new Va(s))}function Za(t,e,n){null===t.queries&&(t.queries=new Ba),t.queries.track(new Ua(e,n))}function Xa(t,e){return t.queries.getByIndex(e)}const Ja=new Xe("Application Initializer");let tl=(()=>{class t{constructor(t){this.appInits=t,this.resolve=Io,this.reject=Io,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<this.appInits.length;n++){const e=this.appInits[n]();if(jr(e))t.push(e);else if(Br(e)){const n=new Promise((t,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)(gn(Ja,8))},t.\u0275prov=S({token:t,factory:t.\u0275fac}),t})();const el=new Xe("AppId"),nl={provide:el,useFactory:function(){return`${sl()}${sl()}${sl()}`},deps:[]};function sl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const il=new Xe("Platform Initializer"),rl=new Xe("Platform ID"),ol=new Xe("appBootstrapListener");let al=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac}),t})();const ll=new Xe("LocaleId"),cl=new Xe("DefaultCurrencyCode");class ul{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const hl=function(t){return new Pa(t)},dl=hl,pl=function(t){return Promise.resolve(hl(t))},fl=function(t){const e=hl(t),n=_s(ct(t).declarations).reduce((t,e)=>{const n=lt(e);return n&&t.push(new Aa(n)),t},[]);return new ul(e,n)},ml=fl,gl=function(t){return Promise.resolve(fl(t))};let _l=(()=>{class t{constructor(){this.compileModuleSync=dl,this.compileModuleAsync=pl,this.compileModuleAndAllComponentsSync=ml,this.compileModuleAndAllComponentsAsync=gl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac}),t})();const yl=(()=>Promise.resolve(0))();function vl(t){"undefined"==typeof Zone?yl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class bl{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Da(!1),this.onMicrotaskEmpty=new Da(!1),this.onStable=new Da(!1),this.onError=new Da(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&e,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=H.requestAnimationFrame,e=H.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const s=e[Zone.__symbol__("OriginalDelegate")];s&&(e=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(H,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Cl(t),t.isCheckStableRunning=!0,Sl(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Cl(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,s,i,r,o,a)=>{try{return El(t),n.invokeTask(i,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),xl(t)}},onInvoke:(n,s,i,r,o,a,l)=>{try{return El(t),n.invoke(i,r,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),xl(t)}},onHasTask:(e,n,s,i)=>{e.hasTask(s,i),n===s&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,Cl(t),Sl(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,s,i)=>(e.handleError(s,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!bl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(bl.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,s){const i=this._inner,r=i.scheduleEventTask("NgZoneEvent: "+s,t,wl,Io,Io);try{return i.runTask(r,e,n)}finally{i.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const wl={};function Sl(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 Cl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function El(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function xl(t){t._nesting--,Sl(t)}class kl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Da,this.onMicrotaskEmpty=new Da,this.onStable=new Da,this.onError=new Da}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,s){return t.apply(e,n)}}let Tl=(()=>{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:()=>{bl.assertNotInAngularZone(),vl(()=>{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())vl(()=>{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 s=-1;e&&e>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==s),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:s,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)(gn(bl))},t.\u0275prov=S({token:t,factory:t.\u0275fac}),t})(),Al=(()=>{class t{constructor(){this._applications=new Map,Pl.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 Pl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=S({token:t,factory:t.\u0275fac}),t})();class Ol{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Rl(t){Pl=t}let Il,Pl=new Ol,Ll=!0,Dl=!1;function Fl(){return Dl=!0,Ll}function Nl(){if(Dl)throw new Error("Cannot enable prod mode after platform setup.");Ll=!1}const Vl=new Xe("AllowMultipleToken");class jl{constructor(t,e){this.name=t,this.token=e}}function Ml(t,e,n=[]){const s=`Platform: ${e}`,i=new Xe(s);return(e=[])=>{let r=Bl();if(!r||r.injector.get(Vl,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:nr,useValue:"platform"});!function(t){if(Il&&!Il.destroyed&&!Il.injector.get(Vl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Il=t.get(Ul);const e=t.get(il,null);e&&e.forEach(t=>t())}(mr.create({providers:t,name:s}))}return function(t){const e=Bl();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}(i)}}function Bl(){return Il&&!Il.destroyed?Il:null}let Ul=(()=>{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 kl:("zone.js"===t?void 0:t)||new bl({enableLongStackTrace:Fl(),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}),s=[{provide:bl,useValue:n}];return n.run(()=>{const e=mr.create({providers:s,parent:this.injector,name:t.moduleType.name}),i=t.create(e),r=i.injector.get(ms,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{r.handleError(t)}});i.onDestroy(()=>{Gl(this._modules,i),t.unsubscribe()})}),function(t,e,n){try{const s=n();return jr(s)?s.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):s}catch(s){throw e.runOutsideAngular(()=>t.handleError(s)),s}}(r,n,()=>{const t=i.injector.get(tl);return t.runInitializers(),t.donePromise.then(()=>(vo(i.injector.get(ll,"en-US")||"en-US"),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=Hl({},e);return function(t,e,n){const s=new Pa(n);return Promise.resolve(s)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(zl);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)(gn(mr))},t.\u0275prov=S({token:t,factory:t.\u0275fac}),t})();function Hl(t,e){return Array.isArray(e)?e.reduce(Hl,t):Object.assign(Object.assign({},t),e)}let zl=(()=>{class t{constructor(t,e,n,s,i){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=i,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(()=>{bl.assertNotInAngularZone(),vl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{bl.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=>{return(0,l.x)()((e=c,function(t){let n;n="function"==typeof e?e:function(){return e};const s=Object.create(t,a.N);return s.source=t,s.subjectFactory=n,s})(t));var e}))}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 Ao?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const s=n.isBoundToModule?void 0:this._injector.get(ma),i=n.create(mr.NULL,[],e||n.selector,s),r=i.location.nativeElement,o=i.injector.get(Tl,null),a=o&&i.injector.get(Al);return o&&a&&a.registerApplication(r,o),i.onDestroy(()=>{this.detachView(i.hostView),Gl(this.components,i),a&&a.unregisterApplication(r)}),this._loadComponent(i),i}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;Gl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ol,[]).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)(gn(bl),gn(mr),gn(ms),gn(Ro),gn(tl))},t.\u0275prov=S({token:t,factory:t.\u0275fac}),t})();function Gl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class $l{}class ql{}const Yl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Kl=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Yl}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,s]=t.split("#");return void 0===s&&(s="default"),n(8255)(e).then(t=>t[s]).then(t=>Ql(t,e,s)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,s]=t.split("#"),i="NgFactory";return void 0===s&&(s="default",i=""),n(8255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[s+i]).then(t=>Ql(t,e,s))}}return t.\u0275fac=function(e){return new(e||t)(gn(_l),gn(ql,8))},t.\u0275prov=S({token:t,factory:t.\u0275fac}),t})();function Ql(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Wl=function(t){return null},Zl=Ml(null,"core",[{provide:rl,useValue:"unknown"},{provide:Ul,deps:[mr]},{provide:Al,deps:[]},{provide:al,deps:[]}]),Xl=[{provide:zl,useClass:zl,deps:[bl,mr,ms,Ro,tl]},{provide:Ta,deps:[bl],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:tl,useClass:tl,deps:[[new wn,Ja]]},{provide:_l,useClass:_l,deps:[]},nl,{provide:Jo,useFactory:function(){return la},deps:[]},{provide:ea,useFactory:function(){return ca},deps:[]},{provide:ll,useFactory:function(t){return vo(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new bn(ll),new wn,new Sn]]},{provide:cl,useValue:"USD"}];let Jl=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(gn(zl))},t.\u0275mod=st({type:t}),t.\u0275inj=C({providers:Xl}),t})()},3738:function(t,e,n){"use strict";n.d(e,{sg:function(){return K},JU:function(){return u},a5:function(){return x},F:function(){return q}});var s=n(793),i=(n(2057),n(7574)),r=n(9796),o=n(8002),a=n(1555),l=n(4402);function c(t,e){return new i.y(n=>{const s=t.length;if(0===s)return void n.complete();const i=new Array(s);let r=0,o=0;for(let a=0;a<s;a++){const c=(0,l.D)(t[a]);let u=!1;n.add(c.subscribe({next:t=>{u||(u=!0,o++),i[a]=t},error:t=>n.error(t),complete:()=>{r++,r!==s&&u||(o===s&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}const u=new s.OlP("NgValueAccessor"),h=new s.OlP("NgValidators"),d=new s.OlP("NgAsyncValidators");function p(t){return null!=t}function f(t){const e=(0,s.QGY)(t)?(0,l.D)(t):t;return(0,s.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 v(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 b(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function w(t){return t._rawValidators}function S(t){return t._rawAsyncValidators}let C=(()=>{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=v(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=s.lG2({type:t}),t})(),E=(()=>{class t extends C{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275dir=s.lG2({type:t,features:[s.qOj]}),t})();class x extends C{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}function k(t,e){O(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&&I(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&&I(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 T(t,e,n=!0){const s=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(s),e.valueAccessor.registerOnTouched(s)),R(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function A(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function O(t,e){const n=w(t);null!==e.validator?t.setValidators(b(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const s=S(t);null!==e.asyncValidator?t.setAsyncValidators(b(s,e.asyncValidator)):"function"==typeof s&&t.setAsyncValidators([s]);const i=()=>t.updateValueAndValidity();A(e._rawValidators,i),A(e._rawAsyncValidators,i)}function R(t,e){let n=!1;if(null!==t){if(null!==e.validator){const s=w(t);if(Array.isArray(s)&&s.length>0){const i=s.filter(t=>t!==e.validator);i.length!==s.length&&(n=!0,t.setValidators(i))}}if(null!==e.asyncValidator){const s=S(t);if(Array.isArray(s)&&s.length>0){const i=s.filter(t=>t!==e.asyncValidator);i.length!==s.length&&(n=!0,t.setAsyncValidators(i))}}}const s=()=>{};return A(e._rawValidators,s),A(e._rawAsyncValidators,s),n}function I(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function P(t,e){O(t,e)}function L(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function D(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function F(t){return(M(t)?t.validators:t)||null}function N(t){return Array.isArray(t)?y(t):t||null}function V(t,e){return(M(e)?e.asyncValidators:t)||null}function j(t){return Array.isArray(t)?v(t):t||null}function M(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class B{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=N(this._rawValidators),this._composedAsyncValidatorFn=j(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"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}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=N(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=j(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="PENDING",!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="DISABLED",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="VALID",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(),"VALID"!==this.status&&"PENDING"!==this.status||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()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",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)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let s=t;return e.forEach(t=>{s=s instanceof H?s.controls.hasOwnProperty(t)?s.controls[t]:null:s instanceof z&&s.at(t)||null}),s}(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 s.vpe,this.statusChanges=new s.vpe}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_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){M(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class U extends B{constructor(t=null,e,n){super(F(e),V(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){D(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){D(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 H extends B{constructor(t,e,n){super(F(e),V(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,s)=>{n.reset(t[s],{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 U?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,s)=>{n=e(n,t,s)}),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 z extends B{constructor(t,e,n){super(F(e),V(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,s)=>{n.reset(t[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof U?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 G={provide:E,useExisting:(0,s.Gpc)(()=>q)},$=(()=>Promise.resolve(null))();let q=(()=>{class t extends E{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new s.vpe,this.form=new H({},y(t),v(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){$.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),k(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){$.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),D(this._directives,t)})}addFormGroup(t){$.then(()=>{const e=this._findContainer(t.path),n=new H({});P(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){$.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){$.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,L(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)(s.Y36(h,10),s.Y36(d,10))},t.\u0275dir=s.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&s.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([G]),s.qOj]}),t})();const Y={provide:E,useExisting:(0,s.Gpc)(()=>K)};let K=(()=>{class t extends E{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 s.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&&(R(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 k(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){T(t.control||null,t,!1),D(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,L(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&&(T(e||null,t),n instanceof U&&(k(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);P(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return R(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){O(this.form,this),this._oldForm&&R(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(h,10),s.Y36(d,10))},t.\u0275dir=s.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&s.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[s._Bn([Y]),s.qOj,s.TTD]}),t})()},7935:function(t,e,n){"use strict";n.d(e,{rD:function(){return w},BQ:function(){return g},X2:function(){return S},uc:function(){return x},nP:function(){return F},us:function(){return N},wG:function(){return L},si:function(){return D},pj:function(){return y},Kr:function(){return v},Id:function(){return _},FD:function(){return b},E0:function(){return C}});var s=n(793),i=n(9760),r=n(6794);const o=new s.GfV("12.1.1");var a=n(2057),l=n(9490),c=n(9765),u=n(9642),h=n(9761),d=n(4141);n(3328);const p=new s.GfV("12.1.1"),f=new s.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let m,g=(()=>{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}_checksAreEnabled(){return(0,s.X6Q)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.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._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.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._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&p.full!==o.full&&console.warn("The Angular Material version ("+p.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)(s.LFG(i.qm),s.LFG(f,8),s.LFG(a.K0))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.vT],r.vT]}),t})();function _(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 y(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 v(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 b(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{m="undefined"!=typeof Intl}catch(V){m=!1}let w=(()=>{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=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function C(t,e,n="mat"){t.changes.pipe((0,h.O)(t)).subscribe(({length:t})=>{E(e,`${n}-2-line`,!1),E(e,`${n}-3-line`,!1),E(e,`${n}-multi-line`,!1),2===t||3===t?E(e,`${n}-${t}-line`,!0):t>3&&E(e,`${n}-multi-line`,!0)})}function E(t,e,n){const s=t.nativeElement.classList;n?s.add(e):s.remove(e)}let x=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[g],g]}),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 T={enterDuration:450,exitDuration:400},A=(0,u.i$)({passive:!0}),O=["mousedown","touchstart"],R=["mouseup","mouseleave","touchend","touchcancel"];class I{constructor(t,e,n,s){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=(0,l.fI)(n))}fadeInRipple(t,e,n={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign(Object.assign({},T),n.animation);n.centered&&(t=s.left+s.width/2,e=s.top+s.height/2);const r=n.radius||function(t,e,n){const s=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(s*s+i*i)}(t,e,s),o=t-s.left,a=e-s.top,l=i.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,s=Object.assign(Object.assign({},T),t.config.animation);n.style.transitionDuration=`${s.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},s.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(O))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(R),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=(0,i.X6)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!(0,i.yG)(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!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,A)})})}_removeTriggerEvents(){this._triggerElement&&(O.forEach(t=>{this._triggerElement.removeEventListener(t,this,A)}),this._pointerUpEventsRegistered&&R.forEach(t=>{this._triggerElement.removeEventListener(t,this,A)}))}}const P=new s.OlP("mat-ripple-global-options");let L=(()=>{class t{constructor(t,e,n,s,i){this._elementRef=t,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},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)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(u.t4),s.Y36(P,8),s.Y36(d.Qb,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&s.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})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[g,u.ud],g]}),t})(),F=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(d.Qb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&s.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})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[g]]}),t})()},591:function(t,e,n){"use strict";n.d(e,{d:function(){return o},t:function(){return a}});var s=n(9490),i=n(7935),r=n(793);let o=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=(0,s.Ig)(t)}get inset(){return this._inset}set inset(t){this._inset=(0,s.Ig)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(r.uIk("aria-orientation",e.vertical?"vertical":"horizontal"),r.ekj("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.BQ],i.BQ]}),t})()},5363:function(t,e,n){"use strict";n.d(e,{i$:function(){return _},Tg:function(){return b},ie:function(){return w}});var s=n(2057),i=n(793),r=n(7935),o=n(9490),a=n(9765),l=n(6782),c=(n(9761),n(9760),n(3296),n(3328),n(3738),n(591));const u=["*"],h=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],d=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],p=(0,r.Id)((0,r.Kr)(class{})),f=(0,r.Kr)(class{}),m=new i.OlP("MatList"),g=new i.OlP("MatNavList");let _=(()=>{class t extends p{constructor(t){super(),this._elementRef=t,this._stateChanges=new a.xQ,"action-list"===this._getListType()&&t.nativeElement.classList.add("mat-action-list")}_getListType(){const t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[i._Bn([{provide:m,useExisting:t}]),i.qOj,i.TTD],ngContentSelectors:u,decls:2,vars:0,template:function(t,e){1&t&&(i.F$t(),i.Hsn(0),i._uU(1,"\n\n"))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),b=(()=>{class t extends f{constructor(t,e,n,s){super(),this._element=t,this._isInteractiveList=!1,this._destroyed=new a.xQ,this._disabled=!1,this._isInteractiveList=!!(n||s&&"action-list"===s._getListType()),this._list=n||s;const i=this._getHostElement();"button"!==i.nodeName.toLowerCase()||i.hasAttribute("type")||i.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,l.R)(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(t){this._disabled=(0,o.Ig)(t)}ngAfterContentInit(){(0,r.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(g,8),i.Y36(m,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,y,5),i.Suo(n,v,5),i.Suo(n,r.X2,5)),2&t){let t;i.iGM(t=i.CRH())&&(e._avatar=t.first),i.iGM(t=i.CRH())&&(e._icon=t.first),i.iGM(t=i.CRH())&&(e._lines=t)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&i.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:d,decls:13,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(i.F$t(h),i.TgZ(0,"div",0),i._uU(1,"\n "),i.TgZ(2,"div",1),i._uU(3,"\n "),i.qZA(),i._uU(4,"\n\n "),i.Hsn(5),i._uU(6,"\n\n "),i.TgZ(7,"div",2),i.Hsn(8,1),i.qZA(),i._uU(9,"\n\n "),i.Hsn(10,2),i._uU(11,"\n"),i.qZA(),i._uU(12,"\n")),2&t&&(i.xp6(2),i.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[r.wG],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.uc,r.si,r.BQ,r.us,s.ez],r.uc,r.BQ,r.us,c.t]}),t})()},3871:function(t,e,n){"use strict";n.d(e,{Tx:function(){return J}}),n(9760);var s=n(9490),i=(n(3328),n(793)),r=n(9765),o=n(5319),a=n(6682);n(5917),n(4581),n(3637),n(7393),n(1593),n(9761),n(3190);var l=n(5257),c=(n(5435),n(6782)),u=(n(6083),n(2057));class h{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 d extends h{constructor(t,e,n,s){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=s}}class p extends h{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 f extends h{constructor(t){super(),this.element=t instanceof i.SBq?t.nativeElement:t}}class m extends class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof d?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof p?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof f?(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)}}{constructor(t,e,n,s,i){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=s,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=i}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 g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var _=n(7935),y=n(4259),v=n(9642),b=n(6794);const w=(0,v.Mq)();class S{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,s.HM)(-this._previousScrollPosition.left),t.style.top=(0,s.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,s=e.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),w&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),w&&(e.scrollBehavior=s,n.scrollBehavior=i)}}_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 C{constructor(t,e,n,s){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=s,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 E{enable(){}disable(){}attach(){}}function x(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function k(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class T{constructor(t,e,n,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=s,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 A=(()=>{class t{constructor(t,e,n,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new E,this.close=t=>new C(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new S(this._viewportRuler,this._document),this.reposition=t=>new T(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=s}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y.mF),i.LFG(y.rL),i.LFG(i.R0b),i.LFG(u.K0))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(y.mF),i.LFG(y.rL),i.LFG(i.R0b),i.LFG(u.K0))},token:t,providedIn:"root"}),t})();class O{constructor(t){if(this.scrollStrategy=new E,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 R{constructor(t,e,n,s,i){this.offsetX=n,this.offsetY=s,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class I{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)(i.LFG(u.K0))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(u.K0))},token:t,providedIn:"root"}),t})(),L=(()=>{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)(i.LFG(u.K0))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(u.K0))},token:t,providedIn:"root"}),t})(),D=(()=>{class t extends P{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let s=n.length-1;s>-1;s--){const i=n[s];if(!(i._outsidePointerEvents.observers.length<1)&&i.hasAttached()){if(i.overlayElement.contains(e))break;i._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)(i.LFG(u.K0),i.LFG(v.t4))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(u.K0),i.LFG(v.t4))},token:t,providedIn:"root"}),t})();const F="undefined"!=typeof window?window:{},N=void 0!==F.__karma__&&!!F.__karma__||void 0!==F.jasmine&&!!F.jasmine||void 0!==F.jest&&!!F.jest||void 0!==F.Mocha&&!!F.Mocha;let V=(()=>{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(){if(this._platform.isBrowser||N){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),N?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(u.K0),i.LFG(v.t4))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(u.K0),i.LFG(v.t4))},token:t,providedIn:"root"}),t})();class j{constructor(t,e,n,s,i,a,l,c,u){this._portalOutlet=t,this._host=e,this._pane=n,this._config=s,this._ngZone=i,this._keyboardDispatcher=a,this._document=l,this._location=c,this._outsideClickDispatcher=u,this._backdropElement=null,this._backdropClick=new r.xQ,this._attachments=new r.xQ,this._detachments=new r.xQ,this._locationChanges=o.w.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEvents=new r.xQ,this._outsidePointerEvents=new r.xQ,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.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,l.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,s.HM)(this._config.width),t.height=(0,s.HM)(this._config.height),t.minWidth=(0,s.HM)(this._config.minWidth),t.minHeight=(0,s.HM)(this._config.minHeight),t.maxWidth=(0,s.HM)(this._config.maxWidth),t.maxHeight=(0,s.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){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("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;(0,s.Eq)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,c.R)((0,a.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 M=/([A-Za-z%]+)$/;class B{constructor(t,e,n,s,i){this._viewportRuler=e,this._document=n,this._platform=s,this._overlayContainer=i,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 r.xQ,this._resizeSubscription=o.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("cdk-overlay-connected-position-bounding-box"),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,s=[];let i;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)?s.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!i||i.overlayFit.visibleArea<l.visibleArea)&&(i={overlayFit:l,overlayPoint:a,originPoint:o,position:r,overlayRect:e})}if(s.length){let t=null,e=-1;for(const n of s){const s=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);s>e&&(e=s,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&U(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),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,s;if("center"==e.originX)n=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?s:i}return s="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:s}}_getOverlayPoint(t,e,n){let s,i;return s="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,i="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+s,y:t.y+i}}_getOverlayFit(t,e,n,s){const i=z(e);let{x:r,y:o}=t,a=this._getOffset(s,"x"),l=this._getOffset(s,"y");a&&(r+=a),l&&(o+=l);let c=0-o,u=o+i.height-n.height,h=this._subtractOverflows(i.width,0-r,r+i.width-n.width),d=this._subtractOverflows(i.height,c,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:i.width*i.height===p,fitsInViewportVertically:d===i.height,fitsInViewportHorizontally:h==i.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const s=n.bottom-e.y,i=n.right-e.x,r=H(this._overlayRef.getConfig().minHeight),o=H(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=i;return(t.fitsInViewportVertically||null!=r&&r<=s)&&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 s=z(e),i=this._viewportRect,r=Math.max(t.x+s.width-i.width,0),o=Math.max(t.y+s.height-i.height,0),a=Math.max(i.top-n.top-t.y,0),l=Math.max(i.left-n.left-t.x,0);let c=0,u=0;return c=s.width<=i.width?l||-r:t.x<this._viewportMargin?i.left-n.left-t.x:0,u=s.height<=i.height?a||-o:t.y<this._viewportMargin?i.top-n.top-t.y:0,this._previousPushAmount={x:c,y:u},{x:t.x+c,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new I(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,s=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let i=0;i<e.length;i++)e[i].style.transformOrigin=`${n} ${s}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,s=this._isRtl();let i,r,o,a,l,c;if("top"===e.overlayY)r=t.y,i=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,i=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),s=this._lastBoundingBoxSize.height;i=2*e,r=t.y-e,i>s&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-s/2)}if("end"===e.overlayX&&!s||"start"===e.overlayX&&s)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!s||"end"===e.overlayX&&s)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),s=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>s&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-s/2)}return{top:r,left:l,bottom:o,right:c,width:a,height:i}}_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,r=this._overlayRef.getConfig().maxWidth;i.height=(0,s.HM)(n.height),i.top=(0,s.HM)(n.top),i.bottom=(0,s.HM)(n.bottom),i.width=(0,s.HM)(n.width),i.left=(0,s.HM)(n.left),i.right=(0,s.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,s.HM)(t)),r&&(i.maxWidth=(0,s.HM)(r))}this._lastBoundingBoxSize=n,U(this._boundingBox.style,i)}_resetBoundingBoxStyles(){U(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){U(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){const s=this._viewportRuler.getViewportScrollPosition();U(n,this._getExactOverlayY(e,t,s)),U(n,this._getExactOverlayX(e,t,s))}else n.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),o.maxHeight&&(i?n.maxHeight=(0,s.HM)(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=(0,s.HM)(o.maxWidth):r&&(n.maxWidth="")),U(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=(0,s.HM)(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=(0,s.HM)(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:k(t,n),isOriginOutsideView:x(t,n),isOverlayClipped:k(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,s.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 i.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 U(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function H(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(M);return n&&"px"!==n?null:parseFloat(e)}return t||null}function z(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 G{constructor(t,e,n,s,i,r,o){this._preferredPositions=[],this._positionStrategy=new B(n,s,i,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,s){const i=new R(t,e,n,s);return this._preferredPositions.push(i),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}}class ${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("cdk-global-overlay-wrapper"),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:s,height:i,maxWidth:r,maxHeight:o}=n,a=!("100%"!==s&&"100vw"!==s||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==i&&"100vh"!==i||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("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let q=(()=>{class t{constructor(t,e,n,s){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=s}global(){return new $}connectedTo(t,e,n){return new G(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new B(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y.rL),i.LFG(u.K0),i.LFG(v.t4),i.LFG(V))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(y.rL),i.LFG(u.K0),i.LFG(v.t4),i.LFG(V))},token:t,providedIn:"root"}),t})(),Y=0,K=(()=>{class t{constructor(t,e,n,s,i,r,o,a,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=s,this._keyboardDispatcher=i,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),s=this._createPortalOutlet(n),i=new O(t);return i.direction=i.direction||this._directionality.value,new j(s,e,n,i,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-"+Y++,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(i.z2F)),new m(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(A),i.LFG(V),i.LFG(i._Vd),i.LFG(q),i.LFG(L),i.LFG(i.zs3),i.LFG(i.R0b),i.LFG(u.K0),i.LFG(b.Is),i.LFG(u.Ye),i.LFG(D))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const Q={provide:new i.OlP("cdk-connected-overlay-scroll-strategy"),deps:[K],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[K,Q],imports:[[b.vT,g,y.Cl],y.Cl]}),t})();const Z={provide:new i.OlP("mat-menu-scroll-strategy"),deps:[K],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let X=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[Z],imports:[_.BQ]}),t})(),J=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[Z],imports:[[u.ez,_.BQ,_.si,W,X],y.ZD,_.BQ,X]}),t})()},3050:function(t,e,n){"use strict";n.d(e,{jA:function(){return V},kh:function(){return j},LW:function(){return N},SJ:function(){return M}});var s=n(9642),i=n(4259),r=n(2057),o=n(793),a=n(7935),l=n(9490),c=n(3328),u=n(9765),h=n(2759),d=n(6682),p=n(7393);function f(t){return e=>e.lift(new m(t))}class m{constructor(t){this.value=t}call(t,e){return e.subscribe(new g(t,this.value))}}class g extends p.L{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}var _=n(5435),y=n(8002),v=n(6782),b=n(7519),w=n(5257),S=n(9761),C=n(4395),E=n(6083),x=n(4141),k=n(9760),T=n(6794);const A=["*"];function O(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",2),o.NdJ("click",function(){return o.CHM(t),o.oxw()._onBackdropClicked()}),o.qZA()}if(2&t){const t=o.oxw();o.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function R(t,e){1&t&&(o.TgZ(0,"mat-drawer-content"),o._uU(1,"\n "),o.Hsn(2,2),o._uU(3,"\n"),o.qZA())}const I=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],P=["mat-drawer","mat-drawer-content","*"],L={transformDrawer:(0,E.X$)("transform",[(0,E.SB)("open, open-instant",(0,E.oB)({transform:"none",visibility:"visible"})),(0,E.SB)("void",(0,E.oB)({"box-shadow":"none",visibility:"hidden"})),(0,E.eR)("void => open-instant",(0,E.jt)("0ms")),(0,E.eR)("void <=> open, open-instant => void",(0,E.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},D=new o.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),F=new o.OlP("MAT_DRAWER_CONTAINER");let N=(()=>{class t extends i.PQ{constructor(t,e,n,s,i){super(n,s,i),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.sBO),o.Y36((0,o.Gpc)(()=>j)),o.Y36(o.SBq),o.Y36(i.mF),o.Y36(o.R0b))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&o.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[o.qOj],ngContentSelectors:A,decls:1,vars:0,template:function(t,e){1&t&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),V=(()=>{class t{constructor(t,e,n,s,i,r,a){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=s,this._ngZone=i,this._doc=r,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new u.xQ,this._animationEnd=new u.xQ,this._animationState="void",this.openedChange=new o.vpe(!0),this._openedStream=this.openedChange.pipe((0,_.h)(t=>t),(0,y.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,_.h)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),f(void 0)),this._closedStream=this.openedChange.pipe((0,_.h)(t=>!t),(0,y.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,_.h)(t=>t.fromState!==t.toState&&"void"===t.toState),f(void 0)),this._destroyed=new u.xQ,this.onPositionChanged=new o.vpe,this._modeChanged=new u.xQ,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{(0,h.R)(this._elementRef.nativeElement,"keydown").pipe((0,_.h)(t=>t.keyCode===c.hY&&!this.disableClose&&!(0,c.Vb)(t)),(0,v.R)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe((0,b.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:n}=t;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=(0,l.Ig)(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=(0,l.Ig)(t)}get opened(){return this._opened}set opened(t){this.toggle((0,l.Ig)(t))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,n="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe((0,w.q)(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(k.qV),o.Y36(k.tE),o.Y36(s.t4),o.Y36(o.R0b),o.Y36(r.K0,8),o.Y36(F,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&o.WFA("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(o.uIk("align",null),o.d8E("@transform",e._animationState),o.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:A,decls:5,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"div",0),o._uU(1,"\n "),o.Hsn(2),o._uU(3,"\n"),o.qZA(),o._uU(4,"\n"))},directives:[i.PQ],encapsulation:2,data:{animation:[L.transformDrawer]},changeDetection:0}),t})(),j=(()=>{class t{constructor(t,e,n,s,i,r=!1,a){this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=s,this._animationMode=a,this._drawers=new o.n_E,this.backdropClick=new o.vpe,this._destroyed=new u.xQ,this._doCheckSubject=new u.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new u.xQ,t&&t.change.pipe((0,v.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe((0,v.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=r}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=(0,l.Ig)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:(0,l.Ig)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,S.O)(this._allDrawers),(0,v.R)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,S.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,C.b)(10),(0,v.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const n=this._left._getWidth();t+=n,e-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const n=this._right._getWidth();e+=n,t-=n}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe((0,_.h)(t=>t.fromState!==t.toState),(0,v.R)(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe((0,v.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe((0,v.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,w.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe((0,v.R)((0,d.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(T.Is,8),o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(o.sBO),o.Y36(i.rL),o.Y36(D),o.Y36(x.Qb,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){if(1&t&&(o.Suo(n,N,5),o.Suo(n,V,5)),2&t){let t;o.iGM(t=o.CRH())&&(e._content=t.first),o.iGM(t=o.CRH())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(N,5),2&t){let t;o.iGM(t=o.CRH())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[o._Bn([{provide:F,useExisting:t}])],ngContentSelectors:P,decls:8,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(o.F$t(I),o.YNc(0,O,1,2,"div",0),o._uU(1,"\n\n"),o.Hsn(2),o._uU(3,"\n\n"),o.Hsn(4,1),o._uU(5,"\n"),o.YNc(6,R,4,0,"mat-drawer-content",1),o._uU(7,"\n")),2&t&&(o.Q6J("ngIf",e.hasBackdrop),o.xp6(6),o.Q6J("ngIf",!e._content))},directives:[r.O5,N],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[r.ez,a.BQ,s.ud,i.ZD],i.ZD,a.BQ]}),t})()},3121:function(t,e,n){"use strict";n.d(e,{Ye:function(){return h},g0:function(){return d}});var s=n(7935),i=n(2057),r=n(793),o=n(9642);const a=["*",[["mat-toolbar-row"]]],l=["*","mat-toolbar-row"],c=(0,s.pj)(class{constructor(t){this._elementRef=t}});let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),h=(()=>{class t extends c{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)(r.Y36(r.SBq),r.Y36(o.t4),r.Y36(i.K0))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,u,5),2&t){let t;r.iGM(t=r.CRH())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&r.ekj("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[r.qOj],ngContentSelectors:l,decls:4,vars:0,template:function(t,e){1&t&&(r.F$t(a),r.Hsn(0),r._uU(1,"\n"),r.Hsn(2,1),r._uU(3,"\n"))},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})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.BQ],s.BQ]}),t})()},4141:function(t,e,n){"use strict";n.d(e,{Qb:function(){return _e},PW:function(){return we}});var s=n(793),i=n(1211),r=n(6083);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,s,i={},o={}){const a=[],l=[];let c=-1,u=null;if(s.forEach(t=>{const n=t.offset,s=n==c,h=s&&u||{};Object.keys(t).forEach(n=>{let s=n,l=t[n];if("offset"!==n)switch(s=e.normalizePropertyName(s,a),l){case r.k1:l=i[n];break;case r.l3:l=o[n];break;default:l=e.normalizeStyleValue(n,s,l,a)}h[s]=l}),s||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,s){switch(e){case"start":t.onStart(()=>s(n&&h(n,"start",t)));break;case"done":t.onDone(()=>s(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>s(n&&h(n,"destroy",t)))}}function h(t,e,n){const s=n.totalTime,i=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==s?t.totalTime:s,!!n.disabled),r=t._data;return null!=r&&(i._data=r),i}function d(t,e,n,s,i="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:s,phaseName:i,totalTime:r,disabled:!!o}}function p(t,e,n){let s;return t instanceof Map?(s=t.get(e),s||t.set(e,s=n)):(s=t[e],s||(s=t[e]=n)),s}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 s=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)s.push(n[t])}else{const n=t.querySelector(e);n&&s.push(n)}return s});let v=null,b=!1;function w(t){v||(v=("undefined"!=typeof document?document.body:null)||{},b=!!v.style&&"WebkitAppearance"in v.style);let e=!0;return v.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in v.style,!e&&b)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in v.style),e}const S=g,C=m,E=_;function x(t){const e={};return Object.keys(t).forEach(n=>{const s=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[s]=t[n]}),e}let k=(()=>{class t{validateStyleProperty(t){return w(t)}matchesElement(t,e){return S(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return E(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,s,i,o=[],a){return new r.ZN(n,s)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class T{}function A(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:O(parseFloat(e[1]),e[2])}function O(t,e){switch(e){case"s":return 1e3*t;default:return t}}function R(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let s,i=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:""};s=O(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=O(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else s=t;if(!n){let n=!1,r=e.length;s<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<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:s,delay:i,easing:r}}(t,e,n)}function I(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function P(t,e,n={}){if(e)for(let s in t)n[s]=t[s];else I(t,n);return n}function L(t,e,n){return n?e+":"+n+";":""}function D(t){let e="";for(let n=0;n<t.style.length;n++){const s=t.style.item(n);e+=L(0,s,t.style.getPropertyValue(s))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=L(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function F(t,e,n){t.style&&(Object.keys(e).forEach(s=>{const i=z(s);n&&!n.hasOwnProperty(s)&&(n[s]=t.style[i]),t.style[i]=e[s]}),a()&&D(t))}function N(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=z(e);t.style[n]=""}),a()&&D(t))}function V(t){return Array.isArray(t)?1==t.length?t[0]:(0,r.vP)(t):t}T.NOOP=new k;const j=new RegExp("{{\\s*(.+?)\\s*}}","g");function M(t){let e=[];if("string"==typeof t){let n;for(;n=j.exec(t);)e.push(n[1]);j.lastIndex=0}return e}function B(t,e,n){const s=t.toString(),i=s.replace(j,(t,s)=>{let i=e[s];return e.hasOwnProperty(s)||(n.push(`Please provide a value for the animation param ${s}`),i=""),i.toString()});return i==s?t:i}function U(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const H=/-+([a-z0-9])/g;function z(t){return t.replace(H,(...t)=>t[1].toUpperCase())}function G(t,e){return 0===t||0===e}function $(t,e,n){const s=Object.keys(n);if(s.length&&e.length){let r=e[0],o=[];if(s.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var i=1;i<e.length;i++){let n=e[i];o.forEach(function(e){n[e]=Y(t,e)})}}return e}function q(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function Y(t,e){return window.getComputedStyle(t)[e]}function K(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const s=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)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof s)return void e.push(s);t=s}const s=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=s[1],r=s[2],o=s[3];e.push(Z(i,o)),"<"!=r[0]||"*"==i&&"*"==o||e.push(Z(o,i))}(t,n,e)):n.push(t),n}const Q=new Set(["true","1"]),W=new Set(["false","0"]);function Z(t,e){const n=Q.has(t)||W.has(t),s=Q.has(e)||W.has(e);return(i,r)=>{let o="*"==t||t==i,a="*"==e||e==r;return!o&&n&&"boolean"==typeof i&&(o=i?Q.has(t):W.has(t)),!a&&s&&"boolean"==typeof r&&(a=r?Q.has(e):W.has(e)),o&&a}}const X=new RegExp("s*:selfs*,?","g");function J(t,e,n){return new tt(t).build(e,n)}class tt{constructor(t){this._driver=t}build(t,e){const n=new et(e);return this._resetContextStyleTimingState(n),q(this,V(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,s=e.depCount=0;const i=[],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,s=n.name;s.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=s}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,s+=i.depCount,r.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:r,queryCount:n,depCount:s,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),s=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,r=s||{};if(n.styles.forEach(t=>{if(nt(t)){const e=t;Object.keys(e).forEach(t=>{M(e[t]).forEach(t=>{r.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=U(i.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:s?{params:s}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=q(this,V(t.animation),e);return{type:1,matchers:K(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:st(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>q(this,t,e)),options:st(t.options)}}visitGroup(t,e){const n=e.currentTime;let s=0;const i=t.steps.map(t=>{e.currentTime=n;const i=q(this,t,e);return s=Math.max(s,e.currentTime),i});return e.currentTime=s,{type:3,steps:i,options:st(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 it(R(t,e).duration,0,"");const s=t;if(s.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=it(0,0,"");return t.dynamic=!0,t.strValue=s,t}return n=n||R(s,e),it(n.duration,n.delay,n.easing)}(t.timings,e.errors);let s;e.currentAnimateTimings=n;let i=t.styles?t.styles:(0,r.oB)({});if(5==i.type)s=this.visitKeyframes(i,e);else{let i=t.styles,o=!1;if(!i){o=!0;const t={};n.easing&&(t.easing=n.easing),i=(0,r.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(i,e);a.isEmptyStep=o,s=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:s,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 s=!1,i=null;return n.forEach(t=>{if(nt(t)){const e=t,n=e.easing;if(n&&(i=n,delete e.easing),!s)for(let t in e)if(e[t].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let s=e.currentTime,i=e.currentTime;n&&i>0&&(i-=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&&(i!=s&&i>=o.startTime&&s<=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 "${i}ms" and "${s}ms"`),a=!1),i=o.startTime),a&&(r[n]={startTime:i,endTime:s}),e.options&&function(t,e,n){const s=e.params||{},i=M(t);i.length&&i.forEach(t=>{s.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 s=0;const i=[];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(nt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(nt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(s++,c=n.offset=l),o=o||c<0||c>1,r=r||c<a,a=c,i.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;s>0&&s<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==s&&(u=1/(c-1));const h=c-1,d=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return l.forEach((t,s)=>{const r=u>0?s==h?1:u*s:i[s],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:q(this,V(t.animation),e),options:st(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:st(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:st(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,s=t.options||{};e.queryCount++,e.currentQuery=t;const[i,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(X,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,p(e.collectedStyles,e.currentQuerySelector,{});const o=q(this,V(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:s.limit||0,optional:!!s.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:st(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"}:R(t.timings,e.errors,!0);return{type:12,animation:q(this,V(t.animation),e),timings:n,options:null}}}class et{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 nt(t){return!Array.isArray(t)&&"object"==typeof t}function st(t){var e;return t?(t=I(t)).params&&(t.params=(e=t.params)?I(e):null):t={},t}function it(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,s,i,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:o,subTimeline:a}}class ot{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 at=new RegExp(":enter","g"),lt=new RegExp(":leave","g");function ct(t,e,n,s,i,r={},o={},a,l,c=[]){return(new ut).buildKeyframes(t,e,n,s,i,r,o,a,l,c)}class ut{buildKeyframes(t,e,n,s,i,r,o,a,l,c=[]){l=l||new ot;const u=new dt(t,e,l,s,i,c,[]);u.options=a,u.currentTimeline.setStyles([r],null,u.errors,a),q(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()):[rt(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 s=e.createSubContext(t.options),i=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,s,s.options);i!=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 s=e.currentTimeline.currentTime;const i=null!=n.duration?A(n.duration):null,r=null!=n.delay?A(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,r);s=Math.max(s,n.duration+n.delay)}),s}visitReference(t,e){e.updateOptions(t.options,!0),q(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let s=e;const i=t.options;if(i&&(i.params||i.delay)&&(s=e.createSubContext(i),s.transformIntoNewTimeline(),null!=i.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=ht);const t=A(i.delay);s.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>q(this,t,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>n&&s.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let s=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?A(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);i&&o.delayNextStep(i),q(this,r,o),s=Math.max(s,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(s),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return R(e.params?B(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),s=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),s.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,s=e.currentAnimateTimings;!s&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=s&&s.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,s=e.currentTimeline.duration,i=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*i),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(s+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,s=t.options||{},i=s.delay?A(s.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ht);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,s)=>{e.currentQueryIndex=s;const o=e.createSubContext(t.options,n);i&&o.delayNextStep(i),n===e.element&&(a=o.currentTimeline),q(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,s=e.currentTimeline,i=t.timings,r=Math.abs(i.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;q(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=s.currentTime-c+(s.startTime-n.currentTimeline.startTime)}}const ht={};class dt{constructor(t,e,n,s,i,r,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=s,this._leaveClassName=i,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ht,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new pt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let s=this.options;null!=n.duration&&(s.duration=A(n.duration)),null!=n.delay&&(s.delay=A(n.delay));const i=n.params;if(i){let t=s.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=B(i[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 s=e||this.element,i=new dt(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=ht,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const s={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new ft(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,s,t.stretchStartingKeyframe);return this.timelines.push(i),s}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,s,i,r){let o=[];if(s&&o.push(this.element),t.length>0){t=(t=t.replace(at,"."+this._enterClassName)).replace(lt,"."+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 i||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class pt{constructor(t,e,n,s){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=s,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 pt(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,s){e&&(this._previousKeyframe.easing=e);const i=s&&s.params||{},o=function(t,e){const n={};let s;return t.forEach(t=>{"*"===t?(s=s||Object.keys(e),s.forEach(t=>{n[t]=r.l3})):P(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=B(o[t],i,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],s=t._styleSummary[e];(!n||s.time>n.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((i,o)=>{const a=P(i,!0);Object.keys(a).forEach(n=>{const s=a[n];s==r.k1?t.add(n):s==r.l3&&e.add(n)}),n||(a.offset=o/this.duration),s.push(a)});const i=t.size?U(t.values()):[],o=e.size?U(e.values()):[];if(n){const t=s[0],e=I(t);t.offset=0,e.offset=1,s=[t,e]}return rt(this.element,s,i,o,this.duration,this.startTime,this.easing,!1)}}class ft extends pt{constructor(t,e,n,s,i,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=s,this.postStyleProps=i,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:s}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],r=n+e,o=e/r,a=P(t[0],!1);a.offset=0,i.push(a);const l=P(t[0],!1);l.offset=mt(o),i.push(l);const c=t.length-1;for(let s=1;s<=c;s++){let o=P(t[s],!1);o.offset=mt((e+o.offset*n)/r),i.push(o)}n=r,e=0,s="",t=i}return rt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,s,!0)}}function mt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class gt{}class _t extends gt{normalizePropertyName(t,e){return z(t)}normalizeStyleValue(t,e,n,s){let i="";const r=n.toString().trim();if(yt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&s.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+i}}const yt=(()=>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 vt(t,e,n,s,i,r,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:r,toState:s,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const bt={};class wt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,s){return function(t,e,n,s,i){return t.some(t=>t(e,n,s,i))}(this.ast.matchers,t,e,n,s)}buildStyles(t,e,n){const s=this._stateStyles["*"],i=this._stateStyles[t],r=s?s.buildStyles(e,n):{};return i?i.buildStyles(e,n):r}build(t,e,n,s,i,r,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||bt,d=this.buildStyles(n,o&&o.params||bt,u),f=a&&a.params||bt,m=this.buildStyles(s,f,u),g=new Set,_=new Map,y=new Map,v="void"===s,b={params:Object.assign(Object.assign({},h),f)},w=c?[]:ct(t,e,this.ast.animation,i,r,d,m,b,l,u);let S=0;if(w.forEach(t=>{S=Math.max(t.duration+t.delay,S)}),u.length)return vt(e,this._triggerName,n,s,v,d,m,[],[],_,y,S,u);w.forEach(t=>{const n=t.element,s=p(_,n,{});t.preStyleProps.forEach(t=>s[t]=!0);const i=p(y,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&g.add(n)});const C=U(g.values());return vt(e,this._triggerName,n,s,v,d,m,w,C,_,y,S)}}class St{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},s=I(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(s[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let r=i[t];r.length>1&&(r=B(r,s,e)),n[t]=r})}}),n}}class Ct{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new St(t.style,t.options&&t.options.params||{})}),Et(this.states,"true","1"),Et(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new wt(t,e,this.states))}),this.fallbackTransition=new wt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,s){return this.transitionFactories.find(i=>i.match(t,e,n,s))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Et(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const xt=new ot;class kt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],s=J(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]=s}_buildPlayer(t,e,n){const s=t.element,i=c(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(s,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const s=[],i=this._animations[t];let o;const a=new Map;if(i?(o=ct(this._driver,e,i,"ng-enter","ng-leave",{},{},n,xt,s),o.forEach(t=>{const e=p(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),o=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.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,s){const i=d(e,"","","");return u(this._getPlayer(t),n,i,s),()=>{}}command(t,e,n,s){if("register"==n)return void this.register(t,s[0]);if("create"==n)return void this.create(t,e,s[0]||{});const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(t)}}}const Tt=[],At={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ot={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Rt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(s=n?t.value:t)?s:null,n){const e=I(t);delete e.value,this.options=e}else this.options={};var s;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 It=new Rt("void");class Pt{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,Mt(e,this._hostClassName)}listen(t,e,n,s){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"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const r=p(this._elementListeners,t,[]),o={name:e,phase:n,callback:s};r.push(o);const a=p(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Mt(t,"ng-trigger"),Mt(t,"ng-trigger-"+e),a[e]=It),()=>{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,s=!0){const i=this._getTrigger(e),r=new Dt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Mt(t,"ng-trigger"),Mt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Rt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=It),"void"!==l.value&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),s=Object.keys(e);if(n.length!=s.length)return!1;for(let i=0;i<n.length;i++){const s=n[i];if(!e.hasOwnProperty(s)||t[s]!==e[s])return!1}return!0}(a.params,l.params)){const e=[],n=i.matchStyles(a.value,a.params,e),s=i.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{N(t,n),F(t,s)})}return}const c=p(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=i.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!s)return;u=i.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||(Mt(t,"ng-animate-queued"),r.onStart(()=>{Bt(t,"ng-animate-queued")})),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,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)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,s){const i=this._engine.statesByElement.get(t);if(i){const r=[];if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",s);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 s=new Set;e.forEach(e=>{const i=e.name;if(s.has(i))return;s.add(i);const r=this._triggers[i].fallbackTransition,o=n[i]||It,a=new Rt("void"),l=new Dt(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,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 s=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)s=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(t),s)n.markElementAsRemoved(this.id,t,!1,e);else{const s=t.__ng_removed;s&&s!==At||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Mt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const s=n.player;if(s.destroyed)return;const i=n.element,r=this._elementListeners.get(i);r&&r.forEach(e=>{if(e.name==n.triggerName){const s=d(i,n.triggerName,n.fromState.value,n.toState.value);s._data=t,u(n.player,e.phase,s,e.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,s=e.transition.ast.depCount;return 0==n||0==s?n-s: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 Lt{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 Pt(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 s=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),s=!0;break}s||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 s=this._namespaceLookup[t];s&&s.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 s=0;s<t.length;s++){const i=n[t[s]].namespaceId;if(i){const t=this._fetchNamespace(i);t&&e.add(t)}}}return e}trigger(t,e,n,s){if(Ft(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,n,s),!0}return!1}insertNode(t,e,n,s){if(!Ft(e))return;const i=e.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,n)}s&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Mt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Bt(t,"ng-animate-disabled"))}removeNode(t,e,n,s){if(Ft(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,s):this.markElementAsRemoved(t,e,!1,s),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(t,e,n,s){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:s,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,s,i){return Ft(e)?this._fetchNamespace(t).listen(e,n,s,i):()=>{}}_buildInstruction(t,e,n,s,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,s,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!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.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=At,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!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;n<this.collectedEnterElements.length;n++)Mt(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),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 ot,s=[],i=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<e.length;n++)h.add(e[n])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=jt(f,this.collectedEnterElements),g=new Map;let _=0;m.forEach((t,e)=>{const n="ng-enter"+_++;g.set(e,n),t.forEach(t=>Mt(t,n))});const y=[],v=new Set,b=new Set;for(let r=0;r<this.collectedLeaveElements.length;r++){const t=this.collectedLeaveElements[r],e=t.__ng_removed;e&&e.setForRemoval&&(y.push(t),v.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>v.add(t)):b.add(t))}const w=new Map,S=jt(f,Array.from(v));S.forEach((t,e)=>{const n="ng-leave"+_++;w.set(e,n),t.forEach(t=>Mt(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Bt(t,n))}),S.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Bt(t,n))}),y.forEach(t=>{this.processLeaveNode(t)})});const C=[],E=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(C.push(e),this.collectedEnterElements.length){const t=i.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const r=!d||!this.driver.containsElement(d,i),l=w.get(i),h=g.get(i),f=this._buildInstruction(t,n,h,l,r);if(f.errors&&f.errors.length)E.push(f);else{if(r)return e.onStart(()=>N(i,f.fromStyles)),e.onDestroy(()=>F(i,f.toStyles)),void s.push(e);if(t.isFallbackTransition)return e.onStart(()=>N(i,f.fromStyles)),e.onDestroy(()=>F(i,f.toStyles)),void s.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,f.timelines),o.push({instruction:f,player:e,element:i}),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 s=u.get(e);s||u.set(e,s=new Set),n.forEach(t=>s.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`))}),C.forEach(t=>t.destroy()),this.reportError(t)}const x=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,x))}),s.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{p(x,e,[]).push(t),t.destroy()})});const T=y.filter(t=>zt(t,c,u)),A=new Map;Vt(A,this.driver,b,u,r.l3).forEach(t=>{zt(t,c,u)&&T.push(t)});const O=new Map;m.forEach((t,e)=>{Vt(O,this.driver,new Set(t),c,r.k1)}),T.forEach(t=>{const e=A.get(t),n=O.get(t);A.set(t,Object.assign(Object.assign({},e),n))});const R=[],I=[],P={};o.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(h.has(e))return r.onDestroy(()=>F(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void s.push(r);let t=P;if(k.size>1){let n=e;const s=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}s.push(n)}s.forEach(e=>k.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,x,i,O,A);if(r.setRealPlayer(n),t===P)R.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=l(e)),s.push(r)}}else N(e,o.fromStyles),r.onDestroy(()=>F(e,o.toStyles)),I.push(r),h.has(e)&&s.push(r)}),I.forEach(t=>{const e=i.get(t.element);if(e&&e.length){const n=l(e);t.setRealPlayer(n)}}),s.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r<y.length;r++){const t=y[r],e=t.__ng_removed;if(Bt(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(a.size){let e=a.get(t);e&&e.length&&n.push(...e);let s=this.driver.query(t,".ng-animating",!0);for(let t=0;t<s.length;t++){let e=a.get(s[t]);e&&e.length&&n.push(...e)}}const s=n.filter(t=>!t.destroyed);s.length?Ut(this,t,s):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 s=e.__ng_removed;return s&&s.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,s,i){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||"void"==i;e.forEach(e=>{e.queued||(t||e.triggerName==s)&&r.push(e)})}}return(n||s)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||s&&s!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const s=e.element,i=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==s,l=p(n,t,[]);this._getPreviousPlayers(t,a,i,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}N(s,e.fromStyles)}_buildAnimation(t,e,n,s,i,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.__ng_removed;if(p&&p.removedBeforeQueried)return new r.ZN(e.duration,e.delay);const m=l!==u,g=function(t){const e=[];return Ht(t,e),e}((n.get(l)||Tt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===l),_=i.get(l),y=o.get(l),v=c(0,this._normalizer,0,e.keyframes,_,y),b=this._buildPlayer(e,v,g);if(e.subTimeline&&s&&f.add(l),m){const e=new Dt(t,a,l);e.setRealPlayer(b),h.push(e)}return b});h.forEach(t=>{p(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let s;if(t instanceof Map){if(s=t.get(e),s){if(s.length){const t=s.indexOf(n);s.splice(t,1)}0==s.length&&t.delete(e)}}else if(s=t[e],s){if(s.length){const t=s.indexOf(n);s.splice(t,1)}0==s.length&&delete t[e]}return s}(this.playersByQueriedElement,t.element,t))}),d.forEach(t=>Mt(t,"ng-animating"));const g=l(m);return g.onDestroy(()=>{d.forEach(t=>Bt(t,"ng-animating")),F(u,e.toStyles)}),f.forEach(t=>{p(s,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 Dt{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 Ft(t){return t&&1===t.nodeType}function Nt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Vt(t,e,n,s,i){const r=[];n.forEach(t=>r.push(Nt(t)));const o=[];s.forEach((n,s)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(s,t,i);n&&0!=n.length||(s.__ng_removed=Ot,o.push(s))}),t.set(s,r)});let a=0;return n.forEach(t=>Nt(t,r[a++])),o}function jt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const s=new Set(e),i=new Map;function r(t){if(!t)return 1;let e=i.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:s.has(o)?1:r(o),i.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}function Mt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Bt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Ut(t,e,n){l(n).onDone(()=>t.processLeaveNode(e))}function Ht(t,e){for(let n=0;n<t.length;n++){const s=t[n];s instanceof r.ZE?Ht(s.players,e):e.push(s)}}function zt(t,e,n){const s=n.get(t);if(!s)return!1;let i=e.get(t);return i?s.forEach(t=>i.add(t)):e.set(t,s),n.delete(t),!0}class Gt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Lt(t,e,n),this._timelineEngine=new kt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,s,i){const r=t+"-"+s;let o=this._triggerCache[r];if(!o){const t=[],e=J(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Ct(t,e)}(s,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,s,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,s){this._transitionEngine.insertNode(t,e,n,s)}onRemove(t,e,n,s){this._transitionEngine.removeNode(t,e,s||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,s){if("@"==n.charAt(0)){const[t,i]=f(n);this._timelineEngine.command(t,e,i,s)}else this._transitionEngine.trigger(t,e,n,s)}listen(t,e,n,s,i){if("@"==n.charAt(0)){const[t,s]=f(n);return this._timelineEngine.listen(t,e,s,i)}return this._transitionEngine.listen(t,e,n,s,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function $t(t,e){let n=null,s=null;return Array.isArray(e)&&e.length?(n=Yt(e[0]),e.length>1&&(s=Yt(e[e.length-1]))):e&&(n=Yt(e)),n||s?new qt(t,n,s):null}class qt{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let s=qt.initialStylesByElement.get(t);s||qt.initialStylesByElement.set(t,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&F(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(F(this._element,this._initialStyles),this._endStyles&&(F(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(qt.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),F(this._element,this._initialStyles),this._state=3)}}function Yt(t){let e=null;const n=Object.keys(t);for(let s=0;s<n.length;s++){const i=n[s];Kt(i)&&(e=e||{},e[i]=t[i])}return e}function Kt(t){return"display"===t||"position"===t}qt.initialStylesByElement=new WeakMap;class Qt{constructor(t,e,n,s,i,r,o){this._element=t,this._name=e,this._duration=n,this._delay=s,this._easing=i,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=ee(t,"").trim();n.length&&(function(t,e){let n=0;for(let s=0;s<t.length;s++)","===t.charAt(s)&&n++}(n),e=`${n}, ${e}`),te(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Jt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Wt(this._element,this._name,"paused")}resume(){Wt(this._element,this._name,"running")}setPosition(t){const e=Zt(this._element,this._name);this._position=t*this._duration,te(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Jt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ee(t,"").split(","),s=Xt(n,e);s>=0&&(n.splice(s,1),te(t,"",n.join(",")))}(this._element,this._name))}}function Wt(t,e,n){te(t,"PlayState",n,Zt(t,e))}function Zt(t,e){const n=ee(t,"");return n.indexOf(",")>0?Xt(n.split(","),e):Xt([n],e)}function Xt(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Jt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function te(t,e,n,s){const i="animation"+e;if(null!=s){const e=t.style[i];if(e.length){const t=e.split(",");t[s]=n,n=t.join(",")}}t.style[i]=n}function ee(t,e){return t.style["animation"+e]||""}class ne{constructor(t,e,n,s,i,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=s,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=s+i,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 Qt(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]:Y(this.element,n))})}this.currentSnapshot=t}}class se extends r.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=x(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 ie{constructor(){this._count=0}validateStyleProperty(t){return w(t)}matchesElement(t,e){return S(t,e)}containsElement(t,e){return C(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=>x(t));let s=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);s+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(s+=`${i}animation-timing-function: ${n};\n`));default:return void(s+=`${i}${e}: ${n};\n`)}}),s+=`${i}}\n`}),s+="}\n";const r=document.createElement("style");return r.textContent=s,r}animate(t,e,n,s,i,r=[],o){const a=r.filter(t=>t instanceof ne),l={};G(n,s)&&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=$(t,e,l));if(0==n)return new se(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=$t(t,e),p=new ne(t,e,u,n,s,i,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class re{constructor(t,e,n,s){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=s,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]:Y(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class oe{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ae().toString()),this._cssKeyframesDriver=new ie}validateStyleProperty(t){return w(t)}matchesElement(t,e){return S(t,e)}containsElement(t,e){return C(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,s,i,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,s,i,r);const a={duration:n,delay:s,fill:0==s?"both":"forwards"};i&&(a.easing=i);const l={},c=r.filter(t=>t instanceof re);G(n,s)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=$t(t,e=$(t,e=e.map(t=>P(t,!1)),l));return new re(t,e,a,u)}}function ae(){return o()&&Element.prototype.animate||{}}var le=n(2057);let ce=(()=>{class t extends r._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:s.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 de(this._renderer,null,e,"register",[n]),new ue(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.FYo),s.LFG(le.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class ue extends r.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new he(this._id,t,e||{},this._renderer)}}class he{constructor(t,e,n,s){this.id=t,this.element=e,this._renderer=s,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 de(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 de(t,e,n,s,i){return t.setProperty(e,`@@${n}:${s}`,i)}let pe=(()=>{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 fe("",n,this.engine),this._rendererCache.set(n,t)),t}const s=e.id,i=e.id+"-"+this._currentId;this._currentId++,this.engine.register(i,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(s,i,t,e.name,e)};return e.data.animation.forEach(r),new me(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(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)(s.LFG(s.FYo),s.LFG(Gt),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class fe{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,s=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,s)}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,s){this.delegate.setAttribute(t,e,n,s)}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,s){this.delegate.setStyle(t,e,n,s)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?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 me extends fe{constructor(t,e,n,s){super(e,n,s),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?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 s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let i=e.substr(1),r="";return"@"!=i.charAt(0)&&([i,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(i)),this.engine.listen(this.namespaceId,s,i,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let ge=(()=>{class t extends Gt{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(le.K0),s.LFG(T),s.LFG(gt))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const _e=new s.OlP("AnimationModuleType"),ye=[{provide:r._j,useClass:ce},{provide:gt,useFactory:function(){return new _t}},{provide:Gt,useClass:ge},{provide:s.FYo,useFactory:function(t,e,n){return new pe(t,e,n)},deps:[i.se,Gt,s.R0b]}],ve=[{provide:T,useFactory:function(){return"function"==typeof ae()?new oe:new ie}},{provide:_e,useValue:"BrowserAnimations"},...ye],be=[{provide:T,useClass:k},{provide:_e,useValue:"NoopAnimations"},...ye];let we=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?be:ve}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:ve,imports:[i.b2]}),t})()},1211:function(t,e,n){"use strict";n.d(e,{b2:function(){return F},q6:function(){return L},se:function(){return C}});var s=n(2057),i=n(793);class r extends s.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends r{static makeCurrent(){(0,s.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,s.Mx)(document.cookie,t)}}let a,l=null;const c=new i.OlP("TRANSITION_ID"),u=[{provide:i.ip1,useFactory:function(t,e,n){return()=>{n.get(i.CZH).donePromise.then(()=>{const n=(0,s.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,s.K0,i.zs3],multi:!0}];class h{static init(){(0,i.VLi)(new h)}addToWindow(t){i.dqk.getAngularTestability=(e,n=!0)=>{const s=t.findTestabilityInTree(e,n);if(null==s)throw new Error("Could not find testability for element.");return s},i.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const e=i.dqk.getAllAngularTestabilities();let n=e.length,s=!1;const r=function(e){s=s||e,n--,0==n&&t(s)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?(0,s.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=i.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new i.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 s=0;s<n.length;s++){const e=n[s];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(p),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class m{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const i=(0,s.q)().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,n)}}let g=(()=>{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=i.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 s=this._doc.createElement("style");s.textContent=t,n.push(e.appendChild(s))})}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)(i.LFG(s.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function y(t){(0,s.q)().remove(t)}const v={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/"},b=/%COMP%/g;function w(t,e,n){for(let s=0;s<e.length;s++){let i=e[s];Array.isArray(i)?w(t,i,n):(i=i.replace(b,t),n.push(i))}return n}function S(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let C=(()=>{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 i.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new x(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case i.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)(i.LFG(f),i.LFG(_),i.LFG(i.AFp))},t.\u0275prov=i.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(v[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,s){if(s){e=s+":"+e;const i=v[s];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const s=v[n];s?t.removeAttributeNS(s,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,s){s&(i.JOm.DashCase|i.JOm.Important)?t.style.setProperty(e,n,s&i.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&i.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,S(n)):this.eventManager.addEventListener(t,e,S(n))}}class x extends E{constructor(t,e,n,s){super(t),this.component=n;const i=w(s+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(b,s+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(b,s+"-"+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,s){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=w(s.id,s.styles,[]);for(let r=0;r<i.length;r++){const t=document.createElement("style");t.textContent=i[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let T=(()=>{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)(i.LFG(s.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const A=["alt","control","meta","shift"],O={"\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"},R={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 P=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,i){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,s.q)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const i=t._normalizeKey(n.pop());let r="";if(A.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=s,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&&R.hasOwnProperty(e)&&(e=R[e]))}return O[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),A.forEach(s=>{s!=n&&(0,I[s])(t)&&(e+=s+".")}),e+=n,e}static eventCallback(e,n,s){return i=>{t.getEventFullKey(i)===e&&s.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const L=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:s.bD},{provide:i.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:s.K0,useFactory:function(){return(0,i.RDi)(document),document},deps:[]}]),D=[[],{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function(){return new i.qLn},deps:[]},{provide:p,useClass:T,multi:!0,deps:[s.K0,i.R0b,i.Lbi]},{provide:p,useClass:P,multi:!0,deps:[s.K0]},[],{provide:C,useClass:C,deps:[f,_,i.AFp]},{provide:i.FYo,useExisting:C},{provide:g,useExisting:_},{provide:_,useClass:_,deps:[s.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:f,useClass:f,deps:[p,i.R0b]},{provide:s.JF,useClass:d,deps:[]},[]];let F=(()=>{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:i.AFp,useValue:e.appId},{provide:c,useExisting:i.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(t,12))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:D,imports:[s.ez,i.hGG]}),t})();"undefined"!=typeof window&&window},4074:function(t,e,n){"use strict";n.d(e,{yS:function(){return Fn},Bz:function(){return Yn},lC:function(){return Vn}});var s=n(2057),i=n(793),r=n(4869),o=n(9796),a=n(7393);class l extends a.L{notifyNext(t,e,n,s,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class c extends a.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 u=n(7444),h=n(7574);function d(t,e,n,s,i=new c(t,n,s)){if(!i.closed)return e instanceof h.y?e.subscribe(i):(0,u.s)(e)(i)}var p=n(6693);const f={};class m{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new g(t,this.resultSelector))}}class g extends l{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(f),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<e;n++)this.add(d(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const s=this.values,i=this.toRespond?s[n]===f?--this.toRespond:this.toRespond:0;s[n]=e,0===i&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const _=(()=>{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 y=n(4402),v=n(9193);function b(t){return new h.y(e=>{let n;try{n=t()}catch(s){return void e.error(s)}return(n?(0,y.D)(n):(0,v.c)()).subscribe(e)})}var w=n(5917),S=n(6215),C=n(8071),E=n(2441),x=n(9765);function k(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(s){return s.lift(new T(t,e,n))}}class T{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new A(t,this.accumulator,this.seed,this.hasSeed))}}class A extends a.L{constructor(t,e,n,s){super(t),this.accumulator=e,this._seed=n,this.hasSeed=s,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(s){this.destination.error(s)}this.seed=n,this.destination.next(n)}}var O=n(5345);function R(t){return function(e){const n=new I(t),s=e.lift(n);return n.caught=s}}class I{constructor(t){this.selector=t}call(t,e){return e.subscribe(new P(t,this.selector,this.caught))}}class P extends O.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 s=new O.IY(this);this.add(s);const i=(0,O.ft)(n,s);i!==s&&this.add(i)}}}var L=n(5435),D=n(7108);function F(t){return function(e){return 0===t?(0,v.c)():e.lift(new N(t))}}class N{constructor(t){if(this.total=t,this.total<0)throw new D.W}call(t,e){return e.subscribe(new V(t,this.total))}}class V extends a.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,s=this.count++;e.length<n?e.push(t):e[s%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,s=this.ring;for(let i=0;i<n;i++){const i=e++%n;t.next(s[i])}}t.complete()}}function j(t=U){return e=>e.lift(new M(t))}class M{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new B(t,this.errorFactory))}}class B extends a.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 U(){return new _}function H(t=null){return e=>e.lift(new z(t))}class z{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new G(t,this.defaultValue))}}class G extends a.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 $=n(4487),q=n(5257);function Y(t,e){const n=arguments.length>=2;return s=>s.pipe(t?(0,L.h)((e,n)=>t(e,n,s)):$.y,(0,q.q)(1),n?H(e):j(()=>new _))}var K=n(5319);class Q{constructor(t){this.callback=t}call(t,e){return e.subscribe(new W(t,this.callback))}}class W extends a.L{constructor(t,e){super(t),this.add(new K.w(e))}}var Z=n(8002),X=n(3190),J=n(9761),tt=n(4612),et=n(9773),nt=n(3342),st=n(1307),it=n(3282);class rt{constructor(t,e){this.id=t,this.url=e}}class ot extends rt{constructor(t,e,n="imperative",s=null){super(t,e),this.navigationTrigger=n,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class at extends rt{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class lt extends rt{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ct extends rt{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ut extends rt{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ht extends rt{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt extends rt{constructor(t,e,n,s,i){super(t,e),this.urlAfterRedirects=n,this.state=s,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class pt extends rt{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ft extends rt{constructor(t,e,n,s){super(t,e),this.urlAfterRedirects=n,this.state=s}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mt{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class gt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _t{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yt{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vt{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bt{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wt{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}')`}}class St{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 Ct(t){return new St(t)}function Et(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function xt(t,e,n){const s=n.path.split("/");if(s.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||s.length<t.length))return null;const i={};for(let r=0;r<s.length;r++){const e=s[r],n=t[r];if(e.startsWith(":"))i[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,s.length),posParams:i}}function kt(t,e){const n=t?Object.keys(t):void 0,s=e?Object.keys(e):void 0;if(!n||!s||n.length!=s.length)return!1;let i;for(let r=0;r<n.length;r++)if(i=n[r],!Tt(t[i],e[i]))return!1;return!0}function Tt(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),s=[...e].sort();return n.every((t,e)=>s[e]===t)}return t===e}function At(t){return Array.prototype.concat.apply([],t)}function Ot(t){return t.length>0?t[t.length-1]:null}function Rt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function It(t){return(0,i.CqO)(t)?t:(0,i.QGY)(t)?(0,y.D)(Promise.resolve(t)):(0,w.of)(t)}const Pt={exact:function t(e,n,s){if(!Ut(e.segments,n.segments))return!1;if(!Vt(e.segments,n.segments,s))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i],s))return!1}return!0},subset:Ft},Lt={exact:function(t,e){return kt(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Tt(t[n],e[n]))},ignored:()=>!0};function Dt(t,e,n){return Pt[n.paths](t.root,e.root,n.matrixParams)&&Lt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Ft(t,e,n){return Nt(t,e,e.segments,n)}function Nt(t,e,n,s){if(t.segments.length>n.length){const i=t.segments.slice(0,n.length);return!!Ut(i,n)&&!e.hasChildren()&&!!Vt(i,n,s)}if(t.segments.length===n.length){if(!Ut(t.segments,n))return!1;if(!Vt(t.segments,n,s))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!Ft(t.children[n],e.children[n],s))return!1}return!0}{const i=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!Ut(t.segments,i)&&!!Vt(t.segments,i,s)&&!!t.children.primary&&Nt(t.children.primary,e,r,s)}}function Vt(t,e,n){return e.every((e,s)=>Lt[n](t[s].parameters,e.parameters))}class jt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return Gt.serialize(this)}}class Mt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Rt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $t(this)}}class Bt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap}toString(){return Xt(this)}}function Ut(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Ht{}class zt{parse(t){const e=new se(t);return new jt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${qt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Kt(e)}=${Kt(t)}`).join("&"):`${Kt(e)}=${Kt(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Gt=new zt;function $t(t){return t.segments.map(t=>Xt(t)).join("/")}function qt(t,e){if(!t.hasChildren())return $t(t);if(e){const e=t.children.primary?qt(t.children.primary,!1):"",n=[];return Rt(t.children,(t,e)=>{"primary"!==e&&n.push(`${e}:${qt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Rt(t.children,(t,s)=>{"primary"===s&&(n=n.concat(e(t,s)))}),Rt(t.children,(t,s)=>{"primary"!==s&&(n=n.concat(e(t,s)))}),n}(t,(e,n)=>"primary"===n?[qt(t.children.primary,!1)]:[`${n}:${qt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${$t(t)}/${e[0]}`:`${$t(t)}/(${e.join("//")})`}}function Yt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Kt(t){return Yt(t).replace(/%3B/gi,";")}function Qt(t){return Yt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wt(t){return decodeURIComponent(t)}function Zt(t){return Wt(t.replace(/\+/g,"%20"))}function Xt(t){return`${Qt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Qt(t)}=${Qt(e[t])}`).join("")}`;var e}const Jt=/^[^\/()?;=#]+/;function te(t){const e=t.match(Jt);return e?e[0]:""}const ee=/^[^=?&#]+/,ne=/^[^?&#]+/;class se{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Mt([],{}):new Mt([],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.primary=new Mt(t,e)),n}parseSegment(){const t=te(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Bt(Wt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=te(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=te(this.remaining);t&&(n=t,this.capture(n))}t[Wt(e)]=Wt(n)}parseQueryParam(t){const e=function(t){const e=t.match(ee);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(ne);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const s=Zt(e),i=Zt(n);if(t.hasOwnProperty(s)){let e=t[s];Array.isArray(e)||(e=[e],t[s]=e),e.push(i)}else t[s]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=te(this.remaining),s=this.remaining[n.length];if("/"!==s&&")"!==s&&";"!==s)throw new Error(`Cannot parse url '${this.url}'`);let i;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i="primary");const r=this.parseChildren();e[i]=1===Object.keys(r).length?r.primary:new Mt([],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 ie{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=re(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=re(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=oe(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return oe(t,this._root).map(t=>t.value)}}function re(t,e){if(t===e.value)return e;for(const n of e.children){const e=re(t,n);if(e)return e}return null}function oe(t,e){if(t===e.value)return[e];for(const n of e.children){const s=oe(t,n);if(s.length)return s.unshift(e),s}return[]}class ae{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function le(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class ce extends ie{constructor(t,e){super(t),this.snapshot=e,me(this,t)}toString(){return this.snapshot.toString()}}function ue(t,e){const n=function(t,e){const n=new pe([],{},{},"",{},"primary",e,null,t.root,-1,{});return new fe("",new ae(n,[]))}(t,e),s=new S.X([new Bt("",{})]),i=new S.X({}),r=new S.X({}),o=new S.X({}),a=new S.X(""),l=new he(s,i,o,a,r,"primary",e,n.root);return l.snapshot=n.root,new ce(new ae(l,[]),n)}class he{constructor(t,e,n,s,i,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=s,this.data=i,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,Z.U)(t=>Ct(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Z.U)(t=>Ct(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function de(t,e="emptyOnly"){const n=t.pathFromRoot;let s=0;if("always"!==e)for(s=n.length-1;s>=1;){const t=n[s],e=n[s-1];if(t.routeConfig&&""===t.routeConfig.path)s--;else{if(e.component)break;s--}}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(s))}class pe{constructor(t,e,n,s,i,r,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=s,this.data=i,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=Ct(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class fe extends ie{constructor(t,e){super(e),this.url=t,me(this,e)}toString(){return ge(this._root)}}function me(t,e){e.value._routerState=t,e.children.forEach(e=>me(t,e))}function ge(t){const e=t.children.length>0?` { ${t.children.map(ge).join(", ")} } `:"";return`${t.value}${e}`}function _e(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,kt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),kt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!kt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),kt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function ye(t,e){var n,s;return kt(t.params,e.params)&&Ut(n=t.url,s=e.url)&&n.every((t,e)=>kt(t.parameters,s[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||ye(t.parent,e.parent))}function ve(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const s=n.value;s._futureSnapshot=e.value;const i=function(t,e,n){return e.children.map(e=>{for(const s of n.children)if(t.shouldReuseRoute(e.value,s.value.snapshot))return ve(t,e,s);return ve(t,e)})}(t,e,n);return new ae(s,i)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return be(e,t),t}}const n=new he(new S.X((s=e.value).url),new S.X(s.params),new S.X(s.queryParams),new S.X(s.fragment),new S.X(s.data),s.outlet,s.component,s),i=e.children.map(e=>ve(t,e));return new ae(n,i)}var s}function be(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<t.children.length;++n)be(t.children[n],e.children[n])}function we(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Se(t){return"object"==typeof t&&null!=t&&t.outlets}function Ce(t,e,n,s,i){let r={};return s&&Rt(s,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new jt(n.root===t?e:Ee(n.root,t,e),r,i)}function Ee(t,e,n){const s={};return Rt(t.children,(t,i)=>{s[i]=t===e?n:Ee(t,e,n)}),new Mt(t.segments,s)}class xe{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&we(n[0]))throw new Error("Root segment cannot have matrix parameters");const s=n.find(Se);if(s&&s!==Ot(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ke{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Te(t,e,n){if(t||(t=new Mt([],{})),0===t.segments.length&&t.hasChildren())return Ae(t,e,n);const s=function(t,e,n){let s=0,i=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(s>=n.length)return r;const e=t.segments[i],o=n[s];if(Se(o))break;const a=`${o}`,l=s<n.length-1?n[s+1]:null;if(i>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Pe(a,l,e))return r;s+=2}else{if(!Pe(a,{},e))return r;s++}i++}return{match:!0,pathIndex:i,commandIndex:s}}(t,e,n),i=n.slice(s.commandIndex);if(s.match&&s.pathIndex<t.segments.length){const e=new Mt(t.segments.slice(0,s.pathIndex),{});return e.children.primary=new Mt(t.segments.slice(s.pathIndex),t.children),Ae(e,0,i)}return s.match&&0===i.length?new Mt(t.segments,{}):s.match&&!t.hasChildren()?Oe(t,e,n):s.match?Ae(t,0,i):Oe(t,e,n)}function Ae(t,e,n){if(0===n.length)return new Mt(t.segments,{});{const s=function(t){return Se(t[0])?t[0].outlets:{primary:t}}(n),i={};return Rt(s,(n,s)=>{"string"==typeof n&&(n=[n]),null!==n&&(i[s]=Te(t.children[s],e,n))}),Rt(t.children,(t,e)=>{void 0===s[e]&&(i[e]=t)}),new Mt(t.segments,i)}}function Oe(t,e,n){const s=t.segments.slice(0,e);let i=0;for(;i<n.length;){const r=n[i];if(Se(r)){const t=Re(r.outlets);return new Mt(s,t)}if(0===i&&we(n[0])){s.push(new Bt(t.segments[e].path,Ie(n[0]))),i++;continue}const o=Se(r)?r.outlets.primary:`${r}`,a=i<n.length-1?n[i+1]:null;o&&a&&we(a)?(s.push(new Bt(o,Ie(a))),i+=2):(s.push(new Bt(o,{})),i++)}return new Mt(s,{})}function Re(t){const e={};return Rt(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=Oe(new Mt([],{}),0,t))}),e}function Ie(t){const e={};return Rt(t,(t,n)=>e[n]=`${t}`),e}function Pe(t,e,n){return t==n.path&&kt(e,n.parameters)}class Le{constructor(t,e,n,s){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=s}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),_e(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const s=le(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,s[e],n),delete s[e]}),Rt(s,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const s=t.value,i=e?e.value:null;if(s===i)if(s.component){const i=n.getContext(s.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&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(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:s})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),s=n&&t.value.component?n.children:e,i=le(t);for(const r of Object.keys(i))this.deactivateRouteAndItsChildren(i[r],s);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const s=le(e);t.children.forEach(t=>{this.activateRoutes(t,s[t.value.outlet],n),this.forwardEvent(new bt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new yt(t.value.snapshot))}activateRoutes(t,e,n){const s=t.value,i=e?e.value:null;if(_e(s),s===i)if(s.component){const i=n.getOrCreateContext(s.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(s.component){const e=n.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const t=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.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),De(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}(s.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=s,e.resolver=i,e.outlet&&e.outlet.activateWith(s,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function De(t){_e(t.value),t.children.forEach(De)}class Fe{constructor(t,e){this.routes=t,this.module=e}}function Ne(t){return"function"==typeof t}function Ve(t){return t instanceof jt}const je=Symbol("INITIAL_VALUE");function Me(){return(0,X.w)(t=>function(...t){let e,n;return(0,r.K)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,o.k)(t[0])&&(t=t[0]),(0,p.n)(t,n).lift(new m(e))}(t.map(t=>t.pipe((0,q.q)(1),(0,J.O)(je)))).pipe(k((t,e)=>{let n=!1;return e.reduce((t,s,i)=>{if(t!==je)return t;if(s===je&&(n=!0),!n){if(!1===s)return s;if(i===e.length-1||Ve(s))return s}return t},t)},je),(0,L.h)(t=>t!==je),(0,Z.U)(t=>Ve(t)?t:!0===t),(0,q.q)(1)))}let Be=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&i._UZ(0,"router-outlet")},directives:function(){return[Vn]},encapsulation:2}),t})();function Ue(t,e=""){for(let n=0;n<t.length;n++){const s=t[n];He(s,ze(e,s))}}function He(t,e){t.children&&Ue(t.children,e)}function ze(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function Ge(t){const e=t.children&&t.children.map(Ge),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Be),n}function $e(t){return t.outlet||"primary"}function qe(t,e){const n=t.filter(t=>$e(t)===e);return n.push(...t.filter(t=>$e(t)!==e)),n}const Ye={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ke(t,e,n){var s;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Ye):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(e.matcher||xt)(n,t,e);if(!i)return Object.assign({},Ye);const r={};Rt(i.posParams,(t,e)=>{r[e]=t.path});const o=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:o,positionalParamSegments:null!==(s=i.posParams)&&void 0!==s?s:{}}}function Qe(t,e,n,s,i="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>We(t,e,n)&&"primary"!==$e(n))}(t,n,s)){const i=new Mt(e,function(t,e,n,s){const i={};i.primary=s,s._sourceSegment=t,s._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&"primary"!==$e(r)){const n=new Mt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[$e(r)]=n}return i}(t,e,s,new Mt(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>We(t,e,n))}(t,n,s)){const r=new Mt(t.segments,function(t,e,n,s,i,r){const o={};for(const a of s)if(We(t,n,a)&&!i[$e(a)]){const n=new Mt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[$e(a)]=n}return Object.assign(Object.assign({},i),o)}(t,e,n,s,t.children,i));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new Mt(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function We(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ze(t,e,n,s){return!!($e(t)===s||"primary"!==s&&We(e,n,t))&&("**"===t.path||Ke(e,t,n).matched)}function Xe(t,e,n){return 0===e.length&&!t.children[n]}class Je{constructor(t){this.segmentGroup=t||null}}class tn{constructor(t){this.urlTree=t}}function en(t){return new h.y(e=>e.error(new Je(t)))}function nn(t){return new h.y(e=>e.error(new tn(t)))}function sn(t){return new h.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class rn{constructor(t,e,n,s,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=s,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(i.h0i)}apply(){const t=Qe(this.urlTree.root,[],[],this.config).segmentGroup,e=new Mt(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe((0,Z.U)(t=>this.createUrlTree(on(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(R(t=>{if(t instanceof tn)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Je)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe((0,Z.U)(e=>this.createUrlTree(on(e),t.queryParams,t.fragment))).pipe(R(t=>{if(t instanceof Je)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const s=t.segments.length>0?new Mt([],{primary:t}):t;return new jt(s,e,n)}expandSegmentGroup(t,e,n,s){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,Z.U)(t=>new Mt([],t))):this.expandSegment(t,n,e,n.segments,s,!0)}expandChildren(t,e,n){const s=[];for(const i of Object.keys(n.children))"primary"===i?s.unshift(i):s.push(i);return(0,y.D)(s).pipe((0,tt.b)(s=>{const i=n.children[s],r=qe(e,s);return this.expandSegmentGroup(t,r,i,s).pipe((0,Z.U)(t=>({segment:t,outlet:s})))}),k((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return s=>s.pipe(t?(0,L.h)((e,n)=>t(e,n,s)):$.y,F(1),n?H(e):j(()=>new _))}())}expandSegment(t,e,n,s,i,r){return(0,y.D)(n).pipe((0,tt.b)(o=>this.expandSegmentAgainstRoute(t,e,n,o,s,i,r).pipe(R(t=>{if(t instanceof Je)return(0,w.of)(null);throw t}))),Y(t=>!!t),R((t,n)=>{if(t instanceof _||"EmptyError"===t.name){if(Xe(e,s,i))return(0,w.of)(new Mt([],{}));throw new Je(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,s,i,r,o){return Ze(s,e,i,r)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(t,e,s,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r):en(e):en(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,s,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,s){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?nn(i):this.lineralizeSegments(n,i).pipe((0,et.zg)(n=>{const i=new Mt(n,{});return this.expandSegment(t,i,e,n,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,s,i,r){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Ke(e,s,i);if(!o)return en(e);const u=this.applyRedirectCommands(a,s.redirectTo,c);return s.redirectTo.startsWith("/")?nn(u):this.lineralizeSegments(s,u).pipe((0,et.zg)(s=>this.expandSegment(t,e,n,s.concat(i.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,s,i){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,w.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,Z.U)(t=>(n._loadedConfig=t,new Mt(s,{})))):(0,w.of)(new Mt(s,{}));const{matched:r,consumedSegments:o,lastChild:a}=Ke(e,n,s);if(!r)return en(e);const l=s.slice(a);return this.getChildConfig(t,n,s).pipe((0,et.zg)(t=>{const s=t.module,r=t.routes,{segmentGroup:a,slicedSegments:c}=Qe(e,o,l,r),u=new Mt(a.segments,a.children);if(0===c.length&&u.hasChildren())return this.expandChildren(s,r,u).pipe((0,Z.U)(t=>new Mt(o,t)));if(0===r.length&&0===c.length)return(0,w.of)(new Mt(o,{}));const h=$e(n)===i;return this.expandSegment(s,u,r,c,h?"primary":i,!0).pipe((0,Z.U)(t=>new Mt(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,w.of)(new Fe(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,w.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,et.zg)(n=>n?this.configLoader.load(t.injector,e).pipe((0,Z.U)(t=>(e._loadedConfig=t,t))):function(t){return new h.y(e=>e.error(Et(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):(0,w.of)(new Fe([],t))}runCanLoadGuards(t,e,n){const s=e.canLoad;if(!s||0===s.length)return(0,w.of)(!0);const i=s.map(s=>{const i=t.get(s);let r;if(function(t){return t&&Ne(t.canLoad)}(i))r=i.canLoad(e,n);else{if(!Ne(i))throw new Error("Invalid CanLoad guard");r=i(e,n)}return It(r)});return(0,w.of)(i).pipe(Me(),(0,nt.b)(t=>{if(!Ve(t))return;const e=Et(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,Z.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],s=e.root;for(;;){if(n=n.concat(s.segments),0===s.numberOfChildren)return(0,w.of)(n);if(s.numberOfChildren>1||!s.children.primary)return sn(t.redirectTo);s=s.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,s){const i=this.createSegmentGroup(t,e.root,n,s);return new jt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Rt(t,(t,s)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[s]=e[i]}else n[s]=t}),n}createSegmentGroup(t,e,n,s){const i=this.createSegments(t,e.segments,n,s);let r={};return Rt(e.children,(e,i)=>{r[i]=this.createSegmentGroup(t,e,n,s)}),new Mt(i,r)}createSegments(t,e,n,s){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,s):this.findOrReturn(e,n))}findPosParam(t,e,n){const s=n[e.path.substring(1)];if(!s)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return s}findOrReturn(t,e){let n=0;for(const s of e){if(s.path===t.path)return e.splice(n),s;n++}return t}}function on(t){const e={};for(const n of Object.keys(t.children)){const s=on(t.children[n]);(s.segments.length>0||s.hasChildren())&&(e[n]=s)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Mt(t.segments.concat(e.segments),e.children)}return t}(new Mt(t.segments,e))}class an{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class ln{constructor(t,e){this.component=t,this.route=e}}function cn(t,e,n){const s=t._root;return hn(s,e?e._root:null,n,[s.value])}function un(t,e,n){const s=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(s?s.module.injector:n).get(t)}function hn(t,e,n,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const r=le(e);return t.children.forEach(t=>{!function(t,e,n,s,i={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!Ut(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ut(t.url,e.url)||!kt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ye(t,e)||!kt(t.queryParams,e.queryParams);case"paramsChange":default:return!ye(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new an(s)):(r.data=o.data,r._resolvedData=o._resolvedData),hn(t,e,r.component?a?a.children:null:n,s,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ln(a.outlet.component,o))}else o&&dn(e,a,i),i.canActivateChecks.push(new an(s)),hn(t,null,r.component?a?a.children:null:n,s,i)}(t,r[t.value.outlet],n,s.concat([t.value]),i),delete r[t.value.outlet]}),Rt(r,(t,e)=>dn(t,n.getContext(e),i)),i}function dn(t,e,n){const s=le(t),i=t.value;Rt(s,(t,s)=>{dn(t,i.component?e?e.children.getContext(s):null:e,n)}),n.canDeactivateChecks.push(new ln(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}class pn{}function fn(t){return new h.y(e=>e.error(t))}class mn{constructor(t,e,n,s,i,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=s,this.paramsInheritanceStrategy=i,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,"primary");if(null===e)return null;const n=new pe([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),s=new ae(n,e),i=new fe(this.url,s);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(t){const e=t.value,n=de(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 i of Object.keys(e.children)){const s=e.children[i],r=qe(t,i),o=this.processSegmentGroup(r,s,i);if(null===o)return null;n.push(...o)}const s=_n(n);return s.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),s}processSegment(t,e,n,s){for(const i of t){const t=this.processSegmentAgainstRoute(i,e,n,s);if(null!==t)return t}return Xe(e,n,s)?[]:null}processSegmentAgainstRoute(t,e,n,s){if(t.redirectTo||!Ze(t,e,n,s))return null;let i,r=[],o=[];if("**"===t.path){const s=n.length>0?Ot(n).parameters:{};i=new pe(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,bn(t),$e(t),t.component,t,yn(e),vn(e)+n.length,wn(t))}else{const s=Ke(e,t,n);if(!s.matched)return null;r=s.consumedSegments,o=n.slice(s.lastChild),i=new pe(r,s.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,bn(t),$e(t),t.component,t,yn(e),vn(e)+r.length,wn(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Qe(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new ae(i,t)]}if(0===a.length&&0===c.length)return[new ae(i,[])];const u=$e(t)===s,h=this.processSegment(a,l,c,u?"primary":s);return null===h?null:[new ae(i,h)]}}function gn(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function _n(t){const e=[],n=new Set;for(const s of t){if(!gn(s)){e.push(s);continue}const t=e.find(t=>s.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...s.children),n.add(t)):e.push(s)}for(const s of n){const t=_n(s.children);e.push(new ae(s.value,t))}return e.filter(t=>!n.has(t))}function yn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function vn(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 bn(t){return t.data||{}}function wn(t){return t.resolve||{}}function Sn(t){return(0,X.w)(e=>{const n=t(e);return n?(0,y.D)(n).pipe((0,Z.U)(()=>e)):(0,w.of)(e)})}class Cn 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 En=new i.OlP("ROUTES");class xn{constructor(t,e,n,s){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=s}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,Z.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const s=n.create(t);return new Fe(At(s.injector.get(En,void 0,i.XFs.Self|i.XFs.Optional)).map(Ge),s)}),R(t=>{throw e._loader$=void 0,t}));return e._loader$=new E.c(n,()=>new x.xQ).pipe((0,st.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,y.D)(this.loader.load(t)):It(t()).pipe((0,et.zg)(t=>t instanceof i.YKP?(0,w.of)(t):(0,y.D)(this.compiler.compileModuleAsync(t))))}}class kn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Tn,this.attachRef=null}}class Tn{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 kn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class An{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function On(t){throw t}function Rn(t,e,n){return e.parse("/")}function In(t,e){return(0,w.of)(null)}const Pn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ln={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Dn=(()=>{class t{constructor(t,e,n,s,r,o,a,l){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=s,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new x.xQ,this.errorHandler=On,this.malformedUriErrorHandler=Rn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:In,afterPreactivation:In},this.urlHandlingStrategy=new An,this.routeReuseStrategy=new Cn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(i.h0i),this.console=r.get(i.c2e);const c=r.get(i.R0b);this.isNgZoneEnabled=c instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new jt(new Mt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new xn(o,a,t=>this.triggerEvent(new mt(t)),t=>this.triggerEvent(new gt(t))),this.routerState=ue(this.currentUrlTree,this.rootComponentType),this.transitions=new S.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()}setupNavigations(t){const e=this.events;return t.pipe((0,L.h)(t=>0!==t.id),(0,Z.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,X.w)(t=>{let n=!1,s=!1;return(0,w.of)(t).pipe((0,nt.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,X.w)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,w.of)(t).pipe((0,X.w)(t=>{const n=this.transitions.getValue();return e.next(new ot(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?v.E:Promise.resolve(t)}),(s=this.ngModule.injector,i=this.configLoader,r=this.urlSerializer,o=this.config,(0,X.w)(t=>function(t,e,n,s,i){return new rn(t,e,n,s,i).apply()}(s,i,r,t.extractedUrl,o).pipe((0,Z.U)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),(0,nt.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,s,i){return(0,et.zg)(r=>function(t,e,n,s,i="emptyOnly",r="legacy"){try{const o=new mn(t,e,n,s,i,r).recognize();return null===o?fn(new pn):(0,w.of)(o)}catch(o){return fn(o)}}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),s,i).pipe((0,Z.U)(t=>Object.assign(Object.assign({},r),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,nt.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new ut(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var s,i,r,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:s,source:i,restoredState:r,extras:o}=t,a=new ot(n,this.serializeUrl(s),i,r);e.next(a);const l=ue(s,this.rootComponentType).snapshot;return(0,w.of)(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:s,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),v.E}),Sn(t=>{const{targetSnapshot:e,id:n,extractedUrl:s,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:s,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),(0,nt.b)(t=>{const e=new ht(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,Z.U)(t=>Object.assign(Object.assign({},t),{guards:cn(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,et.zg)(n=>{const{targetSnapshot:s,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:o}}=n;return 0===o.length&&0===r.length?(0,w.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,s){return(0,y.D)(t).pipe((0,et.zg)(t=>function(t,e,n,s,i){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,w.of)(!0);const o=r.map(r=>{const o=un(r,e,i);let a;if(function(t){return t&&Ne(t.canDeactivate)}(o))a=It(o.canDeactivate(t,e,n,s));else{if(!Ne(o))throw new Error("Invalid CanDeactivate guard");a=It(o(t,e,n,s))}return a.pipe(Y())});return(0,w.of)(o).pipe(Me())}(t.component,t.route,n,e,s)),Y(t=>!0!==t,!0))}(o,s,i,t).pipe((0,et.zg)(n=>n&&"boolean"==typeof n?function(t,e,n,s){return(0,y.D)(e).pipe((0,tt.b)(e=>(0,C.z)(function(t,e){return null!==t&&e&&e(new _t(t)),(0,w.of)(!0)}(e.route.parent,s),function(t,e){return null!==t&&e&&e(new vt(t)),(0,w.of)(!0)}(e.route,s),function(t,e,n){const s=e[e.length-1],i=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=>b(()=>{const i=e.guards.map(i=>{const r=un(i,e.node,n);let o;if(function(t){return t&&Ne(t.canActivateChild)}(r))o=It(r.canActivateChild(s,t));else{if(!Ne(r))throw new Error("Invalid CanActivateChild guard");o=It(r(s,t))}return o.pipe(Y())});return(0,w.of)(i).pipe(Me())}));return(0,w.of)(i).pipe(Me())}(t,e.path,n),function(t,e,n){const s=e.routeConfig?e.routeConfig.canActivate:null;if(!s||0===s.length)return(0,w.of)(!0);const i=s.map(s=>b(()=>{const i=un(s,e,n);let r;if(function(t){return t&&Ne(t.canActivate)}(i))r=It(i.canActivate(e,t));else{if(!Ne(i))throw new Error("Invalid CanActivate guard");r=It(i(e,t))}return r.pipe(Y())}));return(0,w.of)(i).pipe(Me())}(t,e.route,n))),Y(t=>!0!==t,!0))}(s,r,t,e):(0,w.of)(n)),(0,Z.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,nt.b)(t=>{if(Ve(t.guardsResult)){const e=Et(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new dt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,L.h)(t=>!!t.guardsResult||(this.cancelNavigationTransition(t,""),!1)),Sn(t=>{if(t.guards.canActivateChecks.length)return(0,w.of)(t).pipe((0,nt.b)(t=>{const e=new pt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,X.w)(t=>{let e=!1;return(0,w.of)(t).pipe((n=this.paramsInheritanceStrategy,s=this.ngModule.injector,(0,et.zg)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:i}}=t;if(!i.length)return(0,w.of)(t);let r=0;return(0,y.D)(i).pipe((0,tt.b)(t=>function(t,e,n,s){return function(t,e,n,s){const i=Object.keys(t);if(0===i.length)return(0,w.of)({});const r={};return(0,y.D)(i).pipe((0,et.zg)(i=>function(t,e,n,s){const i=un(t,e,s);return It(i.resolve?i.resolve(e,n):i(e,n))}(t[i],e,n,s).pipe((0,nt.b)(t=>{r[i]=t}))),F(1),(0,et.zg)(()=>Object.keys(r).length===i.length?(0,w.of)(r):v.E))}(t._resolve,t,e,s).pipe((0,Z.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),de(t,n).resolve),null)))}(t.route,e,n,s)),(0,nt.b)(()=>r++),F(1),(0,et.zg)(e=>r===i.length?(0,w.of)(t):v.E))})),(0,nt.b)({next:()=>e=!0,complete:()=>{e||this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value.")}}));var n,s}),(0,nt.b)(t=>{const e=new ft(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Sn(t=>{const{targetSnapshot:e,id:n,extractedUrl:s,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:s,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!o})}),(0,Z.U)(t=>{const e=function(t,e,n){const s=ve(t,e._root,n?n._root:void 0);return new ce(s,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,nt.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)}),(r=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),(0,Z.U)(t=>(new Le(o,t.targetRouterState,t.currentRouterState,a).activate(r),t))),(0,nt.b)({next(){n=!0},complete(){n=!0}}),(i=()=>{n||s||this.cancelNavigationTransition(t,`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null},t=>t.lift(new Q(i))),R(n=>{if(s=!0,(i=n)&&i.ngNavigationCancelingError){const s=Ve(n.url);s||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new lt(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),s?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const s=new ct(t.id,this.serializeUrl(t.extractedUrl),n);e.next(s);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var i;return v.E}));var i,r,o,a}))}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:s}=e,i={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(i.state=t)}this.scheduleNavigation(s,t,n,i)},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){Ue(t),this.config=t.map(Ge),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:s,fragment:i,queryParamsHandling:r,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:i;let c=null;switch(r){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=s||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,s,i){if(0===n.length)return Ce(e.root,e.root,e,s,i);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new xe(!0,0,t);let e=0,n=!1;const s=t.reduce((t,s,i)=>{if("object"==typeof s&&null!=s){if(s.outlets){const e={};return Rt(s.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(s.segmentPath)return[...t,s.segmentPath]}return"string"!=typeof s?[...t,s]:0===i?(s.split("/").forEach((s,i)=>{0==i&&"."===s||(0==i&&""===s?n=!0:".."===s?e++:""!=s&&t.push(s))}),t):[...t,s]},[]);return new xe(n,e,s)}(n);if(r.toRoot())return Ce(e.root,new Mt([],{}),e,s,i);const o=function(t,e,n){if(t.isAbsolute)return new ke(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new ke(t,t===e.root,0)}const s=we(t.commands[0])?0:1;return function(t,e,n){let s=t,i=e,r=n;for(;r>i;){if(r-=i,s=s.parent,!s)throw new Error("Invalid number of '../'");i=s.segments.length}return new ke(s,!1,i-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+s,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?Ae(o.segmentGroup,o.index,r.commands):Te(o.segmentGroup,o.index,r.commands);return Ce(o.segmentGroup,a,e,s,i)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Ve(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(n,this.rawUrlTree);let i=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||e.skipLocationChange||e.replaceUrl)&&(i=this.location.getState()),this.scheduleNavigation(s,"imperative",i,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){let n;if(n=!0===e?Object.assign({},Pn):!1===e?Object.assign({},Ln):e,Ve(t))return Dt(this.currentUrlTree,t,n);const s=this.parseUrl(t);return Dt(this.currentUrlTree,s,n)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const s=t[n];return null!=s&&(e[n]=s),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new at(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,s,i){if(this.disposed)return Promise.resolve(!1);const r=this.getTransition(),o="imperative"!==e&&"imperative"===(null==r?void 0:r.source),a=(this.lastSuccessfulId===r.id||this.currentNavigation?r.rawUrl:r.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;i?(l=i.resolve,c=i.reject,u=i.promise):u=new Promise((t,e)=>{l=t,c=e});const h=++this.navigationId;let d;return d="computed"===this.canceledNavigationResolution?n&&n.\u0275routerPageId?n.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:h,targetPageId:d,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:s,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),s=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",s):this.location.go(n,"",s)}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){"computed"===this.canceledNavigationResolution?"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-t.targetPageId):this.resetUrlToCurrentUrlTree();const n=new lt(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)(i.LFG(i.DyG),i.LFG(Ht),i.LFG(Tn),i.LFG(s.Ye),i.LFG(i.zs3),i.LFG(i.v3s),i.LFG(i.Sil),i.LFG(void 0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),Fn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new x.xQ,this.subscription=t.events.subscribe(t=>{t instanceof at&&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,s,i){if(0!==t||e||n||s||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:Nn(this.skipLocationChange),replaceUrl:Nn(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:Nn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Dn),i.Y36(he),i.Y36(s.S$))},t.\u0275dir=i.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(i.Ikx("href",e.href,i.LSH),i.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:[i.TTD]}),t})();function Nn(t){return""===t||!!t}let Vn=(()=>{class t{constructor(t,e,n,s,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.name=s||"primary",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),s=this.parentContexts.getOrCreateContext(this.name).children,i=new jn(t,s,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Tn),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},t.\u0275dir=i.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class jn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===he?this.route:t===Tn?this.childContexts:this.parent.get(t,e)}}class Mn{}class Bn{preload(t,e){return(0,w.of)(null)}}let Un=(()=>{class t{constructor(t,e,n,s,i){this.router=t,this.injector=s,this.preloadingStrategy=i,this.loader=new xn(e,n,e=>t.triggerEvent(new mt(e)),e=>t.triggerEvent(new gt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,L.h)(t=>t instanceof at),(0,tt.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(i.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const s of e)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const t=s._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else s.loadChildren&&!s.canLoad?n.push(this.preloadConfig(t,s)):s.children&&n.push(this.processRoutes(t,s.children));return(0,y.D)(n).pipe((0,it.J)(),(0,Z.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,w.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,et.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(Dn),i.LFG(i.v3s),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(Mn))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),Hn=(()=>{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 ot?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof at&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof wt&&(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 wt(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)(i.LFG(Dn),i.LFG(s.EM),i.LFG(void 0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const zn=new i.OlP("ROUTER_CONFIGURATION"),Gn=new i.OlP("ROUTER_FORROOT_GUARD"),$n=[s.Ye,{provide:Ht,useClass:zt},{provide:Dn,useFactory:function(t,e,n,s,i,r,o,a={},l,c){const u=new Dn(null,t,e,n,s,i,r,At(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:[Ht,Tn,s.Ye,i.zs3,i.v3s,i.Sil,En,zn,[class{},new i.FiY],[class{},new i.FiY]]},Tn,{provide:he,useFactory:function(t){return t.routerState.root},deps:[Dn]},{provide:i.v3s,useClass:i.EAV},Un,Bn,class{preload(t,e){return e().pipe(R(()=>(0,w.of)(null)))}},{provide:zn,useValue:{enableTracing:!1}}];function qn(){return new i.PXZ("Router",Dn)}let Yn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[$n,Zn(e),{provide:Gn,useFactory:Wn,deps:[[Dn,new i.FiY,new i.tp0]]},{provide:zn,useValue:n||{}},{provide:s.S$,useFactory:Qn,deps:[s.lw,[new i.tBr(s.mr),new i.FiY],zn]},{provide:Hn,useFactory:Kn,deps:[Dn,s.EM,zn]},{provide:Mn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Bn},{provide:i.PXZ,multi:!0,useFactory:qn},[Xn,{provide:i.ip1,multi:!0,useFactory:Jn,deps:[Xn]},{provide:es,useFactory:ts,deps:[Xn]},{provide:i.tb,multi:!0,useExisting:es}]]}}static forChild(e){return{ngModule:t,providers:[Zn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(Gn,8),i.LFG(Dn,8))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function Kn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Hn(t,e,n)}function Qn(t,e,n={}){return n.useHash?new s.Do(t,e):new s.b0(t,e)}function Wn(t){return"guarded"}function Zn(t){return[{provide:i.deG,multi:!0,useValue:t},{provide:En,multi:!0,useValue:t}]}let Xn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new x.xQ}appInitializer(){return this.injector.get(s.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(Dn),s=this.injector.get(zn);return"disabled"===s.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===s.initialNavigation||"enabledBlocking"===s.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,w.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(zn),n=this.injector.get(Un),s=this.injector.get(Hn),r=this.injector.get(Dn),o=this.injector.get(i.z2F);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||r.initialNavigation(),n.setUpPreloading(),s.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)(i.LFG(i.zs3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function Jn(t){return t.appInitializer.bind(t)}function ts(t){return t.bootstrapListener.bind(t)}const es=new i.OlP("Router Initializer")},6215:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});var s=n(9765),i=n(7971);class r extends s.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 i.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 s=n(9193),i=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,i.of)(this.value);case"E":return t=this.error,new r.y(e=>e.error(t));case"C":return(0,s.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 s=n(7393),i=n(9181),r=n(6490),o=n(6554),a=n(4487),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 s.L)return t;if(t[i.b])return t[i.b]()}return t||e||n?new s.L(t,e,n):new s.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:i}=t;if(e||i)return!1;t=n&&n instanceof s.L?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let s;s=this.subscribe(e=>{try{t(e)}catch(i){n(i),s&&s.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:(0===(e=t).length?a.y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}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 s=n(2494),i=n(4449);const r={closed:!0,next(t){},error(t){if(s.v.useDeprecatedSynchronousErrorHandling)throw t;(0,i.z)(t)},complete(){}}},9765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return c},xQ:function(){return u}});var s=n(7574),i=n(7393),r=n(5319),o=n(7971),a=n(8858),l=n(9181);class c extends i.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends s.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,s=e.slice();for(let i=0;i<n;i++)s[i].next(t)}}error(t){if(this.closed)throw new o.N;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,s=e.slice();for(let i=0;i<n;i++)s[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.N;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let s=0;s<e;s++)n[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.N;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.N;return this.hasError?(t.error(this.thrownError),r.w.EMPTY):this.isStopped?(t.complete(),r.w.EMPTY):(this.observers.push(t),new a.W(this,t))}asObservable(){const t=new s.y;return t.source=this,t}}return t.create=(t,e)=>new 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 i}});var s=n(5319);class i extends s.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 s=n(9105),i=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=i.c;break;case 1:if(!t){this.destination=i.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 s=new c(t,e,n);return s.syncErrorThrowable=!1,s}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){let o;super(),this._parentSubscriber=t;let a=this;(0,s.m)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==i.c&&(a=Object.create(e),(0,s.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(s){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):((0,l.z)(s),!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 s=n(9796),i=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 s=0;s<e.length;++s)e[s].remove(this);if((0,r.m)(l)){n&&(this._unsubscribe=void 0);try{l.call(this)}catch(h){t=h instanceof o?c(h.errors):[h]}}if((0,s.k)(u)){let e=-1,n=u.length;for(;++e<n;){const n=u[e];if((0,i.K)(n))try{n.unsubscribe()}catch(h){t=t||[],h instanceof o?t=t.concat(c(h.errors)):t.push(h)}}}if(t)throw new o(t)}add(t){let e=t;if(!t)return a.EMPTY;switch(typeof t){case"function":e=new a(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof a)){const t=e;e=new a,e._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:n}=e;if(null===n)e._parentOrParents=this;else if(n instanceof a){if(n===this)return e;e._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return e;n.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[e]:s.push(e),e}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var l;function c(t){return t.reduce((t,e)=>t.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 i}});let s=!1;const i={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 s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}}},5345:function(t,e,n){"use strict";n.d(e,{IY:function(){return o},Ds:function(){return a},ft:function(){return l}});var s=n(7393),i=n(7574),r=n(7444);class o extends s.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 s.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 i.y)return t.subscribe(e);let n;try{n=(0,r.s)(t)(e)}catch(s){e.error(s)}return n}},2441:function(t,e,n){"use strict";n.d(e,{c:function(){return a},N:function(){return l}});var s=n(9765),i=n(7574),r=n(5319),o=n(1307);class a extends i.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 s.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()}}}},8071:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var s=n(5917),i=n(3282);function r(...t){return(0,i.J)(1)((0,s.of)(...t))}},9193:function(t,e,n){"use strict";n.d(e,{E:function(){return i},c:function(){return r}});var s=n(7574);const i=new s.y(t=>t.complete());function r(t){return t?function(t){return new s.y(e=>t.schedule(()=>e.complete()))}(t):i}},4402:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var s=n(7574),i=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 s.y(n=>{const s=new r.w;return s.add(e.schedule(()=>{const i=t[o.L]();s.add(i.subscribe({next(t){s.add(e.schedule(()=>n.next(t)))},error(t){s.add(e.schedule(()=>n.error(t)))},complete(){s.add(e.schedule(()=>n.complete()))}}))})),s})}(t,e);if((0,c.t)(t))return function(t,e){return new s.y(n=>{const s=new r.w;return s.add(e.schedule(()=>t.then(t=>{s.add(e.schedule(()=>{n.next(t),s.add(e.schedule(()=>n.complete()))}))},t=>{s.add(e.schedule(()=>n.error(t)))}))),s})}(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 s.y(n=>{const s=new r.w;let i;return s.add(()=>{i&&"function"==typeof i.return&&i.return()}),s.add(e.schedule(()=>{i=t[l.hZ](),s.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(s){return void n.error(s)}e?n.complete():(n.next(t),this.schedule())}))})),s})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof s.y?t:new s.y((0,i.s)(t))}},6693:function(t,e,n){"use strict";n.d(e,{n:function(){return o}});var s=n(7574),i=n(5015),r=n(4087);function o(t,e){return e?(0,r.r)(t,e):new s.y((0,i.V)(t))}},2759:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var s=n(7574),i=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,i.k)(t)?c(...t):c(t))):new s.y(s=>{l(t,e,function(t){s.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},s,n)})}function l(t,e,n,s,i){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const s=t;t.addEventListener(e,n,i),r=()=>s.removeEventListener(e,n,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const s=t;t.on(e,n),r=()=>s.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const s=t;t.addListener(e,n),r=()=>s.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r<o;r++)l(t[r],e,n,s,i)}s.add(r)}},6682:function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var s=n(7574),i=n(4869),r=n(3282),o=n(6693);function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return(0,i.K)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof s.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 s=n(4869),i=n(6693),r=n(4087);function o(...t){let e=t[t.length-1];return(0,s.K)(e)?(t.pop(),(0,r.r)(t,e)):(0,i.n)(t)}},5124:function(t,e,n){"use strict";n.d(e,{e:function(){return d}});var s=n(3637),i=n(5345);class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends i.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 s=(0,i.ft)(n,new i.IY(this));!s||s.closed?this.clearThrottle():this.add(this.throttled=s)}}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(9796);function c(t){return!(0,l.k)(t)&&t-parseFloat(t)+1>=0}var u=n(4869);function h(t){const{index:e,period:n,subscriber:s}=t;if(s.next(e),!s.closed){if(-1===n)return s.complete();t.index=e+1,this.schedule(t,n)}}function d(t,e=s.P){return n=()=>function(t=0,e,n){let i=-1;return c(e)?i=Number(e)<1?1:Number(e):(0,u.K)(e)&&(n=e),(0,u.K)(n)||(n=s.P),new a.y(e=>{const s=c(t)?t:+t-n.now();return n.schedule(h,s,{index:0,period:i,subscriber:e})})}(t,e),function(t){return t.lift(new r(n))};var n}},4612:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var s=n(9773);function i(t,e){return(0,s.zg)(t,e,1)}},4395:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var s=n(7393),i=n(3637);function r(t,e=i.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 s.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 i}});var s=n(7393);function i(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 s.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(s){return this.destination.error(s)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(s){return this.destination.error(s)}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 i}});var s=n(7393);function i(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 s.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 i}});var s=n(7393);function i(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 s.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 s=n(9773),i=n(4487);function r(t=Number.POSITIVE_INFINITY){return(0,s.zg)(i.y,t)}},9773:function(t,e,n){"use strict";n.d(e,{zg:function(){return o}});var s=n(8002),i=n(4402),r=n(5345);function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>(0,i.D)(t(n,r)).pipe((0,s.U)((t,s)=>e(n,t,r,s))),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.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(s){return void this.destination.error(s)}this.active++,this._innerSub(e)}_innerSub(t){const e=new r.IY(this),n=this.destination;n.add(e);const s=(0,r.ft)(t,e);s!==e&&n.add(s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?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 i}});var s=n(7393);function i(){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 s=new o(t,n),i=e.subscribe(s);return s.closed||(s.connection=n.connect()),i}}class o extends s.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,s=t._connection;this.connection=null,!s||n&&s!==n||s.unsubscribe()}}},9761:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var s=n(8071),i=n(4869);function r(...t){const e=t[t.length-1];return(0,i.K)(e)?(t.pop(),n=>(0,s.z)(t,n,e)):e=>(0,s.z)(t,e)}},3190:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var s=n(8002),i=n(4402),r=n(5345);function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>(0,i.D)(t(n,r)).pipe((0,s.U)((t,s)=>e(n,t,r,s))))):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(s){return void this.destination.error(s)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.IY(this),s=this.destination;s.add(n),this.innerSubscription=(0,r.ft)(t,n),this.innerSubscription!==n&&s.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 s=n(7393),i=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 i.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends s.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 i}});var s=n(5345);function i(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),i=(0,s.ft)(this.notifier,new s.IY(n));return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class o extends s.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 s=n(7393);function i(){}var r=n(9105);function o(t,e,n){return function(s){return s.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 s.L{constructor(t,e,n,s){super(t),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=n||i,this._tapComplete=s||i,(0,r.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||i,this._tapError=e.error||i,this._tapComplete=e.complete||i)}_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(t){return void this.destination.error(t)}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 s=n(7574),i=n(5319);function r(t,e){return new s.y(n=>{const s=new i.w;let r=0;return s.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||s.add(this.schedule())):n.complete()})),s})}},6465:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});var s=n(5319);class i extends s.w{constructor(t,e){super()}schedule(t,e=0){return this}}class r extends i{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,s=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(s,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(s,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,s=!1;try{this.work(t)}catch(i){s=!0,n=!!i&&i||new Error(i)}if(s)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,s=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&n.splice(s,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 i}});let s=(()=>{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 i extends s{constructor(t,e=s.now){super(t,()=>i.delegate&&i.delegate!==this?i.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return i.delegate&&i.delegate!==this?i.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 s=1;const i=Promise.resolve(),r={};function o(t){return t in r&&(delete r[t],!0)}const a={setImmediate(t){const e=s++;return r[e]=!0,i.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,s=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++s<i&&(t=e.shift()));if(this.active=!1,n){for(;++s<i&&(t=e.shift());)t.unsubscribe();throw n}}}(class extends l.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?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 i}});var s=n(6465);const i=new(n(6102).v)(s.o)},377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return s}});const s="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:function(t,e,n){"use strict";n.d(e,{L:function(){return s}});const s="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});const s="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return s}});const s=(()=>{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 s}});const s=(()=>{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 s(t){setTimeout(()=>{throw t},0)}n.d(e,{z:function(){return s}})},4487:function(t,e,n){"use strict";function s(t){return t}n.d(e,{y:function(){return s}})},9796:function(t,e,n){"use strict";n.d(e,{k:function(){return s}});const s=Array.isArray||(t=>t&&"number"==typeof t.length)},9489:function(t,e,n){"use strict";n.d(e,{z:function(){return s}});const s=t=>t&&"number"==typeof t.length&&"function"!=typeof t},9105:function(t,e,n){"use strict";function s(t){return"function"==typeof t}n.d(e,{m:function(){return s}})},1555:function(t,e,n){"use strict";function s(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return s}})},5639:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var s=n(7574);function i(t){return!!t&&(t instanceof s.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},4072:function(t,e,n){"use strict";function s(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return s}})},4869:function(t,e,n){"use strict";function s(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return s}})},7444:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var s=n(5015),i=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 u=t,t=>{const e=u[o.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,a.z)(t))return(0,s.V)(t);if((0,l.t)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i.z),t);if(t&&"function"==typeof t[r.hZ])return e=t,t=>{const n=e[r.hZ]();for(;;){let e;try{e=n.next()}catch(s){return t.error(s),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=(0,c.K)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,u}},5015:function(t,e,n){"use strict";n.d(e,{V:function(){return s}});const s=t=>e=>{for(let n=0,s=t.length;n<s&&!e.closed;n++)e.next(t[n]);e.complete()}}}]);