| Server IP : 72.60.233.178 / Your IP : 216.73.216.91 Web Server : Apache System : Linux srv1210665.hstgr.cloud 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : armaladmin ( 1001) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/armaladmin/public_html/pm/property/ |
Upload File : |
(self.webpackChunkmaterial_dashboard_angular=self.webpackChunkmaterial_dashboard_angular||[]).push([[179],{98255:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=98255,t.exports=e},17238:function(t,e,n){"use strict";n.d(e,{l3:function(){return r},_j:function(){return i},LC:function(){return s},ZN:function(){return _},jt:function(){return a},pV:function(){return p},F4:function(){return h},IO:function(){return f},vP:function(){return l},EY:function(){return m},SB:function(){return u},oB:function(){return c},eR:function(){return d},X$:function(){return o},ZE:function(){return b},k1:function(){return y}});class i{}class s{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function d(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t,e){return{type:12,timings:t,animation:e}}function g(t){Promise.resolve(null).then(t)}class _{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(){g(()=>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 b{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const s=this.players.length;0==s?g(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const y="!"},19238:function(t,e,n){"use strict";n.d(e,{rt:function(){return st},s1:function(){return I},$s:function(){return D},Qr:function(){return W},kH:function(){return J},mK:function(){return V},Em:function(){return F},tE:function(){return X},qV:function(){return B},qm:function(){return it},Kd:function(){return $},X6:function(){return Y},yG:function(){return U}});var i=n(38583),s=n(37716),r=n(79765),o=n(10826),a=n(26215),l=n(25917),c=n(36461),u=n(68307),h=n(54395),d=n(45435),p=n(88002),f=n(15257),m=n(13653),g=n(87519),_=n(46782),b=n(39490),y=n(80521),v=n(18553);function w(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}const C="cdk-describedby-message-container",x="cdk-describedby-message",S="cdk-describedby-host";let E=0;const k=new Map;let A=null,D=(()=>{class t{constructor(t){this._document=t}describe(t,e,n){if(!this._canBeDescribed(t,e))return;const i=O(e,n);"string"!=typeof e?(T(e),k.set(i,{messageElement:e,referenceCount:0})):k.has(i)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,e,n){if(!e||!this._isElementNode(t))return;const i=O(e,n);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){const t=k.get(i);t&&0===t.referenceCount&&this._deleteMessageElement(i)}A&&0===A.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll(`[${S}]`);for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute(S);A&&this._deleteMessagesContainer(),k.clear()}_createMessageElement(t,e){const n=this._document.createElement("div");T(n),n.textContent=t,e&&n.setAttribute("role",e),this._createMessagesContainer(),A.appendChild(n),k.set(O(t,e),{messageElement:n,referenceCount:0})}_deleteMessageElement(t){const e=k.get(t),n=e&&e.messageElement;A&&n&&A.removeChild(n),k.delete(t)}_createMessagesContainer(){if(!A){const t=this._document.getElementById(C);t&&t.parentNode&&t.parentNode.removeChild(t),A=this._document.createElement("div"),A.id=C,A.style.visibility="hidden",A.classList.add("cdk-visually-hidden"),this._document.body.appendChild(A)}}_deleteMessagesContainer(){A&&A.parentNode&&(A.parentNode.removeChild(A),A=null)}_removeCdkDescribedByReferenceIds(t){const e=w(t,"aria-describedby").filter(t=>0!=t.indexOf(x));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=k.get(e);(function(t,e,n){const i=w(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))})(t,"aria-describedby",n.messageElement.id),t.setAttribute(S,""),n.referenceCount++}_removeMessageReference(t,e){const n=k.get(e);n.referenceCount--,function(t,e,n){const i=w(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute(S)}_isElementDescribedByMessage(t,e){const n=w(t,"aria-describedby"),i=k.get(e),s=i&&i.messageElement.id;return!!s&&-1!=n.indexOf(s)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":`${e}`.trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.K0))},token:t,providedIn:"root"}),t})();function O(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function T(t){t.id||(t.id=`${x}-${E++}`)}class R{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.xQ,this._typeaheadSubscription=o.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new r.xQ,this.change=new r.xQ,t instanceof s.n_E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,u.b)(t=>this._pressedLetters.push(t)),(0,h.b)(t),(0,d.h)(()=>this._pressedLetters.length>0),(0,p.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const i=(this._activeItemIndex+n)%e.length,s=e[i];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(i);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),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class I extends R{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class F extends R{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 L=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}(function(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(t));if(e&&(-1===M(e)||!this.isVisible(e)))return!1;let n=t.nodeName.toLowerCase(),i=M(t);return t.hasAttribute("contenteditable")?-1!==i:!("iframe"===n||"object"===n||this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||P(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(y.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(y.t4))},token:t,providedIn:"root"}),t})();function P(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 M(t){if(!P(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class N{constructor(t,e,n,i,s=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<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,f.q)(1)).subscribe(t)}}let B=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new N(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(L),s.LFG(s.R0b),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(L),s.LFG(s.R0b),s.LFG(i.K0))},token:t,providedIn:"root"}),t})(),V=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=(0,b.Ig)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=(0,b.Ig)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,y.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(B),s.Y36(i.K0))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[s.TTD]}),t})();function Y(t){return 0===t.offsetX&&0===t.offsetY}function U(t){const e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&∈const j=new s.OlP("cdk-input-modality-detector-options"),z={ignoreKeys:[c.zL,c.jx,c.b2,c.MW,c.JU]},q=(0,y.i$)({passive:!0,capture:!0});let G=(()=>{class t{constructor(t,e,n,i){this._platform=t,this._mostRecentTarget=null,this._modality=new a.X(null),this._lastTouchMs=0,this._onKeydown=t=>{var e,n;(null===(n=null===(e=this._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some(e=>e===t.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,y.sA)(t))},this._onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Y(t)?"keyboard":"mouse"),this._mostRecentTarget=(0,y.sA)(t))},this._onTouchstart=t=>{U(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,y.sA)(t))},this._options=Object.assign(Object.assign({},z),i),this.modalityDetected=this._modality.pipe((0,m.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,g.x)()),t.isBrowser&&e.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,q),n.addEventListener("mousedown",this._onMousedown,q),n.addEventListener("touchstart",this._onTouchstart,q)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){!this._platform.isBrowser||(document.removeEventListener("keydown",this._onKeydown,q),document.removeEventListener("mousedown",this._onMousedown,q),document.removeEventListener("touchstart",this._onTouchstart,q))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(y.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(j,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(y.t4),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(j,8))},token:t,providedIn:"root"}),t})();const H=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Z=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let $=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[i,s]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==s&&n&&(s=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div");for(let i=0;i<e.length;i++)e[i].parentNode.removeChild(e[i]);return n.classList.add(t),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(H,8),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(Z,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(H,8),s.LFG(s.R0b),s.LFG(i.K0),s.LFG(Z,8))},token:t,providedIn:"root"}),t})(),W=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36($),s.Y36(v.yq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();const Q=new s.OlP("cdk-focus-monitor-default-options"),K=(0,y.i$)({passive:!0,capture:!0});let X=(()=>{class t{constructor(t,e,n,i,s){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new r.xQ,this._rootNodeFocusAndBlurListener=t=>{const e=(0,y.sA)(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=i,this._detectionMode=(null==s?void 0:s.detectionMode)||0}monitor(t,e=!1){const n=(0,b.fI)(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,l.of)(null);const i=(0,y.kV)(n)||this._getDocument(),s=this._elementInfo.get(n);if(s)return e&&(s.checkChildren=!0),s.subject;const o={checkChildren:e,subject:new r.xQ,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=(0,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 i=(0,b.fI)(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOrigin(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOrigin(t,e=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&e,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,e){const n=this._elementInfo.get(e),i=(0,y.sA)(t);!n||!n.checkChildren&&e!==i||this._originChanged(e,this._getFocusOrigin(i),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,K),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,K)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,_.R)(this._stopInputModalityDetector)).subscribe(t=>{this._setOrigin(t,!0)}))}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,K),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,K),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(y.t4),s.LFG(G),s.LFG(i.K0,8),s.LFG(Q,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(y.t4),s.LFG(G),s.LFG(i.K0,8),s.LFG(Q,8))},token:t,providedIn:"root"}),t})(),J=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new s.vpe}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(X))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const tt="cdk-high-contrast-black-on-white",et="cdk-high-contrast-white-on-black",nt="cdk-high-contrast-active";let it=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(nt),t.remove(tt),t.remove(et),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add(nt),t.add(tt)):2===e&&(t.add(nt),t.add(et))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(y.t4),s.LFG(i.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(y.t4),s.LFG(i.K0))},token:t,providedIn:"root"}),t})(),st=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(it))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[y.ud,v.Q8]]}),t})()},70946:function(t,e,n){"use strict";n.d(e,{vT:function(){return a},Is:function(){return o}});var i=n(37716),s=n(38583);const r=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(s.K0)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.vpe,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(r,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},38345:function(t,e,n){"use strict";n.d(e,{P3:function(){return l},Ov:function(){return h},A8:function(){return d},yy:function(){return c},eX:function(){return u},k:function(){return p},Z9:function(){return a}});var i=n(95639),s=n(25917),r=n(79765),o=n(37716);function a(t){return t&&"function"==typeof t.connect}class l extends class{}{constructor(t){super(),this._data=t}connect(){return(0,i.b)(this._data)?this._data:(0,s.of)(this._data)}disconnect(){}}class c{applyChanges(t,e,n,i,s){t.forEachOperation((t,i,r)=>{let o,a;if(null==t.previousIndex){const s=n(t,i,r);o=e.createEmbeddedView(s.templateRef,s.context,s.index),a=1}else null==r?(e.remove(i),a=3):(o=e.get(i),e.move(o,r),a=2);s&&s({context:null==o?void 0:o.context,operation:a,record:t})})}detach(){}}class u{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,s){t.forEachOperation((t,r,o)=>{let a,l;null==t.previousIndex?(a=this._insertView(()=>n(t,r,o),o,e,i(t)),l=a?1:0):null==o?(this._detachAndCacheView(r,e),l=3):(a=this._moveView(r,o,e,i(t)),l=2),s&&s({context:null==a?void 0:a.context,operation:l,record:t})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,n,i){const s=this._insertViewFromCache(e,n);if(s)return void(s.context.$implicit=i);const r=t();return n.createEmbeddedView(r.templateRef,r.context,r.index)}_detachAndCacheView(t,e){const n=e.detach(t);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const s=n.get(t);return n.move(s,e),s.context.$implicit=i,s}_maybeCacheView(t,e){if(this._viewCache.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 h{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){}}let d=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const p=new o.OlP("_ViewRepeater")},36461:function(t,e,n){"use strict";n.d(e,{A:function(){return C},zL:function(){return l},ZH:function(){return i},jx:function(){return a},yY:function(){return y},JH:function(){return b},uR:function(){return p},K5:function(){return r},hY:function(){return c},Sd:function(){return f},oh:function(){return m},b2:function(){return E},MW:function(){return S},aO:function(){return w},VM:function(){return d},Ku:function(){return h},SV:function(){return _},JU:function(){return o},L_:function(){return u},Mf:function(){return s},LH:function(){return g},Z:function(){return x},xE:function(){return v},Vb:function(){return k}});const i=8,s=9,r=13,o=16,a=17,l=18,c=27,u=32,h=33,d=34,p=35,f=36,m=37,g=38,_=39,b=40,y=46,v=48,w=57,C=65,x=90,S=91,E=224;function k(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},65072:function(t,e,n){"use strict";n.d(e,{Yg:function(){return v},u3:function(){return C}});var i=n(37716),s=n(39490),r=n(79765),o=n(9112),a=n(29923),l=n(39897),c=n(15257),u=n(13653),h=n(54395),d=n(88002),p=n(39761),f=n(46782),m=n(80521);const g=new Set;let _,b=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):y}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!g.has(t))try{_||(_=document.createElement("style"),_.setAttribute("type","text/css"),document.head.appendChild(_)),_.sheet&&(_.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),g.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(m.t4))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(m.t4))},token:t,providedIn:"root"}),t})();function y(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let v=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new r.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return w((0,s.Eq)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=w((0,s.Eq)(t)).map(t=>this._registerQuery(t).observable);let n=(0,o.aj)(e);return n=(0,a.z)(n.pipe((0,c.q)(1)),n.pipe((0,u.T)(1),(0,h.b)(0))),n.pipe((0,d.U)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new l.y(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe((0,p.O)(e),(0,d.U)(({matches:e})=>({query:t,matches:e})),(0,f.R)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(b),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(b),i.LFG(i.R0b))},token:t,providedIn:"root"}),t})();function w(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const C={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},18553:function(t,e,n){"use strict";n.d(e,{wD:function(){return u},yq:function(){return c},Q8:function(){return h}});var i=n(39490),s=n(37716),r=n(39897),o=n(79765),a=n(54395);let l=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=(0,i.fI)(t);return new r.y(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.xQ,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(l))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(l))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,i.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=(0,i.su)(t),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe((0,a.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(c),s.Y36(s.SBq),s.Y36(s.R0b))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[l]}),t})()},58203:function(t,e,n){"use strict";n.d(e,{pI:function(){return Q},xu:function(){return W},_G:function(){return N},aV:function(){return H},X_:function(){return E},Xj:function(){return F},U8:function(){return X}});var i=n(71386),s=n(37716),r=n(80521),o=n(70946),a=n(38583),l=n(39490),c=n(87636),u=n(79765),h=n(10826),d=n(66682),p=n(15257),f=n(46782),m=n(70409),g=n(36461);const _=(0,r.Mq)();class b{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,l.HM)(-this._previousScrollPosition.left),t.style.top=(0,l.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),_&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_&&(e.scrollBehavior=i,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class y{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class v{enable(){}disable(){}attach(){}}function w(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function C(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class x{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();w(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 S=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new v,this.close=t=>new y(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new b(this._viewportRuler,this._document),this.reposition=t=>new x(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.mF),s.LFG(i.rL),s.LFG(s.R0b),s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.mF),s.LFG(i.rL),s.LFG(s.R0b),s.LFG(a.K0))},token:t,providedIn:"root"}),t})();class E{constructor(t){if(this.scrollStrategy=new v,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 k{constructor(t,e,n,i,s){this.offsetX=n,this.offsetY=i,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class A{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let D=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),O=(()=>{class t extends D{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0))},token:t,providedIn:"root"}),t})(),T=(()=>{class t extends D{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=(0,r.sA)(t),n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const s=n[i];if(!(s._outsidePointerEvents.observers.length<1)&&s.hasAttached()){if(s.overlayElement.contains(e))break;s._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0),s.LFG(r.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0),s.LFG(r.t4))},token:t,providedIn:"root"}),t})();const R="undefined"!=typeof window?window:{},I=void 0!==R.__karma__&&!!R.__karma__||void 0!==R.jasmine&&!!R.jasmine||void 0!==R.jest&&!!R.jest||void 0!==R.Mocha&&!!R.Mocha;let F=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||I){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const e=this._document.createElement("div");e.classList.add(t),I?e.setAttribute("platform","test"):this._platform.isBrowser||e.setAttribute("platform","server"),this._document.body.appendChild(e),this._containerElement=e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(a.K0),s.LFG(r.t4))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(a.K0),s.LFG(r.t4))},token:t,providedIn:"root"}),t})();class L{constructor(t,e,n,i,s,r,o,a,l){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=s,this._keyboardDispatcher=r,this._document=o,this._location=a,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new u.xQ,this._attachments=new u.xQ,this._detachments=new u.xQ,this._locationChanges=h.w.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEvents=new u.xQ,this._outsidePointerEvents=new u.xQ,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=(0,l.HM)(this._config.width),t.height=(0,l.HM)(this._config.height),t.minWidth=(0,l.HM)(this._config.minWidth),t.minHeight=(0,l.HM)(this._config.minHeight),t.maxWidth=(0,l.HM)(this._config.maxWidth),t.maxHeight=(0,l.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(!t)return;let e,n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;(0,l.Eq)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,f.R)((0,d.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const P="cdk-overlay-connected-position-bounding-box",M=/([A-Za-z%]+)$/;class N{constructor(t,e,n,i,s){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.xQ,this._resizeSubscription=h.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(P),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let s;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),l=this._getOverlayFit(a,e,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!s||s.overlayFit.visibleArea<l.visibleArea)&&(s={overlayFit:l,overlayPoint:a,originPoint:o,position:r,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&B(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(P),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;n="start"==e.originX?i:s}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,s;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+s}}_getOverlayFit(t,e,n,i){const s=Y(e);let{x:r,y:o}=t,a=this._getOffset(i,"x"),l=this._getOffset(i,"y");a&&(r+=a),l&&(o+=l);let c=0-o,u=o+s.height-n.height,h=this._subtractOverflows(s.width,0-r,r+s.width-n.width),d=this._subtractOverflows(s.height,c,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:s.width*s.height===p,fitsInViewportVertically:d===s.height,fitsInViewportHorizontally:h==s.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,s=n.right-e.x,r=V(this._overlayRef.getConfig().minHeight),o=V(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=r&&r<=i)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=Y(e),s=this._viewportRect,r=Math.max(t.x+i.width-s.width,0),o=Math.max(t.y+i.height-s.height,0),a=Math.max(s.top-n.top-t.y,0),l=Math.max(s.left-n.left-t.x,0);let c=0,u=0;return c=i.width<=s.width?l||-r:t.x<this._viewportMargin?s.left-n.left-t.x:0,u=i.height<=s.height?a||-o:t.y<this._viewportMargin?s.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 A(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let s=0;s<e.length;s++)e[s].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let s,r,o,a,l,c;if("top"===e.overlayY)r=t.y,s=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,s=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;s=2*e,r=t.y-e,s>i&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:r,left:l,bottom:o,right:c,width:a,height:s}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=(0,l.HM)(n.height),i.top=(0,l.HM)(n.top),i.bottom=(0,l.HM)(n.bottom),i.width=(0,l.HM)(n.width),i.left=(0,l.HM)(n.left),i.right=(0,l.HM)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=(0,l.HM)(t)),s&&(i.maxWidth=(0,l.HM)(s))}this._lastBoundingBoxSize=n,B(this._boundingBox.style,i)}_resetBoundingBoxStyles(){B(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){B(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();B(n,this._getExactOverlayY(e,t,i)),B(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",a=this._getOffset(e,"x"),c=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),c&&(o+=`translateY(${c}px)`),n.transform=o.trim(),r.maxHeight&&(i?n.maxHeight=(0,l.HM)(r.maxHeight):s&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=(0,l.HM)(r.maxWidth):s&&(n.maxWidth="")),B(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=r,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=(0,l.HM)(s.y),i}_getExactOverlayX(t,e,n){let i,s={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?s.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":s.left=(0,l.HM)(r.x),s}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:C(t,n),isOriginOutsideView:w(t,n),isOverlayClipped:C(e,n),isOverlayOutsideView:w(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&(0,l.Eq)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof s.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function B(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function V(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(M);return n&&"px"!==n?null:parseFloat(e)}return t||null}function Y(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 U{constructor(t,e,n,i,s,r,o){this._preferredPositions=[],this._positionStrategy=new N(n,i,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const s=new k(t,e,n,i);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const j="cdk-global-overlay-wrapper";class z{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(j),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:r,maxHeight:o}=n,a=!("100%"!==i&&"100vw"!==i||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==s&&"100vh"!==s||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(j),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,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new z}connectedTo(t,e,n){return new U(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new N(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.rL),s.LFG(a.K0),s.LFG(r.t4),s.LFG(F))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.rL),s.LFG(a.K0),s.LFG(r.t4),s.LFG(F))},token:t,providedIn:"root"}),t})(),G=0,H=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=r,this._ngZone=o,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),s=new E(t);return s.direction=s.direction||this._directionality.value,new L(i,e,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+G++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(s.z2F)),new c.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(S),s.LFG(F),s.LFG(s._Vd),s.LFG(q),s.LFG(O),s.LFG(s.zs3),s.LFG(s.R0b),s.LFG(a.K0),s.LFG(o.Is),s.LFG(a.Ye),s.LFG(T))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Z=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],$=new s.OlP("cdk-connected-overlay-scroll-strategy");let W=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),Q=(()=>{class t{constructor(t,e,n,i,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new s.vpe,this.positionChange=new s.vpe,this.attach=new s.vpe,this.detach=new s.vpe,this.overlayKeydown=new s.vpe,this.overlayOutsideClick=new s.vpe,this._templatePortal=new c.UE(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,l.Ig)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,l.Ig)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,l.Ig)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,l.Ig)(t)}get push(){return this._push}set push(t){this._push=(0,l.Ig)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Z);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===g.hY&&!this.disableClose&&!(0,g.Vb)(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new E({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,m.o)(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(H),s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36($),s.Y36(o.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[s.TTD]}),t})();const K={provide:$,deps:[H],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let X=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[H,K],imports:[[o.vT,c.eL,i.Cl],i.Cl]}),t})()},80521:function(t,e,n){"use strict";n.d(e,{t4:function(){return a},ud:function(){return l},sA:function(){return v},ht:function(){return y},kV:function(){return b},_i:function(){return _},qK:function(){return u},i$:function(){return m},Mq:function(){return g}});var i=n(37716),s=n(38583);let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(w){r=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,s.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.Lbi))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(i.Lbi))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let t=document.createElement("input");return o=new Set(c.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let h,d,p,f;function m(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}function g(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const t=Element.prototype.scrollTo;p=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return p}function _(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function b(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 y(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function v(t){return t.composedPath?t.composedPath()[0]:t.target}},87636:function(t,e,n){"use strict";n.d(e,{en:function(){return c},ig:function(){return d},Pl:function(){return p},C5:function(){return o},F0:function(){return h},u0:function(){return u},eL:function(){return f},UE:function(){return a}});var i=n(37716),s=n(38583);class r{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends r{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class a extends r{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class l extends r{constructor(t){super(),this.element=t instanceof i.SBq?t.nativeElement:t}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof l?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends c{constructor(t,e,n,i,s){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=s}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),this._attachedPortal=t,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}class h extends u{}let d=(()=>{class t extends a{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc),i.Y36(i.s_b))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.qOj]}),t})(),p=(()=>{class t extends c{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(s.K0))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},71386:function(t,e,n){"use strict";n.d(e,{PQ:function(){return g},ZD:function(){return b},mF:function(){return m},Cl:function(){return y},rL:function(){return _}});var i=n(39490),s=n(37716),r=n(79765),o=n(25917),a=n(39897),l=n(22759),c=(n(61927),n(64581),n(10826),n(95639),n(87519),n(45697)),u=n(45435),h=n(46782),d=(n(39761),n(59328),n(43190),n(47349),n(80521)),p=n(38583),f=n(70946);n(38345);let m=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new r.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 a.y(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe((0,c.e)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,o.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,u.h)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=(0,i.fI)(e),s=t.getElementRef().nativeElement;do{if(n==s)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return(0,l.R)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.R0b),s.LFG(d.t4),s.LFG(p.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(s.R0b),s.LFG(d.t4),s.LFG(p.K0,8))},token:t,providedIn:"root"}),t})(),g=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=i,this._destroyed=new r.xQ,this._elementScrolled=new a.y(t=>this.ngZone.runOutsideAngular(()=>(0,l.R)(this.elementRef.nativeElement,"scroll").pipe((0,h.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,d._i)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==(0,d._i)()?t.left=t.right:1==(0,d._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,d.Mq)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e="left",n=this.elementRef.nativeElement;if("top"==t)return n.scrollTop;if("bottom"==t)return n.scrollHeight-n.clientHeight-n.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?"right":e:"end"==t&&(t=i?e:"right"),i&&2==(0,d._i)()?t==e?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:i&&1==(0,d._i)()?t==e?n.scrollLeft+n.scrollWidth-n.clientWidth:-n.scrollLeft:t==e?n.scrollLeft:n.scrollWidth-n.clientWidth-n.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(m),s.Y36(s.R0b),s.Y36(f.Is,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),_=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new r.xQ,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe((0,c.e)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(d.t4),s.LFG(s.R0b),s.LFG(p.K0,8))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(d.t4),s.LFG(s.R0b),s.LFG(p.K0,8))},token:t,providedIn:"root"}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[f.vT,d.ud,b],f.vT,b]}),t})()},31394:function(t,e,n){"use strict";n.d(e,{be:function(){return v},KL:function(){return g},u6:function(){return _},B8:function(){return w},U5:function(){return S},st:function(){return C},po:function(){return x},gx:function(){return y}});var i=n(19238),s=n(70946),r=n(39490),o=n(36461),a=n(38583),l=n(37716),c=n(80521),u=n(79765),h=n(25917),d=n(39761),p=n(46782);function f(t,e){1&t&&l.Hsn(0)}const m=["*"];let g=(()=>{class t{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.SBq))},t.\u0275dir=l.lG2({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),_=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(l.Rgc))},t.\u0275dir=l.lG2({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),b=0;const y=new l.OlP("STEPPER_GLOBAL_OPTIONS");let v=(()=>{class t{constructor(t,e){this._stepper=t,this.interacted=!1,this.interactedStream=new l.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(t){this._editable=(0,r.Ig)(t)}get optional(){return this._optional}set optional(t){this._optional=(0,r.Ig)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=(0,r.Ig)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=(0,r.Ig)(t)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){var t;return null!==(t=this._stepperOptions.showError)&&void 0!==t?t:null!=this._customError}}return t.\u0275fac=function(e){return new(e||t)(l.Y36((0,l.Gpc)(()=>w)),l.Y36(y,8))},t.\u0275cmp=l.Xpm({type:t,selectors:[["cdk-step"]],contentQueries:function(t,e,n){if(1&t&&l.Suo(n,_,5),2&t){let t;l.iGM(t=l.CRH())&&(e.stepLabel=t.first)}},viewQuery:function(t,e){if(1&t&&l.Gf(l.Rgc,7),2&t){let t;l.iGM(t=l.CRH())&&(e.content=t.first)}},inputs:{editable:"editable",optional:"optional",completed:"completed",hasError:"hasError",stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[l.TTD],ngContentSelectors:m,decls:1,vars:0,template:function(t,e){1&t&&(l.F$t(),l.YNc(0,f,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{constructor(t,e,n,i){this._dir=t,this._changeDetectorRef=e,this._elementRef=n,this._destroyed=new u.xQ,this.steps=new l.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new l.vpe,this._orientation="horizontal",this._groupId=b++}get linear(){return this._linear}set linear(t){this._linear=(0,r.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){var e;const n=(0,r.su)(t);this.steps&&this._steps?(this._isValidIndex(t),null===(e=this.selected)||void 0===e||e._markAsInteracted(),this._selectedIndex!==n&&!this._anyControlsInvalidOrPending(n)&&(n>=this._selectedIndex||this.steps.toArray()[n].editable)&&this._updateSelectedItemIndex(t)):this._selectedIndex=n}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}ngAfterContentInit(){this._steps.changes.pipe((0,d.O)(this._steps),(0,p.R)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._keyManager=new i.Em(this._stepHeader).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,h.of)()).pipe((0,d.O)(this._layoutDirection()),(0,p.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,e="number"){const n=this.steps.toArray()[t],i=this._isCurrentStep(t);return n._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(n,i):this._getGuidelineLogic(n,i,e)}_getDefaultIndicatorLogic(t,e){return t._showError()&&t.hasError&&!e?"error":!t.completed||e?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,e,n="number"){return t._showError()&&t.hasError&&!e?"error":t.completed&&!e?"done":t.completed&&e?n:t.editable&&e?"edit":n}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const e=(0,o.Vb)(t),n=t.keyCode,i=this._keyManager;null==i.activeItemIndex||e||n!==o.L_&&n!==o.K5?i.onKeydown(t):(this.selectedIndex=i.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(t=>{const e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,e=(0,c.ht)();return t===e||t.contains(e)}_isValidIndex(t){return t>-1&&(!this.steps||t<this.steps.length)}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(s.Is,8),l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(a.K0))},t.\u0275dir=l.lG2({type:t,selectors:[["","cdkStepper",""]],contentQueries:function(t,e,n){if(1&t&&(l.Suo(n,v,5),l.Suo(n,g,5)),2&t){let t;l.iGM(t=l.CRH())&&(e._steps=t),l.iGM(t=l.CRH())&&(e._stepHeader=t)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),t})(),C=(()=>{class t{constructor(t){this._stepper=t,this.type="submit"}_handleClick(){this._stepper.next()}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(w))},t.\u0275dir=l.lG2({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(t,e){1&t&&l.NdJ("click",function(){return e._handleClick()}),2&t&&l.Ikx("type",e.type)},inputs:{type:"type"}}),t})(),x=(()=>{class t{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(w))},t.\u0275dir=l.lG2({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){1&t&&l.NdJ("click",function(){return e._handleClick()}),2&t&&l.Ikx("type",e.type)},inputs:{type:"type"}}),t})(),S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[s.vT]]}),t})()},39490:function(t,e,n){"use strict";n.d(e,{Eq:function(){return o},Ig:function(){return s},HM:function(){return a},fI:function(){return l},su:function(){return r},du:function(){return c}});var i=n(37716);function s(t){return null!=t&&"false"!=`${t}`}function r(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function o(t){return Array.isArray(t)?t:[t]}function a(t){return null==t?"":"string"==typeof t?t:`${t}px`}function l(t){return t instanceof i.SBq?t.nativeElement:t}function c(t,e=/\s+/){const n=[];if(null!=t){const i=Array.isArray(t)?t:`${t}`.split(e);for(const t of i){const e=`${t}`.trim();e&&n.push(e)}}return n}},38583:function(t,e,n){"use strict";n.d(e,{mr:function(){return v},Ov:function(){return kt},ez:function(){return It},K0:function(){return l},uU:function(){return Ot},Do:function(){return C},Nd:function(){return Tt},V_:function(){return h},Ye:function(){return x},S$:function(){return b},mk:function(){return lt},sg:function(){return ut},O5:function(){return dt},PC:function(){return yt},RF:function(){return gt},n9:function(){return _t},ED:function(){return bt},tP:function(){return vt},b0:function(){return w},lw:function(){return c},rS:function(){return Dt},EM:function(){return Mt},JF:function(){return Vt},NF:function(){return Lt},PM:function(){return Pt},w_:function(){return a},bD:function(){return Ft},q:function(){return r},Mx:function(){return at},HT:function(){return o}});var i=n(37716);let s=null;function r(){return s}function o(t){s||(s=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,i.LFG)(d)}const h=new i.OlP("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=r().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l))},t.\u0275prov=(0,i.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,i.LFG)(l))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function _(t){return t&&"?"!==t[0]?"?"+t:t}let b=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:y,token:t,providedIn:"root"}),t})();function y(t){const e=(0,i.LFG)(l).location;return new w((0,i.LFG)(c),e&&e.origin||"")}const v=new i.OlP("appBaseHref");let w=(()=>{class t extends b{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const s=this.prepareExternalUrl(n+_(i));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){const s=this.prepareExternalUrl(n+_(i));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(v,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends b{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let s=this.prepareExternalUrl(n+_(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){let s=this.prepareExternalUrl(n+_(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(v,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(E(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,E(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(b),i.LFG(c))},t.normalizeQueryParams=_,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=(0,i.Yz7)({factory:S,token:t,providedIn:"root"}),t})();function S(){return new x((0,i.LFG)(b),(0,i.LFG)(c))}function E(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))(),A=(()=>((A=A||{})[A.Format=0]="Format",A[A.Standalone=1]="Standalone",A))(),D=(()=>((D=D||{})[D.Narrow=0]="Narrow",D[D.Abbreviated=1]="Abbreviated",D[D.Wide=2]="Wide",D[D.Short=3]="Short",D))(),O=(()=>((O=O||{})[O.Short=0]="Short",O[O.Medium=1]="Medium",O[O.Long=2]="Long",O[O.Full=3]="Full",O))(),T=(()=>((T=T||{})[T.Decimal=0]="Decimal",T[T.Group=1]="Group",T[T.List=2]="List",T[T.PercentSign=3]="PercentSign",T[T.PlusSign=4]="PlusSign",T[T.MinusSign=5]="MinusSign",T[T.Exponential=6]="Exponential",T[T.SuperscriptingExponent=7]="SuperscriptingExponent",T[T.PerMille=8]="PerMille",T[T.Infinity=9]="Infinity",T[T.NaN=10]="NaN",T[T.TimeSeparator=11]="TimeSeparator",T[T.CurrencyDecimal=12]="CurrencyDecimal",T[T.CurrencyGroup=13]="CurrencyGroup",T))();function R(t,e){return N((0,i.cg1)(t)[i.wAp.DateFormat],e)}function I(t,e){return N((0,i.cg1)(t)[i.wAp.TimeFormat],e)}function F(t,e){return N((0,i.cg1)(t)[i.wAp.DateTimeFormat],e)}function L(t,e){const n=(0,i.cg1)(t),s=n[i.wAp.NumberSymbols][e];if(void 0===s){if(e===T.CurrencyDecimal)return n[i.wAp.NumberSymbols][T.Decimal];if(e===T.CurrencyGroup)return n[i.wAp.NumberSymbols][T.Group]}return s}const P=i.kL8;function M(t){if(!t[i.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[i.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function N(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function B(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const V=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Y={},U=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var j=(()=>((j=j||{})[j.Short=0]="Short",j[j.ShortGMT=1]="ShortGMT",j[j.Long=2]="Long",j[j.Extended=3]="Extended",j))(),z=(()=>((z=z||{})[z.FullYear=0]="FullYear",z[z.Month=1]="Month",z[z.Date=2]="Date",z[z.Hours=3]="Hours",z[z.Minutes=4]="Minutes",z[z.Seconds=5]="Seconds",z[z.FractionalSeconds=6]="FractionalSeconds",z[z.Day=7]="Day",z))(),q=(()=>((q=q||{})[q.DayPeriods=0]="DayPeriods",q[q.Days=1]="Days",q[q.Months=2]="Months",q[q.Eras=3]="Eras",q))();function G(t,e,n,i){let s=function(t){if(st(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,n=1,i=1]=t.split("-").map(t=>+t);return H(e,n-1,i)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(V))return function(t){const e=new Date(0);let n=0,i=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,l,c),e}(n)}const e=new Date(t);if(!st(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=Z(n,e)||e;let r,o=[];for(;e;){if(r=U.exec(e),!r){o.push(e);break}{o=o.concat(r.slice(1));const t=o.pop();if(!t)break;e=t}}let a=s.getTimezoneOffset();i&&(a=it(i,a),s=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(it(e,i)-i))}(s,i));let l="";return o.forEach(t=>{const e=function(t){if(nt[t])return nt[t];let e;switch(t){case"G":case"GG":case"GGG":e=K(q.Eras,D.Abbreviated);break;case"GGGG":e=K(q.Eras,D.Wide);break;case"GGGGG":e=K(q.Eras,D.Narrow);break;case"y":e=Q(z.FullYear,1,0,!1,!0);break;case"yy":e=Q(z.FullYear,2,0,!0,!0);break;case"yyy":e=Q(z.FullYear,3,0,!1,!0);break;case"yyyy":e=Q(z.FullYear,4,0,!1,!0);break;case"Y":e=et(1);break;case"YY":e=et(2,!0);break;case"YYY":e=et(3);break;case"YYYY":e=et(4);break;case"M":case"L":e=Q(z.Month,1,1);break;case"MM":case"LL":e=Q(z.Month,2,1);break;case"MMM":e=K(q.Months,D.Abbreviated);break;case"MMMM":e=K(q.Months,D.Wide);break;case"MMMMM":e=K(q.Months,D.Narrow);break;case"LLL":e=K(q.Months,D.Abbreviated,A.Standalone);break;case"LLLL":e=K(q.Months,D.Wide,A.Standalone);break;case"LLLLL":e=K(q.Months,D.Narrow,A.Standalone);break;case"w":e=tt(1);break;case"ww":e=tt(2);break;case"W":e=tt(1,!0);break;case"d":e=Q(z.Date,1);break;case"dd":e=Q(z.Date,2);break;case"c":case"cc":e=Q(z.Day,1);break;case"ccc":e=K(q.Days,D.Abbreviated,A.Standalone);break;case"cccc":e=K(q.Days,D.Wide,A.Standalone);break;case"ccccc":e=K(q.Days,D.Narrow,A.Standalone);break;case"cccccc":e=K(q.Days,D.Short,A.Standalone);break;case"E":case"EE":case"EEE":e=K(q.Days,D.Abbreviated);break;case"EEEE":e=K(q.Days,D.Wide);break;case"EEEEE":e=K(q.Days,D.Narrow);break;case"EEEEEE":e=K(q.Days,D.Short);break;case"a":case"aa":case"aaa":e=K(q.DayPeriods,D.Abbreviated);break;case"aaaa":e=K(q.DayPeriods,D.Wide);break;case"aaaaa":e=K(q.DayPeriods,D.Narrow);break;case"b":case"bb":case"bbb":e=K(q.DayPeriods,D.Abbreviated,A.Standalone,!0);break;case"bbbb":e=K(q.DayPeriods,D.Wide,A.Standalone,!0);break;case"bbbbb":e=K(q.DayPeriods,D.Narrow,A.Standalone,!0);break;case"B":case"BB":case"BBB":e=K(q.DayPeriods,D.Abbreviated,A.Format,!0);break;case"BBBB":e=K(q.DayPeriods,D.Wide,A.Format,!0);break;case"BBBBB":e=K(q.DayPeriods,D.Narrow,A.Format,!0);break;case"h":e=Q(z.Hours,1,-12);break;case"hh":e=Q(z.Hours,2,-12);break;case"H":e=Q(z.Hours,1);break;case"HH":e=Q(z.Hours,2);break;case"m":e=Q(z.Minutes,1);break;case"mm":e=Q(z.Minutes,2);break;case"s":e=Q(z.Seconds,1);break;case"ss":e=Q(z.Seconds,2);break;case"S":e=Q(z.FractionalSeconds,1);break;case"SS":e=Q(z.FractionalSeconds,2);break;case"SSS":e=Q(z.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=X(j.Short);break;case"ZZZZZ":e=X(j.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=X(j.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=X(j.Long);break;default:return null}return nt[t]=e,e}(t);l+=e?e(s,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function H(t,e,n){const i=new Date(0);return i.setFullYear(t,e,n),i.setHours(0,0,0),i}function Z(t,e){const n=function(t){return(0,i.cg1)(t)[i.wAp.LocaleId]}(t);if(Y[n]=Y[n]||{},Y[n][e])return Y[n][e];let s="";switch(e){case"shortDate":s=R(t,O.Short);break;case"mediumDate":s=R(t,O.Medium);break;case"longDate":s=R(t,O.Long);break;case"fullDate":s=R(t,O.Full);break;case"shortTime":s=I(t,O.Short);break;case"mediumTime":s=I(t,O.Medium);break;case"longTime":s=I(t,O.Long);break;case"fullTime":s=I(t,O.Full);break;case"short":const e=Z(t,"shortTime"),n=Z(t,"shortDate");s=$(F(t,O.Short),[e,n]);break;case"medium":const i=Z(t,"mediumTime"),r=Z(t,"mediumDate");s=$(F(t,O.Medium),[i,r]);break;case"long":const o=Z(t,"longTime"),a=Z(t,"longDate");s=$(F(t,O.Long),[o,a]);break;case"full":const l=Z(t,"fullTime"),c=Z(t,"fullDate");s=$(F(t,O.Full),[l,c])}return s&&(Y[n][e]=s),s}function $(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function W(t,e,n="-",i,s){let r="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,r=n));let o=String(t);for(;o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),r+o}function Q(t,e,n=0,i=!1,s=!1){return function(r,o){let a=function(t,e){switch(t){case z.FullYear:return e.getFullYear();case z.Month:return e.getMonth();case z.Date:return e.getDate();case z.Hours:return e.getHours();case z.Minutes:return e.getMinutes();case z.Seconds:return e.getSeconds();case z.FractionalSeconds:return e.getMilliseconds();case z.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,r);if((n>0||a>-n)&&(a+=n),t===z.Hours)0===a&&-12===n&&(a=12);else if(t===z.FractionalSeconds)return function(t,e){return W(t,3).substr(0,e)}(a,e);const l=L(o,T.MinusSign);return W(a,e,l,i,s)}}function K(t,e,n=A.Format,s=!1){return function(r,o){return function(t,e,n,s,r,o){switch(n){case q.Months:return function(t,e,n){const s=(0,i.cg1)(t),r=N([s[i.wAp.MonthsFormat],s[i.wAp.MonthsStandalone]],e);return N(r,n)}(e,r,s)[t.getMonth()];case q.Days:return function(t,e,n){const s=(0,i.cg1)(t),r=N([s[i.wAp.DaysFormat],s[i.wAp.DaysStandalone]],e);return N(r,n)}(e,r,s)[t.getDay()];case q.DayPeriods:const a=t.getHours(),l=t.getMinutes();if(o){const t=function(t){const e=(0,i.cg1)(t);return M(e),(e[i.wAp.ExtraData][2]||[]).map(t=>"string"==typeof t?B(t):[B(t[0]),B(t[1])])}(e),n=function(t,e,n){const s=(0,i.cg1)(t);M(s);const r=N([s[i.wAp.ExtraData][0],s[i.wAp.ExtraData][1]],e)||[];return N(r,n)||[]}(e,r,s),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=a>=e.hours&&l>=e.minutes,s=a<n.hours||a===n.hours&&l<n.minutes;if(e.hours<n.hours){if(i&&s)return!0}else if(i||s)return!0}else if(t.hours===a&&t.minutes===l)return!0;return!1});if(-1!==o)return n[o]}return function(t,e,n){const s=(0,i.cg1)(t),r=N([s[i.wAp.DayPeriodsFormat],s[i.wAp.DayPeriodsStandalone]],e);return N(r,n)}(e,r,s)[a<12?0:1];case q.Eras:return function(t,e){return N((0,i.cg1)(t)[i.wAp.Eras],e)}(e,s)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(r,o,t,e,n,s)}}function X(t){return function(e,n,i){const s=-1*i,r=L(n,T.MinusSign),o=s>0?Math.floor(s/60):Math.ceil(s/60);switch(t){case j.Short:return(s>=0?"+":"")+W(o,2,r)+W(Math.abs(s%60),2,r);case j.ShortGMT:return"GMT"+(s>=0?"+":"")+W(o,1,r);case j.Long:return"GMT"+(s>=0?"+":"")+W(o,2,r)+":"+W(Math.abs(s%60),2,r);case j.Extended:return 0===i?"Z":(s>=0?"+":"")+W(o,2,r)+":"+W(Math.abs(s%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function J(t){return H(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function tt(t,e=!1){return function(n,i){let s;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();s=1+Math.floor((e+t)/7)}else{const t=J(n),e=function(t){const e=H(t,0,1).getDay();return H(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();s=1+Math.round(i/6048e5)}return W(s,t,L(i,T.MinusSign))}}function et(t,e=!1){return function(n,i){return W(J(n).getFullYear(),t,L(i,T.MinusSign),e)}}const nt={};function it(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function st(t){return t instanceof Date&&!isNaN(t.valueOf())}class rt{}let ot=(()=>{class t extends rt{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(P(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.soG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function at(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}let lt=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,i.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class ct{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ut=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(t){return t.name||typeof t}(e)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new ct(null,this._ngForOf,-1,-1),null===i?void 0:i),s=new ht(t,n);e.push(s)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,i);const r=new ht(t,s);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ht{constructor(t,e){this.record=t,this.view=e}}let dt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new pt,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){ft("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){ft("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class pt{constructor(){this.$implicit=null,this.ngIf=null}}function ft(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class mt{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 gt=(()=>{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=i.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),_t=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new mt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(gt,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),bt=(()=>{class t{constructor(t,e,n){n._addDefault(new mt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(gt,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),yt=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),vt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.TTD]}),t})();function wt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,i.AaK)(t)}'`)}class Ct{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class xt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const St=new xt,Et=new Ct;let kt=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,i.QGY)(e))return St;if((0,i.F4k)(e))return Et;throw wt(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"async",type:t,pure:!1}),t})();const At=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g;let Dt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw wt(t,e);return e.replace(At,t=>t[0].toUpperCase()+t.substr(1).toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"titlecase",type:t,pure:!0}),t})(),Ot=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,s){if(null==e||""===e||e!=e)return null;try{return G(e,n,s||this.locale,i)}catch(r){throw wt(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.soG,16))},t.\u0275pipe=i.Yjl({name:"date",type:t,pure:!0}),t})(),Tt=(()=>{class t{constructor(t){this.differs=t,this.keyValues=[],this.compareFn=Rt}transform(t,e=Rt){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t),i=e!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem(t=>{this.keyValues.push(function(t,e){return{key:t,value:e}}(t.key,t.currentValue))})),(n||i)&&(this.keyValues.sort(e),this.compareFn=e),this.keyValues}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.aQg,16))},t.\u0275pipe=i.Yjl({name:"keyvalue",type:t,pure:!1}),t})();function Rt(t,e){const n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const s=String(n),r=String(i);return s==r?0:s<r?-1:1}let It=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:rt,useClass:ot}]}),t})();const Ft="browser";function Lt(t){return t===Ft}function Pt(t){return"server"===t}let Mt=(()=>{class t{}return t.\u0275prov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new Nt((0,i.LFG)(l),window)}),t})();class Nt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],i-s[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Bt(this.window.history)||Bt(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 Bt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Vt{}},91841:function(t,e,n){"use strict";n.d(e,{TP:function(){return I},eN:function(){return T},JF:function(){return z},UA:function(){return D},LE:function(){return b}});var i=n(38583),s=n(37716),r=n(25917),o=n(39897),a=n(94612),l=n(45435),c=n(88002);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return g(t)}encodeValue(t){return g(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const f=/%(\d[a-f0-9])/gi,m={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function g(t){return encodeURIComponent(t).replace(f,(t,e)=>{var n;return null!==(n=m[e])&&void 0!==n?n:t})}function _(t){return`${t}`}class b{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[s,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(s)||[];o.push(r),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new b({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(_(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(_(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class y{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function v(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function w(t){return"undefined"!=typeof Blob&&t instanceof Blob}function C(t){return"undefined"!=typeof FormData&&t instanceof FormData}class x{constructor(t,e,n,i){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.context||(this.context=new y),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 b,this.urlWithParams=e}serializeBody(){return null===this.body?null:v(this.body)||w(this.body)||C(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof b?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||C(this.body)?null:w(this.body)?this.body.type||null:v(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof b?"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,i=t.url||this.url,s=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 x(n,i,r,{params:c,headers:l,context:u,reportProgress:a,responseType:s,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 E{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class k extends E{constructor(t={}){super(t),this.type=S.ResponseHeader}clone(t={}){return new k({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class A extends E{constructor(t={}){super(t),this.type=S.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new A({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 D extends E{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 O(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 T=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof x)i=t;else{let s,r;s=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(r=n.params instanceof b?n.params:new b({fromObject:n.params})),i=new x(t,e,void 0!==n.body?n.body:null,{headers:s,context:n.context,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=(0,r.of)(i).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof x||"events"===n.observe)return s;const o=s.pipe((0,l.h)(t=>t instanceof A));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return o.pipe((0,c.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return o.pipe((0,c.U)(t=>t.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new b).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,O(n,e))}post(t,e,n={}){return this.request("POST",t,O(n,e))}put(t,e,n={}){return this.request("PUT",t,O(n,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(u))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class R{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const I=new s.OlP("HTTP_INTERCEPTORS");let F=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const L=/^\)\]\}',?\n/;let P=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new k({headers:r,status:e,statusText:i,url:o}),s},o=()=>{let{headers:i,status:s,statusText:o,url:a}=r(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(L,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new A({body:l,headers:i,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new D({error:l,headers:i,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=r(),s=new D({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(s)};let l=!1;const c=i=>{l||(e.next(r()),l=!0);let s={type:S.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===t.responseType&&!!n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type: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!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),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!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.JF))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const M=new s.OlP("XSRF_COOKIE_NAME"),N=new s.OlP("XSRF_HEADER_NAME");class B{}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,i.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0),s.LFG(s.Lbi),s.LFG(M))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Y=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null!==i&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B),s.LFG(N))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),U=(()=>{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(I,[]);this.chain=t.reduceRight((t,e)=>new R(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(h),s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),j=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Y,useClass:F}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:N,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[Y,{provide:I,useExisting:Y,multi:!0},{provide:B,useClass:V},{provide:M,useValue:"XSRF-TOKEN"},{provide:N,useValue:"X-XSRF-TOKEN"}]}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[T,{provide:u,useClass:U},P,{provide:h,useExisting:P}],imports:[[j.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},37716:function(t,e,n){"use strict";n.d(e,{deG:function(){return dn},tb:function(){return Rc},AFp:function(){return kc},ip1:function(){return Sc},CZH:function(){return Ec},hGG:function(){return Su},z2F:function(){return fu},sBO:function(){return pl},Sil:function(){return jc},_Vd:function(){return Na},aQ5:function(){return fn},EJc:function(){return Lc},SBq:function(){return Ua},qLn:function(){return ji},vpe:function(){return ec},pfw:function(){return xc},gxx:function(){return Ir},tBr:function(){return Yn},XFs:function(){return T},OlP:function(){return hn},zs3:function(){return Zr},IIB:function(){return wc},ZZ4:function(){return ol},aQg:function(){return ll},soG:function(){return Fc},YKP:function(){return xl},v3s:function(){return gu},h0i:function(){return Cl},PXZ:function(){return cu},R0b:function(){return Gc},FiY:function(){return Un},r_U:function(){return Cc},Lbi:function(){return Tc},g9A:function(){return Oc},n_E:function(){return ic},Qsj:function(){return qa},FYo:function(){return za},JOm:function(){return Zi},Tiy:function(){return Ha},q3G:function(){return Ii},PiD:function(){return jn},tp0:function(){return zn},EAV:function(){return yu},Rgc:function(){return bl},dDg:function(){return Xc},DyG:function(){return gn},GfV:function(){return Za},i9L:function(){return mn},s_b:function(){return El},ifc:function(){return M},eFA:function(){return uu},G48:function(){return ou},Gpc:function(){return p},f3M:function(){return Pn},X6Q:function(){return ru},_c5:function(){return Cu},VLi:function(){return eu},c2e:function(){return Ic},zSh:function(){return Lr},wAp:function(){return Ca},vHH:function(){return g},EiD:function(){return Ti},mCW:function(){return fi},qzn:function(){return ii},JVY:function(){return ri},pB0:function(){return ci},eBb:function(){return ai},L6k:function(){return oi},LAX:function(){return li},cg1:function(){return ya},Tjo:function(){return wu},kL8:function(){return va},yhl:function(){return si},dqk:function(){return U},sIi:function(){return io},CqO:function(){return Do},QGY:function(){return ko},F4k:function(){return Ao},RDi:function(){return At},AaK:function(){return u},z3N:function(){return ni},qOj:function(){return Wr},TTD:function(){return yt},_Bn:function(){return Fa},xp6:function(){return Ls},uIk:function(){return co},Tol:function(){return Qo},Gre:function(){return pa},ekj:function(){return Wo},Suo:function(){return mc},Xpm:function(){return X},lG2:function(){return rt},Yz7:function(){return w},cJS:function(){return C},oAB:function(){return nt},Yjl:function(){return ot},Y36:function(){return go},_UZ:function(){return wo},GkF:function(){return So},BQk:function(){return xo},ynx:function(){return Co},qZA:function(){return vo},TgZ:function(){return yo},EpF:function(){return Eo},n5z:function(){return nn},Ikx:function(){return fa},LFG:function(){return Ln},$8M:function(){return rn},NdJ:function(){return Oo},CRH:function(){return gc},kcU:function(){return we},O4$:function(){return ve},oxw:function(){return Lo},ALo:function(){return $l},lcZ:function(){return Wl},xi3:function(){return Ql},Dn7:function(){return Kl},Hsn:function(){return No},F$t:function(){return Mo},Q6J:function(){return _o},s9C:function(){return Bo},MGl:function(){return Vo},hYB:function(){return Yo},cQ8:function(){return Uo},DdM:function(){return Yl},VKq:function(){return Ul},WLB:function(){return jl},kEZ:function(){return zl},iGM:function(){return pc},MAs:function(){return mo},evT:function(){return Gi},Jf7:function(){return qi},CHM:function(){return Ht},oJD:function(){return Fi},uOi:function(){return Pi},LSH:function(){return Li},kYT:function(){return it},Udp:function(){return $o},WFA:function(){return To},d8E:function(){return ma},YNc:function(){return fo},W1O:function(){return vc},_uU:function(){return la},Oqu:function(){return ca},hij:function(){return ua},AsE:function(){return ha},lnq:function(){return da},Gf:function(){return fc}});var i=n(79765),s=n(10826),r=n(39897),o=n(66682),a=n(78345);function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).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 h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=l({__forward_ref__:l});function p(t){return t.__forward_ref__=p,t.toString=function(){return u(this())},t}function f(t){return m(t)?t():t}function m(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class g extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function _(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():_(t)}function y(t,e){const n=e?` in ${e}`:"";throw new g("201",`No provider for ${b(t)} found${n}`)}function v(t,e){null==t&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}(e,t,null,"!=")}function w(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 x(t){return S(t,k)||S(t,D)}function S(t,e){return t.hasOwnProperty(e)?t[e]:null}function E(t){return t&&(t.hasOwnProperty(A)||t.hasOwnProperty(O))?t[A]:null}const k=l({"\u0275prov":l}),A=l({"\u0275inj":l}),D=l({ngInjectableDef:l}),O=l({ngInjectorDef:l});var T=(()=>((T=T||{})[T.Default=0]="Default",T[T.Host=1]="Host",T[T.Self=2]="Self",T[T.SkipSelf=4]="SkipSelf",T[T.Optional=8]="Optional",T))();let R;function I(t){const e=R;return R=t,e}function F(t,e,n){const i=x(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&T.Optional?null:void 0!==e?e:void y(u(t),"Injector")}function L(t){return{toString:t}.toString()}var P=(()=>((P=P||{})[P.OnPush=0]="OnPush",P[P.Default=1]="Default",P))(),M=(()=>((M=M||{})[M.Emulated=0]="Emulated",M[M.None=2]="None",M[M.ShadowDom=3]="ShadowDom",M))();const N="undefined"!=typeof globalThis&&globalThis,B="undefined"!=typeof window&&window,V="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Y="undefined"!=typeof global&&global,U=N||Y||B||V,j={},z=[],q=l({"\u0275cmp":l}),G=l({"\u0275dir":l}),H=l({"\u0275pipe":l}),Z=l({"\u0275mod":l}),$=l({"\u0275loc":l}),W=l({"\u0275fac":l}),Q=l({__NG_ELEMENT_ID__:l});let K=0;function X(t){return L(()=>{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===P.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||z,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||M.Emulated,id:"c",styles:t.styles||z,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,s=t.features,r=t.pipes;return n.id+=K++,n.inputs=st(t.inputs,e),n.outputs=st(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(J):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(tt):null,n})}function J(t){return at(t)||function(t){return t[G]||null}(t)}function tt(t){return function(t){return t[H]||null}(t)}const et={};function nt(t){return L(()=>{const e={type:t.type,bootstrap:t.bootstrap||z,declarations:t.declarations||z,imports:t.imports||z,exports:t.exports||z,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(et[t.id]=t.type),e})}function it(t,e){return L(()=>{const n=lt(t,!0);n.declarations=e.declarations||z,n.imports=e.imports||z,n.exports=e.exports||z})}function st(t,e){if(null==t)return j;const n={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),n[s]=i,e&&(e[s]=r)}return n}const rt=X;function ot(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function at(t){return t[q]||null}function lt(t,e){const n=t[Z]||null;if(!n&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return n}const ct=11;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){return 0!=(512&t[2])}function _t(t,e){return t.hasOwnProperty(W)?t[W]:null}class bt{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=Ct),wt}function wt(){const t=St(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===j)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function Ct(t,e,n,i){const s=St(t)||function(t,e){return t[xt]=e}(t,{previous:j,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];r[a]=new bt(l&&l.currentValue,e,o===j),t[i]=e}yt.ngInherit=!0;const xt="__ngSimpleChanges__";function St(t){return t[xt]||null}const Et="http://www.w3.org/2000/svg";let kt;function At(t){kt=t}function Dt(){return void 0!==kt?kt:"undefined"!=typeof document?document:void 0}function Ot(t){return!!t.listen}const Tt={createRenderer:(t,e)=>Dt()};function Rt(t){for(;Array.isArray(t);)t=t[0];return t}function It(t,e){return Rt(e[t])}function Ft(t,e){return Rt(e[t.index])}function Lt(t,e){return t.data[e]}function Pt(t,e){return t[e]}function Mt(t,e){const n=e[t];return ut(n)?n:n[0]}function Nt(t){return 4==(4&t[2])}function Bt(t){return 128==(128&t[2])}function Vt(t,e){return null==e?null:t[e]}function Yt(t){t[18]=0}function Ut(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const jt={lFrame:pe(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function zt(){return jt.bindingsEnabled}function qt(){return jt.lFrame.lView}function Gt(){return jt.lFrame.tView}function Ht(t){return jt.lFrame.contextLView=t,t[8]}function Zt(){let t=$t();for(;null!==t&&64===t.type;)t=t.parent;return t}function $t(){return jt.lFrame.currentTNode}function Wt(t,e){const n=jt.lFrame;n.currentTNode=t,n.isParent=e}function Qt(){return jt.lFrame.isParent}function Kt(){jt.lFrame.isParent=!1}function Xt(){return jt.isInCheckNoChangesMode}function Jt(t){jt.isInCheckNoChangesMode=t}function te(){const t=jt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function ee(){return jt.lFrame.bindingIndex}function ne(){return jt.lFrame.bindingIndex++}function ie(t){const e=jt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function se(t,e){const n=jt.lFrame;n.bindingIndex=n.bindingRootIndex=t,re(e)}function re(t){jt.lFrame.currentDirectiveIndex=t}function oe(t){const e=jt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ae(){return jt.lFrame.currentQueryIndex}function le(t){jt.lFrame.currentQueryIndex=t}function ce(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ue(t,e,n){if(n&T.SkipSelf){let i=e,s=t;for(;!(i=i.parent,null!==i||n&T.Host||(i=ce(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;e=i,t=s}const i=jt.lFrame=de();return i.currentTNode=e,i.lView=t,!0}function he(t){const e=de(),n=t[1];jt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function de(){const t=jt.lFrame,e=null===t?null:t.child;return null===e?pe(t):e}function pe(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 fe(){const t=jt.lFrame;return jt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const me=fe;function ge(){const t=fe();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 _e(){return jt.lFrame.selectedIndex}function be(t){jt.lFrame.selectedIndex=t}function ye(){const t=jt.lFrame;return Lt(t.tView,t.selectedIndex)}function ve(){jt.lFrame.currentNamespace=Et}function we(){jt.lFrame.currentNamespace=null}function Ce(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:s,ngAfterViewInit:r,ngAfterViewChecked:o,ngOnDestroy:a}=e;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),s&&((t.contentHooks||(t.contentHooks=[])).push(n,s),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,s)),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 xe(t,e,n){ke(t,e,3,n)}function Se(t,e,n,i){(3&t[2])===n&&ke(t,e,n,i)}function Ee(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function ke(t,e,n,i){const s=null!=i?i:-1,r=e.length-1;let o=0;for(let a=void 0!==i?65535&t[18]:0;a<r;a++)if("number"==typeof e[a+1]){if(o=e[a],null!=i&&o>=i)break}else e[a]<0&&(t[18]+=65536),(o<s||-1==s)&&(Ae(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function Ae(t,e,n,i){const s=n[i]<0,r=n[i+1],o=t[s?-n[i]:n[i]];if(s){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 De{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Oe(t,e,n){const i=Ot(t);let s=0;for(;s<n.length;){const r=n[s];if("number"==typeof r){if(0!==r)break;s++;const o=n[s++],a=n[s++],l=n[s++];i?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=r,a=n[++s];Re(o)?i&&t.setProperty(e,o,a):i?t.setAttribute(e,o,a):e.setAttribute(o,a),s++}}return s}function Te(t){return 3===t||4===t||6===t}function Re(t){return 64===t.charCodeAt(0)}function Ie(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const s=e[i];"number"==typeof s?n=s:0===n||Fe(t,n,s,null,-1===n||2===n?e[++i]:null)}}return t}function Fe(t,e,n,i,s){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===i)return void(null!==s&&(t[r+1]=s));if(i===t[r+1])return void(t[r+2]=s)}r++,null!==i&&r++,null!==s&&r++}-1!==o&&(t.splice(o,0,e),r=o+1),t.splice(r++,0,n),null!==i&&t.splice(r++,0,i),null!==s&&t.splice(r++,0,s)}function Le(t){return-1!==t}function Pe(t){return 32767&t}function Me(t,e){let n=function(t){return t>>16}(t),i=e;for(;n>0;)i=i[15],n--;return i}let Ne=!0;function Be(t){const e=Ne;return Ne=t,e}let Ve=0;function Ye(t,e){const n=je(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Ue(i.data,t),Ue(e,null),Ue(i.blueprint,null));const s=ze(t,e),r=t.injectorIndex;if(Le(s)){const t=Pe(s),n=Me(s,e),i=n[1].data;for(let s=0;s<8;s++)e[r+s]=n[t+s]|i[t+s]}return e[r+8]=s,r}function Ue(t,e){t.push(0,0,0,0,0,0,0,0,e)}function je(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function ze(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,s=e;for(;null!==s;){const t=s[1],e=t.type;if(i=2===e?t.declTNode:1===e?s[6]:null,null===i)return-1;if(n++,s=s[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function qe(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Q)&&(i=n[Q]),null==i&&(i=n[Q]=Ve++);const s=255&i;e.data[t+(s>>5)]|=1<<s}(t,e,n)}function Ge(t,e,n){if(n&T.Optional)return t;y(e,"NodeInjector")}function He(t,e,n,i){if(n&T.Optional&&void 0===i&&(i=null),0==(n&(T.Self|T.Host))){const s=t[9],r=I(void 0);try{return s?s.get(e,i,n&T.Optional):F(e,i,n&T.Optional)}finally{I(r)}}return Ge(i,e,n)}function Ze(t,e,n,i=T.Default,s){if(null!==t){const r=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Q)?t[Q]:void 0;return"number"==typeof e?e>=0?255&e:We:e}(n);if("function"==typeof r){if(!ue(e,t,i))return i&T.Host?Ge(s,n,i):He(e,n,i,s);try{const t=r(i);if(null!=t||i&T.Optional)return t;y(n)}finally{me()}}else if("number"==typeof r){let s=null,o=je(t,e),a=-1,l=i&T.Host?e[16][6]:null;for((-1===o||i&T.SkipSelf)&&(a=-1===o?ze(t,e):e[o+8],-1!==a&&tn(i,!1)?(s=e[1],o=Pe(a),e=Me(a,e)):o=-1);-1!==o;){const t=e[1];if(Je(r,o,t.data)){const t=Qe(o,e,n,s,i,l);if(t!==$e)return t}a=e[o+8],-1!==a&&tn(i,e[1].data[o+8]===l)&&Je(r,o,e)?(s=t,o=Pe(a),e=Me(a,e)):o=-1}}}return He(e,n,i,s)}const $e={};function We(){return new en(Zt(),qt())}function Qe(t,e,n,i,s,r){const o=e[1],a=o.data[t+8],l=Ke(a,o,n,null==i?pt(a)&&Ne:i!=o&&0!=(3&a.type),s&T.Host&&r===a);return null!==l?Xe(e,o,l,a):$e}function Ke(t,e,n,i,s){const r=t.providerIndexes,o=e.data,a=1048575&r,l=t.directiveStart,c=r>>20,u=s?a+c:t.directiveEnd;for(let h=i?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(s){const t=o[l];if(t&&mt(t)&&t.type===n)return l}return null}function Xe(t,e,n,i){let s=t[n];const r=e.data;if(function(t){return t instanceof De}(s)){const o=s;o.resolving&&function(t,e){throw new g("200",`Circular dependency in DI detected for ${t}`)}(b(r[n]));const a=Be(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?I(o.injectImpl):null;ue(t,i,T.Default);try{s=t[n]=o.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:r}=e.type.prototype;if(i){const i=vt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{null!==l&&I(l),Be(a),o.resolving=!1,me()}}return s}function Je(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function tn(t,e){return!(t&T.Self||t&T.Host&&e)}class en{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Ze(this._tNode,this._lView,t,void 0,e)}}function nn(t){return L(()=>{const e=t.prototype.constructor,n=e[W]||sn(e),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const t=s[W]||sn(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function sn(t){return m(t)?()=>{const e=sn(f(t));return e&&e()}:_t(t)}function rn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const s=n[i];if(Te(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<t&&"string"==typeof n[i];)i++;else{if(s===e)return n[i+1];i+=2}}}return null}(Zt(),t)}const on="__parameters__",an="__prop__metadata__";function ln(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}function cn(t,e,n){return L(()=>{const i=ln(e);function s(...t){if(this instanceof s)return i.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,i){const s=t.hasOwnProperty(on)?t[on]:Object.defineProperty(t,on,{value:[]})[on];for(;s.length<=i;)s.push(null);return(s[i]=s[i]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}function un(t,e,n,i){return L(()=>{const s=ln(e);function r(...t){if(this instanceof r)return s.apply(this,t),this;const e=new r(...t);return function(n,s){const r=n.constructor,o=r.hasOwnProperty(an)?r[an]:Object.defineProperty(r,an,{value:{}})[an];o[s]=o.hasOwnProperty(s)&&o[s]||[],o[s].unshift(e),i&&i(n,s,...t)}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class hn{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=w({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const dn=new hn("AnalyzeForEntryComponents");class pn{}const fn=un("ContentChild",(t,e={})=>Object.assign({selector:t,first:!0,isViewQuery:!1,descendants:!0},e),pn),mn=un("ViewChild",(t,e)=>Object.assign({selector:t,first:!0,isViewQuery:!0,descendants:!0},e),pn),gn=Function;function _n(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),_n(i,e)):e!==t&&e.push(i)}return e}function bn(t,e){t.forEach(t=>Array.isArray(t)?bn(t,e):e(t))}function yn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function vn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function wn(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function Cn(t,e,n){let i=Sn(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let s=t.length;if(s==e)t.push(n,i);else if(1===s)t.push(i,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function xn(t,e){const n=Sn(t,e);if(n>=0)return t[1|n]}function Sn(t,e){return function(t,e,n){let i=0,s=t.length>>n;for(;s!==i;){const r=i+(s-i>>1),o=t[r<<n];if(e===o)return r<<n;o>e?s=r:i=r+1}return~(s<<n)}(t,e,1)}const En={},kn="__NG_DI_FLAG__",An="ngTempTokenPath",Dn=/\n/gm,On="__source",Tn=l({provide:String,useValue:l});let Rn;function In(t){const e=Rn;return Rn=t,e}function Fn(t,e=T.Default){if(void 0===Rn)throw new Error("inject() must be called from an injection context");return null===Rn?F(t,void 0,e):Rn.get(t,e&T.Optional?null:void 0,e)}function Ln(t,e=T.Default){return(R||Fn)(f(t),e)}const Pn=Ln;function Mn(t){const e=[];for(let n=0;n<t.length;n++){const i=f(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let t,n=T.Default;for(let e=0;e<i.length;e++){const s=i[e],r=Bn(s);"number"==typeof r?-1===r?t=s.token:n|=r:t=s}e.push(Ln(t,n))}else e.push(Ln(i))}return e}function Nn(t,e){return t[kn]=e,t.prototype[kn]=e,t}function Bn(t){return t[kn]}function Vn(t,e,n,i){const s=t[An];throw e[On]&&s.unshift(e[On]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=u(e);if(Array.isArray(e))s=e.map(u).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):u(i)))}s=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${t.replace(Dn,"\n ")}`}("\n"+t.message,s,n,i),t.ngTokenPath=s,t[An]=null,t}const Yn=Nn(cn("Inject",t=>({token:t})),-1),Un=Nn(cn("Optional"),8),jn=Nn(cn("Self"),2),zn=Nn(cn("SkipSelf"),4);let qn,Gn;function Hn(t){var e;return(null===(e=function(){if(void 0===qn&&(qn=null,U.trustedTypes))try{qn=U.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return qn}())||void 0===e?void 0:e.createHTML(t))||t}function Zn(){if(void 0===Gn&&(Gn=null,U.trustedTypes))try{Gn=U.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Gn}function $n(t){var e;return(null===(e=Zn())||void 0===e?void 0:e.createHTML(t))||t}function Wn(t){var e;return(null===(e=Zn())||void 0===e?void 0:e.createScriptURL(t))||t}class Qn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Kn extends Qn{getTypeName(){return"HTML"}}class Xn extends Qn{getTypeName(){return"Style"}}class Jn extends Qn{getTypeName(){return"Script"}}class ti extends Qn{getTypeName(){return"URL"}}class ei extends Qn{getTypeName(){return"ResourceURL"}}function ni(t){return t instanceof Qn?t.changingThisBreaksApplicationSecurity:t}function ii(t,e){const n=si(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 si(t){return t instanceof Qn&&t.getTypeName()||null}function ri(t){return new Kn(t)}function oi(t){return new Xn(t)}function ai(t){return new Jn(t)}function li(t){return new ti(t)}function ci(t){return new ei(t)}class ui{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Hn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class hi{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=Hn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Hn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).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 di=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,pi=/^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 fi(t){return(t=String(t)).match(di)||t.match(pi)?t:"unsafe:"+t}function mi(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function gi(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const _i=mi("area,br,col,hr,img,wbr"),bi=mi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yi=mi("rp,rt"),vi=gi(_i,gi(bi,mi("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")),gi(yi,mi("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")),gi(yi,bi)),wi=mi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ci=mi("srcset"),xi=gi(wi,Ci,mi("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"),mi("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")),Si=mi("script,style,template");class Ei{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(!vi.hasOwnProperty(e))return this.sanitizedSomething=!0,!Si.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let s=0;s<n.length;s++){const t=n.item(s),e=t.name,r=e.toLowerCase();if(!xi.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=t.value;wi[r]&&(o=fi(o)),Ci[r]&&(i=o,o=(i=String(i)).split(",").map(t=>fi(t.trim())).join(", ")),this.buf.push(" ",e,'="',Di(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();vi.hasOwnProperty(e)&&!_i.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Di(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 ki=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ai=/([^\#-~ |!])/g;function Di(t){return t.replace(/&/g,"&").replace(ki,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Ai,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Oi;function Ti(t,e){let n=null;try{Oi=Oi||function(t){const e=new hi(t);return function(){try{return!!(new window.DOMParser).parseFromString(Hn(""),"text/html")}catch(t){return!1}}()?new ui(e):e}(t);let i=e?String(e):"";n=Oi.getInertBodyElement(i);let s=5,r=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=r,r=n.innerHTML,n=Oi.getInertBodyElement(i)}while(i!==r);return Hn((new Ei).sanitizeChildren(Ri(n)||n))}finally{if(n){const t=Ri(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Ri(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ii=(()=>((Ii=Ii||{})[Ii.NONE=0]="NONE",Ii[Ii.HTML=1]="HTML",Ii[Ii.STYLE=2]="STYLE",Ii[Ii.SCRIPT=3]="SCRIPT",Ii[Ii.URL=4]="URL",Ii[Ii.RESOURCE_URL=5]="RESOURCE_URL",Ii))();function Fi(t){const e=Mi();return e?$n(e.sanitize(Ii.HTML,t)||""):ii(t,"HTML")?$n(ni(t)):Ti(Dt(),_(t))}function Li(t){const e=Mi();return e?e.sanitize(Ii.URL,t)||"":ii(t,"URL")?ni(t):fi(_(t))}function Pi(t){const e=Mi();if(e)return Wn(e.sanitize(Ii.RESOURCE_URL,t)||"");if(ii(t,"ResourceURL"))return Wn(ni(t));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Mi(){const t=qt();return t&&t[12]}const Ni="__ngContext__";function Bi(t,e){t[Ni]=e}function Vi(t){const e=function(t){return t[Ni]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Yi(t){return t.ngOriginalError}function Ui(t,...e){t.error(...e)}class ji{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=(s=t)&&s.ngErrorLogger||Ui;var s;i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?t.ngDebugContext||this._findContext(Yi(t)):null}_findOriginalError(t){let e=t&&Yi(t);for(;e&&Yi(e);)e=Yi(e);return e||null}}const zi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U))();function qi(t){return t.ownerDocument.defaultView}function Gi(t){return t.ownerDocument}function Hi(t){return t instanceof Function?t():t}var Zi=(()=>((Zi=Zi||{})[Zi.Important=1]="Important",Zi[Zi.DashCase=2]="DashCase",Zi))();function $i(t,e){return undefined(t,e)}function Wi(t){const e=t[3];return ht(e)?e[3]:e}function Qi(t){return Xi(t[13])}function Ki(t){return Xi(t[4])}function Xi(t){for(;null!==t&&!ht(t);)t=t[4];return t}function Ji(t,e,n,i,s){if(null!=i){let r,o=!1;ht(i)?r=i:ut(i)&&(o=!0,i=i[0]);const a=Rt(i);0===t&&null!==n?null==s?as(e,n,a):os(e,n,a,s||null,!0):1===t&&null!==n?os(e,n,a,s||null,!0):2===t?function(t,e,n){const i=cs(t,e);i&&function(t,e,n,i){Ot(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,i,s){const r=n[7];r!==Rt(n)&&Ji(e,t,i,r,s);for(let o=10;o<n.length;o++){const s=n[o];_s(s[1],s,t,e,i,r)}}(e,t,r,n,s)}}function ts(t,e,n){return Ot(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function es(t,e){const n=t[9],i=n.indexOf(e),s=e[3];1024&e[2]&&(e[2]&=-1025,Ut(s,-1)),n.splice(i,1)}function ns(t,e){if(t.length<=10)return;const n=10+e,i=t[n];if(i){const s=i[17];null!==s&&s!==t&&es(s,i),e>0&&(t[n-1][4]=i[4]);const r=vn(t,10+e);!function(t,e){_s(t,e,e[ct],2,null,null),e[0]=null,e[6]=null}(i[1],i);const o=r[19];null!==o&&o.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function is(t,e){if(!(256&e[2])){const n=e[ct];Ot(n)&&n.destroyNode&&_s(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return ss(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)&&ss(e[1],e),e=e[3];null===e&&(e=t),ut(e)&&ss(e[1],e),n=e&&e[4]}e=n}}(e)}}function ss(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i<n.length;i+=2){const t=e[n[i]];if(!(t instanceof De)){const e=n[i+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2){const i=t[e[n]],s=e[n+1];try{s.call(i)}finally{}}else try{e.call(t)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,i=e[7];let s=-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):Rt(e[t]),a=i[s=n[r+2]],l=n[r+3];"boolean"==typeof l?o.removeEventListener(n[r],a,l):l>=0?i[s=l]():i[s=-l].unsubscribe(),r+=2}else{const t=i[s=n[r+1]];n[r].call(t)}if(null!==i){for(let t=s+1;t<i.length;t++)i[t]();e[7]=null}}(t,e),1===e[1].type&&Ot(e[ct])&&e[ct].destroy();const n=e[17];if(null!==n&&ht(e[3])){n!==e[3]&&es(n,e);const i=e[19];null!==i&&i.detachView(t)}}}function rs(t,e,n){return function(t,e,n){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){const e=t.data[i.directiveStart].encapsulation;if(e===M.None||e===M.Emulated)return null}return Ft(i,n)}(t,e.parent,n)}function os(t,e,n,i,s){Ot(t)?t.insertBefore(e,n,i,s):e.insertBefore(n,i,s)}function as(t,e,n){Ot(t)?t.appendChild(e,n):e.appendChild(n)}function ls(t,e,n,i,s){null!==i?os(t,e,n,i,s):as(t,e,n)}function cs(t,e){return Ot(t)?t.parentNode(e):e.parentNode}function us(t,e,n){return hs(t,e,n)}let hs=function(t,e,n){return 40&t.type?Ft(t,n):null};function ds(t,e,n,i){const s=rs(t,i,e),r=e[ct],o=us(i.parent||e[6],i,e);if(null!=s)if(Array.isArray(n))for(let a=0;a<n.length;a++)ls(r,s,n[a],o,!1);else ls(r,s,n,o,!1)}function ps(t,e){if(null!==e){const n=e.type;if(3&n)return Ft(e,t);if(4&n)return ms(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return ps(t,n);{const n=t[e.index];return ht(n)?ms(-1,n):Rt(n)}}if(32&n)return $i(e,t)()||Rt(t[e.index]);{const n=fs(t,e);return null!==n?Array.isArray(n)?n[0]:ps(Wi(t[16]),n):ps(t,e.next)}}return null}function fs(t,e){return null!==e?t[16][6].projection[e.projection]:null}function ms(t,e){const n=10+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return ps(t,i)}return e[7]}function gs(t,e,n,i,s,r,o){for(;null!=n;){const a=i[n.index],l=n.type;if(o&&0===e&&(a&&Bi(Rt(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)gs(t,e,n.child,i,s,r,!1),Ji(e,t,s,a,r);else if(32&l){const o=$i(n,i);let l;for(;l=o();)Ji(e,t,s,l,r);Ji(e,t,s,a,r)}else 16&l?bs(t,e,i,n,s,r):Ji(e,t,s,a,r);n=o?n.projectionNext:n.next}}function _s(t,e,n,i,s,r){gs(n,i,t.firstChild,e,s,r,!1)}function bs(t,e,n,i,s,r){const o=n[16],a=o[6].projection[i.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Ji(e,t,s,a[l],r);else gs(t,e,a,o[3],s,r,!0)}function ys(t,e,n){Ot(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function vs(t,e,n){Ot(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function ws(t,e,n){let i=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===i||t.charCodeAt(s+n)<=32)return s}n=s+1}}const Cs="ng-template";function xs(t,e,n){let i=0;for(;i<t.length;){let s=t[i++];if(n&&"class"===s){if(s=t[i],-1!==ws(s.toLowerCase(),e,0))return!0}else if(1===s){for(;i<t.length&&"string"==typeof(s=t[i++]);)if(s.toLowerCase()===e)return!0;return!1}}return!1}function Ss(t){return 4===t.type&&t.value!==Cs}function Es(t,e,n){return e===(4!==t.type||n?t.value:Cs)}function ks(t,e,n){let i=4;const s=t.attrs||[],r=function(t){for(let e=0;e<t.length;e++)if(Te(t[e]))return e;return t.length}(s);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!Es(t,l,n)||""===l&&1===e.length){if(As(i))return!1;o=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==t.attrs){if(!xs(t.attrs,c,n)){if(As(i))return!1;o=!0}continue}const u=Ds(8&i?"class":l,s,Ss(t),n);if(-1===u){if(As(i))return!1;o=!0;continue}if(""!==c){let t;t=u>r?"":s[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==ws(e,c,0)||2&i&&c!==t){if(As(i))return!1;o=!0}}}}else{if(!o&&!As(i)&&!As(l))return!1;if(o&&As(l))continue;o=!1,i=l|1&i}}return As(i)||o}function As(t){return 0==(1&t)}function Ds(t,e,n,i){if(null===e)return-1;let s=0;if(i||!n){let n=!1;for(;s<e.length;){const i=e[s];if(i===t)return s;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===i)break;if(0===i){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function Os(t,e,n=!1){for(let i=0;i<e.length;i++)if(ks(t,e[i],n))return!0;return!1}function Ts(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function Rs(t,e){return t?":not("+e.trim()+")":e}function Is(t){let e=t[0],n=1,i=2,s="",r=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&i){const e=t[++n];s+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&i?s+="."+o:4&i&&(s+=" "+o);else""!==s&&!As(o)&&(e+=Rs(r,s),s=""),i=o,r=r||!As(i);n++}return""!==s&&(e+=Rs(r,s)),e}const Fs={};function Ls(t){Ps(Gt(),qt(),_e()+t,Xt())}function Ps(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&xe(e,i,n)}else{const i=t.preOrderHooks;null!==i&&Se(e,i,0,n)}be(n)}function Ms(t,e){return t<<17|e<<2}function Ns(t){return t>>17&32767}function Bs(t){return 2|t}function Vs(t){return(131068&t)>>2}function Ys(t,e){return-131069&t|e<<2}function Us(t){return 1|t}function js(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],r=n[i+1];if(-1!==r){const n=t.data[r];le(s),n.contentQueries(2,e[r],r)}}}function zs(t,e,n,i,s,r,o,a,l,c){const u=e.blueprint.slice();return u[0]=s,u[2]=140|i,Yt(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[ct]=a||t&&t[ct],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 qs(t,e,n,i,s){let r=t.data[e];if(null===r)r=function(t,e,n,i,s){const r=$t(),o=Qt(),a=t.data[e]=function(t,e,n,i,s,r){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,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,i,s);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,i,s),jt.lFrame.inI18n&&(r.flags|=64);else if(64&r.type){r.type=n,r.value=i,r.attrs=s;const t=function(){const t=jt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();r.injectorIndex=null===t?-1:t.injectorIndex}return Wt(r,!0),r}function Gs(t,e,n,i){if(0===n)return-1;const s=e.length;for(let r=0;r<n;r++)e.push(i),t.blueprint.push(i),t.data.push(null);return s}function Hs(t,e,n){he(e);try{const i=t.viewQuery;null!==i&&xr(1,i,n);const s=t.template;null!==s&&Ws(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&js(t,e),t.staticViewQueries&&xr(2,t.viewQuery,n);const r=t.components;null!==r&&function(t,e){for(let n=0;n<e.length;n++)br(t,e[n])}(e,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{e[2]&=-5,ge()}}function Zs(t,e,n,i){const s=e[2];if(256==(256&s))return;he(e);const r=Xt();try{Yt(e),function(t){jt.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Ws(t,e,n,2,i);const o=3==(3&s);if(!r)if(o){const n=t.preOrderCheckHooks;null!==n&&xe(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Se(e,n,0,null),Ee(e,0)}if(function(t){for(let e=Qi(t);null!==e;e=Ki(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],i=n[3];0==(1024&n[2])&&Ut(i,1),n[2]|=1024}}}(e),function(t){for(let e=Qi(t);null!==e;e=Ki(e))for(let t=10;t<e.length;t++){const n=e[t],i=n[1];Bt(n)&&Zs(i,n,i.template,n[8])}}(e),null!==t.contentQueries&&js(t,e),!r)if(o){const n=t.contentCheckHooks;null!==n&&xe(e,n)}else{const n=t.contentHooks;null!==n&&Se(e,n,1),Ee(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const i=n[t];if(i<0)be(~i);else{const s=i,r=n[++t],o=n[++t];se(r,s),o(2,e[s])}}}finally{be(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)gr(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&xr(2,l,i),!r)if(o){const n=t.viewCheckHooks;null!==n&&xe(e,n)}else{const n=t.viewHooks;null!==n&&Se(e,n,2),Ee(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),r||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ut(e[3],-1))}finally{ge()}}function $s(t,e,n,i){const s=e[10],r=!Xt(),o=Nt(e);try{r&&!o&&s.begin&&s.begin(),o&&Hs(t,e,i),Zs(t,e,n,i)}finally{r&&!o&&s.end&&s.end()}}function Ws(t,e,n,i,s){const r=_e(),o=2&i;try{be(-1),o&&e.length>20&&Ps(t,e,20,Xt()),n(i,s)}finally{be(r)}}function Qs(t,e,n){if(dt(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s<i;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}}function Ks(t,e,n){!zt()||(function(t,e,n,i){const s=n.directiveStart,r=n.directiveEnd;t.firstCreatePass||Ye(n,e),Bi(i,e);const o=n.initialInputs;for(let a=s;a<r;a++){const i=t.data[a],r=mt(i);r&&hr(e,n,i);const l=Xe(e,t,a,n);Bi(l,e),null!==o&&pr(0,a-s,l,i,0,o),r&&(Mt(n.index,e)[8]=l)}}(t,e,n,Ft(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,s=n.directiveEnd,r=n.index,o=jt.lFrame.currentDirectiveIndex;try{be(r);for(let n=i;n<s;n++){const i=t.data[n],s=e[n];re(n),(null!==i.hostBindings||0!==i.hostVars||null!==i.hostAttrs)&&or(i,s)}}finally{be(-1),re(o)}}(t,e,n))}function Xs(t,e,n=Ft){const i=e.localNames;if(null!==i){let s=e.index+1;for(let r=0;r<i.length;r+=2){const o=i[r+1],a=-1===o?n(e,t):t[o];t[s++]=a}}}function Js(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=tr(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function tr(t,e,n,i,s,r,o,a,l,c){const u=20+i,h=u+s,d=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:Fs);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 er(t,e,n,i){const s=Er(e);null===n?s.push(i):(s.push(n),t.firstCreatePass&&kr(t).push(i,s.length-1))}function nr(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const s=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,s):n[i]=[e,s]}return n}function ir(t,e,n,i,s,r,o,a){const l=Ft(e,n);let c,u=e.inputs;!a&&null!=u&&(c=u[i])?(Or(t,n,c,i,s),pt(e)&&function(t,e){const n=Mt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),s=null!=o?o(s,e.value||"",i):s,Ot(r)?r.setProperty(l,i,s):Re(i)||(l.setProperty?l.setProperty(i,s):l[i]=s))}function sr(t,e,n,i){let s=!1;if(zt()){const r=function(t,e,n){const i=t.directiveRegistry;let s=null;if(i)for(let r=0;r<i.length;r++){const o=i[r];Os(n,o.selectors,!1)&&(s||(s=[]),qe(Ye(n,e),t,o.type),mt(o)?(ar(t,n),s.unshift(o)):s.push(o))}return s}(t,e,n),o=null===i?null:{"":-1};if(null!==r){s=!0,cr(n,t.data.length,r.length);for(let t=0;t<r.length;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}let i=!1,a=!1,l=Gs(t,e,r.length,null);for(let s=0;s<r.length;s++){const c=r[s];n.mergedAttrs=Ie(n.mergedAttrs,c.hostAttrs),ur(t,n,e,l,c),lr(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;!i&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),i=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(t,e){const n=e.directiveEnd,i=t.data,s=e.attrs,r=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=i[l],n=t.inputs,c=null===s||Ss(e)?null:fr(n,s);r.push(c),o=nr(n,l,o),a=nr(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 i=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new g("301",`Export of name '${e[t+1]}' not found!`);i.push(e[t],s)}}}(n,i,o)}return n.mergedAttrs=Ie(n.mergedAttrs,n.attrs),s}function rr(t,e,n,i,s,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(i,s,o)}}function or(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function ar(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function lr(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;mt(e)&&(n[""]=t)}}function cr(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function ur(t,e,n,i,s){t.data[i]=s;const r=s.factory||(s.factory=_t(s.type)),o=new De(r,mt(s),null);t.blueprint[i]=o,n[i]=o,rr(t,e,0,i,Gs(t,n,s.hostVars,Fs),s)}function hr(t,e,n){const i=Ft(e,t),s=Js(n),r=t[10],o=yr(t,zs(t,s,null,n.onPush?64:16,i,e,r,r.createRenderer(i,n),null,null));t[e.index]=o}function dr(t,e,n,i,s,r){const o=Ft(t,e);!function(t,e,n,i,s,r,o){if(null==r)Ot(t)?t.removeAttribute(e,s,n):e.removeAttribute(s);else{const a=null==o?_(r):o(r,i||"",s);Ot(t)?t.setAttribute(e,s,a,n):n?e.setAttributeNS(n,s,a):e.setAttribute(s,a)}}(e[ct],o,r,t.value,n,i,s)}function pr(t,e,n,i,s,r){const o=r[e];if(null!==o){const t=i.setInput;for(let e=0;e<o.length;){const s=o[e++],r=o[e++],a=o[e++];null!==t?i.setInput(n,a,s,r):n[r]=a}}}function fr(t,e){let n=null,i=0;for(;i<e.length;){const s=e[i];if(0!==s)if(5!==s){if("number"==typeof s)break;t.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,t[s],e[i+1])),i+=2}else i+=2;else i+=4}return n}function mr(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function gr(t,e){const n=Mt(e,t);if(Bt(n)){const t=n[1];80&n[2]?Zs(t,n,t.template,n[8]):n[5]>0&&_r(n)}}function _r(t){for(let n=Qi(t);null!==n;n=Ki(n))for(let t=10;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Zs(t,e,t.template,e[8])}else e[5]>0&&_r(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const i=Mt(e[n],t);Bt(i)&&i[5]>0&&_r(i)}}function br(t,e){const n=Mt(e,t),i=n[1];(function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(i,n),Hs(i,n,n[8])}function yr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function vr(t){for(;t;){t[2]|=64;const e=Wi(t);if(gt(t)&&!e)return t;t=e}return null}function wr(t,e,n){const i=e[10];i.begin&&i.begin();try{Zs(t,e,t.template,n)}catch(s){throw Dr(e,s),s}finally{i.end&&i.end()}}function Cr(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=Vi(n),s=i[1];$s(s,i,s.template,n)}}(t[8])}function xr(t,e,n){le(0),e(t,n)}const Sr=(()=>Promise.resolve(null))();function Er(t){return t[7]||(t[7]=[])}function kr(t){return t.cleanup||(t.cleanup=[])}function Ar(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[ct]}function Dr(t,e){const n=t[9],i=n?n.get(ji,null):null;i&&i.handleError(e)}function Or(t,e,n,i,s){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,s,i,a):l[a]=s}}function Tr(t,e,n){const i=It(e,t);!function(t,e,n){Ot(t)?t.setValue(e,n):e.textContent=n}(t[ct],i,n)}function Rr(t,e,n){let i=n?t.styles:null,s=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?s=h(s,t):2==r&&(i=h(i,t+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=s:t.classesWithoutHost=s}const Ir=new hn("INJECTOR",-1);class Fr{get(t,e=En){if(e===En){const e=new Error(`NullInjectorError: No provider for ${u(t)}!`);throw e.name="NullInjectorError",e}return e}}const Lr=new hn("Set Injector scope."),Pr={},Mr={};let Nr;function Br(){return void 0===Nr&&(Nr=new Fr),Nr}function Vr(t,e=null,n=null,i){return new Yr(t,n,e||Br(),i)}class Yr{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&bn(e,n=>this.processProvider(n,t,e)),bn([t],t=>this.processInjectorType(t,[],s)),this.records.set(Ir,zr(void 0,this));const r=this.records.get(Lr);this.scope=null!=r?r.value:null,this.source=i||("object"==typeof t?null:u(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=En,n=T.Default){this.assertNotDestroyed();const i=In(this),s=I(void 0);try{if(!(n&T.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof hn)&&x(t);e=n&&this.injectableDefInScope(n)?zr(Ur(t),Pr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&T.Self?Br():this.parent).get(t,e=n&T.Optional&&e===En?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[An]=o[An]||[]).unshift(u(t)),i)throw o;return Vn(o,t,"R3InjectorError",this.source)}throw o}finally{I(s),In(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(u(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=f(t)))return!1;let i=E(t);const s=null==i&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==n.indexOf(r);if(void 0!==s&&(i=E(s)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(r);try{bn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];bn(i,t=>this.processProvider(t,n,i||z))}}this.injectorDefTypes.add(r);const a=_t(r)||(()=>new r);this.records.set(r,zr(a,Pr));const l=i.providers;if(null!=l&&!o){const e=t;bn(l,t=>this.processProvider(t,e,l))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let i=Gr(t=f(t))?t:f(t&&t.provide);const s=qr(r=t)?zr(void 0,r.useValue):zr(jr(r),Pr);var r;if(Gr(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=zr(void 0,Pr,!0),e.factory=()=>Mn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,s)}hydrate(t,e){return e.value===Pr&&(e.value=Mr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value;var n}injectableDefInScope(t){if(!t.providedIn)return!1;const e=f(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Ur(t){const e=x(t),n=null!==e?e.factory:_t(t);if(null!==n)return n;if(t instanceof hn)throw new Error(`Token ${u(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=wn(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[k]||t[D]);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 jr(t,e,n){let i;if(Gr(t)){const e=f(t);return _t(e)||Ur(e)}if(qr(t))i=()=>f(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Mn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>Ln(f(t.useExisting));else{const e=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return _t(e)||Ur(e);i=()=>new e(...Mn(t.deps))}return i}function zr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function qr(t){return null!==t&&"object"==typeof t&&Tn in t}function Gr(t){return"function"==typeof t}const Hr=function(t,e,n){return function(t,e=null,n=null,i){const s=Vr(t,e,n,i);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};class Zr{static create(t,e){return Array.isArray(t)?Hr(t,e,""):Hr(t.providers,t.parent,t.name||"")}}function $r(t,e){Ce(Vi(t)[1],Zt())}function Wr(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const i=[t];for(;e;){let s;if(mt(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){i.push(s);const e=t;e.inputs=Qr(t.inputs),e.declaredInputs=Qr(t.declaredInputs),e.outputs=Qr(t.outputs);const n=s.hostBindings;n&&Jr(t,n);const r=s.viewQuery,o=s.contentQueries;if(r&&Kr(t,r),o&&Xr(t,o),c(t.inputs,s.inputs),c(t.declaredInputs,s.declaredInputs),c(t.outputs,s.outputs),mt(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let i=0;i<e.length;i++){const s=e[i];s&&s.ngInherit&&s(t),s===Wr&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const s=t[i];s.hostVars=e+=s.hostVars,s.hostAttrs=Ie(s.hostAttrs,n=Ie(n,s.hostAttrs))}}(i)}function Qr(t){return t===j?{}:t===z?[]:t}function Kr(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Xr(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,s)=>{e(t,i,s),n(t,i,s)}:e}function Jr(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}Zr.THROW_IF_NOT_FOUND=En,Zr.NULL=new Fr,Zr.\u0275prov=w({token:Zr,providedIn:"any",factory:()=>Ln(Ir)}),Zr.__NG_ELEMENT_ID__=-1;let to=null;function eo(){if(!to){const t=U.Symbol;if(t&&t.iterator)to=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&&(to=n)}}}return to}class no{constructor(t){this.wrapped=t}static wrap(t){return new no(t)}static unwrap(t){return no.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof no}}function io(t){return!!so(t)&&(Array.isArray(t)||!(t instanceof Map)&&eo()in t)}function so(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function ro(t,e,n){return t[e]=n}function oo(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function ao(t,e,n,i){const s=oo(t,e,n);return oo(t,e+1,i)||s}function lo(t,e,n,i,s){const r=ao(t,e,n,i);return oo(t,e+2,s)||r}function co(t,e,n,i){const s=qt();return oo(s,ne(),e)&&(Gt(),dr(ye(),s,t,e,n,i)),co}function uo(t,e,n,i){return oo(t,ne(),n)?e+_(n)+i:Fs}function ho(t,e,n,i,s,r){const o=ao(t,ee(),n,s);return ie(2),o?e+_(n)+i+_(s)+r:Fs}function po(t,e,n,i,s,r,o,a){const l=lo(t,ee(),n,s,o);return ie(3),l?e+_(n)+i+_(s)+r+_(o)+a:Fs}function fo(t,e,n,i,s,r,o,a){const l=qt(),c=Gt(),u=t+20,h=c.firstCreatePass?function(t,e,n,i,s,r,o,a,l){const c=e.consts,u=qs(e,t,4,o||null,Vt(c,a));sr(e,n,u,Vt(c,l)),Ce(e,u);const h=u.tViews=tr(2,u,i,s,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,i,s,r,o):c.data[u];Wt(h,!1);const d=l[ct].createComment("");ds(c,l,d,h),Bi(d,l),yr(l,l[u]=mr(d,l,d,h)),ft(h)&&Ks(c,l,h),null!=o&&Xs(l,h,a)}function mo(t){return Pt(jt.lFrame.contextLView,20+t)}function go(t,e=T.Default){const n=qt();return null===n?Ln(t,e):Ze(Zt(),n,f(t),e)}function _o(t,e,n){const i=qt();return oo(i,ne(),e)&&ir(Gt(),ye(),i,t,e,i[ct],n,!1),_o}function bo(t,e,n,i,s){const r=s?"class":"style";Or(t,n,e.inputs[r],r,i)}function yo(t,e,n,i){const s=qt(),r=Gt(),o=20+t,a=s[ct],l=s[o]=ts(a,e,jt.lFrame.currentNamespace),c=r.firstCreatePass?function(t,e,n,i,s,r,o){const a=e.consts,l=qs(e,t,2,s,Vt(a,r));return sr(e,n,l,Vt(a,o)),null!==l.attrs&&Rr(l,l.attrs,!1),null!==l.mergedAttrs&&Rr(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,r,s,0,e,n,i):r.data[o];Wt(c,!0);const u=c.mergedAttrs;null!==u&&Oe(a,l,u);const h=c.classes;null!==h&&vs(a,l,h);const d=c.styles;null!==d&&ys(a,l,d),64!=(64&c.flags)&&ds(r,s,l,c),0===jt.lFrame.elementDepthCount&&Bi(l,s),jt.lFrame.elementDepthCount++,ft(c)&&(Ks(r,s,c),Qs(r,c,s)),null!==i&&Xs(s,c)}function vo(){let t=Zt();Qt()?Kt():(t=t.parent,Wt(t,!1));const e=t;jt.lFrame.elementDepthCount--;const n=Gt();n.firstCreatePass&&(Ce(n,t),dt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&bo(n,e,qt(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&bo(n,e,qt(),e.stylesWithoutHost,!1)}function wo(t,e,n,i){yo(t,e,n,i),vo()}function Co(t,e,n){const i=qt(),s=Gt(),r=t+20,o=s.firstCreatePass?function(t,e,n,i,s){const r=e.consts,o=Vt(r,i),a=qs(e,t,8,"ng-container",o);return null!==o&&Rr(a,o,!0),sr(e,n,a,Vt(r,s)),null!==e.queries&&e.queries.elementStart(e,a),a}(r,s,i,e,n):s.data[r];Wt(o,!0);const a=i[r]=i[ct].createComment("");ds(s,i,a,o),Bi(a,i),ft(o)&&(Ks(s,i,o),Qs(s,o,i)),null!=n&&Xs(i,o)}function xo(){let t=Zt();const e=Gt();Qt()?Kt():(t=t.parent,Wt(t,!1)),e.firstCreatePass&&(Ce(e,t),dt(t)&&e.queries.elementEnd(t))}function So(t,e,n){Co(t,e,n),xo()}function Eo(){return qt()}function ko(t){return!!t&&"function"==typeof t.then}function Ao(t){return!!t&&"function"==typeof t.subscribe}const Do=Ao;function Oo(t,e,n,i){const s=qt(),r=Gt(),o=Zt();return Ro(r,s,s[ct],o,t,e,!!n,i),Oo}function To(t,e){const n=Zt(),i=qt(),s=Gt();return Ro(s,i,Ar(oe(s.data),n,i),n,t,e,!1),To}function Ro(t,e,n,i,s,r,o,a){const l=ft(i),c=t.firstCreatePass&&kr(t),u=e[8],h=Er(e);let d=!0;if(3&i.type||a){const p=Ft(i,e),f=a?a(p):p,m=h.length,g=a?t=>a(Rt(t[i.index])):i.index;if(Ot(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const s=t.cleanup;if(null!=s)for(let r=0;r<s.length-1;r+=2){const t=s[r];if(t===n&&s[r+1]===i){const t=e[7],n=s[r+2];return t.length>n?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,d=!1;else{r=Fo(i,e,u,r,!1);const t=n.listen(f,s,r);h.push(r,t),c&&c.push(s,g,m,m+1)}}else r=Fo(i,e,u,r,!0),f.addEventListener(s,r,o),h.push(r),c&&c.push(s,g,m,o)}else r=Fo(i,e,u,r,!1);const p=i.outputs;let f;if(d&&null!==p&&(f=p[s])){const t=f.length;if(t)for(let n=0;n<t;n+=2){const t=e[f[n]][f[n+1]].subscribe(r),o=h.length;h.push(r,t),c&&c.push(s,i.index,o,-(o+1))}}}function Io(t,e,n,i){try{return!1!==n(i)}catch(s){return Dr(t,s),!1}}function Fo(t,e,n,i,s){return function n(r){if(r===Function)return i;const o=2&t.flags?Mt(t.index,e):e;0==(32&e[2])&&vr(o);let a=Io(e,0,i,r),l=n.__ngNextListenerFn__;for(;l;)a=Io(e,0,l,r)&&a,l=l.__ngNextListenerFn__;return s&&!1===a&&(r.preventDefault(),r.returnValue=!1),a}}function Lo(t=1){return function(t){return(jt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,jt.lFrame.contextLView))[8]}(t)}function Po(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s<e.length;s++){const r=e[s];if("*"!==r){if(null===i?Os(t,r,!0):Ts(i,r))return s}else n=s}return n}function Mo(t){const e=qt()[16][6];if(!e.projection){const n=e.projection=wn(t?t.length:1,null),i=n.slice();let s=e.child;for(;null!==s;){const e=t?Po(s,t):0;null!==e&&(i[e]?i[e].projectionNext=s:n[e]=s,i[e]=s),s=s.next}}}function No(t,e=0,n){const i=qt(),s=Gt(),r=qs(s,20+t,16,null,n||null);null===r.projection&&(r.projection=e),Kt(),64!=(64&r.flags)&&function(t,e,n){bs(e[ct],0,e,n,rs(t,n,e),us(n.parent||e[6],n,e))}(s,i,r)}function Bo(t,e,n){return Vo(t,"",e,"",n),Bo}function Vo(t,e,n,i,s){const r=qt(),o=uo(r,e,n,i);return o!==Fs&&ir(Gt(),ye(),r,t,o,r[ct],s,!1),Vo}function Yo(t,e,n,i,s,r,o){const a=qt(),l=ho(a,e,n,i,s,r);return l!==Fs&&ir(Gt(),ye(),a,t,l,a[ct],o,!1),Yo}function Uo(t,e,n,i,s,r,o,a,l){const c=qt(),u=po(c,e,n,i,s,r,o,a);return u!==Fs&&ir(Gt(),ye(),c,t,u,c[ct],l,!1),Uo}function jo(t,e,n,i,s){const r=t[n+1],o=null===e;let a=i?Ns(r):Vs(r),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];zo(t[a],e)&&(l=!0,t[a+1]=i?Us(n):Bs(n)),a=i?Ns(n):Vs(n)}l&&(t[n+1]=i?Bs(r):Us(r))}function zo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Sn(t,e)>=0}const qo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Go(t){return t.substring(qo.key,qo.keyEnd)}function Ho(t,e){const n=qo.textEnd;return n===e?-1:(e=qo.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,qo.key=e,n),Zo(t,e,n))}function Zo(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function $o(t,e,n){return Xo(t,e,n,!1),$o}function Wo(t,e){return Xo(t,e,null,!0),Wo}function Qo(t){Jo(Cn,Ko,t,!0)}function Ko(t,e){for(let n=function(t){return function(t){qo.key=0,qo.keyEnd=0,qo.value=0,qo.valueEnd=0,qo.textEnd=t.length}(t),Ho(t,Zo(t,0,qo.textEnd))}(e);n>=0;n=Ho(e,n))Cn(t,Go(e),!0)}function Xo(t,e,n,i){const s=qt(),r=Gt(),o=ie(2);r.firstUpdatePass&&ea(r,t,o,i),e!==Fs&&oo(s,o,e)&&sa(r,r.data[_e()],s,s[ct],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(ni(t)))),t}(e,n),i,o)}function Jo(t,e,n,i){const s=Gt(),r=ie(2);s.firstUpdatePass&&ea(s,null,r,i);const o=qt();if(n!==Fs&&oo(o,r,n)){const a=s.data[_e()];if(aa(a,i)&&!ta(s,r)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=h(t,n||"")),bo(s,a,o,n,i)}else!function(t,e,n,i,s,r,o,a){s===Fs&&(s=z);let l=0,c=0,u=0<s.length?s[0]:null,h=0<r.length?r[0]:null;for(;null!==u||null!==h;){const d=l<s.length?s[l+1]:void 0,p=c<r.length?r[c+1]:void 0;let f,m=null;u===h?(l+=2,c+=2,d!==p&&(m=h,f=p)):null===h||null!==u&&u<h?(l+=2,m=u):(c+=2,m=h,f=p),null!==m&&sa(t,e,n,i,m,f,o,a),u=l<s.length?s[l]:null,h=c<r.length?r[c]:null}}(s,a,o,o[ct],o[r+1],o[r+1]=function(t,e,n){if(null==n||""===n)return z;const i=[],s=ni(n);if(Array.isArray(s))for(let r=0;r<s.length;r++)t(i,s[r],!0);else if("object"==typeof s)for(const r in s)s.hasOwnProperty(r)&&t(i,r,s[r]);else"string"==typeof s&&e(i,s);return i}(t,e,n),i,r)}}function ta(t,e){return e>=t.expandoStartIndex}function ea(t,e,n,i){const s=t.data;if(null===s[n+1]){const r=s[_e()],o=ta(t,n);aa(r,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const s=oe(t);let r=i?e.residualClasses:e.residualStyles;if(null===s)0===(i?e.classBindings:e.styleBindings)&&(n=ia(n=na(null,t,e,n,i),e.attrs,i),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=na(s,t,e,n,i),null===r){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==Vs(i))return t[Ns(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=na(null,t,e,n[1],i),n=ia(n,e.attrs,i),function(t,e,n,i){t[Ns(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else r=function(t,e,n){let i;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<s;r++)i=ia(i,t[r].hostAttrs,n);return ia(i,e.attrs,n)}(t,e,i)}return void 0!==r&&(i?e.residualClasses=r:e.residualStyles=r),n}(s,r,e,i),function(t,e,n,i,s,r){let o=r?e.classBindings:e.styleBindings,a=Ns(o),l=Vs(o);t[i]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||Sn(t,c)>0)&&(u=!0)}else c=n;if(s)if(0!==l){const e=Ns(t[a+1]);t[i+1]=Ms(e,a),0!==e&&(t[e+1]=Ys(t[e+1],i)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],i)}else t[i+1]=Ms(a,0),0!==a&&(t[a+1]=Ys(t[a+1],i)),a=i;else t[i+1]=Ms(l,0),0===a?a=i:t[l+1]=Ys(t[l+1],i),l=i;u&&(t[i+1]=Bs(t[i+1])),jo(t,c,i,!0),jo(t,c,i,!1),function(t,e,n,i,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&Sn(r,e)>=0&&(n[i+1]=Us(n[i+1]))}(e,c,t,i,r),o=Ms(a,l),r?e.classBindings=o:e.styleBindings=o}(s,r,e,n,o,i)}}function na(t,e,n,i,s){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(r=e[a],i=ia(i,r.hostAttrs,s),r!==t);)a++;return null!==t&&(n.directiveStylingLast=a),i}function ia(t,e,n){const i=n?1:2;let s=-1;if(null!==e)for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?s=o:s===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Cn(t,o,!!n||e[++r]))}return void 0===t?null:t}function sa(t,e,n,i,s,r,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];oa(function(t){return 1==(1&t)}(c)?ra(l,e,n,s,Vs(c),o):void 0)||(oa(r)||function(t){return 2==(2&t)}(c)&&(r=ra(l,null,n,s,a,o)),function(t,e,n,i,s){const r=Ot(t);if(e)s?r?t.addClass(n,i):n.classList.add(i):r?t.removeClass(n,i):n.classList.remove(i);else{let e=-1===i.indexOf("-")?void 0:Zi.DashCase;if(null==s)r?t.removeStyle(n,i,e):n.style.removeProperty(i);else{const o="string"==typeof s&&s.endsWith("!important");o&&(s=s.slice(0,-10),e|=Zi.Important),r?t.setStyle(n,i,s,e):n.style.setProperty(i,s,o?"important":"")}}}(i,o,It(_e(),n),s,r))}function ra(t,e,n,i,s,r){const o=null===e;let a;for(;s>0;){const e=t[s],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let u=n[s+1];u===Fs&&(u=c?z:void 0);let h=c?xn(u,i):l===i?u:void 0;if(r&&!oa(h)&&(h=xn(e,i)),oa(h)&&(a=h,o))return a;const d=t[s+1];s=o?Ns(d):Vs(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=xn(t,i))}return a}function oa(t){return void 0!==t}function aa(t,e){return 0!=(t.flags&(e?16:32))}function la(t,e=""){const n=qt(),i=Gt(),s=t+20,r=i.firstCreatePass?qs(i,s,1,e,null):i.data[s],o=n[s]=function(t,e){return Ot(t)?t.createText(e):t.createTextNode(e)}(n[ct],e);ds(i,n,o,r),Wt(r,!1)}function ca(t){return ua("",t,""),ca}function ua(t,e,n){const i=qt(),s=uo(i,t,e,n);return s!==Fs&&Tr(i,_e(),s),ua}function ha(t,e,n,i,s){const r=qt(),o=ho(r,t,e,n,i,s);return o!==Fs&&Tr(r,_e(),o),ha}function da(t,e,n,i,s,r,o){const a=qt(),l=po(a,t,e,n,i,s,r,o);return l!==Fs&&Tr(a,_e(),l),da}function pa(t,e,n){Jo(Cn,Ko,uo(qt(),t,e,n),!0)}function fa(t,e,n){const i=qt();return oo(i,ne(),e)&&ir(Gt(),ye(),i,t,e,i[ct],n,!0),fa}function ma(t,e,n){const i=qt();if(oo(i,ne(),e)){const s=Gt(),r=ye();ir(s,r,i,t,e,Ar(oe(s.data),r,i),n,!0)}return ma}const ga=void 0;var _a=["en",[["a","p"],["AM","PM"],ga],[["AM","PM"],ga,ga],[["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"]],ga,[["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"]],ga,[["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}",ga,"{1} 'at' {0}",ga],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let ba={};function ya(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=wa(e);if(n)return n;const i=e.split("-")[0];if(n=wa(i),n)return n;if("en"===i)return _a;throw new Error(`Missing locale data for the locale "${t}".`)}function va(t){return ya(t)[Ca.PluralCase]}function wa(t){return t in ba||(ba[t]=U.ng&&U.ng.common&&U.ng.common.locales&&U.ng.common.locales[t]),ba[t]}var Ca=(()=>((Ca=Ca||{})[Ca.LocaleId=0]="LocaleId",Ca[Ca.DayPeriodsFormat=1]="DayPeriodsFormat",Ca[Ca.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ca[Ca.DaysFormat=3]="DaysFormat",Ca[Ca.DaysStandalone=4]="DaysStandalone",Ca[Ca.MonthsFormat=5]="MonthsFormat",Ca[Ca.MonthsStandalone=6]="MonthsStandalone",Ca[Ca.Eras=7]="Eras",Ca[Ca.FirstDayOfWeek=8]="FirstDayOfWeek",Ca[Ca.WeekendRange=9]="WeekendRange",Ca[Ca.DateFormat=10]="DateFormat",Ca[Ca.TimeFormat=11]="TimeFormat",Ca[Ca.DateTimeFormat=12]="DateTimeFormat",Ca[Ca.NumberSymbols=13]="NumberSymbols",Ca[Ca.NumberFormats=14]="NumberFormats",Ca[Ca.CurrencyCode=15]="CurrencyCode",Ca[Ca.CurrencySymbol=16]="CurrencySymbol",Ca[Ca.CurrencyName=17]="CurrencyName",Ca[Ca.Currencies=18]="Currencies",Ca[Ca.Directionality=19]="Directionality",Ca[Ca.PluralCase=20]="PluralCase",Ca[Ca.ExtraData=21]="ExtraData",Ca))();const xa="en-US";let Sa=xa;function Ea(t){v(t,"Expected localeId to be defined"),"string"==typeof t&&(Sa=t.toLowerCase().replace(/_/g,"-"))}function ka(t,e,n,i,s){if(t=f(t),Array.isArray(t))for(let r=0;r<t.length;r++)ka(t[r],e,n,i,s);else{const r=Gt(),o=qt();let a=Gr(t)?t:f(t.provide),l=jr(t);const c=Zt(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(Gr(t)||!t.multi){const i=new De(l,s,go),p=Oa(a,e,s?u:u+d,h);-1===p?(qe(Ye(c,o),r,a),Aa(r,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=Oa(a,e,u+d,h),f=Oa(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(s&&!g||!s&&!m){qe(Ye(c,o),r,a);const u=function(t,e,n,i,s){const r=new De(t,n,go);return r.multi=[],r.index=e,r.componentProviders=0,Da(r,s,i&&!n),r}(s?Ra:Ta,n.length,s,i,l);!s&&g&&(n[f].providerFactory=u),Aa(r,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Aa(r,t,p>-1?p:f,Da(n[s?f:p],l,!s&&i));!s&&i&&g&&n[f].componentProviders++}}}function Aa(t,e,n,i){const s=Gr(e);if(s||function(t){return!!t.useClass}(e)){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,r]):o[t+1].push(i,r)}else o.push(n,r)}}}function Da(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Oa(t,e,n,i){for(let s=n;s<i;s++)if(e[s]===t)return s;return-1}function Ta(t,e,n,i){return Ia(this.multi,[])}function Ra(t,e,n,i){const s=this.multi;let r;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Xe(n,n[1],this.providerFactory.index,i);r=e.slice(0,t),Ia(s,r);for(let n=t;n<e.length;n++)r.push(e[n])}else r=[],Ia(s,r);return r}function Ia(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Fa(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=Gt();if(i.firstCreatePass){const s=mt(t);ka(n,i.data,i.blueprint,s,!0),ka(e,i.data,i.blueprint,s,!1)}}(n,i?i(t):t,e)}}class La{}const Pa="ngComponent";class Ma{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e[Pa]=t,e}(t)}}class Na{}function Ba(...t){}function Va(t,e){return new Ua(Ft(t,e))}Na.NULL=new Ma;const Ya=function(){return Va(Zt(),qt())};let Ua=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Ya,t})();function ja(t){return t instanceof Ua?t.nativeElement:t}class za{}let qa=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ga(),t})();const Ga=function(){const t=qt(),e=Mt(Zt().index,t);return function(t){return t[ct]}(ut(e)?e:t)};let Ha=(()=>{class t{}return t.\u0275prov=w({token:t,providedIn:"root",factory:()=>null}),t})();class Za{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const $a=new Za("12.2.5");class Wa{constructor(){}supports(t){return io(t)}create(t){return new Ka(t)}}const Qa=(t,e)=>e;class Ka{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||Qa}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,s=null;for(;e||n;){const r=!n||e&&e.currentIndex<el(n,i,s)?e:n,o=el(r,i,s),a=r.currentIndex;if(r===n)i--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)i++;else{s||(s=[]);const t=o-i,e=a-i;if(t!=e){for(let n=0;n<t;n++){const i=n<s.length?s[n]:s[n]=0,r=i+n;e<=r&&r<t&&(s[n]=i+1)}s[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=[]),!io(t))throw new Error(`Error trying to diff '${u(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,s=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,n,i,e)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,i,e),r=!0),s=s._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[eo()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,t,i,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,i,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,i)):t=this._addAfter(new Xa(e,n),s,i),t}_verifyReinsertion(t,e,n,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new tl),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 tl),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 Xa{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 Ja{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 tl{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ja,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 el(t,e,n){const i=t.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+e+s}class nl{constructor(){}supports(t){return t instanceof Map||so(t)}create(){return new il}}class il{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||so(t)))throw new Error(`Error trying to diff '${u(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 i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,s=n._next;return i&&(i._next=s),s&&(s._prev=i),n._next=null,n._prev=null,n}const n=new sl(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 sl{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 rl(){return new ol([new Wa])}let ol=(()=>{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||rl()),deps:[[t,new zn,new Un]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${function(t){return t.name||typeof t}(t)}'`)}}return t.\u0275prov=w({token:t,providedIn:"root",factory:rl}),t})();function al(){return new ll([new nl])}let ll=(()=>{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||al()),deps:[[t,new zn,new Un]]}}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=w({token:t,providedIn:"root",factory:al}),t})();function cl(t,e,n,i,s=!1){for(;null!==n;){const r=e[n.index];if(null!==r&&i.push(Rt(r)),ht(r))for(let t=10;t<r.length;t++){const e=r[t],n=e[1].firstChild;null!==n&&cl(e[1],e,n,i)}const o=n.type;if(8&o)cl(t,e,n.child,i);else if(32&o){const t=$i(n,e);let s;for(;s=t();)i.push(s)}else if(16&o){const t=fs(e,n);if(Array.isArray(t))i.push(...t);else{const n=Wi(e[16]);cl(n[1],n,t,i,!0)}}n=s?n.projectionNext:n.next}return i}class ul{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 cl(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&&(ns(t,n),vn(e,n))}this._attachedToViewContainer=!1}is(this._lView[1],this._lView)}onDestroy(t){er(this._lView[1],this._lView,null,t)}markForCheck(){vr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){wr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Jt(!0);try{wr(t,e,n)}finally{Jt(!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,_s(this._lView[1],t=this._lView,t[ct],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class hl extends ul{constructor(t){super(t),this._view=t}detectChanges(){Cr(this._view)}checkNoChanges(){!function(t){Jt(!0);try{Cr(t)}finally{Jt(!1)}}(this._view)}get context(){return null}}const dl=function(t){return function(t,e,n){if(pt(t)&&!n){const n=Mt(t.index,e);return new ul(n,n)}return 47&t.type?new ul(e[16],e):null}(Zt(),qt(),16==(16&t))};let pl=(()=>{class t{}return t.__NG_ELEMENT_ID__=dl,t})();const fl=[new nl],ml=new ol([new Wa]),gl=new ll(fl),_l=function(){return wl(Zt(),qt())};let bl=(()=>{class t{}return t.__NG_ELEMENT_ID__=_l,t})();const yl=bl,vl=class extends yl{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=zs(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Hs(e,n,t),new ul(n)}};function wl(t,e){return 4&t.type?new vl(e,t,Va(t,e)):null}class Cl{}class xl{}const Sl=function(){return Tl(Zt(),qt())};let El=(()=>{class t{}return t.__NG_ELEMENT_ID__=Sl,t})();const kl=El,Al=class extends kl{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Va(this._hostTNode,this._hostLView)}get injector(){return new en(this._hostTNode,this._hostLView)}get parentInjector(){const t=ze(this._hostTNode,this._hostLView);if(Le(t)){const e=Me(t,this._hostLView),n=Pe(t);return new en(e[1].data[n+8],e)}return new en(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Dl(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,s){const r=n||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(Cl,null);t&&(s=t)}const o=t.create(r,i,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(ht(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new Al(e,e[6],e[3]);i.detach(i.indexOf(t))}}const s=this._adjustIndex(e),r=this._lContainer;!function(t,e,n,i){const s=10+i,r=n.length;i>0&&(n[s-1][4]=e),i<r-10?(e[4]=n[s],yn(n,10+i,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}(i,n,r,s);const o=ms(s,r),a=n[ct],l=cs(a,r[7]);return null!==l&&function(t,e,n,i,s,r){i[0]=s,i[6]=e,_s(t,i,n,1,s,r)}(i,r[6],a,n,l,o),t.attachToViewContainerRef(),yn(Ol(r),s,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Dl(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=ns(this._lContainer,e);n&&(vn(Ol(this._lContainer),e),is(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=ns(this._lContainer,e);return n&&null!=vn(Ol(this._lContainer),e)?new ul(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function Dl(t){return t[8]}function Ol(t){return t[8]||(t[8]=[])}function Tl(t,e){let n;const i=e[t.index];if(ht(i))n=i;else{let s;if(8&t.type)s=Rt(i);else{const n=e[ct];s=n.createComment("");const i=Ft(t,e);os(n,cs(n,i),s,function(t,e){return Ot(t)?t.nextSibling(e):e.nextSibling}(n,i),!1)}e[t.index]=n=mr(i,e,s,t),yr(e,n)}return new Al(n,t,e)}const Rl={};class Il extends Na{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=at(t);return new Pl(e,this.ngModule)}}function Fl(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Ll=new hn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>zi});class Pl extends La{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Is).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Fl(this.componentDef.inputs)}get outputs(){return Fl(this.componentDef.outputs)}create(t,e,n,i){const s=(i=i||this.ngModule)?function(t,e){return{get:(n,i,s)=>{const r=t.get(n,Rl,s);return r!==Rl||i===Rl?r:e.get(n,i,s)}}}(t,i.injector):t,r=s.get(za,Tt),o=s.get(Ha,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Ot(t))return t.selectRootElement(e,n===M.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):ts(r.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?Et:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h=function(t,e){return{components:[],scheduler:t||zi,clean:Sr,playerHandler:e||null,flags:0}}(),d=tr(0,null,null,1,0,null,null,null,null,null),p=zs(null,d,h,u,null,null,r,a,o,s);let f,m;he(p);try{const t=function(t,e,n,i,s,r){const o=n[1];n[20]=t;const a=qs(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Rr(a,l,!0),null!==t&&(Oe(s,t,l),null!==a.classes&&vs(s,t,a.classes),null!==a.styles&&ys(s,t,a.styles)));const c=i.createRenderer(t,e),u=zs(n,Js(e),null,e.onPush?64:16,n[20],a,i,c,r||null,null);return o.firstCreatePass&&(qe(Ye(a,n),o,e.type),ar(o,a),cr(a,n.length,1)),yr(n,u),n[20]=u}(c,this.componentDef,p,r,a);if(c)if(n)Oe(a,c,["ng-version",$a.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,s=2;for(;i<t.length;){let r=t[i];if("string"==typeof r)2===s?""!==r&&e.push(r,t[++i]):8===s&&n.push(r);else{if(!As(s))break;s=r}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Oe(a,c,t),e&&e.length>0&&vs(a,c,e.join(" "))}if(m=Lt(d,20),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=e[n];t.push(null!=i?Array.from(i):null)}}f=function(t,e,n,i,s){const r=n[1],o=function(t,e,n){const i=Zt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ur(t,i,e,Gs(t,e,1,null),n));const s=Xe(e,t,i.directiveStart,i);Bi(s,e);const r=Ft(i,e);return r&&Bi(r,e),s}(r,n,e);if(i.components.push(o),t[8]=o,s&&s.forEach(t=>t(o,e)),e.contentQueries){const t=Zt();e.contentQueries(1,o,t.directiveStart)}const a=Zt();return!r.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(be(a.index),rr(n[1],a,0,a.directiveStart,a.directiveEnd,e),or(e,o)),o}(t,this.componentDef,p,h,[$r]),Hs(d,p,null)}finally{ge()}return new Ml(this.componentType,f,Va(m,p),p,m)}}class Ml extends class{}{constructor(t,e,n,i,s){super(),this.location=n,this._rootLView=i,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new hl(i),this.componentType=t}get injector(){return new en(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Nl=new Map;class Bl extends Cl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Il(this);const n=lt(t),i=t[$]||null;i&&Ea(i),this._bootstrapComponents=Hi(n.bootstrap),this._r3Injector=Vr(t,e,[{provide:Cl,useValue:this},{provide:Na,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Zr.THROW_IF_NOT_FOUND,n=T.Default){return t===Zr||t===Cl||t===Ir?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 Vl extends xl{constructor(t){super(),this.moduleType=t,null!==lt(t)&&function(t){const e=new Set;!function t(n){const i=lt(n,!0),s=i.id;null!==s&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}(s,Nl.get(s),n),Nl.set(s,n));const r=Hi(i.imports);for(const o of r)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new Bl(this.moduleType,t)}}function Yl(t,e,n){const i=te()+t,s=qt();return s[i]===Fs?ro(s,i,n?e.call(n):e()):function(t,e){return t[e]}(s,i)}function Ul(t,e,n,i){return Gl(qt(),te(),t,e,n,i)}function jl(t,e,n,i,s){return Hl(qt(),te(),t,e,n,i,s)}function zl(t,e,n,i,s,r){return Zl(qt(),te(),t,e,n,i,s,r)}function ql(t,e){const n=t[e];return n===Fs?void 0:n}function Gl(t,e,n,i,s,r){const o=e+n;return oo(t,o,s)?ro(t,o+1,r?i.call(r,s):i(s)):ql(t,o+1)}function Hl(t,e,n,i,s,r,o){const a=e+n;return ao(t,a,s,r)?ro(t,a+2,o?i.call(o,s,r):i(s,r)):ql(t,a+2)}function Zl(t,e,n,i,s,r,o,a){const l=e+n;return lo(t,l,s,r,o)?ro(t,l+3,a?i.call(a,s,r,o):i(s,r,o)):ql(t,l+3)}function $l(t,e){const n=Gt();let i;const s=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new g("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const r=i.factory||(i.factory=_t(i.type)),o=I(go);try{const t=Be(!1),e=r();return Be(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,qt(),s,e),e}finally{I(o)}}function Wl(t,e,n){const i=t+20,s=qt(),r=Pt(s,i);return Jl(s,Xl(s,i)?Gl(s,te(),e,r.transform,n,r):r.transform(n))}function Ql(t,e,n,i){const s=t+20,r=qt(),o=Pt(r,s);return Jl(r,Xl(r,s)?Hl(r,te(),e,o.transform,n,i,o):o.transform(n,i))}function Kl(t,e,n,i,s){const r=t+20,o=qt(),a=Pt(o,r);return Jl(o,Xl(o,r)?Zl(o,te(),e,a.transform,n,i,s,a):a.transform(n,i,s))}function Xl(t,e){return t[1].data[e].pure}function Jl(t,e){return no.isWrapped(e)&&(e=no.unwrap(e),t[ee()]=Fs),e}function tc(t){return e=>{setTimeout(t,void 0,e)}}const ec=class extends i.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,r,o;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(i=e.next)||void 0===i?void 0:i.bind(e),l=null===(r=e.error)||void 0===r?void 0:r.bind(e),c=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(l=tc(l),a&&(a=tc(a)),c&&(c=tc(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof s.w&&t.add(u),u}};function nc(){return this._results[eo()]()}class ic{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=eo(),n=ic.prototype;n[e]||(n[e]=nc)}get changes(){return this._changes||(this._changes=new ec)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const n=this;n.dirty=!1;const i=_n(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){let s=t[i],r=e[i];if(n&&(s=n(s),r=n(r)),r!==s)return!1}return!0}(n._results,i,e))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[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 sc{constructor(t){this.queryList=t,this.matches=null}clone(){return new sc(this.queryList)}setDirty(){this.queryList.setDirty()}}class rc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new rc(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==yc(t,e).matches&&this.queries[e].setDirty()}}class oc{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class ac{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 i=null!==e?e.length:0,s=this.getByIndex(n).embeddedTView(t,i);s&&(s.indexInDeclarationView=n,null!==e?e.push(s):e=[s])}return null!==e?new ac(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 lc{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 lc(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 i=0;i<n.length;i++){const s=n[i];this.matchTNodeWithReadOption(t,e,cc(e,s)),this.matchTNodeWithReadOption(t,e,Ke(e,t,s,!1,!1))}else n===bl?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Ke(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===Ua||i===El||i===bl&&4&e.type)this.addMatch(e.index,-2);else{const n=Ke(e,t,i,!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 cc(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function uc(t,e,n,i){return-1===n?function(t,e){return 11&t.type?Va(t,e):4&t.type?wl(t,e):null}(e,t):-2===n?function(t,e,n){return n===Ua?Va(e,t):n===bl?wl(e,t):n===El?Tl(e,t):void 0}(t,e,i):Xe(t,t[1],n,e)}function hc(t,e,n,i){const s=e[19].queries[i];if(null===s.matches){const i=t.data,r=n.matches,o=[];for(let t=0;t<r.length;t+=2){const s=r[t];o.push(s<0?null:uc(e,i[s],r[t+1],n.metadata.read))}s.matches=o}return s.matches}function dc(t,e,n,i){const s=t.queries.getByIndex(n),r=s.matches;if(null!==r){const o=hc(t,e,s,n);for(let t=0;t<r.length;t+=2){const n=r[t];if(n>0)i.push(o[t/2]);else{const s=r[t+1],o=e[-n];for(let t=10;t<o.length;t++){const e=o[t];e[17]===e[3]&&dc(e[1],e,s,i)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];dc(n[1],n,s,i)}}}}}return i}function pc(t){const e=qt(),n=Gt(),i=ae();le(i+1);const s=yc(n,i);if(t.dirty&&Nt(e)===(2==(2&s.metadata.flags))){if(null===s.matches)t.reset([]);else{const r=s.crossesNgTemplate?dc(n,e,i,[]):hc(n,e,s,i);t.reset(r,ja),t.notifyOnChanges()}return!0}return!1}function fc(t,e,n){const i=Gt();i.firstCreatePass&&(bc(i,new oc(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),_c(i,qt(),e)}function mc(t,e,n,i){const s=Gt();if(s.firstCreatePass){const r=Zt();bc(s,new oc(e,n,i),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)}(s,t),2==(2&n)&&(s.staticContentQueries=!0)}_c(s,qt(),n)}function gc(){return t=qt(),e=ae(),t[19].queries[e].queryList;var t,e}function _c(t,e,n){const i=new ic(4==(4&n));er(t,e,i,i.destroy),null===e[19]&&(e[19]=new rc),e[19].queries.push(new sc(i))}function bc(t,e,n){null===t.queries&&(t.queries=new ac),t.queries.track(new lc(e,n))}function yc(t,e){return t.queries.getByIndex(e)}function vc(t,e){return wl(t,e)}const wc=un("Input",t=>({bindingPropertyName:t})),Cc=un("Output",t=>({bindingPropertyName:t})),xc=un("HostBinding",t=>({hostPropertyName:t})),Sc=new hn("Application Initializer");let Ec=(()=>{class t{constructor(t){this.appInits=t,this.resolve=Ba,this.reject=Ba,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(ko(e))t.push(e);else if(Do(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)(Ln(Sc,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const kc=new hn("AppId"),Ac={provide:kc,useFactory:function(){return`${Dc()}${Dc()}${Dc()}`},deps:[]};function Dc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Oc=new hn("Platform Initializer"),Tc=new hn("Platform ID"),Rc=new hn("appBootstrapListener");let Ic=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const Fc=new hn("LocaleId"),Lc=new hn("DefaultCurrencyCode");class Pc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Mc=function(t){return new Vl(t)},Nc=Mc,Bc=function(t){return Promise.resolve(Mc(t))},Vc=function(t){const e=Mc(t),n=Hi(lt(t).declarations).reduce((t,e)=>{const n=at(e);return n&&t.push(new Pl(n)),t},[]);return new Pc(e,n)},Yc=Vc,Uc=function(t){return Promise.resolve(Vc(t))};let jc=(()=>{class t{constructor(){this.compileModuleSync=Nc,this.compileModuleAsync=Bc,this.compileModuleAndAllComponentsSync=Yc,this.compileModuleAndAllComponentsAsync=Uc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const zc=(()=>Promise.resolve(0))();function qc(t){"undefined"==typeof Zone?zc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Gc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ec(!1),this.onMicrotaskEmpty=new ec(!1),this.onStable=new ec(!1),this.onError=new ec(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=U.requestAnimationFrame,e=U.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(U,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,$c(t),t.isCheckStableRunning=!0,Zc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),$c(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,s,r,o,a)=>{try{return Wc(t),n.invokeTask(s,r,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&e(),Qc(t)}},onInvoke:(n,i,s,r,o,a,l)=>{try{return Wc(t),n.invoke(s,r,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Qc(t)}},onHasTask:(e,n,i,s)=>{e.hasTask(i,s),n===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,$c(t),Zc(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,i,s)=>(e.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Gc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Gc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+i,t,Hc,Ba,Ba);try{return s.runTask(r,e,n)}finally{s.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Hc={};function Zc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function $c(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Wc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Qc(t){t._nesting--,Zc(t)}class Kc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ec,this.onMicrotaskEmpty=new ec,this.onStable=new ec,this.onError=new ec}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let Xc=(()=>{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:()=>{Gc.assertNotInAngularZone(),qc(()=>{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())qc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Ln(Gc))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})(),Jc=(()=>{class t{constructor(){this._applications=new Map,nu.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 nu.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();class tu{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function eu(t){nu=t}let nu=new tu,iu=!0,su=!1;function ru(){return su=!0,iu}function ou(){if(su)throw new Error("Cannot enable prod mode after platform setup.");iu=!1}let au;const lu=new hn("AllowMultipleToken");class cu{constructor(t,e){this.name=t,this.token=e}}function uu(t,e,n=[]){const i=`Platform: ${e}`,s=new hn(i);return(e=[])=>{let r=hu();if(!r||r.injector.get(lu,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Lr,useValue:"platform"});!function(t){if(au&&!au.destroyed&&!au.injector.get(lu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");au=t.get(du);const e=t.get(Oc,null);e&&e.forEach(t=>t())}(Zr.create({providers:t,name:i}))}return function(t){const e=hu();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function hu(){return au&&!au.destroyed?au:null}let du=(()=>{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 Kc:("zone.js"===t?void 0:t)||new Gc({enableLongStackTrace:ru(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:Gc,useValue:n}];return n.run(()=>{const s=Zr.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(s),o=r.injector.get(ji,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{o.handleError(t)}});r.onDestroy(()=>{mu(this._modules,r),t.unsubscribe()})}),function(t,n,i){try{const e=i();return ko(e)?e.catch(e=>{throw n.runOutsideAngular(()=>t.handleError(e)),e}):e}catch(e){throw n.runOutsideAngular(()=>t.handleError(e)),e}}(o,n,()=>{const t=r.injector.get(Ec);return t.runInitializers(),t.donePromise.then(()=>(Ea(r.injector.get(Fc,xa)||xa),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=pu({},e);return function(t,e,n){const i=new Vl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(fu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${u(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)(Ln(Zr))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function pu(t,e){return Array.isArray(e)?e.reduce(pu,t):Object.assign(Object.assign({},t),e)}let fu=(()=>{class t{constructor(t,e,n,i,s){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new r.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),c=new r.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Gc.assertNotInAngularZone(),qc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Gc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(l,c.pipe((0,a.B)()))}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 La?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(Cl),s=n.create(Zr.NULL,[],e||n.selector,i),r=s.location.nativeElement,o=s.injector.get(Xc,null),a=o&&s.injector.get(Jc);return o&&a&&a.registerApplication(r,o),s.onDestroy(()=>{this.detachView(s.hostView),mu(this.components,s),a&&a.unregisterApplication(r)}),this._loadComponent(s),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;mu(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Rc,[]).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)(Ln(Gc),Ln(Zr),Ln(ji),Ln(Na),Ln(Ec))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function mu(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class gu{}class _u{}const bu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let yu=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||bu}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(98255)(e).then(t=>t[i]).then(t=>vu(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),s="NgFactory";return void 0===i&&(i="default",s=""),n(98255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+s]).then(t=>vu(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(Ln(jc),Ln(_u,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function vu(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const wu=function(t){return null},Cu=uu(null,"core",[{provide:Tc,useValue:"unknown"},{provide:du,deps:[Zr]},{provide:Jc,deps:[]},{provide:Ic,deps:[]}]),xu=[{provide:fu,useClass:fu,deps:[Gc,Zr,ji,Na,Ec]},{provide:Ll,deps:[Gc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Ec,useClass:Ec,deps:[[new Un,Sc]]},{provide:jc,useClass:jc,deps:[]},Ac,{provide:ol,useFactory:function(){return ml},deps:[]},{provide:ll,useFactory:function(){return gl},deps:[]},{provide:Fc,useFactory:function(t){return Ea(t=t||"undefined"!=typeof $localize&&$localize.locale||xa),t},deps:[[new Yn(Fc),new Un,new zn]]},{provide:Lc,useValue:"USD"}];let Su=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Ln(fu))},t.\u0275mod=nt({type:t}),t.\u0275inj=C({providers:xu}),t})()},3679:function(t,e,n){"use strict";n.d(e,{Zs:function(){return Zt},gN:function(){return j},Fj:function(){return p},Oe:function(){return _t},CE:function(){return Nt},qu:function(){return Jt},NI:function(){return mt},oH:function(){return Rt},u:function(){return Yt},sg:function(){return Ft},x0:function(){return Pt},u5:function(){return Kt},nD:function(){return Wt},qQ:function(){return zt},Cf:function(){return g},JU:function(){return u},a5:function(){return z},JJ:function(){return G},JL:function(){return H},F:function(){return vt},On:function(){return St},wV:function(){return At},UX:function(){return Xt},kI:function(){return y},_Y:function(){return Et}});var i=n(37716),s=n(38583),r=n(69412),o=n(35758),a=n(88002);let l=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t}),t})(),c=(()=>{class t extends l{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const u=new i.OlP("NgValueAccessor"),h={provide:u,useExisting:(0,i.Gpc)(()=>p),multi:!0},d=new i.OlP("CompositionEventMode");let p=(()=>{class t extends l{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(d,8))},t.\u0275dir=i.lG2({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&i.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i._Bn([h]),i.qOj]}),t})();function f(t){return null==t||0===t.length}function m(t){return null!=t&&"number"==typeof t.length}const g=new i.OlP("NgValidators"),_=new i.OlP("NgAsyncValidators"),b=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class y{static min(t){return v(t)}static max(t){return e=t,t=>{if(f(t.value)||f(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null};var e}static required(t){return w(t)}static requiredTrue(t){return C(t)}static email(t){return f((e=t).value)||b.test(e.value)?null:{email:!0};var e}static minLength(t){return e=t,t=>f(t.value)||!m(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null;var e}static maxLength(t){return x(t)}static pattern(t){return function(t){if(!t)return S;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(f(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return T(t)}static composeAsync(t){return I(t)}}function v(t){return e=>{if(f(e.value)||f(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}function w(t){return f(t.value)?{required:!0}:null}function C(t){return!0===t.value?null:{required:!0}}function x(t){return e=>m(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function S(t){return null}function E(t){return null!=t}function k(t){const e=(0,i.QGY)(t)?(0,r.D)(t):t;return(0,i.CqO)(e),e}function A(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 D(t,e){return e.map(e=>e(t))}function O(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function T(t){if(!t)return null;const e=t.filter(E);return 0==e.length?null:function(t){return A(D(t,e))}}function R(t){return null!=t?T(O(t)):null}function I(t){if(!t)return null;const e=t.filter(E);return 0==e.length?null:function(t){const n=D(t,e).map(k);return(0,o.D)(n).pipe((0,a.U)(A))}}function F(t){return null!=t?I(O(t)):null}function L(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function P(t){return t._rawValidators}function M(t){return t._rawAsyncValidators}function N(t){return t?Array.isArray(t)?t:[t]:[]}function B(t,e){return Array.isArray(t)?t.includes(e):t===e}function V(t,e){const n=N(e);return N(t).forEach(t=>{B(n,t)||n.push(t)}),n}function Y(t,e){return N(e).filter(e=>!B(t,e))}let U=(()=>{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=R(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=F(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})(),j=(()=>{class t extends U{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();class z extends U{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class q{constructor(t){this._cd=t}is(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}let G=(()=>{class t extends q{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(z,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[i.qOj]}),t})(),H=(()=>{class t extends q{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(j,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[i.qOj]}),t})();function Z(t,e){return[...e.path,t]}function $(t,e){K(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&&J(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&&J(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 W(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),X(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Q(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function K(t,e){const n=P(t);null!==e.validator?t.setValidators(L(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=M(t);null!==e.asyncValidator?t.setAsyncValidators(L(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const s=()=>t.updateValueAndValidity();Q(e._rawValidators,s),Q(e._rawAsyncValidators,s)}function X(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=P(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.validator);s.length!==i.length&&(n=!0,t.setValidators(s))}}if(null!==e.asyncValidator){const i=M(t);if(Array.isArray(i)&&i.length>0){const s=i.filter(t=>t!==e.asyncValidator);s.length!==i.length&&(n=!0,t.setAsyncValidators(s))}}}const i=()=>{};return Q(e._rawValidators,i),Q(e._rawAsyncValidators,i),n}function J(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function tt(t,e){K(t,e)}function et(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function nt(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function it(t,e){if(!e)return null;let n,i,s;return Array.isArray(e),e.forEach(t=>{t.constructor===p?n=t:function(t){return Object.getPrototypeOf(t.constructor)===c}(t)?i=t:s=t}),s||i||n||null}function st(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const rt="VALID",ot="INVALID",at="PENDING",lt="DISABLED";function ct(t){return(pt(t)?t.validators:t)||null}function ut(t){return Array.isArray(t)?R(t):t||null}function ht(t,e){return(pt(e)?e.asyncValidators:t)||null}function dt(t){return Array.isArray(t)?F(t):t||null}function pt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ft{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=ut(this._rawValidators),this._composedAsyncValidatorFn=dt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===rt}get invalid(){return this.status===ot}get pending(){return this.status==at}get disabled(){return this.status===lt}get enabled(){return this.status!==lt}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=ut(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=dt(t)}addValidators(t){this.setValidators(V(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(V(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Y(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Y(t,this._rawAsyncValidators))}hasValidator(t){return B(this._rawValidators,t)}hasAsyncValidator(t){return B(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=at,!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=lt,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=rt,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rt||this.status===at)&&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()?lt:rt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=at,this._hasOwnPendingAsyncValidator=!0;const e=k(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;let i=t;return e.forEach(t=>{i=i instanceof gt?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof _t&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?lt:this.errors?ot:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(at)?at:this._anyControlsHaveStatus(ot)?ot:rt}_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){pt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class mt extends ft{constructor(t=null,e,n){super(ct(e),ht(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){st(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){st(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 gt extends ft{constructor(t,e,n){super(ct(e),ht(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof mt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class _t extends ft{constructor(t,e,n){super(ct(e),ht(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof mt?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 bt={provide:j,useExisting:(0,i.Gpc)(()=>vt)},yt=(()=>Promise.resolve(null))();let vt=(()=>{class t extends j{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.vpe,this.form=new gt({},R(t),F(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){yt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),$(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){yt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),st(this._directives,t)})}addFormGroup(t){yt.then(()=>{const e=this._findContainer(t.path),n=new gt({});tt(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){yt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){yt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,nt(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([bt]),i.qOj]}),t})(),wt=(()=>{class t extends j{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Z(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const Ct={provide:z,useExisting:(0,i.Gpc)(()=>St)},xt=(()=>Promise.resolve(null))();let St=(()=>{class t extends z{constructor(t,e,n,s){super(),this.control=new mt,this._registered=!1,this.update=new i.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=it(0,s)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),et(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Z(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){$(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){xt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;xt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(j,9),i.Y36(g,10),i.Y36(_,10),i.Y36(u,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([Ct]),i.qOj,i.TTD]}),t})(),Et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const kt={provide:u,useExisting:(0,i.Gpc)(()=>At),multi:!0};let At=(()=>{class t extends c{writeValue(t){this.setProperty("value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i._Bn([kt]),i.qOj]}),t})(),Dt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const Ot=new i.OlP("NgModelWithFormControlWarning"),Tt={provide:z,useExisting:(0,i.Gpc)(()=>Rt)};let Rt=(()=>{class t extends z{constructor(t,e,n,s){super(),this._ngModelWarningConfig=s,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=it(0,n)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&W(e,this,!1),$(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}et(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&W(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(_,10),i.Y36(u,10),i.Y36(Ot,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([Tt]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})();const It={provide:j,useExisting:(0,i.Gpc)(()=>Ft)};let Ft=(()=>{class t extends j{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(X(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 $(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){W(t.control||null,t,!1),st(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,nt(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&&(W(e||null,t),n instanceof mt&&($(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return X(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){K(this.form,this),this._oldForm&&X(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([It]),i.qOj,i.TTD]}),t})();const Lt={provide:j,useExisting:(0,i.Gpc)(()=>Pt)};let Pt=(()=>{class t extends wt{constructor(t,e,n){super(),this._parent=t,this._setValidators(e),this._setAsyncValidators(n)}_checkParentType(){Bt(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(j,13),i.Y36(g,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[i._Bn([Lt]),i.qOj]}),t})();const Mt={provide:j,useExisting:(0,i.Gpc)(()=>Nt)};let Nt=(()=>{class t extends j{constructor(t,e,n){super(),this._parent=t,this._setValidators(e),this._setAsyncValidators(n)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Z(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Bt(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(j,13),i.Y36(g,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[i._Bn([Mt]),i.qOj]}),t})();function Bt(t){return!(t instanceof Pt||t instanceof Ft||t instanceof Nt)}const Vt={provide:z,useExisting:(0,i.Gpc)(()=>Yt)};let Yt=(()=>{class t extends z{constructor(t,e,n,s,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=it(0,s)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),et(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Z(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(j,13),i.Y36(g,10),i.Y36(_,10),i.Y36(u,10),i.Y36(Ot,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([Vt]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})();let Ut=(()=>{class t{constructor(){this._validator=S}handleChanges(t){if(this.inputName in t){const e=this.normalizeInput(t[this.inputName].currentValue);this._validator=this.createValidator(e),this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})();const jt={provide:g,useExisting:(0,i.Gpc)(()=>zt),multi:!0};let zt=(()=>{class t extends Ut{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>parseFloat(t),this.createValidator=t=>v(t)}ngOnChanges(t){this.handleChanges(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,e){if(2&t){let t;i.uIk("min",null!==(t=e.min)&&void 0!==t?t:null)}},inputs:{min:"min"},features:[i._Bn([jt]),i.qOj,i.TTD]}),t})();const qt={provide:g,useExisting:(0,i.Gpc)(()=>Ht),multi:!0},Gt={provide:g,useExisting:(0,i.Gpc)(()=>Zt),multi:!0};let Ht=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?w(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[i._Bn([qt])]}),t})(),Zt=(()=>{class t extends Ht{validate(t){return this.required?C(t):null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},features:[i._Bn([Gt]),i.qOj]}),t})();const $t={provide:g,useExisting:(0,i.Gpc)(()=>Wt),multi:!0};let Wt=(()=>{class t{constructor(){this._validator=S}ngOnChanges(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this.enabled()?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=this.enabled()?x(function(t){return"number"==typeof t?t:parseInt(t,10)}(this.maxlength)):S}enabled(){return null!=this.maxlength}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("maxlength",e.enabled()?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i._Bn([$t]),i.TTD]}),t})(),Qt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[Dt]]}),t})(),Kt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[Qt]}),t})(),Xt=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ot,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[Qt]}),t})(),Jt=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i,s=null,r=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(s=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(s=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new gt(n,{asyncValidators:r,updateOn:i,validators:s})}control(t,e,n){return new mt(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new _t(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof mt||t instanceof gt||t instanceof _t?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:Xt}),t})()},42542:function(t,e,n){"use strict";n.d(e,{Yi:function(){return b},A9:function(){return g},vV:function(){return y}});var i=n(39490),s=n(38345),r=n(37716),o=n(3679),a=n(72458),l=n(19238);const c=["button"],u=["*"],h=new r.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),d=new r.OlP("MatButtonToggleGroup"),p={provide:o.JU,useExisting:(0,r.Gpc)(()=>g),multi:!0};let f=0;class m{constructor(t,e){this.source=t,this.value=e}}let g=(()=>{class t{constructor(t,e){this._changeDetector=t,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+f++,this.valueChange=new r.vpe,this.change=new r.vpe,this.appearance=e&&e.appearance?e.appearance:"standard"}get name(){return this._name}set name(t){this._name=t,this._buttonToggles&&this._buttonToggles.forEach(t=>{t.name=this._name,t._markForCheck()})}get vertical(){return this._vertical}set vertical(t){this._vertical=(0,i.Ig)(t)}get value(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t.map(t=>t.value):t[0]?t[0].value:void 0}set value(t){this._setSelectionByValue(t),this.valueChange.emit(this.value)}get selected(){const t=this._selectionModel?this._selectionModel.selected:[];return this.multiple?t:t[0]||null}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,i.Ig)(t)}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,i.Ig)(t),this._buttonToggles&&this._buttonToggles.forEach(t=>t._markForCheck())}ngOnInit(){this._selectionModel=new s.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(t=>t.checked))}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_emitChangeEvent(){const t=this.selected,e=Array.isArray(t)?t[t.length-1]:t,n=new m(e,this.value);this._controlValueAccessorChangeFn(n.value),this.change.emit(n)}_syncButtonToggle(t,e,n=!1,i=!1){!this.multiple&&this.selected&&!t.checked&&(this.selected.checked=!1),this._selectionModel?e?this._selectionModel.select(t):this._selectionModel.deselect(t):i=!0,i?Promise.resolve().then(()=>this._updateModelValue(n)):this._updateModelValue(n)}_isSelected(t){return this._selectionModel&&this._selectionModel.isSelected(t)}_isPrechecked(t){return void 0!==this._rawValue&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(e=>null!=t.value&&e===t.value):t.value===this._rawValue)}_setSelectionByValue(t){this._rawValue=t,this._buttonToggles&&(this.multiple&&t?(Array.isArray(t),this._clearSelection(),t.forEach(t=>this._selectValue(t))):(this._clearSelection(),this._selectValue(t)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(t=>t.checked=!1)}_selectValue(t){const e=this._buttonToggles.find(e=>null!=e.value&&e.value===t);e&&(e.checked=!0,this._selectionModel.select(e))}_updateModelValue(t){t&&this._emitChangeEvent(),this.valueChange.emit(this.value)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(h,8))},t.\u0275dir=r.lG2({type:t,selectors:[["mat-button-toggle-group"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,b,5),2&t){let t;r.iGM(t=r.CRH())&&(e._buttonToggles=t)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(t,e){2&t&&(r.uIk("aria-disabled",e.disabled),r.ekj("mat-button-toggle-vertical",e.vertical)("mat-button-toggle-group-appearance-standard","standard"===e.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[r._Bn([p,{provide:d,useExisting:t}])]}),t})();const _=(0,a.Kr)(class{});let b=(()=>{class t extends _{constructor(t,e,n,i,s,o){super(),this._changeDetectorRef=e,this._elementRef=n,this._focusMonitor=i,this._isSingleSelector=!1,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new r.vpe;const a=Number(s);this.tabIndex=a||0===a?a:null,this.buttonToggleGroup=t,this.appearance=o&&o.appearance?o.appearance:"standard"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(t){this._appearance=t}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(t){const e=(0,i.Ig)(t);e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(t){this._disabled=(0,i.Ig)(t)}ngOnInit(){const t=this.buttonToggleGroup;this._isSingleSelector=t&&!t.multiple,this.id=this.id||"mat-button-toggle-"+f++,this._isSingleSelector&&(this.name=t.name),t&&(t._isPrechecked(this)?this.checked=!0:t._isSelected(this)!==this._checked&&t._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const t=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),t&&t._isSelected(this)&&t._syncButtonToggle(this,!1,!1,!0)}focus(t){this._buttonElement.nativeElement.focus(t)}_onButtonClick(){const t=!!this._isSingleSelector||!this._checked;t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new m(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(d,8),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(l.tE),r.$8M("tabindex"),r.Y36(h,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(t,e){if(1&t&&r.Gf(c,5),2&t){let t;r.iGM(t=r.CRH())&&(e._buttonElement=t.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(t,e){1&t&&r.NdJ("focus",function(){return e.focus()}),2&t&&(r.uIk("aria-label",null)("aria-labelledby",null)("id",e.id)("name",null),r.ekj("mat-button-toggle-standalone",!e.buttonToggleGroup)("mat-button-toggle-checked",e.checked)("mat-button-toggle-disabled",e.disabled)("mat-button-toggle-appearance-standard","standard"===e.appearance))},inputs:{disableRipple:"disableRipple",ariaLabelledby:["aria-labelledby","ariaLabelledby"],tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled",id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],value:"value"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[r.qOj],ngContentSelectors:u,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,e){if(1&t&&(r.F$t(),r.TgZ(0,"button",0,1),r.NdJ("click",function(){return e._onButtonClick()}),r.TgZ(2,"span",2),r.Hsn(3),r.qZA(),r.qZA(),r._UZ(4,"span",3),r._UZ(5,"span",4)),2&t){const t=r.MAs(1);r.Q6J("id",e.buttonId)("disabled",e.disabled||null),r.uIk("tabindex",e.disabled?-1:e.tabIndex)("aria-pressed",e.checked)("name",e.name||null)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),r.xp6(5),r.Q6J("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)}},directives:[a.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.cdk-high-contrast-active .mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:.5}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}.cdk-high-contrast-active .mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.5}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\n"],encapsulation:2,changeDetection:0}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[a.BQ,a.si],a.BQ]}),t})()},51095:function(t,e,n){"use strict";n.d(e,{lW:function(){return h},ot:function(){return d}});var i=n(72458),s=n(46237),r=n(37716),o=n(19238);const a=["mat-button",""],l=["*"],c=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],u=(0,i.pj)((0,i.Id)((0,i.Kr)(class{constructor(t){this._elementRef=t}})));let h=(()=>{class t extends u{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of c)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(o.tE),r.Y36(s.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&r.Gf(i.wG,5),2&t){let t;r.iGM(t=r.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(r.uIk("disabled",e.disabled||null),r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r.qOj],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"span",0),r.Hsn(1),r.qZA(),r._UZ(2,"span",1),r._UZ(3,"span",2)),2&t&&(r.xp6(2),r.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],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:[[i.si,i.BQ],i.BQ]}),t})()},93738:function(t,e,n){"use strict";n.d(e,{a8:function(){return c},dn:function(){return l},QW:function(){return u}});var i=n(46237),s=n(72458),r=n(37716);const o=["*",[["mat-card-footer"]]],a=["*","mat-card-footer"];let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),c=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:a,decls:2,vars:0,template:function(t,e){1&t&&(r.F$t(o),r.Hsn(0),r.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),u=(()=>{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})()},7539:function(t,e,n){"use strict";n.d(e,{oG:function(){return v},p9:function(){return C}});var i=n(39490),s=n(37716),r=n(3679),o=n(72458),a=n(46237),l=n(18553),c=n(19238);const u=["input"],h=function(t){return{enterDuration:t}},d=["*"],p=new s.OlP("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}let m=0;const g=f(),_={provide:r.JU,useExisting:(0,s.Gpc)(()=>v),multi:!0};class b{}const y=(0,o.sb)((0,o.pj)((0,o.Kr)((0,o.Id)(class{constructor(t){this._elementRef=t}}))));let v=(()=>{class t extends y{constructor(t,e,n,i,r,o,a){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._animationMode=o,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++m,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new s.vpe,this.indeterminateChange=new s.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||g,this.color=this.defaultColor=this._options.color||g.color,this.tabIndex=parseInt(r)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=(0,i.Ig)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=(0,i.Ig)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=(0,i.Ig)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new b;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const n=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===n?!this.disabled&&"noop"===n&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(c.tE),s.Y36(s.R0b),s.$8M("tabindex"),s.Y36(a.Qb,8),s.Y36(p,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(s.Gf(u,5),s.Gf(o.wG,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._inputElement=t.first),s.iGM(t=s.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",null),s.ekj("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[s._Bn([_]),s.qOj],ngContentSelectors:d,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"span",2),s.TgZ(3,"input",3,4),s.NdJ("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(5,"span",5),s._UZ(6,"span",6),s.qZA(),s._UZ(7,"span",7),s.TgZ(8,"span",8),s.O4$(),s.TgZ(9,"svg",9),s._UZ(10,"path",10),s.qZA(),s.kcU(),s._UZ(11,"span",11),s.qZA(),s.qZA(),s.TgZ(12,"span",12,13),s.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),s.TgZ(14,"span",14),s._uU(15,"\xa0"),s.qZA(),s.Hsn(16),s.qZA(),s.qZA()),2&t){const t=s.MAs(1),n=s.MAs(13);s.uIk("for",e.inputId),s.xp6(2),s.ekj("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),s.xp6(1),s.Q6J("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),s.uIk("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),s.xp6(2),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",s.VKq(19,h,"NoopAnimations"===e._animationMode?0:150))}},directives:[o.wG,l.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[o.si,o.BQ,l.Q8,w],o.BQ,w]}),t})()},72458:function(t,e,n){"use strict";n.d(e,{yN:function(){return b},mZ:function(){return y},_A:function(){return T},rD:function(){return j},sG:function(){return R},Ad:function(){return O},K7:function(){return lt},HF:function(){return st},Y2:function(){return J},BQ:function(){return C},X2:function(){return z},uc:function(){return H},XK:function(){return U},ey:function(){return dt},Ng:function(){return mt},rN:function(){return ut},nP:function(){return nt},us:function(){return it},wG:function(){return tt},si:function(){return et},IR:function(){return X},CB:function(){return pt},jH:function(){return ft},pj:function(){return S},Kr:function(){return E},Id:function(){return x},FD:function(){return A},dB:function(){return D},sb:function(){return k},E0:function(){return q}});var i=n(37716),s=n(19238),r=n(70946);const o=new i.GfV("12.2.5");var a=n(38583),l=n(39490),c=n(79765),u=n(39897),h=n(80521),d=n(39761),p=n(46237),f=n(36461);function m(t,e){if(1&t&&i._UZ(0,"mat-pseudo-checkbox",4),2&t){const t=i.oxw();i.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function g(t,e){if(1&t&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.hij("(",t.group.label,")")}}const _=["*"];let b=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),y=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const v=new i.GfV("12.2.5"),w=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let C=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checkIsEnabled(t){return!(!(0,i.X6Q)()||this._isTestEnv())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checkIsEnabled("theme")||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checkIsEnabled("version")&&v.full!==o.full&&console.warn("The Angular Material version ("+v.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.qm),i.LFG(w,8),i.LFG(a.K0))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.vT],r.vT]}),t})();function x(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 S(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 E(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 k(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?(0,l.su)(t):this.defaultTabIndex}}}function A(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())}}}function D(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new u.y(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const O=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,i.f3M)(i.soG)}});class T{constructor(){this._localeChanges=new c.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const R=new i.OlP("mat-date-formats");let I;try{I="undefined"!=typeof Intl}catch(gt){I=!1}const F={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},L=N(31,t=>String(t+1)),P={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},M=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function N(t,e){const n=Array(t);for(let i=0;i<t;i++)n[i]=e(i);return n}let B=(()=>{class t extends T{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(I){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return N(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return F[t]}getDateNames(){if(I){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return N(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return L}getDayOfWeekNames(t){if(I){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return N(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return P[t]}getYearName(t){if(I){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){let i=this._createDateWithOverflow(t,e,n);return i.getMonth(),i}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(I){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(M.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const i=new Date;return i.setFullYear(t,e,n),i.setHours(0,0,0,0),i}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(O,8),i.LFG(h.t4))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:T,useClass:B}],imports:[[h.ud]]}),t})();const Y={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:R,useValue:Y}],imports:[[V]]}),t})(),j=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function q(t,e,n="mat"){t.changes.pipe((0,d.O)(t)).subscribe(({length:t})=>{G(e,`${n}-2-line`,!1),G(e,`${n}-3-line`,!1),G(e,`${n}-multi-line`,!1),2===t||3===t?G(e,`${n}-${t}-line`,!0):t>3&&G(e,`${n}-multi-line`,!0)})}function G(t,e,n){const i=t.nativeElement.classList;n?i.add(e):i.remove(e)}let H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[C],C]}),t})();class Z{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const $={enterDuration:225,exitDuration:150},W=(0,h.i$)({passive:!0}),Q=["mousedown","touchstart"],K=["mouseup","mouseleave","touchend","touchcancel"];class X{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=(0,l.fI)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},$),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const r=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),s=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+s*s)}(t,e,i),o=t-i.left,a=e-i.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-r+"px",c.style.top=a-r+"px",c.style.height=2*r+"px",c.style.width=2*r+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new Z(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,!n.persistent&&(!t||!this._isPointerDown)&&u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},$),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=(0,l.fI)(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Q))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(K),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=(0,s.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,s.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,W)})})}_removeTriggerEvents(){this._triggerElement&&(Q.forEach(t=>{this._triggerElement.removeEventListener(t,this,W)}),this._pointerUpEventsRegistered&&K.forEach(t=>{this._triggerElement.removeEventListener(t,this,W)}))}}const J=new i.OlP("mat-ripple-global-options");let tt=(()=>{class t{constructor(t,e,n,i,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new X(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(h.t4),i.Y36(J,8),i.Y36(p.Qb,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[C,h.ud],C]}),t})(),nt=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(p.Qb,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),it=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[C]]}),t})();const st=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),rt=x(class{});let ot=0,at=(()=>{class t extends rt{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+ot++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(st,8))},t.\u0275dir=i.lG2({type:t,inputs:{label:"label"},features:[i.qOj]}),t})();const lt=new i.OlP("MatOptgroup");let ct=0;class ut{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let ht=(()=>{class t{constructor(t,e,n,s){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ct++,this.onSelectionChange=new i.vpe,this._stateChanges=new c.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=(0,l.Ig)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===f.K5||t.keyCode===f.L_)&&!(0,f.Vb)(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ut(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(at))},t.\u0275dir=i.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),dt=(()=>{class t extends ht{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(st,8),i.Y36(lt,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Ikx("id",e.id),i.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:_,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,m,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,g,2,1,"span",2),i._UZ(4,"div",3)),2&t&&(i.Q6J("ngIf",e.multiple),i.xp6(3),i.Q6J("ngIf",e.group&&e.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.O5,tt,nt],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function pt(t,e,n){if(n.length){let i=e.toArray(),s=n.toArray(),r=0;for(let e=0;e<t+1;e++)i[e].group&&i[e].group===s[r]&&r++;return r}return 0}function ft(t,e,n,i){return t<n?t:t+e>n+i?Math.max(0,t-i+e):n}let mt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[et,a.ez,C,it]]}),t})()},43220:function(t,e,n){"use strict";n.d(e,{Mq:function(){return gt},hl:function(){return wt},FA:function(){return St},nW:function(){return xt}});var i=n(19238),s=n(58203),r=n(87636),o=n(38583),a=n(37716),l=n(51095),c=n(71386),u=n(72458),h=n(79765),d=n(10826),p=n(66682),f=n(25917),m=n(36461),g=n(15257),_=n(39761),b=n(45435),y=n(39490),v=n(80521),w=n(17238),C=n(3679),x=n(98295),S=n(49983),E=n(70946);const k=["mat-calendar-body",""];function A(t,e){if(1&t&&(a.TgZ(0,"tr",2),a.TgZ(1,"td",3),a._uU(2),a.qZA(),a.qZA()),2&t){const t=a.oxw();a.xp6(1),a.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.uIk("colspan",t.numCols),a.xp6(1),a.hij(" ",t.label," ")}}function D(t,e){if(1&t&&(a.TgZ(0,"td",3),a._uU(1),a.qZA()),2&t){const t=a.oxw(2);a.Udp("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),a.uIk("colspan",t._firstRowOffset),a.xp6(1),a.hij(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function O(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"td",7),a.NdJ("click",function(e){const n=a.CHM(t).$implicit;return a.oxw(2)._cellClicked(n,e)}),a.TgZ(1,"div",8),a._uU(2),a.qZA(),a._UZ(3,"div",9),a.qZA()}if(2&t){const t=e.$implicit,n=e.index,i=a.oxw().index,s=a.oxw();a.Udp("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),a.ekj("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",s._isActiveCell(i,n))("mat-calendar-body-range-start",s._isRangeStart(t.compareValue))("mat-calendar-body-range-end",s._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",s._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",s._isComparisonBridgeStart(t.compareValue,i,n))("mat-calendar-body-comparison-bridge-end",s._isComparisonBridgeEnd(t.compareValue,i,n))("mat-calendar-body-comparison-start",s._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",s._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",s._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",s._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",s._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",s._isInPreview(t.compareValue)),a.Q6J("ngClass",t.cssClasses)("tabindex",s._isActiveCell(i,n)?0:-1),a.uIk("data-mat-row",i)("data-mat-col",n)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",s._isSelected(t.compareValue)),a.xp6(1),a.ekj("mat-calendar-body-selected",s._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",s._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",s.todayValue===t.compareValue),a.xp6(1),a.hij(" ",t.displayValue," ")}}function T(t,e){if(1&t&&(a.TgZ(0,"tr",4),a.YNc(1,D,2,6,"td",5),a.YNc(2,O,4,46,"td",6),a.qZA()),2&t){const t=e.$implicit,n=e.index,i=a.oxw();a.xp6(1),a.Q6J("ngIf",0===n&&i._firstRowOffset),a.xp6(1),a.Q6J("ngForOf",t)}}function R(t,e){if(1&t&&(a.TgZ(0,"th",5),a.TgZ(1,"abbr",6),a._uU(2),a.qZA(),a.qZA()),2&t){const t=e.$implicit;a.uIk("aria-label",t.long),a.xp6(1),a.uIk("title",t.long),a.xp6(1),a.Oqu(t.narrow)}}const I=["*"];function F(t,e){}function L(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-month-view",5),a.NdJ("activeDateChange",function(e){return a.CHM(t),a.oxw().activeDate=e})("_userSelection",function(e){return a.CHM(t),a.oxw()._dateSelected(e)}),a.qZA()}if(2&t){const t=a.oxw();a.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function P(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-year-view",6),a.NdJ("activeDateChange",function(e){return a.CHM(t),a.oxw().activeDate=e})("monthSelected",function(e){return a.CHM(t),a.oxw()._monthSelectedInYearView(e)})("selectedChange",function(e){return a.CHM(t),a.oxw()._goToDateInView(e,"month")}),a.qZA()}if(2&t){const t=a.oxw();a.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function M(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-multi-year-view",7),a.NdJ("activeDateChange",function(e){return a.CHM(t),a.oxw().activeDate=e})("yearSelected",function(e){return a.CHM(t),a.oxw()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return a.CHM(t),a.oxw()._goToDateInView(e,"year")}),a.qZA()}if(2&t){const t=a.oxw();a.Q6J("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function N(t,e){}const B=["button"];function V(t,e){1&t&&(a.O4$(),a.TgZ(0,"svg",3),a._UZ(1,"path",4),a.qZA())}const Y=[[["","matDatepickerToggleIcon",""]]],U=["[matDatepickerToggleIcon]"];let j=(()=>{class t{constructor(){this.changes=new h.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();class z{constructor(t,e,n,i,s={},r=t,o){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=i,this.cssClasses=s,this.compareValue=r,this.rawValue=o}}let q=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new a.vpe,this.previewChange=new a.vpe,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&G(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:i}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),(e||!this._cellWidth)&&(this._cellWidth=100/i+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return H(t,this.startValue,this.endValue)}_isRangeEnd(t){return Z(t,this.startValue,this.endValue)}_isInRange(t){return $(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return H(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let i=this.rows[e][n-1];if(!i){const t=this.rows[e-1];i=t&&t[t.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let i=this.rows[e][n+1];if(!i){const t=this.rows[e+1];i=t&&t[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(t){return Z(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return $(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return H(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return Z(t,this.previewStart,this.previewEnd)}_isInPreview(t){return $(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(G(t)?e=t:G(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-mat-row"),n=e.getAttribute("data-mat-col");if(t&&n)return this.rows[parseInt(t)][parseInt(n)]}return null}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.R0b))},t.\u0275cmp=a.Xpm({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[a.TTD],attrs:k,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(a.YNc(0,A,3,6,"tr",0),a.YNc(1,T,3,2,"tr",1)),2&t&&(a.Q6J("ngIf",e._firstRowOffset<e.labelMinRequiredCells),a.xp6(1),a.Q6J("ngForOf",e.rows))},directives:[o.O5,o.sg,o.mk],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t})();function G(t){return"TD"===t.nodeName}function H(t,e,n){return null!==n&&e!==n&&t<n&&t===e}function Z(t,e,n){return null!==e&&e!==n&&t>=e&&t===n}function $(t,e,n,i){return i&&null!==e&&null!==n&&e!==n&&t>=e&&t<=n}class W{constructor(t,e){this.start=t,this.end=e}}let Q=(()=>{class t{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new h.xQ,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){const n=this.selection;this.selection=t,this._selectionChanged.next({selection:t,source:e,oldValue:n})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(void 0),a.LFG(u._A))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t})(),K=(()=>{class t extends Q{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const e=new t(this._adapter);return e.updateSelection(this.selection,this),e}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(u._A))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t})();const X={provide:Q,deps:[[new a.FiY,new a.tp0,Q],u._A],useFactory:function(t,e){return t||new K(e)}},J=new a.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let tt=(()=>{class t{constructor(t,e,n,i,s){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rangeStrategy=s,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new a.vpe,this._userSelection=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof W?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,_.O)(null)).subscribe(()=>this._init())}ngOnChanges(t){const e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,n=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.createDate(n,i,e);let r,o;this._selected instanceof W?(r=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):r=o=this._getDateInCurrentMonth(this._selected),(r!==e||o!==e)&&this.selectedChange.emit(s),this._userSelection.emit({value:s,event:t.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case m.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case m.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case m.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case m.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case m.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case m.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case m.Ku:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case m.VM:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case m.K5:case m.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&t.preventDefault());case m.hY:return void(null!=this._previewEnd&&!(0,m.Vb)(t)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===m.L_||t.keyCode===m.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n<t;n++,i++){7==i&&(this._weeks.push([]),i=0);const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),s=this._shouldEnableDate(t),r=this._dateAdapter.format(t,this._dateFormats.display.dateA11yLabel),o=this.dateClass?this.dateClass(t,"month"):void 0;this._weeks[this._weeks.length-1].push(new z(n+1,e[n],r,s,o,this._getCellCompareValue(t),t))}}_shouldEnableDate(t){return!!t&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),i=this._dateAdapter.getDate(t);return new Date(e,n,i).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof W?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(t){return!this.dateFilter||this.dateFilter(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.sBO),a.Y36(u.sG,8),a.Y36(u._A,8),a.Y36(E.Is,8),a.Y36(J,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){if(1&t&&a.Gf(q,5),2&t){let t;a.iGM(t=a.CRH())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[a.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"],[1,"mat-calendar-abbr"]],template:function(t,e){1&t&&(a.TgZ(0,"table",0),a.TgZ(1,"thead",1),a.TgZ(2,"tr"),a.YNc(3,R,3,3,"th",2),a.qZA(),a.TgZ(4,"tr"),a._UZ(5,"th",3),a.qZA(),a.qZA(),a.TgZ(6,"tbody",4),a.NdJ("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keyup",function(t){return e._handleCalendarBodyKeyup(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),a.qZA(),a.qZA()),2&t&&(a.xp6(3),a.Q6J("ngForOf",e._weekdays),a.xp6(3),a.Q6J("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[o.sg,q],encapsulation:2,changeDetection:0}),t})(),et=(()=>{class t{constructor(t,e,n){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),nt(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof W?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,_.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];e<24;e++)n.push(t+e),4==n.length&&(this._years.push(n.map(t=>this._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));this.selectedChange.emit(this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case m.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case m.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case m.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case m.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case m.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case m.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case m.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case m.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case m.K5:case m.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===m.L_||t.keyCode===m.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_getActiveCell(){return it(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){const e=this._dateAdapter.createDate(t,0,1),n=this._dateAdapter.getYearName(e),i=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new z(t,n,n,this._shouldEnableYear(t),i)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(t){if(this._selectedYear=null,t instanceof W){const e=t.start||t.end;e&&(this._selectedYear=this._dateAdapter.getYear(e))}else t&&(this._selectedYear=this._dateAdapter.getYear(t))}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.sBO),a.Y36(u._A,8),a.Y36(E.Is,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(t,e){if(1&t&&a.Gf(q,5),2&t){let t;a.iGM(t=a.CRH())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keyup","keydown"]],template:function(t,e){1&t&&(a.TgZ(0,"table",0),a.TgZ(1,"thead",1),a.TgZ(2,"tr"),a._UZ(3,"th",2),a.qZA(),a.qZA(),a.TgZ(4,"tbody",3),a.NdJ("selectedValueChange",function(t){return e._yearSelected(t)})("keyup",function(t){return e._handleCalendarBodyKeyup(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),a.qZA(),a.qZA()),2&t&&(a.xp6(4),a.Q6J("rows",e._years)("todayValue",e._todayYear)("startValue",e._selectedYear)("endValue",e._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._getActiveCell()))},directives:[q],encapsulation:2,changeDetection:0}),t})();function nt(t,e,n,i,s){const r=t.getYear(e),o=t.getYear(n),a=st(t,i,s);return Math.floor((r-a)/24)===Math.floor((o-a)/24)}function it(t,e,n,i){return function(t,e){return(t%24+24)%24}(t.getYear(e)-st(t,n,i))}function st(t,e,n){let i=0;return n?i=t.getYear(n)-24+1:e&&(i=t.getYear(e)),i}let rt=(()=>{class t{constructor(t,e,n,i){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=d.w.EMPTY,this.selectedChange=new a.vpe,this.monthSelected=new a.vpe,this.activeDateChange=new a.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof W?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,_.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);const i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case m.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case m.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case m.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case m.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case m.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case m.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case m.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case m.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case m.K5:case m.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_handleCalendarBodyKeyup(t){(t.keyCode===m.L_||t.keyCode===m.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),s=this.dateClass?this.dateClass(n,"year"):void 0;return new z(t,e.toLocaleUpperCase(),i,this._shouldEnableMonth(t),s)}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<i}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(t){this._selectedMonth=t instanceof W?this._getMonthInCurrentYear(t.start)||this._getMonthInCurrentYear(t.end):this._getMonthInCurrentYear(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.sBO),a.Y36(u.sG,8),a.Y36(u._A,8),a.Y36(E.Is,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-year-view"]],viewQuery:function(t,e){if(1&t&&a.Gf(q,5),2&t){let t;a.iGM(t=a.CRH())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keyup","keydown"]],template:function(t,e){1&t&&(a.TgZ(0,"table",0),a.TgZ(1,"thead",1),a.TgZ(2,"tr"),a._UZ(3,"th",2),a.qZA(),a.qZA(),a.TgZ(4,"tbody",3),a.NdJ("selectedValueChange",function(t){return e._monthSelected(t)})("keyup",function(t){return e._handleCalendarBodyKeyup(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),a.qZA(),a.qZA()),2&t&&(a.xp6(4),a.Q6J("label",e._yearLabel)("rows",e._months)("todayValue",e._todayMonth)("startValue",e._selectedMonth)("endValue",e._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",e._dateAdapter.getMonth(e.activeDate)))},directives:[q],encapsulation:2,changeDetection:0}),t})(),ot=0,at=(()=>{class t{constructor(t,e,n,i,s){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=i,this._buttonDescriptionId="mat-calendar-button-"+ot++,this.calendar.stateChanges.subscribe(()=>s.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-it(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,i)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):nt(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(j),a.Y36((0,a.Gpc)(()=>lt)),a.Y36(u._A,8),a.Y36(u.sG,8),a.Y36(a.sBO))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:I,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,e){1&t&&(a.F$t(),a.TgZ(0,"div",0),a.TgZ(1,"div",1),a.TgZ(2,"button",2),a.NdJ("click",function(){return e.currentPeriodClicked()}),a.TgZ(3,"span"),a._uU(4),a.qZA(),a.O4$(),a.TgZ(5,"svg",3),a._UZ(6,"polygon",4),a.qZA(),a.qZA(),a.kcU(),a._UZ(7,"div",5),a.Hsn(8),a.TgZ(9,"button",6),a.NdJ("click",function(){return e.previousClicked()}),a.qZA(),a.TgZ(10,"button",7),a.NdJ("click",function(){return e.nextClicked()}),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.xp6(2),a.uIk("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),a.xp6(1),a.uIk("id",e._buttonDescriptionId),a.xp6(1),a.Oqu(e.periodButtonText),a.xp6(1),a.ekj("mat-calendar-invert","month"!==e.calendar.currentView),a.xp6(4),a.Q6J("disabled",!e.previousEnabled()),a.uIk("aria-label",e.prevButtonLabel),a.xp6(1),a.Q6J("disabled",!e.nextEnabled()),a.uIk("aria-label",e.nextButtonLabel))},directives:[l.lW,i.Qr],encapsulation:2,changeDetection:0}),t})(),lt=(()=>{class t{constructor(t,e,n,i){this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new a.vpe,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this._userSelection=new a.vpe,this.stateChanges=new h.xQ,this._intlChanges=t.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof W?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}ngAfterContentInit(){this._calendarHeaderPortal=new r.C5(this.headerComponent||at),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(t){const e=t.value;(this.selected instanceof W||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(j),a.Y36(u._A,8),a.Y36(u.sG,8),a.Y36(a.sBO))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){if(1&t&&(a.Gf(tt,5),a.Gf(rt,5),a.Gf(et,5)),2&t){let t;a.iGM(t=a.CRH())&&(e.monthView=t.first),a.iGM(t=a.CRH())&&(e.yearView=t.first),a.iGM(t=a.CRH())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[a._Bn([X]),a.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(a.YNc(0,F,0,0,"ng-template",0),a.TgZ(1,"div",1),a.YNc(2,L,1,8,"mat-month-view",2),a.YNc(3,P,1,6,"mat-year-view",3),a.YNc(4,M,1,6,"mat-multi-year-view",4),a.qZA()),2&t&&(a.Q6J("cdkPortalOutlet",e._calendarHeaderPortal),a.xp6(1),a.Q6J("ngSwitch",e.currentView),a.xp6(1),a.Q6J("ngSwitchCase","month"),a.xp6(1),a.Q6J("ngSwitchCase","year"),a.xp6(1),a.Q6J("ngSwitchCase","multi-year"))},directives:[r.Pl,i.kH,o.RF,o.n9,tt,rt,et],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-abbr{text-decoration:none}\n'],encapsulation:2,changeDetection:0}),t})();const ct={transformPanel:(0,w.X$)("transformPanel",[(0,w.eR)("void => enter-dropdown",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,w.F4)([(0,w.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,w.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,w.eR)("void => enter-dialog",(0,w.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,w.F4)([(0,w.oB)({opacity:0,transform:"scale(0.7)"}),(0,w.oB)({transform:"none",opacity:1})]))),(0,w.eR)("* => void",(0,w.jt)("100ms linear",(0,w.oB)({opacity:0})))]),fadeInCalendar:(0,w.X$)("fadeInCalendar",[(0,w.SB)("void",(0,w.oB)({opacity:0})),(0,w.SB)("enter",(0,w.oB)({opacity:1})),(0,w.eR)("void => *",(0,w.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let ut=0;const ht=new a.OlP("mat-datepicker-scroll-strategy"),dt={provide:ht,deps:[s.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},pt=(0,u.pj)(class{constructor(t){this._elementRef=t}});let ft=(()=>{class t extends pt{constructor(t,e,n,i,s,r){super(t),this._changeDetectorRef=e,this._globalModel=n,this._dateAdapter=i,this._rangeSelectionStrategy=s,this._subscriptions=new d.w,this._animationDone=new h.xQ,this._actionsPortal=null,this._closeButtonText=r.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){const e=this._model.selection,n=t.value,i=e instanceof W;if(i&&this._rangeSelectionStrategy){const i=this._rangeSelectionStrategy.selectionFinished(n,e,t.event);this._model.updateSelection(i,this)}else n&&(i||!this._dateAdapter.sameDate(n,e))&&this._model.add(n);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(Q),a.Y36(u._A),a.Y36(J,8),a.Y36(j))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){if(1&t&&a.Gf(lt,5),2&t){let t;a.iGM(t=a.CRH())&&(e._calendar=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&a.WFA("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(a.d8E("@transformPanel",e._animationState),a.ekj("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[a.qOj],decls:5,vars:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(t,e){1&t&&(a.TgZ(0,"div",0),a.TgZ(1,"mat-calendar",1),a.NdJ("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),a.qZA(),a.YNc(2,N,0,0,"ng-template",2),a.TgZ(3,"button",3),a.NdJ("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),a._uU(4),a.qZA(),a.qZA()),2&t&&(a.ekj("mat-datepicker-content-container-with-actions",e._actionsPortal),a.xp6(1),a.Q6J("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),a.xp6(1),a.Q6J("cdkPortalOutlet",e._actionsPortal),a.xp6(1),a.ekj("cdk-visually-hidden",!e._closeButtonFocused),a.Q6J("color",e.color||"primary"),a.xp6(1),a.Oqu(e._closeButtonText))},directives:[i.mK,lt,o.mk,r.Pl,l.lW],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[ct.transformPanel,ct.fadeInCalendar]},changeDetection:0}),t})(),mt=(()=>{class t{constructor(t,e,n,i,s,r,o,l,c){this._overlay=e,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=r,this._dir=o,this._model=c,this._inputStateChanges=d.w.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new a.vpe,this.monthSelected=new a.vpe,this.viewChanged=new a.vpe(!0),this.openedStream=new a.vpe,this.closedStream=new a.vpe,this._opened=!1,this.id="mat-datepicker-"+ut++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new h.xQ,this._scrollStrategy=s}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=(0,y.Ig)(t)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){const e=(0,y.Ig)(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(t){this._restoreFocus=(0,y.Ig)(t)}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=(0,y.du)(t)}get opened(){return this._opened}set opened(t){(0,y.Ig)(t)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(t){const e=t.xPosition||t.yPosition;if(e&&!e.firstChange&&this._overlayRef){const t=this._overlayRef.getConfig().positionStrategy;t instanceof s._G&&(this._setConnectedPositions(t),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}registerInput(t){return this._inputStateChanges.unsubscribe(),this.datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(t){this._actionsPortal=t}removeActions(t){t===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,v.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const t=this._componentRef.instance;t._startExitAnimation(),t._animationDone.pipe((0,g.q)(1)).subscribe(()=>this._destroyOverlay())}const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_applyPendingSelection(){var t,e;null===(e=null===(t=this._componentRef)||void 0===t?void 0:t.instance)||void 0===e||e._applyPendingSelection()}_forwardContentValues(t){t.datepicker=this,t.color=this.color,t._actionsPortal=this._actionsPortal}_openOverlay(){this._destroyOverlay();const t=this.touchUi,e=this.datepickerInput.getOverlayLabelId(),n=new r.C5(ft,this._viewContainerRef),i=this._overlayRef=this._overlay.create(new s.X_({positionStrategy:t?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[t?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:t?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(t?"dialog":"popup")})),o=i.overlayElement;o.setAttribute("role","dialog"),e&&o.setAttribute("aria-labelledby",e),t&&o.setAttribute("aria-modal","true"),this._getCloseStream(i).subscribe(t=>{t&&t.preventDefault(),this.close()}),this._componentRef=i.attach(n),this._forwardContentValues(this._componentRef.instance),t||this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>i.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(t)}_setConnectedPositions(t){const e="end"===this.xPosition?"end":"start",n="start"===e?"end":"start",i="above"===this.yPosition?"bottom":"top",s="top"===i?"bottom":"top";return t.withPositions([{originX:e,originY:s,overlayX:e,overlayY:i},{originX:e,originY:i,overlayX:e,overlayY:s},{originX:n,originY:s,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:s}])}_getCloseStream(t){return(0,p.T)(t.backdropClick(),t.detachments(),t.keydownEvents().pipe((0,b.h)(t=>t.keyCode===m.hY&&!(0,m.Vb)(t)||this.datepickerInput&&(0,m.Vb)(t,"altKey")&&t.keyCode===m.LH)))}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(s.aV),a.Y36(a.R0b),a.Y36(a.s_b),a.Y36(ht),a.Y36(u._A,8),a.Y36(E.Is,8),a.Y36(o.K0,8),a.Y36(Q))},t.\u0275dir=a.lG2({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[a.TTD]}),t})(),gt=(()=>{class t extends mt{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[a._Bn([X,{provide:mt,useExisting:t}]),a.qOj],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();class _t{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let bt=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this.dateChange=new a.vpe,this.dateInput=new a.vpe,this.stateChanges=new h.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=d.w.EMPTY,this._localeSubscription=d.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!e||this._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMinDate();return!n||!e||this._dateAdapter.compareDate(n,e)<=0?null:{matDatepickerMin:{min:n,actual:e}}},this._maxValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMaxDate();return!n||!e||this._dateAdapter.compareDate(n,e)>=0?null:{matDatepickerMax:{max:n,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){this._assignValueProgrammatically(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const e=(0,y.Ig)(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&n.blur&&n.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(this._shouldHandleChangeEvent(t)){const e=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(e),this._cvaOnChange(e),this._onTouched(),this._formatValue(e),this.dateInput.emit(new _t(this,this._elementRef.nativeElement)),this.dateChange.emit(new _t(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function(t,e){const n=Object.keys(t);for(let i of n){const{previousValue:n,currentValue:s}=t[i];if(!e.isDateInstance(n)||!e.isDateInstance(s))return!0;if(!e.sameDate(n,s))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this._assignValueProgrammatically(t)}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===m.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(t&&!this.value&&this._cvaOnChange(n),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this.dateInput.emit(new _t(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new _t(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_assignValueProgrammatically(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t),this._assignValue(t),this._formatValue(t)}_matchesFilter(t){const e=this._getDateFilter();return!e||e(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(u._A,8),a.Y36(u.sG,8))},t.\u0275dir=a.lG2({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[a.TTD]}),t})();const yt={provide:C.JU,useExisting:(0,a.Gpc)(()=>wt),multi:!0},vt={provide:C.Cf,useExisting:(0,a.Gpc)(()=>wt),multi:!0};let wt=(()=>{class t extends bt{constructor(t,e,n,i){super(t,e,n),this._formField=i,this._closedSubscription=d.w.EMPTY,this._validator=C.kI.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._closedSubscription=t.closedStream.subscribe(()=>this._onTouched()),this._registerModel(t.registerInput(this)))}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(t){return t.source!==this}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(u._A,8),a.Y36(u.sG,8),a.Y36(x.G_,8))},t.\u0275dir=a.lG2({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&a.NdJ("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(a.Ikx("disabled",e.disabled),a.uIk("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[a._Bn([yt,vt,{provide:S.Jk,useExisting:t}]),a.qOj]}),t})(),Ct=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),xt=(()=>{class t{constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=d.w.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=(0,y.Ig)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker.stateChanges:(0,f.of)(),e=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,f.of)(),n=this.datepicker?(0,p.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,f.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,p.T)(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(j),a.Y36(a.sBO),a.$8M("tabindex"))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,n){if(1&t&&a.Suo(n,Ct,5),2&t){let t;a.iGM(t=a.CRH())&&(e._customIcon=t.first)}},viewQuery:function(t,e){if(1&t&&a.Gf(B,5),2&t){let t;a.iGM(t=a.CRH())&&(e._button=t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){1&t&&a.NdJ("click",function(t){return e._open(t)}),2&t&&(a.uIk("tabindex",null)("data-mat-calendar",e.datepicker?e.datepicker.id:null),a.ekj("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[a.TTD],ngContentSelectors:U,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(t,e){1&t&&(a.F$t(Y),a.TgZ(0,"button",0,1),a.YNc(2,V,2,0,"svg",2),a.Hsn(3),a.qZA()),2&t&&(a.Q6J("disabled",e.disabled)("disableRipple",e.disableRipple),a.uIk("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e.ariaLabel||e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),a.xp6(2),a.Q6J("ngIf",!e._customIcon))},directives:[l.lW,o.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),t})(),St=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[j,dt],imports:[[o.ez,l.ot,s.U8,i.rt,r.eL,u.BQ],c.ZD]}),t})()},22238:function(t,e,n){"use strict";n.d(e,{WI:function(){return A},uw:function(){return I},H8:function(){return N},ZT:function(){return L},vA:function(){return v},xY:function(){return M},Is:function(){return V},so:function(){return E},uh:function(){return P}});var i=n(58203),s=n(87636),r=n(37716),o=n(72458),a=n(70946),l=n(38583),c=n(79765),u=n(41439),h=n(25917),d=n(45435),p=n(15257),f=n(39761),m=n(80521),g=n(17238),_=n(36461),b=n(19238);function y(t,e){}class v{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const w={dialogContainer:(0,g.X$)("dialogContainer",[(0,g.SB)("void, exit",(0,g.oB)({opacity:0,transform:"scale(0.7)"})),(0,g.SB)("enter",(0,g.oB)({transform:"none"})),(0,g.eR)("* => enter",(0,g.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,g.oB)({transform:"none",opacity:1}))),(0,g.eR)("* => void, * => exit",(0,g.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,g.oB)({opacity:0})))])};let C=(()=>{class t extends s.en{constructor(t,e,n,i,s,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=s,this._focusMonitor=o,this._animationStateChanged=new r.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=(0,m.ht)(),n=this._elementRef.nativeElement;(!e||e===this._document.body||e===n||n.contains(e))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,m.ht)())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=(0,m.ht)();return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(b.qV),r.Y36(r.sBO),r.Y36(l.K0,8),r.Y36(v),r.Y36(b.tE))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&r.Gf(s.Pl,7),2&t){let t;r.iGM(t=r.CRH())&&(e._portalOutlet=t.first)}},features:[r.qOj]}),t})(),x=(()=>{class t extends C{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):("exit"===t||"void"===t)&&this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&r.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(r.Ikx("id",e._id),r.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),r.d8E("@dialogContainer",e._state))},features:[r.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&r.YNc(0,y,0,0,"ng-template",0)},directives:[s.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[w.dialogContainer]}}),t})(),S=0;class E{constructor(t,e,n="mat-dialog-"+S++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.xQ,this._afterClosed=new c.xQ,this._beforeClosed=new c.xQ,this._state=0,e._id=n,e._animationStateChanged.pipe((0,d.h)(t=>"opened"===t.state),(0,p.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,d.h)(t=>"closed"===t.state),(0,p.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe((0,d.h)(t=>t.keyCode===_.hY&&!this.disableClose&&!(0,_.Vb)(t))).subscribe(t=>{t.preventDefault(),k(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,d.h)(t=>"closing"===t.state),(0,p.q)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const A=new r.OlP("MatDialogData"),D=new r.OlP("mat-dialog-default-options"),O=new r.OlP("mat-dialog-scroll-strategy"),T={provide:O,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.block()}};let R=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=s,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.xQ,this._afterOpenedAtThisLevel=new c.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,u.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,f.O)(void 0))),this._scrollStrategy=r}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new v)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),s=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),i._initializeWithAttachedContent(),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=r.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:e}]}),i=new s.C5(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof r.Rgc)e.attachTemplatePortal(new s.UE(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),r=e.attachComponentPortal(new s.C5(t,i.viewContainerRef,n));o.componentInstance=r.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return t.direction&&(!i||!i.get(a.Is,null,r.XFs.Optional))&&s.push({provide:a.Is,useValue:{value:t.direction,change:(0,h.of)()}}),r.zs3.create({parent:i||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i!==t&&"SCRIPT"!==i.nodeName&&"STYLE"!==i.nodeName&&!i.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.aV),r.Y36(r.zs3),r.Y36(void 0),r.Y36(void 0),r.Y36(i.Xj),r.Y36(void 0),r.Y36(r.DyG),r.Y36(r.DyG),r.Y36(r.OlP))},t.\u0275dir=r.lG2({type:t}),t})(),I=(()=>{class t extends R{constructor(t,e,n,i,s,r,o){super(t,e,i,r,o,s,E,x,A)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.aV),r.LFG(r.zs3),r.LFG(l.Ye,8),r.LFG(D,8),r.LFG(O),r.LFG(t,12),r.LFG(i.Xj))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),F=0,L=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=B(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){k(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(E,8),r.Y36(r.SBq),r.Y36(I))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e._onButtonClick(t)}),2&t&&r.uIk("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[r.TTD]}),t})(),P=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+F++}ngOnInit(){this._dialogRef||(this._dialogRef=B(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(E,8),r.Y36(r.SBq),r.Y36(I))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&r.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})();function B(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}let V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[I,T],imports:[[i.U8,s.eL,o.BQ],o.BQ]}),t})()},1769:function(t,e,n){"use strict";n.d(e,{d:function(){return o},t:function(){return a}});var i=n(39490),s=n(72458),r=n(37716);let o=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=(0,i.Ig)(t)}get inset(){return this._inset}set inset(t){this._inset=(0,i.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:[[s.BQ],s.BQ]}),t})()},90171:function(t,e,n){"use strict";n.d(e,{pp:function(){return H},To:function(){return Z},ib:function(){return Y},u4:function(){return q},yz:function(){return z},yK:function(){return G}});var i=n(37716),s=n(39490),r=n(79765),o=n(10826),a=n(38345);let l=0;const c=new i.OlP("CdkAccordion");let u=(()=>{class t{constructor(){this._stateChanges=new r.xQ,this._openCloseAllActions=new r.xQ,this.id="cdk-accordion-"+l++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=(0,s.Ig)(t)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i._Bn([{provide:c,useExisting:t}]),i.TTD]}),t})(),h=0,d=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=o.w.EMPTY,this.closed=new i.vpe,this.opened=new i.vpe,this.destroyed=new i.vpe,this.expandedChange=new i.vpe,this.id="cdk-accordion-child-"+h++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=(0,s.Ig)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,s.Ig)(t)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(c,12),i.Y36(i.sBO),i.Y36(a.A8))},t.\u0275dir=i.lG2({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i._Bn([{provide:c,useValue:void 0}])]}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var f=n(87636),m=n(38583),g=n(72458),_=n(19238),b=n(87519),y=n(39761),v=n(45435),w=n(15257),C=n(36461),x=n(46237),S=n(59193),E=n(66682),k=n(17238);const A=["body"];function D(t,e){}const O=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],T=["mat-expansion-panel-header","*","mat-action-row"];function R(t,e){if(1&t&&i._UZ(0,"span",2),2&t){const t=i.oxw();i.Q6J("@indicatorRotate",t._getExpandedState())}}const I=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],F=["mat-panel-title","mat-panel-description","*"],L=new i.OlP("MAT_ACCORDION"),P="225ms cubic-bezier(0.4,0.0,0.2,1)",M={indicatorRotate:(0,k.X$)("indicatorRotate",[(0,k.SB)("collapsed, void",(0,k.oB)({transform:"rotate(0deg)"})),(0,k.SB)("expanded",(0,k.oB)({transform:"rotate(180deg)"})),(0,k.eR)("expanded <=> collapsed, void => collapsed",(0,k.jt)(P))]),bodyExpansion:(0,k.X$)("bodyExpansion",[(0,k.SB)("collapsed, void",(0,k.oB)({height:"0px",visibility:"hidden"})),(0,k.SB)("expanded",(0,k.oB)({height:"*",visibility:"visible"})),(0,k.eR)("expanded <=> collapsed, void => collapsed",(0,k.jt)(P))])};let N=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),B=0;const V=new i.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Y=(()=>{class t extends d{constructor(t,e,n,s,o,a,l){super(t,e,n),this._viewContainerRef=s,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new i.vpe,this.afterCollapse=new i.vpe,this._inputChanges=new r.xQ,this._headerId="mat-expansion-panel-header-"+B++,this._bodyAnimationDone=new r.xQ,this.accordion=t,this._document=o,this._bodyAnimationDone.pipe((0,b.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=(0,s.Ig)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe((0,y.O)(null),(0,v.h)(()=>this.expanded&&!this._portal),(0,w.q)(1)).subscribe(()=>{this._portal=new f.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(L,12),i.Y36(i.sBO),i.Y36(a.A8),i.Y36(i.s_b),i.Y36(m.K0),i.Y36(x.Qb,8),i.Y36(V,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,N,5),2&t){let t;i.iGM(t=i.CRH())&&(e._lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&i.Gf(A,5),2&t){let t;i.iGM(t=i.CRH())&&(e._body=t.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&i.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i._Bn([{provide:L,useValue:void 0}]),i.qOj,i.TTD],ngContentSelectors:T,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(i.F$t(O),i.Hsn(0),i.TgZ(1,"div",0,1),i.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),i.TgZ(3,"div",2),i.Hsn(4,1),i.YNc(5,D,0,0,"ng-template",3),i.qZA(),i.Hsn(6,2),i.qZA()),2&t&&(i.xp6(1),i.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),i.uIk("aria-labelledby",e._headerId),i.xp6(4),i.Q6J("cdkPortalOutlet",e._portal))},directives:[f.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[M.bodyExpansion]},changeDetection:0}),t})();class U{}const j=(0,g.sb)(U);let z=(()=>{class t extends j{constructor(t,e,n,i,s,r,a){super(),this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._animationMode=r,this._parentChangeSubscription=o.w.EMPTY;const l=t.accordion?t.accordion._stateChanges.pipe((0,v.h)(t=>!(!t.hideToggle&&!t.togglePosition))):S.E;this.tabIndex=parseInt(a||"")||0,this._parentChangeSubscription=(0,E.T)(t.opened,t.closed,l,t._inputChanges.pipe((0,v.h)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe((0,v.h)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case C.L_:case C.K5:(0,C.Vb)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Y,1),i.Y36(i.SBq),i.Y36(_.tE),i.Y36(i.sBO),i.Y36(V,8),i.Y36(x.Qb,8),i.$8M("tabindex"))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(i.uIk("id",e.panel._headerId)("tabindex",e.tabIndex)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),i.Udp("height",e._getHeaderHeight()),i.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[i.qOj],ngContentSelectors:F,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(i.F$t(I),i.TgZ(0,"span",0),i.Hsn(1),i.Hsn(2,1),i.Hsn(3,2),i.qZA(),i.YNc(4,R,1,1,"span",1)),2&t&&(i.xp6(4),i.Q6J("ngIf",e._showToggle()))},directives:[m.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}\n'],encapsulation:2,data:{animation:[M.indicatorRotate]},changeDetection:0}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),H=(()=>{class t extends u{constructor(){super(...arguments),this._ownHeaders=new i.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=(0,s.Ig)(t)}ngAfterContentInit(){this._headers.changes.pipe((0,y.O)(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(t=>t.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new _.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,z,5),2&t){let t;i.iGM(t=i.CRH())&&(e._headers=t)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-accordion-multi",e.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[i._Bn([{provide:L,useExisting:t}]),i.qOj]}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[m.ez,g.BQ,p,f.eL]]}),t})()},98295:function(t,e,n){"use strict";n.d(e,{G_:function(){return X},TO:function(){return N},KE:function(){return J},Eo:function(){return V},lN:function(){return tt},bx:function(){return j},hX:function(){return z},qo:function(){return H},R9:function(){return $}});var i=n(18553),s=n(38583),r=n(37716),o=n(72458),a=n(39490),l=n(79765),c=n(66682),u=n(22759),h=n(39761),d=n(46782),p=n(15257),f=n(17238),m=n(46237),g=n(70946),_=n(80521);const b=["underline"],y=["connectionContainer"],v=["inputContainer"],w=["label"];function C(t,e){1&t&&(r.ynx(0),r.TgZ(1,"div",14),r._UZ(2,"div",15),r._UZ(3,"div",16),r._UZ(4,"div",17),r.qZA(),r.TgZ(5,"div",18),r._UZ(6,"div",15),r._UZ(7,"div",16),r._UZ(8,"div",17),r.qZA(),r.BQk())}function x(t,e){1&t&&(r.TgZ(0,"div",19),r.Hsn(1,1),r.qZA())}function S(t,e){if(1&t&&(r.ynx(0),r.Hsn(1,2),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.BQk()),2&t){const t=r.oxw(2);r.xp6(3),r.Oqu(t._control.placeholder)}}function E(t,e){1&t&&r.Hsn(0,3,["*ngSwitchCase","true"])}function k(t,e){1&t&&(r.TgZ(0,"span",23),r._uU(1," *"),r.qZA())}function A(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"label",20,21),r.NdJ("cdkObserveContent",function(){return r.CHM(t),r.oxw().updateOutlineGap()}),r.YNc(2,S,4,1,"ng-container",12),r.YNc(3,E,1,0,"ng-content",12),r.YNc(4,k,2,0,"span",22),r.qZA()}if(2&t){const t=r.oxw();r.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),r.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),r.uIk("for",t._control.id)("aria-owns",t._control.id),r.xp6(2),r.Q6J("ngSwitchCase",!1),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function D(t,e){1&t&&(r.TgZ(0,"div",24),r.Hsn(1,4),r.qZA())}function O(t,e){if(1&t&&(r.TgZ(0,"div",25,26),r._UZ(2,"span",27),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function T(t,e){if(1&t&&(r.TgZ(0,"div"),r.Hsn(1,5),r.qZA()),2&t){const t=r.oxw();r.Q6J("@transitionMessages",t._subscriptAnimationState)}}function R(t,e){if(1&t&&(r.TgZ(0,"div",31),r._uU(1),r.qZA()),2&t){const t=r.oxw(2);r.Q6J("id",t._hintLabelId),r.xp6(1),r.Oqu(t.hintLabel)}}function I(t,e){if(1&t&&(r.TgZ(0,"div",28),r.YNc(1,R,2,2,"div",29),r.Hsn(2,6),r._UZ(3,"div",30),r.Hsn(4,7),r.qZA()),2&t){const t=r.oxw();r.Q6J("@transitionMessages",t._subscriptAnimationState),r.xp6(1),r.Q6J("ngIf",t.hintLabel)}}const F=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],L=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let P=0;const M=new r.OlP("MatError");let N=(()=>{class t{constructor(t,e){this.id="mat-error-"+P++,t||e.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(r.$8M("aria-live"),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("id",e.id)},inputs:{id:"id"},features:[r._Bn([{provide:M,useExisting:t}])]}),t})();const B={transitionMessages:(0,f.X$)("transitionMessages",[(0,f.SB)("enter",(0,f.oB)({opacity:1,transform:"translateY(0%)"})),(0,f.eR)("void => enter",[(0,f.oB)({opacity:0,transform:"translateY(-5px)"}),(0,f.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t}),t})(),Y=0;const U=new r.OlP("MatHint");let j=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+Y++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(r.uIk("id",e.id)("align",null),r.ekj("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[r._Bn([{provide:U,useExisting:t}])]}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-label"]]}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-placeholder"]]}),t})();const G=new r.OlP("MatPrefix");let H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","matPrefix",""]],features:[r._Bn([{provide:G,useExisting:t}])]}),t})();const Z=new r.OlP("MatSuffix");let $=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","matSuffix",""]],features:[r._Bn([{provide:Z,useExisting:t}])]}),t})(),W=0;const Q=(0,o.pj)(class{constructor(t){this._elementRef=t}},"primary"),K=new r.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),X=new r.OlP("MatFormField");let J=(()=>{class t extends Q{constructor(t,e,n,i,s,r,o,a){super(t),this._changeDetectorRef=e,this._dir=i,this._defaults=s,this._platform=r,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+W++,this._labelId="mat-form-field-label-"+W++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,a.Ig)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe((0,h.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,d.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,d.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,c.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,d.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,u.R)(this._label.nativeElement,"transitionend").pipe((0,p.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if(!("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser))return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,s=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=i.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(s),o=t.children,a=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let t=0;t<o.length;t++)l+=o[t].offsetWidth;e=Math.abs(a-r)-5,n=l>0?.75*l+10:0}for(let o=0;o<s.length;o++)s[o].style.width=`${e}px`;for(let o=0;o<r.length;o++)r[o].style.width=`${n}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(g.Is,8),r.Y36(K,8),r.Y36(_.t4),r.Y36(r.R0b),r.Y36(m.Qb,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,V,5),r.Suo(n,V,7),r.Suo(n,z,5),r.Suo(n,z,7),r.Suo(n,q,5),r.Suo(n,M,5),r.Suo(n,U,5),r.Suo(n,G,5),r.Suo(n,Z,5)),2&t){let t;r.iGM(t=r.CRH())&&(e._controlNonStatic=t.first),r.iGM(t=r.CRH())&&(e._controlStatic=t.first),r.iGM(t=r.CRH())&&(e._labelChildNonStatic=t.first),r.iGM(t=r.CRH())&&(e._labelChildStatic=t.first),r.iGM(t=r.CRH())&&(e._placeholderChild=t.first),r.iGM(t=r.CRH())&&(e._errorChildren=t),r.iGM(t=r.CRH())&&(e._hintChildren=t),r.iGM(t=r.CRH())&&(e._prefixChildren=t),r.iGM(t=r.CRH())&&(e._suffixChildren=t)}},viewQuery:function(t,e){if(1&t&&(r.Gf(b,5),r.Gf(y,7),r.Gf(v,5),r.Gf(w,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.underlineRef=t.first),r.iGM(t=r.CRH())&&(e._connectionContainerRef=t.first),r.iGM(t=r.CRH())&&(e._inputContainerRef=t.first),r.iGM(t=r.CRH())&&(e._label=t.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(t,e){2&t&&r.ekj("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[r._Bn([{provide:X,useExisting:t}]),r.qOj],ngContentSelectors:L,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(r.F$t(F),r.TgZ(0,"div",0),r.TgZ(1,"div",1,2),r.NdJ("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),r.YNc(3,C,9,0,"ng-container",3),r.YNc(4,x,2,0,"div",4),r.TgZ(5,"div",5,6),r.Hsn(7),r.TgZ(8,"span",7),r.YNc(9,A,5,16,"label",8),r.qZA(),r.qZA(),r.YNc(10,D,2,0,"div",9),r.qZA(),r.YNc(11,O,3,4,"div",10),r.TgZ(12,"div",11),r.YNc(13,T,2,1,"div",12),r.YNc(14,I,5,2,"div",13),r.qZA(),r.qZA()),2&t&&(r.xp6(3),r.Q6J("ngIf","outline"==e.appearance),r.xp6(1),r.Q6J("ngIf",e._prefixChildren.length),r.xp6(5),r.Q6J("ngIf",e._hasFloatingLabel()),r.xp6(1),r.Q6J("ngIf",e._suffixChildren.length),r.xp6(1),r.Q6J("ngIf","outline"!=e.appearance),r.xp6(1),r.Q6J("ngSwitch",e._getDisplayedMessages()),r.xp6(1),r.Q6J("ngSwitchCase","error"),r.xp6(1),r.Q6J("ngSwitchCase","hint"))},directives:[s.O5,s.RF,s.n9,i.wD],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[B.transitionMessages]},changeDetection:0}),t})(),tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.ez,o.BQ,i.Q8],o.BQ]}),t})()},76627:function(t,e,n){"use strict";n.d(e,{Hw:function(){return F},Ps:function(){return L}});var i=n(37716),s=n(72458),r=n(39490),o=n(38583),a=n(25917),l=n(40205),c=n(35758),u=n(10826),h=n(68307),d=n(88002),p=n(5304),f=n(68939),m=n(78345),g=n(15257),_=n(91841),b=n(39075);const y=["*"];function v(t){return Error(`Unable to find icon with the name "${t}"`)}function w(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function C(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class x{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let S=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new x(n,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,s){const r=this._sanitizer.sanitize(i.q3G.HTML,n);if(!r)throw C(n);return this._addSvgIconConfig(t,e,new x("",r,s))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new x(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const s=this._sanitizer.sanitize(i.q3G.HTML,e);if(!s)throw C(e);return this._addSvgIconSetConfig(t,new x("",s,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,t);if(!e)throw w(t);const n=this._cachedIconsByUrl.get(e);return n?(0,a.of)(E(n)):this._loadSvgIconFromConfig(new x(t,null)).pipe((0,h.b)(t=>this._cachedIconsByUrl.set(e,t)),(0,d.U)(t=>E(t)))}getNamedSvgIcon(t,e=""){const n=k(e,t);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):(0,l._)(v(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,a.of)(E(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,d.U)(t=>E(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return(0,a.of)(n);const s=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe((0,p.K)(e=>{const n=`Loading icon set URL: ${this._sanitizer.sanitize(i.q3G.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler.handleError(new Error(n)),(0,a.of)(null)})));return(0,c.D)(s).pipe((0,d.U)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw v(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(e,t,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,h.b)(e=>t.svgText=e),(0,d.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,a.of)(null):this._fetchIcon(t).pipe((0,h.b)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const s=i.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,n);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),n);const r=this._svgElementFromString("<svg></svg>");return r.appendChild(s),this._setSvgAttributes(r,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString("<svg></svg>"),n=t.attributes;for(let i=0;i<n.length;i++){const{name:t,value:s}=n[i];"id"!==t&&e.setAttribute(t,s)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){var e;const{url:n,options:s}=t,r=null!==(e=null==s?void 0:s.withCredentials)&&void 0!==e&&e;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const o=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,n);if(!o)throw w(n);const a=this._inProgressUrlFetches.get(o);if(a)return a;const l=this._httpClient.get(o,{responseType:"text",withCredentials:r}).pipe((0,f.x)(()=>this._inProgressUrlFetches.delete(o)),(0,m.B)());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(k(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let n=0;n<this._resolvers.length;n++){const i=this._resolvers[n](e,t);if(i)return A(i)?new x(i.url,null,i.options):new x(i,null)}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(_.eN,8),i.LFG(b.H7),i.LFG(o.K0,8),i.LFG(i.qLn))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(_.eN,8),i.LFG(b.H7),i.LFG(o.K0,8),i.LFG(i.qLn))},token:t,providedIn:"root"}),t})();function E(t){return t.cloneNode(!0)}function k(t,e){return t+":"+e}function A(t){return!(!t.url||!t.options)}const D=(0,s.pj)(class{constructor(t){this._elementRef=t}}),O=new i.OlP("mat-icon-location",{providedIn:"root",factory:function(){const t=(0,i.f3M)(o.K0),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),T=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],R=T.map(t=>`[${t}]`).join(", "),I=/^url\(['"]?#(.*?)['"]?\)$/;let F=(()=>{class t extends D{constructor(t,e,n,i,s){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=s,this._inline=!1,this._currentIconFetch=u.w.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=(0,r.Ig)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let i=0;i<e.length;i++)e[i].textContent+=" ";const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];(1!==n.nodeType||"svg"===n.nodeName.toLowerCase())&&t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(R),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)T.forEach(t=>{const s=e[i],r=s.getAttribute(t),o=r?r.match(I):null;if(o){let e=n.get(s);e||(e=[],n.set(s,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe((0,g.q)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(S),i.$8M("aria-hidden"),i.Y36(O),i.Y36(i.qLn))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i.uIk("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i.ekj("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:y,decls:1,vars:0,template:function(t,e){1&t&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[s.BQ],s.BQ]}),t})()},49983:function(t,e,n){"use strict";n.d(e,{Jk:function(){return f},Nt:function(){return b},c:function(){return y}});var i=n(80521),s=n(37716),r=n(39490),o=n(59193),a=n(79765);n(22759),n(45697),n(46782),n(38583);const l=(0,i.i$)({passive:!0});let c=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.E;const e=(0,r.fI)(t),n=this._monitoredElements.get(e);if(n)return n.subject;const i=new a.xQ,s="cdk-text-field-autofilled",c=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(s)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(s)&&(e.classList.remove(s),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(s),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",c,l),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",c,l)}}),i}stopMonitoring(t){const e=(0,r.fI)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.t4),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({factory:function(){return new t(s.LFG(i.t4),s.LFG(s.R0b))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.ud]]}),t})();var h=n(72458),d=n(98295),p=n(3679);const f=new s.OlP("MAT_INPUT_VALUE_ACCESSOR"),m=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;const _=(0,h.FD)(class{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}});let b=(()=>{class t extends _{constructor(t,e,n,s,r,o,l,c,u,h){super(o,s,r,n),this._elementRef=t,this._platform=e,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new a.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>(0,i.qK)().has(t));const d=this._elementRef.nativeElement,p=d.nodeName.toLowerCase();this._inputValueAccessor=l||d,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{const e=t.target;!e.value&&0===e.selectionStart&&0===e.selectionEnd&&(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=(0,r.Ig)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&(0,i.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=(0,r.Ig)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=n,n?t.setAttribute("placeholder",n):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){m.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(i.t4),s.Y36(p.a5,10),s.Y36(p.F,8),s.Y36(p.sg,8),s.Y36(h.rD),s.Y36(f,10),s.Y36(c),s.Y36(s.R0b),s.Y36(d.G_,8))},t.\u0275dir=s.lG2({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&s.NdJ("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(s.Ikx("disabled",e.disabled)("required",e.required),s.uIk("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.empty&&e.required?null:e.errorState)("aria-required",e.required),s.ekj("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[s._Bn([{provide:d.Eo,useExisting:t}]),s.qOj,s.TTD]}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[h.rD],imports:[[u,d.lN,h.BQ],u,d.lN]}),t})()},33935:function(t,e,n){"use strict";n.d(e,{VK:function(){return B},OP:function(){return L},Tx:function(){return q},p6:function(){return j}});var i=n(19238),s=n(39490),r=n(36461),o=n(37716),a=n(79765),l=n(10826),c=n(66682),u=n(25917),h=n(64581),d=n(39761),p=n(43190),f=n(15257),m=n(45435),g=n(46782),_=n(65792),b=n(17238),y=n(87636),v=n(38583),w=n(72458),C=n(58203),x=n(80521),S=n(71386),E=n(70946);const k=["mat-menu-item",""];function A(t,e){1&t&&(o.O4$(),o.TgZ(0,"svg",2),o._UZ(1,"polygon",3),o.qZA())}const D=["*"];function O(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(e){return o.CHM(t),o.oxw()._handleKeydown(e)})("click",function(){return o.CHM(t),o.oxw().closed.emit("click")})("@transformMenu.start",function(e){return o.CHM(t),o.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return o.CHM(t),o.oxw()._onAnimationDone(e)}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA(),o.qZA()}if(2&t){const t=o.oxw();o.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),o.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const T={transformMenu:(0,b.X$)("transformMenu",[(0,b.SB)("void",(0,b.oB)({opacity:0,transform:"scale(0.8)"})),(0,b.eR)("void => enter",(0,b.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,b.oB)({opacity:1,transform:"scale(1)"}))),(0,b.eR)("* => void",(0,b.jt)("100ms 25ms linear",(0,b.oB)({opacity:0})))]),fadeInItems:(0,b.X$)("fadeInItems",[(0,b.SB)("showing",(0,b.oB)({opacity:1})),(0,b.eR)("void => *",[(0,b.oB)({opacity:0}),(0,b.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},R=new o.OlP("MatMenuContent"),I=new o.OlP("MAT_MENU_PANEL"),F=(0,w.Kr)((0,w.Id)(class{}));let L=(()=>{class t extends F{constructor(t,e,n,i,s){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this._changeDetectorRef=s,this.role="menuitem",this._hovered=new a.xQ,this._focused=new a.xQ,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let s=0;s<i.length;s++){const e=i[s];null===(t=e.parentNode)||void 0===t||t.removeChild(e)}return(null===(e=n.textContent)||void 0===e?void 0:e.trim())||""}_setHighlighted(t){var e;this._highlighted=t,null===(e=this._changeDetectorRef)||void 0===e||e.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(v.K0),o.Y36(i.tE),o.Y36(I,8),o.Y36(o.sBO))},t.\u0275cmp=o.Xpm({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,e){1&t&&o.NdJ("click",function(t){return e._checkDisabled(t)})("mouseenter",function(){return e._handleMouseEnter()}),2&t&&(o.uIk("role",e.role)("tabindex",e._getTabIndex())("aria-disabled",e.disabled.toString())("disabled",e.disabled||null),o.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",e._highlighted)("mat-menu-item-submenu-trigger",e._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[o.qOj],attrs:k,ngContentSelectors:D,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(t,e){1&t&&(o.F$t(),o.Hsn(0),o._UZ(1,"div",0),o.YNc(2,A,2,0,"svg",1)),2&t&&(o.xp6(1),o.Q6J("matRippleDisabled",e.disableRipple||e.disabled)("matRippleTrigger",e._getHostElement()),o.xp6(1),o.Q6J("ngIf",e._triggersSubmenu))},directives:[w.wG,v.O5],encapsulation:2,changeDetection:0}),t})();const P=new o.OlP("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let M=0,N=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.n_E,this._tabSubscription=l.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new a.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+M++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,s.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,s.Ig)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new i.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,p.w)(t=>(0,c.T)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,p.w)(t=>(0,c.T)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case r.hY:(0,r.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case r.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case r.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(e===r.LH||e===r.JH)&&n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=Math.min(this._baseElevation+t,24),n=`${this._elevationPrefix}${e}`,i=Object.keys(this._classList).find(t=>t.startsWith(this._elevationPrefix));(!i||i===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(P))},t.\u0275dir=o.lG2({type:t,contentQueries:function(t,e,n){if(1&t&&(o.Suo(n,R,5),o.Suo(n,L,5),o.Suo(n,L,4)),2&t){let t;o.iGM(t=o.CRH())&&(e.lazyContent=t.first),o.iGM(t=o.CRH())&&(e._allItems=t),o.iGM(t=o.CRH())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(o.Rgc,5),2&t){let t;o.iGM(t=o.CRH())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),B=(()=>{class t extends N{constructor(t,e,n){super(t,e,n),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(P))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o._Bn([{provide:I,useExisting:t}]),o.qOj],ngContentSelectors:D,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,O,3,6,"ng-template"))},directives:[v.mk],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[T.transformMenu,T.fadeInItems]},changeDetection:0}),t})();const V=new o.OlP("mat-menu-scroll-strategy"),Y={provide:V,deps:[C.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},U=(0,x.i$)({passive:!0});let j=(()=>{class t{constructor(t,e,n,s,r,a,c,u){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=a,this._dir=c,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=l.w.EMPTY,this._hoverSubscription=l.w.EMPTY,this._menuCloseSubscription=l.w.EMPTY,this._handleTouchStart=t=>{(0,i.yG)(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=r instanceof N?r:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,U),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(t=>{this._destroyMenu(t),("click"===t||"tab"===t)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,U),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof N&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){var t;null===(t=this._overlayRef)||void 0===t||t.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===t||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,e instanceof N?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe((0,m.h)(t=>"void"===t.toState),(0,f.q)(1),(0,g.R)(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new C.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,o]=[i,s],[a,l]=[e,n],c=0;this.triggersSubmenu()?(l=e="before"===this.menu.xPosition?"start":"end",n=a="end"===e?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(r="top"===i?"bottom":"top",o="top"===s?"bottom":"top"),t.withPositions([{originX:e,originY:r,overlayX:a,overlayY:i,offsetY:c},{originX:n,originY:r,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:o,overlayX:a,overlayY:s,offsetY:-c},{originX:n,originY:o,overlayX:l,overlayY:s,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,m.h)(t=>t!==this._menuItemInstance),(0,m.h)(()=>this._menuOpen)):(0,u.of)();return(0,c.T)(t,n,i,e)}_handleMousedown(t){(0,i.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;(e===r.K5||e===r.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===r.SV&&"ltr"===this.dir||e===r.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,m.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,_.g)(0,h.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof N&&this.menu._isAnimating?this.menu._animationDone.pipe((0,f.q)(1),(0,_.g)(0,h.E),(0,g.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new y.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(C.aV),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(V),o.Y36(I,8),o.Y36(L,10),o.Y36(E.Is,8),o.Y36(i.tE))},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&o.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&o.uIk("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[Y],imports:[w.BQ]}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[Y],imports:[[v.ez,w.BQ,w.si,C.U8,z],S.ZD,w.BQ,z]}),t})()},99692:function(t,e,n){"use strict";n.d(e,{NW:function(){return x},TU:function(){return S}});var i=n(38583),s=n(37716),r=n(72458),o=n(51095),a=n(67441),l=n(11436),c=n(39490),u=n(79765),h=n(98295);function d(t,e){if(1&t&&(s.TgZ(0,"mat-option",19),s._uU(1),s.qZA()),2&t){const t=e.$implicit;s.Q6J("value",t),s.xp6(1),s.hij(" ",t," ")}}function p(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"mat-form-field",16),s.TgZ(1,"mat-select",17),s.NdJ("selectionChange",function(e){return s.CHM(t),s.oxw(2)._changePageSize(e.value)}),s.YNc(2,d,2,2,"mat-option",18),s.qZA(),s.qZA()}if(2&t){const t=s.oxw(2);s.Q6J("appearance",t._formFieldAppearance)("color",t.color),s.xp6(1),s.Q6J("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),s.xp6(1),s.Q6J("ngForOf",t._displayedPageSizeOptions)}}function f(t,e){if(1&t&&(s.TgZ(0,"div",20),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t.pageSize)}}function m(t,e){if(1&t&&(s.TgZ(0,"div",12),s.TgZ(1,"div",13),s._uU(2),s.qZA(),s.YNc(3,p,3,6,"mat-form-field",14),s.YNc(4,f,2,1,"div",15),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.hij(" ",t._intl.itemsPerPageLabel," "),s.xp6(1),s.Q6J("ngIf",t._displayedPageSizeOptions.length>1),s.xp6(1),s.Q6J("ngIf",t._displayedPageSizeOptions.length<=1)}}function g(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",21),s.NdJ("click",function(){return s.CHM(t),s.oxw().firstPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",22),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),s.uIk("aria-label",t._intl.firstPageLabel)}}function _(t,e){if(1&t){const t=s.EpF();s.O4$(),s.kcU(),s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(t),s.oxw().lastPage()}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",24),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),s.uIk("aria-label",t._intl.lastPageLabel)}}let b=(()=>{class t{constructor(){this.changes=new u.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return`0 of ${n}`;const i=t*e;return`${i+1} \u2013 ${i<(n=Math.max(n,0))?Math.min(i+e,n):i+e} of ${n}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const y={provide:b,deps:[[new s.FiY,new s.tp0,b]],useFactory:function(t){return t||new b}},v=new s.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),w=(0,r.Id)((0,r.dB)(class{}));let C=(()=>{class t extends w{constructor(t,e,n){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new s.vpe,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:t,pageSizeOptions:e,hidePageSize:i,showFirstLastButtons:s}=n;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=i&&(this._hidePageSize=i),null!=s&&(this._showFirstLastButtons=s)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max((0,c.su)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=(0,c.su)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max((0,c.su)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>(0,c.su)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=(0,c.Ig)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=(0,c.Ig)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,e)=>t-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b),s.Y36(s.sBO),s.Y36(void 0))},t.\u0275dir=s.lG2({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[s.qOj]}),t})(),x=(()=>{class t extends C{constructor(t,e,n){super(t,e,n),n&&null!=n.formFieldAppearance&&(this._formFieldAppearance=n.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(b),s.Y36(s.sBO),s.Y36(v,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[s.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.YNc(2,m,5,3,"div",2),s.TgZ(3,"div",3),s.TgZ(4,"div",4),s._uU(5),s.qZA(),s.YNc(6,g,3,5,"button",5),s.TgZ(7,"button",6),s.NdJ("click",function(){return e.previousPage()}),s.O4$(),s.TgZ(8,"svg",7),s._UZ(9,"path",8),s.qZA(),s.qZA(),s.kcU(),s.TgZ(10,"button",9),s.NdJ("click",function(){return e.nextPage()}),s.O4$(),s.TgZ(11,"svg",7),s._UZ(12,"path",10),s.qZA(),s.qZA(),s.YNc(13,_,3,5,"button",11),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",!e.hidePageSize),s.xp6(3),s.hij(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),s.xp6(1),s.Q6J("ngIf",e.showFirstLastButtons),s.xp6(1),s.Q6J("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),s.uIk("aria-label",e._intl.previousPageLabel),s.xp6(3),s.Q6J("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),s.uIk("aria-label",e._intl.nextPageLabel),s.xp6(3),s.Q6J("ngIf",e.showFirstLastButtons))},directives:[i.O5,o.lW,l.gM,h.KE,a.gD,i.sg,r.ey],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),t})(),S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[y],imports:[[i.ez,o.ot,a.LD,l.AV,r.BQ]]}),t})()},12178:function(t,e,n){"use strict";n.d(e,{pW:function(){return m},Cv:function(){return _}});var i=n(37716),s=n(38583),r=n(72458),o=n(39490),a=n(46237),l=n(10826),c=n(22759),u=n(45435);const h=["primaryValueBar"],d=(0,r.pj)(class{constructor(t){this._elementRef=t}},"primary"),p=new i.OlP("mat-progress-bar-location",{providedIn:"root",factory:function(){const t=(0,i.f3M)(s.K0),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}});let f=0,m=(()=>{class t extends d{constructor(t,e,n,s){super(t),this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new i.vpe,this._animationEndSubscription=l.w.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+f++;const r=s?s.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${r}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===n}get value(){return this._value}set value(t){this._value=g((0,o.su)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=g(t||0)}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,c.R)(t,"transitionend").pipe((0,u.h)(e=>e.target===t)).subscribe(()=>{("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(a.Qb,8),i.Y36(p,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){if(1&t&&i.Gf(h,5),2&t){let t;i.iGM(t=i.CRH())&&(e._primaryValueBar=t.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,e){2&t&&(i.uIk("aria-valuenow","indeterminate"===e.mode||"query"===e.mode?null:e.value)("mode",e.mode),i.ekj("_mat-animation-noopable",e._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[i.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i.O4$(),i.TgZ(1,"svg",1),i.TgZ(2,"defs"),i.TgZ(3,"pattern",2),i._UZ(4,"circle",3),i.qZA(),i.qZA(),i._UZ(5,"rect",4),i.qZA(),i.kcU(),i._UZ(6,"div",5),i._UZ(7,"div",6,7),i._UZ(9,"div",8),i.qZA()),2&t&&(i.xp6(3),i.Q6J("id",e.progressbarId),i.xp6(2),i.uIk("fill",e._rectangleFillValue),i.xp6(1),i.Q6J("ngStyle",e._bufferTransform()),i.xp6(1),i.Q6J("ngStyle",e._primaryTransform()))},directives:[s.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),t})();function g(t,e=0,n=100){return Math.max(e,Math.min(n,t))}let _=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[s.ez,r.BQ],r.BQ]}),t})()},4885:function(t,e,n){"use strict";n.d(e,{Cq:function(){return b},$g:function(){return _}});var i=n(37716),s=n(38583),r=n(72458),o=n(39490),a=n(80521),l=n(46237);function c(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){const t=i.oxw();i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.uIk("r",t._getCircleRadius())}}function u(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){const t=i.oxw();i.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.uIk("r",t._getCircleRadius())}}function h(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){const t=i.oxw();i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.uIk("r",t._getCircleRadius())}}function d(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){const t=i.oxw();i.Udp("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.uIk("r",t._getCircleRadius())}}const p=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor;stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n",f=(0,r.pj)(class{constructor(t){this._elementRef=t}},"primary"),m=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});class g extends f{constructor(t,e,n,i,s){super(t),this._document=n,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const r=g._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),r.has(n.head)||r.set(n.head,new Set([100])),this._fallbackAnimation=e.EDGE||e.TRIDENT,this._noopAnimations="NoopAnimations"===i&&!!s&&!s._forceAnimations,s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=(0,o.su)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=(0,o.su)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,(0,o.su)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=(0,a.kV)(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const t=this._styleRoot,e=this._diameter,n=g._diameters;let i=n.get(t);if(!i||!i.has(e)){const s=this._document.createElement("style");s.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),s.textContent=this._getAnimationText(),t.appendChild(s),i||(i=new Set,n.set(t,i)),i.add(e)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}g.\u0275fac=function(t){return new(t||g)(i.Y36(i.SBq),i.Y36(a.t4),i.Y36(s.K0,8),i.Y36(l.Qb,8),i.Y36(m))},g.\u0275cmp=i.Xpm({type:g,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(i.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.O4$(),i.TgZ(0,"svg",0),i.YNc(1,c,1,9,"circle",1),i.YNc(2,u,1,7,"circle",2),i.qZA()),2&t&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[s.RF,s.n9],styles:[p],encapsulation:2,changeDetection:0}),g._diameters=new WeakMap;let _=(()=>{class t extends g{constructor(t,e,n,i,s){super(t,e,n,i,s),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(a.t4),i.Y36(s.K0,8),i.Y36(l.Qb,8),i.Y36(m))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[i.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.O4$(),i.TgZ(0,"svg",0),i.YNc(1,h,1,9,"circle",1),i.YNc(2,d,1,7,"circle",2),i.qZA()),2&t&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[s.RF,s.n9],styles:[p],encapsulation:2,changeDetection:0}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.BQ,s.ez],r.BQ]}),t})()},82613:function(t,e,n){"use strict";n.d(e,{U0:function(){return x},VQ:function(){return y},Fk:function(){return S}});var i=n(37716),s=n(72458),r=n(39490),o=n(3679),a=n(46237),l=n(19238),c=n(38345);const u=["input"],h=function(t){return{enterDuration:t}},d=["*"],p=new i.OlP("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let f=0;const m={provide:o.JU,useExisting:(0,i.Gpc)(()=>y),multi:!0};class g{constructor(t,e){this.source=t,this.value=e}}const _=new i.OlP("MatRadioGroup");let b=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+f++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.vpe}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=(0,r.Ig)(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new g(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO))},t.\u0275dir=i.lG2({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t})(),y=(()=>{class t extends b{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,x,5),2&t){let t;i.iGM(t=i.CRH())&&(e._radios=t)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i._Bn([m,{provide:_,useExisting:t}]),i.qOj]}),t})();class v{constructor(t){this._elementRef=t}}const w=(0,s.Kr)((0,s.sb)(v));let C=(()=>{class t extends w{constructor(t,e,n,s,o,a,l,c){super(e),this._changeDetector=n,this._focusMonitor=s,this._radioDispatcher=o,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++f,this.id=this._uniqueId,this.change=new i.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,this._noopAnimations="NoopAnimations"===a,c&&(this.tabIndex=(0,r.su)(c,0)),this._removeUniqueSelectionListener=o.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=(0,r.Ig)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled((0,r.Ig)(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=(0,r.Ig)(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return`${this.id||this._uniqueId}-input`}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new g(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputInteraction(t){if(t.stopPropagation(),!this.checked&&!this.disabled){const t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(b),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(l.tE),i.Y36(c.A8),i.Y36(String),i.Y36(void 0),i.Y36(String))},t.\u0275dir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(u,5),2&t){let t;i.iGM(t=i.CRH())&&(e._inputElement=t.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[i.qOj]}),t})(),x=(()=>{class t extends C{constructor(t,e,n,i,s,r,o,a){super(t,e,n,i,s,r,o,a)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(_,8),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(l.tE),i.Y36(c.A8),i.Y36(a.Qb,8),i.Y36(p,8),i.$8M("tabindex"))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&i.NdJ("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(i.uIk("tabindex",null)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.ekj("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable",e._noopAnimations)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.qOj],ngContentSelectors:d,decls:13,vars:20,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(i.F$t(),i.TgZ(0,"label",0,1),i.TgZ(2,"span",2),i._UZ(3,"span",3),i._UZ(4,"span",4),i.TgZ(5,"input",5,6),i.NdJ("change",function(t){return e._onInputInteraction(t)})("click",function(t){return e._onInputClick(t)}),i.qZA(),i.TgZ(7,"span",7),i._UZ(8,"span",8),i.qZA(),i.qZA(),i.TgZ(9,"span",9),i.TgZ(10,"span",10),i._uU(11,"\xa0"),i.qZA(),i.Hsn(12),i.qZA(),i.qZA()),2&t){const t=i.MAs(1);i.uIk("for",e.inputId),i.xp6(5),i.Q6J("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),i.uIk("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.VKq(18,h,e._noopAnimations?0:150)),i.xp6(2),i.ekj("mat-radio-label-before","before"==e.labelPosition)}},directives:[s.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[s.si,s.BQ],s.BQ]}),t})()},67441:function(t,e,n){"use strict";n.d(e,{gD:function(){return q},LD:function(){return G}});var i=n(58203),s=n(38583),r=n(37716),o=n(72458),a=n(98295),l=n(71386),c=n(19238),u=n(39490),h=n(38345),d=n(36461),p=n(79765),f=n(41439),m=n(66682),g=n(39761),_=n(43190),b=n(15257),y=n(45435),v=n(88002),w=n(87519),C=n(46782),x=n(17238),S=n(70946),E=n(3679);const k=["trigger"],A=["panel"];function D(t,e){if(1&t&&(r.TgZ(0,"span",8),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.placeholder)}}function O(t,e){if(1&t&&(r.TgZ(0,"span",12),r._uU(1),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.Oqu(t.triggerValue)}}function T(t,e){1&t&&r.Hsn(0,0,["*ngSwitchCase","true"])}function R(t,e){if(1&t&&(r.TgZ(0,"span",9),r.YNc(1,O,2,1,"span",10),r.YNc(2,T,1,0,"ng-content",11),r.qZA()),2&t){const t=r.oxw();r.Q6J("ngSwitch",!!t.customTrigger),r.xp6(2),r.Q6J("ngSwitchCase",!0)}}function I(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",13),r.TgZ(1,"div",14,15),r.NdJ("@transformPanel.done",function(e){return r.CHM(t),r.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return r.CHM(t),r.oxw()._handleKeydown(e)}),r.Hsn(3,1),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("@transformPanelWrap",void 0),r.xp6(1),r.Gre("mat-select-panel ",t._getPanelTheme(),""),r.Udp("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),r.Q6J("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),r.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const F=[[["mat-select-trigger"]],"*"],L=["mat-select-trigger","*"],P={transformPanelWrap:(0,x.X$)("transformPanelWrap",[(0,x.eR)("* => void",(0,x.IO)("@transformPanel",[(0,x.pV)()],{optional:!0}))]),transformPanel:(0,x.X$)("transformPanel",[(0,x.SB)("void",(0,x.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,x.SB)("showing",(0,x.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,x.SB)("showing-multiple",(0,x.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,x.eR)("void => *",(0,x.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,x.eR)("* => void",(0,x.jt)("100ms 25ms linear",(0,x.oB)({opacity:0})))])};let M=0;const N=new r.OlP("mat-select-scroll-strategy"),B=new r.OlP("MAT_SELECT_CONFIG"),V={provide:N,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class Y{constructor(t,e){this.source=t,this.value=e}}const U=(0,o.Kr)((0,o.sb)((0,o.Id)((0,o.FD)(class{constructor(t,e,n,i,s){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=s}})))),j=new r.OlP("MatSelectTrigger");let z=(()=>{class t extends U{constructor(t,e,n,i,s,o,a,l,c,u,h,d,w,C){var x,S,E;super(s,i,a,l,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=c,this._liveAnnouncer=w,this._defaultOptions=C,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+M++,this._triggerAriaLabelledBy=null,this._destroy=new p.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+M++,this._panelDoneAnimatingStream=new p.xQ,this._overlayPanelClass=(null===(x=this._defaultOptions)||void 0===x?void 0:x.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(E=null===(S=this._defaultOptions)||void 0===S?void 0:S.disableOptionCentering)&&void 0!==E&&E,this.ariaLabel="",this.optionSelectionChanges=(0,f.P)(()=>{const t=this.options;return t?t.changes.pipe((0,g.O)(t),(0,_.w)(()=>(0,m.T)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe((0,b.q)(1),(0,_.w)(()=>this.optionSelectionChanges))}),this.openedChange=new r.vpe,this._openedStream=this.openedChange.pipe((0,y.h)(t=>t),(0,v.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,y.h)(t=>!t),(0,v.U)(()=>{})),this.selectionChange=new r.vpe,this.valueChange=new r.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==C?void 0:C.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=C.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=(0,u.Ig)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,u.Ig)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,u.Ig)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=(0,u.su)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,w.x)(),(0,C.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,C.R)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe((0,g.O)(null),(0,C.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===d.JH||e===d.LH||e===d.oh||e===d.SV,i=e===d.K5||e===d.L_,s=this._keyManager;if(!s.isTyping()&&i&&!(0,d.Vb)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;s.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===d.JH||n===d.LH,s=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(s||n!==d.K5&&n!==d.L_||!e.activeItem||(0,d.Vb)(t))if(!s&&this._multiple&&n===d.A&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,b.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new c.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,C.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,C.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=(0,m.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,C.R)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,m.T)(...this.options.map(t=>t._stateChanges)).pipe((0,C.R)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(l.rL),r.Y36(r.sBO),r.Y36(r.R0b),r.Y36(o.rD),r.Y36(r.SBq),r.Y36(S.Is,8),r.Y36(E.F,8),r.Y36(E.sg,8),r.Y36(a.G_,8),r.Y36(E.a5,10),r.$8M("tabindex"),r.Y36(N),r.Y36(c.Kd),r.Y36(B,8))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&(r.Gf(k,5),r.Gf(A,5),r.Gf(i.pI,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.trigger=t.first),r.iGM(t=r.CRH())&&(e.panel=t.first),r.iGM(t=r.CRH())&&(e._overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[r.qOj,r.TTD]}),t})(),q=(()=>{class t extends z{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,C.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=(0,o.CB)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=0===t&&1===e?0:(0,o.jH)((t+e)*n,n,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new Y(this,t)}_calculateOverlayOffsetX(){const t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let t=this._selectionModel.selected[0]||this.options.first;s=t&&t.group?32:16}n||(s*=-1);const r=0-(t.left+s-(n?i:0)),o=t.right+s-e.width+(n?0:i);r>0?s+=r+8:o>0&&(s-=o+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),s=(i-this._triggerRect.height)/2,r=Math.floor(256/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-r))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*o-s))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,s=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-r-this._triggerRect.height;o>s?this._adjustPanelUp(o,s):r>i?this._adjustPanelDown(r,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n;let s;s=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=(0,o.CB)(s,this.options,this.optionGroups);const r=n/2;this._scrollTop=this._calculateOverlayScroll(s,r,i),this._offsetY=this._calculateOverlayOffsetY(s,r,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,j,5),r.Suo(n,o.ey,5),r.Suo(n,o.K7,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.customTrigger=t.first),r.iGM(t=r.CRH())&&(e.options=t),r.iGM(t=r.CRH())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&r.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(r.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),r.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[r._Bn([{provide:a.Eo,useExisting:t},{provide:o.HF,useExisting:t}]),r.qOj],ngContentSelectors:L,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(r.F$t(F),r.TgZ(0,"div",0,1),r.NdJ("click",function(){return e.toggle()}),r.TgZ(3,"div",2),r.YNc(4,D,2,1,"span",3),r.YNc(5,R,3,2,"span",4),r.qZA(),r.TgZ(6,"div",5),r._UZ(7,"div",6),r.qZA(),r.qZA(),r.YNc(8,I,4,14,"ng-template",7),r.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=r.MAs(1);r.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),r.xp6(3),r.Q6J("ngSwitch",e.empty),r.uIk("id",e._valueId),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngSwitchCase",!1),r.xp6(3),r.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[i.xu,s.RF,s.n9,i.pI,s.ED,s.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[P.transformPanelWrap,P.transformPanel]},changeDetection:0}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[V],imports:[[s.ez,i.U8,o.Ng,o.BQ],l.ZD,a.lN,o.Ng,o.BQ]}),t})()},45396:function(t,e,n){"use strict";n.d(e,{Rr:function(){return v},rP:function(){return C}});var i=n(18553),s=n(37716),r=n(72458),o=n(39490),a=n(3679),l=n(46237),c=n(19238);const u=["thumbContainer"],h=["toggleBar"],d=["input"],p=function(t){return{enterDuration:t}},f=["*"],m=new s.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let g=0;const _={provide:a.JU,useExisting:(0,s.Gpc)(()=>v),multi:!0};class b{constructor(t,e){this.source=t,this.checked=e}}const y=(0,r.sb)((0,r.pj)((0,r.Kr)((0,r.Id)(class{constructor(t){this._elementRef=t}}))));let v=(()=>{class t extends y{constructor(t,e,n,i,r,o){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this.defaults=r,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++g,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new s.vpe,this.toggleChange=new s.vpe,this.tabIndex=parseInt(i)||0,this.color=this.defaultColor=r.color||"accent",this._noopAnimations="NoopAnimations"===o}get required(){return this._required}set required(t){this._required=(0,o.Ig)(t)}get checked(){return this._checked}set checked(t){this._checked=(0,o.Ig)(t),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new b(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(c.tE),s.Y36(s.sBO),s.$8M("tabindex"),s.Y36(m),s.Y36(l.Qb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){if(1&t&&(s.Gf(u,5),s.Gf(h,5),s.Gf(d,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._thumbEl=t.first),s.iGM(t=s.CRH())&&(e._thumbBarEl=t.first),s.iGM(t=s.CRH())&&(e._inputElement=t.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(s.Ikx("id",e.id),s.uIk("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),s.ekj("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable",e._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked",ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[s._Bn([_]),s.qOj],ngContentSelectors:f,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,e){if(1&t&&(s.F$t(),s.TgZ(0,"label",0,1),s.TgZ(2,"div",2,3),s.TgZ(4,"input",4,5),s.NdJ("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),s.qZA(),s.TgZ(6,"div",6,7),s._UZ(8,"div",8),s.TgZ(9,"div",9),s._UZ(10,"div",10),s.qZA(),s.qZA(),s.qZA(),s.TgZ(11,"span",11,12),s.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),s.TgZ(13,"span",13),s._uU(14,"\xa0"),s.qZA(),s.Hsn(15),s.qZA(),s.qZA()),2&t){const t=s.MAs(1),n=s.MAs(12);s.uIk("for",e.inputId),s.xp6(2),s.ekj("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),s.xp6(2),s.Q6J("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),s.uIk("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),s.xp6(5),s.Q6J("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",s.VKq(18,p,e._noopAnimations?0:150))}},directives:[r.wG,i.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[w,r.si,r.BQ,i.Q8],w,r.BQ]}),t})()},77001:function(t,e,n){"use strict";n.d(e,{ux:function(){return A},ZX:function(){return E}});var i=n(58203),s=n(87636),r=n(38583),o=n(37716),a=n(72458),l=n(51095),c=n(79765),u=n(15257),h=n(46782),d=n(17238),p=n(19238),f=n(65072),m=n(80521);function g(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",1),o.TgZ(1,"button",2),o.NdJ("click",function(){return o.CHM(t),o.oxw().action()}),o._uU(2),o.qZA(),o.qZA()}if(2&t){const t=o.oxw();o.xp6(2),o.Oqu(t.data.action)}}function _(t,e){}const b=new o.OlP("MatSnackBarData");class y{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const v=Math.pow(2,31)-1;class w{constructor(t,e){this._overlayRef=e,this._afterDismissed=new c.xQ,this._afterOpened=new c.xQ,this._onAction=new c.xQ,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,v))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let C=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(w),o.Y36(b))},t.\u0275cmp=o.Xpm({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(o.TgZ(0,"span"),o._uU(1),o.qZA(),o.YNc(2,g,3,1,"div",0)),2&t&&(o.xp6(1),o.Oqu(e.data.message),o.xp6(1),o.Q6J("ngIf",e.hasAction))},directives:[r.O5,l.lW],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),t})();const x={snackBarState:(0,d.X$)("state",[(0,d.SB)("void, hidden",(0,d.oB)({transform:"scale(0.8)",opacity:0})),(0,d.SB)("visible",(0,d.oB)({transform:"scale(1)",opacity:1})),(0,d.eR)("* => visible",(0,d.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,d.eR)("* => void, * => hidden",(0,d.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,d.oB)({opacity:0})))])};let S=(()=>{class t extends s.en{constructor(t,e,n,i,s){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=i,this.snackBarConfig=s,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new c.xQ,this._onExit=new c.xQ,this._onEnter=new c.xQ,this._animationState="void",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,u.q)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.R0b),o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(m.t4),o.Y36(y))},t.\u0275cmp=o.Xpm({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){if(1&t&&o.Gf(s.Pl,7),2&t){let t;o.iGM(t=o.CRH())&&(e._portalOutlet=t.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,e){1&t&&o.WFA("@state.done",function(t){return e.onAnimationEnd(t)}),2&t&&o.d8E("@state",e._animationState)},features:[o.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.YNc(1,_,0,0,"ng-template",1),o.qZA(),o._UZ(2,"div")),2&t&&(o.xp6(2),o.uIk("aria-live",e._live)("role",e._role))},directives:[s.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[x.snackBarState]}}),t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[i.U8,s.eL,r.ez,l.ot,a.BQ],a.BQ]}),t})();const k=new o.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new y}});let A=(()=>{class t{constructor(t,e,n,i,s,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=s,this._defaultConfig=r,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=C,this.snackBarContainerComponent=S,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=o.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:y,useValue:e}]}),i=new s.C5(this.snackBarContainerComponent,e.viewContainerRef,n),r=t.attach(i);return r.instance.snackBarConfig=e,r.instance}_attach(t,e){const n=Object.assign(Object.assign(Object.assign({},new y),this._defaultConfig),e),i=this._createOverlay(n),r=this._attachSnackBarContainer(i,n),a=new w(r,i);if(t instanceof o.Rgc){const e=new s.UE(t,null,{$implicit:n.data,snackBarRef:a});a.instance=r.attachTemplatePortal(e)}else{const e=this._createInjector(n,a),i=new s.C5(t,void 0,e),o=r.attachComponentPortal(i);a.instance=o.instance}return this._breakpointObserver.observe(f.u3.HandsetPortrait).pipe((0,h.R)(i.detachments())).subscribe(t=>{const e=i.overlayElement.classList;t.matches?e.add(this.handsetCssClass):e.remove(this.handsetCssClass)}),n.announcementMessage&&r._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){const e=new i.X_;e.direction=t.direction;let n=this._overlay.position().global();const s="rtl"===t.direction,r="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!s||"end"===t.horizontalPosition&&s,o=!r&&"center"!==t.horizontalPosition;return r?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return o.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:w,useValue:e},{provide:b,useValue:t.data}]})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(i.aV),o.LFG(p.Kd),o.LFG(o.zs3),o.LFG(f.Yg),o.LFG(t,12),o.LFG(k))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(i.aV),o.LFG(p.Kd),o.LFG(o.gxx),o.LFG(f.Yg),o.LFG(t,12),o.LFG(k))},token:t,providedIn:E}),t})()},11494:function(t,e,n){"use strict";n.d(e,{YE:function(){return _},nU:function(){return x},JX:function(){return S}});var i=n(37716),s=n(39490),r=n(72458),o=n(36461),a=n(79765),l=n(66682),c=n(17238),u=n(38583),h=n(19238);const d=["mat-sort-header",""];function p(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",3),i.NdJ("@arrowPosition.start",function(){return i.CHM(t),i.oxw()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.CHM(t),i.oxw()._disableViewStateAnimation=!1}),i._UZ(1,"div",4),i.TgZ(2,"div",5),i._UZ(3,"div",6),i._UZ(4,"div",7),i._UZ(5,"div",8),i.qZA(),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),i.xp6(2),i.Q6J("@indicator",t._getArrowDirectionState()),i.xp6(1),i.Q6J("@leftPointer",t._getArrowDirectionState()),i.xp6(1),i.Q6J("@rightPointer",t._getArrowDirectionState())}}const f=["*"],m=new i.OlP("MAT_SORT_DEFAULT_OPTIONS"),g=(0,r.dB)((0,r.Id)(class{}));let _=(()=>{class t extends g{constructor(t){super(),this._defaultOptions=t,this.sortables=new Map,this._stateChanges=new a.xQ,this.start="asc",this._direction="",this.sortChange=new i.vpe}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=(0,s.Ig)(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){var e,n,i;if(!t)return"";const s=null!==(n=null!==(e=null==t?void 0:t.disableClear)&&void 0!==e?e:this.disableClear)&&void 0!==n?n:!!(null===(i=this._defaultOptions)||void 0===i?void 0:i.disableClear);let r=function(t,e){let n=["asc","desc"];return"desc"==t&&n.reverse(),e||n.push(""),n}(t.start||this.start,s),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(m,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.qOj,i.TTD]}),t})();const b=r.mZ.ENTERING+" "+r.yN.STANDARD_CURVE,y={indicator:(0,c.X$)("indicator",[(0,c.SB)("active-asc, asc",(0,c.oB)({transform:"translateY(0px)"})),(0,c.SB)("active-desc, desc",(0,c.oB)({transform:"translateY(10px)"})),(0,c.eR)("active-asc <=> active-desc",(0,c.jt)(b))]),leftPointer:(0,c.X$)("leftPointer",[(0,c.SB)("active-asc, asc",(0,c.oB)({transform:"rotate(-45deg)"})),(0,c.SB)("active-desc, desc",(0,c.oB)({transform:"rotate(45deg)"})),(0,c.eR)("active-asc <=> active-desc",(0,c.jt)(b))]),rightPointer:(0,c.X$)("rightPointer",[(0,c.SB)("active-asc, asc",(0,c.oB)({transform:"rotate(45deg)"})),(0,c.SB)("active-desc, desc",(0,c.oB)({transform:"rotate(-45deg)"})),(0,c.eR)("active-asc <=> active-desc",(0,c.jt)(b))]),arrowOpacity:(0,c.X$)("arrowOpacity",[(0,c.SB)("desc-to-active, asc-to-active, active",(0,c.oB)({opacity:1})),(0,c.SB)("desc-to-hint, asc-to-hint, hint",(0,c.oB)({opacity:.54})),(0,c.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,c.oB)({opacity:0})),(0,c.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,c.jt)("0ms")),(0,c.eR)("* <=> *",(0,c.jt)(b))]),arrowPosition:(0,c.X$)("arrowPosition",[(0,c.eR)("* => desc-to-hint, * => desc-to-active",(0,c.jt)(b,(0,c.F4)([(0,c.oB)({transform:"translateY(-25%)"}),(0,c.oB)({transform:"translateY(0)"})]))),(0,c.eR)("* => hint-to-desc, * => active-to-desc",(0,c.jt)(b,(0,c.F4)([(0,c.oB)({transform:"translateY(0)"}),(0,c.oB)({transform:"translateY(25%)"})]))),(0,c.eR)("* => asc-to-hint, * => asc-to-active",(0,c.jt)(b,(0,c.F4)([(0,c.oB)({transform:"translateY(25%)"}),(0,c.oB)({transform:"translateY(0)"})]))),(0,c.eR)("* => hint-to-asc, * => active-to-asc",(0,c.jt)(b,(0,c.F4)([(0,c.oB)({transform:"translateY(0)"}),(0,c.oB)({transform:"translateY(-25%)"})]))),(0,c.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,c.oB)({transform:"translateY(0)"})),(0,c.SB)("hint-to-desc, active-to-desc, desc",(0,c.oB)({transform:"translateY(-25%)"})),(0,c.SB)("hint-to-asc, active-to-asc, asc",(0,c.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,c.X$)("allowChildren",[(0,c.eR)("* <=> *",[(0,c.IO)("@*",(0,c.pV)(),{optional:!0})])])};let v=(()=>{class t{constructor(){this.changes=new a.xQ}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const w={provide:v,deps:[[new i.FiY,new i.tp0,v]],useFactory:function(t){return t||new v}},C=(0,r.Id)(class{});let x=(()=>{class t extends C{constructor(t,e,n,i,s,r){super(),this._intl=t,this._changeDetectorRef=e,this._sort=n,this._columnDef=i,this._focusMonitor=s,this._elementRef=r,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._handleStateChanges()}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=(0,s.Ig)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{const e=!!t;e!==this._showIndicatorHint&&(this._setIndicatorHintVisible(e),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t||{},this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(t){!this._isDisabled()&&(t.keyCode===o.L_||t.keyCode===o.K5)&&(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_handleStateChanges(){this._rerenderSubscription=(0,l.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(v),i.Y36(i.sBO),i.Y36(_,8),i.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),i.Y36(h.tE),i.Y36(i.SBq))},t.\u0275cmp=i.Xpm({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(i.uIk("aria-sort",e._getAriaSortAttribute()),i.ekj("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[i.qOj],attrs:d,ngContentSelectors:f,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,p,6,6,"div",2),i.qZA()),2&t&&(i.ekj("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),i.uIk("tabindex",e._isDisabled()?null:0),i.xp6(3),i.Q6J("ngIf",e._renderArrow()))},directives:[u.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[y.indicator,y.leftPointer,y.rightPointer,y.arrowOpacity,y.arrowPosition,y.allowChildren]},changeDetection:0}),t})(),S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[w],imports:[[u.ez,r.BQ]]}),t})()},94553:function(t,e,n){"use strict";n.d(e,{C0:function(){return Z},VY:function(){return V},Vq:function(){return K},T5:function(){return tt},Ic:function(){return X},fd:function(){return J}});var i=n(87636),s=n(31394),r=n(38583),o=n(37716),a=n(51095),l=n(72458),c=n(76627),u=n(79765),h=n(10826),d=n(43190),p=n(88002),f=n(39761),m=n(46782),g=n(87519),_=n(17238),b=n(19238),y=n(70946);function v(t,e){if(1&t&&o.GkF(0,8),2&t){const t=o.oxw();o.Q6J("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function w(t,e){if(1&t&&(o.TgZ(0,"span"),o._uU(1),o.qZA()),2&t){const t=o.oxw(2);o.xp6(1),o.Oqu(t._getDefaultTextForState(t.state))}}function C(t,e){if(1&t&&(o.TgZ(0,"mat-icon"),o._uU(1),o.qZA()),2&t){const t=o.oxw(2);o.xp6(1),o.Oqu(t._getDefaultTextForState(t.state))}}function x(t,e){if(1&t&&(o.ynx(0,9),o.YNc(1,w,2,1,"span",10),o.YNc(2,C,2,1,"mat-icon",11),o.BQk()),2&t){const t=o.oxw();o.Q6J("ngSwitch",t.state),o.xp6(1),o.Q6J("ngSwitchCase","number")}}function S(t,e){if(1&t&&(o.TgZ(0,"div",12),o.GkF(1,13),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("ngTemplateOutlet",t._templateLabel().template)}}function E(t,e){if(1&t&&(o.TgZ(0,"div",12),o._uU(1),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Oqu(t.label)}}function k(t,e){if(1&t&&(o.TgZ(0,"div",14),o._uU(1),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Oqu(t._intl.optionalLabel)}}function A(t,e){if(1&t&&(o.TgZ(0,"div",15),o._uU(1),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Oqu(t.errorMessage)}}function D(t,e){}function O(t,e){if(1&t&&(o.Hsn(0),o.YNc(1,D,0,0,"ng-template",0)),2&t){const t=o.oxw();o.xp6(1),o.Q6J("cdkPortalOutlet",t._portal)}}const T=["*"];function R(t,e){1&t&&o._UZ(0,"div",9)}const I=function(t,e){return{step:t,i:e}};function F(t,e){if(1&t&&(o.ynx(0),o.GkF(1,7),o.YNc(2,R,1,0,"div",8),o.BQk()),2&t){const t=e.$implicit,n=e.index,i=e.last;o.oxw(2);const s=o.MAs(4);o.xp6(1),o.Q6J("ngTemplateOutlet",s)("ngTemplateOutletContext",o.WLB(3,I,t,n)),o.xp6(1),o.Q6J("ngIf",!i)}}function L(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",10),o.NdJ("@horizontalStepTransition.done",function(e){return o.CHM(t),o.oxw(2)._animationDone.next(e)}),o.GkF(1,11),o.qZA()}if(2&t){const t=e.$implicit,n=e.index,i=o.oxw(2);o.Q6J("@horizontalStepTransition",i._getAnimationDirection(n))("id",i._getStepContentId(n)),o.uIk("aria-labelledby",i._getStepLabelId(n))("aria-expanded",i.selectedIndex===n),o.xp6(1),o.Q6J("ngTemplateOutlet",t.content)}}function P(t,e){if(1&t&&(o.ynx(0),o.TgZ(1,"div",3),o.YNc(2,F,3,6,"ng-container",4),o.qZA(),o.TgZ(3,"div",5),o.YNc(4,L,2,5,"div",6),o.qZA(),o.BQk()),2&t){const t=o.oxw();o.xp6(2),o.Q6J("ngForOf",t.steps),o.xp6(2),o.Q6J("ngForOf",t.steps)}}function M(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",13),o.GkF(1,7),o.TgZ(2,"div",14),o.TgZ(3,"div",15),o.NdJ("@verticalStepTransition.done",function(e){return o.CHM(t),o.oxw(2)._animationDone.next(e)}),o.TgZ(4,"div",16),o.GkF(5,11),o.qZA(),o.qZA(),o.qZA(),o.qZA()}if(2&t){const t=e.$implicit,n=e.index,i=e.last,s=o.oxw(2),r=o.MAs(4);o.xp6(1),o.Q6J("ngTemplateOutlet",r)("ngTemplateOutletContext",o.WLB(9,I,t,n)),o.xp6(1),o.ekj("mat-stepper-vertical-line",!i),o.xp6(1),o.Q6J("@verticalStepTransition",s._getAnimationDirection(n))("id",s._getStepContentId(n)),o.uIk("aria-labelledby",s._getStepLabelId(n))("aria-expanded",s.selectedIndex===n),o.xp6(2),o.Q6J("ngTemplateOutlet",t.content)}}function N(t,e){if(1&t&&(o.ynx(0),o.YNc(1,M,6,12,"div",12),o.BQk()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("ngForOf",t.steps)}}function B(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"mat-step-header",17),o.NdJ("click",function(){return o.CHM(t).step.select()})("keydown",function(e){return o.CHM(t),o.oxw()._onKeydown(e)}),o.qZA()}if(2&t){const t=e.step,n=e.i,i=o.oxw();o.ekj("mat-horizontal-stepper-header","horizontal"===i.orientation)("mat-vertical-stepper-header","vertical"===i.orientation),o.Q6J("tabIndex",i._getFocusIndex()===n?0:-1)("id",i._getStepLabelId(n))("index",n)("state",i._getIndicatorType(n,t.state))("label",t.stepLabel||t.label)("selected",i.selectedIndex===n)("active",i._stepIsNavigable(n,t))("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",i._iconOverrides)("disableRipple",i.disableRipple||!i._stepIsNavigable(n,t))("color",t.color||i.color),o.uIk("aria-posinset",n+1)("aria-setsize",i.steps.length)("aria-controls",i._getStepContentId(n))("aria-selected",i.selectedIndex==n)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)("aria-disabled",!i._stepIsNavigable(n,t)||null)}}let V=(()=>{class t extends s.u6{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["","matStepLabel",""]],features:[o.qOj]}),t})(),Y=(()=>{class t{constructor(){this.changes=new u.xQ,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const U={provide:Y,deps:[[new o.FiY,new o.tp0,Y]],useFactory:function(t){return t||new Y}},j=(0,l.pj)(class extends s.KL{constructor(t){super(t)}},"primary");let z=(()=>{class t extends j{constructor(t,e,n,i){super(n),this._intl=t,this._focusMonitor=e,this._intlSubscription=t.changes.subscribe(()=>i.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._elementRef,t,e):this._elementRef.nativeElement.focus(e)}_stringLabel(){return this.label instanceof V?null:this.label}_templateLabel(){return this.label instanceof V?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(Y),o.Y36(b.tE),o.Y36(o.SBq),o.Y36(o.sBO))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[o.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,e){1&t&&(o._UZ(0,"div",0),o.TgZ(1,"div"),o.TgZ(2,"div",1),o.YNc(3,v,1,2,"ng-container",2),o.YNc(4,x,3,2,"ng-container",3),o.qZA(),o.qZA(),o.TgZ(5,"div",4),o.YNc(6,S,2,1,"div",5),o.YNc(7,E,2,1,"div",5),o.YNc(8,k,2,1,"div",6),o.YNc(9,A,2,1,"div",7),o.qZA()),2&t&&(o.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disableRipple),o.xp6(1),o.Gre("mat-step-icon-state-",e.state," mat-step-icon"),o.ekj("mat-step-icon-selected",e.selected),o.xp6(1),o.Q6J("ngSwitch",!(!e.iconOverrides||!e.iconOverrides[e.state])),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(2),o.ekj("mat-step-label-active",e.active)("mat-step-label-selected",e.selected)("mat-step-label-error","error"==e.state),o.xp6(1),o.Q6J("ngIf",e._templateLabel()),o.xp6(1),o.Q6J("ngIf",e._stringLabel()),o.xp6(1),o.Q6J("ngIf",e.optional&&"error"!=e.state),o.xp6(1),o.Q6J("ngIf","error"==e.state))},directives:[l.wG,r.RF,r.n9,r.ED,r.O5,r.tP,c.Hw],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content,.mat-step-icon .mat-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})();const q={horizontalStepTransition:(0,_.X$)("horizontalStepTransition",[(0,_.SB)("previous",(0,_.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,_.SB)("current",(0,_.oB)({transform:"none",visibility:"inherit"})),(0,_.SB)("next",(0,_.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,_.eR)("* => *",(0,_.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,_.X$)("verticalStepTransition",[(0,_.SB)("previous",(0,_.oB)({height:"0px",visibility:"hidden"})),(0,_.SB)("next",(0,_.oB)({height:"0px",visibility:"hidden"})),(0,_.SB)("current",(0,_.oB)({height:"*",visibility:"inherit"})),(0,_.eR)("* <=> current",(0,_.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let G=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),H=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc))},t.\u0275dir=o.lG2({type:t,selectors:[["ng-template","matStepContent",""]]}),t})(),Z=(()=>{class t extends s.be{constructor(t,e,n,i){super(t,i),this._errorStateMatcher=e,this._viewContainerRef=n,this._isSelected=h.w.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,d.w)(()=>this._stepper.selectionChange.pipe((0,p.U)(t=>t.selectedStep===this),(0,f.O)(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new i.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36((0,o.Gpc)(()=>K)),o.Y36(l.rD,4),o.Y36(o.s_b),o.Y36(s.gx,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-step"]],contentQueries:function(t,e,n){if(1&t&&(o.Suo(n,V,5),o.Suo(n,H,5)),2&t){let t;o.iGM(t=o.CRH())&&(e.stepLabel=t.first),o.iGM(t=o.CRH())&&(e._lazyContent=t.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[o._Bn([{provide:l.rD,useExisting:t},{provide:s.be,useExisting:t}]),o.qOj],ngContentSelectors:T,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,O,2,1,"ng-template"))},directives:[i.Pl],encapsulation:2,changeDetection:0}),t})(),$=(()=>{class t extends s.B8{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.\u0275dir=o.lG2({type:t,features:[o.qOj]}),t})(),W=(()=>{class t extends ${}return t.\u0275fac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["mat-horizontal-stepper"]],features:[o.qOj]}),t})(),Q=(()=>{class t extends ${}return t.\u0275fac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["mat-vertical-stepper"]],features:[o.qOj]}),t})(),K=(()=>{class t extends s.B8{constructor(t,e,n,i){super(t,e,n,i),this.steps=new o.n_E,this.animationDone=new o.vpe,this.labelPosition="end",this._iconOverrides={},this._animationDone=new u.xQ;const s=n.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===s?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this.steps.changes.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,g.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState),(0,m.R)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}_stepIsNavigable(t,e){return e.completed||this.selectedIndex===t||!this.linear}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(y.Is,8),o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(r.K0))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,e,n){if(1&t&&(o.Suo(n,Z,5),o.Suo(n,G,5)),2&t){let t;o.iGM(t=o.CRH())&&(e._steps=t),o.iGM(t=o.CRH())&&(e._icons=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(z,5),2&t){let t;o.iGM(t=o.CRH())&&(e._stepHeader=t)}},hostAttrs:["role","tablist"],hostVars:9,hostBindings:function(t,e){2&t&&(o.uIk("aria-orientation",e.orientation),o.ekj("mat-stepper-horizontal","horizontal"===e.orientation)("mat-stepper-vertical","vertical"===e.orientation)("mat-stepper-label-position-end","horizontal"===e.orientation&&"end"==e.labelPosition)("mat-stepper-label-position-bottom","horizontal"===e.orientation&&"bottom"==e.labelPosition))},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition",disableRipple:"disableRipple",color:"color"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[o._Bn([{provide:s.B8,useExisting:t},{provide:W,useExisting:t},{provide:Q,useExisting:t}]),o.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(t,e){1&t&&(o.ynx(0,0),o.YNc(1,P,5,2,"ng-container",1),o.YNc(2,N,2,1,"ng-container",1),o.BQk(),o.YNc(3,B,1,23,"ng-template",null,2,o.W1O)),2&t&&(o.Q6J("ngSwitch",e.orientation),o.xp6(1),o.Q6J("ngSwitchCase","horizontal"),o.xp6(1),o.Q6J("ngSwitchCase","vertical"))},directives:[r.RF,r.n9,r.sg,r.tP,r.O5,z],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[q.horizontalStepTransition,q.verticalStepTransition]},changeDetection:0}),t})(),X=(()=>{class t extends s.st{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(t,e){2&t&&o.Ikx("type",e.type)},inputs:{type:"type"},features:[o.qOj]}),t})(),J=(()=>{class t extends s.po{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.\u0275dir=o.lG2({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,e){2&t&&o.Ikx("type",e.type)},inputs:{type:"type"},features:[o.qOj]}),t})(),tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[U,l.rD],imports:[[l.BQ,r.ez,i.eL,a.ot,s.U5,c.Ps,l.si],l.BQ]}),t})()},32789:function(t,e,n){"use strict";n.d(e,{ev:function(){return ct},Dz:function(){return rt},w1:function(){return at},ge:function(){return lt},fO:function(){return ot},XQ:function(){return dt},as:function(){return ut},Gk:function(){return pt},nj:function(){return ht},BZ:function(){return st},p0:function(){return ft}});var i=n(39490),s=n(38345),r=n(37716),o=n(70946),a=n(80521),l=n(71386),c=n(38583),u=n(79765),h=n(69412),d=n(26215),p=n(95639),f=n(25917),m=n(46782),g=n(15257);const _=[[["caption"]],[["colgroup"],["col"]]],b=["caption","colgroup, col"];function y(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=(0,i.Ig)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const v=new r.OlP("CDK_TABLE");let w=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkCellDef",""]]}),t})(),C=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),x=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class S{}const E=y(S);let k=(()=>{class t extends E{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=(0,i.Ig)(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(v,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,w,5),r.Suo(n,C,5),r.Suo(n,x,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.cell=t.first),r.iGM(t=r.CRH())&&(e.headerCell=t.first),r.iGM(t=r.CRH())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[r._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),r.qOj]}),t})();class A{constructor(t,e){const n=e.nativeElement.classList;for(const i of t._columnCssClassName)n.add(i)}}let D=(()=>{class t extends A{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(k),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[r.qOj]}),t})(),O=(()=>{class t extends A{constructor(t,e){var n;if(super(t,e),1===(null===(n=t._table)||void 0===n?void 0:n._elementRef.nativeElement.nodeType)){const n=t._table._elementRef.nativeElement.getAttribute("role");e.nativeElement.setAttribute("role","grid"===n||"treegrid"===n?"gridcell":"cell")}}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(k),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[r.qOj]}),t})();class T{constructor(){this.tasks=[],this.endTasks=[]}}const R=new r.OlP("_COALESCED_STYLE_SCHEDULER");let I=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new u.xQ}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new T,this._getScheduleObservable().pipe((0,m.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new T;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,h.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,g.q)(1))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.R0b))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof M?t.headerCell.template:this instanceof V?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.ZZ4))},t.\u0275dir=r.lG2({type:t,features:[r.TTD]}),t})();class L extends F{}const P=y(L);let M=(()=>{class t extends P{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.ZZ4),r.Y36(v,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[r.qOj,r.TTD]}),t})();class N extends F{}const B=y(N);let V=(()=>{class t extends B{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.ZZ4),r.Y36(v,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[r.qOj,r.TTD]}),t})(),Y=(()=>{class t extends F{constructor(t,e,n){super(t,e),this._table=n}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.ZZ4),r.Y36(v,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[r.qOj]}),t})(),U=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.GkF(0,0)},directives:[U],encapsulation:2}),t})(),z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.GkF(0,0)},directives:[U],encapsulation:2}),t})(),q=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const G=["top","bottom","left","right"];class H{constructor(t,e,n,i,s=!0,r=!0,o){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._coalescedStyleScheduler=i,this._isBrowser=s,this._needsPositionStickyOnElement=r,this._positionListener=o,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(t,e){const n=[];for(const i of t)if(i.nodeType===i.ELEMENT_NODE){n.push(i);for(let t=0;t<i.children.length;t++)n.push(i.children[t])}this._coalescedStyleScheduler.schedule(()=>{for(const t of n)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,n,i=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!n.some(t=>t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const s=t[0],r=s.children.length,o=this._getCellWidths(s,i),a=this._getStickyStartColumnPositions(o,e),l=this._getStickyEndColumnPositions(o,n),c=e.lastIndexOf(!0),u=n.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const i="rtl"===this.direction,s=i?"right":"left",h=i?"left":"right";for(const o of t)for(let t=0;t<r;t++){const i=o.children[t];e[t]&&this._addStickyStyle(i,s,a[t],t===c),n[t]&&this._addStickyStyle(i,h,l[t],t===u)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===c?[]:o.slice(0,c+1).map((t,n)=>e[n]?t:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===u?[]:o.slice(u).map((t,e)=>n[e+u]?t:null).reverse()}))})}stickRows(t,e,n){if(!this._isBrowser)return;const i="bottom"===n?t.slice().reverse():t,s="bottom"===n?e.slice().reverse():e,r=[],o=[],a=[];for(let c=0,u=0;c<i.length;c++){if(!s[c])continue;r[c]=u;const t=i[c];a[c]=this._isNativeHtmlTable?Array.from(t.children):[t];const e=t.getBoundingClientRect().height;u+=e,o[c]=e}const l=s.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var t,e;for(let o=0;o<i.length;o++){if(!s[o])continue;const t=r[o],e=o===l;for(const i of a[o])this._addStickyStyle(i,n,t,e)}"top"===n?null===(t=this._positionListener)||void 0===t||t.stickyHeaderRowsUpdated({sizes:o,offsets:r,elements:a}):null===(e=this._positionListener)||void 0===e||e.stickyFooterRowsUpdated({sizes:o,offsets:r,elements:a})})}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const n=t.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{e.some(t=>!t)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1)})}_removeStickyStyle(t,e){for(const n of e)t.style[n]="",t.classList.remove(this._borderCellCss[n]);G.some(n=>-1===e.indexOf(n)&&t.style[n])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n,i){t.classList.add(this._stickCellCss),i&&t.classList.add(this._borderCellCss[e]),t.style[e]=`${n}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const i of G)t.style[i]&&(n+=e[i]);return n?`${n}`:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const n=[],i=t.children;for(let s=0;s<i.length;s++)n.push(i[s].getBoundingClientRect().width);return this._cachedCellWidths=n,n}_getStickyStartColumnPositions(t,e){const n=[];let i=0;for(let s=0;s<t.length;s++)e[s]&&(n[s]=i,i+=t[s]);return n}_getStickyEndColumnPositions(t,e){const n=[];let i=0;for(let s=t.length;s>0;s--)e[s]&&(n[s]=i,i+=t[s]);return n}}const Z=new r.OlP("CDK_SPL");let $=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","rowOutlet",""]]}),t})(),W=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),Q=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),K=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),X=(()=>{class t{constructor(t,e,n,i,s,o,a,l,c,h,p){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=s,this._platform=a,this._viewRepeater=l,this._coalescedStyleScheduler=c,this._viewportRuler=h,this._stickyPositioningListener=p,this._onDestroy=new u.xQ,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new r.vpe,this.viewChange=new d.X({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","table"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=(0,i.Ig)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=(0,i.Ig)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler.change().pipe((0,m.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,s.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return this._updateNoDataRow(),void this.contentChanged.next();const e=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,e,(t,e,n)=>this._getEmbeddedViewArgs(t.item,n),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const n=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const n=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...n],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const n=[];for(let i=0;i<e.length;i++)this._renderRows[i].rowDef===t&&n.push(e[i]);this._addStickyColumnStyles(n,t)}),n.forEach((t,e)=>{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let i=this._data[n];const s=this._getRenderRowsForData(i,n,e.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(let e=0;e<s.length;e++){let n=s[e];const i=this._cachedRenderRowsMap.get(n.data);i.has(n.rowDef)?i.get(n.rowDef).push(n):i.set(n.rowDef,[n]),t.push(n)}}return t}_getRenderRowsForData(t,e,n){return this._getRowDefs(t,e).map(i=>{const s=n&&n.has(i)?n.get(i):[];if(s.length){const t=s.shift();return t.dataIndex=e,t}return{data:t,rowDef:i,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),J(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=J(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=J(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=J(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();const i=this._footerRowDefs.reduce(t,!1);return i&&this._forceRenderFooterRows(),e||n||i}_switchDataSource(t){this._data=[],(0,s.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;(0,s.Z9)(this.dataSource)?t=this.dataSource.connect(this):(0,p.b)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=(0,f.of)(this.dataSource)),this._renderChangeSubscription=t.pipe((0,m.R)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),i=n.map(t=>t.sticky),s=n.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,i,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let n=0;n<t.viewContainer.length;n++){const i=t.viewContainer.get(n);e.push(i.rootNodes[0])}return e}_getRowDefs(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(n=>!n.when||n.when(e,t));else{let i=this._rowDefs.find(n=>n.when&&n.when(e,t))||this._defaultRowDef;i&&n.push(i)}return n}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,n,i={}){const s=t.viewContainer.createEmbeddedView(e.template,i,n);return this._renderCellTemplateForItem(e,i),s}_renderCellTemplateForItem(t,e){for(let n of this._getCellTemplates(t))U.mostRecentCellOutlet&&U.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.count=n,i.first=0===e,i.last=e===n-1,i.even=e%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[e].dataIndex,i.renderIndex=e):i.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,e=>{const n=this._columnDefsByName.get(e);return t.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute("role","rowgroup");for(const t of n.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new H(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,f.of)()).pipe((0,m.R)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const n=this._noDataRowOutlet.viewContainer;e?n.createEmbeddedView(t.templateRef):n.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.ZZ4),r.Y36(r.sBO),r.Y36(r.SBq),r.$8M("role"),r.Y36(o.Is,8),r.Y36(c.K0),r.Y36(a.t4),r.Y36(s.k),r.Y36(R),r.Y36(l.rL),r.Y36(Z,12))},t.\u0275cmp=r.Xpm({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,q,5),r.Suo(n,k,5),r.Suo(n,Y,5),r.Suo(n,M,5),r.Suo(n,V,5)),2&t){let t;r.iGM(t=r.CRH())&&(e._noDataRow=t.first),r.iGM(t=r.CRH())&&(e._contentColumnDefs=t),r.iGM(t=r.CRH())&&(e._contentRowDefs=t),r.iGM(t=r.CRH())&&(e._contentHeaderRowDefs=t),r.iGM(t=r.CRH())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(r.Gf($,7),r.Gf(W,7),r.Gf(Q,7),r.Gf(K,7)),2&t){let t;r.iGM(t=r.CRH())&&(e._rowOutlet=t.first),r.iGM(t=r.CRH())&&(e._headerRowOutlet=t.first),r.iGM(t=r.CRH())&&(e._footerRowOutlet=t.first),r.iGM(t=r.CRH())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[r._Bn([{provide:v,useExisting:t},{provide:s.k,useClass:s.yy},{provide:R,useClass:I},{provide:Z,useValue:null}])],ngContentSelectors:b,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(r.F$t(_),r.Hsn(0),r.Hsn(1,1),r.GkF(2,0),r.GkF(3,1),r.GkF(4,2),r.GkF(5,3))},directives:[W,$,K,Q],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function J(t,e){return t.concat(Array.from(e))}let tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[l.Cl]]}),t})();var et=n(72458);const nt=[[["caption"]],[["colgroup"],["col"]]],it=["caption","colgroup, col"];let st=(()=>{class t extends X{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[r._Bn([{provide:s.k,useClass:s.yy},{provide:X,useExisting:t},{provide:v,useExisting:t},{provide:R,useClass:I},{provide:Z,useValue:null}]),r.qOj],ngContentSelectors:it,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(r.F$t(nt),r.Hsn(0),r.Hsn(1,1),r.GkF(2,0),r.GkF(3,1),r.GkF(4,2),r.GkF(5,3))},directives:[W,$,K,Q],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})(),rt=(()=>{class t extends w{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","matCellDef",""]],features:[r._Bn([{provide:w,useExisting:t}]),r.qOj]}),t})(),ot=(()=>{class t extends C{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","matHeaderCellDef",""]],features:[r._Bn([{provide:C,useExisting:t}]),r.qOj]}),t})(),at=(()=>{class t extends k{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[r._Bn([{provide:k,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),r.qOj]}),t})(),lt=(()=>{class t extends D{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[r.qOj]}),t})(),ct=(()=>{class t extends O{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[r.qOj]}),t})(),ut=(()=>{class t extends M{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[r._Bn([{provide:M,useExisting:t}]),r.qOj]}),t})(),ht=(()=>{class t extends Y{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[r._Bn([{provide:Y,useExisting:t}]),r.qOj]}),t})(),dt=(()=>{class t extends j{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[r._Bn([{provide:j,useExisting:t}]),r.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.GkF(0,0)},directives:[U],encapsulation:2}),t})(),pt=(()=>{class t extends z{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[r._Bn([{provide:z,useExisting:t}]),r.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r.GkF(0,0)},directives:[U],encapsulation:2}),t})(),ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[tt,et.BQ],et.BQ]}),t})()},65939:function(t,e,n){"use strict";n.d(e,{Nj:function(){return M},BU:function(){return F},Nh:function(){return N}});var i=n(19238),s=n(18553),r=n(87636),o=n(38583),a=n(37716),l=n(72458),c=n(46237),u=n(79765),h=(n(10826),n(66682)),d=n(22759),p=n(25917),f=n(46797),m=(n(17238),n(39761)),g=(n(87519),n(46782)),_=n(39490),b=n(80521),y=n(36461),v=n(70946),w=n(71386);const C=["*"],x=["tabListContainer"],S=["tabList"],E=["nextPaginator"],k=["previousPaginator"],A=["mat-tab-nav-bar",""],D=new a.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let O=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=i}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(D),a.Y36(c.Qb,8))},t.\u0275dir=a.lG2({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})();const T=(0,b.i$)({passive:!0});let R=(()=>{class t{constructor(t,e,n,i,s,r,o){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=i,this._ngZone=s,this._platform=r,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new u.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new u.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new a.vpe,this.indexFocused=new a.vpe,s.runOutsideAngular(()=>{(0,d.R)(t.nativeElement,"mouseleave").pipe((0,g.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=(0,_.su)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){(0,d.R)(this._previousPaginator.nativeElement,"touchstart",T).pipe((0,g.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,d.R)(this._nextPaginator.nativeElement,"touchstart",T).pipe((0,g.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:(0,p.of)("ltr"),e=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new i.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),(0,h.T)(t,e,this._items.changes).pipe((0,g.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(n)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,g.R)(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!(0,y.Vb)(t))switch(t.keyCode){case y.K5:case y.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement;e.scrollLeft="ltr"==this._getLayoutDirection()?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const e=this._items?this._items.toArray()[t]:null;if(!e)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:i,offsetWidth:s}=e.elementRef.nativeElement;let r,o;"ltr"==this._getLayoutDirection()?(r=i,o=r+s):(o=this._tabList.nativeElement.offsetWidth-i,r=o-s);const a=this.scrollDistance,l=this.scrollDistance+n;r<a?this.scrollDistance-=a-r+60:o>l&&(this.scrollDistance+=o-l+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&null!=e.button&&0!==e.button||(this._stopInterval(),(0,f.H)(650,100).pipe((0,g.R)((0,h.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:n}=this._scrollHeader(t);(0===n||n>=e)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(w.rL),a.Y36(v.Is,8),a.Y36(a.R0b),a.Y36(b.t4),a.Y36(c.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),I=(()=>{class t extends R{constructor(t,e,n,i,s,r,o){super(t,i,s,e,n,r,o),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement.classList;e.remove(`mat-background-${this.backgroundColor}`),t&&e.add(`mat-background-${t}`),this._backgroundColor=t}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,_.Ig)(t)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,m.O)(null),(0,g.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const t=this._items.toArray();for(let e=0;e<t.length;e++)if(t[e].active)return this.selectedIndex=e,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(v.Is,8),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(w.rL),a.Y36(b.t4),a.Y36(c.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{color:"color",backgroundColor:"backgroundColor",disableRipple:"disableRipple"},features:[a.qOj]}),t})(),F=(()=>{class t extends I{constructor(t,e,n,i,s,r,o){super(t,e,n,i,s,r,o)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(v.Is,8),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(w.rL),a.Y36(b.t4),a.Y36(c.Qb,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(t,e,n){if(1&t&&a.Suo(n,M,5),2&t){let t;a.iGM(t=a.CRH())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(a.Gf(O,7),a.Gf(x,7),a.Gf(S,7),a.Gf(E,5),a.Gf(k,5)),2&t){let t;a.iGM(t=a.CRH())&&(e._inkBar=t.first),a.iGM(t=a.CRH())&&(e._tabListContainer=t.first),a.iGM(t=a.CRH())&&(e._tabList=t.first),a.iGM(t=a.CRH())&&(e._nextPaginator=t.first),a.iGM(t=a.CRH())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(t,e){2&t&&a.ekj("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())("mat-primary","warn"!==e.color&&"accent"!==e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[a.qOj],attrs:A,ngContentSelectors:C,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(a.F$t(),a.TgZ(0,"div",0,1),a.NdJ("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),a._UZ(2,"div",2),a.qZA(),a.TgZ(3,"div",3,4),a.NdJ("keydown",function(t){return e._handleKeydown(t)}),a.TgZ(5,"div",5,6),a.NdJ("cdkObserveContent",function(){return e._onContentChanges()}),a.TgZ(7,"div",7),a.Hsn(8),a.qZA(),a._UZ(9,"mat-ink-bar"),a.qZA(),a.qZA(),a.TgZ(10,"div",8,9),a.NdJ("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),a._UZ(12,"div",2),a.qZA()),2&t&&(a.ekj("mat-tab-header-pagination-disabled",e._disableScrollBefore),a.Q6J("matRippleDisabled",e._disableScrollBefore||e.disableRipple),a.xp6(5),a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.xp6(5),a.ekj("mat-tab-header-pagination-disabled",e._disableScrollAfter),a.Q6J("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[l.wG,s.wD,O],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),t})();const L=(0,l.sb)((0,l.Kr)((0,l.Id)(class{})));let P=(()=>{class t extends L{constructor(t,e,n,i,s,r){super(),this._tabNavBar=t,this.elementRef=e,this._focusMonitor=s,this._isActive=!1,this.rippleConfig=n||{},this.tabIndex=parseInt(i)||0,"NoopAnimations"===r&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(t){(0,_.Ig)(t)!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(I),a.Y36(a.SBq),a.Y36(l.Y2,8),a.$8M("tabindex"),a.Y36(i.tE),a.Y36(c.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{active:"active"},features:[a.qOj]}),t})(),M=(()=>{class t extends P{constructor(t,e,n,i,s,r,o,a){super(t,e,s,r,o,a),this._tabLinkRipple=new l.IR(this,n,e,i),this._tabLinkRipple.setupTriggerEvents(e.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(F),a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(b.t4),a.Y36(l.Y2,8),a.$8M("tabindex"),a.Y36(i.tE),a.Y36(c.Qb,8))},t.\u0275dir=a.lG2({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){1&t&&a.NdJ("focus",function(){return e._handleFocus()}),2&t&&(a.uIk("aria-current",e.active?"page":null)("aria-disabled",e.disabled)("tabIndex",e.tabIndex),a.ekj("mat-tab-disabled",e.disabled)("mat-tab-label-active",e.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[a.qOj]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[o.ez,l.BQ,r.eL,l.si,s.Q8,i.rt],l.BQ]}),t})()},11436:function(t,e,n){"use strict";n.d(e,{gM:function(){return k},AV:function(){return O}});var i=n(58203),s=n(19238),r=n(38583),o=n(37716),a=n(72458),l=n(71386),c=n(39490),u=n(36461),h=n(65072),d=n(80521),p=n(87636),f=n(79765),m=n(46782),g=n(15257),_=n(17238),b=n(70946);const y={tooltipState:(0,_.X$)("state",[(0,_.SB)("initial, void, hidden",(0,_.oB)({opacity:0,transform:"scale(0)"})),(0,_.SB)("visible",(0,_.oB)({transform:"scale(1)"})),(0,_.eR)("* => visible",(0,_.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,_.F4)([(0,_.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,_.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,_.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,_.eR)("* => hidden",(0,_.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,_.oB)({opacity:0})))])},v="tooltip-panel",w=(0,d.i$)({passive:!0}),C=new o.OlP("mat-tooltip-scroll-strategy"),x={provide:C,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},S=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let E=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l,c,h,d){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=s,this._platform=r,this._ariaDescriber=o,this._focusMonitor=a,this._dir=c,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new f.xQ,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===u.hY&&!(0,u.Vb)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,this._document=d,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),c.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),s.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,c.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,m.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,w)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new p.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return e.positionChanges.pipe((0,m.R)(this._destroyed)).subscribe(t=>{this._updateCurrentPositionClass(t.connectionPair),this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-${v}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,m.R)(this._destroyed)).subscribe(()=>{var t;return null===(t=this._tooltipInstance)||void 0===t?void 0:t._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const e=t.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e||"below"==e?n={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={originX:"end",originY:"center"});const{x:i,y:s}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:s}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e?n={overlayX:"center",overlayY:"bottom"}:"below"==e?n={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:s}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,g.q)(1),(0,m.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){const{overlayY:e,originX:n,originY:i}=t;let s;if(s="center"===e?this._dir&&"rtl"===this._dir.value?"end"===n?"left":"right":"start"===n?"left":"right":"bottom"===e&&"top"===i?"above":"below",s!==this._currentPosition){const t=this._overlayRef;if(t){const e=`${this._cssClassPrefix}-${v}-`;t.removePanelClass(e+this._currentPosition),t.addPanelClass(e+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,w)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=this._document.elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e!==n&&!n.contains(e)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),("on"===t||!e.draggable)&&(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(i.aV),o.Y36(o.SBq),o.Y36(l.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(d.t4),o.Y36(s.$s),o.Y36(s.tE),o.Y36(void 0),o.Y36(b.Is),o.Y36(void 0),o.Y36(r.K0))},t.\u0275dir=o.lG2({type:t,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),k=(()=>{class t extends E{constructor(t,e,n,i,s,r,o,a,l,c,u,h){super(t,e,n,i,s,r,o,a,l,c,u,h),this._tooltipComponent=D}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(i.aV),o.Y36(o.SBq),o.Y36(l.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(d.t4),o.Y36(s.$s),o.Y36(s.tE),o.Y36(C),o.Y36(b.Is,8),o.Y36(S,8),o.Y36(r.K0))},t.\u0275dir=o.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[o.qOj]}),t})(),A=(()=>{class t{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new f.xQ}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"===e&&!this.isVisible()&&this._onHide.next(),("visible"===e||"hidden"===e)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.sBO))},t.\u0275dir=o.lG2({type:t}),t})(),D=(()=>{class t extends A{constructor(t,e){super(t),this._breakpointObserver=e,this._isHandset=this._breakpointObserver.observe(h.u3.Handset)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.sBO),o.Y36(h.Yg))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){2&t&&o.Udp("zoom","visible"===e._visibility?1:null)},features:[o.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(o.TgZ(0,"div",0),o.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),o.ALo(1,"async"),o._uU(2),o.qZA()),2&t){let t;o.ekj("mat-tooltip-handset",null==(t=o.lcZ(1,5,e._isHandset))?null:t.matches),o.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),o.xp6(2),o.Oqu(e.message)}},directives:[r.mk],pipes:[r.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[y.tooltipState]},changeDetection:0}),t})(),O=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[x],imports:[[s.rt,r.ez,i.U8,a.BQ],a.BQ,l.ZD]}),t})()},46237:function(t,e,n){"use strict";n.d(e,{Qb:function(){return Fe},PW:function(){return Ne}});var i=n(37716),s=n(39075),r=n(17238);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(t){switch(t.length){case 0:return new r.ZN;case 1:return t[0];default:return new r.ZE(t)}}function c(t,e,n,i,s={},o={}){const a=[],l=[];let c=-1,u=null;if(i.forEach(t=>{const n=t.offset,i=n==c,h=i&&u||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),l){case r.k1:l=s[n];break;case r.l3:l=o[n];break;default:l=e.normalizeStyleValue(n,i,l,a)}h[i]=l}),i||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function u(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&h(n,"start",t)));break;case"done":t.onDone(()=>i(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&h(n,"destroy",t)))}}function h(t,e,n){const i=n.totalTime,s=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(s._data=r),s}function d(t,e,n,i,s="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:s,totalTime:r,disabled:!!o}}function p(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let m=(t,e)=>!1,g=(t,e)=>!1,_=(t,e,n)=>[];const b=a();(b||"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(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):g}})(),_=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)i.push(n[t])}else{const n=t.querySelector(e);n&&i.push(n)}return i});let y=null,v=!1;function w(t){y||(y=("undefined"!=typeof document?document.body:null)||{},v=!!y.style&&"WebkitAppearance"in y.style);let e=!0;return y.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in y.style,!e&&v&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in y.style)),e}const C=g,x=m,S=_;function E(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let k=(()=>{class t{validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,s,o=[],a){return new r.ZN(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class A{}A.NOOP=new k;const D="ng-enter",O="ng-leave",T="ng-trigger",R=".ng-trigger",I="ng-animating",F=".ng-animating";function L(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:P(parseFloat(e[1]),e[2])}function P(t,e){switch(e){case"s":return 1e3*t;default:return t}}function M(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,s=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=P(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=P(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:s,easing:r}}(t,e,n)}function N(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function B(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else N(t,n);return n}function V(t,e,n){return n?e+":"+n+";":""}function Y(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=V(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=V(0,Q(n),t.style[n]));t.setAttribute("style",e)}function U(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const s=W(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[s]),t.style[s]=e[i]}),a()&&Y(t))}function j(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=W(e);t.style[n]=""}),a()&&Y(t))}function z(t){return Array.isArray(t)?1==t.length?t[0]:(0,r.vP)(t):t}const q=new RegExp("{{\\s*(.+?)\\s*}}","g");function G(t){let e=[];if("string"==typeof t){let n;for(;n=q.exec(t);)e.push(n[1]);q.lastIndex=0}return e}function H(t,e,n){const i=t.toString(),s=i.replace(q,(t,i)=>{let s=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),s=""),s.toString()});return s==i?t:s}function Z(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const $=/-+([a-z0-9])/g;function W(t){return t.replace($,(...t)=>t[1].toUpperCase())}function Q(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function K(t,e){return 0===t||0===e}function X(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let r=e[0],o=[];if(i.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var s=1;s<e.length;s++){let n=e[s];o.forEach(function(e){n[e]=tt(t,e)})}}return e}function J(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 tt(t,e){return window.getComputedStyle(t)[e]}function et(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=i[1],r=i[2],o=i[3];e.push(st(s,o));"<"==r[0]&&!("*"==s&&"*"==o)&&e.push(st(o,s))}(t,n,e)):n.push(t),n}const nt=new Set(["true","1"]),it=new Set(["false","0"]);function st(t,e){const n=nt.has(t)||it.has(t),i=nt.has(e)||it.has(e);return(s,r)=>{let o="*"==t||t==s,a="*"==e||e==r;return!o&&n&&"boolean"==typeof s&&(o=s?nt.has(t):it.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?nt.has(e):it.has(e)),o&&a}}const rt=new RegExp("s*:selfs*,?","g");function ot(t,e,n){return new at(t).build(e,n)}class at{constructor(t){this._driver=t}build(t,e){const n=new lt(e);return this._resetContextStyleTimingState(n),J(this,z(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const s=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,i+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:r,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,r=i||{};if(n.styles.forEach(t=>{if(ct(t)){const e=t;Object.keys(e).forEach(t=>{G(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=Z(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=J(this,z(t.animation),e);return{type:1,matchers:et(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ut(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>J(this,t,e)),options:ut(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const s=t.steps.map(t=>{e.currentTime=n;const s=J(this,t,e);return i=Math.max(i,e.currentTime),s});return e.currentTime=i,{type:3,steps:s,options:ut(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ht(M(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=ht(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||M(i,e),ht(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let i,s=t.styles?t.styles:(0,r.oB)({});if(5==s.type)i=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};n.easing&&(t.easing=n.easing),s=(0,r.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(s,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.l3?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,s=null;return n.forEach(t=>{if(ct(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(s!=i&&s>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${i}ms"`),a=!1),s=o.startTime),a&&(r[n]={startTime:s,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},s=G(t);s.length&&s.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const s=[];let r=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(ct(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,r=r||c<a,a=c,s.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;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(u=1/(c-1));const h=c-1,d=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return l.forEach((t,i)=>{const r=u>0?i==h?1:u*i:s[i],o=r*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:J(this,z(t.animation),e),options:ut(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ut(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ut(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[s,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(rt,"")),[t=t.replace(/@\*/g,R).replace(/@\w+/g,t=>R+"-"+t.substr(1)).replace(/:animating/g,F),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,p(e.collectedStyles,e.currentQuerySelector,{});const o=J(this,z(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:ut(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:M(t.timings,e.errors,!0);return{type:12,animation:J(this,z(t.animation),e),timings:n,options:null}}}class lt{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ct(t){return!Array.isArray(t)&&"object"==typeof t}function ut(t){return t?(t=N(t)).params&&(t.params=function(t){return t?N(t):null}(t.params)):t={},t}function ht(t,e,n){return{duration:t,delay:e,easing:n}}function dt(t,e,n,i,s,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class pt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ft=new RegExp(":enter","g"),mt=new RegExp(":leave","g");function gt(t,e,n,i,s,r={},o={},a,l,c=[]){return(new _t).buildKeyframes(t,e,n,i,s,r,o,a,l,c)}class _t{buildKeyframes(t,e,n,i,s,r,o,a,l,c=[]){l=l||new pt;const u=new yt(t,e,l,i,s,c,[]);u.options=a,u.currentTimeline.setStyles([r],null,u.errors,a),J(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[dt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);s!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const s=null!=n.duration?L(n.duration):null,r=null!=n.delay?L(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,r);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),J(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const s=t.options;if(s&&(s.params||s.delay)&&(i=e.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=bt);const t=L(s.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>J(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?L(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),J(this,r,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return M(e.params?H(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,s=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*s),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},s=i.delay?L(i.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=bt);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),J(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,s=t.timings,r=Math.abs(s.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;J(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const bt={};class yt{constructor(t,e,n,i,s,r,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new vt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=L(n.duration)),null!=n.delay&&(i.delay=L(n.delay));const s=n.params;if(s){let t=i.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{(!e||!t.hasOwnProperty(n))&&(t[n]=H(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,s=new yt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=bt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new wt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,s,r){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(ft,"."+this._enterClassName)).replace(mt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return!s&&0==o.length&&r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class vt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new vt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.l3,this._currentKeyframe[t]=r.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const s=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=r.l3})):B(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=H(o[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.l3),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((s,o)=>{const a=B(s,!0);Object.keys(a).forEach(n=>{const i=a[n];i==r.k1?t.add(n):i==r.l3&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const s=t.size?Z(t.values()):[],o=e.size?Z(e.values()):[];if(n){const t=i[0],e=N(t);t.offset=0,e.offset=1,i=[t,e]}return dt(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class wt extends vt{constructor(t,e,n,i,s,r,o=!1){super(t,e,r.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],r=n+e,o=e/r,a=B(t[0],!1);a.offset=0,s.push(a);const l=B(t[0],!1);l.offset=Ct(o),s.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=B(t[i],!1);o.offset=Ct((e+o.offset*n)/r),s.push(o)}n=r,e=0,i="",t=s}return dt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function Ct(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class xt{}class St extends xt{normalizePropertyName(t,e){return W(t)}normalizeStyleValue(t,e,n,i){let s="";const r=n.toString().trim();if(Et[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+s}}const Et=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function kt(t,e,n,i,s,r,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const At={};class Dt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,s){return t.some(t=>t(e,n,i,s))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],s=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return s?s.buildStyles(e,n):r}build(t,e,n,i,s,r,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||At,d=this.buildStyles(n,o&&o.params||At,u),f=a&&a.params||At,m=this.buildStyles(i,f,u),g=new Set,_=new Map,b=new Map,y="void"===i,v={params:Object.assign(Object.assign({},h),f)},w=c?[]:gt(t,e,this.ast.animation,s,r,d,m,v,l,u);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),u.length)return kt(e,this._triggerName,n,i,y,d,m,[],[],_,b,C,u);w.forEach(t=>{const n=t.element,i=p(_,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const s=p(b,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&g.add(n)});const x=Z(g.values());return kt(e,this._triggerName,n,i,y,d,m,w,x,_,b,C)}}class Ot{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},i=N(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let r=s[t];r.length>1&&(r=H(r,i,e));const o=this.normalizer.normalizePropertyName(t,e);r=this.normalizer.normalizeStyleValue(t,o,r,e),n[o]=r})}}),n}}class Tt{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Ot(t.style,t.options&&t.options.params||{},n)}),Rt(this.states,"true","1"),Rt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Dt(t,e,this.states))}),this.fallbackTransition=function(t,e,n){return new Dt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},e)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(s=>s.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Rt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const It=new pt;class Ft{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=ot(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,s=c(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],s=this._animations[t];let o;const a=new Map;if(s?(o=gt(this._driver,e,s,D,O,{},{},n,It,i),o.forEach(t=>{const e=p(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.l3)})});const c=l(o.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const s=d(e,"","","");return u(this._getPlayer(t),n,s,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Lt="ng-animate-queued",Pt="ng-animate-disabled",Mt=".ng-animate-disabled",Nt=[],Bt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Yt="__ng_removed";class Ut{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=N(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const jt="void",zt=new Ut(jt);class qt{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,Xt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const r=p(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};r.push(o);const a=p(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Xt(t,T),Xt(t,T+"-"+e),a[e]=zt),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const s=this._getTrigger(e),r=new Ht(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Xt(t,T),Xt(t,T+"-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Ut(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=zt),l.value!==jt&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let s=0;s<n.length;s++){const i=n[s];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(a.params,l.params)){const e=[],n=s.matchStyles(a.value,a.params,e),i=s.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{j(t,n),U(t,i)})}return}const c=p(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:r,isFallbackTransition:h}),h||(Xt(t,Lt),r.onStart(()=>{Jt(t,Lt)})),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,R,!0);n.forEach(t=>{if(t[Yt])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const s=this._engine.statesByElement.get(t);if(s){const r=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,jt,i);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&l(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const s=e.name;if(i.has(s))return;i.add(s);const r=this._triggers[s].fallbackTransition,o=n[s]||zt,a=new Ut(jt),l=new Ht(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:r,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t[Yt];(!i||i===Bt)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Xt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const s=n.element,r=this._elementListeners.get(s);r&&r.forEach(e=>{if(e.name==n.triggerName){const i=d(s,n.triggerName,n.fromState.value,n.toState.value);i._data=t,u(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Gt{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 qt(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const s=n[t[i]].namespaceId;if(s){const t=this._fetchNamespace(s);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(Zt(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!Zt(e))return;const s=e[Yt];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Xt(t,Pt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Jt(t,Pt))}removeNode(t,e,n,i){if(Zt(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e[Yt]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,s){return Zt(e)?this._fetchNamespace(t).listen(e,n,i,s):()=>{}}_buildInstruction(t,e,n,i,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,R,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,F,!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[Yt];if(e&&e.setForRemoval){if(t[Yt]=Bt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Mt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Mt,!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++)Xt(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 pt,i=[],s=new Map,o=[],a=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)h.add(e[n])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=Qt(f,this.collectedEnterElements),g=new Map;let _=0;m.forEach((t,e)=>{const n=D+_++;g.set(e,n),t.forEach(t=>Xt(t,n))});const b=[],y=new Set,v=new Set;for(let r=0;r<this.collectedLeaveElements.length;r++){const t=this.collectedLeaveElements[r],e=t[Yt];e&&e.setForRemoval&&(b.push(t),y.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>y.add(t)):v.add(t))}const w=new Map,C=Qt(f,Array.from(y));C.forEach((t,e)=>{const n=O+_++;w.set(e,n),t.forEach(t=>Xt(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Jt(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Jt(t,n))}),b.forEach(t=>{this.processLeaveNode(t)})});const x=[],S=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(x.push(e),this.collectedEnterElements.length){const t=s[Yt];if(t&&t.setForMove)return void e.destroy()}const r=!d||!this.driver.containsElement(d,s),l=w.get(s),h=g.get(s),f=this._buildInstruction(t,n,h,l,r);if(f.errors&&f.errors.length)S.push(f);else{if(r)return e.onStart(()=>j(s,f.fromStyles)),e.onDestroy(()=>U(s,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>j(s,f.fromStyles)),e.onDestroy(()=>U(s,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,f.timelines),o.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>p(a,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=u.get(e);i||u.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(S.length){const t=[];S.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const E=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,E))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{p(E,e,[]).push(t),t.destroy()})});const A=b.filter(t=>ne(t,c,u)),T=new Map;Wt(T,this.driver,v,u,r.l3).forEach(t=>{ne(t,c,u)&&A.push(t)});const R=new Map;m.forEach((t,e)=>{Wt(R,this.driver,new Set(t),c,r.k1)}),A.forEach(t=>{const e=T.get(t),n=R.get(t);T.set(t,Object.assign(Object.assign({},e),n))});const I=[],L=[],P={};o.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(h.has(e))return r.onDestroy(()=>U(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void i.push(r);let t=P;if(k.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>k.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,E,s,R,T);if(r.setRealPlayer(n),t===P)I.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=l(e)),i.push(r)}}else j(e,o.fromStyles),r.onDestroy(()=>U(e,o.toStyles)),L.push(r),h.has(e)&&i.push(r)}),L.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=l(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r<b.length;r++){const t=b[r],e=t[Yt];if(Jt(t,O),e&&e.hasAnimation)continue;let n=[];if(a.size){let e=a.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,F,!0);for(let t=0;t<i.length;t++){let e=a.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?te(this,t,i):this.processLeaveNode(t)}return b.length=0,I.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),I}elementContainsData(t,e){let n=!1;const i=e[Yt];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,s){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||s==jt;e.forEach(e=>{e.queued||!t&&e.triggerName!=i||r.push(e)})}}return(n||i)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const i=e.element,s=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,l=p(n,t,[]);this._getPreviousPlayers(t,a,s,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}j(i,e.fromStyles)}_buildAnimation(t,e,n,i,s,o){const a=e.triggerName,u=e.element,h=[],d=new Set,f=new Set,m=e.timelines.map(e=>{const l=e.element;d.add(l);const p=l[Yt];if(p&&p.removedBeforeQueried)return new r.ZN(e.duration,e.delay);const m=l!==u,g=function(t){const e=[];return ee(t,e),e}((n.get(l)||Nt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===l),_=s.get(l),b=o.get(l),y=c(0,this._normalizer,0,e.keyframes,_,b),v=this._buildPlayer(e,y,g);if(e.subTimeline&&i&&f.add(l),m){const e=new Ht(t,a,l);e.setRealPlayer(v),h.push(e)}return v});h.forEach(t=>{p(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),d.forEach(t=>Xt(t,I));const g=l(m);return g.onDestroy(()=>{d.forEach(t=>Jt(t,I)),U(u,e.toStyles)}),f.forEach(t=>{p(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.ZN(t.duration,t.delay)}}class Ht{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 Zt(t){return t&&1===t.nodeType}function $t(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Wt(t,e,n,i,s){const r=[];n.forEach(t=>r.push($t(t)));const o=[];i.forEach((n,i)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(i,t,s);(!n||0==n.length)&&(i[Yt]=Vt,o.push(i))}),t.set(i,r)});let a=0;return n.forEach(t=>$t(t,r[a++])),o}function Qt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),s=new Map;function r(t){if(!t)return 1;let e=s.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:r(o),s.set(t,e),e}return e.forEach(t=>{const e=r(t);1!==e&&n.get(e).push(t)}),n}const Kt="$$classes";function Xt(t,e){if(t.classList)t.classList.add(e);else{let n=t[Kt];n||(n=t[Kt]={}),n[e]=!0}}function Jt(t,e){if(t.classList)t.classList.remove(e);else{let n=t[Kt];n&&delete n[e]}}function te(t,e,n){l(n).onDone(()=>t.processLeaveNode(e))}function ee(t,e){for(let n=0;n<t.length;n++){const i=t[n];i instanceof r.ZE?ee(i.players,e):e.push(i)}}function ne(t,e,n){const i=n.get(t);if(!i)return!1;let s=e.get(t);return s?i.forEach(t=>s.add(t)):e.set(t,i),n.delete(t),!0}class ie{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Gt(t,e,n),this._timelineEngine=new Ft(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,s){const r=t+"-"+i;let o=this._triggerCache[r];if(!o){const t=[],e=ot(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e,n){return new Tt(t,e,n)}(i,e,this._normalizer),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,s]=f(n);this._timelineEngine.command(t,e,s,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,s){if("@"==n.charAt(0)){const[t,i]=f(n);return this._timelineEngine.listen(t,e,i,s)}return this._transitionEngine.listen(t,e,n,i,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function se(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=oe(e[0]),e.length>1&&(i=oe(e[e.length-1]))):e&&(n=oe(e)),n||i?new re(t,n,i):null}class re{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let i=re.initialStylesByElement.get(t);i||re.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&U(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(U(this._element,this._initialStyles),this._endStyles&&(U(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(re.initialStylesByElement.delete(this._element),this._startStyles&&(j(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),U(this._element,this._initialStyles),this._state=3)}}function oe(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const s=n[i];ae(s)&&(e=e||{},e[s]=t[s])}return e}function ae(t){return"display"===t||"position"===t}re.initialStylesByElement=new WeakMap;const le="animation",ce="animationend";class ue{constructor(t,e,n,i,s,r,o){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=s,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=ge(t,"").trim();let i=0;n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)","===t.charAt(i)&&n++;return n}(n)+1,e=`${n}, ${e}`),me(t,"",e)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),fe(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){he(this._element,this._name,"paused")}resume(){he(this._element,this._name,"running")}setPosition(t){const e=de(this._element,this._name);this._position=t*this._duration,me(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(),fe(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ge(t,"").split(","),i=pe(n,e);i>=0&&(n.splice(i,1),me(t,"",n.join(",")))}(this._element,this._name))}}function he(t,e,n){me(t,"PlayState",n,de(t,e))}function de(t,e){const n=ge(t,"");return n.indexOf(",")>0?pe(n.split(","),e):pe([n],e)}function pe(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function fe(t,e,n){n?t.removeEventListener(ce,e):t.addEventListener(ce,e)}function me(t,e,n,i){const s=le+e;if(null!=i){const e=t.style[s];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[s]=n}function ge(t,e){return t.style[le+e]||""}class _e{constructor(t,e,n,i,s,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=i+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ue(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:tt(this.element,n))})}this.currentSnapshot=t}}class be extends r.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=E(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 ye{constructor(){this._count=0}validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>E(t));let i=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);i+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${s}animation-timing-function: ${n};\n`));default:return void(i+=`${s}${e}: ${n};\n`)}}),i+=`${s}}\n`}),i+="}\n";const r=document.createElement("style");return r.textContent=i,r}animate(t,e,n,i,s,r=[],o){const a=r.filter(t=>t instanceof _e),l={};K(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=X(t,e,l));if(0==n)return new be(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=se(t,e),p=new _e(t,e,u,n,i,s,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class ve{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:tt(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class we{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ce().toString()),this._cssKeyframesDriver=new ye}validateStyleProperty(t){return w(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,s,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,s,r);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};s&&(a.easing=s);const l={},c=r.filter(t=>t instanceof ve);K(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=se(t,e=X(t,e=e.map(t=>B(t,!1)),l));return new ve(t,e,a,u)}}function Ce(){return o()&&Element.prototype.animate||{}}var xe=n(38583);let Se=(()=>{class t extends r._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,r.vP)(t):t;return Ae(this._renderer,null,e,"register",[n]),new Ee(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(xe.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class Ee extends r.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ke(this._id,t,e||{},this._renderer)}}class ke{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Ae(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 Ae(t,e,n,i,s){return t.setProperty(e,`@@${n}:${i}`,s)}const De="@.disabled";let Oe=(()=>{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 Te("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(i,s,t,e.name,e)};return e.data.animation.forEach(r),new Re(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&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)(i.LFG(i.FYo),i.LFG(ie),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class Te{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&e==De?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 Re extends Te{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==De?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,i,s,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let Ie=(()=>{class t extends ie{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(xe.K0),i.LFG(A),i.LFG(xt))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const Fe=new i.OlP("AnimationModuleType"),Le=[{provide:r._j,useClass:Se},{provide:xt,useFactory:function(){return new St}},{provide:ie,useClass:Ie},{provide:i.FYo,useFactory:function(t,e,n){return new Oe(t,e,n)},deps:[s.se,ie,i.R0b]}],Pe=[{provide:A,useFactory:function(){return"function"==typeof Ce()?new we:new ye}},{provide:Fe,useValue:"BrowserAnimations"},...Le],Me=[{provide:A,useClass:k},{provide:Fe,useValue:"NoopAnimations"},...Le];let Ne=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?Me:Pe}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:Pe,imports:[s.b2]}),t})()},39075:function(t,e,n){"use strict";n.d(e,{b2:function(){return N},H7:function(){return F},Dx:function(){return V},q6:function(){return P},se:function(){return x}});var i=n(38583),s=n(37716);class r extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends r{static makeCurrent(){(0,i.HT)(new o)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,i.Mx)(document.cookie,t)}}let a,l=null;const c=new s.OlP("TRANSITION_ID"),u=[{provide:s.ip1,useFactory:function(t,e,n){return()=>{n.get(s.CZH).donePromise.then(()=>{const n=(0,i.q)(),s=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let t=0;t<s.length;t++)n.remove(s[t])})}},deps:[c,i.K0,s.zs3],multi:!0}];class h{static init(){(0,s.VLi)(new h)}addToWindow(t){s.dqk.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},s.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(t=>{const e=s.dqk.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?(0,i.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new s.OlP("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];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)(s.LFG(p),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class m{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const s=(0,i.q)().getGlobalEventTarget(this._doc,t);if(!s)throw new Error(`Unsupported event target ${s} for event ${e}`);return this.addEventListener(s,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=s.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(b),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(b))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function b(t){(0,i.q)().remove(t)}const y={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},v=/%COMP%/g;function w(t,e,n){for(let i=0;i<e.length;i++){let s=e[i];Array.isArray(s)?w(t,s,n):(s=s.replace(v,t),n.push(s))}return n}function C(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let x=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new S(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new E(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case s.ifc.ShadowDom:return new k(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(f),s.LFG(_),s.LFG(s.AFp))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class S{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(y[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const s=y[i];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=y[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(s.JOm.DashCase|s.JOm.Important)?t.style.setProperty(e,n,i&s.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&s.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,C(n)):this.eventManager.addEventListener(t,e,C(n))}}class E extends S{constructor(t,e,n,i){super(t),this.component=n;const s=w(i+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(v,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(v,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class k extends S{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=w(i.id,i.styles,[]);for(let r=0;r<s.length;r++){const t=document.createElement("style");t.textContent=s[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 A=(()=>{class t extends m{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const D=["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"},T={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"},R={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let I=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(n.pop());let r="";if(D.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=i,o.fullKey=r,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&T.hasOwnProperty(e)&&(e=T[e]))}return O[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),D.forEach(i=>{i!=n&&R[i](t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return s=>{t.getEventFullKey(s)===e&&i.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,s.Yz7)({factory:function(){return(0,s.LFG)(L)},token:t,providedIn:"root"}),t})(),L=(()=>{class t extends F{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.q3G.NONE:return e;case s.q3G.HTML:return(0,s.qzn)(e,"HTML")?(0,s.z3N)(e):(0,s.EiD)(this._doc,String(e)).toString();case s.q3G.STYLE:return(0,s.qzn)(e,"Style")?(0,s.z3N)(e):e;case s.q3G.SCRIPT:if((0,s.qzn)(e,"Script"))return(0,s.z3N)(e);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.yhl)(e),(0,s.qzn)(e,"URL")?(0,s.z3N)(e):(0,s.mCW)(String(e));case s.q3G.RESOURCE_URL:if((0,s.qzn)(e,"ResourceURL"))return(0,s.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,s.JVY)(t)}bypassSecurityTrustStyle(t){return(0,s.L6k)(t)}bypassSecurityTrustScript(t){return(0,s.eBb)(t)}bypassSecurityTrustUrl(t){return(0,s.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,s.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return function(t){return new L(t.get(i.K0))}((0,s.LFG)(s.gxx))},token:t,providedIn:"root"}),t})();const P=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:i.bD},{provide:s.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,s.RDi)(document),document},deps:[]}]),M=[[],{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function(){return new s.qLn},deps:[]},{provide:p,useClass:A,multi:!0,deps:[i.K0,s.R0b,s.Lbi]},{provide:p,useClass:I,multi:!0,deps:[i.K0]},[],{provide:x,useClass:x,deps:[f,_,s.AFp]},{provide:s.FYo,useExisting:x},{provide:g,useExisting:_},{provide:_,useClass:_,deps:[i.K0]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b]},{provide:f,useClass:f,deps:[p,s.R0b]},{provide:i.JF,useClass:d,deps:[]},[]];let N=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:s.AFp,useValue:e.appId},{provide:c,useExisting:s.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:M,imports:[i.ez,s.hGG]}),t})();function B(){return new V((0,s.LFG)(i.K0))}let V=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.K0))},t.\u0275prov=(0,s.Yz7)({factory:B,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},39895:function(t,e,n){"use strict";n.d(e,{gz:function(){return Yt},jw:function(){return Z},gk:function(){return P},m2:function(){return L},Q3:function(){return M},OD:function(){return F},F0:function(){return cn},rH:function(){return hn},Od:function(){return fn},yS:function(){return dn},Bz:function(){return En},lC:function(){return mn},R9:function(){return N}});var i=n(38583),s=n(37716),r=n(69412),o=n(25917),a=n(26215),l=n(9112),c=n(39897),u=n(13410),h=n(29923),d=n(41439),p=n(59193),f=n(52441),m=n(79765),g=n(88002),_=n(43190),b=n(15257),y=n(39761),v=n(42145),w=n(45435),C=n(5304),x=n(94612),S=n(12627),E=n(28049),k=n(19773),A=n(68307),D=n(548),O=n(51307),T=n(68939),R=n(63282);class I{constructor(t,e){this.id=t,this.url=e}}class F extends I{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class L extends I{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class P extends I{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class M extends I{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class N extends I{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class B extends I{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class V extends I{constructor(t,e,n,i,s){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Y extends I{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class U extends I{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class j{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class z{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class q{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class G{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class H{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Z{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ${constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const W="primary";class Q{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 K(t){return new Q(t)}const X="ngNavigationCancelingError";function J(t){const e=Error("NavigationCancelingError: "+t);return e[X]=!0,e}function tt(t,e,n){const i=n.path.split("/");if(i.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const s={};for(let r=0;r<i.length;r++){const e=i[r],n=t[r];if(e.startsWith(":"))s[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:s}}function et(t,e){const n=t?Object.keys(t):void 0,i=e?Object.keys(e):void 0;if(!n||!i||n.length!=i.length)return!1;let s;for(let r=0;r<n.length;r++)if(s=n[r],!nt(t[s],e[s]))return!1;return!0}function nt(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),i=[...e].sort();return n.every((t,e)=>i[e]===t)}return t===e}function it(t){return Array.prototype.concat.apply([],t)}function st(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 ot(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,r.D)(Promise.resolve(t)):(0,o.of)(t)}const at={exact:function t(e,n,i){if(!gt(e.segments,n.segments)||!dt(e.segments,n.segments,i)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const s in n.children)if(!e.children[s]||!t(e.children[s],n.children[s],i))return!1;return!0},subset:ut},lt={exact:function(t,e){return et(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>nt(t[n],e[n]))},ignored:()=>!0};function ct(t,e,n){return at[n.paths](t.root,e.root,n.matrixParams)&<[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function ut(t,e,n){return ht(t,e,e.segments,n)}function ht(t,e,n,i){if(t.segments.length>n.length){const s=t.segments.slice(0,n.length);return!(!gt(s,n)||e.hasChildren()||!dt(s,n,i))}if(t.segments.length===n.length){if(!gt(t.segments,n)||!dt(t.segments,n,i))return!1;for(const n in e.children)if(!t.children[n]||!ut(t.children[n],e.children[n],i))return!1;return!0}{const s=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!(gt(t.segments,s)&&dt(t.segments,s,i)&&t.children[W])&&ht(t.children[W],e,r,i)}}function dt(t,e,n){return e.every((e,i)=>lt[n](t[i].parameters,e.parameters))}class pt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=K(this.queryParams)),this._queryParamMap}toString(){return yt.serialize(this)}}class ft{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 vt(this)}}class mt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=K(this.parameters)),this._parameterMap}toString(){return At(this)}}function gt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class _t{}class bt{parse(t){const e=new It(t);return new pt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${wt(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${xt(e)}=${xt(t)}`).join("&"):`${xt(e)}=${xt(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const yt=new bt;function vt(t){return t.segments.map(t=>At(t)).join("/")}function wt(t,e){if(!t.hasChildren())return vt(t);if(e){const e=t.children[W]?wt(t.children[W],!1):"",n=[];return rt(t.children,(t,e)=>{e!==W&&n.push(`${e}:${wt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return rt(t.children,(t,i)=>{i===W&&(n=n.concat(e(t,i)))}),rt(t.children,(t,i)=>{i!==W&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>n===W?[wt(t.children[W],!1)]:[`${n}:${wt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[W]?`${vt(t)}/${e[0]}`:`${vt(t)}/(${e.join("//")})`}}function Ct(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xt(t){return Ct(t).replace(/%3B/gi,";")}function St(t){return Ct(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Et(t){return decodeURIComponent(t)}function kt(t){return Et(t.replace(/\+/g,"%20"))}function At(t){return`${St(t.path)}${function(t){return Object.keys(t).map(e=>`;${St(e)}=${St(t[e])}`).join("")}(t.parameters)}`}const Dt=/^[^\/()?;=#]+/;function Ot(t){const e=t.match(Dt);return e?e[0]:""}const Tt=/^[^=?&#]+/,Rt=/^[^?&#]+/;class It{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ft([],{}):new ft([],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[W]=new ft(t,e)),n}parseSegment(){const t=Ot(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new mt(Et(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ot(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ot(this.remaining);t&&(n=t,this.capture(n))}t[Et(e)]=Et(n)}parseQueryParam(t){const e=function(t){const e=t.match(Tt);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(Rt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=kt(e),s=kt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(s)}else t[i]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ot(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=W);const r=this.parseChildren();e[s]=1===Object.keys(r).length?r[W]:new ft([],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 Ft{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=Lt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Lt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Pt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Pt(t,this._root).map(t=>t.value)}}function Lt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Lt(t,n);if(e)return e}return null}function Pt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Pt(t,n);if(i.length)return i.unshift(e),i}return[]}class Mt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Nt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Bt extends Ft{constructor(t,e){super(t),this.snapshot=e,qt(this,t)}toString(){return this.snapshot.toString()}}function Vt(t,e){const n=function(t,e){const n=new jt([],{},{},"",{},W,e,null,t.root,-1,{});return new zt("",new Mt(n,[]))}(t,e),i=new a.X([new mt("",{})]),s=new a.X({}),r=new a.X({}),o=new a.X({}),l=new a.X(""),c=new Yt(i,s,o,l,r,W,e,n.root);return c.snapshot=n.root,new Bt(new Mt(c,[]),n)}class Yt{constructor(t,e,n,i,s,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,g.U)(t=>K(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,g.U)(t=>K(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ut(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class jt{constructor(t,e,n,i,s,r,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=K(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=K(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zt extends Ft{constructor(t,e){super(e),this.url=t,qt(this,e)}toString(){return Gt(this._root)}}function qt(t,e){e.value._routerState=t,e.children.forEach(e=>qt(t,e))}function Gt(t){const e=t.children.length>0?` { ${t.children.map(Gt).join(", ")} } `:"";return`${t.value}${e}`}function Ht(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,et(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),et(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(!et(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),et(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Zt(t,e){return et(t.params,e.params)&&function(t,e){return gt(t,e)&&t.every((t,n)=>et(t.parameters,e[n].parameters))}(t.url,e.url)&&!(!t.parent!=!e.parent)&&(!t.parent||Zt(t.parent,e.parent))}function $t(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const s=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return $t(t,e,i);return $t(t,e)})}(t,e,n);return new Mt(i,s)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return Wt(e,t),t}}const n=function(t){return new Yt(new a.X(t.url),new a.X(t.params),new a.X(t.queryParams),new a.X(t.fragment),new a.X(t.data),t.outlet,t.component,t)}(e.value),i=e.children.map(e=>$t(t,e));return new Mt(n,i)}}function Wt(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)Wt(t.children[n],e.children[n])}function Qt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Kt(t){return"object"==typeof t&&null!=t&&t.outlets}function Xt(t,e,n,i,s){let r={};return i&&rt(i,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new pt(n.root===t?e:Jt(n.root,t,e),r,s)}function Jt(t,e,n){const i={};return rt(t.children,(t,s)=>{i[s]=t===e?n:Jt(t,e,n)}),new ft(t.segments,i)}class te{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Qt(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(Kt);if(i&&i!==st(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ee{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ne(t,e,n){if(t||(t=new ft([],{})),0===t.segments.length&&t.hasChildren())return ie(t,e,n);const i=function(t,e,n){let i=0,s=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(i>=n.length)return r;const e=t.segments[s],o=n[i];if(Kt(o))break;const a=`${o}`,l=i<n.length-1?n[i+1]:null;if(s>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!ae(a,l,e))return r;i+=2}else{if(!ae(a,{},e))return r;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,e,n),s=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new ft(t.segments.slice(0,i.pathIndex),{});return e.children[W]=new ft(t.segments.slice(i.pathIndex),t.children),ie(e,0,s)}return i.match&&0===s.length?new ft(t.segments,{}):i.match&&!t.hasChildren()?se(t,e,n):i.match?ie(t,0,s):se(t,e,n)}function ie(t,e,n){if(0===n.length)return new ft(t.segments,{});{const i=function(t){return Kt(t[0])?t[0].outlets:{[W]:t}}(n),s={};return rt(i,(n,i)=>{"string"==typeof n&&(n=[n]),null!==n&&(s[i]=ne(t.children[i],e,n))}),rt(t.children,(t,e)=>{void 0===i[e]&&(s[e]=t)}),new ft(t.segments,s)}}function se(t,e,n){const i=t.segments.slice(0,e);let s=0;for(;s<n.length;){const r=n[s];if(Kt(r)){const t=re(r.outlets);return new ft(i,t)}if(0===s&&Qt(n[0])){i.push(new mt(t.segments[e].path,oe(n[0]))),s++;continue}const o=Kt(r)?r.outlets[W]:`${r}`,a=s<n.length-1?n[s+1]:null;o&&a&&Qt(a)?(i.push(new mt(o,oe(a))),s+=2):(i.push(new mt(o,{})),s++)}return new ft(i,{})}function re(t){const e={};return rt(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=se(new ft([],{}),0,t))}),e}function oe(t){const e={};return rt(t,(t,n)=>e[n]=`${t}`),e}function ae(t,e,n){return t==n.path&&et(e,n.parameters)}class le{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Ht(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Nt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),rt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(i===s)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,s=Nt(t);for(const r of Object.keys(s))this.deactivateRouteAndItsChildren(s[r],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=Nt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new Z(t.value.snapshot))}),t.children.length&&this.forwardEvent(new G(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(Ht(i),i===s)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ce(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=s,e.outlet&&e.outlet.activateWith(i,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ce(t){Ht(t.value),t.children.forEach(ce)}class ue{constructor(t,e){this.routes=t,this.module=e}}function he(t){return"function"==typeof t}function de(t){return t instanceof pt}const pe=Symbol("INITIAL_VALUE");function fe(){return(0,_.w)(t=>(0,l.aj)(t.map(t=>t.pipe((0,b.q)(1),(0,y.O)(pe)))).pipe((0,v.R)((t,e)=>{let n=!1;return e.reduce((t,i,s)=>t!==pe?t:(i===pe&&(n=!0),n||!1!==i&&s!==e.length-1&&!de(i)?t:i),t)},pe),(0,w.h)(t=>t!==pe),(0,g.U)(t=>de(t)?t:!0===t),(0,b.q)(1)))}let me=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[mn]},encapsulation:2}),t})();function ge(t,e=""){for(let n=0;n<t.length;n++){const i=t[n];_e(i,be(e,i))}}function _e(t,e){t.children&&ge(t.children,e)}function be(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function ye(t){const e=t.children&&t.children.map(ye),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==W&&(n.component=me),n}function ve(t){return t.outlet||W}function we(t,e){const n=t.filter(t=>ve(t)===e);return n.push(...t.filter(t=>ve(t)!==e)),n}const Ce={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function xe(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Ce):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const s=(e.matcher||tt)(n,t,e);if(!s)return Object.assign({},Ce);const r={};rt(s.posParams,(t,e)=>{r[e]=t.path});const o=s.consumed.length>0?Object.assign(Object.assign({},r),s.consumed[s.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:s.consumed,lastChild:s.consumed.length,parameters:o,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function Se(t,e,n,i,s="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Ee(t,e,n)&&ve(n)!==W)}(t,n,i)){const s=new ft(e,function(t,e,n,i){const s={};s[W]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&ve(r)!==W){const n=new ft([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[ve(r)]=n}return s}(t,e,i,new ft(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ee(t,e,n))}(t,n,i)){const r=new ft(t.segments,function(t,e,n,i,s,r){const o={};for(const a of i)if(Ee(t,n,a)&&!s[ve(a)]){const n=new ft([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[ve(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,i,t.children,s));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new ft(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Ee(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function ke(t,e,n,i){return!!(ve(t)===i||i!==W&&Ee(e,n,t))&&("**"===t.path||xe(e,t,n).matched)}function Ae(t,e,n){return 0===e.length&&!t.children[n]}class De{constructor(t){this.segmentGroup=t||null}}class Oe{constructor(t){this.urlTree=t}}function Te(t){return new c.y(e=>e.error(new De(t)))}function Re(t){return new c.y(e=>e.error(new Oe(t)))}function Ie(t){return new c.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Fe{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}apply(){const t=Se(this.urlTree.root,[],[],this.config).segmentGroup,e=new ft(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,W).pipe((0,g.U)(t=>this.createUrlTree(Le(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,C.K)(t=>{if(t instanceof Oe)return this.allowRedirects=!1,this.match(t.urlTree);throw t instanceof De?this.noMatchError(t):t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,W).pipe((0,g.U)(e=>this.createUrlTree(Le(e),t.queryParams,t.fragment))).pipe((0,C.K)(t=>{throw t instanceof De?this.noMatchError(t):t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new ft([],{[W]:t}):t;return new pt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,g.U)(t=>new ft([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const s of Object.keys(n.children))"primary"===s?i.unshift(s):i.push(s);return(0,r.D)(i).pipe((0,x.b)(i=>{const s=n.children[i],r=we(e,i);return this.expandSegmentGroup(t,r,s,i).pipe((0,g.U)(t=>({segment:t,outlet:i})))}),(0,v.R)((t,e)=>(t[e.outlet]=e.segment,t),{}),(0,S.Z)())}expandSegment(t,e,n,i,s,a){return(0,r.D)(n).pipe((0,x.b)(r=>this.expandSegmentAgainstRoute(t,e,n,r,i,s,a).pipe((0,C.K)(t=>{if(t instanceof De)return(0,o.of)(null);throw t}))),(0,E.P)(t=>!!t),(0,C.K)((t,n)=>{if(t instanceof u.K||"EmptyError"===t.name){if(Ae(e,i,s))return(0,o.of)(new ft([],{}));throw new De(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,s,r,o){return ke(i,e,s,r)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,s,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r):Te(e):Te(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Re(s):this.lineralizeSegments(n,s).pipe((0,k.zg)(n=>{const s=new ft(n,{});return this.expandSegment(t,s,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=xe(e,i,s);if(!o)return Te(e);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?Re(u):this.lineralizeSegments(i,u).pipe((0,k.zg)(i=>this.expandSegment(t,e,n,i.concat(s.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,i,s){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,o.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,g.U)(t=>(n._loadedConfig=t,new ft(i,{})))):(0,o.of)(new ft(i,{}));const{matched:r,consumedSegments:a,lastChild:l}=xe(e,n,i);if(!r)return Te(e);const c=i.slice(l);return this.getChildConfig(t,n,i).pipe((0,k.zg)(t=>{const i=t.module,r=t.routes,{segmentGroup:l,slicedSegments:u}=Se(e,a,c,r),h=new ft(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(i,r,h).pipe((0,g.U)(t=>new ft(a,t)));if(0===r.length&&0===u.length)return(0,o.of)(new ft(a,{}));const d=ve(n)===s;return this.expandSegment(i,h,r,u,d?W:s,!0).pipe((0,g.U)(t=>new ft(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,o.of)(new ue(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,o.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,k.zg)(n=>{return n?this.configLoader.load(t.injector,e).pipe((0,g.U)(t=>(e._loadedConfig=t,t))):(i=e,new c.y(t=>t.error(J(`Cannot load children because the guard of the route "path: '${i.path}'" returned false`))));var i})):(0,o.of)(new ue([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return(0,o.of)(!0);const s=i.map(i=>{const s=t.get(i);let r;if((o=s)&&he(o.canLoad))r=s.canLoad(e,n);else{if(!he(s))throw new Error("Invalid CanLoad guard");r=s(e,n)}var o;return ot(r)});return(0,o.of)(s).pipe(fe(),(0,A.b)(t=>{if(!de(t))return;const e=J(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,g.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,o.of)(n);if(i.numberOfChildren>1||!i.children[W])return Ie(t.redirectTo);i=i.children[W]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const s=this.createSegmentGroup(t,e.root,n,i);return new pt(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return rt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[i]=e[s]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const s=this.createSegments(t,e.segments,n,i);let r={};return rt(e.children,(e,s)=>{r[s]=this.createSegmentGroup(t,e,n,i)}),new ft(s,r)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Le(t){const e={};for(const n of Object.keys(t.children)){const i=Le(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children[W]){const e=t.children[W];return new ft(t.segments.concat(e.segments),e.children)}return t}(new ft(t.segments,e))}class Pe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Me{constructor(t,e){this.component=t,this.route=e}}function Ne(t,e,n){const i=t._root;return Ve(i,e?e._root:null,n,[i.value])}function Be(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Ve(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=Nt(e);return t.children.forEach(t=>{(function(t,e,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!gt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!gt(t.url,e.url)||!et(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zt(t,e)||!et(t.queryParams,e.queryParams);case"paramsChange":default:return!Zt(t,e)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Pe(i)):(r.data=o.data,r._resolvedData=o._resolvedData),Ve(t,e,r.component?a?a.children:null:n,i,s),l&&a&&a.outlet&&a.outlet.isActivated&&s.canDeactivateChecks.push(new Me(a.outlet.component,o))}else o&&Ye(e,a,s),s.canActivateChecks.push(new Pe(i)),Ve(t,null,r.component?a?a.children:null:n,i,s)})(t,r[t.value.outlet],n,i.concat([t.value]),s),delete r[t.value.outlet]}),rt(r,(t,e)=>Ye(t,n.getContext(e),s)),s}function Ye(t,e,n){const i=Nt(t),s=t.value;rt(i,(t,i)=>{Ye(t,s.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Me(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}class Ue{}function je(t){return new c.y(e=>e.error(t))}class ze{constructor(t,e,n,i,s,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){const t=Se(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,W);if(null===e)return null;const n=new jt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},W,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Mt(n,e),s=new zt(this.url,i);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(t){const e=t.value,n=Ut(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const s of Object.keys(e.children)){const i=e.children[s],r=we(t,s),o=this.processSegmentGroup(r,i,s);if(null===o)return null;n.push(...o)}const i=Ge(n);return i.sort((t,e)=>t.value.outlet===W?-1:e.value.outlet===W?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const s of t){const t=this.processSegmentAgainstRoute(s,e,n,i);if(null!==t)return t}return Ae(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!ke(t,e,n,i))return null;let s,r=[],o=[];if("**"===t.path){const i=n.length>0?st(n).parameters:{};s=new jt(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,$e(t),ve(t),t.component,t,He(e),Ze(e)+n.length,We(t))}else{const i=xe(e,t,n);if(!i.matched)return null;r=i.consumedSegments,o=n.slice(i.lastChild),s=new jt(r,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,$e(t),ve(t),t.component,t,He(e),Ze(e)+r.length,We(t))}const a=(u=t).children?u.children:u.loadChildren?u._loadedConfig.routes:[],{segmentGroup:l,slicedSegments:c}=Se(e,r,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);var u;if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Mt(s,t)]}if(0===a.length&&0===c.length)return[new Mt(s,[])];const h=ve(t)===i,d=this.processSegment(a,l,c,h?W:i);return null===d?null:[new Mt(s,d)]}}function qe(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function Ge(t){const e=[],n=new Set;for(const i of t){if(!qe(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=Ge(i.children);e.push(new Mt(i.value,t))}return e.filter(t=>!n.has(t))}function He(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Ze(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 $e(t){return t.data||{}}function We(t){return t.resolve||{}}function Qe(t){return(0,_.w)(e=>{const n=t(e);return n?(0,r.D)(n).pipe((0,g.U)(()=>e)):(0,o.of)(e)})}class Ke 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 Xe=new s.OlP("ROUTES");class Je{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,g.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new ue(it(i.injector.get(Xe,void 0,s.XFs.Self|s.XFs.Optional)).map(ye),i)}),(0,C.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new f.c(n,()=>new m.xQ).pipe((0,O.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,r.D)(this.loader.load(t)):ot(t()).pipe((0,k.zg)(t=>t instanceof s.YKP?(0,o.of)(t):(0,r.D)(this.compiler.compileModuleAsync(t))))}}class tn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new en,this.attachRef=null}}class en{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 tn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class nn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function sn(t){throw t}function rn(t,e,n){return e.parse("/")}function on(t,e){return(0,o.of)(null)}const an={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ln={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let cn=(()=>{class t{constructor(t,e,n,i,r,o,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new m.xQ,this.errorHandler=sn,this.malformedUriErrorHandler=rn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:on,afterPreactivation:on},this.urlHandlingStrategy=new nn,this.routeReuseStrategy=new Ke,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(s.h0i),this.console=r.get(s.c2e);const u=r.get(s.R0b);this.isNgZoneEnabled=u instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new pt(new ft([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Je(o,l,t=>this.triggerEvent(new j(t)),t=>this.triggerEvent(new z(t))),this.routerState=Vt(this.currentUrlTree,this.rootComponentType),this.transitions=new a.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe((0,w.h)(t=>0!==t.id),(0,g.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,_.w)(t=>{let n=!1,i=!1;return(0,o.of)(t).pipe((0,A.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,_.w)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString(),s=("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl);if(un(t.source)&&(this.browserUrlTree=t.rawUrl),s)return(0,o.of)(t).pipe((0,_.w)(t=>{const n=this.transitions.getValue();return e.next(new F(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(t)}),function(t,e,n,i){return(0,_.w)(s=>function(t,e,n,i,s){return new Fe(t,e,n,i,s).apply()}(t,e,n,s.extractedUrl,i).pipe((0,g.U)(t=>Object.assign(Object.assign({},s),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,A.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,s,r){return(0,k.zg)(a=>function(t,e,n,s,r="emptyOnly",a="legacy"){try{const i=new ze(t,e,n,s,r,a).recognize();return null===i?je(new Ue):(0,o.of)(i)}catch(i){return je(i)}}(t,e,a.urlAfterRedirects,n(a.urlAfterRedirects),s,r).pipe((0,g.U)(t=>Object.assign(Object.assign({},a),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,A.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new N(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:s,restoredState:r,extras:a}=t,l=new F(n,this.serializeUrl(i),s,r);e.next(l);const c=Vt(i,this.rootComponentType).snapshot;return(0,o.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),Qe(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,A.b)(t=>{const e=new B(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,g.U)(t=>Object.assign(Object.assign({},t),{guards:Ne(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,k.zg)(n=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?(0,o.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,r.D)(t).pipe((0,k.zg)(t=>function(t,e,n,i,s){const r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,o.of)(!0);const a=r.map(r=>{const o=Be(r,e,s);let a;if(function(t){return t&&he(t.canDeactivate)}(o))a=ot(o.canDeactivate(t,e,n,i));else{if(!he(o))throw new Error("Invalid CanDeactivate guard");a=ot(o(t,e,n,i))}return a.pipe((0,E.P)())});return(0,o.of)(a).pipe(fe())}(t.component,t.route,n,e,i)),(0,E.P)(t=>!0!==t,!0))}(l,i,s,t).pipe((0,k.zg)(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return(0,r.D)(e).pipe((0,x.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new q(t)),(0,o.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new H(t)),(0,o.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const s=e.guards.map(s=>{const r=Be(s,e.node,n);let o;if(function(t){return t&&he(t.canActivateChild)}(r))o=ot(r.canActivateChild(i,t));else{if(!he(r))throw new Error("Invalid CanActivateChild guard");o=ot(r(i,t))}return o.pipe((0,E.P)())});return(0,o.of)(s).pipe(fe())}));return(0,o.of)(s).pipe(fe())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,o.of)(!0);const s=i.map(i=>(0,d.P)(()=>{const s=Be(i,e,n);let r;if(function(t){return t&&he(t.canActivate)}(s))r=ot(s.canActivate(e,t));else{if(!he(s))throw new Error("Invalid CanActivate guard");r=ot(s(e,t))}return r.pipe((0,E.P)())}));return(0,o.of)(s).pipe(fe())}(t,e.route,n))),(0,E.P)(t=>!0!==t,!0))}(i,a,t,e):(0,o.of)(n)),(0,g.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,A.b)(t=>{if(de(t.guardsResult)){const e=J(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new V(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,w.h)(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),Qe(t=>{if(t.guards.canActivateChecks.length)return(0,o.of)(t).pipe((0,A.b)(t=>{const e=new Y(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,_.w)(t=>{let e=!1;return(0,o.of)(t).pipe(function(t,e){return(0,k.zg)(n=>{const{targetSnapshot:i,guards:{canActivateChecks:s}}=n;if(!s.length)return(0,o.of)(n);let a=0;return(0,r.D)(s).pipe((0,x.b)(n=>function(t,e,n,i){return function(t,e,n,i){const s=Object.keys(t);if(0===s.length)return(0,o.of)({});const a={};return(0,r.D)(s).pipe((0,k.zg)(s=>function(t,e,n,i){const s=Be(t,e,i);return ot(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,i).pipe((0,A.b)(t=>{a[s]=t}))),(0,D.h)(1),(0,k.zg)(()=>Object.keys(a).length===s.length?(0,o.of)(a):p.E))}(t._resolve,t,e,i).pipe((0,g.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Ut(t,n).resolve),null)))}(n.route,i,t,e)),(0,A.b)(()=>a++),(0,D.h)(1),(0,k.zg)(t=>a===s.length?(0,o.of)(n):p.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,A.b)({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,A.b)(t=>{const e=new U(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Qe(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),(0,g.U)(t=>{const e=function(t,e,n){const i=$t(t,e._root,n?n._root:void 0);return new Bt(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,A.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),((t,e,n)=>(0,g.U)(i=>(new le(e,i.targetRouterState,i.currentRouterState,n).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),(0,A.b)({next(){n=!0},complete(){n=!0}}),(0,T.x)(()=>{if(!n&&!i){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}this.currentNavigation=null}),(0,C.K)(n=>{if(i=!0,function(t){return t&&t[X]}(n)){const i=de(n.url);i||(this.navigated=!0,this.restoreHistory(t,!0));const s=new P(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),i={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||un(t.source)};this.scheduleNavigation(e,"imperative",null,i,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.restoreHistory(t,!0);const i=new M(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}return p.E}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,s={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(s.state=t)}this.scheduleNavigation(i,t,n,s)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){ge(t),this.config=t.map(ye),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:s,queryParamsHandling:r,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:s;let c=null;switch(r){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,s){if(0===n.length)return Xt(e.root,e.root,e,i,s);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new te(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return rt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===s?(i.split("/").forEach((i,s)=>{0==s&&"."===i||(0==s&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new te(n,e,i)}(n);if(r.toRoot())return Xt(e.root,new ft([],{}),e,i,s);const o=function(t,e,n){if(t.isAbsolute)return new ee(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new ee(t,t===e.root,0)}const i=Qt(t.commands[0])?0:1;return function(t,e,n){let i=t,s=e,r=n;for(;r>s;){if(r-=s,i=i.parent,!i)throw new Error("Invalid number of '../'");s=i.segments.length}return new ee(i,!1,s-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?ie(o.segmentGroup,o.index,r.commands):ne(o.segmentGroup,o.index,r.commands);return Xt(o.segmentGroup,a,e,i,s)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=de(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<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({},an):!1===e?Object.assign({},ln):e,de(t))return ct(this.currentUrlTree,t,n);const i=this.parseUrl(t);return ct(this.currentUrlTree,i,n)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new L(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,e,n,i,s){var r,o;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l=un(e)&&a&&!un(a.source),c=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);let u,h,d;s?(u=s.resolve,h=s.reject,d=s.promise):d=new Promise((t,e)=>{u=t,h=e});const p=++this.navigationId;let f;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),f=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(r=this.browserPageId)&&void 0!==r?r:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):f=0,this.setTransition({id:p,targetPageId:f,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}restoreHistory(t,e=!1){var n,i;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(i=this.currentNavigation)||void 0===i?void 0:i.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new P(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(_t),s.LFG(en),s.LFG(i.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function un(t){return"imperative"!==t}let hn=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.route=e,this.commands=[],this.onChanges=new m.xQ,null==n&&i.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:pn(this.skipLocationChange),replaceUrl:pn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:pn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(cn),s.Y36(Yt),s.$8M("tabindex"),s.Y36(s.Qsj),s.Y36(s.SBq))},t.\u0275dir=s.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})(),dn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new m.xQ,this.subscription=t.events.subscribe(t=>{t instanceof L&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,s){if(0!==t||e||n||i||s||"string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:pn(this.skipLocationChange),replaceUrl:pn(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:pn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(cn),s.Y36(Yt),s.Y36(i.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t})();function pn(t){return""===t||!!t}let fn=(()=>{class t{constructor(t,e,n,i,s,r){this.router=t,this.element=e,this.renderer=n,this.cdr=i,this.link=s,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof L&&this.update()})}ngAfterContentInit(){(0,o.of)(this.links.changes,this.linksWithHrefs.changes,(0,o.of)(null)).pipe((0,R.J)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=(0,r.D)(e).pipe((0,R.J)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){const e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>t.isActive(n.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(cn),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.sBO),s.Y36(hn,8),s.Y36(dn,8))},t.\u0275dir=s.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,hn,5),s.Suo(n,dn,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.links=t),s.iGM(t=s.CRH())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[s.TTD]}),t})(),mn=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=i||W,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,s=new gn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(en),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class gn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Yt?this.route:t===en?this.childContexts:this.parent.get(t,e)}}class _n{}class bn{preload(t,e){return(0,o.of)(null)}}let yn=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.injector=i,this.preloadingStrategy=s,this.loader=new Je(e,n,e=>t.triggerEvent(new j(e)),e=>t.triggerEvent(new z(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,w.h)(t=>t instanceof L),(0,x.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return(0,r.D)(n).pipe((0,R.J)(),(0,g.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,o.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,k.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(cn),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(_n))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),vn=(()=>{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 F?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof L&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof $&&(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 $(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(cn),s.LFG(i.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const wn=new s.OlP("ROUTER_CONFIGURATION"),Cn=new s.OlP("ROUTER_FORROOT_GUARD"),xn=[i.Ye,{provide:_t,useClass:bt},{provide:cn,useFactory:function(t,e,n,i,s,r,o,a={},l,c){const u=new cn(null,t,e,n,i,s,r,it(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:[_t,en,i.Ye,s.zs3,s.v3s,s.Sil,Xe,wn,[class{},new s.FiY],[class{},new s.FiY]]},en,{provide:Yt,useFactory:function(t){return t.routerState.root},deps:[cn]},{provide:s.v3s,useClass:s.EAV},yn,bn,class{preload(t,e){return e().pipe((0,C.K)(()=>(0,o.of)(null)))}},{provide:wn,useValue:{enableTracing:!1}}];function Sn(){return new s.PXZ("Router",cn)}let En=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[xn,On(e),{provide:Cn,useFactory:Dn,deps:[[cn,new s.FiY,new s.tp0]]},{provide:wn,useValue:n||{}},{provide:i.S$,useFactory:An,deps:[i.lw,[new s.tBr(i.mr),new s.FiY],wn]},{provide:vn,useFactory:kn,deps:[cn,i.EM,wn]},{provide:_n,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:bn},{provide:s.PXZ,multi:!0,useFactory:Sn},[Tn,{provide:s.ip1,multi:!0,useFactory:Rn,deps:[Tn]},{provide:Fn,useFactory:In,deps:[Tn]},{provide:s.tb,multi:!0,useExisting:Fn}]]}}static forChild(e){return{ngModule:t,providers:[On(e)]}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Cn,8),s.LFG(cn,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function kn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new vn(t,e,n)}function An(t,e,n={}){return n.useHash?new i.Do(t,e):new i.b0(t,e)}function Dn(t){return"guarded"}function On(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:Xe,multi:!0,useValue:t}]}let Tn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new m.xQ}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(cn),i=this.injector.get(wn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,o.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(wn),n=this.injector.get(yn),i=this.injector.get(vn),r=this.injector.get(cn),o=this.injector.get(s.z2F);t===o.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function Rn(t){return t.appInitializer.bind(t)}function In(t){return t.bootstrapListener.bind(t)}const Fn=new s.OlP("Router Initializer")},85322:function(t,e,n){"use strict";n.d(e,{eX:function(){return O},Qm:function(){return S},Ll:function(){return Y},sQ:function(){return H},GW:function(){return v},l4:function(){return T}});var i=n(86710),s=n(66682),r=n(39897),o=n(79765),a=n(15829),l=n(25037),c=n(88002),u=n(5304),h=n(45435),d=n(304),p=n(19773),f=n(87479),m=n(31560),g=n(15257),_=n(37716);const b={dispatch:!0,useEffectsErrorHandler:!0},y="__@ngrx/effects_create__";function v(t,e){const n=t(),i=Object.assign(Object.assign({},b),e);return Object.defineProperty(n,y,{value:i}),n}function w(t){return Object.getOwnPropertyNames(t).filter(e=>!(!t[e]||!t[e].hasOwnProperty(y))&&t[e][y].hasOwnProperty("dispatch")).map(e=>Object.assign({propertyName:e},t[e][y]))}function C(t){return Object.getPrototypeOf(t)}const x="__@ngrx/effects__";function S(t={}){return function(e,n){!function(t,e){k(t)?t.constructor[x].push(e):Object.defineProperty(t.constructor,x,{value:[e]})}(e,Object.assign(Object.assign(Object.assign({},b),t),{propertyName:n}))}}function E(t){return(0,i.qC)(A,C)(t)}function k(t){return t.constructor.hasOwnProperty(x)}function A(t){return k(t)?t.constructor[x]:[]}function D(t,e,n=10){return t.pipe((0,u.K)(i=>(e&&e.handleError(i),n<=1?t:D(t,e,n-1))))}let O=(()=>{class t extends r.y{constructor(t){super(),t&&(this.source=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}}return t.\u0275fac=function(e){return new(e||t)(_.LFG(i.Y$))},t.\u0275prov=_.Yz7({token:t,factory:t.\u0275fac}),t})();function T(...t){return(0,h.h)(e=>t.some(t=>"string"==typeof t?t===e.type:t.type===e.type))}function R(t){return I(t,"ngrxOnInitEffects")}function I(t,e){return t&&e in t&&"function"==typeof t[e]}const F=new _.OlP("@ngrx/effects Internal Root Guard"),L=new _.OlP("@ngrx/effects User Provided Effects"),P=new _.OlP("@ngrx/effects Internal Root Effects"),M=new _.OlP("@ngrx/effects Root Effects"),N=new _.OlP("@ngrx/effects Internal Feature Effects"),B=new _.OlP("@ngrx/effects Feature Effects"),V=new _.OlP("@ngrx/effects Effects Error Handler");let Y=(()=>{class t extends o.xQ{constructor(t,e){super(),this.errorHandler=t,this.effectsErrorHandler=e}addEffects(t){this.next(t)}toActions(){return this.pipe((0,d.v)(C),(0,p.zg)(t=>t.pipe((0,d.v)(U))),(0,p.zg)(t=>{const e=t.pipe((0,f.z)(t=>function(t,e){return n=>{const i=function(t,e,n){const i=C(t).constructor.name,r=function(t){return[E,w].reduce((e,n)=>e.concat(n(t)),[])}(t).map(({propertyName:s,dispatch:r,useEffectsErrorHandler:o})=>{const u="function"==typeof t[s]?t[s]():t[s],h=o?n(u,e):u;return!1===r?h.pipe((0,a.l)()):h.pipe((0,l.i)()).pipe((0,c.U)(e=>({effect:t[s],notification:e,propertyName:s,sourceName:i,sourceInstance:t})))});return(0,s.T)(...r)}(n,t,e);return function(t){return I(t,"ngrxOnRunEffects")}(n)?n.ngrxOnRunEffects(i):i}}(this.errorHandler,this.effectsErrorHandler)(t)),(0,c.U)(t=>(function(t,e){if("N"===t.notification.kind){const n=t.notification.value;!function(t){return"function"!=typeof t&&t&&t.type&&"string"==typeof t.type}(n)&&e.handleError(new Error(`Effect ${function({propertyName:t,sourceInstance:e,sourceName:n}){const i="function"==typeof e[t];return`"${n}.${String(t)}${i?"()":""}"`}(t)} dispatched an invalid action: ${function(t){try{return JSON.stringify(t)}catch(e){return t}}(n)}`))}}(t,this.errorHandler),t.notification)),(0,h.h)(t=>"N"===t.kind&&null!=t.value),(0,m.D)()),n=t.pipe((0,g.q)(1),(0,h.h)(R),(0,c.U)(t=>t.ngrxOnInitEffects()));return(0,s.T)(e,n)}))}}return t.\u0275fac=function(e){return new(e||t)(_.LFG(_.qLn),_.LFG(V))},t.\u0275prov=_.Yz7({token:t,factory:t.\u0275fac}),t})();function U(t){return function(t){return I(t,"ngrxOnIdentifyEffects")}(t)?t.ngrxOnIdentifyEffects():""}let j=(()=>{class t{constructor(t,e){this.effectSources=t,this.store=e,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(_.LFG(Y),_.LFG(i.yh))},t.\u0275prov=_.Yz7({token:t,factory:t.\u0275fac}),t})();const z="@ngrx/effects/init";(0,i.PH)(z);let q=(()=>{class t{constructor(t,e,n,i,s,r,o){this.sources=t,e.start(),i.forEach(e=>t.addEffects(e)),n.dispatch({type:z})}addEffects(t){this.sources.addEffects(t)}}return t.\u0275fac=function(e){return new(e||t)(_.LFG(Y),_.LFG(j),_.LFG(i.yh),_.LFG(M),_.LFG(i.cr,8),_.LFG(i.CK,8),_.LFG(F,8))},t.\u0275mod=_.oAB({type:t}),t.\u0275inj=_.cJS({}),t})(),G=(()=>{class t{constructor(t,e,n,i){e.forEach(e=>e.forEach(e=>t.addEffects(e)))}}return t.\u0275fac=function(e){return new(e||t)(_.LFG(q),_.LFG(B),_.LFG(i.cr,8),_.LFG(i.CK,8))},t.\u0275mod=_.oAB({type:t}),t.\u0275inj=_.cJS({}),t})(),H=(()=>{class t{static forFeature(t=[]){return{ngModule:G,providers:[t,{provide:N,multi:!0,useValue:t},{provide:L,multi:!0,useValue:[]},{provide:B,multi:!0,useFactory:Z,deps:[_.zs3,N,L]}]}}static forRoot(t=[]){return{ngModule:q,providers:[{provide:V,useValue:D},j,Y,O,t,{provide:P,useValue:[t]},{provide:F,useFactory:$,deps:[[j,new _.FiY,new _.tp0],[P,new _.PiD]]},{provide:L,multi:!0,useValue:[]},{provide:M,useFactory:Z,deps:[_.zs3,P,L]}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=_.oAB({type:t}),t.\u0275inj=_.cJS({}),t})();function Z(t,e,n){const i=[];for(const s of e)i.push(...s);for(const s of n)i.push(...s);return function(t,e){return e.map(e=>t.get(e))}(t,i)}function $(t,e){if((1!==e.length||0!==e[0].length)&&t)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},80273:function(t,e,n){"use strict";n.d(e,{H:function(){return c}});var i=n(86710),s=n(37716),r=(()=>{return(t=r||(r={}))[t.EntitiesOnly=0]="EntitiesOnly",t[t.Both=1]="Both",t[t.None=2]="None",r;var t})();function o(t){return function(e,n){const i={ids:[...n.ids],entities:Object.assign({},n.entities)},s=t(e,i);return s===r.Both?Object.assign({},n,i):s===r.EntitiesOnly?Object.assign(Object.assign({},n),{entities:i.entities}):n}}function a(t,e){const n=e(t);return(0,s.X6Q)()&&void 0===n&&console.warn("@ngrx/entity: The entity passed to the `selectId` implementation returned undefined.","You should probably provide your own `selectId` implementation.","The entity that was passed:",t,"The `selectId` implementation:",e.toString()),n}function l(t){function e(e,n){const i=a(e,t);return i in n.entities?r.None:(n.ids.push(i),n.entities[i]=e,r.Both)}function n(t,n){let i=!1;for(const s of t)i=e(s,n)!==r.None||i;return i?r.Both:r.None}function i(e,n){const i=a(e,t);return i in n.entities?(n.entities[i]=e,r.EntitiesOnly):(n.ids.push(i),n.entities[i]=e,r.Both)}function s(t,e){const n=(t instanceof Array?t:e.ids.filter(n=>t(e.entities[n]))).filter(t=>t in e.entities).map(t=>delete e.entities[t]).length>0;return n&&(e.ids=e.ids.filter(t=>t in e.entities)),n?r.Both:r.None}function l(t,e){return c([t],e)}function c(e,n){const i={};return(e=e.filter(t=>t.id in n.entities)).length>0?e.filter(e=>function(e,n,i){const s=Object.assign({},i.entities[n.id],n.changes),r=a(s,t),o=r!==n.id;return o&&(e[n.id]=r,delete i.entities[n.id]),i.entities[r]=s,o}(i,e,n)).length>0?(n.ids=n.ids.map(t=>i[t]||t),r.Both):r.EntitiesOnly:r.None}function u(e,i){const s=[],o=[];for(const n of e){const e=a(n,t);e in i.entities?o.push({id:e,changes:n}):s.push(n)}const l=c(o,i),u=n(s,i);switch(!0){case u===r.None&&l===r.None:return r.None;case u===r.Both||l===r.Both:return r.Both;default:return r.EntitiesOnly}}return{removeAll:function(t){return Object.assign({},t,{ids:[],entities:{}})},addOne:o(e),addMany:o(n),setAll:o(function(t,e){return e.ids=[],e.entities={},n(t,e),r.Both}),setOne:o(i),setMany:o(function(t,e){const n=t.map(t=>i(t,e));switch(!0){case n.some(t=>t===r.Both):return r.Both;case n.some(t=>t===r.EntitiesOnly):return r.EntitiesOnly;default:return r.None}}),updateOne:o(l),updateMany:o(c),upsertOne:o(function(t,e){return u([t],e)}),upsertMany:o(u),removeOne:o(function(t,e){return s([t],e)}),removeMany:o(s),map:o(function(t,e){return c(e.ids.reduce((n,i)=>{const s=t(e.entities[i]);return s!==e.entities[i]&&n.push({id:i,changes:s}),n},[]).filter(({id:t})=>t in e.entities),e)}),mapOne:o(function({map:t,id:e},n){const i=n.entities[e];return i?l({id:e,changes:t(i)},n):r.None})}}function c(t={}){const{selectId:e,sortComparer:n}=Object.assign({sortComparer:!1,selectId:t=>t.id},t),s={getInitialState:function(t={}){return Object.assign({ids:[],entities:{}},t)}},c={getSelectors:function(t){const e=t=>t.ids,n=t=>t.entities,s=(0,i.P1)(e,n,(t,e)=>t.map(t=>e[t])),r=(0,i.P1)(e,t=>t.length);return t?{selectIds:(0,i.P1)(t,e),selectEntities:(0,i.P1)(t,n),selectAll:(0,i.P1)(t,s),selectTotal:(0,i.P1)(t,r)}:{selectIds:e,selectEntities:n,selectAll:s,selectTotal:r}}},u=n?function(t,e){const{removeOne:n,removeMany:i,removeAll:s}=l(t);function c(t,e){return u([t],e)}function u(e,n){const i=e.filter(e=>!(a(e,t)in n.entities));return 0===i.length?r.None:(m(i,n),r.Both)}function h(e,n){const i=a(e,t);return i in n.entities?(n.ids=n.ids.filter(t=>t!==i),m([e],n),r.Both):c(e,n)}function d(t,e){return p([t],e)}function p(e,n){const i=[],s=e.filter(e=>function(e,n,i){if(!(n.id in i.entities))return!1;const s=Object.assign({},i.entities[n.id],n.changes),r=a(s,t);return delete i.entities[n.id],e.push(s),r!==n.id}(i,e,n)).length>0;if(0===i.length)return r.None;{const t=n.ids,e=[];return n.ids=n.ids.filter((t,i)=>t in n.entities||(e.push(i),!1)),m(i,n),!s&&e.every(e=>n.ids[e]===t[e])?r.EntitiesOnly:r.Both}}function f(e,n){const i=[],s=[];for(const r of e){const e=a(r,t);e in n.entities?s.push({id:e,changes:r}):i.push(r)}const o=p(s,n),l=u(i,n);switch(!0){case l===r.None&&o===r.None:return r.None;case l===r.Both||o===r.Both:return r.Both;default:return r.EntitiesOnly}}function m(n,i){n.sort(e);const s=[];let r=0,o=0;for(;r<n.length&&o<i.ids.length;){const l=n[r],c=a(l,t),u=i.ids[o];e(l,i.entities[u])<=0?(s.push(c),r++):(s.push(u),o++)}i.ids=s.concat(r<n.length?n.slice(r).map(t):i.ids.slice(o)),n.forEach((e,n)=>{i.entities[t(e)]=e})}return{removeOne:n,removeMany:i,removeAll:s,addOne:o(c),updateOne:o(d),upsertOne:o(function(t,e){return f([t],e)}),setAll:o(function(t,e){return e.entities={},e.ids=[],u(t,e),r.Both}),setOne:o(h),setMany:o(function(t,e){const n=t.map(t=>h(t,e));switch(!0){case n.some(t=>t===r.Both):return r.Both;case n.some(t=>t===r.EntitiesOnly):return r.EntitiesOnly;default:return r.None}}),addMany:o(u),updateMany:o(p),upsertMany:o(f),map:o(function(t,e){return p(e.ids.reduce((n,i)=>{const s=t(e.entities[i]);return s!==e.entities[i]&&n.push({id:i,changes:s}),n},[]),e)}),mapOne:o(function({map:t,id:e},n){const i=n.entities[e];return i?d({id:e,changes:t(i)},n):r.None})}}(e,n):l(e);return Object.assign(Object.assign(Object.assign({selectId:e,sortComparer:n},s),c),u)}},39667:function(t,e,n){"use strict";n.d(e,{GC:function(){return p},Qi:function(){return w},mg:function(){return d}});var i=n(86710),s=n(37716),r=n(39895),o=n(57057);const a="@ngrx/router-store/request",l=((0,i.PH)(a,(0,i.Ky)()),"@ngrx/router-store/navigation"),c=((0,i.PH)(l,(0,i.Ky)()),"@ngrx/router-store/cancel"),u=((0,i.PH)(c,(0,i.Ky)()),"@ngrx/router-store/error"),h=((0,i.PH)(u,(0,i.Ky)()),"@ngrx/router-store/navigated");function d(t,e){const n=e;switch(n.type){case l:case u:case c:return{state:n.payload.routerState,navigationId:n.payload.event.id};default:return t}}(0,i.PH)(h,(0,i.Ky)());class p{}class f{serialize(t){return{root:this.serializeRoute(t.root),url:t.url}}serializeRoute(t){const e=t.children.map(t=>this.serializeRoute(t));return{params:t.params,paramMap:t.paramMap,data:t.data,url:t.url,outlet:t.outlet,routeConfig:t.routeConfig?{component:t.routeConfig.component,path:t.routeConfig.path,pathMatch:t.routeConfig.pathMatch,redirectTo:t.routeConfig.redirectTo,outlet:t.routeConfig.outlet}:null,queryParams:t.queryParams,queryParamMap:t.queryParamMap,fragment:t.fragment,component:t.routeConfig?t.routeConfig.component:void 0,root:void 0,parent:void 0,firstChild:e[0],pathFromRoot:void 0,children:e}}}class m{serialize(t){return{root:this.serializeRoute(t.root),url:t.url}}serializeRoute(t){const e=t.children.map(t=>this.serializeRoute(t));return{params:t.params,data:t.data,url:t.url,outlet:t.outlet,routeConfig:t.routeConfig?{path:t.routeConfig.path,pathMatch:t.routeConfig.pathMatch,redirectTo:t.routeConfig.redirectTo,outlet:t.routeConfig.outlet}:null,queryParams:t.queryParams,fragment:t.fragment,firstChild:e[0],children:e}}}var g=(()=>{return(t=g||(g={}))[t.PreActivation=1]="PreActivation",t[t.PostActivation=2]="PostActivation",g;var t})();const _=new s.OlP("@ngrx/router-store Internal Configuration"),b=new s.OlP("@ngrx/router-store Configuration");function y(t){return Object.assign({stateKey:"router",serializer:m,navigationActionTiming:g.PreActivation},t)}var v=(()=>{return(t=v||(v={}))[t.NONE=1]="NONE",t[t.ROUTER=2]="ROUTER",t[t.STORE=3]="STORE",v;var t})();let w=(()=>{class t{constructor(t,e,n,r,o,a){this.store=t,this.router=e,this.serializer=n,this.errorHandler=r,this.config=o,this.activeRuntimeChecks=a,this.lastEvent=null,this.routerState=null,this.trigger=v.NONE,this.stateKey=this.config.stateKey,!(0,i.rM)()&&(0,s.X6Q)()&&((null==a?void 0:a.strictActionSerializability)||(null==a?void 0:a.strictStateSerializability))&&this.serializer instanceof f&&console.warn("@ngrx/router-store: The serializability runtime checks cannot be enabled with the DefaultRouterStateSerializer. The default serializer has an unserializable router state and actions that are not serializable. To use the serializability runtime checks either use the MinimalRouterStateSerializer or implement a custom router state serializer. This also applies to Ivy with immutability runtime checks."),this.setUpStoreStateListener(),this.setUpRouterEventsListener()}static forRoot(e={}){return{ngModule:t,providers:[{provide:_,useValue:e},{provide:b,useFactory:y,deps:[_]},{provide:p,useClass:e.serializer?e.serializer:0===e.routerState?f:m}]}}setUpStoreStateListener(){this.store.pipe((0,i.Ys)(this.stateKey),(0,o.M)(this.store)).subscribe(([t,e])=>{this.navigateIfNeeded(t,e)})}navigateIfNeeded(t,e){if(!t||!t.state||this.trigger===v.ROUTER||this.lastEvent instanceof r.OD)return;const n=t.state.url;(function(t,e){return C(t)===C(e)})(this.router.url,n)||(this.storeState=e,this.trigger=v.STORE,this.router.navigateByUrl(n).catch(t=>{this.errorHandler.handleError(t)}))}setUpRouterEventsListener(){const t=this.config.navigationActionTiming===g.PostActivation;let e;this.router.events.pipe((0,o.M)(this.store)).subscribe(([n,i])=>{this.lastEvent=n,n instanceof r.OD?(this.routerState=this.serializer.serialize(this.router.routerState.snapshot),this.trigger!==v.STORE&&(this.storeState=i,this.dispatchRouterRequest(n))):n instanceof r.R9?(e=n,!t&&this.trigger!==v.STORE&&this.dispatchRouterNavigation(n)):n instanceof r.gk?(this.dispatchRouterCancel(n),this.reset()):n instanceof r.Q3?(this.dispatchRouterError(n),this.reset()):n instanceof r.m2&&(this.trigger!==v.STORE&&(t&&this.dispatchRouterNavigation(e),this.dispatchRouterNavigated(n)),this.reset())})}dispatchRouterRequest(t){this.dispatchRouterAction(a,{event:t})}dispatchRouterNavigation(t){const e=this.serializer.serialize(t.state);this.dispatchRouterAction(l,{routerState:e,event:new r.R9(t.id,t.url,t.urlAfterRedirects,e)})}dispatchRouterCancel(t){this.dispatchRouterAction(c,{storeState:this.storeState,event:t})}dispatchRouterError(t){this.dispatchRouterAction(u,{storeState:this.storeState,event:new r.Q3(t.id,t.url,`${t}`)})}dispatchRouterNavigated(t){const e=this.serializer.serialize(this.router.routerState.snapshot);this.dispatchRouterAction(h,{event:t,routerState:e})}dispatchRouterAction(t,e){this.trigger=v.ROUTER;try{this.store.dispatch({type:t,payload:Object.assign(Object.assign({routerState:this.routerState},e),{event:0===this.config.routerState?e.event:{id:e.event.id,url:e.event.url,urlAfterRedirects:e.event.urlAfterRedirects}})})}finally{this.trigger=v.NONE}}reset(){this.trigger=v.NONE,this.storeState=null,this.routerState=null}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.yh),s.LFG(r.F0),s.LFG(p),s.LFG(s.qLn),s.LFG(b),s.LFG(i.hg))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t})();function C(t){return t.length>0&&"/"===t[t.length-1]?t.substring(0,t.length-1):t}},93572:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{FT:function(){return StoreDevtoolsModule}});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(37716),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(86710),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(59193),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39897),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(25917),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(66682),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(57771),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(88229),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(78345),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(45435),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(88002),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(94612),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(60134),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(54395),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(5304),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(15257),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(46782),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(43190),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(13653),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(59746),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(57057),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(42145);class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(t){const e={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,autoPause:!1,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}},n="function"==typeof t?t():t,i=Object.assign({},e,{features:n.features||!!n.logOnly&&{pause:!0,export:!0,test:!0}||e.features},n);if(i.maxAge&&i.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${i.maxAge}`);return i}const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(t,e){if(this.action=t,this.timestamp=e,this.type=PERFORM_ACTION,void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(t){this.timestamp=t,this.type=RESET}}class Rollback{constructor(t){this.timestamp=t,this.type=ROLLBACK}}class Commit{constructor(t){this.timestamp=t,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(t){this.id=t,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(t,e,n=!0){this.start=t,this.end=e,this.active=n,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(t){this.index=t,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(t){this.actionId=t,this.type=JUMP_TO_ACTION}}class ImportState{constructor(t){this.nextLiftedState=t,this.type=IMPORT_STATE}}class LockChanges{constructor(t){this.status=t,this.type=LOCK_CHANGES}}class PauseRecording{constructor(t){this.status=t,this.type=PAUSE_RECORDING}}let DevtoolsDispatcher=(()=>{class t extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(t)))(n||t)}}(),t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();function difference(t,e){return t.filter(t=>e.indexOf(t)<0)}function unliftState(t){const{computedStates:e,currentStateIndex:n}=t;if(n>=e.length){const{state:t}=e[e.length-1];return t}const{state:i}=e[n];return i}function unliftAction(t){return t.actionsById[t.nextActionId-1]}function liftAction(t){return new PerformAction(t,+Date.now())}function sanitizeActions(t,e){return Object.keys(e).reduce((n,i)=>{const s=Number(i);return n[s]=sanitizeAction(t,e[s],s),n},{})}function sanitizeAction(t,e,n){return Object.assign(Object.assign({},e),{action:t(e.action,n)})}function sanitizeStates(t,e){return e.map((e,n)=>({state:sanitizeState(t,e.state,n),error:e.error}))}function sanitizeState(t,e,n){return t(e,n)}function shouldFilterActions(t){return t.predicate||t.actionsSafelist||t.actionsBlocklist}function filterLiftedState(t,e,n,i){const s=[],r={},o=[];return t.stagedActionIds.forEach((a,l)=>{const c=t.actionsById[a];!c||l&&isActionFiltered(t.computedStates[l],c,e,n,i)||(r[a]=c,s.push(a),o.push(t.computedStates[l]))}),Object.assign(Object.assign({},t),{stagedActionIds:s,actionsById:r,computedStates:o})}function isActionFiltered(t,e,n,i,s){const r=n&&!n(t,e.action),o=i&&!e.action.type.match(i.map(t=>escapeRegExp(t)).join("|")),a=s&&e.action.type.match(s.map(t=>escapeRegExp(t)).join("|"));return r||o||a}function escapeRegExp(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Redux Devtools Extension");let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(t,e,n){this.config=e,this.dispatcher=n,this.devtoolsExtension=t,this.createActionStreams()}notify(t,e){if(this.devtoolsExtension)if(t.type===PERFORM_ACTION){if(e.isLocked||e.isPaused)return;const n=unliftState(e);if(shouldFilterActions(this.config)&&isActionFiltered(n,t,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const i=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,n,e.currentStateIndex):n,s=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,t,e.nextActionId):t;this.sendToReduxDevtools(()=>this.extensionConnection.send(s,i))}else{const t=Object.assign(Object.assign({},e),{stagedActionIds:e.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,e.actionsById):e.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,e.computedStates):e.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,t,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(t=>{const e=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=e,e.init(),e.subscribe(e=>t.next(e)),e.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const t=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),e=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(t=>t.type===ExtensionActionTypes.START)),n=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(t=>t.type===ExtensionActionTypes.STOP)),i=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(t=>t.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(t=>this.unwrapAction(t.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(t=>t.type===IMPORT_STATE?this.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(t=>t.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(()=>t),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(t)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(t))),s=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(t=>t.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(t=>this.unwrapAction(t.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(n)),r=i.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(n));this.start$=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(n)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>s)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>r))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(t){var e;const n={name:t.name,features:t.features,serialize:t.serialize,autoPause:null!==(e=t.autoPause)&&void 0!==e&&e};return!1!==t.maxAge&&(n.maxAge=t.maxAge),n}sendToReduxDevtools(t){try{t()}catch(e){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",e)}}}return DevtoolsExtension.\u0275fac=function(t){return new(t||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(t,e,n,i,s){if(i)return{state:n,error:"Interrupted by an error up the chain"};let r,o=n;try{o=t(n,e)}catch(a){r=a.toString(),s.handleError(a)}return{state:o,error:r}}function recomputeStates(t,e,n,i,s,r,o,a,l){if(e>=t.length&&t.length===r.length)return t;const c=t.slice(0,e),u=r.length-(l?1:0);for(let h=e;h<u;h++){const t=r[h],e=s[t].action,l=c[h-1],u=l?l.state:i,d=l?l.error:void 0,p=o.indexOf(t)>-1?l:computeNextEntry(n,e,u,d,a);c.push(p)}return l&&c.push(t[t.length-1]),c}function liftInitialState(t,e){return{monitorState:e(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(t,e,n,i,s={}){return r=>(o,a)=>{let{monitorState:l,actionsById:c,nextActionId:u,stagedActionIds:h,skippedActionIds:d,committedState:p,currentStateIndex:f,computedStates:m,isLocked:g,isPaused:_}=o||e;function b(t){let e=t,n=h.slice(1,e+1);for(let i=0;i<n.length;i++){if(m[i+1].error){e=i,n=h.slice(1,e+1);break}delete c[n[i]]}d=d.filter(t=>-1===n.indexOf(t)),h=[0,...h.slice(e+1)],p=m[e].state,m=m.slice(e),f=f>e?f-e:0}function y(){c={0:liftAction(INIT_ACTION)},u=1,h=[0],d=[],p=m[f].state,f=0,m=[]}o||(c=Object.create(c));let v=0;switch(a.type){case LOCK_CHANGES:g=a.status,v=1/0;break;case PAUSE_RECORDING:_=a.status,_?(h=[...h,u],c[u]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),u++,v=h.length-1,m=m.concat(m[m.length-1]),f===h.length-2&&f++,v=1/0):y();break;case RESET:c={0:liftAction(INIT_ACTION)},u=1,h=[0],d=[],p=t,f=0,m=[];break;case COMMIT:y();break;case ROLLBACK:c={0:liftAction(INIT_ACTION)},u=1,h=[0],d=[],f=0,m=[];break;case TOGGLE_ACTION:{const{id:t}=a;d=-1===d.indexOf(t)?[t,...d]:d.filter(e=>e!==t),v=h.indexOf(t);break}case SET_ACTIONS_ACTIVE:{const{start:t,end:e,active:n}=a,i=[];for(let s=t;s<e;s++)i.push(s);d=n?difference(d,i):[...d,...i],v=h.indexOf(t);break}case JUMP_TO_STATE:f=a.index,v=1/0;break;case JUMP_TO_ACTION:{const t=h.indexOf(a.actionId);-1!==t&&(f=t),v=1/0;break}case SWEEP:h=difference(h,d),d=[],f=Math.min(f,h.length-1);break;case PERFORM_ACTION:{if(g)return o||e;if(_||o&&isActionFiltered(o.computedStates[f],a,s.predicate,s.actionsSafelist,s.actionsBlocklist)){const t=m[m.length-1];m=[...m.slice(0,-1),computeNextEntry(r,a.action,t.state,t.error,n)],v=1/0;break}s.maxAge&&h.length===s.maxAge&&b(1),f===h.length-1&&f++;const t=u++;c[t]=a,h=[...h,t],v=h.length-1;break}case IMPORT_STATE:({monitorState:l,actionsById:c,nextActionId:u,stagedActionIds:h,skippedActionIds:d,committedState:p,currentStateIndex:f,computedStates:m,isLocked:g,isPaused:_}=a.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:v=0,s.maxAge&&h.length>s.maxAge&&(m=recomputeStates(m,v,r,p,c,h,d,n,_),b(h.length-s.maxAge),v=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(m.filter(t=>t.error).length>0)v=0,s.maxAge&&h.length>s.maxAge&&(m=recomputeStates(m,v,r,p,c,h,d,n,_),b(h.length-s.maxAge),v=1/0);else{if(!_&&!g){f===h.length-1&&f++;const t=u++;c[t]=new PerformAction(a,+Date.now()),h=[...h,t],v=h.length-1,m=recomputeStates(m,v,r,p,c,h,d,n,_)}m=m.map(t=>Object.assign(Object.assign({},t),{state:r(t.state,RECOMPUTE_ACTION)})),f=h.length-1,s.maxAge&&h.length>s.maxAge&&b(h.length-s.maxAge),v=1/0}break;default:v=1/0}return m=recomputeStates(m,v,r,p,c,h,d,n,_),l=i(l,a),{monitorState:l,actionsById:c,nextActionId:u,stagedActionIds:h,skippedActionIds:d,committedState:p,currentStateIndex:f,computedStates:m,isLocked:g,isPaused:_}}}let StoreDevtools=(()=>{class t{constructor(t,e,n,i,s,r,o,a){const l=liftInitialState(o,a.monitor),c=liftReducerWith(o,l,r,a.monitor,a),u=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(e.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),i.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),t,i.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.QV)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),h=n.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(c)),d=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),p=u.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(h),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:t},[e,n])=>{let s=n(t,e);return e.type!==PERFORM_ACTION&&shouldFilterActions(a)&&(s=filterLiftedState(s,a.predicate,a.actionsSafelist,a.actionsBlocklist)),i.notify(e,s),{state:s,action:e}},{state:l,action:null})).subscribe(({state:t,action:e})=>{d.next(t),e.type===PERFORM_ACTION&&s.next(e.action)}),f=i.start$.subscribe(()=>{this.refresh()}),m=d.asObservable(),g=m.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=f,this.stateSubscription=p,this.dispatcher=t,this.liftedState=m,this.state=g}dispatch(t){this.dispatcher.next(t)}next(t){this.dispatcher.next(t)}error(t){}complete(){}performAction(t){this.dispatch(new PerformAction(t,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(t){this.dispatch(new ToggleAction(t))}jumpToAction(t){this.dispatch(new JumpToAction(t))}jumpToState(t){this.dispatch(new JumpToState(t))}importState(t){this.dispatch(new ImportState(t))}lockChanges(t){this.dispatch(new LockChanges(t))}pauseRecording(t){this.dispatch(new PauseRecording(t))}}return t.\u0275fac=function(e){return new(e||t)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.qLn),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG))},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:t,factory:t.\u0275fac}),t})();const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(t,e){return Boolean(t)||e.monitor!==noMonitor}function createReduxDevtoolsExtension(){const t="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&void 0!==window[t]?window[t]:null}function createStateObservable(t){return t.state}let StoreDevtoolsModule=(()=>{class t{static instrument(e={}){return{ngModule:t,providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:e},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.FR,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.mK,useExisting:DevtoolsDispatcher}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:t}),t.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),t})()},86710:function(t,e,n){"use strict";n.d(e,{hg:function(){return Y},UO:function(){return y},qg:function(){return b},Y6:function(){return x},PB:function(){return $},mK:function(){return H},n$:function(){return G},Y$:function(){return Q},FR:function(){return X},yh:function(){return nt},CK:function(){return Rt},Aw:function(){return It},cr:function(){return Tt},wb:function(){return Z},UY:function(){return j},qC:function(){return z},PH:function(){return m},ZF:function(){return _t},Lq:function(){return Yt},P1:function(){return mt},rM:function(){return ht},on:function(){return Vt},Ky:function(){return g},Ys:function(){return st}});var i=n(37716),s=n(26215),r=n(39897),o=n(79765),a=n(57771),l=n(59746),c=n(57057),u=n(42145),h=n(92996),d=n(88002),p=n(87519);const f={};function m(t,e){if(f[t]=(f[t]||0)+1,"function"==typeof e)return _(t,(...n)=>Object.assign(Object.assign({},e(...n)),{type:t}));switch(e?e._as:"empty"){case"empty":return _(t,()=>({type:t}));case"props":return _(t,e=>Object.assign(Object.assign({},e),{type:t}));default:throw new Error("Unexpected config.")}}function g(){return{_as:"props",_p:void 0}}function _(t,e){return Object.defineProperty(e,"type",{value:t,writable:!1})}const b="@ngrx/store/init";let y=(()=>{class t extends s.X{constructor(){super({type:b})}next(t){if("function"==typeof t)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(void 0===t)throw new TypeError("Actions must be objects");if(void 0===t.type)throw new TypeError("Actions must have a type property");super.next(t)}complete(){}ngOnDestroy(){super.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const v=[y],w=new i.OlP("@ngrx/store Internal Root Guard"),C=new i.OlP("@ngrx/store Internal Initial State"),x=new i.OlP("@ngrx/store Initial State"),S=new i.OlP("@ngrx/store Reducer Factory"),E=new i.OlP("@ngrx/store Internal Reducer Factory Provider"),k=new i.OlP("@ngrx/store Initial Reducers"),A=new i.OlP("@ngrx/store Internal Initial Reducers"),D=new i.OlP("@ngrx/store Store Features"),O=new i.OlP("@ngrx/store Internal Store Reducers"),T=new i.OlP("@ngrx/store Internal Feature Reducers"),R=new i.OlP("@ngrx/store Internal Feature Configs"),I=new i.OlP("@ngrx/store Internal Store Features"),F=new i.OlP("@ngrx/store Internal Feature Reducers Token"),L=new i.OlP("@ngrx/store Feature Reducers"),P=new i.OlP("@ngrx/store User Provided Meta Reducers"),M=new i.OlP("@ngrx/store Meta Reducers"),N=new i.OlP("@ngrx/store Internal Resolved Meta Reducers"),B=new i.OlP("@ngrx/store User Runtime Checks Config"),V=new i.OlP("@ngrx/store Internal User Runtime Checks Config"),Y=new i.OlP("@ngrx/store Internal Runtime Checks"),U=new i.OlP("@ngrx/store Check if Action types are unique");function j(t,e={}){const n=Object.keys(t),i={};for(let r=0;r<n.length;r++){const e=n[r];"function"==typeof t[e]&&(i[e]=t[e])}const s=Object.keys(i);return function(t,n){t=void 0===t?e:t;let r=!1;const o={};for(let e=0;e<s.length;e++){const a=s[e],l=t[a],c=(0,i[a])(l,n);o[a]=c,r=r||c!==l}return r?o:t}}function z(...t){return function(e){if(0===t.length)return e;const n=t[t.length-1];return t.slice(0,-1).reduceRight((t,e)=>e(t),n(e))}}function q(t,e){return Array.isArray(e)&&e.length>0&&(t=z.apply(null,[...e,t])),(e,n)=>{const i=t(e);return(t,e)=>i(t=void 0===t?n:t,e)}}class G extends r.y{}class H extends y{}const Z="@ngrx/store/update-reducers";let $=(()=>{class t extends s.X{constructor(t,e,n,i){super(i(n,e)),this.dispatcher=t,this.initialState=e,this.reducers=n,this.reducerFactory=i}get currentReducers(){return this.reducers}addFeature(t){this.addFeatures([t])}addFeatures(t){const e=t.reduce((t,{reducers:e,reducerFactory:n,metaReducers:i,initialState:s,key:r})=>{const o="function"==typeof e?function(t){const e=Array.isArray(t)&&t.length>0?z(...t):t=>t;return(t,n)=>(t=e(t),(e,i)=>t(e=void 0===e?n:e,i))}(i)(e,s):q(n,i)(e,s);return t[r]=o,t},{});this.addReducers(e)}removeFeature(t){this.removeFeatures([t])}removeFeatures(t){this.removeReducers(t.map(t=>t.key))}addReducer(t,e){this.addReducers({[t]:e})}addReducers(t){this.reducers=Object.assign(Object.assign({},this.reducers),t),this.updateReducers(Object.keys(t))}removeReducer(t){this.removeReducers([t])}removeReducers(t){t.forEach(t=>{this.reducers=function(t,e){return Object.keys(t).filter(t=>t!==e).reduce((e,n)=>Object.assign(e,{[n]:t[n]}),{})}(this.reducers,t)}),this.updateReducers(t)}updateReducers(t){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Z,features:t})}ngOnDestroy(){this.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(H),i.LFG(x),i.LFG(k),i.LFG(S))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const W=[$,{provide:G,useExisting:$},{provide:H,useExisting:y}];let Q=(()=>{class t extends o.xQ{ngOnDestroy(){this.complete()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const K=[Q];class X extends r.y{}let J=(()=>{class t extends s.X{constructor(t,e,n,i){super(i);const s=t.pipe((0,l.QV)(a.N)).pipe((0,c.M)(e)).pipe((0,u.R)(tt,{state:i}));this.stateSubscription=s.subscribe(({state:t,action:e})=>{this.next(t),n.next(e)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y),i.LFG(G),i.LFG(Q),i.LFG(x))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t.INIT=b,t})();function tt(t={state:void 0},[e,n]){const{state:i}=t;return{state:n(i,e),action:e}}const et=[J,{provide:X,useExisting:J}];let nt=(()=>{class t extends r.y{constructor(t,e,n){super(),this.actionsObserver=e,this.reducerManager=n,this.source=t}select(t,...e){return st.call(null,t,...e)(this)}lift(e){const n=new t(this,this.actionsObserver,this.reducerManager);return n.operator=e,n}dispatch(t){this.actionsObserver.next(t)}next(t){this.actionsObserver.next(t)}error(t){this.actionsObserver.error(t)}complete(){this.actionsObserver.complete()}addReducer(t,e){this.reducerManager.addReducer(t,e)}removeReducer(t){this.reducerManager.removeReducer(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(X),i.LFG(y),i.LFG($))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const it=[nt];function st(t,e,...n){return function(i){let s;if("string"==typeof t){const r=[e,...n].filter(Boolean);s=i.pipe((0,h.j)(t,...r))}else{if("function"!=typeof t)throw new TypeError(`Unexpected type '${typeof t}' in select operator, expected 'string' or 'function'`);s=i.pipe((0,d.U)(n=>t(n,e)))}return s.pipe((0,p.x)())}}const rt="https://ngrx.io/guide/store/configuration/runtime-checks";function ot(t){return void 0===t}function at(t){return null===t}function lt(t){return Array.isArray(t)}function ct(t){return"object"==typeof t&&null!==t}function ut(t){return"function"==typeof t}function ht(){return false}function dt(t,e){return t===e}function pt(t,e,n){for(let i=0;i<t.length;i++)if(!n(t[i],e[i]))return!0;return!1}function ft(t,e=dt,n=dt){let i,s=null,r=null;return{memoized:function(){if(void 0!==i)return i.result;if(!s)return r=t.apply(null,arguments),s=arguments,r;if(!pt(arguments,s,e))return r;const o=t.apply(null,arguments);return s=arguments,n(r,o)?r:(r=o,o)},reset:function(){s=null,r=null},setResult:function(t){i={result:t}},clearResult:function(){i=void 0}}}function mt(...t){return function(t,e={stateFn:gt}){return function(...n){let i=n;if(Array.isArray(i[0])){const[t,...e]=i;i=[...t,...e]}const s=i.slice(0,i.length-1),r=i[i.length-1],o=s.filter(t=>t.release&&"function"==typeof t.release),a=t(function(...t){return r.apply(null,t)}),l=ft(function(t,n){return e.stateFn.apply(null,[t,s,n,a])});return Object.assign(l.memoized,{release:function(){l.reset(),a.reset(),o.forEach(t=>t.release())},projector:a.memoized,setResult:l.setResult,clearResult:l.clearResult})}}(ft)(...t)}function gt(t,e,n,i){if(void 0===n){const n=e.map(e=>e(t));return i.memoized.apply(null,n)}const s=e.map(e=>e(t,n));return i.memoized.apply(null,[...s,n])}function _t(t){return mt(e=>{const n=e[t];return(0,i.X6Q)()&&!(t in e)&&console.warn(`@ngrx/store: The feature name "${t}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${t}', ...) or StoreModule.forFeature('${t}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),n},t=>t)}function bt(t){Object.freeze(t);const e=ut(t);return Object.getOwnPropertyNames(t).forEach(n=>{if(!n.startsWith("\u0275")&&function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}(t,n)&&(!e||"caller"!==n&&"callee"!==n&&"arguments"!==n)){const e=t[n];(ct(e)||ut(e))&&!Object.isFrozen(e)&&bt(e)}}),t}function yt(t,e=[]){return(ot(t)||at(t))&&0===e.length?{path:["root"],value:t}:Object.keys(t).reduce((n,i)=>{if(n)return n;const s=t[i];return function(t){return ut(t)&&t.hasOwnProperty("\u0275cmp")}(s)?n:!(ot(s)||at(s)||function(t){return"number"==typeof t}(s)||function(t){return"boolean"==typeof t}(s)||function(t){return"string"==typeof t}(s)||lt(s))&&(function(t){if(!function(t){return ct(t)&&!lt(t)}(t))return!1;const e=Object.getPrototypeOf(t);return e===Object.prototype||null===e}(s)?yt(s,[...e,i]):{path:[...e,i],value:s})},!1)}function vt(t,e){if(!1===t)return;const n=t.path.join("."),i=new Error(`Detected unserializable ${e} at "${n}". ${rt}#strict${e}serializability`);throw i.value=t.value,i.unserializablePath=n,i}function wt(t){return(0,i.X6Q)()?Object.assign({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},t):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Ct({strictActionSerializability:t,strictStateSerializability:e}){return n=>t||e?function(t,e){return function(n,i){e.action(i)&&vt(yt(i),"action");const s=t(n,i);return e.state()&&vt(yt(s),"state"),s}}(n,{action:e=>t&&!St(e),state:()=>e}):n}function xt({strictActionImmutability:t,strictStateImmutability:e}){return n=>t||e?function(t,e){return function(n,i){const s=e.action(i)?bt(i):i,r=t(n,s);return e.state()?bt(r):r}}(n,{action:e=>t&&!St(e),state:()=>e}):n}function St(t){return t.type.startsWith("@ngrx")}function Et({strictActionWithinNgZone:t}){return e=>t?function(t,e){return function(n,s){if(e.action(s)&&!i.R0b.isInAngularZone())throw new Error(`Action '${s.type}' running outside NgZone. ${rt}#strictactionwithinngzone`);return t(n,s)}}(e,{action:e=>t&&!St(e)}):e}function kt(t){return[{provide:V,useValue:t},{provide:B,useFactory:Dt,deps:[V]},{provide:Y,deps:[B],useFactory:wt},{provide:M,multi:!0,deps:[Y],useFactory:xt},{provide:M,multi:!0,deps:[Y],useFactory:Ct},{provide:M,multi:!0,deps:[Y],useFactory:Et}]}function At(){return[{provide:U,multi:!0,deps:[Y],useFactory:Ot}]}function Dt(t){return t}function Ot(t){if(!t.strictActionTypeUniqueness)return;const e=Object.entries(f).filter(([,t])=>t>1).map(([t])=>t);if(e.length)throw new Error(`Action types are registered more than once, ${e.map(t=>`"${t}"`).join(", ")}. ${rt}#strictactiontypeuniqueness`)}let Tt=(()=>{class t{constructor(t,e,n,i,s,r){}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y),i.LFG(G),i.LFG(Q),i.LFG(nt),i.LFG(w,8),i.LFG(U,8))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),Rt=(()=>{class t{constructor(t,e,n,i,s){this.features=t,this.featureReducers=e,this.reducerManager=n;const r=t.map((t,n)=>{const i=e.shift()[n];return Object.assign(Object.assign({},t),{reducers:i,initialState:Mt(t.initialState)})});n.addFeatures(r)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(I),i.LFG(L),i.LFG($),i.LFG(Tt),i.LFG(U,8))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),It=(()=>{class t{static forRoot(t,e={}){return{ngModule:Tt,providers:[{provide:w,useFactory:Bt,deps:[[nt,new i.FiY,new i.tp0]]},{provide:C,useValue:e.initialState},{provide:x,useFactory:Mt,deps:[C]},{provide:A,useValue:t},{provide:O,useExisting:t instanceof i.OlP?t:A},{provide:k,deps:[i.zs3,A,[new i.tBr(O)]],useFactory:Ft},{provide:P,useValue:e.metaReducers?e.metaReducers:[]},{provide:N,deps:[M,P],useFactory:Nt},{provide:E,useValue:e.reducerFactory?e.reducerFactory:j},{provide:S,deps:[E,N],useFactory:q},v,W,K,et,it,kt(e.runtimeChecks),At()]}}static forFeature(t,e,n={}){return{ngModule:Rt,providers:[{provide:R,multi:!0,useValue:t instanceof Object?{}:n},{provide:D,multi:!0,useValue:{key:t instanceof Object?t.name:t,reducerFactory:n instanceof i.OlP||!n.reducerFactory?j:n.reducerFactory,metaReducers:n instanceof i.OlP||!n.metaReducers?[]:n.metaReducers,initialState:n instanceof i.OlP||!n.initialState?void 0:n.initialState}},{provide:I,deps:[i.zs3,R,D],useFactory:Lt},{provide:T,multi:!0,useValue:t instanceof Object?t.reducer:e},{provide:F,multi:!0,useExisting:e instanceof i.OlP?e:T},{provide:L,multi:!0,deps:[i.zs3,T,[new i.tBr(F)]],useFactory:Pt},At()]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function Ft(t,e){return e instanceof i.OlP?t.get(e):e}function Lt(t,e,n){return n.map((n,s)=>{if(e[s]instanceof i.OlP){const i=t.get(e[s]);return{key:n.key,reducerFactory:i.reducerFactory?i.reducerFactory:j,metaReducers:i.metaReducers?i.metaReducers:[],initialState:i.initialState}}return n})}function Pt(t,e){return e.map(e=>e instanceof i.OlP?t.get(e):e)}function Mt(t){return"function"==typeof t?t():t}function Nt(t,e){return t.concat(e)}function Bt(t){if(t)throw new TypeError("StoreModule.forRoot() called twice. Feature modules should use StoreModule.forFeature() instead.");return"guarded"}function Vt(...t){return{reducer:t.pop(),types:t.map(t=>t.type)}}function Yt(t,...e){const n=new Map;for(const i of e)for(const t of i.types){const e=n.get(t);n.set(t,e?(t,n)=>i.reducer(e(t,n),n):i.reducer)}return function(e=t,i){const s=n.get(i.type);return s?s(e,i):e}}},29790:function(t,e,n){"use strict";n.d(e,{Zw:function(){return f},aw:function(){return F},X$:function(){return I},sK:function(){return R}});var i=n(37716),s=n(25917),r=n(95639),o=n(35758),a=n(29923),l=n(41439),c=n(15257),u=n(47349),h=n(88002),d=n(94612),p=n(43190);class f{}let m=(()=>{class t extends f{getTranslation(t){return(0,s.of)({})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class g{}let _=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function b(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let n,i,s,r=typeof t;if(r==typeof e&&"object"==r){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(i in s=Object.create(null),t){if(!b(t[i],e[i]))return!1;s[i]=!0}for(i in e)if(!(i in s)&&void 0!==e[i])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(i=0;i<n;i++)if(!b(t[i],e[i]))return!1;return!0}}return!1}function y(t){return null!=t}function v(t){return t&&"object"==typeof t&&!Array.isArray(t)}function w(t,e){let n=Object.assign({},t);return v(t)&&v(e)&&Object.keys(e).forEach(i=>{v(e[i])?i in t?n[i]=w(t[i],e[i]):Object.assign(n,{[i]:e[i]}):Object.assign(n,{[i]:e[i]})}),n}class C{}let x=(()=>{class t extends C{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let n;return n="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,n}getValue(t,e){let n="string"==typeof e?e.split("."):[e];e="";do{e+=n.shift(),!y(t)||!y(t[e])||"object"!=typeof t[e]&&n.length?n.length?e+=".":t=void 0:(t=t[e],e="")}while(n.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,n)=>{let i=this.getValue(e,n);return y(i)?i:t}):t}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class S{}let E=(()=>{class t extends S{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class k{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const A=new i.OlP("USE_STORE"),D=new i.OlP("USE_DEFAULT_LANG"),O=new i.OlP("DEFAULT_LANGUAGE"),T=new i.OlP("USE_EXTEND");let R=(()=>{class t{constructor(t,e,n,s,r,o=!0,a=!1,l=!1,c){this.store=t,this.currentLoader=e,this.compiler=n,this.parser=s,this.missingTranslationHandler=r,this.useDefaultLang=o,this.isolate=a,this.extend=l,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe((0,c.q)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return(0,s.of)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe((0,c.q)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),(0,s.of)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe((0,u.d)(1),(0,c.q)(1));return this.loadingTranslations=e.pipe((0,h.U)(e=>this.compiler.compileTranslations(e,t)),(0,u.d)(1),(0,c.q)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,n=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(n||this.extend)&&this.translations[t]?w(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,n){let i;if(e instanceof Array){let i={},a=!1;for(let s of e)i[s]=this.getParsedResult(t,s,n),(0,r.b)(i[s])&&(a=!0);if(a){const t=e.map(t=>(0,r.b)(i[t])?i[t]:(0,s.of)(i[t]));return(0,o.D)(t).pipe((0,h.U)(t=>{let n={};return t.forEach((t,i)=>{n[e[i]]=t}),n}))}return i}if(t&&(i=this.parser.interpolate(this.parser.getValue(t,e),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),void 0===i){let t={key:e,translateService:this};void 0!==n&&(t.interpolateParams=n),i=this.missingTranslationHandler.handle(t)}return void 0!==i?i:e}get(t,e){if(!y(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,d.b)(n=>(n=this.getParsedResult(n,t,e),(0,r.b)(n)?n:(0,s.of)(n))));{let n=this.getParsedResult(this.translations[this.currentLang],t,e);return(0,r.b)(n)?n:(0,s.of)(n)}}getStreamOnTranslationChange(t,e){if(!y(t)||!t.length)throw new Error('Parameter "key" required');return(0,a.z)((0,l.P)(()=>this.get(t,e)),this.onTranslationChange.pipe((0,p.w)(n=>{const i=this.getParsedResult(n.translations,t,e);return"function"==typeof i.subscribe?i:(0,s.of)(i)})))}stream(t,e){if(!y(t)||!t.length)throw new Error('Parameter "key" required');return(0,a.z)((0,l.P)(()=>this.get(t,e)),this.onLangChange.pipe((0,p.w)(n=>{const i=this.getParsedResult(n.translations,t,e);return(0,r.b)(i)?i:(0,s.of)(i)})))}instant(t,e){if(!y(t)||!t.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],t,e);if((0,r.b)(n)){if(t instanceof Array){let e={};return t.forEach((n,i)=>{e[t[i]]=t[i]}),e}return t}return n}set(t,e,n=this.currentLang){this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(k),i.LFG(f),i.LFG(S),i.LFG(C),i.LFG(g),i.LFG(D),i.LFG(A),i.LFG(T),i.LFG(O))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),I=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,n){let i=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(n){let s=this.translate.getParsedResult(n,t,e);(0,r.b)(s.subscribe)?s.subscribe(i):i(s)}this.translate.get(t,e).subscribe(i)}transform(t,...e){if(!t||!t.length)return t;if(b(t,this.lastKey)&&b(e,this.lastParams))return this.value;let n;if(y(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(t)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"==typeof e[0]&&!Array.isArray(e[0])&&(n=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(R,16),i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"translate",type:t,pure:!1}),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:f,useClass:m},e.compiler||{provide:S,useClass:E},e.parser||{provide:C,useClass:x},e.missingTranslationHandler||{provide:g,useClass:_},k,{provide:A,useValue:e.isolate},{provide:D,useValue:e.useDefaultLang},{provide:T,useValue:e.extend},{provide:O,useValue:e.defaultLanguage},R]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:f,useClass:m},e.compiler||{provide:S,useClass:E},e.parser||{provide:C,useClass:x},e.missingTranslationHandler||{provide:g,useClass:_},{provide:A,useValue:e.isolate},{provide:D,useValue:e.useDefaultLang},{provide:T,useValue:e.extend},{provide:O,useValue:e.defaultLanguage},R]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},46099:function(t){function e(t){this.message=t}(e.prototype=new Error).name="InvalidCharacterError",t.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var n=String(t).replace(/=+$/,"");if(n.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,s,r=0,o=0,a="";s=n.charAt(o++);~s&&(i=r%4?64*i+s:s,r++%4)?a+=String.fromCharCode(255&i>>(-2*r&6)):0)s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(s);return a}},34400:function(t,e,n){var i=n(46099);t.exports=function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(i(t).replace(/(.)/g,function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(e)}catch(n){return i(e)}}},14934:function(t,e,n){"use strict";var i=n(34400);function s(t){this.message=t}(s.prototype=new Error).name="InvalidTokenError",t.exports=function(t,e){if("string"!=typeof t)throw new s("Invalid token specified");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(i(t.split(".")[n]))}catch(r){throw new s("Invalid token specified: "+r.message)}},t.exports.InvalidTokenError=s},69626:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(21120),s=n(61489);i.Observable.prototype.filter=s.filter},61489:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(95440);e.filter=function(t,e){return i.filter(t,e)(this)}},21120:function(t,e,n){"use strict";n.r(e),n.d(e,{ArgumentOutOfRangeError:function(){return A.W},AsyncSubject:function(){return u.c},BehaviorSubject:function(){return l.X},ConnectableObservable:function(){return s.c},EMPTY:function(){return H.E},EmptyError:function(){return D.K},GroupedObservable:function(){return r.T},NEVER:function(){return rt},Notification:function(){return C.P},NotificationKind:function(){return C.W},ObjectUnsubscribedError:function(){return O.N},Observable:function(){return i.y},ReplaySubject:function(){return c.t},Scheduler:function(){return y.b},Subject:function(){return a.xQ},Subscriber:function(){return w.L},Subscription:function(){return v.w},TimeoutError:function(){return R.W},UnsubscriptionError:function(){return T.B},VirtualAction:function(){return b},VirtualTimeScheduler:function(){return _},animationFrame:function(){return f.r},animationFrameScheduler:function(){return f.Z},asap:function(){return h.e},asapScheduler:function(){return h.E},async:function(){return d.P},asyncScheduler:function(){return d.z},bindCallback:function(){return M},bindNodeCallback:function(){return V},combineLatest:function(){return z.aj},concat:function(){return q.z},config:function(){return xt.v},defer:function(){return G.P},empty:function(){return H.c},forkJoin:function(){return Z.D},from:function(){return $.D},fromEvent:function(){return W.R},fromEventPattern:function(){return K},generate:function(){return X},identity:function(){return E.y},iif:function(){return tt},interval:function(){return nt},isObservable:function(){return k.b},merge:function(){return st.T},never:function(){return ot},noop:function(){return S.Z},observable:function(){return o.L},of:function(){return at.of},onErrorResumeNext:function(){return lt},pairs:function(){return ct},partition:function(){return ft},pipe:function(){return x.z},queue:function(){return p.c},queueScheduler:function(){return p.N},race:function(){return mt.S3},range:function(){return gt},scheduled:function(){return Ct.x},throwError:function(){return bt._},timer:function(){return yt.H},using:function(){return vt},zip:function(){return wt.$R}});var i=n(39897),s=n(52441),r=n(304),o=n(16554),a=n(79765),l=n(26215),c=n(88229),u=n(68660),h=n(64581),d=n(33637),p=n(57771),f=n(61927),m=n(36465),g=n(4548);let _=(()=>{class t extends g.v{constructor(t=b,e=Number.POSITIVE_INFINITY){super(t,()=>this.frame),this.maxFrames=e,this.frame=0,this.index=-1}flush(){const{actions:t,maxFrames:e}=this;let n,i;for(;(i=t[0])&&i.delay<=e&&(t.shift(),this.frame=i.delay,!(n=i.execute(i.state,i.delay))););if(n){for(;i=t.shift();)i.unsubscribe();throw n}}}return t.frameTimeFactor=10,t})();class b extends m.o{constructor(t,e,n=(t.index+=1)){super(t,e),this.scheduler=t,this.work=e,this.index=n,this.active=!0,this.index=t.index=n}schedule(t,e=0){if(!this.id)return super.schedule(t,e);this.active=!1;const n=new b(this.scheduler,this.work);return this.add(n),n.schedule(t,e)}requestAsyncId(t,e,n=0){this.delay=t.frame+n;const{actions:i}=t;return i.push(this),i.sort(b.sortActions),!0}recycleAsyncId(t,e,n=0){}_execute(t,e){if(!0===this.active)return super._execute(t,e)}static sortActions(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1}}var y=n(2217),v=n(10826),w=n(77393),C=n(23098),x=n(34022),S=n(98640),E=n(54487),k=n(95639),A=n(7108),D=n(13410),O=n(77971),T=n(57744),R=n(45587),I=n(88002),F=n(13179),L=n(59796),P=n(54869);function M(t,e,n){if(e){if(!(0,P.K)(e))return(...i)=>M(t,n)(...i).pipe((0,I.U)(t=>(0,L.k)(t)?e(...t):e(t)));n=e}return function(...e){const s=this;let r;const o={context:s,subject:r,callbackFunc:t,scheduler:n};return new i.y(i=>{if(n)return n.schedule(N,0,{args:e,subscriber:i,params:o});if(!r){r=new u.c;const n=(...t)=>{r.next(t.length<=1?t[0]:t),r.complete()};try{t.apply(s,[...e,n])}catch(a){(0,F._)(r)?r.error(a):console.warn(a)}}return r.subscribe(i)})}}function N(t){const{args:e,subscriber:n,params:i}=t,{callbackFunc:s,context:r,scheduler:o}=i;let{subject:a}=i;if(!a){a=i.subject=new u.c;const t=(...t)=>{this.add(o.schedule(B,0,{value:t.length<=1?t[0]:t,subject:a}))};try{s.apply(r,[...e,t])}catch(l){a.error(l)}}this.add(a.subscribe(n))}function B(t){const{value:e,subject:n}=t;n.next(e),n.complete()}function V(t,e,n){if(e){if(!(0,P.K)(e))return(...i)=>V(t,n)(...i).pipe((0,I.U)(t=>(0,L.k)(t)?e(...t):e(t)));n=e}return function(...e){const s={subject:void 0,args:e,callbackFunc:t,scheduler:n,context:this};return new i.y(i=>{const{context:r}=s;let{subject:o}=s;if(n)return n.schedule(Y,0,{params:s,subscriber:i,context:r});if(!o){o=s.subject=new u.c;const n=(...t)=>{const e=t.shift();e?o.error(e):(o.next(t.length<=1?t[0]:t),o.complete())};try{t.apply(r,[...e,n])}catch(a){(0,F._)(o)?o.error(a):console.warn(a)}}return o.subscribe(i)})}}function Y(t){const{params:e,subscriber:n,context:i}=t,{callbackFunc:s,args:r,scheduler:o}=e;let a=e.subject;if(!a){a=e.subject=new u.c;const t=(...t)=>{const e=t.shift();this.add(e?o.schedule(j,0,{err:e,subject:a}):o.schedule(U,0,{value:t.length<=1?t[0]:t,subject:a}))};try{s.apply(i,[...r,t])}catch(l){this.add(o.schedule(j,0,{err:l,subject:a}))}}this.add(a.subscribe(n))}function U(t){const{value:e,subject:n}=t;n.next(e),n.complete()}function j(t){const{err:e,subject:n}=t;n.error(e)}var z=n(9112),q=n(29923),G=n(41439),H=n(59193),Z=n(35758),$=n(69412),W=n(22759),Q=n(69105);function K(t,e,n){return n?K(t,e).pipe((0,I.U)(t=>(0,L.k)(t)?n(...t):n(t))):new i.y(n=>{const i=(...t)=>n.next(1===t.length?t[0]:t);let s;try{s=t(i)}catch(r){return void n.error(r)}if((0,Q.m)(e))return()=>e(i,s)})}function X(t,e,n,s,r){let o,a;return 1==arguments.length?(a=t.initialState,e=t.condition,n=t.iterate,o=t.resultSelector||E.y,r=t.scheduler):void 0===s||(0,P.K)(s)?(a=t,o=E.y,r=s):(a=t,o=s),new i.y(t=>{let i=a;if(r)return r.schedule(J,0,{subscriber:t,iterate:n,condition:e,resultSelector:o,state:i});for(;;){if(e){let n;try{n=e(i)}catch(s){return void t.error(s)}if(!n){t.complete();break}}let r;try{r=o(i)}catch(l){return void t.error(l)}if(t.next(r),t.closed)break;try{i=n(i)}catch(l){return void t.error(l)}}})}function J(t){const{subscriber:e,condition:n}=t;if(e.closed)return;if(t.needIterate)try{t.state=t.iterate(t.state)}catch(s){return void e.error(s)}else t.needIterate=!0;if(n){let i;try{i=n(t.state)}catch(r){return void e.error(r)}if(!i)return void e.complete();if(e.closed)return}let i;try{i=t.resultSelector(t.state)}catch(s){return void e.error(s)}return e.closed||(e.next(i),e.closed)?void 0:this.schedule(t)}function tt(t,e=H.E,n=H.E){return(0,G.P)(()=>t()?e:n)}var et=n(26561);function nt(t=0,e=d.P){return(!(0,et.k)(t)||t<0)&&(t=0),(!e||"function"!=typeof e.schedule)&&(e=d.P),new i.y(n=>(n.add(e.schedule(it,t,{subscriber:n,counter:0,period:t})),n))}function it(t){const{subscriber:e,counter:n,period:i}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}var st=n(66682);const rt=new i.y(S.Z);function ot(){return rt}var at=n(25917);function lt(...t){if(0===t.length)return H.E;const[e,...n]=t;return 1===t.length&&(0,L.k)(e)?lt(...e):new i.y(t=>{const i=()=>t.add(lt(...n).subscribe(t));return(0,$.D)(e).subscribe({next(e){t.next(e)},error:i,complete:i})})}function ct(t,e){return new i.y(e?n=>{const i=Object.keys(t),s=new v.w;return s.add(e.schedule(ut,0,{keys:i,index:0,subscriber:n,subscription:s,obj:t})),s}:e=>{const n=Object.keys(t);for(let i=0;i<n.length&&!e.closed;i++){const s=n[i];t.hasOwnProperty(s)&&e.next([s,t[s]])}e.complete()})}function ut(t){const{keys:e,index:n,subscriber:i,subscription:s,obj:r}=t;if(!i.closed)if(n<e.length){const t=e[n];i.next([t,r[t]]),s.add(this.schedule({keys:e,index:n+1,subscriber:i,subscription:s,obj:r}))}else i.complete()}var ht=n(49264),dt=n(87444),pt=n(45435);function ft(t,e,n){return[(0,pt.h)(e,n)(new i.y((0,dt.s)(t))),(0,pt.h)((0,ht.f)(e,n))(new i.y((0,dt.s)(t)))]}var mt=n(98085);function gt(t=0,e,n){return new i.y(i=>{void 0===e&&(e=t,t=0);let s=0,r=t;if(n)return n.schedule(_t,0,{index:s,count:e,start:t,subscriber:i});for(;;){if(s++>=e){i.complete();break}if(i.next(r++),i.closed)break}})}function _t(t){const{start:e,index:n,count:i,subscriber:s}=t;n>=i?s.complete():(s.next(e),!s.closed&&(t.index=n+1,t.start=e+1,this.schedule(t)))}var bt=n(40205),yt=n(46797);function vt(t,e){return new i.y(n=>{let i,s;try{i=t()}catch(o){return void n.error(o)}try{s=e(i)}catch(o){return void n.error(o)}const r=(s?(0,$.D)(s):H.E).subscribe(n);return()=>{r.unsubscribe(),i&&i.unsubscribe()}})}var wt=n(21571),Ct=n(91115),xt=n(82494)},68660:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(79765),s=n(10826);class r extends i.xQ{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(t){return this.hasError?(t.error(this.thrownError),s.w.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),s.w.EMPTY):super._subscribe(t)}next(t){this.hasCompleted||(this.value=t,this.hasNext=!0)}error(t){this.hasCompleted||super.error(t)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}},26215:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});var i=n(79765),s=n(77971);class r extends i.xQ{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.N;return this._value}next(t){super.next(this._value=t)}}},23098:function(t,e,n){"use strict";n.d(e,{W:function(){return o},P:function(){return a}});var i=n(59193),s=n(25917),r=n(40205),o=(()=>{return(t=o||(o={})).NEXT="N",t.ERROR="E",t.COMPLETE="C",o;var t})();class a{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return(0,s.of)(this.value);case"E":return(0,r._)(this.error);case"C":return(0,i.c)()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new a("N",t):a.undefinedValueNotification}static createError(t){return new a("E",void 0,t)}static createComplete(){return a.completeNotification}}a.completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0)},39897:function(t,e,n){"use strict";n.d(e,{y:function(){return u}});var i=n(13179),s=n(77393),r=n(29181),o=n(46490),a=n(16554),l=n(34022),c=n(82494);let u=(()=>{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:i}=this,a=function(t,e,n){if(t){if(t instanceof s.L)return t;if(t[r.b])return t[r.b]()}return t||e||n?new s.L(t,e,n):new s.L(o.c)}(t,e,n);if(a.add(i?i.call(a,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),(0,i._)(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=h(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(s){n(s),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[a.L](){return this}pipe(...t){return 0===t.length?this:(0,l.U)(t)(this)}toPromise(t){return new(t=h(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function h(t){if(t||(t=c.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},46490:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(82494),s=n(54449);const r={closed:!0,next(t){},error(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,s.z)(t)},complete(){}}},55197:function(t,e,n){"use strict";n.d(e,{L:function(){return s}});var i=n(77393);class s extends i.L{notifyNext(t,e,n,i,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},88229:function(t,e,n){"use strict";n.d(e,{t:function(){return c}});var i=n(79765),s=n(57771),r=n(10826),o=n(59746),a=n(77971),l=n(78858);class c extends i.xQ{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new u(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=n.length;let c;if(this.closed)throw new a.N;if(this.isStopped||this.hasError?c=r.w.EMPTY:(this.observers.push(t),c=new l.W(this,t)),i&&t.add(t=new o.ht(t,i)),e)for(let r=0;r<s&&!t.closed;r++)t.next(n[r]);else for(let r=0;r<s&&!t.closed;r++)t.next(n[r].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),c}_getNow(){return(this.scheduler||s.c).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,s=i.length;let r=0;for(;r<s&&!(t-i[r].time<n);)r++;return s>e&&(r=Math.max(r,s-e)),r>0&&i.splice(0,r),i}}class u{constructor(t,e){this.time=t,this.value=e}}},2217:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})()},79765:function(t,e,n){"use strict";n.d(e,{Yc:function(){return c},xQ:function(){return u}});var i=n(39897),s=n(77393),r=n(10826),o=n(77971),a=n(78858),l=n(29181);class c extends s.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.N;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let s=0;s<n;s++)i[s].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,i=e.slice();for(let s=0;s<n;s++)i[s].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 i=0;i<e;i++)n[i].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 i.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}}},78858:function(t,e,n){"use strict";n.d(e,{W:function(){return s}});var i=n(10826);class s extends i.w{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},77393:function(t,e,n){"use strict";n.d(e,{L:function(){return c}});var i=n(69105),s=n(46490),r=n(10826),o=n(29181),a=n(82494),l=n(54449);class c extends r.w{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.c;break;case 1:if(!t){this.destination=s.c;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[o.b](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends c{constructor(t,e,n,r){super(),this._parentSubscriber=t;let o,a=this;(0,i.m)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==s.c&&(a=Object.create(e),(0,i.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.v;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,l.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,l.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(t,e,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,l.z)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},10826:function(t,e,n){"use strict";n.d(e,{w:function(){return l}});var i,s=n(59796),r=n(81555),o=n(69105),a=n(57744);class l{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:i,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof l)e.remove(this);else if(null!==e)for(let s=0;s<e.length;++s)e[s].remove(this);if((0,o.m)(i)){n&&(this._unsubscribe=void 0);try{i.call(this)}catch(h){t=h instanceof a.B?c(h.errors):[h]}}if((0,s.k)(u)){let e=-1,n=u.length;for(;++e<n;){const n=u[e];if((0,r.K)(n))try{n.unsubscribe()}catch(d){t=t||[],d instanceof a.B?t=t.concat(c(d.errors)):t.push(d)}}}if(t)throw new a.B(t)}add(t){let e=t;if(!t)return l.EMPTY;switch(typeof t){case"function":e=new l(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof l)){const t=e;e=new l,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 l){if(n===this)return e;e._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return e;n.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[e]:i.push(e),e}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}function c(t){return t.reduce((t,e)=>t.concat(e instanceof a.B?e.errors:e),[])}l.EMPTY=((i=new l).closed=!0,i)},82494:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},85345:function(t,e,n){"use strict";n.d(e,{IY:function(){return o},Ds:function(){return a},ft:function(){return l}});var i=n(77393),s=n(39897),r=n(87444);class o extends i.L{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.L{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(!e.closed)return t instanceof s.y?t.subscribe(e):(0,r.s)(t)(e)}},52441:function(t,e,n){"use strict";n.d(e,{c:function(){return a},N:function(){return l}});var i=n(79765),s=n(39897),r=n(10826),o=n(51307);class a extends s.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new r.w,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=r.w.EMPTY)),t}refCount(){return(0,o.x)()(this)}}const l=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class c extends i.Yc{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},9112:function(t,e,n){"use strict";n.d(e,{aj:function(){return c},Ms:function(){return u}});var i=n(54869),s=n(59796),r=n(55197),o=n(20509),a=n(56693);const l={};function c(...t){let e,n;return(0,i.K)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,s.k)(t[0])&&(t=t[0]),(0,a.n)(t,n).lift(new u(e))}class u{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends r.L{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(l),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((0,o.D)(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const i=this.values,s=this.toRespond?i[n]===l?--this.toRespond:this.toRespond:0;i[n]=e,0===s&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},29923:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var i=n(25917),s=n(65766);function r(...t){return(0,s.u)()((0,i.of)(...t))}},41439:function(t,e,n){"use strict";n.d(e,{P:function(){return o}});var i=n(39897),s=n(69412),r=n(59193);function o(t){return new i.y(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,s.D)(n):(0,r.c)()).subscribe(e)})}},59193:function(t,e,n){"use strict";n.d(e,{E:function(){return s},c:function(){return r}});var i=n(39897);const s=new i.y(t=>t.complete());function r(t){return t?function(t){return new i.y(e=>t.schedule(()=>e.complete()))}(t):s}},35758:function(t,e,n){"use strict";n.d(e,{D:function(){return l}});var i=n(39897),s=n(59796),r=n(88002),o=n(81555),a=n(69412);function l(...t){if(1===t.length){const e=t[0];if((0,s.k)(e))return c(e,null);if((0,o.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,s.k)(t[0])?t[0]:t,null).pipe((0,r.U)(t=>e(...t)))}return c(t,null)}function c(t,e){return new i.y(n=>{const i=t.length;if(0===i)return void n.complete();const s=new Array(i);let r=0,o=0;for(let l=0;l<i;l++){const c=(0,a.D)(t[l]);let u=!1;n.add(c.subscribe({next:t=>{u||(u=!0,o++),s[l]=t},error:t=>n.error(t),complete:()=>{r++,(r===i||!u)&&(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}},69412:function(t,e,n){"use strict";n.d(e,{D:function(){return o}});var i=n(39897),s=n(87444),r=n(91115);function o(t,e){return e?(0,r.x)(t,e):t instanceof i.y?t:new i.y((0,s.s)(t))}},56693:function(t,e,n){"use strict";n.d(e,{n:function(){return o}});var i=n(39897),s=n(55015),r=n(94087);function o(t,e){return e?(0,r.r)(t,e):new i.y((0,s.V)(t))}},22759:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var i=n(39897),s=n(59796),r=n(69105),o=n(88002);function a(t,e,n,c){return(0,r.m)(n)&&(c=n,n=void 0),c?a(t,e,n).pipe((0,o.U)(t=>(0,s.k)(t)?c(...t):c(t))):new i.y(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,s){let r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,s),r=()=>i.removeEventListener(e,n,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),r=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),r=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let r=0,o=t.length;r<o;r++)l(t[r],e,n,i,s)}i.add(r)}},66682:function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var i=n(39897),s=n(54869),r=n(63282),o=n(56693);function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return(0,s.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 i.y?t[0]:(0,r.J)(e)((0,o.n)(t,n))}},25917:function(t,e,n){"use strict";n.d(e,{of:function(){return o}});var i=n(54869),s=n(56693),r=n(94087);function o(...t){let e=t[t.length-1];return(0,i.K)(e)?(t.pop(),(0,r.r)(t,e)):(0,s.n)(t)}},98085:function(t,e,n){"use strict";n.d(e,{S3:function(){return a}});var i=n(59796),s=n(56693),r=n(55197),o=n(20509);function a(...t){if(1===t.length){if(!(0,i.k)(t[0]))return t[0];t=t[0]}return(0,s.n)(t,void 0).lift(new l)}class l{call(t,e){return e.subscribe(new c(t))}}class c extends r.L{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n<e&&!this.hasFirst;n++){const e=(0,o.D)(this,t[n],void 0,n);this.subscriptions&&this.subscriptions.push(e),this.add(e)}this.observables=null}}notifyNext(t,e,n){if(!this.hasFirst){this.hasFirst=!0;for(let t=0;t<this.subscriptions.length;t++)if(t!==n){let e=this.subscriptions[t];e.unsubscribe(),this.remove(e)}this.subscriptions=null}this.destination.next(e)}}},40205:function(t,e,n){"use strict";n.d(e,{_:function(){return s}});var i=n(39897);function s(t,e){return new i.y(e?n=>e.schedule(r,0,{error:t,subscriber:n}):e=>e.error(t))}function r({error:t,subscriber:e}){e.error(t)}},46797:function(t,e,n){"use strict";n.d(e,{H:function(){return a}});var i=n(39897),s=n(33637),r=n(26561),o=n(54869);function a(t=0,e,n){let a=-1;return(0,r.k)(e)?a=Number(e)<1?1:Number(e):(0,o.K)(e)&&(n=e),(0,o.K)(n)||(n=s.P),new i.y(e=>{const i=(0,r.k)(t)?t:+t-n.now();return n.schedule(l,i,{index:0,period:a,subscriber:e})})}function l(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},21571:function(t,e,n){"use strict";n.d(e,{$R:function(){return l},mx:function(){return c}});var i=n(56693),s=n(59796),r=n(77393),o=n(20377),a=n(85345);function l(...t){const e=t[t.length-1];return"function"==typeof e&&t.pop(),(0,i.n)(t,void 0).lift(new c(e))}class c{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new u(t,this.resultSelector))}}class u extends r.L{constructor(t,e,n=Object.create(null)){super(t),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(t){const e=this.iterators;(0,s.k)(t)?e.push(new d(t)):e.push("function"==typeof t[o.hZ]?new h(t[o.hZ]()):new p(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let n=0;n<e;n++){let e=t[n];e.stillUnsubscribed?this.destination.add(e.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const t=this.iterators,e=t.length,n=this.destination;for(let r=0;r<e;r++){let e=t[r];if("function"==typeof e.hasValue&&!e.hasValue())return}let i=!1;const s=[];for(let r=0;r<e;r++){let e=t[r],o=e.next();if(e.hasCompleted()&&(i=!0),o.done)return void n.complete();s.push(o.value)}this.resultSelector?this._tryresultSelector(s):n.next(s),i&&n.complete()}_tryresultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}class h{constructor(t){this.iterator=t,this.nextResult=t.next()}hasValue(){return!0}next(){const t=this.nextResult;return this.nextResult=this.iterator.next(),t}hasCompleted(){const t=this.nextResult;return Boolean(t&&t.done)}}class d{constructor(t){this.array=t,this.index=0,this.length=0,this.length=t.length}[o.hZ](){return this}next(t){const e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class p extends a.Ds{constructor(t,e,n){super(t),this.parent=e,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[o.hZ](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t){this.buffer.push(t),this.parent.checkIterators()}subscribe(){return(0,a.ft)(this.observable,new a.IY(this))}}},49732:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var i=n(85345);function s(t){return function(e){return e.lift(new r(t))}}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()}}},45697:function(t,e,n){"use strict";n.d(e,{e:function(){return o}});var i=n(33637),s=n(49732),r=n(46797);function o(t,e=i.P){return(0,s.U)(()=>(0,r.H)(t,e))}},5304:function(t,e,n){"use strict";n.d(e,{K:function(){return s}});var i=n(85345);function s(t){return function(e){const n=new r(t),i=e.lift(n);return n.caught=i}}class r{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends i.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 i.IY(this);this.add(s);const r=(0,i.ft)(n,s);r!==s&&this.add(r)}}}},65766:function(t,e,n){"use strict";n.d(e,{u:function(){return s}});var i=n(63282);function s(){return(0,i.J)(1)}},94612:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(19773);function s(t,e){return(0,i.zg)(t,e,1)}},54395:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(77393),s=n(33637);function r(t,e=s.P){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends i.L{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},95242:function(t,e,n){"use strict";n.d(e,{d:function(){return s}});var i=n(77393);function s(t=null){return e=>e.lift(new r(t))}class r{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new o(t,this.defaultValue))}}class o extends i.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()}}},65792:function(t,e,n){"use strict";n.d(e,{g:function(){return a}});var i=n(33637),s=n(39989),r=n(77393),o=n(23098);function a(t,e=i.P){const n=(0,s.J)(t)?+t-e.now():Math.abs(t);return t=>t.lift(new l(n,e))}class l{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))}}class c extends r.L{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,s=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(c.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new u(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(o.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(o.P.createComplete()),this.unsubscribe()}}class u{constructor(t,e){this.time=t,this.notification=e}}},31560:function(t,e,n){"use strict";n.d(e,{D:function(){return s}});var i=n(77393);function s(){return function(t){return t.lift(new r)}}class r{call(t,e){return e.subscribe(new o(t))}}class o extends i.L{constructor(t){super(t)}_next(t){t.observe(this.destination)}}},87519:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(77393);function s(t,e){return n=>n.lift(new r(t,e))}class r{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.L{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},87479:function(t,e,n){"use strict";n.d(e,{z:function(){return o}});var i=n(88002),s=n(69412),r=n(85345);function o(t,e){return e?n=>n.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends r.Ds{constructor(t,e){super(t),this.project=e,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(t){this.hasSubscription||this.tryNext(t)}tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(e)}_innerSub(t){const e=new r.IY(this),n=this.destination;n.add(e);const i=(0,r.ft)(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}},45435:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var i=n(77393);function s(t,e){return function(n){return n.lift(new r(t,e))}}class r{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.L{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},68939:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(77393),s=n(10826);function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends i.L{constructor(t,e){super(t),this.add(new s.w(e))}}},28049:function(t,e,n){"use strict";n.d(e,{P:function(){return c}});var i=n(13410),s=n(45435),r=n(15257),o=n(95242),a=n(44635),l=n(54487);function c(t,e){const n=arguments.length>=2;return c=>c.pipe(t?(0,s.h)((e,n)=>t(e,n,c)):l.y,(0,r.q)(1),n?(0,o.d)(e):(0,a.T)(()=>new i.K))}},304:function(t,e,n){"use strict";n.d(e,{v:function(){return a},T:function(){return h}});var i=n(77393),s=n(10826),r=n(39897),o=n(79765);function a(t,e,n,i){return s=>s.lift(new l(t,e,n,i))}class l{constructor(t,e,n,i){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=i}call(t,e){return e.subscribe(new c(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class c extends i.L{constructor(t,e,n,i,s){super(t),this.keySelector=e,this.elementSelector=n,this.durationSelector=i,this.subjectSelector=s,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(t){let e;try{e=this.keySelector(t)}catch(n){return void this.error(n)}this._group(t,e)}_group(t,e){let n=this.groups;n||(n=this.groups=new Map);let i,s=n.get(e);if(this.elementSelector)try{i=this.elementSelector(t)}catch(r){this.error(r)}else i=t;if(!s){s=this.subjectSelector?this.subjectSelector():new o.xQ,n.set(e,s);const t=new h(e,s,this);if(this.destination.next(t),this.durationSelector){let t;try{t=this.durationSelector(new h(e,s))}catch(a){return void this.error(a)}this.add(t.subscribe(new u(e,s,this)))}}s.closed||s.next(i)}_error(t){const e=this.groups;e&&(e.forEach((e,n)=>{e.error(t)}),e.clear()),this.destination.error(t)}_complete(){const t=this.groups;t&&(t.forEach((t,e)=>{t.complete()}),t.clear()),this.destination.complete()}removeGroup(t){this.groups.delete(t)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class u extends i.L{constructor(t,e,n){super(e),this.key=t,this.group=e,this.parent=n}_next(t){this.complete()}_unsubscribe(){const{parent:t,key:e}=this;this.key=this.parent=null,t&&t.removeGroup(e)}}class h extends r.y{constructor(t,e,n){super(),this.key=t,this.groupSubject=e,this.refCountSubscription=n}_subscribe(t){const e=new s.w,{refCountSubscription:n,groupSubject:i}=this;return n&&!n.closed&&e.add(new d(n)),e.add(i.subscribe(t)),e}}class d extends s.w{constructor(t){super(),this.parent=t,t.count++}unsubscribe(){const t=this.parent;!t.closed&&!this.closed&&(super.unsubscribe(),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())}}},15829:function(t,e,n){"use strict";n.d(e,{l:function(){return s}});var i=n(77393);function s(){return function(t){return t.lift(new r)}}class r{call(t,e){return e.subscribe(new o(t))}}class o extends i.L{_next(t){}}},12627:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(13410),s=n(45435),r=n(548),o=n(44635),a=n(95242),l=n(54487);function c(t,e){const n=arguments.length>=2;return c=>c.pipe(t?(0,s.h)((e,n)=>t(e,n,c)):l.y,(0,r.h)(1),n?(0,a.d)(e):(0,o.T)(()=>new i.K))}},88002:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var i=n(77393);function s(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.L{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},96736:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var i=n(77393);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.value=t}call(t,e){return e.subscribe(new o(t,this.value))}}class o extends i.L{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}},25037:function(t,e,n){"use strict";n.d(e,{i:function(){return r}});var i=n(77393),s=n(23098);function r(){return function(t){return t.lift(new o)}}class o{call(t,e){return e.subscribe(new a(t))}}class a extends i.L{constructor(t){super(t)}_next(t){this.destination.next(s.P.createNext(t))}_error(t){const e=this.destination;e.next(s.P.createError(t)),e.complete()}_complete(){const t=this.destination;t.next(s.P.createComplete()),t.complete()}}},63282:function(t,e,n){"use strict";n.d(e,{J:function(){return r}});var i=n(19773),s=n(54487);function r(t=Number.POSITIVE_INFINITY){return(0,i.zg)(s.y,t)}},19773:function(t,e,n){"use strict";n.d(e,{zg:function(){return o},VS:function(){return c}});var i=n(88002),s=n(69412),r=n(85345);function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends r.Ds{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.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(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}_innerSub(t){const e=new r.IY(this),n=this.destination;n.add(e);const i=(0,r.ft)(t,e);i!==e&&n.add(i)}_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()}}const c=o},94458:function(t,e,n){"use strict";n.d(e,{O:function(){return s}});var i=n(52441);function s(t,e){return function(n){let s;if(s="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new r(s,e));const o=Object.create(n,i.N);return o.source=n,o.subjectFactory=s,o}}class r{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:n}=this,i=this.subjectFactory(),s=n(i).subscribe(t);return s.add(e.subscribe(i)),s}}},59746:function(t,e,n){"use strict";n.d(e,{QV:function(){return r},ht:function(){return a}});var i=n(77393),s=n(23098);function r(t,e=0){return function(n){return n.lift(new o(t,e))}}class o{constructor(t,e=0){this.scheduler=t,this.delay=e}call(t,e){return e.subscribe(new a(t,this.scheduler,this.delay))}}class a extends i.L{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(a.dispatch,this.delay,new l(t,this.destination)))}_next(t){this.scheduleMessage(s.P.createNext(t))}_error(t){this.scheduleMessage(s.P.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(s.P.createComplete()),this.unsubscribe()}}class l{constructor(t,e){this.notification=t,this.destination=e}}},59328:function(t,e,n){"use strict";n.d(e,{G:function(){return s}});var i=n(77393);function s(){return t=>t.lift(new r)}class r{call(t,e){return e.subscribe(new o(t))}}class o extends i.L{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}},92996:function(t,e,n){"use strict";n.d(e,{j:function(){return s}});var i=n(88002);function s(...t){const e=t.length;if(0===e)throw new Error("list of properties cannot be empty.");return n=>(0,i.U)(function(t,e){return n=>{let i=n;for(let s=0;s<e;s++){const e=null!=i?i[t[s]]:void 0;if(void 0===e)return;i=e}return i}}(t,e))(n)}},51307:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(77393);function s(){return function(t){return t.lift(new r(t))}}class r{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new o(t,n),s=e.subscribe(i);return i.closed||(i.connection=n.connect()),s}}class o extends i.L{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,i&&(!n||i===n)&&i.unsubscribe()}}},42145:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var i=n(77393);function s(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new r(t,e,n))}}class r{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new o(t,this.accumulator,this.seed,this.hasSeed))}}class o extends i.L{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}},78345:function(t,e,n){"use strict";n.d(e,{B:function(){return a}});var i=n(94458),s=n(51307),r=n(79765);function o(){return new r.xQ}function a(){return t=>(0,s.x)()((0,i.O)(o)(t))}},47349:function(t,e,n){"use strict";n.d(e,{d:function(){return s}});var i=n(88229);function s(t,e,n){let s;return s=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:s}){let r,o,a=0,l=!1,c=!1;return function(u){let h;a++,!r||l?(l=!1,r=new i.t(t,e,s),h=r.subscribe(this),o=u.subscribe({next(t){r.next(t)},error(t){l=!0,r.error(t)},complete(){c=!0,o=void 0,r.complete()}})):h=r.subscribe(this),this.add(()=>{a--,h.unsubscribe(),o&&!c&&n&&0===a&&(o.unsubscribe(),o=void 0,r=void 0)})}}(s))}},13653:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var i=n(77393);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.total=t}call(t,e){return e.subscribe(new o(t,this.total))}}class o extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},39761:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var i=n(29923),s=n(54869);function r(...t){const e=t[t.length-1];return(0,s.K)(e)?(t.pop(),n=>(0,i.z)(t,n,e)):e=>(0,i.z)(t,e)}},43190:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var i=n(88002),s=n(69412),r=n(85345);function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>(0,s.D)(t(n,r)).pipe((0,i.U)((t,i)=>e(n,t,r,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends r.Ds{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,r.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},15257:function(t,e,n){"use strict";n.d(e,{q:function(){return o}});var i=n(77393),s=n(7108),r=n(59193);function o(t){return e=>0===t?(0,r.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},548:function(t,e,n){"use strict";n.d(e,{h:function(){return o}});var i=n(77393),s=n(7108),r=n(59193);function o(t){return function(e){return 0===t?(0,r.c)():e.lift(new a(t))}}class a{constructor(t){if(this.total=t,this.total<0)throw new s.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let s=0;s<n;s++){const s=e++%n;t.next(i[s])}}t.complete()}}},46782:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var i=n(85345);function s(t){return e=>e.lift(new r(t))}class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),s=(0,i.ft)(this.notifier,new i.IY(n));return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class o extends i.Ds{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},70409:function(t,e,n){"use strict";n.d(e,{o:function(){return s}});var i=n(77393);function s(t,e=!1){return n=>n.lift(new r(t,e))}class r{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.inclusive))}}class o extends i.L{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}},68307:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(77393),s=n(98640),r=n(69105);function o(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.L{constructor(t,e,n,i){super(t),this._tapNext=s.Z,this._tapError=s.Z,this._tapComplete=s.Z,this._tapError=n||s.Z,this._tapComplete=i||s.Z,(0,r.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s.Z,this._tapError=e.error||s.Z,this._tapComplete=e.complete||s.Z)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},44635:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var i=n(13410),s=n(77393);function r(t=l){return e=>e.lift(new o(t))}class o{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends s.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 l(){return new i.K}},60134:function(t,e,n){"use strict";n.d(e,{V:function(){return a}});var i=n(33637),s=n(45587),r=n(9401),o=n(40205);function a(t,e=i.P){return(0,r.L)(t,(0,o._)(new s.W),e)}},9401:function(t,e,n){"use strict";n.d(e,{L:function(){return o}});var i=n(33637),s=n(39989),r=n(85345);function o(t,e,n=i.P){return i=>{let r=(0,s.J)(t),o=r?+t-n.now():Math.abs(t);return i.lift(new a(o,r,e,n))}}class a{constructor(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=i}call(t,e){return e.subscribe(new l(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class l extends r.Ds{constructor(t,e,n,i,s){super(t),this.absoluteTimeout=e,this.waitFor=n,this.withObservable=i,this.scheduler=s,this.scheduleTimeout()}static dispatchTimeout(t){const{withObservable:e}=t;t._unsubscribeAndRecycle(),t.add((0,r.ft)(e,new r.IY(t)))}scheduleTimeout(){const{action:t}=this;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(l.dispatchTimeout,this.waitFor,this))}_next(t){this.absoluteTimeout||this.scheduleTimeout(),super._next(t)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}},57057:function(t,e,n){"use strict";n.d(e,{M:function(){return r}});var i=n(55197),s=n(20509);function r(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new o(t,n))}}class o{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new a(t,this.observables,this.project))}}class a extends i.L{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const i=e.length;this.values=new Array(i);for(let s=0;s<i;s++)this.toRespond.push(s);for(let r=0;r<i;r++)this.add((0,s.D)(this,e[r],void 0,r))}notifyNext(t,e,n){this.values[n]=e;const i=this.toRespond;if(i.length>0){const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},94087:function(t,e,n){"use strict";n.d(e,{r:function(){return r}});var i=n(39897),s=n(10826);function r(t,e){return new i.y(n=>{const i=new s.w;let r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},91115:function(t,e,n){"use strict";n.d(e,{x:function(){return u}});var i=n(39897),s=n(10826),r=n(16554),o=n(94087),a=n(20377),l=n(44072),c=n(69489);function u(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[r.L]}(t))return function(t,e){return new i.y(n=>{const i=new s.w;return i.add(e.schedule(()=>{const s=t[r.L]();i.add(s.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if((0,l.t)(t))return function(t,e){return new i.y(n=>{const i=new s.w;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if((0,c.z)(t))return(0,o.r)(t,e);if(function(t){return t&&"function"==typeof t[a.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(n=>{const i=new s.w;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[a.hZ](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}},36465:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});var i=n(10826);class s extends i.w{constructor(t,e){super()}schedule(t,e=0){return this}}class r extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},4548:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});var i=n(2217);class s extends i.b{constructor(t,e=i.b.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},61927:function(t,e,n){"use strict";n.d(e,{r:function(){return o},Z:function(){return r}});var i=n(36465),s=n(4548);const r=new class extends s.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<s&&(t=e.shift()));if(this.active=!1,n){for(;++i<s&&(t=e.shift());)t.unsubscribe();throw n}}}(class extends i.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)}}),o=r},64581:function(t,e,n){"use strict";n.d(e,{e:function(){return h},E:function(){return u}});let i=1;const s=Promise.resolve(),r={};function o(t){return t in r&&(delete r[t],!0)}const a={setImmediate(t){const e=i++;return r[e]=!0,s.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var l=n(36465),c=n(4548);const u=new class extends c.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,s=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<s&&(t=e.shift()));if(this.active=!1,n){for(;++i<s&&(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)}}),h=u},33637:function(t,e,n){"use strict";n.d(e,{z:function(){return s},P:function(){return r}});var i=n(36465);const s=new(n(4548).v)(i.o),r=s},57771:function(t,e,n){"use strict";n.d(e,{c:function(){return o},N:function(){return r}});var i=n(36465),s=n(4548);const r=new class extends s.v{}(class extends i.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)}}),o=r},20377:function(t,e,n){"use strict";n.d(e,{hZ:function(){return i}});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},16554:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});const i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},13410:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},77971:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},45587:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t})()},57744:function(t,e,n){"use strict";n.d(e,{B:function(){return i}});const i=(()=>{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})()},13179:function(t,e,n){"use strict";n.d(e,{_:function(){return s}});var i=n(77393);function s(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof i.L?n:null}return!0}},54449:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,{z:function(){return i}})},54487:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},59796:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});const i=Array.isArray||(t=>t&&"number"==typeof t.length)},69489:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},39989:function(t,e,n){"use strict";function i(t){return t instanceof Date&&!isNaN(+t)}n.d(e,{J:function(){return i}})},69105:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},26561:function(t,e,n){"use strict";n.d(e,{k:function(){return s}});var i=n(59796);function s(t){return!(0,i.k)(t)&&t-parseFloat(t)+1>=0}},81555:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},95639:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(39897);function s(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},44072:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},54869:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},98640:function(t,e,n){"use strict";function i(){}n.d(e,{Z:function(){return i}})},49264:function(t,e,n){"use strict";function i(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}n.d(e,{f:function(){return i}})},34022:function(t,e,n){"use strict";n.d(e,{z:function(){return s},U:function(){return r}});var i=n(54487);function s(...t){return r(t)}function r(t){return 0===t.length?i.y:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},87444:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var i=n(55015),s=n(54449),r=n(20377),o=n(16554),a=n(69489),l=n(44072),c=n(81555);const u=t=>{if(t&&"function"==typeof t[o.L])return(t=>e=>{const n=t[o.L]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if((0,a.z)(t))return(0,i.V)(t);if((0,l.t)(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,s.z),e))(t);if(t&&"function"==typeof t[r.hZ])return(t=>e=>{const n=t[r.hZ]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const e=`You provided ${(0,c.K)(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}}},55015:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});const i=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}},20509:function(t,e,n){"use strict";n.d(e,{D:function(){return a}});var i=n(77393);class s extends i.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 r=n(87444),o=n(39897);function a(t,e,n,i,a=new s(t,n,i)){if(!a.closed)return e instanceof o.y?e.subscribe(a):(0,r.s)(e)(a)}},95440:function(t,e,n){"use strict";n.r(e),n.d(e,{audit:function(){return i.U},auditTime:function(){return s.e},buffer:function(){return o},bufferCount:function(){return u},bufferTime:function(){return g},bufferToggle:function(){return k},bufferWhen:function(){return O},catchError:function(){return I.K},combineAll:function(){return L},combineLatest:function(){return N},concat:function(){return V},concatAll:function(){return Y.u},concatMap:function(){return U.b},concatMapTo:function(){return j},count:function(){return z},debounce:function(){return H},debounceTime:function(){return W.b},defaultIfEmpty:function(){return Q.d},delay:function(){return K.g},delayWhen:function(){return J},dematerialize:function(){return st.D},distinct:function(){return rt},distinctUntilChanged:function(){return lt.x},distinctUntilKeyChanged:function(){return ct},elementAt:function(){return ft},endWith:function(){return gt},every:function(){return _t},exhaust:function(){return vt},exhaustMap:function(){return xt.z},expand:function(){return St},filter:function(){return ht.h},finalize:function(){return At.x},find:function(){return Dt},findIndex:function(){return Rt},first:function(){return It.P},flatMap:function(){return Qt.VS},groupBy:function(){return Ft.v},ignoreElements:function(){return Lt.l},isEmpty:function(){return Pt},last:function(){return Bt.Z},map:function(){return Vt.U},mapTo:function(){return Yt.h},materialize:function(){return Ut.i},max:function(){return Ht},merge:function(){return $t},mergeAll:function(){return Wt.J},mergeMap:function(){return Qt.zg},mergeMapTo:function(){return Kt},mergeScan:function(){return Xt},min:function(){return ee},multicast:function(){return ne.O},observeOn:function(){return ie.QV},onErrorResumeNext:function(){return se},pairwise:function(){return ae.G},partition:function(){return ce},pluck:function(){return ue.j},publish:function(){return de},publishBehavior:function(){return fe},publishLast:function(){return ge},publishReplay:function(){return be},race:function(){return ve},reduce:function(){return Gt},refCount:function(){return Le.x},repeat:function(){return Ce},repeatWhen:function(){return Ee},retry:function(){return De},retryWhen:function(){return Re},sample:function(){return Pe},sampleTime:function(){return Be},scan:function(){return jt.R},sequenceEqual:function(){return je},share:function(){return He.B},shareReplay:function(){return Ze.d},single:function(){return We},skip:function(){return Xe.T},skipLast:function(){return Je},skipUntil:function(){return nn},skipWhile:function(){return on},startWith:function(){return cn.O},subscribeOn:function(){return pn},switchAll:function(){return _n},switchMap:function(){return mn.w},switchMapTo:function(){return bn},take:function(){return pt.q},takeLast:function(){return zt.h},takeUntil:function(){return yn.R},takeWhile:function(){return vn.o},tap:function(){return wn.b},throttle:function(){return xn},throttleTime:function(){return kn},throwIfEmpty:function(){return dt.T},timeInterval:function(){return Rn},timeout:function(){return Fn.V},timeoutWith:function(){return Ln.L},timestamp:function(){return Pn},toArray:function(){return Bn},window:function(){return Vn},windowCount:function(){return jn},windowTime:function(){return Gn},windowToggle:function(){return Xn},windowWhen:function(){return ei},withLatestFrom:function(){return si.M},zip:function(){return oi},zipAll:function(){return ai}});var i=n(49732),s=n(45697),r=n(85345);function o(t){return function(e){return e.lift(new a(t))}}class a{constructor(t){this.closingNotifier=t}call(t,e){return e.subscribe(new l(t,this.closingNotifier))}}class l extends r.Ds{constructor(t,e){super(t),this.buffer=[],this.add((0,r.ft)(e,new r.IY(this)))}_next(t){this.buffer.push(t)}notifyNext(){const t=this.buffer;this.buffer=[],this.destination.next(t)}}var c=n(77393);function u(t,e=null){return function(n){return n.lift(new h(t,e))}}class h{constructor(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?p:d}call(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))}}class d extends c.L{constructor(t,e){super(t),this.bufferSize=e,this.buffer=[]}_next(t){const e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])}_complete(){const t=this.buffer;t.length>0&&this.destination.next(t),super._complete()}}class p extends c.L{constructor(t,e,n){super(t),this.bufferSize=e,this.startBufferEvery=n,this.buffers=[],this.count=0}_next(t){const{bufferSize:e,startBufferEvery:n,buffers:i,count:s}=this;this.count++,s%n==0&&i.push([]);for(let r=i.length;r--;){const n=i[r];n.push(t),n.length===e&&(i.splice(r,1),this.destination.next(n))}}_complete(){const{buffers:t,destination:e}=this;for(;t.length>0;){let n=t.shift();n.length>0&&e.next(n)}super._complete()}}var f=n(33637),m=n(54869);function g(t){let e=arguments.length,n=f.P;(0,m.K)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);let i=null;e>=2&&(i=arguments[1]);let s=Number.POSITIVE_INFINITY;return e>=3&&(s=arguments[2]),function(e){return e.lift(new _(t,i,s,n))}}class _{constructor(t,e,n,i){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=i}call(t,e){return e.subscribe(new y(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class b{constructor(){this.buffer=[]}}class y extends c.L{constructor(t,e,n,i,s){super(t),this.bufferTimeSpan=e,this.bufferCreationInterval=n,this.maxBufferSize=i,this.scheduler=s,this.contexts=[];const r=this.openContext();if(this.timespanOnly=null==n||n<0,this.timespanOnly)this.add(r.closeAction=s.schedule(v,e,{subscriber:this,context:r,bufferTimeSpan:e}));else{const t={bufferTimeSpan:e,bufferCreationInterval:n,subscriber:this,scheduler:s};this.add(r.closeAction=s.schedule(C,e,{subscriber:this,context:r})),this.add(s.schedule(w,n,t))}}_next(t){const e=this.contexts,n=e.length;let i;for(let s=0;s<n;s++){const n=e[s],r=n.buffer;r.push(t),r.length==this.maxBufferSize&&(i=n)}i&&this.onBufferFull(i)}_error(t){this.contexts.length=0,super._error(t)}_complete(){const{contexts:t,destination:e}=this;for(;t.length>0;){const n=t.shift();e.next(n.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(t){this.closeContext(t);const e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();const e=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(v,e,{subscriber:this,context:t,bufferTimeSpan:e}))}}openContext(){const t=new b;return this.contexts.push(t),t}closeContext(t){this.destination.next(t.buffer);const e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)}}function v(t){const e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function w(t){const{bufferCreationInterval:e,bufferTimeSpan:n,subscriber:i,scheduler:s}=t,r=i.openContext();i.closed||(i.add(r.closeAction=s.schedule(C,n,{subscriber:i,context:r})),this.schedule(t,e))}function C(t){const{subscriber:e,context:n}=t;e.closeContext(n)}var x=n(10826),S=n(20509),E=n(55197);function k(t,e){return function(n){return n.lift(new A(t,e))}}class A{constructor(t,e){this.openings=t,this.closingSelector=e}call(t,e){return e.subscribe(new D(t,this.openings,this.closingSelector))}}class D extends E.L{constructor(t,e,n){super(t),this.closingSelector=n,this.contexts=[],this.add((0,S.D)(this,e))}_next(t){const e=this.contexts,n=e.length;for(let i=0;i<n;i++)e[i].buffer.push(t)}_error(t){const e=this.contexts;for(;e.length>0;){const t=e.shift();t.subscription.unsubscribe(),t.buffer=null,t.subscription=null}this.contexts=null,super._error(t)}_complete(){const t=this.contexts;for(;t.length>0;){const e=t.shift();this.destination.next(e.buffer),e.subscription.unsubscribe(),e.buffer=null,e.subscription=null}this.contexts=null,super._complete()}notifyNext(t,e){t?this.closeBuffer(t):this.openBuffer(e)}notifyComplete(t){this.closeBuffer(t.context)}openBuffer(t){try{const e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(e){this._error(e)}}closeBuffer(t){const e=this.contexts;if(e&&t){const{buffer:n,subscription:i}=t;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(i),i.unsubscribe()}}trySubscribe(t){const e=this.contexts,n=new x.w,i={buffer:[],subscription:n};e.push(i);const s=(0,S.D)(this,t,i);!s||s.closed?this.closeBuffer(i):(s.context=i,this.add(s),n.add(s))}}function O(t){return function(e){return e.lift(new T(t))}}class T{constructor(t){this.closingSelector=t}call(t,e){return e.subscribe(new R(t,this.closingSelector))}}class R extends r.Ds{constructor(t,e){super(t),this.closingSelector=e,this.subscribing=!1,this.openBuffer()}_next(t){this.buffer.push(t)}_complete(){const t=this.buffer;t&&this.destination.next(t),super._complete()}_unsubscribe(){this.buffer=void 0,this.subscribing=!1}notifyNext(){this.openBuffer()}notifyComplete(){this.subscribing?this.complete():this.openBuffer()}openBuffer(){let t,{closingSubscription:e}=this;e&&(this.remove(e),e.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{const{closingSelector:e}=this;t=e()}catch(n){return this.error(n)}e=new x.w,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add((0,r.ft)(t,new r.IY(this))),this.subscribing=!1}}var I=n(5304),F=n(9112);function L(t){return e=>e.lift(new F.Ms(t))}var P=n(59796),M=n(69412);function N(...t){let e=null;return"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,P.k)(t[0])&&(t=t[0].slice()),n=>n.lift.call((0,M.D)([n,...t]),new F.Ms(e))}var B=n(29923);function V(...t){return e=>e.lift.call((0,B.z)(e,...t))}var Y=n(65766),U=n(94612);function j(t,e){return(0,U.b)(()=>t,e)}function z(t){return e=>e.lift(new q(t,e))}class q{constructor(t,e){this.predicate=t,this.source=e}call(t,e){return e.subscribe(new G(t,this.predicate,this.source))}}class G extends c.L{constructor(t,e,n){super(t),this.predicate=e,this.source=n,this.count=0,this.index=0}_next(t){this.predicate?this._tryPredicate(t):this.count++}_tryPredicate(t){let e;try{e=this.predicate(t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e&&this.count++}_complete(){this.destination.next(this.count),this.destination.complete()}}function H(t){return e=>e.lift(new Z(t))}class Z{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new $(t,this.durationSelector))}}class $ extends r.Ds{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){try{const e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(e){this.destination.error(e)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(t,e){let n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=(0,r.ft)(e,new r.IY(this)),n&&!n.closed&&this.add(this.durationSubscription=n)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const t=this.value,e=this.durationSubscription;e&&(this.durationSubscription=void 0,e.unsubscribe(),this.remove(e)),this.value=void 0,this.hasValue=!1,super._next(t)}}}var W=n(54395),Q=n(95242),K=n(65792),X=n(39897);function J(t,e){return e?n=>new nt(n,e).lift(new tt(t)):e=>e.lift(new tt(t))}class tt{constructor(t){this.delayDurationSelector=t}call(t,e){return e.subscribe(new et(t,this.delayDurationSelector))}}class et extends E.L{constructor(t,e){super(t),this.delayDurationSelector=e,this.completed=!1,this.delayNotifierSubscriptions=[],this.index=0}notifyNext(t,e,n,i,s){this.destination.next(t),this.removeSubscription(s),this.tryComplete()}notifyError(t,e){this._error(t)}notifyComplete(t){const e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()}_next(t){const e=this.index++;try{const n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(n){this.destination.error(n)}}_complete(){this.completed=!0,this.tryComplete(),this.unsubscribe()}removeSubscription(t){t.unsubscribe();const e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue}tryDelay(t,e){const n=(0,S.D)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))}tryComplete(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}class nt extends X.y{constructor(t,e){super(),this.source=t,this.subscriptionDelay=e}_subscribe(t){this.subscriptionDelay.subscribe(new it(t,this.source))}}class it extends c.L{constructor(t,e){super(),this.parent=t,this.source=e,this.sourceSubscribed=!1}_next(t){this.subscribeToSource()}_error(t){this.unsubscribe(),this.parent.error(t)}_complete(){this.unsubscribe(),this.subscribeToSource()}subscribeToSource(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}var st=n(31560);function rt(t,e){return n=>n.lift(new ot(t,e))}class ot{constructor(t,e){this.keySelector=t,this.flushes=e}call(t,e){return e.subscribe(new at(t,this.keySelector,this.flushes))}}class at extends r.Ds{constructor(t,e,n){super(t),this.keySelector=e,this.values=new Set,n&&this.add((0,r.ft)(n,new r.IY(this)))}notifyNext(){this.values.clear()}notifyError(t){this._error(t)}_next(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)}_useKeySelector(t){let e;const{destination:n}=this;try{e=this.keySelector(t)}catch(i){return void n.error(i)}this._finalizeNext(e,t)}_finalizeNext(t,e){const{values:n}=this;n.has(t)||(n.add(t),this.destination.next(e))}}var lt=n(87519);function ct(t,e){return(0,lt.x)((n,i)=>e?e(n[t],i[t]):n[t]===i[t])}var ut=n(7108),ht=n(45435),dt=n(44635),pt=n(15257);function ft(t,e){if(t<0)throw new ut.W;const n=arguments.length>=2;return i=>i.pipe((0,ht.h)((e,n)=>n===t),(0,pt.q)(1),n?(0,Q.d)(e):(0,dt.T)(()=>new ut.W))}var mt=n(25917);function gt(...t){return e=>(0,B.z)(e,(0,mt.of)(...t))}function _t(t,e){return n=>n.lift(new bt(t,e,n))}class bt{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new yt(t,this.predicate,this.thisArg,this.source))}}class yt extends c.L{constructor(t,e,n,i){super(t),this.predicate=e,this.thisArg=n,this.source=i,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function vt(){return t=>t.lift(new wt)}class wt{call(t,e){return e.subscribe(new Ct(t))}}class Ct extends r.Ds{constructor(t){super(t),this.hasCompleted=!1,this.hasSubscription=!1}_next(t){this.hasSubscription||(this.hasSubscription=!0,this.add((0,r.ft)(t,new r.IY(this))))}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}var xt=n(87479);function St(t,e=Number.POSITIVE_INFINITY,n){return e=(e||0)<1?Number.POSITIVE_INFINITY:e,i=>i.lift(new Et(t,e,n))}class Et{constructor(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}call(t,e){return e.subscribe(new kt(t,this.project,this.concurrent,this.scheduler))}}class kt extends r.Ds{constructor(t,e,n,i){super(t),this.project=e,this.concurrent=n,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,n<Number.POSITIVE_INFINITY&&(this.buffer=[])}static dispatch(t){const{subscriber:e,result:n,value:i,index:s}=t;e.subscribeToProjection(n,i,s)}_next(t){const e=this.destination;if(e.closed)return void this._complete();const n=this.index++;if(this.active<this.concurrent){e.next(t);try{const{project:e}=this,i=e(t,n);this.scheduler?this.destination.add(this.scheduler.schedule(kt.dispatch,0,{subscriber:this,result:i,value:t,index:n})):this.subscribeToProjection(i,t,n)}catch(i){e.error(i)}}else this.buffer.push(t)}subscribeToProjection(t,e,n){this.active++,this.destination.add((0,r.ft)(t,new r.IY(this)))}_complete(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this._next(t)}notifyComplete(){const t=this.buffer;this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}var At=n(68939);function Dt(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return n=>n.lift(new Ot(t,n,!1,e))}class Ot{constructor(t,e,n,i){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=i}call(t,e){return e.subscribe(new Tt(t,this.predicate,this.source,this.yieldIndex,this.thisArg))}}class Tt extends c.L{constructor(t,e,n,i,s){super(t),this.predicate=e,this.source=n,this.yieldIndex=i,this.thisArg=s,this.index=0}notifyComplete(t){const e=this.destination;e.next(t),e.complete(),this.unsubscribe()}_next(t){const{predicate:e,thisArg:n}=this,i=this.index++;try{e.call(n||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(s){this.destination.error(s)}}_complete(){this.notifyComplete(this.yieldIndex?-1:void 0)}}function Rt(t,e){return n=>n.lift(new Ot(t,n,!0,e))}var It=n(28049),Ft=n(304),Lt=n(15829);function Pt(){return t=>t.lift(new Mt)}class Mt{call(t,e){return e.subscribe(new Nt(t))}}class Nt extends c.L{constructor(t){super(t)}notifyComplete(t){const e=this.destination;e.next(t),e.complete()}_next(t){this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var Bt=n(12627),Vt=n(88002),Yt=n(96736),Ut=n(25037),jt=n(42145),zt=n(548),qt=n(34022);function Gt(t,e){return arguments.length>=2?function(n){return(0,qt.z)((0,jt.R)(t,e),(0,zt.h)(1),(0,Q.d)(e))(n)}:function(e){return(0,qt.z)((0,jt.R)((e,n,i)=>t(e,n,i+1)),(0,zt.h)(1))(e)}}function Ht(t){return Gt("function"==typeof t?(e,n)=>t(e,n)>0?e:n:(t,e)=>t>e?t:e)}var Zt=n(66682);function $t(...t){return e=>e.lift.call((0,Zt.T)(e,...t))}var Wt=n(63282),Qt=n(19773);function Kt(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?(0,Qt.zg)(()=>t,e,n):("number"==typeof e&&(n=e),(0,Qt.zg)(()=>t,n))}function Xt(t,e,n=Number.POSITIVE_INFINITY){return i=>i.lift(new Jt(t,e,n))}class Jt{constructor(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}call(t,e){return e.subscribe(new te(t,this.accumulator,this.seed,this.concurrent))}}class te extends r.Ds{constructor(t,e,n,i){super(t),this.accumulator=e,this.acc=n,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){if(this.active<this.concurrent){const n=this.index++,i=this.destination;let s;try{const{accumulator:e}=this;s=e(this.acc,t,n)}catch(e){return i.error(e)}this.active++,this._innerSub(s)}else this.buffer.push(t)}_innerSub(t){const e=new r.IY(this),n=this.destination;n.add(e);const i=(0,r.ft)(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()}notifyNext(t){const{destination:e}=this;this.acc=t,this.hasValue=!0,e.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}function ee(t){return Gt("function"==typeof t?(e,n)=>t(e,n)<0?e:n:(t,e)=>t<e?t:e)}var ne=n(94458),ie=n(59746);function se(...t){return 1===t.length&&(0,P.k)(t[0])&&(t=t[0]),e=>e.lift(new re(t))}class re{constructor(t){this.nextSources=t}call(t,e){return e.subscribe(new oe(t,this.nextSources))}}class oe extends r.Ds{constructor(t,e){super(t),this.destination=t,this.nextSources=e}notifyError(){this.subscribeToNextSource()}notifyComplete(){this.subscribeToNextSource()}_error(t){this.subscribeToNextSource(),this.unsubscribe()}_complete(){this.subscribeToNextSource(),this.unsubscribe()}subscribeToNextSource(){const t=this.nextSources.shift();if(t){const e=new r.IY(this),n=this.destination;n.add(e);const i=(0,r.ft)(t,e);i!==e&&n.add(i)}else this.destination.complete()}}var ae=n(59328),le=n(49264);function ce(t,e){return n=>[(0,ht.h)(t,e)(n),(0,ht.h)((0,le.f)(t,e))(n)]}var ue=n(92996),he=n(79765);function de(t){return t?(0,ne.O)(()=>new he.xQ,t):(0,ne.O)(new he.xQ)}var pe=n(26215);function fe(t){return e=>(0,ne.O)(new pe.X(t))(e)}var me=n(68660);function ge(){return t=>(0,ne.O)(new me.c)(t)}var _e=n(88229);function be(t,e,n,i){n&&"function"!=typeof n&&(i=n);const s="function"==typeof n?n:void 0,r=new _e.t(t,e,i);return t=>(0,ne.O)(()=>r,s)(t)}var ye=n(98085);function ve(...t){return function(e){return 1===t.length&&(0,P.k)(t[0])&&(t=t[0]),e.lift.call((0,ye.S3)(e,...t))}}var we=n(59193);function Ce(t=-1){return e=>0===t?(0,we.c)():e.lift(new xe(t<0?-1:t-1,e))}class xe{constructor(t,e){this.count=t,this.source=e}call(t,e){return e.subscribe(new Se(t,this.count,this.source))}}class Se extends c.L{constructor(t,e,n){super(t),this.count=e,this.source=n}complete(){if(!this.isStopped){const{source:t,count:e}=this;if(0===e)return super.complete();e>-1&&(this.count=e-1),t.subscribe(this._unsubscribeAndRecycle())}}}function Ee(t){return e=>e.lift(new ke(t))}class ke{constructor(t){this.notifier=t}call(t,e){return e.subscribe(new Ae(t,this.notifier,e))}}class Ae extends r.Ds{constructor(t,e,n){super(t),this.notifier=e,this.source=n,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:t,retriesSubscription:e}=this;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:t}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=t,this}subscribeToRetries(){let t;this.notifications=new he.xQ;try{const{notifier:e}=this;t=e(this.notifications)}catch(e){return super.complete()}this.retries=t,this.retriesSubscription=(0,r.ft)(t,new r.IY(this))}}function De(t=-1){return e=>e.lift(new Oe(t,e))}class Oe{constructor(t,e){this.count=t,this.source=e}call(t,e){return e.subscribe(new Te(t,this.count,this.source))}}class Te extends c.L{constructor(t,e,n){super(t),this.count=e,this.source=n}error(t){if(!this.isStopped){const{source:e,count:n}=this;if(0===n)return super.error(t);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}}}function Re(t){return e=>e.lift(new Ie(t,e))}class Ie{constructor(t,e){this.notifier=t,this.source=e}call(t,e){return e.subscribe(new Fe(t,this.notifier,this.source))}}class Fe extends r.Ds{constructor(t,e,n){super(t),this.notifier=e,this.source=n}error(t){if(!this.isStopped){let n=this.errors,i=this.retries,s=this.retriesSubscription;if(i)this.errors=void 0,this.retriesSubscription=void 0;else{n=new he.xQ;try{const{notifier:t}=this;i=t(n)}catch(e){return super.error(e)}s=(0,r.ft)(i,new r.IY(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=s,n.next(t)}}_unsubscribe(){const{errors:t,retriesSubscription:e}=this;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:t}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)}}var Le=n(51307);function Pe(t){return e=>e.lift(new Me(t))}class Me{constructor(t){this.notifier=t}call(t,e){const n=new Ne(t),i=e.subscribe(n);return i.add((0,r.ft)(this.notifier,new r.IY(n))),i}}class Ne extends r.Ds{constructor(){super(...arguments),this.hasValue=!1}_next(t){this.value=t,this.hasValue=!0}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}function Be(t,e=f.P){return n=>n.lift(new Ve(t,e))}class Ve{constructor(t,e){this.period=t,this.scheduler=e}call(t,e){return e.subscribe(new Ye(t,this.period,this.scheduler))}}class Ye extends c.L{constructor(t,e,n){super(t),this.period=e,this.scheduler=n,this.hasValue=!1,this.add(n.schedule(Ue,e,{subscriber:this,period:e}))}_next(t){this.lastValue=t,this.hasValue=!0}notifyNext(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}function Ue(t){let{subscriber:e,period:n}=t;e.notifyNext(),this.schedule(t,n)}function je(t,e){return n=>n.lift(new ze(t,e))}class ze{constructor(t,e){this.compareTo=t,this.comparator=e}call(t,e){return e.subscribe(new qe(t,this.compareTo,this.comparator))}}class qe extends c.L{constructor(t,e,n){super(t),this.compareTo=e,this.comparator=n,this._a=[],this._b=[],this._oneComplete=!1,this.destination.add(e.subscribe(new Ge(t,this)))}_next(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())}_complete(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}checkValues(){const{_a:t,_b:e,comparator:n}=this;for(;t.length>0&&e.length>0;){let s=t.shift(),r=e.shift(),o=!1;try{o=n?n(s,r):s===r}catch(i){this.destination.error(i)}o||this.emit(!1)}}emit(t){const{destination:e}=this;e.next(t),e.complete()}nextB(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())}completeB(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}class Ge extends c.L{constructor(t,e){super(t),this.parent=e}_next(t){this.parent.nextB(t)}_error(t){this.parent.error(t),this.unsubscribe()}_complete(){this.parent.completeB(),this.unsubscribe()}}var He=n(78345),Ze=n(47349),$e=n(13410);function We(t){return e=>e.lift(new Qe(t,e))}class Qe{constructor(t,e){this.predicate=t,this.source=e}call(t,e){return e.subscribe(new Ke(t,this.predicate,this.source))}}class Ke extends c.L{constructor(t,e,n){super(t),this.predicate=e,this.source=n,this.seenValue=!1,this.index=0}applySingleValue(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)}_next(t){const e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)}tryNext(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(n){this.destination.error(n)}}_complete(){const t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new $e.K)}}var Xe=n(13653);function Je(t){return e=>e.lift(new tn(t))}class tn{constructor(t){if(this._skipCount=t,this._skipCount<0)throw new ut.W}call(t,e){return e.subscribe(0===this._skipCount?new c.L(t):new en(t,this._skipCount))}}class en extends c.L{constructor(t,e){super(t),this._skipCount=e,this._count=0,this._ring=new Array(e)}_next(t){const e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{const i=n%e,s=this._ring,r=s[i];s[i]=t,this.destination.next(r)}}}function nn(t){return e=>e.lift(new sn(t))}class sn{constructor(t){this.notifier=t}call(t,e){return e.subscribe(new rn(t,this.notifier))}}class rn extends r.Ds{constructor(t,e){super(t),this.hasValue=!1;const n=new r.IY(this);this.add(n),this.innerSubscription=n;const i=(0,r.ft)(e,n);i!==n&&(this.add(i),this.innerSubscription=i)}_next(t){this.hasValue&&super._next(t)}notifyNext(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}notifyComplete(){}}function on(t){return e=>e.lift(new an(t))}class an{constructor(t){this.predicate=t}call(t,e){return e.subscribe(new ln(t,this.predicate))}}class ln extends c.L{constructor(t,e){super(t),this.predicate=e,this.skipping=!0,this.index=0}_next(t){const e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)}tryCallPredicate(t){try{const e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(e){this.destination.error(e)}}}var cn=n(39761),un=n(64581),hn=n(26561);class dn extends X.y{constructor(t,e=0,n=un.e){super(),this.source=t,this.delayTime=e,this.scheduler=n,(!(0,hn.k)(e)||e<0)&&(this.delayTime=0),(!n||"function"!=typeof n.schedule)&&(this.scheduler=un.e)}static create(t,e=0,n=un.e){return new dn(t,e,n)}static dispatch(t){const{source:e,subscriber:n}=t;return this.add(e.subscribe(n))}_subscribe(t){return this.scheduler.schedule(dn.dispatch,this.delayTime,{source:this.source,subscriber:t})}}function pn(t,e=0){return function(n){return n.lift(new fn(t,e))}}class fn{constructor(t,e){this.scheduler=t,this.delay=e}call(t,e){return new dn(e,this.delay,this.scheduler).subscribe(t)}}var mn=n(43190),gn=n(54487);function _n(){return(0,mn.w)(gn.y)}function bn(t,e){return e?(0,mn.w)(()=>t,e):(0,mn.w)(()=>t)}var yn=n(46782),vn=n(70409),wn=n(68307);const Cn={leading:!0,trailing:!1};function xn(t,e=Cn){return n=>n.lift(new Sn(t,!!e.leading,!!e.trailing))}class Sn{constructor(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}call(t,e){return e.subscribe(new En(t,this.durationSelector,this.leading,this.trailing))}}class En extends r.Ds{constructor(t,e,n,i){super(t),this.destination=t,this.durationSelector=e,this._leading=n,this._trailing=i,this._hasValue=!1}_next(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))}send(){const{_hasValue:t,_sendValue:e}=this;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=void 0}throttle(t){const e=this.tryDurationSelector(t);e&&this.add(this._throttled=(0,r.ft)(e,new r.IY(this)))}tryDurationSelector(t){try{return this.durationSelector(t)}catch(e){return this.destination.error(e),null}}throttlingDone(){const{_throttled:t,_trailing:e}=this;t&&t.unsubscribe(),this._throttled=void 0,e&&this.send()}notifyNext(){this.throttlingDone()}notifyComplete(){this.throttlingDone()}}function kn(t,e=f.P,n=Cn){return i=>i.lift(new An(t,e,n.leading,n.trailing))}class An{constructor(t,e,n,i){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=i}call(t,e){return e.subscribe(new Dn(t,this.duration,this.scheduler,this.leading,this.trailing))}}class Dn extends c.L{constructor(t,e,n,i,s){super(t),this.duration=e,this.scheduler=n,this.leading=i,this.trailing=s,this._hasTrailingValue=!1,this._trailingValue=null}_next(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(On,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}function On(t){const{subscriber:e}=t;e.clearThrottle()}var Tn=n(41439);function Rn(t=f.P){return e=>(0,Tn.P)(()=>e.pipe((0,jt.R)(({current:e},n)=>({value:n,current:t.now(),last:e}),{current:t.now(),value:void 0,last:void 0}),(0,Vt.U)(({current:t,last:e,value:n})=>new In(n,t-e))))}class In{constructor(t,e){this.value=t,this.interval=e}}var Fn=n(60134),Ln=n(9401);function Pn(t=f.P){return(0,Vt.U)(e=>new Mn(e,t.now()))}class Mn{constructor(t,e){this.value=t,this.timestamp=e}}function Nn(t,e,n){return 0===n?[e]:(t.push(e),t)}function Bn(){return Gt(Nn,[])}function Vn(t){return function(e){return e.lift(new Yn(t))}}class Yn{constructor(t){this.windowBoundaries=t}call(t,e){const n=new Un(t),i=e.subscribe(n);return i.closed||n.add((0,r.ft)(this.windowBoundaries,new r.IY(n))),i}}class Un extends r.Ds{constructor(t){super(t),this.window=new he.xQ,t.next(this.window)}notifyNext(){this.openWindow()}notifyError(t){this._error(t)}notifyComplete(){this._complete()}_next(t){this.window.next(t)}_error(t){this.window.error(t),this.destination.error(t)}_complete(){this.window.complete(),this.destination.complete()}_unsubscribe(){this.window=null}openWindow(){const t=this.window;t&&t.complete();const e=this.destination,n=this.window=new he.xQ;e.next(n)}}function jn(t,e=0){return function(n){return n.lift(new zn(t,e))}}class zn{constructor(t,e){this.windowSize=t,this.startWindowEvery=e}call(t,e){return e.subscribe(new qn(t,this.windowSize,this.startWindowEvery))}}class qn extends c.L{constructor(t,e,n){super(t),this.destination=t,this.windowSize=e,this.startWindowEvery=n,this.windows=[new he.xQ],this.count=0,t.next(this.windows[0])}_next(t){const e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,s=this.windows,r=s.length;for(let a=0;a<r&&!this.closed;a++)s[a].next(t);const o=this.count-i+1;if(o>=0&&o%e==0&&!this.closed&&s.shift().complete(),++this.count%e==0&&!this.closed){const t=new he.xQ;s.push(t),n.next(t)}}_error(t){const e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)}_complete(){const t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()}_unsubscribe(){this.count=0,this.windows=null}}function Gn(t){let e=f.P,n=null,i=Number.POSITIVE_INFINITY;return(0,m.K)(arguments[3])&&(e=arguments[3]),(0,m.K)(arguments[2])?e=arguments[2]:(0,hn.k)(arguments[2])&&(i=Number(arguments[2])),(0,m.K)(arguments[1])?e=arguments[1]:(0,hn.k)(arguments[1])&&(n=Number(arguments[1])),function(s){return s.lift(new Hn(t,n,i,e))}}class Hn{constructor(t,e,n,i){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=i}call(t,e){return e.subscribe(new $n(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}class Zn extends he.xQ{constructor(){super(...arguments),this._numberOfNextedValues=0}next(t){this._numberOfNextedValues++,super.next(t)}get numberOfNextedValues(){return this._numberOfNextedValues}}class $n extends c.L{constructor(t,e,n,i,s){super(t),this.destination=t,this.windowTimeSpan=e,this.windowCreationInterval=n,this.maxWindowSize=i,this.scheduler=s,this.windows=[];const r=this.openWindow();if(null!==n&&n>=0){const t={windowTimeSpan:e,windowCreationInterval:n,subscriber:this,scheduler:s};this.add(s.schedule(Kn,e,{subscriber:this,window:r,context:null})),this.add(s.schedule(Qn,n,t))}else this.add(s.schedule(Wn,e,{subscriber:this,window:r,windowTimeSpan:e}))}_next(t){const e=this.windows,n=e.length;for(let i=0;i<n;i++){const n=e[i];n.closed||(n.next(t),n.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(n))}}_error(t){const e=this.windows;for(;e.length>0;)e.shift().error(t);this.destination.error(t)}_complete(){const t=this.windows;for(;t.length>0;){const e=t.shift();e.closed||e.complete()}this.destination.complete()}openWindow(){const t=new Zn;return this.windows.push(t),this.destination.next(t),t}closeWindow(t){t.complete();const e=this.windows;e.splice(e.indexOf(t),1)}}function Wn(t){const{subscriber:e,windowTimeSpan:n,window:i}=t;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,n)}function Qn(t){const{windowTimeSpan:e,subscriber:n,scheduler:i,windowCreationInterval:s}=t,r=n.openWindow();let o={action:this,subscription:null};o.subscription=i.schedule(Kn,e,{subscriber:n,window:r,context:o}),this.add(o.subscription),this.schedule(t,s)}function Kn(t){const{subscriber:e,window:n,context:i}=t;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}function Xn(t,e){return n=>n.lift(new Jn(t,e))}class Jn{constructor(t,e){this.openings=t,this.closingSelector=e}call(t,e){return e.subscribe(new ti(t,this.openings,this.closingSelector))}}class ti extends E.L{constructor(t,e,n){super(t),this.openings=e,this.closingSelector=n,this.contexts=[],this.add(this.openSubscription=(0,S.D)(this,e,e))}_next(t){const{contexts:e}=this;if(e){const n=e.length;for(let i=0;i<n;i++)e[i].window.next(t)}}_error(t){const{contexts:e}=this;if(this.contexts=null,e){const n=e.length;let i=-1;for(;++i<n;){const n=e[i];n.window.error(t),n.subscription.unsubscribe()}}super._error(t)}_complete(){const{contexts:t}=this;if(this.contexts=null,t){const e=t.length;let n=-1;for(;++n<e;){const e=t[n];e.window.complete(),e.subscription.unsubscribe()}}super._complete()}_unsubscribe(){const{contexts:t}=this;if(this.contexts=null,t){const e=t.length;let n=-1;for(;++n<e;){const e=t[n];e.window.unsubscribe(),e.subscription.unsubscribe()}}}notifyNext(t,e,n,i,s){if(t===this.openings){let t;try{const{closingSelector:n}=this;t=n(e)}catch(r){return this.error(r)}const n=new he.xQ,i=new x.w,s={window:n,subscription:i};this.contexts.push(s);const o=(0,S.D)(this,t,s);o.closed?this.closeWindow(this.contexts.length-1):(o.context=s,i.add(o)),this.destination.next(n)}else this.closeWindow(this.contexts.indexOf(t))}notifyError(t){this.error(t)}notifyComplete(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))}closeWindow(t){if(-1===t)return;const{contexts:e}=this,n=e[t],{window:i,subscription:s}=n;e.splice(t,1),i.complete(),s.unsubscribe()}}function ei(t){return function(e){return e.lift(new ni(t))}}class ni{constructor(t){this.closingSelector=t}call(t,e){return e.subscribe(new ii(t,this.closingSelector))}}class ii extends E.L{constructor(t,e){super(t),this.destination=t,this.closingSelector=e,this.openWindow()}notifyNext(t,e,n,i,s){this.openWindow(s)}notifyError(t){this._error(t)}notifyComplete(t){this.openWindow(t)}_next(t){this.window.next(t)}_error(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()}_complete(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()}unsubscribeClosingNotification(){this.closingNotification&&this.closingNotification.unsubscribe()}openWindow(t=null){t&&(this.remove(t),t.unsubscribe());const e=this.window;e&&e.complete();const n=this.window=new he.xQ;let i;this.destination.next(n);try{const{closingSelector:t}=this;i=t()}catch(s){return this.destination.error(s),void this.window.error(s)}this.add(this.closingNotification=(0,S.D)(this,i))}}var si=n(57057),ri=n(21571);function oi(...t){return function(e){return e.lift.call((0,ri.$R)(e,...t))}}function ai(t){return e=>e.lift(new ri.mx(t))}},37125:function(t,e,n){"use strict";n(69626)},2603:function(t,e,n){"use strict";n.d(e,{u:function(){return i},K:function(){return s}});var i={};n.r(i),n.d(i,{actionLogin:function(){return o},actionLogout:function(){return l},actionSettings:function(){return a}});var s={};n.r(s),n.d(s,{actionLogin:function(){return c},actionLogout:function(){return u}});var r=n(86710);const o=(0,r.PH)("[Login Page] Login Action",(0,r.Ky)()),a=(0,r.PH)("[Login Page] Settings Action",(0,r.Ky)()),l=(0,r.PH)("[Side Menu] Logout Action"),c=(0,r.PH)("[Login Page] Login Action",(0,r.Ky)()),u=(0,r.PH)("[Side Menu] Logout Action")},4919:function(t,e,n){"use strict";n.d(e,{XG:function(){return o},sB:function(){return l},Zb:function(){return c},NS:function(){return u},Al:function(){return h},sk:function(){return d},iG:function(){return p},d5:function(){return f},Gw:function(){return m}});var i=n(86710),s=n(14934),r=n(37771);const o=(0,i.P1)(t=>t.authentication,t=>t.user),a=(0,i.P1)(o,t=>null==t?void 0:t.access_token),l=(0,i.P1)(a,t=>!!t),c=(0,i.P1)(a,t=>{var e;if(t)return null===(e=s(t))||void 0===e?void 0:e.sub}),u=(0,i.P1)(o,t=>{if(t)return(null==t?void 0:t.first_name)+" "+(null==t?void 0:t.last_name)}),h=(0,i.P1)(a,t=>{var e;if(t)return null===(e=s(t))||void 0===e?void 0:e.scopes}),d=(0,i.P1)(a,t=>{var e;if(t){const n=[r.x.LANDLORD,r.x.TENANT],i=null===(e=s(t))||void 0===e?void 0:e.scopes;return!n.some(t=>i.includes(t))}}),p=(0,i.P1)(a,t=>{var e;if(t)return(null===(e=s(t))||void 0===e?void 0:e.scopes).includes("am-landlord")}),f=(0,i.P1)(a,t=>{var e;if(t)return(null===(e=s(t))||void 0===e?void 0:e.scopes).includes("am-tenant")}),m=((0,i.P1)(o,t=>{if(t)return null==t?void 0:t.g_settings}),(0,i.P1)(o,t=>{var e;if(t)return null===(e=null==t?void 0:t.g_settings)||void 0===e?void 0:e.company_name}))},75973:function(t,e,n){"use strict";n.d(e,{$:function(){return u}});var i=n(88002),s=n(65),r=n(86710),o=n(4919),a=n(37716),l=n(91841),c=n(39895);let u=(()=>{class t extends s.b{constructor(t,e,n){super(t,""),this.http=t,this.router=e,this.store=n,this.storageKey="xbe3295963d1091720c8513f78f83c216332190ff714a5239c8b49190443be288"}login(t,e){return this.http.post(`${super.getApiUrl()}/login`,{email:t,password:e}).pipe((0,i.U)(t=>(t.scope=t.access_token.scopes,t)))}logout(){return this.http.post(`${super.getApiUrl()}/logout`,{}).pipe((0,i.U)(t=>{}))}isAdmin(){return this.store.pipe((0,r.Ys)(o.sk))}isTenant(){return this.store.pipe((0,r.Ys)(o.d5))}isLandlord(){this.store.pipe((0,r.Ys)(o.iG)).subscribe(t=>!!t)}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(l.eN),a.LFG(c.F0),a.LFG(r.yh))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},41137:function(t,e,n){"use strict";n.d(e,{t:function(){return s}});var i=n(37716);let s=(()=>{class t{constructor(){t.routeAnimationType="NONE"}static isRouteAnimationsType(e){return t.routeAnimationType===e}updateRouteAnimationType(e,n){t.routeAnimationType=e&&n?"ALL":e?"PAGE":n?"ELEMENTS":"NONE"}}return t.routeAnimationType="NONE",t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},1015:function(t,e,n){"use strict";n.d(e,{rd:function(){return r}});var i=n(17238),s=n(41137);const r="route-animations-elements",o=[(0,i.IO)(":enter > *",(0,i.oB)({opacity:0,position:"fixed"}),{optional:!0}),(0,i.IO)(":enter ."+r,(0,i.oB)({opacity:0}),{optional:!0}),(0,i.vP)([(0,i.IO)(":leave > *",[(0,i.oB)({transform:"translateY(0%)",opacity:1}),(0,i.jt)("0.2s ease-in-out",(0,i.oB)({transform:"translateY(-3%)",opacity:0})),(0,i.oB)({position:"fixed"})],{optional:!0}),(0,i.IO)(":enter > *",[(0,i.oB)({transform:"translateY(-3%)",opacity:0,position:"static"}),(0,i.jt)("0.5s ease-in-out",(0,i.oB)({transform:"translateY(0%)",opacity:1}))],{optional:!0})]),(0,i.IO)(":enter ."+r,(0,i.EY)(75,[(0,i.oB)({transform:"translateY(10%)",opacity:0}),(0,i.jt)("0.5s ease-in-out",(0,i.oB)({transform:"translateY(0%)",opacity:1}))]),{optional:!0})],a=[o[0],o[2]],l=[o[1],o[3]];(0,i.X$)("routeAnimations",[(0,i.eR)(function(){return s.t.isRouteAnimationsType("ALL")},o),(0,i.eR)(function(){return s.t.isRouteAnimationsType("NONE")},[]),(0,i.eR)(function(){return s.t.isRouteAnimationsType("PAGE")},a),(0,i.eR)(function(){return s.t.isRouteAnimationsType("ELEMENTS")},l)])},54283:function(t,e,n){"use strict";n.d(e,{e:function(){return s},b:function(){return r}});var i=n(86710);const s=(0,i.PH)("[Auth] Login"),r=(0,i.PH)("[Auth] Logout")},50753:function(t,e,n){"use strict";n.d(e,{pu:function(){return d},ll:function(){return h},_9:function(){return p},_f:function(){return f}});var i=n(86710),s=n(39667),r=n(92340),o=n(97316),a=n(54283);const l=(0,i.Lq)({isAuthenticated:!1},(0,i.on)(a.e,t=>({...t,isAuthenticated:!0})),(0,i.on)(a.b,t=>({...t,isAuthenticated:!1})));var c=n(40005);const u=(0,i.Lq)({language:"en",theme:"GREEN-THEME",autoNightMode:!1,nightTheme:"BLACK-THEME",stickyHeader:!0,pageAnimations:!0,pageAnimationsDisabled:!1,elementsAnimations:!0,hour:0},(0,i.on)(c.tH,c.qA,c.E3,c.ZV,c.oI,c.TO,c.g6,(t,e)=>({...t,...e})),(0,i.on)(c.XU,(t,{pageAnimationsDisabled:e})=>({...t,pageAnimationsDisabled:e,pageAnimations:!1}))),h={auth:function(t,e){return l(t,e)},settings:function(t,e){return u(t,e)},router:s.mg},d=[function(t){return function(e,n){const s=t(e,n);return[i.qg.toString(),i.wb.toString()].includes(n.type)?{...s,...o.n.loadInitialState()}:s}}];r.N.production||r.N.test||d.unshift(function(t){return function(e,n){return t(e,n)}});const p=(0,i.ZF)("auth"),f=(0,i.ZF)("settings");(0,i.ZF)("router")},97316:function(t,e,n){"use strict";n.d(e,{n:function(){return r}});var i=n(37716);const s="signal-";let r=(()=>{class t{constructor(){}static loadInitialState(){return Object.keys(localStorage).reduce((t,e)=>{if(e.includes(s)){const n=e.replace(s,"").toLowerCase().split(".").map(t=>t.split("-").map((t,e)=>0===e?t:t.charAt(0).toUpperCase()+t.slice(1)).join(""));let i=t;n.forEach((t,s)=>{s!==n.length-1?(i[t]=i[t]||{},i=i[t]):i[t]=JSON.parse(localStorage.getItem(e))})}return t},{})}setItem(t,e){localStorage.setItem(`${s}${t}`,JSON.stringify(e))}getItem(t){return JSON.parse(localStorage.getItem(`${s}${t}`))}removeItem(t){localStorage.removeItem(`${s}${t}`)}testLocalStorage(){const t="testValue",e="testKey";let n;if(this.setItem(e,t),n=this.getItem(e),this.removeItem(e),n!==t)throw new Error("localStorage did not return expected value")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},40005:function(t,e,n){"use strict";n.d(e,{tH:function(){return s},qA:function(){return r},E3:function(){return o},ZV:function(){return a},oI:function(){return l},XU:function(){return c},TO:function(){return u},g6:function(){return h}});var i=n(86710);const s=(0,i.PH)("[Settings] Change Language",(0,i.Ky)()),r=(0,i.PH)("[Settings] Change Theme",(0,i.Ky)()),o=(0,i.PH)("[Settings] Change Auto Night Mode",(0,i.Ky)()),a=(0,i.PH)("[Settings] Change Sticky Header",(0,i.Ky)()),l=(0,i.PH)("[Settings] Change Animations Page",(0,i.Ky)()),c=(0,i.PH)("[Settings] Change Animations Page Disabled",(0,i.Ky)()),u=(0,i.PH)("[Settings] Change Animations Elements",(0,i.Ky)()),h=(0,i.PH)("[Settings] Change Hours",(0,i.Ky)())},8606:function(t,e,n){"use strict";n.d(e,{vi:function(){return r},gV:function(){return o},_e:function(){return l},an:function(){return c},$v:function(){return f}});var i=n(86710),s=n(50753);const r=(0,i.P1)(s._f,t=>t),o=((0,i.P1)(r,t=>t.stickyHeader),(0,i.P1)(r,t=>t.language)),a=(0,i.P1)(r,t=>t.theme),l=(0,i.P1)(r,t=>t.pageAnimations),c=(0,i.P1)(r,t=>t.elementsAnimations),u=(0,i.P1)(r,t=>t.autoNightMode),h=(0,i.P1)(r,t=>t.nightTheme),d=(0,i.P1)(r,t=>t.hour),p=(0,i.P1)(u,d,(t,e)=>t&&(e>=21||e<=7)),f=(0,i.P1)(a,h,p,(t,e,n)=>(n?e:t).toLowerCase())},19333:function(t,e,n){"use strict";n.d(e,{f:function(){return c}});var i=n(65),s=n(86710),r=n(4919),o=n(37771),a=n(37716),l=n(91841);let c=(()=>{class t extends i.b{constructor(t,e){super(t,"users"),this.store=e,this.localHttpClient=t}getActiveUser(){let t=!1;this.store.pipe((0,s.Ys)(r.iG)).subscribe(e=>t=e);let e=!1;this.store.pipe((0,s.Ys)(r.d5)).subscribe(t=>e=t);let n,i=!1;this.store.pipe((0,s.Ys)(r.sk)).subscribe(t=>i=t),i?n=o.x.ADMIN:t?n=o.x.LANDLORD:e&&(n=o.x.TENANT);let a="";return this.store.pipe((0,s.Ys)(r.Zb)).subscribe(t=>a=t),{userType:n,userID:a}}forgotPassword(t){return this.localHttpClient.post(`${super.getApiUrl()}/forgot_password`,t)}resetPassword(t){return this.localHttpClient.post(`${super.getApiUrl()}/reset_password`,t)}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(l.eN),a.LFG(s.yh))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},65:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(91841),s=n(92340);const r=Object({dev:"/2021/sigrental/api/public/api/v1",prod:"backend/api/v1"});class o{constructor(t,e){this.httpClient=t,this.endpoint=e,this.protocol="https://",this.version=s.N.production?r.prod:r.dev;const n=new URL(window.location.href);this.apiUrl=this.protocol+n.hostname+this.version;const i=n.href,o=i.substring(0,i.indexOf("#"));this.apiUrl="https:"===n.protocol?"https://"+n.hostname+this.version:"http://"+n.hostname+this.version,s.N.production&&(this.apiUrl=o+this.version),this.resourceUrl=this.apiUrl+"/"+this.endpoint}getApiUrl(){return this.apiUrl}getResourceUrl(){return this.resourceUrl}getItemUrl(t){return`${this.resourceUrl}/${t}`}getUrl(t){return null!==t?`${this.resourceUrl}/${t}`:this.resourceUrl}list(t){return this.httpClient.get(this.getResourceUrl(),{params:(new i.LE).set("list",t)})}getAll(t,e,n,s="",r="",o="",a=""){return this.httpClient.get(this.getResourceUrl(),{params:(new i.LE).set("filter",t).set("page",e.toString()).set("limit",n.toString()).set("sortField",s).set("sortDirection",r).set("whereField",o).set("whereValue",a)})}getNested(t,e,n,s,r="",o="",a="",l=""){return this.httpClient.get(t,{params:(new i.LE).set("filter",e).set("page",n.toString()).set("limit",s.toString()).set("sortField",r).set("sortDirection",o).set("whereField",a).set("whereValue",l)})}fetchBranches(t=0,e=4,n="",s=""){return this.httpClient.get(this.getResourceUrl(),{params:(new i.LE).set("filter","").set("page",t.toString()).set("limit",e.toString()).set("sortField",n).set("sortDirection",s)})}getById(t){return this.httpClient.get(this.getItemUrl(t))}getNestedById(t){return this.httpClient.get(t)}create(t){return this.httpClient.post(this.getResourceUrl(),t)}update(t){return this.httpClient.put(this.getItemUrl(t.id),t)}delete(t){return this.httpClient.delete(this.getItemUrl(t.id))}nestedLeasesUrl(t){return`${this.getResourceUrl()}/${t}/leases`}nestedLeaseUrl(t,e){return`${this.getResourceUrl()}/${t}/leases/${e}`}nestedTenantsUrl(t){return`${this.getResourceUrl()}/${t}/tenants`}nestedTenantUrl(t,e){return`${this.getResourceUrl()}/${t}/tenants/${e}`}nestedInvoicesUrl(t){return`${this.getResourceUrl()}/${t}/invoices`}nestedInvoiceUrl(t,e){return`${this.getResourceUrl()}/${t}/invoices/${e}`}nestedNoticesUrl(t){return`${this.getResourceUrl()}/${t}/notices`}nestedNoticeUrl(t,e){return`${this.getResourceUrl()}/${t}/notices/${e}`}nestedPaymentsUrl(t){return`${this.getResourceUrl()}/${t}/payments`}nestedPaymentUrl(t,e){return`${this.getResourceUrl()}/${t}/payments/${e}`}nestedDocumentsUrl(t){return`${this.getResourceUrl()}/${t}/documents`}nestedDocumentUrl(t,e){return`${this.getResourceUrl()}/${t}/documents/${e}`}nestedPropertiesUrl(t){return`${this.getResourceUrl()}/${t}/properties`}nestedPropertyUrl(t,e){return`${this.getResourceUrl()}/${t}/properties/${e}`}nestedUnitsUrl(t){return`${this.getResourceUrl()}/${t}/units`}nestedUnitUrl(t,e){return`${this.getResourceUrl()}/${t}/units/${e}`}}},32802:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var i=n(86710),s=n(4919),r=n(37716);let o=(()=>{class t{constructor(t,e,n,i){this.element=t,this.templateRef=e,this.viewContainer=n,this.store=i,this.permissions=[]}ngOnInit(){this.store.pipe((0,i.Ys)(s.Al)).subscribe(t=>{this.userScopes=t,this.updateView()})}set robiPermission(t){this.permissions=t,this.updateView()}updateView(){this.checkPermission()?this.viewContainer.createEmbeddedView(this.templateRef):this.viewContainer.clear()}checkPermission(){let t=!1;if(this.userScopes&&void 0!==this.permissions)for(const e of this.permissions)this.userScopes.find(t=>t.toUpperCase()===e.toUpperCase())&&(t=!0);return t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(i.yh))},t.\u0275dir=r.lG2({type:t,selectors:[["","robiPermission",""]],inputs:{robiPermission:"robiPermission"}}),t})()},37771:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});const i={LANDLORD:"am-landlord",TENANT:"am-tenant",ADMIN:"admin"}},57404:function(t,e,n){"use strict";n.d(e,{g:function(){return s}});var i=n(37716);let s=(()=>{class t{constructor(){}showNotification(t,e){$.notify({icon:"notifications",message:e},{type:t,timer:1e3,placement:{from:"bottom",align:"center"},template:'<div data-notify="container" class="col-xl-4 col-lg-4 col-11 col-sm-4 col-md-4 alert alert-{0} alert-with-icon" role="alert"><button mat-button type="button" aria-hidden="true" class="close mat-button" data-notify="dismiss"><i class="material-icons">close</i></button><i class="material-icons" data-notify="icon">notifications</i> <span data-notify="title">{1}</span> <span data-notify="message">{2}</span><div class="progress" data-notify="progressbar"><div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div></div><a href="{3}" target="{4}" data-notify="url"></a></div>'})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},83893:function(t,e,n){"use strict";n.d(e,{m:function(){return $}});var i=n(38583),s=n(29790),r=n(3679),o=(n(19238),n(39490),n(80521)),a=n(37716),l=n(72458),c=(n(10826),n(79765),n(41439),n(66682),n(25917),n(22759),n(58203)),u=n(71386),h=n(36461),d=(n(87636),n(98295));n(15257),n(43190),n(45435),n(88002),n(68307),n(65792),n(70946);const p={provide:new a.OlP("mat-autocomplete-scroll-strategy"),deps:[c.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[p],imports:[[c.U8,l.Ng,l.BQ,i.ez],u.ZD,l.Ng,l.BQ]}),t})();var m=n(51095),g=n(42542),_=n(93738),b=n(7539);n(46237),n(46782),n(39761),n(38345);const y=new a.OlP("mat-chips-default-options"),v={separatorKeyCodes:[h.K5]};let w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[l.rD,{provide:y,useValue:v}],imports:[[l.BQ]]}),t})();var C=n(43220),x=n(22238),S=n(90171);let E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[l.uc,l.BQ],l.uc,l.BQ]}),t})();var k=n(76627),A=n(49983),D=n(1769);let O=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[l.uc,l.si,l.BQ,l.us,i.ez],l.uc,l.BQ,l.us,D.t]}),t})();var T=n(33935),R=n(99692),I=n(12178),F=n(4885),L=n(82613),P=n(67441);n(96736),n(87519),n(54395),n(17238);let M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[i.ez,l.BQ,o.ud,u.ZD],u.ZD,l.BQ]}),t})();var N=n(45396);let B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[i.ez,l.BQ],l.BQ]}),t})();var V=n(77001),Y=n(11494),U=n(94553),j=n(32789),z=n(65939);let q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[l.BQ],l.BQ]}),t})();var G=n(11436);let H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[f,m.ot,g.vV,_.QW,b.p9,w,C.FA,x.Is,S.To,E,k.Ps,A.c,O,T.Tx,l.XK,R.TU,I.Cv,F.Cq,L.Fk,l.si,P.LD,M,B,N.rP,V.ZX,Y.JX,j.p0,z.Nh,q,G.AV,U.T5,d.lN],f,m.ot,g.vV,_.QW,b.p9,w,C.FA,x.Is,S.To,E,k.Ps,A.c,O,T.Tx,l.XK,R.TU,I.Cv,F.Cq,L.Fk,l.si,P.LD,M,B,N.rP,V.ZX,Y.JX,j.p0,z.Nh,q,G.AV,U.T5,d.lN]}),t})();var Z=n(91841);let $=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[i.ez,r.u5,r.UX,s.aw,H,Z.JF],i.ez,r.u5,r.UX,s.aw,H,Z.JF]}),t})()},92340:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i={production:!0,appName:"Property Management -",envName:"PROD",test:!1,i18nPrefix:""}},92626:function(t,e,n){"use strict";var i=n(39075),s=n(37716),r=n(46237),o=n(39895),a=n(38583);function l(t){return getComputedStyle(t)}function c(t,e){for(var n in e){var i=e[n];"number"==typeof i&&(i+="px"),t.style[n]=i}return t}function u(t){var e=document.createElement("div");return e.className=t,e}n(37125);var h="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function d(t,e){if(!h)throw new Error("No element matching method supported");return h.call(t,e)}function p(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function f(t,e){return Array.prototype.filter.call(t.children,function(t){return d(t,e)})}var m=function(t){return"ps__thumb-"+t},g=function(t){return"ps__rail-"+t},_="ps__child--consume",b="ps--focus",y="ps--clicking",v=function(t){return"ps--active-"+t},w=function(t){return"ps--scrolling-"+t},C={x:null,y:null};function x(t,e){var n=t.element.classList,i=w(e);n.contains(i)?clearTimeout(C[e]):n.add(i)}function S(t,e){C[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(w(e))},t.settings.scrollingThreshold)}var E=function(t){this.element=t,this.handlers={}},k={isEmpty:{configurable:!0}};E.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},E.prototype.unbind=function(t,e){var n=this;this.handlers[t]=this.handlers[t].filter(function(i){return!(!e||i===e)||(n.element.removeEventListener(t,i,!1),!1)})},E.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},k.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return 0===t.handlers[e].length})},Object.defineProperties(E.prototype,k);var A=function(){this.eventElements=[]};function D(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}function O(t,e,n,i,s){var r;if(void 0===i&&(i=!0),void 0===s&&(s=!1),"top"===e)r=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");r=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,n,i,s){var r=n[0],o=n[1],a=n[2],l=n[3],c=n[4],u=n[5];void 0===i&&(i=!0),void 0===s&&(s=!1);var h=t.element;t.reach[l]=null,h[a]<1&&(t.reach[l]="start"),h[a]>t[r]-t[o]-1&&(t.reach[l]="end"),e&&(h.dispatchEvent(D("ps-scroll-"+l)),e<0?h.dispatchEvent(D("ps-scroll-"+c)):e>0&&h.dispatchEvent(D("ps-scroll-"+u)),i&&function(t,e){x(t,e),S(t,e)}(t,l)),t.reach[l]&&(e||s)&&h.dispatchEvent(D("ps-"+l+"-reach-"+t.reach[l]))}(t,n,r,i,s)}function T(t){return parseInt(t,10)||0}A.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return e||(e=new E(t),this.eventElements.push(e)),e},A.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},A.prototype.unbind=function(t,e,n){var i=this.eventElement(t);i.unbind(e,n),i.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(i),1)},A.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},A.prototype.once=function(t,e,n){var i=this.eventElement(t),s=function(t){i.unbind(e,s),n(t)};i.bind(e,s)};var R={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function I(t){var e=t.element,n=Math.floor(e.scrollTop),i=e.getBoundingClientRect();t.containerWidth=Math.ceil(i.width),t.containerHeight=Math.ceil(i.height),t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(f(e,g("x")).forEach(function(t){return p(t)}),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(f(e,g("y")).forEach(function(t){return p(t)}),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=F(t,T(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=T((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=F(t,T(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=T(n*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var n={width:e.railXWidth},i=Math.floor(t.scrollTop);n.left=e.isRtl?e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:t.scrollLeft,e.isScrollbarXUsingBottom?n.bottom=e.scrollbarXBottom-i:n.top=e.scrollbarXTop+i,c(e.scrollbarXRail,n);var s={top:i,height:e.railYHeight};e.isScrollbarYUsingRight?s.right=e.isRtl?e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth-9:e.scrollbarYRight-t.scrollLeft:s.left=e.isRtl?e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:e.scrollbarYLeft+t.scrollLeft,c(e.scrollbarYRail,s),c(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),c(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(v("x")):(e.classList.remove(v("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=!0===t.isRtl?t.contentWidth:0),t.scrollbarYActive?e.classList.add(v("y")):(e.classList.remove(v("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)}function F(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function L(t,e){var n=e[0],i=e[1],s=e[2],r=e[3],o=e[4],a=e[5],l=e[6],c=e[7],u=e[8],h=t.element,d=null,p=null,f=null;function m(e){e.touches&&e.touches[0]&&(e[s]=e.touches[0].pageY),h[l]=d+f*(e[s]-p),x(t,c),I(t),e.stopPropagation(),e.preventDefault()}function g(){S(t,c),t[u].classList.remove(y),t.event.unbind(t.ownerDocument,"mousemove",m)}function _(e,o){d=h[l],o&&e.touches&&(e[s]=e.touches[0].pageY),p=e[s],f=(t[i]-t[n])/(t[r]-t[a]),o?t.event.bind(t.ownerDocument,"touchmove",m):(t.event.bind(t.ownerDocument,"mousemove",m),t.event.once(t.ownerDocument,"mouseup",g),e.preventDefault()),t[u].classList.add(y),e.stopPropagation()}t.event.bind(t[o],"mousedown",function(t){_(t)}),t.event.bind(t[o],"touchstart",function(t){_(t,!0)})}var P={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarYRail,"mousedown",function(e){var n=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top;t.element.scrollTop+=(n>t.scrollbarYTop?1:-1)*t.containerHeight,I(t),e.stopPropagation()}),t.event.bind(t.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),t.event.bind(t.scrollbarXRail,"mousedown",function(e){var n=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left;t.element.scrollLeft+=(n>t.scrollbarXLeft?1:-1)*t.containerWidth,I(t),e.stopPropagation()})},"drag-thumb":function(t){L(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),L(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(d(e,":hover")||d(t.scrollbarX,":focus")||d(t.scrollbarY,":focus"))){var i=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(i){if("IFRAME"===i.tagName)i=i.contentDocument.activeElement;else for(;i.shadowRoot;)i=i.shadowRoot.activeElement;if(function(t){return d(t,"input,[contenteditable]")||d(t,"select,[contenteditable]")||d(t,"textarea,[contenteditable]")||d(t,"button,[contenteditable]")}(i))return}var s=0,r=0;switch(n.which){case 37:s=n.metaKey?-t.contentWidth:n.altKey?-t.containerWidth:-30;break;case 38:r=n.metaKey?t.contentHeight:n.altKey?t.containerHeight:30;break;case 39:s=n.metaKey?t.contentWidth:n.altKey?t.containerWidth:30;break;case 40:r=n.metaKey?-t.contentHeight:n.altKey?-t.containerHeight:-30;break;case 32:r=n.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:r=t.containerHeight;break;case 34:r=-t.containerHeight;break;case 36:r=t.contentHeight;break;case 35:r=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==s||t.settings.suppressScrollY&&0!==r||(e.scrollTop-=r,e.scrollLeft+=s,I(t),function(n,i){var s=Math.floor(e.scrollTop);if(0===n){if(!t.scrollbarYActive)return!1;if(0===s&&i>0||s>=t.contentHeight-t.containerHeight&&i<0)return!t.settings.wheelPropagation}var r=e.scrollLeft;if(0===i){if(!t.scrollbarXActive)return!1;if(0===r&&n<0||r>=t.contentWidth-t.containerWidth&&n>0)return!t.settings.wheelPropagation}return!0}(s,r)&&n.preventDefault())}})},wheel:function(t){var e=t.element;function n(n){var i=function(t){var e=t.deltaX,n=-1*t.deltaY;return(void 0===e||void 0===n)&&(e=-1*t.wheelDeltaX/6,n=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,n*=10),e!=e&&n!=n&&(e=0,n=t.wheelDelta),t.shiftKey?[-n,-e]:[e,n]}(n),s=i[0],r=i[1];if(!function(t,n,i){if(!R.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var s=t;s&&s!==e;){if(s.classList.contains(_))return!0;var r=l(s);if(i&&r.overflowY.match(/(scroll|auto)/)){var o=s.scrollHeight-s.clientHeight;if(o>0&&(s.scrollTop>0&&i<0||s.scrollTop<o&&i>0))return!0}if(n&&r.overflowX.match(/(scroll|auto)/)){var a=s.scrollWidth-s.clientWidth;if(a>0&&(s.scrollLeft>0&&n<0||s.scrollLeft<a&&n>0))return!0}s=s.parentNode}return!1}(n.target,s,r)){var o=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(r?e.scrollTop-=r*t.settings.wheelSpeed:e.scrollTop+=s*t.settings.wheelSpeed,o=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(s?e.scrollLeft+=s*t.settings.wheelSpeed:e.scrollLeft-=r*t.settings.wheelSpeed,o=!0):(e.scrollTop-=r*t.settings.wheelSpeed,e.scrollLeft+=s*t.settings.wheelSpeed),I(t),(o=o||function(n,i){var s=Math.floor(e.scrollTop),r=0===e.scrollTop,o=s+e.offsetHeight===e.scrollHeight,a=0===e.scrollLeft,l=e.scrollLeft+e.offsetWidth===e.scrollWidth;return!(Math.abs(i)>Math.abs(n)?r||o:a||l)||!t.settings.wheelPropagation}(s,r))&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?t.event.bind(e,"wheel",n):void 0!==window.onmousewheel&&t.event.bind(e,"mousewheel",n)},touch:function(t){if(R.supportsTouch||R.supportsIePointer){var e=t.element,n={},i=0,s={},r=null;R.supportsTouch?(t.event.bind(e,"touchstart",u),t.event.bind(e,"touchmove",h),t.event.bind(e,"touchend",d)):R.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",u),t.event.bind(e,"pointermove",h),t.event.bind(e,"pointerup",d)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",u),t.event.bind(e,"MSPointerMove",h),t.event.bind(e,"MSPointerUp",d)))}function o(n,i){e.scrollTop-=i,e.scrollLeft-=n,I(t)}function a(t){return t.targetTouches?t.targetTouches[0]:t}function c(t){return!(t.pointerType&&"pen"===t.pointerType&&0===t.buttons||!(t.targetTouches&&1===t.targetTouches.length||t.pointerType&&"mouse"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE))}function u(t){if(c(t)){var e=a(t);n.pageX=e.pageX,n.pageY=e.pageY,i=(new Date).getTime(),null!==r&&clearInterval(r)}}function h(r){if(c(r)){var u=a(r),h={pageX:u.pageX,pageY:u.pageY},d=h.pageX-n.pageX,p=h.pageY-n.pageY;if(function(t,n,i){if(!e.contains(t))return!1;for(var s=t;s&&s!==e;){if(s.classList.contains(_))return!0;var r=l(s);if(i&&r.overflowY.match(/(scroll|auto)/)){var o=s.scrollHeight-s.clientHeight;if(o>0&&(s.scrollTop>0&&i<0||s.scrollTop<o&&i>0))return!0}if(n&&r.overflowX.match(/(scroll|auto)/)){var a=s.scrollWidth-s.clientWidth;if(a>0&&(s.scrollLeft>0&&n<0||s.scrollLeft<a&&n>0))return!0}s=s.parentNode}return!1}(r.target,d,p))return;o(d,p),n=h;var f=(new Date).getTime(),m=f-i;m>0&&(s.x=d/m,s.y=p/m,i=f),function(n,i){var s=Math.floor(e.scrollTop),r=e.scrollLeft,o=Math.abs(n),a=Math.abs(i);if(a>o){if(i<0&&s===t.contentHeight-t.containerHeight||i>0&&0===s)return 0===window.scrollY&&i>0&&R.isChrome}else if(o>a&&(n<0&&r===t.contentWidth-t.containerWidth||n>0&&0===r))return!0;return!0}(d,p)&&r.preventDefault()}}function d(){t.settings.swipeEasing&&(clearInterval(r),r=setInterval(function(){t.isInitialized?clearInterval(r):s.x||s.y?Math.abs(s.x)<.01&&Math.abs(s.y)<.01?clearInterval(r):(o(30*s.x,30*s.y),s.x*=.8,s.y*=.8):clearInterval(r)},10))}}},M=function(t,e){var n=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var i in this.element=t,t.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},e)this.settings[i]=e[i];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s,r,o=function(){return t.classList.add(b)},a=function(){return t.classList.remove(b)};this.isRtl="rtl"===l(t).direction,!0===this.isRtl&&t.classList.add("ps__rtl"),this.isNegativeScroll=(r=t.scrollLeft,t.scrollLeft=-1,s=t.scrollLeft<0,t.scrollLeft=r,s),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new A,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=u(g("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=u(m("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",o),this.event.bind(this.scrollbarX,"blur",a),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var h=l(this.scrollbarXRail);this.scrollbarXBottom=parseInt(h.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=T(h.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=T(h.borderLeftWidth)+T(h.borderRightWidth),c(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=T(h.marginLeft)+T(h.marginRight),c(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=u(g("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=u(m("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",o),this.event.bind(this.scrollbarY,"blur",a),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var d=l(this.scrollbarYRail);this.scrollbarYRight=parseInt(d.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=T(d.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=l(t);return T(e.width)+T(e.paddingLeft)+T(e.paddingRight)+T(e.borderLeftWidth)+T(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=T(d.borderTopWidth)+T(d.borderBottomWidth),c(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=T(d.marginTop)+T(d.marginBottom),c(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(t){return P[t](n)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(t){return n.onScroll(t)}),I(this)};M.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,c(this.scrollbarXRail,{display:"block"}),c(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=T(l(this.scrollbarXRail).marginLeft)+T(l(this.scrollbarXRail).marginRight),this.railYMarginHeight=T(l(this.scrollbarYRail).marginTop)+T(l(this.scrollbarYRail).marginBottom),c(this.scrollbarXRail,{display:"none"}),c(this.scrollbarYRail,{display:"none"}),I(this),O(this,"top",0,!1,!0),O(this,"left",0,!1,!0),c(this.scrollbarXRail,{display:""}),c(this.scrollbarYRail,{display:""}))},M.prototype.onScroll=function(t){!this.isAlive||(I(this),O(this,"top",this.element.scrollTop-this.lastScrollTop),O(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},M.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),p(this.scrollbarX),p(this.scrollbarY),p(this.scrollbarXRail),p(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},M.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};var N=M,B=n(86710),V=n(8606),Y=n(14934);const U=t=>t.auth,j=((0,B.P1)(U,t=>t.access_token),(0,B.P1)(U,t=>{var e;return!!(null===(e=t.user)||void 0===e?void 0:e.access_token)}),(0,B.P1)(U,t=>{var e,n;if(t.user)return null===(n=Y(null===(e=null==t?void 0:t.user)||void 0===e?void 0:e.access_token))||void 0===n?void 0:n.sub}),(0,B.P1)(U,t=>{var e,n;if(t.user)return null===(n=Y(null===(e=null==t?void 0:t.user)||void 0===e?void 0:e.access_token))||void 0===n?void 0:n.scopes}));(0,B.P1)(U,t=>{if(t.user)return t.user.settings}),(0,B.P1)(U,t=>{if(t)return null==t?void 0:t.g_settings}),(0,B.P1)(U,t=>{if(t)return(null==t?void 0:t.first_name)+" "+(null==t?void 0:t.last_name)}),(0,B.P1)(U,t=>{if(t.user)return t.user.first_name+" "+t.user.last_name});var z=n(68307),q=n(2603),G=n(4919),H=n(75973),Z=n(1769),W=n(32802),Q=n(29790);function K(t,e){1&t&&s._UZ(0,"div")}const X=function(t){return[t]};function J(t,e){if(1&t&&(s.TgZ(0,"li",11),s.TgZ(1,"a",12),s.TgZ(2,"i",13),s._uU(3),s.qZA(),s.TgZ(4,"p"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw().$implicit;s.Gre("",t.class," nav-item"),s.xp6(1),s.Q6J("routerLink",s.VKq(8,X,t.path)),s.xp6(2),s.Oqu(t.icon),s.xp6(2),s.hij(" ",s.lcZ(6,6,t.title),"")}}function tt(t,e){if(1&t&&(s.ynx(0),s.YNc(1,J,7,10,"li",10),s.BQk()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("robiPermission",null==t?null:t.permission)}}function et(t,e){if(1&t&&(s.ynx(0),s.YNc(1,tt,2,1,"ng-container",9),s.BQk()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.menuItemsAdmin)}}function nt(t,e){if(1&t&&(s.TgZ(0,"li",11),s.TgZ(1,"a",12),s.TgZ(2,"i",13),s._uU(3),s.qZA(),s.TgZ(4,"p"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw().$implicit;s.Gre("",t.class," nav-item"),s.xp6(1),s.Q6J("routerLink",s.VKq(8,X,t.path)),s.xp6(2),s.Oqu(t.icon),s.xp6(2),s.hij(" ",s.lcZ(6,6,t.title),"")}}function it(t,e){if(1&t&&(s.ynx(0),s.YNc(1,nt,7,10,"li",10),s.BQk()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("robiPermission",null==t?null:t.permission)}}function st(t,e){if(1&t&&(s.ynx(0),s.YNc(1,it,2,1,"ng-container",9),s.BQk()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.menuItemsLandlord)}}function rt(t,e){if(1&t&&(s.TgZ(0,"li",11),s.TgZ(1,"a",12),s.TgZ(2,"i",13),s._uU(3),s.qZA(),s.TgZ(4,"p"),s._uU(5),s.ALo(6,"translate"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw().$implicit;s.Gre("",t.class," nav-item"),s.xp6(1),s.Q6J("routerLink",s.VKq(8,X,t.path)),s.xp6(2),s.Oqu(t.icon),s.xp6(2),s.hij(" ",s.lcZ(6,6,t.title),"")}}function ot(t,e){if(1&t&&(s.ynx(0),s.YNc(1,rt,7,10,"li",10),s.BQk()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("robiPermission",null==t?null:t.permission)}}function at(t,e){if(1&t&&(s.ynx(0),s.YNc(1,ot,2,1,"ng-container",9),s.BQk()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngForOf",t.menuItemsTenant)}}function lt(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"a",14),s.NdJ("click",function(){return s.CHM(t),s.oxw().logout()}),s.TgZ(1,"i",13),s._uU(2,"power_settings_new"),s.qZA(),s.TgZ(3,"p"),s._uU(4,"Logout"),s.qZA(),s.qZA()}}function ct(t,e){1&t&&(s.TgZ(0,"a",15),s.TgZ(1,"i",13),s._uU(2,"clear_all"),s.qZA(),s.TgZ(3,"p"),s._uU(4,"clean up ..."),s.qZA(),s.qZA())}const ut=[{path:"/dashboard",title:"robi.sidebar.dashboard",icon:"dashboard",class:"",permission:["view-dashboard"]},{path:"/landlords",title:"robi.sidebar.landlords",icon:"people_outline",class:"",permission:["view-landlord","create-landlord","edit-landlord","delete-landlord"]},{path:"/properties",title:"robi.sidebar.properties",icon:"business",class:"",permission:["view-property","create-property","edit-property","delete-property"]},{path:"/tenants",title:"robi.sidebar.tenants",icon:"group_add",class:"",permission:["view-tenant","create-tenant","edit-tenant","delete-tenant"]},{path:"/leases",title:"robi.sidebar.leases",icon:"gavel",class:"",permission:["view-lease","create-lease","edit-lease","delete-lease"]},{path:"/readings",title:"robi.sidebar.utilities",icon:"pool",class:"",permission:["view-reading","create-reading","edit-reading","delete-reading"]},{path:"/invoices",title:"robi.sidebar.invoices",icon:"receipt",class:"",permission:["view-invoice"]},{path:"/payments",title:"robi.sidebar.payments",icon:"payment",class:"",permission:["view-payment","create-payment"]},{path:"/notices",title:"Vacate Notice",icon:"lock_open",class:"",permission:["view-notice","create-notice","edit-notice","delete-notice"]},{path:"/settings",title:"robi.sidebar.setting",icon:"settings",class:"",permission:["manage-setting"]},{path:"/profile",title:"sidebar.profile",icon:"person",class:"",permission:["view-profile"]},{path:"/reports",title:"Reports",icon:"account_tree",class:"",permission:["view-report"]}],ht=[{path:"/landlord/dashboard",title:"robi.sidebar.dashboard",icon:"dashboard",class:"",permission:["am-landlord"]},{path:"/properties",title:"robi.sidebar.properties",icon:"business",class:"",permission:["am-landlord"]},{path:"/leases",title:"robi.sidebar.leases",icon:"gavel",class:"",permission:["am-landlord"]},{path:"/payments",title:"robi.sidebar.payments",icon:"payment",class:"",permission:["am-landlord"]},{path:"/invoices",title:"robi.sidebar.invoices",icon:"receipt",class:"",permission:["am-landlord"]},{path:"/notices",title:"Vacate Notice",icon:"lock_open",class:"",permission:["am-landlord"]},{path:"/landlord/profile",title:"sidebar.profile",icon:"person",class:"",permission:["am-landlord"]}],dt=[{path:"/tenant/dashboard",title:"robi.sidebar.dashboard",icon:"dashboard",class:"",permission:["am-tenant"]},{path:"/leases",title:"robi.sidebar.leases",icon:"gavel",class:"",permission:["am-tenant"]},{path:"/payments",title:"robi.sidebar.payments",icon:"payment",class:"",permission:["am-tenant"]},{path:"/notices",title:"Vacate Notice",icon:"lock_open",class:"",permission:["am-tenant"]},{path:"/tenant/profile",title:"sidebar.profile",icon:"person",class:"",permission:["am-tenant"]}];let pt=(()=>{class t{constructor(t,e){this.store=t,this.auth=e,this.loading=!1,this.scopes$=this.store.pipe((0,B.Ys)(G.Al)),this.store.pipe((0,B.Ys)(G.Gw)).subscribe(t=>this.companyName=t),this.isAgent$=this.store.pipe((0,B.Ys)(G.sk)),this.isLandlord$=this.store.pipe((0,B.Ys)(G.iG)),this.isTenant$=this.store.pipe((0,B.Ys)(G.d5))}ngOnInit(){this.menuItemsAdmin=ut.filter(t=>t),this.menuItemsLandlord=ht.filter(t=>t),this.menuItemsTenant=dt.filter(t=>t)}isMobileMenu(){return!($(window).width()>991)}logout(){this.loading=!0,this.auth.logout().pipe((0,z.b)(t=>{this.loading=!1,this.store.dispatch(q.u.actionLogout())})).subscribe(()=>{},t=>{this.store.dispatch(q.u.actionLogout()),this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(B.yh),s.Y36(H.$))},t.\u0275cmp=s.Xpm({type:t,selectors:[["robi-sidebar"]],decls:17,vars:13,consts:[[1,"logo"],[1,"item","simple-text","top-space"],[1,"caption"],[1,"sidebar-wrapper"],[4,"ngIf"],[1,"nav"],["routerLinkActive","active",1,"nav-item"],["class","nav-link pointer",3,"click",4,"ngIf"],["class","nav-link",4,"ngIf"],[4,"ngFor","ngForOf"],["routerLinkActive","active",3,"class",4,"robiPermission"],["routerLinkActive","active"],[1,"nav-link",3,"routerLink"],[1,"material-icons"],[1,"nav-link","pointer",3,"click"],[1,"nav-link"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"figure",1),s.TgZ(2,"figcaption",2),s._uU(3),s.qZA(),s.qZA(),s.qZA(),s.TgZ(4,"div",3),s.YNc(5,K,1,0,"div",4),s.TgZ(6,"ul",5),s.YNc(7,et,2,1,"ng-container",4),s.ALo(8,"async"),s.YNc(9,st,2,1,"ng-container",4),s.ALo(10,"async"),s.YNc(11,at,2,1,"ng-container",4),s.ALo(12,"async"),s._UZ(13,"mat-divider"),s.TgZ(14,"li",6),s.YNc(15,lt,5,0,"a",7),s.YNc(16,ct,5,0,"a",8),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(3),s.hij(" ",e.companyName," "),s.xp6(2),s.Q6J("ngIf",e.isMobileMenu()),s.xp6(2),s.Q6J("ngIf",s.lcZ(8,7,e.isAgent$)),s.xp6(2),s.Q6J("ngIf",s.lcZ(10,9,e.isLandlord$)),s.xp6(2),s.Q6J("ngIf",s.lcZ(12,11,e.isTenant$)),s.xp6(4),s.Q6J("ngIf",!e.loading),s.xp6(1),s.Q6J("ngIf",e.loading))},directives:[a.O5,Z.d,o.Od,a.sg,W.A,o.yS],pipes:[a.Ov,Q.X$],styles:[".caption[_ngcontent-%COMP%]{display:block;overflow-wrap:break-word;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}"]}),t})();var ft=n(51095);function mt(t,e){if(1&t&&(s.ynx(0,9),s._uU(1),s.BQk()),2&t){const t=e.ngIf;s.xp6(1),s.hij(" Welcome, ",t," ")}}const gt=function(){return["/settings"]},_t=function(){return["/profile"]};function bt(t,e){1&t&&(s.TgZ(0,"ul",10),s.TgZ(1,"li",11),s.TgZ(2,"a",12),s.TgZ(3,"i",13),s._uU(4,"settings"),s.qZA(),s.TgZ(5,"p"),s.TgZ(6,"span",14),s._uU(7,"settings"),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.TgZ(8,"li",11),s.TgZ(9,"a",12),s.TgZ(10,"i",13),s._uU(11,"person"),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("routerLink",s.DdM(2,gt)),s.xp6(7),s.Q6J("routerLink",s.DdM(3,_t)))}let yt=(()=>{class t{constructor(t,e,n,i,s){this.element=e,this.authenticationService=n,this.router=i,this.store=s,this.mobile_menu_visible=0,this.isAdmin$=this.authenticationService.isAdmin(),this.location=t,this.sidebarVisible=!1}ngOnInit(){this.userNames$=this.store.pipe((0,B.Ys)(G.NS)),this.listTitles=ut.filter(t=>t),this.toggleButton=this.element.nativeElement.getElementsByClassName("navbar-toggler")[0],this.router.events.subscribe(t=>{this.sidebarClose();var e=document.getElementsByClassName("close-layer")[0];e&&(e.remove(),this.mobile_menu_visible=0)})}sidebarOpen(){const t=this.toggleButton,e=document.getElementsByTagName("body")[0];setTimeout(function(){t.classList.add("toggled")},500),e.classList.add("nav-open"),this.sidebarVisible=!0}sidebarClose(){const t=document.getElementsByTagName("body")[0];this.toggleButton.classList.remove("toggled"),this.sidebarVisible=!1,t.classList.remove("nav-open")}sidebarToggle(){var t=document.getElementsByClassName("navbar-toggler")[0];!1===this.sidebarVisible?this.sidebarOpen():this.sidebarClose();const e=document.getElementsByTagName("body")[0];if(1==this.mobile_menu_visible)e.classList.remove("nav-open"),n&&n.remove(),setTimeout(function(){t.classList.remove("toggled")},400),this.mobile_menu_visible=0;else{setTimeout(function(){t.classList.add("toggled")},430);var n=document.createElement("div");n.setAttribute("class","close-layer"),e.querySelectorAll(".main-panel")?document.getElementsByClassName("main-panel")[0].appendChild(n):e.classList.contains("off-canvas-sidebar")&&document.getElementsByClassName("wrapper-full-page")[0].appendChild(n),setTimeout(function(){n.classList.add("visible")},100),n.onclick=(function(){e.classList.remove("nav-open"),this.mobile_menu_visible=0,n.classList.remove("visible"),setTimeout(function(){n.remove(),t.classList.remove("toggled")},400)}).bind(this),e.classList.add("nav-open"),this.mobile_menu_visible=1}}getTitle(){var t=this.location.prepareExternalUrl(this.location.path());"#"===t.charAt(0)&&(t=t.slice(1));for(var e=0;e<this.listTitles.length;e++)if(this.listTitles[e].path===t)return this.listTitles[e].title;return"Dashboard"}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.Ye),s.Y36(s.SBq),s.Y36(H.$),s.Y36(o.F0),s.Y36(B.yh))},t.\u0275cmp=s.Xpm({type:t,selectors:[["robi-navbar"]],decls:14,vars:6,consts:[[1,"navbar","navbar-expand-lg","navbar-transparent","navbar-absolute","fixed-top"],[1,"container-fluid"],[1,"navbar-wrapper"],["class","navbar-brand",4,"ngIf"],["mat-raised-button","","type","button",1,"navbar-toggler",3,"click"],[1,"sr-only"],[1,"navbar-toggler-icon","icon-bar"],["id","navigation",1,"collapse","navbar-collapse","justify-content-end"],["class","navbar-nav",4,"ngIf"],[1,"navbar-brand"],[1,"navbar-nav"],[1,"nav-item"],[1,"nav-link",3,"routerLink"],[1,"material-icons"],[1,"d-lg-none","d-md-block"]],template:function(t,e){1&t&&(s.TgZ(0,"nav",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.YNc(3,mt,2,1,"ng-container",3),s.ALo(4,"async"),s.qZA(),s.TgZ(5,"button",4),s.NdJ("click",function(){return e.sidebarToggle()}),s.TgZ(6,"span",5),s._uU(7,"Toggle navigation"),s.qZA(),s._UZ(8,"span",6),s._UZ(9,"span",6),s._UZ(10,"span",6),s.qZA(),s.TgZ(11,"div",7),s.YNc(12,bt,12,4,"ul",8),s.ALo(13,"async"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(3),s.Q6J("ngIf",s.lcZ(4,2,e.userNames$)),s.xp6(9),s.Q6J("ngIf",s.lcZ(13,4,e.isAdmin$)))},directives:[a.O5,ft.lW,o.yS],pipes:[a.Ov],styles:[""]}),t})(),vt=(()=>{class t{constructor(t){this.store=t,this.test=new Date,this.store.pipe((0,B.Ys)(G.Gw)).subscribe(t=>this.companyName=t)}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(B.yh))},t.\u0275cmp=s.Xpm({type:t,selectors:[["robi-footer"]],decls:6,vars:5,consts:[[1,"footer"],[1,"container-fluid"],[1,"pull-left"],[1,"copyright"]],template:function(t,e){1&t&&(s.TgZ(0,"footer",0),s.TgZ(1,"div",1),s._UZ(2,"nav",2),s.TgZ(3,"div",3),s._uU(4),s.ALo(5,"date"),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(4),s.AsE(" \xa9 ",s.xi3(5,2,e.test,"yyyy")," ",e.companyName," "))},pipes:[a.uU],styles:[""]}),t})(),wt=(()=>{class t{constructor(t,e,n){this.location=t,this.router=e,this.store=n,this.yScrollStack=[]}ngOnInit(){navigator.platform.indexOf("Win")>-1&&!document.getElementsByTagName("body")[0].classList.contains("sidebar-mini")?document.getElementsByTagName("body")[0].classList.add("perfect-scrollbar-on"):document.getElementsByTagName("body")[0].classList.remove("perfect-scrollbar-off");const t=document.querySelector(".main-panel"),e=document.querySelector(".sidebar .sidebar-wrapper");if(this.location.subscribe(t=>{this.lastPoppedUrl=t.url}),this.router.events.subscribe(t=>{t instanceof o.OD?t.url!==this.lastPoppedUrl&&this.yScrollStack.push(window.scrollY):t instanceof o.m2&&(t.url===this.lastPoppedUrl?(this.lastPoppedUrl=void 0,window.scrollTo(0,this.yScrollStack.pop())):window.scrollTo(0,0))}),this._router=this.router.events.filter(t=>t instanceof o.m2).subscribe(n=>{t.scrollTop=0,e.scrollTop=0}),window.matchMedia("(min-width: 960px)").matches&&!this.isMac()){let n=new N(t);n=new N(e)}this.theme$=this.store.pipe((0,B.Ys)(V.$v)),this.scopesAdmin$=this.store.pipe((0,B.Ys)(j))}ngAfterViewInit(){this.runOnRouteChange()}runOnRouteChange(){if(window.matchMedia("(min-width: 960px)").matches&&!this.isMac()){const t=document.querySelector(".main-panel");new N(t).update()}}isMac(){let t=!1;return(navigator.platform.toUpperCase().indexOf("MAC")>=0||navigator.platform.toUpperCase().indexOf("IPAD")>=0)&&(t=!0),t}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(a.Ye),s.Y36(o.F0),s.Y36(B.yh))},t.\u0275cmp=s.Xpm({type:t,selectors:[["robi-admin-layout"]],decls:9,vars:4,consts:[["data-color","danger","data-background-color","white","color","primary",1,"sidebar"],[1,"sidebar-background"],[1,"main-panel"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.ALo(1,"async"),s.TgZ(2,"div",0),s._UZ(3,"robi-sidebar"),s._UZ(4,"div",1),s.qZA(),s.TgZ(5,"div",2),s._UZ(6,"robi-navbar"),s._UZ(7,"router-outlet"),s._UZ(8,"robi-footer"),s.qZA(),s.qZA()),2&t&&s.Tol("wrapper "+s.lcZ(1,2,e.theme$))},directives:[pt,yt,o.lC,vt],pipes:[a.Ov],styles:[""]}),t})(),Ct=(()=>{class t{constructor(t,e){this.store=t,this.router=e}canActivate(t,e){return this.store.pipe((0,B.Ys)(G.sB),(0,z.b)(t=>{t||this.router.navigate(["/login"])}))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.yh),s.LFG(o.F0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xt=(()=>{class t{constructor(t,e){this.store=t,this.router=e,this.permissions=[]}canLoad(t){return this.permissions=t.data.permissions,this.store.pipe((0,B.Ys)(G.Al)).subscribe(t=>{this.userScopes=t}),!!this.checkPermission()}checkPermission(){let t=!1;if(this.userScopes&&void 0!==this.permissions)for(const e of this.permissions)this.userScopes.find(t=>t.toUpperCase()===e.toUpperCase())&&(t=!0);return t}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.yh),s.LFG(o.F0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),St=(()=>{class t{constructor(t,e){this.store=t,this.router=e}canActivate(t,e){return this.store.pipe((0,B.Ys)(G.sk),(0,z.b)(t=>{t||(this.store.dispatch(q.K.actionLogout()),this.router.navigate(["/login"]))}))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.yh),s.LFG(o.F0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Et=(()=>{class t{constructor(t,e){this.store=t,this.router=e}canActivate(t,e){return this.store.pipe((0,B.Ys)(G.iG),(0,z.b)(t=>{t||(this.store.dispatch(q.K.actionLogout()),this.router.navigate(["/login"]))}))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.yh),s.LFG(o.F0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),kt=(()=>{class t{constructor(t,e){this.store=t,this.router=e}canActivate(t,e){return this.store.pipe((0,B.Ys)(G.d5),(0,z.b)(t=>{t||(this.store.dispatch(q.K.actionLogout()),this.router.navigate(["/login"]))}))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.yh),s.LFG(o.F0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var At=n(65),Dt=n(91841);let Ot=(()=>{class t extends At.b{constructor(t){super(t,"tenant_summaries"),this.localHttpClient=t}propertyBillingSummary(t){const e=`${super.getResourceUrl()}/property`;return this.localHttpClient.post(e,t)}amountPaid(t){const e=`${super.getResourceUrl()}/amount_paid`;return this.localHttpClient.post(e,{periodID:t})}amountDue(t){const e=`${super.getResourceUrl()}/amount_due`;return this.localHttpClient.post(e,{periodID:t})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Dt.eN))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Tt=(()=>{class t{constructor(t){this.service=t}resolve(t,e){return this.service.getAll("",1,1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Ot))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Rt=(()=>{class t extends At.b{constructor(t){super(t,"landlord_summaries"),this.localHttpClient=t}propertyBillingSummary(t){const e=`${super.getResourceUrl()}/property`;return this.localHttpClient.post(e,t)}amountPaid(t){const e=`${super.getResourceUrl()}/amount_paid`;return this.localHttpClient.post(e,{periodID:t})}amountDue(t){const e=`${super.getResourceUrl()}/amount_due`;return this.localHttpClient.post(e,{periodID:t})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Dt.eN))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),It=(()=>{class t{constructor(t){this.service=t}resolve(t,e){return this.service.getAll("",1,1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Rt))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ft=(()=>{class t extends At.b{constructor(t){super(t,"admin_summaries"),this.localHttpClient=t}propertyBillingSummary(t){const e=`${super.getResourceUrl()}/property`;return this.localHttpClient.post(e,t)}amountPaid(t){const e=`${super.getResourceUrl()}/amount_paid`;return this.localHttpClient.post(e,{periodID:t})}amountDue(t){const e=`${super.getResourceUrl()}/amount_due`;return this.localHttpClient.post(e,{periodID:t})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Dt.eN))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Lt=[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"",component:wt,children:[{path:"",loadChildren:()=>Promise.all([n.e(277),n.e(738),n.e(572),n.e(592),n.e(270)]).then(n.bind(n,47270)).then(t=>t.AdminLayoutModule),resolve:{adminData:(()=>{class t{constructor(t){this.service=t}resolve(t,e){return this.service.getAll("",1,1)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Ft))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},canActivate:[St]},{path:"landlords",loadChildren:()=>Promise.all([n.e(592),n.e(693)]).then(n.bind(n,45693)).then(t=>t.LandlordModule),canActivate:[St],canLoad:[xt],data:{permissions:["view-landlord","create-landlord","edit-landlord","delete-landlord"]}},{path:"properties",loadChildren:()=>Promise.all([n.e(277),n.e(592),n.e(365)]).then(n.bind(n,91365)).then(t=>t.PropertyModule),canActivate:[Ct],canLoad:[xt],data:{permissions:["view-property","create-property","edit-property","delete-property","am-landlord"]}},{path:"tenants",loadChildren:()=>Promise.all([n.e(592),n.e(682)]).then(n.bind(n,11682)).then(t=>t.TenantModule),canActivate:[St],canLoad:[xt],data:{permissions:["view-tenant","create-tenant","edit-tenant","delete-tenant"]}},{path:"leases",loadChildren:()=>Promise.all([n.e(277),n.e(592),n.e(193)]).then(n.bind(n,5193)).then(t=>t.LeaseModule),canActivate:[Ct],canLoad:[xt],data:{permissions:["view-lease","create-lease","edit-lease","delete-lease","am-tenant","am-landlord"]}},{path:"readings",loadChildren:()=>Promise.all([n.e(277),n.e(592),n.e(502)]).then(n.bind(n,78502)).then(t=>t.ReadingModule),canActivate:[St],canLoad:[xt],data:{permissions:["view-reading","create-reading","edit-reading","delete-reading"]}},{path:"invoices",loadChildren:()=>Promise.all([n.e(277),n.e(592),n.e(227)]).then(n.bind(n,41227)).then(t=>t.InvoiceModule),canActivate:[Ct],canLoad:[xt],data:{permissions:["view-invoice","am-landlord"]}},{path:"payments",loadChildren:()=>Promise.all([n.e(277),n.e(738),n.e(592),n.e(788)]).then(n.bind(n,65788)).then(t=>t.PaymentModule),canActivate:[Ct],canLoad:[xt],data:{permissions:["view-payment","approve-payment","cancel-payment","am-tenant","am-landlord"]}},{path:"settings",loadChildren:()=>Promise.all([n.e(592),n.e(943)]).then(n.bind(n,32943)).then(t=>t.SettingModule),canActivate:[St],canLoad:[xt],data:{permissions:["manage-setting"]}},{path:"reports",loadChildren:()=>Promise.all([n.e(277),n.e(592),n.e(974)]).then(n.bind(n,24974)).then(t=>t.AccountingModule),canActivate:[St],canLoad:[xt],data:{permissions:["view-report"]}},{path:"profile",loadChildren:()=>n.e(298).then(n.bind(n,41298)).then(t=>t.UserProfileModule),canActivate:[St],canLoad:[xt],data:{permissions:["edit-profile"]}},{path:"notices",loadChildren:()=>Promise.all([n.e(277),n.e(592),n.e(325)]).then(n.bind(n,64325)).then(t=>t.VacateModule),canActivate:[Ct],canLoad:[xt],data:{permissions:["view-notice","create-notice","edit-notice","delete-notice","am-tenant","am-landlord"]}},{path:"landlord/dashboard",loadChildren:()=>Promise.all([n.e(738),n.e(572),n.e(391)]).then(n.bind(n,391)).then(t=>t.LandlordAreaModule),resolve:{landlordData:It},canActivate:[Et],canLoad:[xt],data:{permissions:["am-landlord"]}},{path:"landlord/profile",loadChildren:()=>n.e(344).then(n.bind(n,71344)).then(t=>t.LandlordProfileModule),canActivate:[Et],canLoad:[xt],data:{permissions:["am-landlord"]}},{path:"tenant/dashboard",loadChildren:()=>Promise.all([n.e(738),n.e(572),n.e(36)]).then(n.bind(n,24036)).then(t=>t.TenantAreaModule),resolve:{tenantData:Tt},canActivate:[kt],canLoad:[xt],data:{permissions:["am-tenant"]}},{path:"tenant/profile",loadChildren:()=>n.e(534).then(n.bind(n,33738)).then(t=>t.TenantProfileModule),canActivate:[kt],canLoad:[xt],data:{permissions:["am-tenant"]}}]}];let Pt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[a.ez,i.b2,o.Bz.forRoot(Lt,{useHash:!0,relativeLinkResolution:"legacy"})]]}),t})();var Mt=n(83893);let Nt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[Mt.m,o.Bz]]}),t})();var Bt=n(12178);function Vt(t,e){1&t&&s._UZ(0,"mat-progress-bar",2)}let Yt=(()=>{class t{constructor(t,e){this.router=e,this.loading=!0,t.addLangs(["en","klingon"]),t.setDefaultLang("en"),t.use("en"),e.events.subscribe(t=>{t instanceof o.OD&&(this.loading=!0),(t instanceof o.m2||t instanceof o.gk||t instanceof o.Q3)&&(this.loading=!1)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(Q.sK),s.Y36(o.F0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-root"]],decls:3,vars:1,consts:[[2,"min-height","5px"],["class","loading-bar","color","primary","mode","query","value","50","bufferValue","75",4,"ngIf"],["color","primary","mode","query","value","50","bufferValue","75",1,"loading-bar"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.YNc(1,Vt,1,0,"mat-progress-bar",1),s.qZA(),s._UZ(2,"router-outlet")),2&t&&(s.xp6(1),s.Q6J("ngIf",e.loading))},directives:[a.O5,o.lC,Bt.pW],styles:[""]}),t})();var Ut=n(93572),jt=n(92340),zt=n(39667),qt=n(85322);class Gt{constructor(t,e="/assets/i18n/",n=".json"){this.http=t,this.prefix=e,this.suffix=n}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}var Ht=n(50753);(0,B.P1)(Ht._9,t=>t),(0,B.P1)(Ht._9,t=>t.isAuthenticated),n(54283);var Zt=n(45435);let $t=(()=>{class t{constructor(t,e){this.translateService=t,this.title=e}setTitle(t,e){let n=t;for(;n.children.length;)n=n.children[0];const{title:i}=n.data;i?(e||this.translateService).get(i).pipe((0,Zt.h)(t=>t!==i)).subscribe(t=>this.title.setTitle(`${t} - ${jt.N.appName}`)):this.title.setTitle(jt.N.appName)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Q.sK),s.LFG(i.Dx))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();n(1015);var Wt=n(77001);let Qt=(()=>{class t{constructor(t,e){this.snackBar=t,this.zone=e}default(t){this.show(t,{duration:2e3,panelClass:"default-notification-overlay"})}info(t){this.show(t,{duration:2e3,panelClass:"info-notification-overlay"})}success(t){this.show(t,{duration:2e3,panelClass:"success-notification-overlay"})}warn(t){this.show(t,{duration:2500,panelClass:"warning-notification-overlay"})}error(t){this.show(t,{duration:3e3,panelClass:"error-notification-overlay"})}show(t,e){this.zone.run(()=>this.snackBar.open(t,null,e))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Wt.ux),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Kt=(()=>{class t extends s.qLn{constructor(t){super(),this.notificationsService=t}handleError(t){let e="An error occurred.";jt.N.production||(e+=" See console for details."),this.notificationsService.error(e),super.handleError(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Qt))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Xt=(()=>{class t{serialize(t){let e=t.root;for(;e.firstChild;)e=e.firstChild;const{url:n,root:{queryParams:i}}=t,{params:s}=e;return{url:n,params:s,queryParams:i}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Jt=(()=>{class t{constructor(t){this.injector=t}intercept(t,e){return e.handle(t).pipe((0,z.b)({error:t=>{t instanceof Dt.UA&&this.injector.get(s.qLn).handleError(t)}}))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();var te=n(25917),ee=n(66682),ne=n(9112),ie=n(57057),se=n(87519),re=n(40005),oe=n(58203),ae=n(97316),le=n(41137);const ce=(0,te.of)("anms-init-effect-trigger");let ue=(()=>{class t{constructor(t,e,n,i,s,r,a,l,c){this.actions$=t,this.store=e,this.router=n,this.overlayContainer=i,this.localStorageService=s,this.titleService=r,this.animationsService=a,this.translateService=l,this.ngZone=c,this.hour=0,this.changeHour=this.ngZone.runOutsideAngular(()=>setInterval(()=>{const t=(new Date).getHours();t!==this.hour&&(this.hour=t,this.ngZone.run(()=>this.store.dispatch((0,re.g6)({hour:t}))))},6e4)),this.persistSettings=(0,qt.GW)(()=>this.actions$.pipe((0,qt.l4)(re.TO,re.oI,re.XU,re.E3,re.tH,re.ZV,re.qA),(0,ie.M)(this.store.pipe((0,B.Ys)(Ht._f))),(0,z.b)(([t,e])=>this.localStorageService.setItem("SETTINGS",e))),{dispatch:!1}),this.updateRouteAnimationType=(0,qt.GW)(()=>(0,ee.T)(ce,this.actions$.pipe((0,qt.l4)(re.TO,re.oI))).pipe((0,ie.M)((0,ne.aj)([this.store.pipe((0,B.Ys)(V._e)),this.store.pipe((0,B.Ys)(V.an))])),(0,z.b)(([t,[e,n]])=>this.animationsService.updateRouteAnimationType(e,n))),{dispatch:!1}),this.updateTheme=(0,qt.GW)(()=>(0,ee.T)(ce,this.actions$.pipe((0,qt.l4)(re.qA))).pipe((0,ie.M)(this.store.pipe((0,B.Ys)(V.$v))),(0,z.b)(([t,e])=>{const n=this.overlayContainer.getContainerElement().classList,i=Array.from(n).filter(t=>t.includes("-theme"));i.length&&n.remove(...i),n.add(e)})),{dispatch:!1}),this.setTranslateServiceLanguage=(0,qt.GW)(()=>this.store.pipe((0,B.Ys)(V.gV),(0,se.x)(),(0,z.b)(t=>this.translateService.use(t))),{dispatch:!1}),this.setTitle=(0,qt.GW)(()=>(0,ee.T)(this.actions$.pipe((0,qt.l4)(re.tH)),this.router.events.pipe((0,Zt.h)(t=>t instanceof o.jw))).pipe((0,z.b)(()=>{this.titleService.setTitle(this.router.routerState.snapshot.root,this.translateService)})),{dispatch:!1})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(qt.eX),s.LFG(B.yh),s.LFG(o.F0),s.LFG(oe.Xj),s.LFG(ae.n),s.LFG($t),s.LFG(le.t),s.LFG(Q.sK),s.LFG(s.R0b))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function he(t){return new Gt(t,`.${jt.N.i18nPrefix}/assets/i18n/`,".json")}let de=(()=>{class t{constructor(t){if(t)throw new Error("CoreModule is already loaded. Import only in AppModule")}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(t,12))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[{provide:Dt.TP,useClass:Jt,multi:!0},{provide:s.qLn,useClass:Kt},{provide:zt.GC,useClass:Xt}],imports:[[B.Aw.forRoot(Ht.ll,{metaReducers:Ht.pu}),zt.Qi.forRoot(),qt.sQ.forRoot([ue]),jt.N.production?[]:Ut.FT.instrument({name:"Signal Rentals"}),Q.aw.forRoot({loader:{provide:Q.Zw,useFactory:he,deps:[Dt.eN]}})],Q.aw]}),t})();var pe=n(72458),fe=n(88002),me=n(65792),ge=n(60134),_e=n(5304),be=n(47349),ye=n(15257),ve=n(19773),we=n(94612),Ce=n(40205),xe=n(98085),Se=n(33637),Ee=n(80273);let ke=(()=>{class t{create(t,e,n,i){const s="string"==typeof t?Object.assign(Object.assign({},i||{}),{entityName:t,entityOp:e,data:n}):t;return this.createCore(s)}createCore(t){const{entityName:e,entityOp:n,tag:i}=t;if(!e)throw new Error("Missing entity name for new action");if(null==n)throw new Error("Missing EntityOp for new action");return{type:this.formatActionType(n,i||e),payload:t}}createFromAction(t,e){return this.create(Object.assign(Object.assign({},t.payload),e))}formatActionType(t,e){return`[${e}] ${t}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class Ae{constructor(t,e){this.entityName=t,this.selectId=e}mustBeEntity(t){const e=this.extractData(t);if(!e)return this.throwError(t,"should have a single entity.");const n=this.selectId(e);return this.isNotKeyType(n)&&this.throwError(t,"has a missing or invalid entity key (id)"),e}mustBeEntities(t){const e=this.extractData(t);return Array.isArray(e)?(e.forEach((e,n)=>{const i=this.selectId(e);this.isNotKeyType(i)&&this.throwError(t,`, item ${n+1}, does not have a valid entity key (id)`)}),e):this.throwError(t,"should be an array of entities")}mustBeKey(t){const e=this.extractData(t);if(!e)throw new Error("should be a single entity key");if(this.isNotKeyType(e))throw new Error("is not a valid key (id)");return e}mustBeKeys(t){const e=this.extractData(t);return Array.isArray(e)?(e.forEach((e,n)=>{this.isNotKeyType(e)&&this.throwError(t,`${this.entityName} ', item ${n+1}, is not a valid entity key (id)`)}),e):this.throwError(t,"should be an array of entity keys (id)")}mustBeUpdate(t){const e=this.extractData(t);if(!e)return this.throwError(t,"should be a single entity update");const{id:n,changes:i}=e,s=this.selectId(i);return(this.isNotKeyType(n)||this.isNotKeyType(s))&&this.throwError(t,"has a missing or invalid entity key (id)"),e}mustBeUpdates(t){const e=this.extractData(t);return Array.isArray(e)?(e.forEach((e,n)=>{const{id:i,changes:s}=e,r=this.selectId(s);(this.isNotKeyType(i)||this.isNotKeyType(r))&&this.throwError(t,`, item ${n+1}, has a missing or invalid entity key (id)`)}),e):this.throwError(t,"should be an array of entity updates")}mustBeUpdateResponse(t){const e=this.extractData(t);if(!e)return this.throwError(t,"should be a single entity update");const{id:n,changes:i}=e,s=this.selectId(i);return(this.isNotKeyType(n)||this.isNotKeyType(s))&&this.throwError(t,"has a missing or invalid entity key (id)"),e}mustBeUpdateResponses(t){const e=this.extractData(t);return Array.isArray(e)?(e.forEach((e,n)=>{const{id:i,changes:s}=e,r=this.selectId(s);(this.isNotKeyType(i)||this.isNotKeyType(r))&&this.throwError(t,`, item ${n+1}, has a missing or invalid entity key (id)`)}),e):this.throwError(t,"should be an array of entity updates")}extractData(t){return t.payload&&t.payload.data}isNotKeyType(t){return"string"!=typeof t&&"number"!=typeof t}throwError(t,e){throw new Error(`${this.entityName} EntityAction guard for "${t.type}": payload ${e}`)}}function De(t){return null==t?void 0:t.id}function Oe(t){if(null==t)return[];if(Array.isArray(t[0])){const[e,...n]=t;t=[...e,...n]}return t}function Te(t){return t=t||De,function(e){const n=t(e);if(null==n)throw new Error("Primary key may not be null/undefined.");return e&&{id:n,changes:e}}}function Re(...t){const e=Oe(t);switch(e.length){case 0:return(0,Zt.h)(t=>t.payload&&null!=t.payload.entityOp);case 1:const t=e[0];return(0,Zt.h)(e=>e.payload&&t===e.payload.entityOp);default:return(0,Zt.h)(t=>{const n=t.payload&&t.payload.entityOp;return n&&e.some(t=>t===n)})}}function Ie(...t){const e=Oe(t);switch(e.length){case 0:return(0,Zt.h)(t=>t.payload&&null!=t.payload.entityName);case 1:const t=e[0];return(0,Zt.h)(e=>e.payload&&t===e.payload.entityName);default:return(0,Zt.h)(t=>{const n=t.payload&&t.payload.entityName;return!!n&&e.some(t=>t===n)})}}var Fe=(()=>{return(t=Fe||(Fe={})).Add="Add",t.Delete="Delete",t.Update="Update",t.Upsert="Upsert",Fe;var t})();function Le(t){const e=(t=t&&t.changes?t:{changes:[]}).changes.filter(t=>null!=t&&t.entities&&t.entities.length>0);return Object.assign(Object.assign({},t),{changes:e})}new class{add(t,e){return e=Array.isArray(e)?e:e?[e]:[],{entityName:t,op:Fe.Add,entities:e}}delete(t,e){const n=Array.isArray(e)?e:e?[e]:[];return{entityName:t,op:Fe.Delete,entities:n}}update(t,e){return e=Array.isArray(e)?e:e?[e]:[],{entityName:t,op:Fe.Update,entities:e}}upsert(t,e){return e=Array.isArray(e)?e:e?[e]:[],{entityName:t,op:Fe.Upsert,entities:e}}};var Pe=(()=>{return(t=Pe||(Pe={}))[t.IgnoreChanges=0]="IgnoreChanges",t[t.PreserveChanges=1]="PreserveChanges",t[t.OverwriteChanges=2]="OverwriteChanges",Pe;var t})(),Me=(()=>{return(t=Me||(Me={})).CLEAR_COLLECTIONS="@ngrx/data/entity-cache/clear-collections",t.LOAD_COLLECTIONS="@ngrx/data/entity-cache/load-collections",t.MERGE_QUERY_SET="@ngrx/data/entity-cache/merge-query-set",t.SET_ENTITY_CACHE="@ngrx/data/entity-cache/set-cache",t.SAVE_ENTITIES="@ngrx/data/entity-cache/save-entities",t.SAVE_ENTITIES_CANCEL="@ngrx/data/entity-cache/save-entities-cancel",t.SAVE_ENTITIES_CANCELED="@ngrx/data/entity-cache/save-entities-canceled",t.SAVE_ENTITIES_ERROR="@ngrx/data/entity-cache/save-entities-error",t.SAVE_ENTITIES_SUCCESS="@ngrx/data/entity-cache/save-entities-success",Me;var t})();class Ne{constructor(t,e){this.type=Me.CLEAR_COLLECTIONS,this.payload={collections:t,tag:e}}}class Be{constructor(t,e){this.type=Me.LOAD_COLLECTIONS,this.payload={collections:t,tag:e}}}class Ve{constructor(t,e,n){this.type=Me.MERGE_QUERY_SET,this.payload={querySet:t,mergeStrategy:null===e?Pe.PreserveChanges:e,tag:n}}}class Ye{constructor(t,e){this.cache=t,this.type=Me.SET_ENTITY_CACHE,this.payload={cache:t,tag:e}}}class Ue{constructor(t,e,n){this.type=Me.SAVE_ENTITIES,n=n||{},t&&(t.tag=t.tag||n.tag),this.payload=Object.assign(Object.assign({changeSet:t,url:e},n),{tag:t.tag})}}class je{constructor(t,e,n,i){this.type=Me.SAVE_ENTITIES_CANCEL,this.payload={correlationId:t,reason:e,entityNames:n,tag:i}}}class ze{constructor(t,e,n){this.type=Me.SAVE_ENTITIES_CANCELED,this.payload={correlationId:t,reason:e,tag:n}}}class qe{constructor(t,e){this.type=Me.SAVE_ENTITIES_ERROR,this.payload={error:t,originalAction:e,correlationId:e.payload.correlationId}}}class Ge{constructor(t,e,n){this.type=Me.SAVE_ENTITIES_SUCCESS,n=n||{},t&&(t.tag=t.tag||n.tag),this.payload=Object.assign(Object.assign({changeSet:t,url:e},n),{tag:t.tag})}}var He=(()=>{return(t=He||(He={})).CANCEL_PERSIST="@ngrx/data/cancel-persist",t.CANCELED_PERSIST="@ngrx/data/canceled-persist",t.QUERY_ALL="@ngrx/data/query-all",t.QUERY_ALL_SUCCESS="@ngrx/data/query-all/success",t.QUERY_ALL_ERROR="@ngrx/data/query-all/error",t.QUERY_LOAD="@ngrx/data/query-load",t.QUERY_LOAD_SUCCESS="@ngrx/data/query-load/success",t.QUERY_LOAD_ERROR="@ngrx/data/query-load/error",t.QUERY_MANY="@ngrx/data/query-many",t.QUERY_MANY_SUCCESS="@ngrx/data/query-many/success",t.QUERY_MANY_ERROR="@ngrx/data/query-many/error",t.QUERY_BY_KEY="@ngrx/data/query-by-key",t.QUERY_BY_KEY_SUCCESS="@ngrx/data/query-by-key/success",t.QUERY_BY_KEY_ERROR="@ngrx/data/query-by-key/error",t.SAVE_ADD_MANY="@ngrx/data/save/add-many",t.SAVE_ADD_MANY_ERROR="@ngrx/data/save/add-many/error",t.SAVE_ADD_MANY_SUCCESS="@ngrx/data/save/add-many/success",t.SAVE_ADD_ONE="@ngrx/data/save/add-one",t.SAVE_ADD_ONE_ERROR="@ngrx/data/save/add-one/error",t.SAVE_ADD_ONE_SUCCESS="@ngrx/data/save/add-one/success",t.SAVE_DELETE_MANY="@ngrx/data/save/delete-many",t.SAVE_DELETE_MANY_SUCCESS="@ngrx/data/save/delete-many/success",t.SAVE_DELETE_MANY_ERROR="@ngrx/data/save/delete-many/error",t.SAVE_DELETE_ONE="@ngrx/data/save/delete-one",t.SAVE_DELETE_ONE_SUCCESS="@ngrx/data/save/delete-one/success",t.SAVE_DELETE_ONE_ERROR="@ngrx/data/save/delete-one/error",t.SAVE_UPDATE_MANY="@ngrx/data/save/update-many",t.SAVE_UPDATE_MANY_SUCCESS="@ngrx/data/save/update-many/success",t.SAVE_UPDATE_MANY_ERROR="@ngrx/data/save/update-many/error",t.SAVE_UPDATE_ONE="@ngrx/data/save/update-one",t.SAVE_UPDATE_ONE_SUCCESS="@ngrx/data/save/update-one/success",t.SAVE_UPDATE_ONE_ERROR="@ngrx/data/save/update-one/error",t.SAVE_UPSERT_MANY="@ngrx/data/save/upsert-many",t.SAVE_UPSERT_MANY_SUCCESS="@ngrx/data/save/upsert-many/success",t.SAVE_UPSERT_MANY_ERROR="@ngrx/data/save/upsert-many/error",t.SAVE_UPSERT_ONE="@ngrx/data/save/upsert-one",t.SAVE_UPSERT_ONE_SUCCESS="@ngrx/data/save/upsert-one/success",t.SAVE_UPSERT_ONE_ERROR="@ngrx/data/save/upsert-one/error",t.ADD_ALL="@ngrx/data/add-all",t.ADD_MANY="@ngrx/data/add-many",t.ADD_ONE="@ngrx/data/add-one",t.REMOVE_ALL="@ngrx/data/remove-all",t.REMOVE_MANY="@ngrx/data/remove-many",t.REMOVE_ONE="@ngrx/data/remove-one",t.UPDATE_MANY="@ngrx/data/update-many",t.UPDATE_ONE="@ngrx/data/update-one",t.UPSERT_MANY="@ngrx/data/upsert-many",t.UPSERT_ONE="@ngrx/data/upsert-one",t.COMMIT_ALL="@ngrx/data/commit-all",t.COMMIT_MANY="@ngrx/data/commit-many",t.COMMIT_ONE="@ngrx/data/commit-one",t.UNDO_ALL="@ngrx/data/undo-all",t.UNDO_MANY="@ngrx/data/undo-many",t.UNDO_ONE="@ngrx/data/undo-one",t.SET_CHANGE_STATE="@ngrx/data/set-change-state",t.SET_COLLECTION="@ngrx/data/set-collection",t.SET_FILTER="@ngrx/data/set-filter",t.SET_LOADED="@ngrx/data/set-loaded",t.SET_LOADING="@ngrx/data/set-loading",He;var t})();const Ze="/success",$e="/error";function We(t){return t+Ze}class Qe{constructor(t,e){this.error=t,this.requestData=e,this.message="string"==typeof t?t:function(t){const{error:e,body:n,message:i}=t;let s=null;return e?s="string"==typeof e?e:e.message:i?s=i:n&&(s="string"==typeof n?n:n.error),"string"==typeof s?s:s?JSON.stringify(s):null}(t)}}class Ke{}class Xe{}const Je=new s.OlP("@ngrx/data Plural Names");class tn{}class en{}let nn=(()=>{class t{constructor(t){this.pluralizer=t,this.knownHttpResourceUrls={}}getResourceUrls(t,e){let n=this.knownHttpResourceUrls[t];if(!n){const i=sn(e);n={entityResourceUrl:`${i}/${t}/`.toLowerCase(),collectionResourceUrl:`${i}/${this.pluralizer.pluralize(t)}/`.toLowerCase()},this.registerHttpResourceUrls({[t]:n})}return n}entityResource(t,e){return this.getResourceUrls(t,e).entityResourceUrl}collectionResource(t,e){return this.getResourceUrls(t,e).collectionResourceUrl}registerHttpResourceUrls(t){this.knownHttpResourceUrls=Object.assign(Object.assign({},this.knownHttpResourceUrls),t||{})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(tn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();function sn(t){return t.replace(/^[/\s]+|[/\s]+$/g,"")}class rn{constructor(t,e,n,i){this.http=e,this.httpUrlGenerator=n,this.getDelay=0,this.saveDelay=0,this.timeout=0,this._name=`${t} DefaultDataService`,this.entityName=t;const{root:s="api",delete404OK:r=!0,getDelay:o=0,saveDelay:a=0,timeout:l=0}=i||{};this.delete404OK=r,this.entityUrl=n.entityResource(t,s),this.entitiesUrl=n.collectionResource(t,s),this.getDelay=o,this.saveDelay=a,this.timeout=l}get name(){return this._name}add(t){const e=t||new Error(`No "${this.entityName}" entity to add`);return this.execute("POST",this.entityUrl,e)}delete(t){let e;return null==t&&(e=new Error(`No "${this.entityName}" key to delete`)),this.execute("DELETE",this.entityUrl+t,e).pipe((0,fe.U)(e=>t))}getAll(){return this.execute("GET",this.entitiesUrl)}getById(t){let e;return null==t&&(e=new Error(`No "${this.entityName}" key to get`)),this.execute("GET",this.entityUrl+t,e)}getWithQuery(t){const e=new Dt.LE("string"==typeof t?{fromString:t}:{fromObject:t});return this.execute("GET",this.entitiesUrl,void 0,{params:e})}update(t){const e=t&&t.id,n=null==e?new Error(`No "${this.entityName}" update data or id`):t.changes;return this.execute("PUT",this.entityUrl+e,n)}upsert(t){const e=t||new Error(`No "${this.entityName}" entity to upsert`);return this.execute("POST",this.entityUrl,e)}execute(t,e,n,i){const s={method:t,url:e,data:n,options:i};if(n instanceof Error)return this.handleError(s)(n);let r;switch(t){case"DELETE":r=this.http.delete(e,i),this.saveDelay&&(r=r.pipe((0,me.g)(this.saveDelay)));break;case"GET":r=this.http.get(e,i),this.getDelay&&(r=r.pipe((0,me.g)(this.getDelay)));break;case"POST":r=this.http.post(e,n,i),this.saveDelay&&(r=r.pipe((0,me.g)(this.saveDelay)));break;case"PUT":r=this.http.put(e,n,i),this.saveDelay&&(r=r.pipe((0,me.g)(this.saveDelay)));break;default:{const e=new Error("Unimplemented HTTP method, "+t);r=(0,Ce._)(e)}}return this.timeout&&(r=r.pipe((0,ge.V)(this.timeout+this.saveDelay))),r.pipe((0,_e.K)(this.handleError(s)))}handleError(t){return e=>{const n=this.handleDelete404(e,t);if(n)return n;const i=new Qe(e,t);return(0,Ce._)(i)}}handleDelete404(t,e){if(404===t.status&&"DELETE"===e.method&&this.delete404OK)return(0,te.of)({})}}let on=(()=>{class t{constructor(t,e,n){this.http=t,this.httpUrlGenerator=e,this.config=n,e.registerHttpResourceUrls((n=n||{}).entityHttpResourceUrls)}create(t){return new rn(t,this.http,this.httpUrlGenerator,this.config)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Dt.eN),s.LFG(en),s.LFG(Ke,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const an=new s.OlP("@ngrx/data Entity Metadata");let ln=(()=>{class t{constructor(t){this.definitions={},t&&t.forEach(t=>this.registerMetadataMap(t))}getDefinition(t,e=!0){t=t.trim();const n=this.definitions[t];if(!n&&e)throw new Error(`No EntityDefinition for entity type "${t}".`);return n}registerMetadata(t){if(t){const e=function(t){let e=t.entityName;if(!e)throw new Error("Missing required entityName");t.entityName=e=e.trim();const n=t.selectId||De,i=t.sortComparer=t.sortComparer||!1,s=(0,Ee.H)({selectId:n,sortComparer:i}),r=t.entityDispatcherOptions||{},o=s.getInitialState(Object.assign({entityName:e,filter:"",loaded:!1,loading:!1,changeState:{}},t.additionalCollectionState||{}));return{entityName:e,entityAdapter:s,entityDispatcherOptions:r,initialState:o,metadata:t,noChangeTracking:!0===t.noChangeTracking,selectId:n,sortComparer:i}}(t);this.registerDefinition(e)}}registerMetadataMap(t={}){Object.keys(t||{}).forEach(e=>this.registerMetadata(Object.assign({entityName:e},t[e])))}registerDefinition(t){this.definitions[t.entityName]=t}registerDefinitions(t){Object.assign(this.definitions,t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(an,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const cn=Fe.Update;let un=(()=>{class t{constructor(t,e,n){this.entityDefinitionService=t,this.http=e,this.idSelectors={},this.saveDelay=0,this.timeout=0;const{saveDelay:i=0,timeout:s=0}=n||{};this.saveDelay=i,this.timeout=s}saveEntities(t,e){t=this.filterChangeSet(t),t=this.flattenUpdates(t);let n=this.http.post(e,t).pipe((0,fe.U)(t=>this.restoreUpdates(t)),(0,_e.K)(this.handleError({method:"POST",url:e,data:t})));return this.timeout&&(n=n.pipe((0,ge.V)(this.timeout))),this.saveDelay&&(n=n.pipe((0,me.g)(this.saveDelay))),n}handleError(t){return e=>{const n=new Qe(e,t);return(0,Ce._)(n)}}filterChangeSet(t){return Le(t)}flattenUpdates(t){let e=t.changes;if(0===e.length)return t;let n=!1;return e=e.map(t=>t.op===cn&&t.entities.length>0?(n=!0,Object.assign(Object.assign({},t),{entities:t.entities.map(t=>t.changes)})):t),n?Object.assign(Object.assign({},t),{changes:e}):t}restoreUpdates(t){if(null==t)return t;let e=t.changes;if(0===e.length)return t;let n=!1;return e=e.map(t=>{if(t.op===cn){n=!0;const e=this.getIdSelector(t.entityName);return Object.assign(Object.assign({},t),{entities:t.entities.map(t=>({id:e(t),changes:t}))})}return t}),n?Object.assign(Object.assign({},t),{changes:e}):t}getIdSelector(t){let e=this.idSelectors[t];return e||(e=this.entityDefinitionService.getDefinition(t).selectId,this.idSelectors[t]=e),e}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(ln),s.LFG(Dt.eN),s.LFG(Ke,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),hn=(()=>{class t{constructor(t){this.defaultDataServiceFactory=t,this.services={}}getService(t){t=t.trim();let e=this.services[t];return e||(e=this.defaultDataServiceFactory.create(t),this.services[t]=e),e}registerService(t,e){this.services[t.trim()]=e}registerServices(t){this.services=Object.assign(Object.assign({},this.services),t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(on))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class dn{}let pn=(()=>{class t{constructor(t,e){this.logger=t,this.entityActionFactory=e}handleSuccess(t){const e=We(t.payload.entityOp);return n=>this.entityActionFactory.createFromAction(t,{entityOp:e,data:n})}handleError(t){const e=function(t){return t+$e}(t.payload.entityOp);return n=>{const i={error:n instanceof Qe?n:new Qe(n,null),originalAction:t};return this.logger.error(i),this.entityActionFactory.createFromAction(t,{entityOp:e,data:i})}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Xe),s.LFG(ke))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),fn=(()=>{class t{constructor(){this.seed=0,this.prefix="CRID"}next(){return this.seed+=1,this.prefix+this.seed}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),mn=(()=>{class t{constructor(){this.optimisticAdd=!1,this.optimisticDelete=!0,this.optimisticUpdate=!1,this.optimisticUpsert=!1,this.optimisticSaveEntities=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class gn{constructor(t){this.message=t,this.message=t||"Canceled by user"}}let _n=(()=>{class t{constructor(t,e,n,i){this.correlationIdGenerator=t,this.defaultDispatcherOptions=e,this.store=i,this.reducedActions$=n.pipe((0,be.d)(1)),this.raSubscription=this.reducedActions$.subscribe()}dispatch(t){return this.store.dispatch(t),t}cancelSaveEntities(t,e,n,i){if(!t)throw new Error("Missing correlationId");const s=new je(t,e,n,i);this.dispatch(s)}clearCollections(t,e){this.dispatch(new Ne(t,e))}loadCollections(t,e){this.dispatch(new Be(t,e))}mergeQuerySet(t,e,n){this.dispatch(new Ve(t,e,n))}setEntityCache(t,e){this.dispatch(new Ye(t,e))}saveEntities(t,e,n){const i=Array.isArray(t)?{changes:t}:t,s=null==(n=n||{}).correlationId?this.correlationIdGenerator.next():n.correlationId,r=null==n.isOptimistic?this.defaultDispatcherOptions.optimisticSaveEntities||!1:!0===n.isOptimistic,o=n.tag||"Save Entities";n=Object.assign(Object.assign({},n),{correlationId:s,isOptimistic:r,tag:o});const a=new Ue(i,e,n);return this.dispatch(a),this.getSaveEntitiesResponseData$(n.correlationId).pipe((0,be.d)(1))}getSaveEntitiesResponseData$(t){return this.reducedActions$.pipe((0,Zt.h)(t=>t.type===Me.SAVE_ENTITIES_SUCCESS||t.type===Me.SAVE_ENTITIES_ERROR||t.type===Me.SAVE_ENTITIES_CANCEL),(0,Zt.h)(e=>t===e.payload.correlationId),(0,ye.q)(1),(0,ve.zg)(t=>t.type===Me.SAVE_ENTITIES_CANCEL?(0,Ce._)(new gn(t.payload.reason)):t.type===Me.SAVE_ENTITIES_SUCCESS?(0,te.of)(t.payload.changeSet):(0,Ce._)(t.payload)))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(fn),s.LFG(mn),s.LFG(B.Y$),s.LFG(B.yh))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class bn{constructor(t,e,n,i=De,s,r,o,a){this.entityName=t,this.entityActionFactory=e,this.store=n,this.selectId=i,this.defaultDispatcherOptions=s,this.reducedActions$=r,this.correlationIdGenerator=a,this.guard=new Ae(t,i),this.toUpdate=Te(i);const l=(0,B.P1)(o,e=>e[t]);this.entityCollection$=n.select(l)}createEntityAction(t,e,n){return this.entityActionFactory.create(Object.assign({entityName:this.entityName,entityOp:t,data:e},n))}createAndDispatch(t,e,n){const i=this.createEntityAction(t,e,n);return this.dispatch(i),i}dispatch(t){return this.store.dispatch(t),t}add(t,e){e=this.setSaveEntityActionOptions(e,this.defaultDispatcherOptions.optimisticAdd);const n=this.createEntityAction(He.SAVE_ADD_ONE,t,e);return e.isOptimistic&&this.guard.mustBeEntity(n),this.dispatch(n),this.getResponseData$(e.correlationId).pipe((0,ie.M)(this.entityCollection$),(0,fe.U)(([t,e])=>e.entities[this.selectId(t)]),(0,be.d)(1))}cancel(t,e,n){if(!t)throw new Error("Missing correlationId");this.createAndDispatch(He.CANCEL_PERSIST,e,{correlationId:t})}delete(t,e){e=this.setSaveEntityActionOptions(e,this.defaultDispatcherOptions.optimisticDelete);const n=this.getKey(t),i=this.createEntityAction(He.SAVE_DELETE_ONE,n,e);return this.guard.mustBeKey(i),this.dispatch(i),this.getResponseData$(e.correlationId).pipe((0,fe.U)(()=>n),(0,be.d)(1))}getAll(t){t=this.setQueryEntityActionOptions(t);const e=this.createEntityAction(He.QUERY_ALL,null,t);return this.dispatch(e),this.getResponseData$(t.correlationId).pipe((0,ie.M)(this.entityCollection$),(0,fe.U)(([t,e])=>t.reduce((t,n)=>{const i=e.entities[this.selectId(n)];return i&&t.push(i),t},[])),(0,be.d)(1))}getByKey(t,e){e=this.setQueryEntityActionOptions(e);const n=this.createEntityAction(He.QUERY_BY_KEY,t,e);return this.dispatch(n),this.getResponseData$(e.correlationId).pipe((0,ie.M)(this.entityCollection$),(0,fe.U)(([t,e])=>e.entities[this.selectId(t)]),(0,be.d)(1))}getWithQuery(t,e){e=this.setQueryEntityActionOptions(e);const n=this.createEntityAction(He.QUERY_MANY,t,e);return this.dispatch(n),this.getResponseData$(e.correlationId).pipe((0,ie.M)(this.entityCollection$),(0,fe.U)(([t,e])=>t.reduce((t,n)=>{const i=e.entities[this.selectId(n)];return i&&t.push(i),t},[])),(0,be.d)(1))}load(t){t=this.setQueryEntityActionOptions(t);const e=this.createEntityAction(He.QUERY_LOAD,null,t);return this.dispatch(e),this.getResponseData$(t.correlationId).pipe((0,be.d)(1))}update(t,e){const n=this.toUpdate(t);e=this.setSaveEntityActionOptions(e,this.defaultDispatcherOptions.optimisticUpdate);const i=this.createEntityAction(He.SAVE_UPDATE_ONE,n,e);return e.isOptimistic&&this.guard.mustBeUpdate(i),this.dispatch(i),this.getResponseData$(e.correlationId).pipe((0,fe.U)(t=>t.changes),(0,ie.M)(this.entityCollection$),(0,fe.U)(([t,e])=>e.entities[this.selectId(t)]),(0,be.d)(1))}upsert(t,e){e=this.setSaveEntityActionOptions(e,this.defaultDispatcherOptions.optimisticUpsert);const n=this.createEntityAction(He.SAVE_UPSERT_ONE,t,e);return e.isOptimistic&&this.guard.mustBeEntity(n),this.dispatch(n),this.getResponseData$(e.correlationId).pipe((0,ie.M)(this.entityCollection$),(0,fe.U)(([t,e])=>e.entities[this.selectId(t)]),(0,be.d)(1))}addAllToCache(t,e){this.createAndDispatch(He.ADD_ALL,t,e)}addOneToCache(t,e){this.createAndDispatch(He.ADD_ONE,t,e)}addManyToCache(t,e){this.createAndDispatch(He.ADD_MANY,t,e)}clearCache(t){this.createAndDispatch(He.REMOVE_ALL,void 0,t)}removeOneFromCache(t,e){this.createAndDispatch(He.REMOVE_ONE,this.getKey(t),e)}removeManyFromCache(t,e){if(!t||0===t.length)return;const n="object"==typeof t[0]?t.map(t=>this.getKey(t)):t;this.createAndDispatch(He.REMOVE_MANY,n,e)}updateOneInCache(t,e){const n=this.toUpdate(t);this.createAndDispatch(He.UPDATE_ONE,n,e)}updateManyInCache(t,e){if(!t||0===t.length)return;const n=t.map(t=>this.toUpdate(t));this.createAndDispatch(He.UPDATE_MANY,n,e)}upsertOneInCache(t,e){this.createAndDispatch(He.UPSERT_ONE,t,e)}upsertManyInCache(t,e){!t||0===t.length||this.createAndDispatch(He.UPSERT_MANY,t,e)}setFilter(t){this.createAndDispatch(He.SET_FILTER,t)}setLoaded(t){this.createAndDispatch(He.SET_LOADED,!!t)}setLoading(t){this.createAndDispatch(He.SET_LOADING,!!t)}getKey(t){return"object"==typeof t?this.selectId(t):t}getResponseData$(t){return this.reducedActions$.pipe((0,Zt.h)(t=>!!t.payload),(0,Zt.h)(e=>{const{correlationId:n,entityName:i,entityOp:s}=e.payload;return i===this.entityName&&n===t&&(s.endsWith(Ze)||s.endsWith($e)||s===He.CANCEL_PERSIST)}),(0,ye.q)(1),(0,ve.zg)(t=>{const{entityOp:e}=t.payload;return e===He.CANCEL_PERSIST?(0,Ce._)(new gn(t.payload.data)):e.endsWith(Ze)?(0,te.of)(t.payload.data):(0,Ce._)(t.payload.data.error)}))}setQueryEntityActionOptions(t){const e=null==(t=t||{}).correlationId?this.correlationIdGenerator.next():t.correlationId;return Object.assign(Object.assign({},t),{correlationId:e})}setSaveEntityActionOptions(t,e){const n=null==(t=t||{}).correlationId?this.correlationIdGenerator.next():t.correlationId,i=null==t.isOptimistic?e||!1:!0===t.isOptimistic;return Object.assign(Object.assign({},t),{correlationId:n,isOptimistic:i})}}const yn="entityCache",vn=new s.OlP("@ngrx/data Entity Cache Name"),wn=new s.OlP("@ngrx/data Entity Cache Meta Reducers"),Cn=new s.OlP("@ngrx/data Entity Collection Meta Reducers"),xn=new s.OlP("@ngrx/data Initial Entity Cache State"),Sn=new s.OlP("@ngrx/data Entity Cache Selector"),En={provide:Sn,useFactory:kn,deps:[[new s.FiY,vn]]};function kn(t){return(0,B.ZF)(t=t||yn)}let An=(()=>{class t{constructor(t,e,n,i,s,r){this.entityActionFactory=t,this.store=e,this.entityDispatcherDefaultOptions=n,this.entityCacheSelector=s,this.correlationIdGenerator=r,this.reducedActions$=i.pipe((0,be.d)(1)),this.raSubscription=this.reducedActions$.subscribe()}create(t,e=De,n={}){const i=Object.assign(Object.assign({},this.entityDispatcherDefaultOptions),n);return new bn(t,this.entityActionFactory,this.store,e,i,this.reducedActions$,this.entityCacheSelector,this.correlationIdGenerator)}ngOnDestroy(){this.raSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(ke),s.LFG(B.yh),s.LFG(mn),s.LFG(B.Y$),s.LFG(Sn),s.LFG(fn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Dn=new s.OlP("@ngrx/data Entity Effects Scheduler");let On=(()=>{class t{constructor(t,e,n,i,s){this.actions=t,this.dataService=e,this.entityActionFactory=n,this.logger=i,this.scheduler=s,this.responseDelay=10,this.saveEntitiesCancel$=(0,qt.GW)(()=>this.actions.pipe((0,qt.l4)(Me.SAVE_ENTITIES_CANCEL),(0,Zt.h)(t=>null!=t.payload.correlationId)),{dispatch:!1}),this.saveEntities$=(0,qt.GW)(()=>this.actions.pipe((0,qt.l4)(Me.SAVE_ENTITIES),(0,ve.zg)(t=>this.saveEntities(t))))}saveEntities(t){const e=t.payload.error;if(e)return this.handleSaveEntitiesError$(t)(e);try{const e=Le(t.payload.changeSet),{correlationId:n,mergeStrategy:i,tag:s,url:r}=t.payload,o={correlationId:n,mergeStrategy:i,tag:s};if(0===e.changes.length)return(0,te.of)(new Ge(e,r,o));const a=this.saveEntitiesCancel$.pipe((0,Zt.h)(t=>n===t.payload.correlationId),(0,fe.U)(t=>new ze(n,t.payload.reason,t.payload.tag))),l=this.dataService.saveEntities(e,r).pipe((0,we.b)(e=>this.handleSaveEntitiesSuccess$(t,this.entityActionFactory)(e)),(0,_e.K)(this.handleSaveEntitiesError$(t)));return(0,xe.S3)(a,l)}catch(n){return this.handleSaveEntitiesError$(t)(n)}}handleSaveEntitiesError$(t){return e=>{const n=e instanceof Qe?e:new Qe(e,null);return(0,te.of)(new qe(n,t)).pipe((0,me.g)(this.responseDelay,this.scheduler||Se.z))}}handleSaveEntitiesSuccess$(t,e){const{url:n,correlationId:i,mergeStrategy:s,tag:r}=t.payload,o={correlationId:i,mergeStrategy:s,tag:r};return i=>{if(i)return(0,te.of)(new Ge(i,n,o));if(i=t.payload.changeSet,!t.payload.isOptimistic)return(0,te.of)(new Ge(i,n,o));const s=i.changes.reduce((t,e)=>-1===t.indexOf(e.entityName)?t.concat(e.entityName):t,[]);return(0,ee.T)(s.map(t=>e.create(t,He.SET_LOADING,!1)))}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(qt.eX),s.LFG(un),s.LFG(ke),s.LFG(Xe),s.LFG(Dn,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Tn=[He.QUERY_ALL,He.QUERY_LOAD,He.QUERY_BY_KEY,He.QUERY_MANY,He.SAVE_ADD_ONE,He.SAVE_DELETE_ONE,He.SAVE_UPDATE_ONE,He.SAVE_UPSERT_ONE];let Rn=(()=>{class t{constructor(t,e,n,i,s){this.actions=t,this.dataService=e,this.entityActionFactory=n,this.resultHandler=i,this.scheduler=s,this.responseDelay=10,this.cancel$=(0,qt.GW)(()=>this.actions.pipe(Re(He.CANCEL_PERSIST),(0,fe.U)(t=>t.payload.correlationId),(0,Zt.h)(t=>null!=t)),{dispatch:!1}),this.persist$=(0,qt.GW)(()=>this.actions.pipe(Re(Tn),(0,ve.zg)(t=>this.persist(t))))}persist(t){if(t.payload.skip)return this.handleSkipSuccess$(t);if(t.payload.error)return this.handleError$(t)(t.payload.error);try{const e=this.cancel$.pipe((0,Zt.h)(e=>t.payload.correlationId===e),(0,fe.U)(e=>this.entityActionFactory.createFromAction(t,{entityOp:He.CANCELED_PERSIST}))),n=this.callDataService(t).pipe((0,fe.U)(this.resultHandler.handleSuccess(t)),(0,_e.K)(this.handleError$(t)));return(0,xe.S3)(e,n)}catch(e){return this.handleError$(t)(e)}}callDataService(t){const{entityName:e,entityOp:n,data:i}=t.payload,s=this.dataService.getService(e);switch(n){case He.QUERY_ALL:case He.QUERY_LOAD:return s.getAll();case He.QUERY_BY_KEY:return s.getById(i);case He.QUERY_MANY:return s.getWithQuery(i);case He.SAVE_ADD_ONE:return s.add(i);case He.SAVE_DELETE_ONE:return s.delete(i);case He.SAVE_UPDATE_ONE:const{id:t,changes:e}=i;return s.update(i).pipe((0,fe.U)(n=>n&&Object.keys(n).length>0?{id:t,changes:Object.assign(Object.assign({},e),n),changed:!0}:{id:t,changes:e,changed:!1}));case He.SAVE_UPSERT_ONE:return s.upsert(i).pipe((0,fe.U)(t=>t&&Object.keys(t).length>0?t:i));default:throw new Error(`Persistence action "${n}" is not implemented.`)}}handleError$(t){return e=>(0,te.of)(this.resultHandler.handleError(t)(e)).pipe((0,me.g)(this.responseDelay,this.scheduler||Se.z))}handleSkipSuccess$(t){const e=We(t.payload.entityOp),n=this.entityActionFactory.createFromAction(t,{entityOp:e});return(0,te.of)(n).pipe((0,me.g)(this.responseDelay,this.scheduler||Se.z))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(qt.eX),s.LFG(hn),s.LFG(ke),s.LFG(dn),s.LFG(Dn,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class In{constructor(t,e){this.entityName=t,t=t.trim();const{dispatcher:n,selectors:i,selectors$:s}=e.create(t);this.entityName=t,this.dispatcher=n,this.guard=n.guard,this.selectId=n.selectId,this.toUpdate=n.toUpdate,this.selectors=i,this.selectors$=s,this.collection$=s.collection$,this.count$=s.count$,this.entities$=s.entities$,this.entityActions$=s.entityActions$,this.entityMap$=s.entityMap$,this.errors$=s.errors$,this.filter$=s.filter$,this.filteredEntities$=s.filteredEntities$,this.keys$=s.keys$,this.loaded$=s.loaded$,this.loading$=s.loading$,this.changeState$=s.changeState$}createEntityAction(t,e,n){return this.dispatcher.createEntityAction(t,e,n)}createAndDispatch(t,e,n){return this.dispatcher.createAndDispatch(t,e,n)}dispatch(t){return this.dispatcher.dispatch(t)}get store(){return this.dispatcher.store}add(t,e){return this.dispatcher.add(t,e)}cancel(t,e,n){this.dispatcher.cancel(t,e,n)}delete(t,e){return this.dispatcher.delete(t,e)}getAll(t){return this.dispatcher.getAll(t)}getByKey(t,e){return this.dispatcher.getByKey(t,e)}getWithQuery(t,e){return this.dispatcher.getWithQuery(t,e)}load(t){return this.dispatcher.load(t)}update(t,e){return this.dispatcher.update(t,e)}upsert(t,e){return this.dispatcher.upsert(t,e)}addAllToCache(t,e){this.dispatcher.addAllToCache(t,e)}addOneToCache(t,e){this.dispatcher.addOneToCache(t,e)}addManyToCache(t,e){this.dispatcher.addManyToCache(t,e)}clearCache(){this.dispatcher.clearCache()}removeOneFromCache(t,e){this.dispatcher.removeOneFromCache(t,e)}removeManyFromCache(t,e){this.dispatcher.removeManyFromCache(t,e)}updateOneInCache(t,e){this.dispatcher.updateOneInCache(t,e)}updateManyInCache(t,e){this.dispatcher.updateManyInCache(t,e)}upsertOneInCache(t,e){this.dispatcher.upsertOneInCache(t,e)}upsertManyInCache(t,e){this.dispatcher.upsertManyInCache(t,e)}setFilter(t){this.dispatcher.setFilter(t)}setLoaded(t){this.dispatcher.setLoaded(!!t)}setLoading(t){this.dispatcher.setLoading(!!t)}}let Fn=(()=>{class t{constructor(t){this.entityDefinitionService=t}create(t){const e=this.entityDefinitionService&&this.entityDefinitionService.getDefinition(t,!1);return e&&e.initialState||function(t){return{entityName:t,ids:[],entities:{},filter:void 0,loaded:!1,loading:!1,changeState:{}}}(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(ln,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Ln=(()=>{class t{constructor(t,e){this.entityCollectionCreator=t||new Fn,this.selectEntityCache=e||kn(yn)}createCollectionSelector(t){return(0,B.P1)(this.selectEntityCache,(e={})=>e[t]||this.entityCollectionCreator.create(t))}createCollectionSelectors(t){const e="string"==typeof t?{entityName:t}:t,n=t=>t.ids,i=t=>t.entities,s=(0,B.P1)(n,i,(t,e)=>t.map(t=>e[t])),r=(0,B.P1)(n,t=>t.length),o=t=>t.filter,a=e.filterFn,l=a?(0,B.P1)(s,o,(t,e)=>a(t,e)):s,c={};return Object.keys(e.additionalCollectionState||{}).forEach(t=>{c["select"+t[0].toUpperCase()+t.slice(1)]=e=>e[t]}),Object.assign({selectCount:r,selectEntities:s,selectEntityMap:i,selectFilter:o,selectFilteredEntities:l,selectKeys:n,selectLoaded:t=>t.loaded,selectLoading:t=>t.loading,selectChangeState:t=>t.changeState},c)}create(t){const e="string"==typeof t?{entityName:t}:t,n=e.entityName,i=this.createCollectionSelector(n),s=this.createCollectionSelectors(e),r={};return Object.keys(s).forEach(t=>{r[t]=(0,B.P1)(i,s[t])}),Object.assign({entityName:n,selectCollection:i,selectEntityCache:this.selectEntityCache},r)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Fn,8),s.LFG(Sn,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Pn=(()=>{class t{constructor(t,e,n){this.store=t,this.actions=e,this.selectEntityCache=n,this.entityCache$=this.store.select(this.selectEntityCache),this.entityActionErrors$=e.pipe((0,Zt.h)(t=>t.payload&&t.payload.entityOp&&t.payload.entityOp.endsWith($e)),(0,be.d)(1))}create(t,e){const n={entityName:t};return Object.keys(e).forEach(t=>{if(t.startsWith("select")){const i=t[6].toLowerCase()+t.substr(7)+"$";n[i]=this.store.select(e[t])}}),n.entityActions$=this.actions.pipe(Ie(t)),n.errors$=this.entityActionErrors$.pipe(Ie(t)),n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.yh),s.LFG(qt.eX),s.LFG(Sn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Mn=(()=>{class t{constructor(t,e,n,i){this.entityDispatcherFactory=t,this.entityDefinitionService=e,this.entitySelectorsFactory=n,this.entitySelectors$Factory=i}create(t){t=t.trim();const e=this.entityDefinitionService.getDefinition(t),n=this.entityDispatcherFactory.create(t,e.selectId,e.entityDispatcherOptions),i=this.entitySelectorsFactory.create(e.metadata);return{dispatcher:n,entityName:t,selectors:i,selectors$:this.entitySelectors$Factory.create(t,i)}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(An),s.LFG(ln),s.LFG(Ln),s.LFG(Pn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Nn=(()=>{class t{constructor(t){this.entityCollectionServiceElementsFactory=t}create(t){return new In(t,this.entityCollectionServiceElementsFactory)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Mn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Bn=(()=>{class t{constructor(t,e,n,i){this.entityCollectionServiceFactory=t,this.store=i,this.entityActionErrors$=n.entityActionErrors$,this.entityCache$=n.entityCache$,this.reducedActions$=e.reducedActions$}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Nn),s.LFG(An),s.LFG(Pn),s.LFG(B.yh))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Vn=(()=>{class t{constructor(t){this.entityServicesElements=t,this.EntityCollectionServices={}}get entityActionErrors$(){return this.entityServicesElements.entityActionErrors$}get entityCache$(){return this.entityServicesElements.entityCache$}get entityCollectionServiceFactory(){return this.entityServicesElements.entityCollectionServiceFactory}get reducedActions$(){return this.entityServicesElements.reducedActions$}get store(){return this.entityServicesElements.store}dispatch(t){this.store.dispatch(t)}createEntityCollectionService(t){return this.entityCollectionServiceFactory.create(t)}getEntityCollectionService(t){let e=this.EntityCollectionServices[t];return e||(e=this.createEntityCollectionService(t),this.EntityCollectionServices[t]=e),e}registerEntityCollectionService(t,e){this.EntityCollectionServices[e||t.entityName]=t}registerEntityCollectionServices(t){Array.isArray(t)?t.forEach(t=>this.registerEntityCollectionService(t)):Object.keys(t||{}).forEach(e=>{this.registerEntityCollectionService(t[e],e)})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Bn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();class Yn{}var Un=(()=>{return(t=Un||(Un={}))[t.Unchanged=0]="Unchanged",t[t.Added=1]="Added",t[t.Deleted=2]="Deleted",t[t.Updated=3]="Updated",Un;var t})();class jn{constructor(t,e){this.adapter=t,this.selectId=e,this.selectId=e||De}commitAll(t){return 0===Object.keys(t.changeState).length?t:Object.assign(Object.assign({},t),{changeState:{}})}commitMany(t,e){if(null==t||0===t.length)return e;let n=!1;const i=t.reduce((t,e)=>{const i="object"==typeof e?this.selectId(e):e;return t[i]&&(n||(t=Object.assign({},t),n=!0),delete t[i]),t},e.changeState);return n?Object.assign(Object.assign({},e),{changeState:i}):e}commitOne(t,e){return null==t?e:this.commitMany([t],e)}mergeQueryResults(t,e,n){return this.mergeServerUpserts(t,e,Pe.PreserveChanges,n)}mergeSaveAdds(t,e,n){return this.mergeServerUpserts(t,e,Pe.OverwriteChanges,n)}mergeSaveDeletes(t,e,n){const i=t;return e=(n=null==n?Pe.OverwriteChanges:n)===Pe.IgnoreChanges?e:this.commitMany(i,e),this.adapter.removeMany(i,e)}mergeSaveUpdates(t,e,n,i=!1){if(null==t||0===t.length)return e;let s,r=!1,o=e.changeState;switch(n=null==n?Pe.OverwriteChanges:n){case Pe.IgnoreChanges:return s=a(t),this.adapter.updateMany(s,e);case Pe.OverwriteChanges:return o=t.reduce((t,e)=>{const n=e.id;return t[n]&&(r||(t=Object.assign({},t),r=!0),delete t[n]),t},e.changeState),e=r?Object.assign(Object.assign({},e),{changeState:o}):e,s=a(t),this.adapter.updateMany(s,e);case Pe.PreserveChanges:{const n=[];return o=t.reduce((t,e)=>{const i=e.id,s=t[i];if(s){r||(t=Object.assign({},t),r=!0);const n=this.selectId(e.changes),o=s;n!==i&&delete t[i];const a=Object.assign(Object.assign({},o.originalValue),e.changes);t[n]=Object.assign(Object.assign({},o),{originalValue:a})}else n.push(e);return t},e.changeState),e=r?Object.assign(Object.assign({},e),{changeState:o}):e,s=a(n),this.adapter.updateMany(s,e)}}function a(t){return!0===i&&(t=t.filter(t=>!0===t.changed)),t.map(t=>({id:t.id,changes:t.changes}))}}mergeSaveUpserts(t,e,n){return this.mergeServerUpserts(t,e,Pe.OverwriteChanges,n)}mergeServerUpserts(t,e,n,i){if(null==t||0===t.length)return e;let s=!1,r=e.changeState;switch(i=null==i?n:i){case Pe.IgnoreChanges:return this.adapter.upsertMany(t,e);case Pe.OverwriteChanges:return e=this.adapter.upsertMany(t,e),r=t.reduce((t,e)=>{const n=this.selectId(e);return t[n]&&(s||(t=Object.assign({},t),s=!0),delete t[n]),t},e.changeState),s?Object.assign(Object.assign({},e),{changeState:r}):e;case Pe.PreserveChanges:{const n=[];return r=t.reduce((t,e)=>{const i=this.selectId(e);return t[i]?s||(t=Object.assign(Object.assign({},t),{[i]:Object.assign(Object.assign({},t[i]),{originalValue:e})}),s=!0):n.push(e),t},e.changeState),e=this.adapter.upsertMany(n,e),s?Object.assign(Object.assign({},e),{changeState:r}):e}}}trackAddMany(t,e,n){if(n===Pe.IgnoreChanges||null==t||0===t.length)return e;let i=!1;const s=t.reduce((t,n)=>{const s=this.selectId(n);if(null==s||""===s)throw new Error(`${e.entityName} entity add requires a key to be tracked`);return t[s]||(i||(i=!0,t=Object.assign({},t)),t[s]={changeType:Un.Added}),t},e.changeState);return i?Object.assign(Object.assign({},e),{changeState:s}):e}trackAddOne(t,e,n){return null==t?e:this.trackAddMany([t],e,n)}trackDeleteMany(t,e,n){if(n===Pe.IgnoreChanges||null==t||0===t.length)return e;let i=!1;const s=e.entities,r=t.reduce((t,e)=>{const n=s[e];if(n){const i=t[e];i?i.changeType===Un.Added?(r(),delete t[e]):i.changeType===Un.Updated&&(r(),t[e]=Object.assign(Object.assign({},t[e]),{changeType:Un.Deleted})):(r(),t[e]={changeType:Un.Deleted,originalValue:n})}return t;function r(){i||(i=!0,t=Object.assign({},t))}},e.changeState);return i?Object.assign(Object.assign({},e),{changeState:r}):e}trackDeleteOne(t,e,n){return null==t?e:this.trackDeleteMany([t],e,n)}trackUpdateMany(t,e,n){if(n===Pe.IgnoreChanges||null==t||0===t.length)return e;let i=!1;const s=e.entities,r=t.reduce((t,n)=>{const{id:r}=n;if(null==r||""===r)throw new Error(`${e.entityName} entity update requires a key to be tracked`);const o=s[r];return o&&(t[r]||(i||(i=!0,t=Object.assign({},t)),t[r]={changeType:Un.Updated,originalValue:o})),t},e.changeState);return i?Object.assign(Object.assign({},e),{changeState:r}):e}trackUpdateOne(t,e,n){return null==t?e:this.trackUpdateMany([t],e,n)}trackUpsertMany(t,e,n){if(n===Pe.IgnoreChanges||null==t||0===t.length)return e;let i=!1;const s=e.entities,r=t.reduce((t,n)=>{const r=this.selectId(n);if(null==r||""===r)throw new Error(`${e.entityName} entity upsert requires a key to be tracked`);if(!t[r]){i||(i=!0,t=Object.assign({},t));const e=s[r];t[r]=null==e?{changeType:Un.Added}:{changeType:Un.Updated,originalValue:e}}return t},e.changeState);return i?Object.assign(Object.assign({},e),{changeState:r}):e}trackUpsertOne(t,e,n){return null==t?e:this.trackUpsertMany([t],e,n)}undoAll(t){const e=Object.keys(t.changeState),{remove:n,upsert:i}=e.reduce((t,e)=>{const n=t.chgState[e];switch(n.changeType){case Un.Added:t.remove.push(e);break;case Un.Deleted:const i=n.originalValue;i&&t.upsert.push(i);break;case Un.Updated:t.upsert.push(n.originalValue)}return t},{remove:[],upsert:[],chgState:t.changeState});return t=this.adapter.removeMany(n,t),t=this.adapter.upsertMany(i,t),Object.assign(Object.assign({},t),{changeState:{}})}undoMany(t,e){if(null==t||0===t.length)return e;let n=!1;const{changeState:i,remove:s,upsert:r}=t.reduce((t,e)=>{let i=t.changeState;const s="object"==typeof e?this.selectId(e):e,r=i[s];if(r)switch(n||(i=Object.assign({},i),n=!0),delete i[s],t.changeState=i,r.changeType){case Un.Added:t.remove.push(s);break;case Un.Deleted:const e=r.originalValue;e&&t.upsert.push(e);break;case Un.Updated:t.upsert.push(r.originalValue)}return t},{remove:[],upsert:[],changeState:e.changeState});return e=this.adapter.removeMany(s,e),e=this.adapter.upsertMany(r,e),n?Object.assign(Object.assign({},e),{changeState:i}):e}undoOne(t,e){return null==t?e:this.undoMany([t],e)}}class zn{constructor(t,e,n){this.entityName=t,this.definition=e,this.methods={[He.CANCEL_PERSIST]:this.cancelPersist.bind(this),[He.QUERY_ALL]:this.queryAll.bind(this),[He.QUERY_ALL_ERROR]:this.queryAllError.bind(this),[He.QUERY_ALL_SUCCESS]:this.queryAllSuccess.bind(this),[He.QUERY_BY_KEY]:this.queryByKey.bind(this),[He.QUERY_BY_KEY_ERROR]:this.queryByKeyError.bind(this),[He.QUERY_BY_KEY_SUCCESS]:this.queryByKeySuccess.bind(this),[He.QUERY_LOAD]:this.queryLoad.bind(this),[He.QUERY_LOAD_ERROR]:this.queryLoadError.bind(this),[He.QUERY_LOAD_SUCCESS]:this.queryLoadSuccess.bind(this),[He.QUERY_MANY]:this.queryMany.bind(this),[He.QUERY_MANY_ERROR]:this.queryManyError.bind(this),[He.QUERY_MANY_SUCCESS]:this.queryManySuccess.bind(this),[He.SAVE_ADD_MANY]:this.saveAddMany.bind(this),[He.SAVE_ADD_MANY_ERROR]:this.saveAddManyError.bind(this),[He.SAVE_ADD_MANY_SUCCESS]:this.saveAddManySuccess.bind(this),[He.SAVE_ADD_ONE]:this.saveAddOne.bind(this),[He.SAVE_ADD_ONE_ERROR]:this.saveAddOneError.bind(this),[He.SAVE_ADD_ONE_SUCCESS]:this.saveAddOneSuccess.bind(this),[He.SAVE_DELETE_MANY]:this.saveDeleteMany.bind(this),[He.SAVE_DELETE_MANY_ERROR]:this.saveDeleteManyError.bind(this),[He.SAVE_DELETE_MANY_SUCCESS]:this.saveDeleteManySuccess.bind(this),[He.SAVE_DELETE_ONE]:this.saveDeleteOne.bind(this),[He.SAVE_DELETE_ONE_ERROR]:this.saveDeleteOneError.bind(this),[He.SAVE_DELETE_ONE_SUCCESS]:this.saveDeleteOneSuccess.bind(this),[He.SAVE_UPDATE_MANY]:this.saveUpdateMany.bind(this),[He.SAVE_UPDATE_MANY_ERROR]:this.saveUpdateManyError.bind(this),[He.SAVE_UPDATE_MANY_SUCCESS]:this.saveUpdateManySuccess.bind(this),[He.SAVE_UPDATE_ONE]:this.saveUpdateOne.bind(this),[He.SAVE_UPDATE_ONE_ERROR]:this.saveUpdateOneError.bind(this),[He.SAVE_UPDATE_ONE_SUCCESS]:this.saveUpdateOneSuccess.bind(this),[He.SAVE_UPSERT_MANY]:this.saveUpsertMany.bind(this),[He.SAVE_UPSERT_MANY_ERROR]:this.saveUpsertManyError.bind(this),[He.SAVE_UPSERT_MANY_SUCCESS]:this.saveUpsertManySuccess.bind(this),[He.SAVE_UPSERT_ONE]:this.saveUpsertOne.bind(this),[He.SAVE_UPSERT_ONE_ERROR]:this.saveUpsertOneError.bind(this),[He.SAVE_UPSERT_ONE_SUCCESS]:this.saveUpsertOneSuccess.bind(this),[He.ADD_ALL]:this.addAll.bind(this),[He.ADD_MANY]:this.addMany.bind(this),[He.ADD_ONE]:this.addOne.bind(this),[He.REMOVE_ALL]:this.removeAll.bind(this),[He.REMOVE_MANY]:this.removeMany.bind(this),[He.REMOVE_ONE]:this.removeOne.bind(this),[He.UPDATE_MANY]:this.updateMany.bind(this),[He.UPDATE_ONE]:this.updateOne.bind(this),[He.UPSERT_MANY]:this.upsertMany.bind(this),[He.UPSERT_ONE]:this.upsertOne.bind(this),[He.COMMIT_ALL]:this.commitAll.bind(this),[He.COMMIT_MANY]:this.commitMany.bind(this),[He.COMMIT_ONE]:this.commitOne.bind(this),[He.UNDO_ALL]:this.undoAll.bind(this),[He.UNDO_MANY]:this.undoMany.bind(this),[He.UNDO_ONE]:this.undoOne.bind(this),[He.SET_CHANGE_STATE]:this.setChangeState.bind(this),[He.SET_COLLECTION]:this.setCollection.bind(this),[He.SET_FILTER]:this.setFilter.bind(this),[He.SET_LOADED]:this.setLoaded.bind(this),[He.SET_LOADING]:this.setLoading.bind(this)},this.adapter=e.entityAdapter,this.isChangeTracking=!0!==e.noChangeTracking,this.selectId=e.selectId,this.guard=new Ae(t,this.selectId),this.toUpdate=Te(this.selectId),this.entityChangeTracker=n||new jn(this.adapter,this.selectId)}cancelPersist(t){return this.setLoadingFalse(t)}queryAll(t){return this.setLoadingTrue(t)}queryAllError(t,e){return this.setLoadingFalse(t)}queryAllSuccess(t,e){const n=this.extractData(e),i=this.extractMergeStrategy(e);return Object.assign(Object.assign({},this.entityChangeTracker.mergeQueryResults(n,t,i)),{loaded:!0,loading:!1})}queryByKey(t,e){return this.setLoadingTrue(t)}queryByKeyError(t,e){return this.setLoadingFalse(t)}queryByKeySuccess(t,e){const n=this.extractData(e),i=this.extractMergeStrategy(e);return t=null==n?t:this.entityChangeTracker.mergeQueryResults([n],t,i),this.setLoadingFalse(t)}queryLoad(t){return this.setLoadingTrue(t)}queryLoadError(t,e){return this.setLoadingFalse(t)}queryLoadSuccess(t,e){const n=this.extractData(e);return Object.assign(Object.assign({},this.adapter.setAll(n,t)),{loading:!1,loaded:!0,changeState:{}})}queryMany(t,e){return this.setLoadingTrue(t)}queryManyError(t,e){return this.setLoadingFalse(t)}queryManySuccess(t,e){const n=this.extractData(e),i=this.extractMergeStrategy(e);return Object.assign(Object.assign({},this.entityChangeTracker.mergeQueryResults(n,t,i)),{loading:!1})}saveAddMany(t,e){if(this.isOptimistic(e)){const n=this.guard.mustBeEntities(e),i=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackAddMany(n,t,i),t=this.adapter.addMany(n,t)}return this.setLoadingTrue(t)}saveAddManyError(t,e){return this.setLoadingFalse(t)}saveAddManySuccess(t,e){const n=this.guard.mustBeEntities(e),i=this.extractMergeStrategy(e);return t=this.isOptimistic(e)?this.entityChangeTracker.mergeSaveUpserts(n,t,i):this.entityChangeTracker.mergeSaveAdds(n,t,i),this.setLoadingFalse(t)}saveAddOne(t,e){if(this.isOptimistic(e)){const n=this.guard.mustBeEntity(e),i=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackAddOne(n,t,i),t=this.adapter.addOne(n,t)}return this.setLoadingTrue(t)}saveAddOneError(t,e){return this.setLoadingFalse(t)}saveAddOneSuccess(t,e){const n=this.guard.mustBeEntity(e),i=this.extractMergeStrategy(e);if(this.isOptimistic(e)){const e=this.toUpdate(n);t=this.entityChangeTracker.mergeSaveUpdates([e],t,i,!1)}else t=this.entityChangeTracker.mergeSaveAdds([n],t,i);return this.setLoadingFalse(t)}saveDeleteOne(t,e){const n=this.extractData(e),i="object"==typeof n?this.selectId(n):n,s=t.changeState[i];if(s&&(s.changeType===Un.Added?(t=this.adapter.removeOne(i,t),t=this.entityChangeTracker.commitOne(i,t),e.payload.skip=!0):t=this.entityChangeTracker.trackDeleteOne(i,t)),this.isOptimistic(e)){const n=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackDeleteOne(i,t,n),t=this.adapter.removeOne(i,t)}return this.setLoadingTrue(t)}saveDeleteOneError(t,e){return this.setLoadingFalse(t)}saveDeleteOneSuccess(t,e){const n=this.extractData(e);if(this.isOptimistic(e)){const i=this.extractMergeStrategy(e);t=this.entityChangeTracker.mergeSaveDeletes([n],t,i)}else t=this.adapter.removeOne(n,t),t=this.entityChangeTracker.commitOne(n,t);return this.setLoadingFalse(t)}saveDeleteMany(t,e){const n=this.extractData(e).map(t=>"object"==typeof t?this.selectId(t):t);if(n.forEach(n=>{const i=t.changeState[n];i&&(i.changeType===Un.Added?(t=this.adapter.removeOne(n,t),t=this.entityChangeTracker.commitOne(n,t),e.payload.skip=!0):t=this.entityChangeTracker.trackDeleteOne(n,t))}),this.isOptimistic(e)){const i=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackDeleteMany(n,t,i),t=this.adapter.removeMany(n,t)}return this.setLoadingTrue(t)}saveDeleteManyError(t,e){return this.setLoadingFalse(t)}saveDeleteManySuccess(t,e){const n=this.extractData(e);if(this.isOptimistic(e)){const i=this.extractMergeStrategy(e);t=this.entityChangeTracker.mergeSaveDeletes(n,t,i)}else t=this.adapter.removeMany(n,t),t=this.entityChangeTracker.commitMany(n,t);return this.setLoadingFalse(t)}saveUpdateOne(t,e){const n=this.guard.mustBeUpdate(e);if(this.isOptimistic(e)){const i=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackUpdateOne(n,t,i),t=this.adapter.updateOne(n,t)}return this.setLoadingTrue(t)}saveUpdateOneError(t,e){return this.setLoadingFalse(t)}saveUpdateOneSuccess(t,e){const n=this.guard.mustBeUpdateResponse(e),i=this.isOptimistic(e),s=this.extractMergeStrategy(e);return t=this.entityChangeTracker.mergeSaveUpdates([n],t,s,i),this.setLoadingFalse(t)}saveUpdateMany(t,e){const n=this.guard.mustBeUpdates(e);if(this.isOptimistic(e)){const i=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackUpdateMany(n,t,i),t=this.adapter.updateMany(n,t)}return this.setLoadingTrue(t)}saveUpdateManyError(t,e){return this.setLoadingFalse(t)}saveUpdateManySuccess(t,e){const n=this.guard.mustBeUpdateResponses(e),i=(this.isOptimistic(e),this.extractMergeStrategy(e));return t=this.entityChangeTracker.mergeSaveUpdates(n,t,i,!1),this.setLoadingFalse(t)}saveUpsertOne(t,e){if(this.isOptimistic(e)){const n=this.guard.mustBeEntity(e),i=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackUpsertOne(n,t,i),t=this.adapter.upsertOne(n,t)}return this.setLoadingTrue(t)}saveUpsertOneError(t,e){return this.setLoadingFalse(t)}saveUpsertOneSuccess(t,e){const n=this.guard.mustBeEntity(e),i=this.extractMergeStrategy(e);return t=this.entityChangeTracker.mergeSaveUpserts([n],t,i),this.setLoadingFalse(t)}saveUpsertMany(t,e){if(this.isOptimistic(e)){const n=this.guard.mustBeEntities(e),i=this.extractMergeStrategy(e);t=this.entityChangeTracker.trackUpsertMany(n,t,i),t=this.adapter.upsertMany(n,t)}return this.setLoadingTrue(t)}saveUpsertManyError(t,e){return this.setLoadingFalse(t)}saveUpsertManySuccess(t,e){const n=this.guard.mustBeEntities(e),i=this.extractMergeStrategy(e);return t=this.entityChangeTracker.mergeSaveUpserts(n,t,i),this.setLoadingFalse(t)}addAll(t,e){const n=this.guard.mustBeEntities(e);return Object.assign(Object.assign({},this.adapter.setAll(n,t)),{loading:!1,loaded:!0,changeState:{}})}addMany(t,e){const n=this.guard.mustBeEntities(e),i=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackAddMany(n,t,i),this.adapter.addMany(n,t)}addOne(t,e){const n=this.guard.mustBeEntity(e),i=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackAddOne(n,t,i),this.adapter.addOne(n,t)}removeMany(t,e){const n=this.guard.mustBeKeys(e),i=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackDeleteMany(n,t,i),this.adapter.removeMany(n,t)}removeOne(t,e){const n=this.guard.mustBeKey(e),i=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackDeleteOne(n,t,i),this.adapter.removeOne(n,t)}removeAll(t,e){return Object.assign(Object.assign({},this.adapter.removeAll(t)),{loaded:!1,loading:!1,changeState:{}})}updateMany(t,e){const n=this.guard.mustBeUpdates(e),i=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackUpdateMany(n,t,i),this.adapter.updateMany(n,t)}updateOne(t,e){const n=this.guard.mustBeUpdate(e),i=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackUpdateOne(n,t,i),this.adapter.updateOne(n,t)}upsertMany(t,e){const n=this.guard.mustBeEntities(e),i=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackUpsertMany(n,t,i),this.adapter.upsertMany(n,t)}upsertOne(t,e){const n=this.guard.mustBeEntity(e),i=this.extractMergeStrategy(e);return t=this.entityChangeTracker.trackUpsertOne(n,t,i),this.adapter.upsertOne(n,t)}commitAll(t){return this.entityChangeTracker.commitAll(t)}commitMany(t,e){return this.entityChangeTracker.commitMany(this.extractData(e),t)}commitOne(t,e){return this.entityChangeTracker.commitOne(this.extractData(e),t)}undoAll(t){return this.entityChangeTracker.undoAll(t)}undoMany(t,e){return this.entityChangeTracker.undoMany(this.extractData(e),t)}undoOne(t,e){return this.entityChangeTracker.undoOne(this.extractData(e),t)}setChangeState(t,e){const n=this.extractData(e);return t.changeState===n?t:Object.assign(Object.assign({},t),{changeState:n})}setCollection(t,e){const n=this.extractData(e);return t===n?t:n}setFilter(t,e){const n=this.extractData(e);return t.filter===n?t:Object.assign(Object.assign({},t),{filter:n})}setLoaded(t,e){const n=!0===this.extractData(e)||!1;return t.loaded===n?t:Object.assign(Object.assign({},t),{loaded:n})}setLoading(t,e){return this.setLoadingFlag(t,this.extractData(e))}setLoadingFalse(t){return this.setLoadingFlag(t,!1)}setLoadingTrue(t){return this.setLoadingFlag(t,!0)}setLoadingFlag(t,e){return t.loading===(e=!0===e)?t:Object.assign(Object.assign({},t),{loading:e})}extractData(t){return t.payload&&t.payload.data}extractMergeStrategy(t){return this.isChangeTracking?t.payload&&t.payload.mergeStrategy:Pe.IgnoreChanges}isOptimistic(t){return t.payload&&!0===t.payload.isOptimistic}}let qn=(()=>{class t{constructor(t){this.entityDefinitionService=t}create(t){const e=this.entityDefinitionService.getDefinition(t);return new zn(t,e).methods}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(ln))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Gn=(()=>{class t{constructor(t){this.methodsFactory=t}create(t){const e=this.methodsFactory.create(t);return function(t,n){const i=e[n.payload.entityOp];return i?i(t,n):t}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(qn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Hn=(()=>{class t{constructor(t,e){this.entityCollectionReducerFactory=t,this.entityCollectionReducers={},this.entityCollectionMetaReducer=B.qC.apply(null,e||[])}getOrCreateReducer(t){let e=this.entityCollectionReducers[t];return e||(e=this.entityCollectionReducerFactory.create(t),e=this.registerReducer(t,e),this.entityCollectionReducers[t]=e),e}registerReducer(t,e){return e=this.entityCollectionMetaReducer(e),this.entityCollectionReducers[t.trim()]=e}registerReducers(t){(t?Object.keys(t):[]).forEach(e=>this.registerReducer(e,t[e]))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Gn),s.LFG(Cn,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Zn=(()=>{class t{constructor(t,e,n){this.entityCollectionCreator=t,this.entityCollectionReducerRegistry=e,this.logger=n}create(){return(function(t={},e){switch(e.type){case Me.CLEAR_COLLECTIONS:return this.clearCollectionsReducer(t,e);case Me.LOAD_COLLECTIONS:return this.loadCollectionsReducer(t,e);case Me.MERGE_QUERY_SET:return this.mergeQuerySetReducer(t,e);case Me.SAVE_ENTITIES:return this.saveEntitiesReducer(t,e);case Me.SAVE_ENTITIES_CANCEL:return this.saveEntitiesCancelReducer(t,e);case Me.SAVE_ENTITIES_ERROR:return this.saveEntitiesErrorReducer(t,e);case Me.SAVE_ENTITIES_SUCCESS:return this.saveEntitiesSuccessReducer(t,e);case Me.SET_ENTITY_CACHE:return e.payload.cache}const n=e.payload;return n&&n.entityName&&n.entityOp&&!n.error?this.applyCollectionReducer(t,e):t}).bind(this)}clearCollectionsReducer(t,e){let{collections:n}=e.payload;const i=He.REMOVE_ALL;return n||(n=Object.keys(t)),n.reduce((t,n)=>this.applyCollectionReducer(t,{type:`[${n}] ${e.type}`,payload:{entityName:n,entityOp:i}}),t)}loadCollectionsReducer(t,e){const{collections:n}=e.payload,i=He.ADD_ALL;return Object.keys(n).reduce((t,s)=>this.applyCollectionReducer(t,{type:`[${s}] ${e.type}`,payload:{entityName:s,entityOp:i,data:n[s]}}),t)}mergeQuerySetReducer(t,e){let{mergeStrategy:n,querySet:i}=e.payload;n=null===n?Pe.PreserveChanges:n;const s=He.QUERY_MANY_SUCCESS;return Object.keys(i).reduce((t,r)=>this.applyCollectionReducer(t,{type:`[${r}] ${e.type}`,payload:{entityName:r,entityOp:s,data:i[r],mergeStrategy:n}}),t)}saveEntitiesReducer(t,e){const{changeSet:n,correlationId:i,isOptimistic:s,mergeStrategy:r,tag:o}=e.payload;try{n.changes.forEach(n=>{const l=n.entityName,c={entityName:l,entityOp:a(n),data:n.entities,correlationId:i,isOptimistic:s,mergeStrategy:r,tag:o},u={type:`[${l}] ${e.type}`,payload:c};if(t=this.applyCollectionReducer(t,u),u.payload.error)throw u.payload.error})}catch(l){e.payload.error=l}return t;function a(t){switch(t.op){case Fe.Add:return He.SAVE_ADD_MANY;case Fe.Delete:return He.SAVE_DELETE_MANY;case Fe.Update:return He.SAVE_UPDATE_MANY;case Fe.Upsert:return He.SAVE_UPSERT_MANY}}}saveEntitiesCancelReducer(t,e){return this.clearLoadingFlags(t,e.payload.entityNames||[])}saveEntitiesErrorReducer(t,e){const n=e.payload.originalAction.payload.changeSet.changes.map(t=>t.entityName);return this.clearLoadingFlags(t,n)}saveEntitiesSuccessReducer(t,e){const{changeSet:n,correlationId:i,isOptimistic:s,mergeStrategy:r,tag:o}=e.payload;return n.changes.forEach(n=>{const l=n.entityName,c={entityName:l,entityOp:a(n),data:n.entities,correlationId:i,isOptimistic:s,mergeStrategy:r,tag:o};t=this.applyCollectionReducer(t,{type:`[${l}] ${e.type}`,payload:c})}),t;function a(t){switch(t.op){case Fe.Add:return He.SAVE_ADD_MANY_SUCCESS;case Fe.Delete:return He.SAVE_DELETE_MANY_SUCCESS;case Fe.Update:return He.SAVE_UPDATE_MANY_SUCCESS;case Fe.Upsert:return He.SAVE_UPSERT_MANY_SUCCESS}}}applyCollectionReducer(t={},e){const n=e.payload.entityName,i=t[n],s=this.entityCollectionReducerRegistry.getOrCreateReducer(n);let r;try{r=s(i||this.entityCollectionCreator.create(n),e)}catch(o){this.logger.error(o),e.payload.error=o}return e.payload.error||i===r?t:Object.assign(Object.assign({},t),{[n]:r})}clearLoadingFlags(t,e){let n=!1;return e.forEach(e=>{const i=t[e];i.loading&&(n||(t=Object.assign({},t),n=!0),t[e]=Object.assign(Object.assign({},i),{loading:!1}))}),t}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Fn),s.LFG(Hn),s.LFG(Xe))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),$n=(()=>{class t{error(t,e){t&&(e?console.error(t,e):console.error(t))}log(t,e){t&&(e?console.log(t,e):console.log(t))}warn(t,e){t&&(e?console.warn(t,e):console.warn(t))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();const Wn=["equipment","information","money","series"];let Qn=(()=>{class t{constructor(t){this.pluralNames={},t&&t.forEach(t=>this.registerPluralNames(t))}pluralize(t){return this.pluralNames[t]||(Wn.indexOf(t.toLowerCase())>=0?t:/[aeiou]y$/.test(t)?t+"s":t.endsWith("y")?t.substr(0,t.length-1)+"ies":/[s|ss|sh|ch|x|z]$/.test(t)?t+"es":t+"s")}registerPluralNames(t){this.pluralNames=Object.assign(Object.assign({},this.pluralNames),t||{})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(Je,8))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),Kn=(()=>{class t{constructor(t,e,n,i,r,o){this.reducerManager=t,this.injector=n,this.entityCacheName=i,this.initialState=r,this.metaReducers=o;const a=i||yn;r="function"==typeof r?r():r;const l=(o||[]).map(t=>t instanceof s.OlP?n.get(t):t);this.entityCacheFeature={key:a,reducers:e.create(),reducerFactory:B.UY,initialState:r||{},metaReducers:l},t.addFeature(this.entityCacheFeature)}static forRoot(e){return{ngModule:t,providers:[{provide:wn,useValue:e.entityCacheMetaReducers?e.entityCacheMetaReducers:[]},{provide:Cn,useValue:e.entityCollectionMetaReducers?e.entityCollectionMetaReducers:[]},{provide:Je,multi:!0,useValue:e.pluralNames?e.pluralNames:{}}]}}ngOnDestroy(){this.reducerManager.removeFeature(this.entityCacheFeature)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.PB),s.LFG(Zn),s.LFG(s.zs3),s.LFG(vn,8),s.LFG(xn,8),s.LFG(wn,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[fn,mn,ke,_n,Zn,En,Fn,Gn,qn,Hn,Mn,Nn,ln,An,Ln,Pn,Bn,{provide:vn,useValue:"entityCache"},{provide:Yn,useClass:Vn},{provide:Xe,useClass:$n}],imports:[[B.Aw]]}),t})(),Xn=(()=>{class t{constructor(t,e,n){this.effectSources=t,this.addEffects(e),this.addEffects(n)}static forRoot(e){return{ngModule:t,providers:[{provide:an,multi:!0,useValue:e.entityMetadata?e.entityMetadata:[]},{provide:wn,useValue:e.entityCacheMetaReducers?e.entityCacheMetaReducers:[]},{provide:Cn,useValue:e.entityCollectionMetaReducers?e.entityCollectionMetaReducers:[]},{provide:Je,multi:!0,useValue:e.pluralNames?e.pluralNames:{}}]}}addEffects(t){this.effectSources.addEffects(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(qt.Ll),s.LFG(On),s.LFG(Rn))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[on,un,hn,On,Rn,{provide:en,useClass:nn},{provide:dn,useClass:pn},{provide:tn,useClass:Qn}],imports:[[Kn,qt.sQ]]}),t})();var Jn=n(41439);const ti="AUTH";class ei{constructor(t,e,n){this.actions$=t,this.localStorageService=e,this.router=n,this.storageKey="xbe3295963d1091720c8513f78f83c216332190ff714a5239c8b49190443be288",this.login=(0,qt.GW)(()=>this.actions$.pipe((0,qt.l4)(q.u.actionLogin),(0,z.b)(t=>{console.log("login"),this.localStorageService.setItem(ti,t.user)})),{dispatch:!1}),this.logout=(0,qt.GW)(()=>this.actions$.pipe((0,qt.l4)(q.u.actionLogout),(0,z.b)(()=>{this.localStorageService.setItem(ti,!1),this.router.navigate(["/login"])})),{dispatch:!1}),this.init$=(0,Jn.P)(()=>{const t=this.localStorageService.getItem(ti);if(t)return(0,te.of)(q.u.actionLogin({user:t}))})}}ei.\u0275fac=function(t){return new(t||ei)(s.LFG(qt.eX),s.LFG(ae.n),s.LFG(o.F0))},ei.\u0275prov=s.Yz7({token:ei,factory:ei.\u0275fac}),function(t,e,n,i){var s,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(o=(r<3?s(o):r>3?s(e,n,o):s(e,n))||o);r>3&&o&&Object.defineProperty(e,n,o)}([(0,qt.Qm)()],ei.prototype,"init$",void 0);let ni=(()=>{class t{constructor(t,e){this.store=t,this.localStorageService=e,this.storageKey="be3295963d1091720c8513f78f83c216332190ff714a5239c8b49190443be288"}intercept(t,e){const n=this.localStorageService.getItem(ti);return t=t.clone({setHeaders:{Authorization:`Bearer ${null==n?void 0:n.access_token}`}}),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.yh),s.LFG(ae.n))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),ii=(()=>{class t extends nn{constructor(t){super(t),this.pluralize=t}getResourceUrls(t,e){let n=this.knownHttpResourceUrls[t];if(!n){const i=sn(e);n={entityResourceUrl:`${i}/${this.pluralize.pluralize(t)}`.toLowerCase(),collectionResourceUrl:`${i}/${this.pluralize.pluralize(t)}`.toLowerCase()},this.registerHttpResourceUrls({[t]:n})}return n}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(tn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var si=n(57404);let ri=(()=>{class t{constructor(t,e){this.store=t,this.notification=e}intercept(t,e){return e.handle(t).pipe((0,_e.K)(t=>{var e;if(401===t.status&&this.store.dispatch(q.u.actionLogout()),429===t.status&&this.notification.showNotification("warning","Too many server requests in the last minute. Wait a moment before retying."),403===t.status&&this.notification.showNotification("warning","You do not have permission to access this resource.."),500===t.status)return(0,Ce._)(t);if(422===t.status){const n=null===(e=null==t?void 0:t.error)||void 0===e?void 0:e.errors;return(0,Ce._)(n)}return(0,Ce._)(t)}))}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(B.yh),s.LFG(si.g))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})();var oi=n(3679),ai=n(98295),li=n(49983),ci=n(76627),ui=n(4885);function hi(t,e){1&t&&(s.TgZ(0,"div",17),s._UZ(1,"mat-spinner",18),s.qZA()),2&t&&(s.xp6(1),s.Q6J("diameter",48))}function di(t,e){if(1&t&&(s.TgZ(0,"div",19),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.hij(" ",t.loginError," ")}}const pi=function(){return["/forgot-password"]};let fi=(()=>{class t{constructor(t,e,n,i,s){this.fb=t,this.store=e,this.route=n,this.router=i,this.authenticationService=s,this.loginError="",this.loader=!1,this.loginForm=t.group({email:["",[oi.kI.required,oi.kI.email]],password:["",oi.kI.required]}),this.store.pipe((0,B.Ys)(G.Gw)).subscribe(t=>this.companyName=t)}ngOnInit(){this.theme$=this.store.pipe((0,B.Ys)(V.$v)),this.store.dispatch(q.K.actionLogout()),this.returnUrl="/"}get email(){return this.loginForm.get("email")}get password(){return this.loginForm.get("password")}login(){this.loginError="",this.loader=!0,this.authenticationService.login(this.email.value,this.password.value).pipe((0,z.b)(t=>{this.loader=!1,this.store.dispatch(q.K.actionLogin({user:t})),this.store.pipe((0,B.Ys)(G.Al)).subscribe(t=>{this.loginScopes=t,(null==t?void 0:t.find(t=>"am-landlord"===t))&&(this.returnUrl="/landlord/dashboard"),(null==t?void 0:t.find(t=>"am-tenant"===t))&&(this.returnUrl="/tenant/dashboard")}),this.router.navigate([this.returnUrl])})).subscribe(()=>{},t=>{this.loginError=t.error.message?t.error.message:"Server Error. Please try again later.",this.loader=!1})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(oi.qu),s.Y36(B.yh),s.Y36(o.gz),s.Y36(o.F0),s.Y36(H.$))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:27,vars:10,consts:[[1,"card"],[1,"card-header","card-header-info"],[1,"card-category"],[1,"card-body"],["class","spinner",4,"ngIf"],["class","alert alert-danger",4,"ngIf"],[3,"formGroup"],["matInput","","type","email","placeholder","Email","formControlName","email"],["matSuffix","",1,"material-icons"],["align","start",1,"form__error"],["matInput","","type","password","placeholder","Password","formControlName","password"],[1,"divider","divider-md"],[1,"additional-info"],[1,"divider-h"],[3,"routerLink"],["mat-raised-button","","type","submit","color","primary",1,"pull-right","btn",3,"disabled","click"],[1,"clearfix"],[1,"spinner"],[3,"diameter"],[1,"alert","alert-danger"]],template:function(t,e){1&t&&(s.TgZ(0,"div"),s.ALo(1,"async"),s.TgZ(2,"div",0),s.TgZ(3,"div",1),s.TgZ(4,"p",2),s._uU(5,"Log In"),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.YNc(7,hi,2,1,"div",4),s.YNc(8,di,2,1,"div",5),s.TgZ(9,"form",6),s.TgZ(10,"mat-form-field"),s._UZ(11,"input",7),s.TgZ(12,"mat-icon",8),s._uU(13,"mail_outline"),s.qZA(),s._UZ(14,"mat-error",9),s.qZA(),s.TgZ(15,"mat-form-field"),s._UZ(16,"input",10),s.TgZ(17,"mat-icon",8),s._uU(18,"lock_outline"),s.qZA(),s.qZA(),s._UZ(19,"div",11),s.TgZ(20,"div",12),s._UZ(21,"span",13),s.TgZ(22,"a",14),s._uU(23,"Forgot your password?"),s.qZA(),s.TgZ(24,"button",15),s.NdJ("click",function(){return e.login()}),s._uU(25," Login "),s.qZA(),s.qZA(),s._UZ(26,"div",16),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.Tol("login-container "+s.lcZ(1,7,e.theme$)),s.xp6(7),s.Q6J("ngIf",e.loader),s.xp6(1),s.Q6J("ngIf",e.loginError),s.xp6(1),s.Q6J("formGroup",e.loginForm),s.xp6(13),s.Q6J("routerLink",s.DdM(9,pi)),s.xp6(2),s.Q6J("disabled",!e.loginForm.valid||e.loader))},directives:[a.O5,oi._Y,oi.JL,oi.sg,ai.KE,li.Nt,oi.Fj,oi.JJ,oi.u,ci.Hw,ai.R9,ai.TO,o.yS,ft.lW,ui.$g],pipes:[a.Ov],encapsulation:2}),t})();var mi=n(19333);function gi(t,e){if(1&t&&(s.TgZ(0,"mat-error",18),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.formErrors.email)}}function _i(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",19),s.NdJ("click",function(){return s.CHM(t),s.oxw().requestPassword()}),s._uU(1," Request Reset Code "),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",!t.form.valid)}}function bi(t,e){1&t&&(s.TgZ(0,"div",20),s._UZ(1,"mat-spinner",21),s.qZA()),2&t&&(s.xp6(1),s.Q6J("diameter",30))}let yi=(()=>{class t{constructor(t,e,n,i){this.fb=t,this.userService=e,this.notification=n,this.router=i,this.loader=!1,this.form=this.fb.group({email:["",[oi.kI.required,oi.kI.minLength(3)]]})}ngOnInit(){}requestPassword(){const t=Object.assign({},this.user,this.form.value);this.loader=!0,this.userService.forgotPassword(t).subscribe(t=>{this.loader=!1,this.router.navigate(["reset-password"]),this.notification.showNotification("info","Check your email for password reset code.")},t=>{if(this.loader=!1,0!==t.payment&&(this.formErrors=t,this.formErrors))for(const e in this.formErrors)this.form&&this.form.controls[e].setErrors({incorrect:!0})})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(oi.qu),s.Y36(mi.f),s.Y36(si.g),s.Y36(o.F0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:21,vars:4,consts:[[1,"row","login-container"],[1,"col-md-12"],[1,"card"],[1,"card-header","card-header-danger"],[1,"card-category"],[1,"card-body"],[3,"formGroup"],[1,"row"],[1,"example-full-width"],["matInput","","placeholder"," Email Address","formControlName","email","type","text"],["matSuffix","",1,"material-icons"],["align","start","class","form__error",4,"ngIf"],[1,"divider","divider-md"],[1,"additional-info"],[1,"divider-h"],["mat-raised-button","","type","submit","class","btn btn-danger pull-right",3,"disabled","click",4,"ngIf"],["class","spinner",4,"ngIf"],[1,"clearfix"],["align","start",1,"form__error"],["mat-raised-button","","type","submit",1,"btn","btn-danger","pull-right",3,"disabled","click"],[1,"spinner"],[3,"diameter"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"div",3),s.TgZ(4,"p",4),s._uU(5,"Forgot Password"),s.qZA(),s.qZA(),s.TgZ(6,"div",5),s.TgZ(7,"form",6),s.TgZ(8,"div",7),s.TgZ(9,"div",1),s.TgZ(10,"mat-form-field",8),s._UZ(11,"input",9),s.TgZ(12,"mat-icon",10),s._uU(13,"mail_outline"),s.qZA(),s.YNc(14,gi,2,1,"mat-error",11),s.qZA(),s.qZA(),s.qZA(),s._UZ(15,"div",12),s.TgZ(16,"div",13),s._UZ(17,"span",14),s.YNc(18,_i,2,1,"button",15),s.YNc(19,bi,2,1,"div",16),s.qZA(),s._UZ(20,"div",17),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(7),s.Q6J("formGroup",e.form),s.xp6(7),s.Q6J("ngIf",null==e.formErrors?null:e.formErrors.email),s.xp6(4),s.Q6J("ngIf",!e.loader),s.xp6(1),s.Q6J("ngIf",e.loader))},directives:[oi._Y,oi.JL,oi.sg,ai.KE,li.Nt,oi.Fj,oi.JJ,oi.u,ci.Hw,ai.R9,a.O5,ai.TO,ft.lW,ui.$g],encapsulation:2}),t})(),vi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:13,vars:0,consts:[[1,"row"],[1,"col-md-8"],[1,"card"],[1,"card-header","card-header-danger"],[1,"card-title"],[1,"card-category"],[1,"card-body"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"div",3),s.TgZ(4,"h4",4),s._uU(5,"Signal Loans"),s.qZA(),s.TgZ(6,"p",5),s._uU(7,"Confirm Email"),s.qZA(),s.qZA(),s.TgZ(8,"div",6),s._uU(9," An email has been send to "),s.TgZ(10,"strong"),s._uU(11,"username@mail.com"),s.qZA(),s._uU(12,". Please check for an email from us and click on the included link to reset your password. "),s.qZA(),s.qZA(),s.qZA(),s.qZA())},encapsulation:2}),t})(),wi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:10,vars:0,consts:[[1,"row"],[1,"col-md-8"],[1,"card"],[1,"card-header","card-header-danger"],[1,"card-title"],[1,"card-category"],[1,"card-body"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"div",3),s.TgZ(4,"h4",4),s._uU(5,"Signal Loans"),s.qZA(),s.TgZ(6,"p",5),s._uU(7,"404 Error."),s.qZA(),s.qZA(),s.TgZ(8,"div",6),s._uU(9," Error 404. Something went wrong. "),s.qZA(),s.qZA(),s.qZA(),s.qZA())},encapsulation:2}),t})(),Ci=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:10,vars:0,consts:[[1,"row"],[1,"col-md-8"],[1,"card"],[1,"card-header","card-header-danger"],[1,"card-title"],[1,"card-category"],[1,"card-body"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"div",3),s.TgZ(4,"h4",4),s._uU(5,"Signal Loans"),s.qZA(),s.TgZ(6,"p",5),s._uU(7,"500 Error"),s.qZA(),s.qZA(),s.TgZ(8,"div",6),s._uU(9," Error 500. Server error. "),s.qZA(),s.qZA(),s.qZA(),s.qZA())},encapsulation:2}),t})();function xi(t,e){if(1&t&&(s.TgZ(0,"mat-error",22),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.formErrors.token)}}function Si(t,e){if(1&t&&(s.TgZ(0,"mat-error",22),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.formErrors.email)}}function Ei(t,e){if(1&t&&(s.TgZ(0,"mat-error",22),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.formErrors.password)}}function ki(t,e){if(1&t&&(s.TgZ(0,"mat-error",22),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.formErrors.password_confirmation)}}function Ai(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",23),s.NdJ("click",function(){return s.CHM(t),s.oxw().resetPassword()}),s._uU(1," Reset Password "),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("disabled",!t.form.valid)}}function Di(t,e){1&t&&(s.TgZ(0,"div",24),s._UZ(1,"mat-spinner",25),s.qZA()),2&t&&(s.xp6(1),s.Q6J("diameter",30))}const Oi=o.Bz.forChild([{path:"login",component:fi},{path:"forgot-password",component:yi},{path:"reset-password",component:(()=>{class t{constructor(t,e,n,i){this.fb=t,this.userService=e,this.notification=n,this.router=i,this.loader=!1,this.form=this.fb.group({email:["",[oi.kI.required,oi.kI.minLength(3)]],token:["",[oi.kI.required,oi.kI.minLength(3)]],password:["",[oi.kI.required,oi.kI.minLength(3)]],password_confirmation:["",[oi.kI.required,oi.kI.minLength(3)]]})}ngOnInit(){}resetPassword(){const t=Object.assign({},this.resetModel,this.form.value);console.log(t),this.loader=!0,this.userService.resetPassword(t).subscribe(t=>{this.loader=!1,this.notification.showNotification("success","Success !! Password reset is complete."),this.notification.showNotification("success","You may now login with your new password."),this.router.navigate(["login"])},t=>{if(this.loader=!1,0!==t.payment&&(this.formErrors=t,this.formErrors))for(const e in this.formErrors)this.form&&this.form.controls[e].setErrors({incorrect:!0})})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(oi.qu),s.Y36(mi.f),s.Y36(si.g),s.Y36(o.F0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["ng-component"]],decls:45,vars:7,consts:[[1,"row","login-container"],[1,"col-md-12"],[1,"card"],[1,"card-header","card-header-danger"],[1,"card-category"],[1,"card-body"],[3,"formGroup"],[1,"row"],[1,"example-full-width"],["matInput","","placeholder","Reset Code","formControlName","token","type","text"],["matSuffix","",1,"material-icons"],["align","start"],["align","start","class","form__error",4,"ngIf"],["matInput","","placeholder","Email Address","formControlName","email","type","text"],["matInput","","placeholder","New Password","formControlName","password","type","password"],["matInput","","placeholder","Confirm Password","formControlName","password_confirmation","type","password"],[1,"divider","divider-md"],[1,"additional-info"],[1,"divider-h"],["mat-raised-button","","type","submit","class","btn btn-danger pull-right",3,"disabled","click",4,"ngIf"],["class","spinner",4,"ngIf"],[1,"clearfix"],["align","start",1,"form__error"],["mat-raised-button","","type","submit",1,"btn","btn-danger","pull-right",3,"disabled","click"],[1,"spinner"],[3,"diameter"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"div",2),s.TgZ(3,"div",3),s.TgZ(4,"p",4),s._uU(5,"Reset Password"),s.qZA(),s.qZA(),s.TgZ(6,"div",5),s.TgZ(7,"form",6),s.TgZ(8,"div",7),s.TgZ(9,"div",1),s.TgZ(10,"mat-form-field",8),s._UZ(11,"input",9),s.TgZ(12,"mat-icon",10),s._uU(13,"confirmation_number"),s.qZA(),s.TgZ(14,"mat-hint",11),s.TgZ(15,"strong"),s._uU(16,"We sent this code to your email."),s.qZA(),s.qZA(),s.YNc(17,xi,2,1,"mat-error",12),s.qZA(),s.qZA(),s.qZA(),s.TgZ(18,"div",7),s.TgZ(19,"div",1),s.TgZ(20,"mat-form-field",8),s._UZ(21,"input",13),s.TgZ(22,"mat-icon",10),s._uU(23,"mail_outline"),s.qZA(),s.YNc(24,Si,2,1,"mat-error",12),s.qZA(),s.qZA(),s.qZA(),s.TgZ(25,"div",7),s.TgZ(26,"div",1),s.TgZ(27,"mat-form-field",8),s._UZ(28,"input",14),s.TgZ(29,"mat-icon",10),s._uU(30,"lock"),s.qZA(),s.YNc(31,Ei,2,1,"mat-error",12),s.qZA(),s.qZA(),s.qZA(),s.TgZ(32,"div",7),s.TgZ(33,"div",1),s.TgZ(34,"mat-form-field",8),s._UZ(35,"input",15),s.TgZ(36,"mat-icon",10),s._uU(37,"lock"),s.qZA(),s.YNc(38,ki,2,1,"mat-error",12),s.qZA(),s.qZA(),s.qZA(),s._UZ(39,"div",16),s.TgZ(40,"div",17),s._UZ(41,"span",18),s.YNc(42,Ai,2,1,"button",19),s.YNc(43,Di,2,1,"div",20),s.qZA(),s._UZ(44,"div",21),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(7),s.Q6J("formGroup",e.form),s.xp6(10),s.Q6J("ngIf",null==e.formErrors?null:e.formErrors.token),s.xp6(7),s.Q6J("ngIf",null==e.formErrors?null:e.formErrors.email),s.xp6(7),s.Q6J("ngIf",null==e.formErrors?null:e.formErrors.password),s.xp6(7),s.Q6J("ngIf",null==e.formErrors?null:e.formErrors.password_confirmation),s.xp6(4),s.Q6J("ngIf",!e.loader),s.xp6(1),s.Q6J("ngIf",e.loader))},directives:[oi._Y,oi.JL,oi.sg,ai.KE,li.Nt,oi.Fj,oi.JJ,oi.u,ci.Hw,ai.R9,ai.bx,a.O5,ai.TO,ft.lW,ui.$g],encapsulation:2}),t})()},{path:"confirm-email",component:vi},{path:"404",component:wi},{path:"500",component:Ci}]),Ti=(0,B.Lq)({user:void 0},(0,B.on)(q.u.actionLogin,(t,e)=>({user:e.user})),(0,B.on)(q.u.actionSettings,(t,e)=>({user:e.user})),(0,B.on)(q.u.actionLogout,t=>({user:void 0}))),Ri=(0,B.Lq)({user:void 0},(0,B.on)(q.K.actionLogin,(t,e)=>({user:e.user})),(0,B.on)(q.K.actionLogout,t=>({user:void 0})));let Ii=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[],imports:[[Oi,Mt.m,B.Aw.forFeature("auth",Ti),B.Aw.forFeature("authentication",Ri),qt.sQ.forFeature([ei])]]}),t})();var Fi=n(31394);const Li={root:"http://localhost/2020/Rental/api/public/api/v1",timeout:6e4};let Pi=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t,bootstrap:[Yt]}),t.\u0275inj=s.cJS({providers:[{provide:Fi.gx,useValue:{showError:!0}},{provide:Dt.TP,useClass:ni,multi:!0},{provide:Dt.TP,useClass:ri,multi:!0},{provide:en,useClass:ii},{provide:pe.Ad,useValue:"en-GB"},{provide:Ke,useValue:Li}],imports:[[r.PW,Mt.m,de,Nt,o.Bz,Pt,Ii,Ut.FT.instrument({maxAge:25,logOnly:jt.N.production}),Xn.forRoot({})]]}),t})();jt.N.production&&(0,s.G48)(),i.q6().bootstrapModule(Pi)}},function(t){t(t.s=92626)}]);