-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmain-es2015.09564362fc0babf6f550.js
More file actions
2 lines (2 loc) · 453 KB
/
main-es2015.09564362fc0babf6f550.js
File metadata and controls
2 lines (2 loc) · 453 KB
1
2
(self.webpackChunkrxjs_dev=self.webpackChunkrxjs_dev||[]).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},97175:function(t,e,n){"use strict";n.d(e,{l3:function(){return s},_j:function(){return r},LC:function(){return i},ZN:function(){return f},jt:function(){return a},vP:function(){return c},SB:function(){return u},oB:function(){return l},eR:function(){return h},X$:function(){return o},ZE:function(){return p},k1:function(){return m}});class r{}class i{}const s="*";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 c(t,e=null){return{type:2,steps:t,options:e}}function l(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function d(t){Promise.resolve(null).then(t)}class f{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){d(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class p{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,r=0;const i=this.players.length;0==i?d(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const m="!"},51606:function(t,e,n){"use strict";n.d(e,{rt:function(){return Z},kH:function(){return B},Em:function(){return w},tE:function(){return j},qV:function(){return T},qm:function(){return q},Kd:function(){return D},X6:function(){return k},yG:function(){return I}});var r=n(54364),i=n(2316),s=n(20749),o=n(90930),a=n(69606),c=n(47599),l=n(90084),u=n(39349),h=n(71775),d=n(76477),f=n(49005),p=n(35116),m=n(99454),g=n(52249),y=n(44094),_=n(20657),v=n(36145),b=n(90851);class w extends class{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.x,this._typeaheadSubscription=o.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new s.x,this.change=new s.x,t instanceof i.n_E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,u.b)(t=>this._pressedLetters.push(t)),(0,h.b)(t),(0,d.h)(()=>this._pressedLetters.length>0),(0,f.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const r=(this._activeItemIndex+n)%e.length,i=e[r];if(!this._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(r);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 l.Mf:return void this.tabOut.next();case l.JH:if(this._vertical&&n){this.setNextItemActive();break}return;case l.LH:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.SV:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.oh:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.Sd:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case l.uR:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||(0,l.Vb)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=l.A&&e<=l.Z||e>=l.xE&&e<=l.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),r=e[n];this._activeItem=null==r?null:r,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 r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let S=(()=>{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===C(e)||!this.isVisible(e)))return!1;let n=t.nodeName.toLowerCase(),r=C(t);return t.hasAttribute("contenteditable")?-1!==r:!("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!==r:"video"===n?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||E(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(v.t4))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(v.t4))},token:t,providedIn:"root"}),t})();function E(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function C(t){if(!E(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class x{constructor(t,e,n,r,i=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),!this._checker.isFocusable(e)){const n=this._getFirstTabbableElement(e);return null==n||n.focus(t),!!n}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){const e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){const e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(t)}}let T=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new x(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(S),i.LFG(i.R0b),i.LFG(r.K0))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(S),i.LFG(i.R0b),i.LFG(r.K0))},token:t,providedIn:"root"}),t})();function k(t){return 0===t.offsetX&&0===t.offsetY}function I(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 A=new i.OlP("cdk-input-modality-detector-options"),F={ignoreKeys:[l.zL,l.jx,l.b2,l.MW,l.JU]},O=(0,v.i$)({passive:!0,capture:!0});let R=(()=>{class t{constructor(t,e,n,r){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,v.sA)(t))},this._onMousedown=t=>{Date.now()-this._lastTouchMs<650||(this._modality.next(k(t)?"keyboard":"mouse"),this._mostRecentTarget=(0,v.sA)(t))},this._onTouchstart=t=>{I(t)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,v.sA)(t))},this._options=Object.assign(Object.assign({},F),r),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,O),n.addEventListener("mousedown",this._onMousedown,O),n.addEventListener("touchstart",this._onTouchstart,O)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,O),document.removeEventListener("mousedown",this._onMousedown,O),document.removeEventListener("touchstart",this._onTouchstart,O))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(v.t4),i.LFG(i.R0b),i.LFG(r.K0),i.LFG(A,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(v.t4),i.LFG(i.R0b),i.LFG(r.K0),i.LFG(A,8))},token:t,providedIn:"root"}),t})();const N=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),L=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let D=(()=>{class t{constructor(t,e,n,r){this._ngZone=e,this._defaultOptions=r,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let r,i;return 1===e.length&&"number"==typeof e[0]?i=e[0]:[r,i]=e,this.clear(),clearTimeout(this._previousTimeout),r||(r=n&&n.politeness?n.politeness:"polite"),null==i&&n&&(i=n.duration),this._liveElement.setAttribute("aria-live",r),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof i&&(this._previousTimeout=setTimeout(()=>this.clear(),i))},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 r=0;r<e.length;r++)e[r].parentNode.removeChild(e[r]);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)(i.LFG(N,8),i.LFG(i.R0b),i.LFG(r.K0),i.LFG(L,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(N,8),i.LFG(i.R0b),i.LFG(r.K0),i.LFG(L,8))},token:t,providedIn:"root"}),t})();const P=new i.OlP("cdk-focus-monitor-default-options"),M=(0,v.i$)({passive:!0,capture:!0});let j=(()=>{class t{constructor(t,e,n,r,i){this._ngZone=t,this._platform=e,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new s.x,this._rootNodeFocusAndBlurListener=t=>{const e=(0,v.sA)(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let r=e;r;r=r.parentElement)n.call(this,t,r)},this._document=r,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=(0,_.fI)(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,c.of)(null);const r=(0,v.kV)(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return e&&(i.checkChildren=!0),i.subject;const o={checkChildren:e,subject:new s.x,rootNode:r};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=(0,_.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 r=(0,_.fI)(t);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOrigin(e),"function"==typeof r.focus&&r.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),r=(0,v.sA)(t);!n||!n.checkChildren&&e!==r||this._originChanged(e,this._getFocusOrigin(r),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,M),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,M)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,y.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,M),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,M),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,r)=>{(r===t||n.checkChildren&&r.contains(t))&&e.push([r,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.R0b),i.LFG(v.t4),i.LFG(R),i.LFG(r.K0,8),i.LFG(P,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(i.R0b),i.LFG(v.t4),i.LFG(R),i.LFG(r.K0,8),i.LFG(P,8))},token:t,providedIn:"root"}),t})(),B=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new i.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)(i.Y36(i.SBq),i.Y36(j))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const H="cdk-high-contrast-black-on-white",V="cdk-high-contrast-white-on-black",z="cdk-high-contrast-active";let q=(()=>{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,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),r){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(z),t.remove(H),t.remove(V),this._hasCheckedHighContrastMode=!0;const e=this.getHighContrastMode();1===e?(t.add(z),t.add(H)):2===e&&(t.add(z),t.add(V))}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(v.t4),i.LFG(r.K0))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(v.t4),i.LFG(r.K0))},token:t,providedIn:"root"}),t})(),Z=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(q))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[v.ud,b.Q8]]}),t})()},772:function(t,e,n){"use strict";n.d(e,{vT:function(){return a},Is:function(){return o}});var r=n(2316),i=n(54364);const s=new r.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,r.f3M)(i.K0)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new r.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)(r.LFG(s,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(s,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},62604:function(t,e,n){"use strict";n.d(e,{P3:function(){return a},A8:function(){return l},eX:function(){return c},k:function(){return u},Z9:function(){return o}});var r=n(20411),i=n(47599),s=n(2316);function o(t){return t&&"function"==typeof t.connect}class a extends class{}{constructor(t){super(),this._data=t}connect(){return(0,r.b)(this._data)?this._data:(0,i.of)(this._data)}disconnect(){}}class c{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,r,i){t.forEachOperation((t,s,o)=>{let a,c;null==t.previousIndex?(a=this._insertView(()=>n(t,s,o),o,e,r(t)),c=a?1:0):null==o?(this._detachAndCacheView(s,e),c=3):(a=this._moveView(s,o,e,r(t)),c=2),i&&i({context:null==a?void 0:a.context,operation:c,record:t})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,n,r){const i=this._insertViewFromCache(e,n);if(i)return void(i.context.$implicit=r);const s=t();return n.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(t,e){const n=e.detach(t);this._maybeCacheView(n,e)}_moveView(t,e,n,r){const i=n.get(t);return n.move(i,e),i.context.$implicit=r,i}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{const n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}_insertViewFromCache(t,e){const n=this._viewCache.pop();return n&&e.insert(n,t),n||null}}let l=(()=>{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=s.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})();const u=new s.OlP("_ViewRepeater")},90084:function(t,e,n){"use strict";n.d(e,{A:function(){return _},zL:function(){return a},jx:function(){return o},JH:function(){return m},uR:function(){return u},K5:function(){return i},hY:function(){return c},Sd:function(){return h},oh:function(){return d},b2:function(){return w},MW:function(){return b},aO:function(){return y},SV:function(){return p},JU:function(){return s},L_:function(){return l},Mf:function(){return r},LH:function(){return f},Z:function(){return v},xE:function(){return g},Vb:function(){return S}});const r=9,i=13,s=16,o=17,a=18,c=27,l=32,u=35,h=36,d=37,f=38,p=39,m=40,g=48,y=57,_=65,v=90,b=91,w=224;function S(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},90851:function(t,e,n){"use strict";n.d(e,{wD:function(){return u},yq:function(){return l},Q8:function(){return h}});var r=n(20657),i=n(2316),s=n(62431),o=n(20749),a=n(71775);let c=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t})(),l=(()=>{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,r.fI)(t);return new s.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.x,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(c))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,r.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=(0,r.su)(t),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe((0,a.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(l),i.Y36(i.SBq),i.Y36(i.R0b))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[c]}),t})()},36145:function(t,e,n){"use strict";n.d(e,{t4:function(){return u},ud:function(){return h},sA:function(){return y},ht:function(){return g},kV:function(){return m},_i:function(){return p},i$:function(){return d},Mq:function(){return f}});var r=n(2316),i=n(54364);let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(_){s=!1}let o,a,c,l,u=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,i.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!s)&&"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)(r.LFG(r.Lbi))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(r.Lbi))},token:t,providedIn:"root"}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();function d(t){return function(){if(null==o&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>o=!0}))}finally{o=o||!1}return o}()?t:!!t.capture}function f(){if(null==c){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return c=!1,c;if("scrollBehavior"in document.documentElement.style)c=!0;else{const t=Element.prototype.scrollTo;c=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return c}function p(){if("object"!=typeof document||!document)return 0;if(null==a){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"),r=n.style;r.width="2px",r.height="1px",t.appendChild(n),document.body.appendChild(t),a=0,0===t.scrollLeft&&(t.scrollLeft=1,a=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return a}function m(t){if(function(){if(null==l){const t="undefined"!=typeof document?document.head:null;l=!(!t||!t.createShadowRoot&&!t.attachShadow)}return l}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function g(){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 y(t){return t.composedPath?t.composedPath()[0]:t.target}},12770:function(t,e,n){"use strict";n.d(e,{PQ:function(){return w},ZD:function(){return E},mF:function(){return b},Cl:function(){return C},rL:function(){return S}});var r=n(20657),i=n(2316),s=n(3786),o=n(32486),a=n(90930),c={schedule:function(t){var e=requestAnimationFrame,n=cancelAnimationFrame,r=c.delegate;r&&(e=r.requestAnimationFrame,n=r.cancelAnimationFrame);var i=e(function(e){n=void 0,t(e)});return new a.w0(function(){return null==n?void 0:n(i)})},requestAnimationFrame:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=c.delegate;return((null==n?void 0:n.requestAnimationFrame)||requestAnimationFrame).apply(void 0,(0,s.ev)([],(0,s.CR)(t)))},cancelAnimationFrame:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=c.delegate;return((null==n?void 0:n.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,(0,s.ev)([],(0,s.CR)(t)))},delegate:void 0},l=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return(0,s.ZT)(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e._scheduled||(e._scheduled=c.requestAnimationFrame(function(){return e.flush(void 0)})))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(c.cancelAnimationFrame(n),e._scheduled=void 0)},e}(o.o),u=(new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,s.ZT)(e,t),e.prototype.flush=function(t){this._active=!0,this._scheduled=void 0;var e,n=this.actions,r=-1;t=t||n.shift();var i=n.length;do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this._active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(n(65111).v))(l),n(20749)),h=n(47599),d=n(62431),f=n(12027);n(1890);n(20411),n(13256),n(36487),n(52249);var p=n(70074),m=n(76477),g=n(44094),y=(n(57993),n(98578),n(41757),n(36145)),_=n(54364),v=n(772);n(62604);let b=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new u.x,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 d.y(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe((0,p.e)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,h.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,m.h)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,t)&&e.push(r)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=(0,r.fI)(e),i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return(0,f.R)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.R0b),i.LFG(y.t4),i.LFG(_.K0,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(i.R0b),i.LFG(y.t4),i.LFG(_.K0,8))},token:t,providedIn:"root"}),t})(),w=(()=>{class t{constructor(t,e,n,r){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=r,this._destroyed=new u.x,this._elementScrolled=new d.y(t=>this.ngZone.runOutsideAngular(()=>(0,f.R)(this.elementRef.nativeElement,"scroll").pipe((0,g.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,y._i)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==(0,y._i)()?t.left=t.right:1==(0,y._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,y.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 r=this.dir&&"rtl"==this.dir.value;return"start"==t?t=r?"right":e:"end"==t&&(t=r?e:"right"),r&&2==(0,y._i)()?t==e?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:r&&1==(0,y._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)(i.Y36(i.SBq),i.Y36(b),i.Y36(i.R0b),i.Y36(v.Is,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),S=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new u.x,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,r=n.getBoundingClientRect();return{top:-r.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-r.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe((0,p.e)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(y.t4),i.LFG(i.R0b),i.LFG(_.K0,8))},t.\u0275prov=i.Yz7({factory:function(){return new t(i.LFG(y.t4),i.LFG(i.R0b),i.LFG(_.K0,8))},token:t,providedIn:"root"}),t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[v.vT,y.ud,E],v.vT,E]}),t})()},20657:function(t,e,n){"use strict";n.d(e,{Eq:function(){return o},Ig:function(){return i},HM:function(){return a},fI:function(){return c},su:function(){return s}});var r=n(2316);function i(t){return null!=t&&"false"!=`${t}`}function s(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 c(t){return t instanceof r.SBq?t.nativeElement:t}},54364:function(t,e,n){"use strict";n.d(e,{mr:function(){return b},Ov:function(){return U},ez:function(){return Y},K0:function(){return c},Do:function(){return S},V_:function(){return h},Ye:function(){return E},S$:function(){return _},mk:function(){return O},sg:function(){return N},O5:function(){return D},PC:function(){return z},RF:function(){return B},n9:function(){return H},ED:function(){return V},b0:function(){return w},lw:function(){return l},EM:function(){return K},JF:function(){return tt},NF:function(){return W},w_:function(){return a},bD:function(){return Q},q:function(){return s},Mx:function(){return F},HT:function(){return o}});var r=n(2316);let i=null;function s(){return i}function o(t){i||(i=t)}class a{}const c=new r.OlP("DocumentToken");let l=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,r.LFG)(d)}const h=new r.OlP("Location Initialized");let d=(()=>{class t extends l{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(t){const e=s().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=s().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){f()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){f()?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)(r.LFG(c))},t.\u0275prov=(0,r.Yz7)({factory:p,token:t,providedIn:"platform"}),t})();function f(){return!!window.history.pushState}function p(){return new d((0,r.LFG)(c))}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 y(t){return t&&"?"!==t[0]?"?"+t:t}let _=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:v,token:t,providedIn:"root"}),t})();function v(t){const e=(0,r.LFG)(c).location;return new w((0,r.LFG)(l),e&&e.origin||"")}const b=new r.OlP("appBaseHref");let w=(()=>{class t extends _{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+y(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+y(r));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+y(r));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(l),r.LFG(b,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t extends _{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,r){let i=this.prepareExternalUrl(n+y(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){let i=this.prepareExternalUrl(n+y(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(l),r.LFG(b,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),E=(()=>{class t{constructor(t,e){this._subject=new r.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(x(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+y(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,x(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+y(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+y(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)(r.LFG(_),r.LFG(l))},t.normalizeQueryParams=y,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=(0,r.Yz7)({factory:C,token:t,providedIn:"root"}),t})();function C(){return new E((0,r.LFG)(_),(0,r.LFG)(l))}function x(t){return t.replace(/\/index.html$/,"")}var T=(()=>((T=T||{})[T.Zero=0]="Zero",T[T.One=1]="One",T[T.Two=2]="Two",T[T.Few=3]="Few",T[T.Many=4]="Many",T[T.Other=5]="Other",T))();const k=r.kL8;class I{}let A=(()=>{class t extends I{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(k(e||this.locale)(t)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.soG))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();function F(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}let O=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,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,r.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,r.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)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class R{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let N=(()=>{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,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new R(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new L(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const s=new L(t,i);e.push(s)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=r,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)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class L{constructor(t,e){this.record=t,this.view=e}}let D=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new P,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){M("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){M("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)(r.Y36(r.s_b),r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class P{constructor(){this.$implicit=null,this.ngIf=null}}function M(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,r.AaK)(e)}'.`)}class j{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 B=(()=>{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=r.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),H=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new j(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(B,9))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),V=(()=>{class t{constructor(t,e,n){n._addDefault(new j(t,e))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(B,9))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),z=(()=>{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,r]=t.split(".");null!=(e=null!=e&&r?`${e}${r}`: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)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})();class q{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Z{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const G=new Z,$=new q;let U=(()=>{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,r.QGY)(e))return G;if((0,r.F4k)(e))return $;throw function(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,r.AaK)(t)}'`)}(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO,16))},t.\u0275pipe=r.Yjl({name:"async",type:t,pure:!1}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[{provide:I,useClass:A}]}),t})();const Q="browser";function W(t){return t===Q}let K=(()=>{class t{}return t.\u0275prov=(0,r.Yz7)({token:t,providedIn:"root",factory:()=>new J((0,r.LFG)(c),window)}),t})();class J{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 r=n.currentNode;for(;r;){const t=r.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,t);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,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=X(this.window.history)||X(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 X(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class tt{}},53882:function(t,e,n){"use strict";n.d(e,{eN:function(){return F},JF:function(){return q}});var r=n(54364),i=n(2316),s=n(47599),o=n(62431),a=n(95051),c=n(76477),l=n(49005);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),r=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}: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 r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class f{encodeKey(t){return g(t)}encodeValue(t){return g(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const p=/%(\d[a-f0-9])/gi,m={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function g(t){return encodeURIComponent(t).replace(p,(t,e)=>{var n;return null!==(n=m[e])&&void 0!==n?n:t})}function y(t){return`${t}`}class _{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new f,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 r=t.indexOf("="),[i,s]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(i)||[];o.push(s),n.set(i,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:r,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 _({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(y(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(y(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 v{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 b(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function w(t){return"undefined"!=typeof Blob&&t instanceof Blob}function S(t){return"undefined"!=typeof FormData&&t instanceof FormData}class E{constructor(t,e,n,r){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new d),this.context||(this.context=new v),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 _,this.urlWithParams=e}serializeBody(){return null===this.body?null:b(this.body)||w(this.body)||S(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof _?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||S(this.body)?null:w(this.body)?this.body.type||null:b(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof _?"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,r=t.url||this.url,i=t.responseType||this.responseType,s=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 c=t.headers||this.headers,l=t.params||this.params;const u=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new E(n,r,s,{params:l,headers:c,context:u,reportProgress:a,responseType:i,withCredentials:o})}}var C=(()=>((C=C||{})[C.Sent=0]="Sent",C[C.UploadProgress=1]="UploadProgress",C[C.ResponseHeader=2]="ResponseHeader",C[C.DownloadProgress=3]="DownloadProgress",C[C.Response=4]="Response",C[C.User=5]="User",C))();class x{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 T extends x{constructor(t={}){super(t),this.type=C.ResponseHeader}clone(t={}){return new T({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class k extends x{constructor(t={}){super(t),this.type=C.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new k({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 I extends x{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function A(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let F=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof E)r=t;else{let i,s;i=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(s=n.params instanceof _?n.params:new _({fromObject:n.params})),r=new E(t,e,void 0!==n.body?n.body:null,{headers:i,context:n.context,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=(0,s.of)(r).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof E||"events"===n.observe)return i;const o=i.pipe((0,c.h)(t=>t instanceof k));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe((0,l.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,l.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,l.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,l.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 _).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,A(n,e))}post(t,e,n={}){return this.request("POST",t,A(n,e))}put(t,e,n={}){return this.request("PUT",t,A(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(u))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class O{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const R=new i.OlP("HTTP_INTERCEPTORS");let N=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const L=/^\)\]\}',?\n/;let D=(()=>{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 r=t.serializeBody();let i=null;const s=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,r=n.statusText||"OK",s=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return i=new T({headers:s,status:e,statusText:r,url:o}),i},o=()=>{let{headers:r,status:i,statusText:o,url:a}=s(),c=null;204!==i&&(c=void 0===n.response?n.responseText:n.response),0===i&&(i=c?200:0);let l=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(L,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=t,l&&(l=!1,c={error:u,text:c})}}l?(e.next(new k({body:c,headers:r,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new I({error:c,headers:r,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=s(),i=new I({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(i)};let c=!1;const l=r=>{c||(e.next(s()),c=!0);let i={type:C.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===t.responseType&&!!n.responseText&&(i.partialText=n.responseText),e.next(i)},u=t=>{let n={type:C.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",l),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:C.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",l),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.JF))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const P=new i.OlP("XSRF_COOKIE_NAME"),M=new i.OlP("XSRF_HEADER_NAME");class j{}let B=(()=>{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,r.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0),i.LFG(i.Lbi),i.LFG(P))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),H=(()=>{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 r=this.tokenService.getToken();return null!==r&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(j),i.LFG(M))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(R,[]);this.chain=t.reduceRight((t,e)=>new O(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(h),i.LFG(i.zs3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),z=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:H,useClass:N}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:P,useValue:e.cookieName}:[],e.headerName?{provide:M,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[H,{provide:R,useExisting:H,multi:!0},{provide:j,useClass:B},{provide:P,useValue:"XSRF-TOKEN"},{provide:M,useValue:"X-XSRF-TOKEN"}]}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[F,{provide:u,useClass:V},D,{provide:h,useExisting:D}],imports:[[z.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},2316:function(t,e,n){"use strict";n.d(e,{deG:function(){return cn},tb:function(){return il},AFp:function(){return Xc},ip1:function(){return Kc},CZH:function(){return Jc},hGG:function(){return Kl},z2F:function(){return Vl},sBO:function(){return Ka},Sil:function(){return ml},_Vd:function(){return wa},EJc:function(){return al},SBq:function(){return xa},qLn:function(){return Or},vpe:function(){return Oc},gxx:function(){return ws},tBr:function(){return Nn},XFs:function(){return F},OlP:function(){return an},zs3:function(){return Ps},ZZ4:function(){return Za},aQg:function(){return $a},soG:function(){return ol},YKP:function(){return ac},v3s:function(){return ql},h0i:function(){return oc},PXZ:function(){return Pl},R0b:function(){return _l},FiY:function(){return Ln},Lbi:function(){return rl},g9A:function(){return nl},n_E:function(){return Nc},Qsj:function(){return Ia},FYo:function(){return ka},JOm:function(){return Pr},Tiy:function(){return Fa},q3G:function(){return Sr},WD2:function(){return yt},tp0:function(){return Dn},EAV:function(){return $l},Rgc:function(){return nc},dDg:function(){return xl},DyG:function(){return ln},GfV:function(){return Oa},s_b:function(){return lc},ifc:function(){return P},eFA:function(){return Ml},G48:function(){return Nl},Gpc:function(){return f},f3M:function(){return In},X6Q:function(){return Rl},_c5:function(){return Ql},VLi:function(){return Il},c2e:function(){return sl},zSh:function(){return Es},wAp:function(){return oa},vHH:function(){return g},EiD:function(){return br},mCW:function(){return ir},qzn:function(){return Un},JVY:function(){return Qn},pB0:function(){return Xn},eBb:function(){return Kn},L6k:function(){return Wn},LAX:function(){return Jn},cg1:function(){return ra},Tjo:function(){return Yl},kL8:function(){return ia},yhl:function(){return Yn},dqk:function(){return V},sIi:function(){return $s},CqO:function(){return po},QGY:function(){return ho},F4k:function(){return fo},RDi:function(){return Tt},AaK:function(){return u},z3N:function(){return $n},qOj:function(){return js},TTD:function(){return _t},_Bn:function(){return ya},xp6:function(){return Ei},uIk:function(){return Ks},Tol:function(){return Do},Gre:function(){return Ko},ekj:function(){return Lo},Suo:function(){return Gc},Xpm:function(){return J},lG2:function(){return st},Yz7:function(){return w},cJS:function(){return S},oAB:function(){return nt},Yjl:function(){return ot},Y36:function(){return no},_UZ:function(){return ao},BQk:function(){return lo},ynx:function(){return co},qZA:function(){return oo},TgZ:function(){return so},EpF:function(){return uo},n5z:function(){return en},Ikx:function(){return Jo},LFG:function(){return kn},$8M:function(){return rn},NdJ:function(){return mo},CRH:function(){return $c},kcU:function(){return be},O4$:function(){return ve},oxw:function(){return bo},ALo:function(){return Ic},lcZ:function(){return Ac},Hsn:function(){return Eo},F$t:function(){return So},Q6J:function(){return ro},s9C:function(){return Co},hYB:function(){return To},VKq:function(){return Cc},WLB:function(){return xc},iGM:function(){return qc},MAs:function(){return eo},evT:function(){return Lr},Jf7:function(){return Nr},CHM:function(){return Gt},oJD:function(){return Er},LSH:function(){return Cr},kYT:function(){return rt},Udp:function(){return No},WFA:function(){return go},d8E:function(){return Xo},YNc:function(){return to},W1O:function(){return Wc},_uU:function(){return Uo},Oqu:function(){return Yo},hij:function(){return Qo},AsE:function(){return Wo},Gf:function(){return Zc}});var r=n(20749),i=n(90930),s=n(62431),o=n(17159),a=n(31635);function c(t){for(let e in t)if(t[e]===c)return e;throw Error("Could not find renamed property on target object.")}function l(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=c({__forward_ref__:c});function f(t){return t.__forward_ref__=f,t.toString=function(){return u(this())},t}function p(t){return m(t)?t():t}function m(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===f}class g extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function y(t){return"string"==typeof t?t:null==t?"":String(t)}function _(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():y(t)}function v(t,e){const n=e?` in ${e}`:"";throw new g("201",`No provider for ${_(t)} found${n}`)}function b(t,e){null==t&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function S(t){return{providers:t.providers||[],imports:t.imports||[]}}function E(t){return C(t,T)||C(t,I)}function C(t,e){return t.hasOwnProperty(e)?t[e]:null}function x(t){return t&&(t.hasOwnProperty(k)||t.hasOwnProperty(A))?t[k]:null}const T=c({"\u0275prov":c}),k=c({"\u0275inj":c}),I=c({ngInjectableDef:c}),A=c({ngInjectorDef:c});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let O;function R(t){const e=O;return O=t,e}function N(t,e,n){const r=E(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&F.Optional?null:void 0!==e?e:void v(u(t),"Injector")}function L(t){return{toString:t}.toString()}var D=(()=>((D=D||{})[D.OnPush=0]="OnPush",D[D.Default=1]="Default",D))(),P=(()=>((P=P||{})[P.Emulated=0]="Emulated",P[P.None=2]="None",P[P.ShadowDom=3]="ShadowDom",P))();const M="undefined"!=typeof globalThis&&globalThis,j="undefined"!=typeof window&&window,B="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,H="undefined"!=typeof global&&global,V=M||H||j||B,z={},q=[],Z=c({"\u0275cmp":c}),G=c({"\u0275dir":c}),$=c({"\u0275pipe":c}),U=c({"\u0275mod":c}),Y=c({"\u0275loc":c}),Q=c({"\u0275fac":c}),W=c({__NG_ELEMENT_ID__:c});let K=0;function J(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===D.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||q,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||P.Emulated,id:"c",styles:t.styles||q,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,i=t.features,s=t.pipes;return n.id+=K++,n.inputs=it(t.inputs,e),n.outputs=it(t.outputs),i&&i.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(X):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(tt):null,n})}function X(t){return at(t)||function(t){return t[G]||null}(t)}function tt(t){return function(t){return t[$]||null}(t)}const et={};function nt(t){return L(()=>{const e={type:t.type,bootstrap:t.bootstrap||q,declarations:t.declarations||q,imports:t.imports||q,exports:t.exports||q,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(et[t.id]=t.type),e})}function rt(t,e){return L(()=>{const n=ct(t,!0);n.declarations=e.declarations||q,n.imports=e.imports||q,n.exports=e.exports||q})}function it(t,e){if(null==t)return z;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,e&&(e[i]=s)}return n}const st=J;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[Z]||null}function ct(t,e){const n=t[U]||null;if(!n&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return n}function lt(t){return Array.isArray(t)&&"object"==typeof t[1]}function ut(t){return Array.isArray(t)&&!0===t[1]}function ht(t){return 0!=(8&t.flags)}function dt(t){return 2==(2&t.flags)}function ft(t){return 1==(1&t.flags)}function pt(t){return null!==t.template}function mt(t){return 0!=(512&t[2])}function gt(t,e){return t.hasOwnProperty(Q)?t[Q]:null}class yt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function _t(){return vt}function vt(t){return t.type.prototype.ngOnChanges&&(t.setInput=wt),bt}function bt(){const t=Et(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===z)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function wt(t,e,n,r){const i=Et(t)||function(t,e){return t[St]=e}(t,{previous:z,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],c=o[a];s[a]=new yt(c&&c.currentValue,e,o===z),t[r]=e}_t.ngInherit=!0;const St="__ngSimpleChanges__";function Et(t){return t[St]||null}const Ct="http://www.w3.org/2000/svg";let xt;function Tt(t){xt=t}function kt(){return void 0!==xt?xt:"undefined"!=typeof document?document:void 0}function It(t){return!!t.listen}const At={createRenderer:(t,e)=>kt()};function Ft(t){for(;Array.isArray(t);)t=t[0];return t}function Ot(t,e){return Ft(e[t])}function Rt(t,e){return Ft(e[t.index])}function Nt(t,e){return t.data[e]}function Lt(t,e){return t[e]}function Dt(t,e){const n=e[t];return lt(n)?n:n[0]}function Pt(t){return 4==(4&t[2])}function Mt(t){return 128==(128&t[2])}function jt(t,e){return null==e?null:t[e]}function Bt(t){t[18]=0}function Ht(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const Vt={lFrame:de(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function zt(){return Vt.bindingsEnabled}function qt(){return Vt.lFrame.lView}function Zt(){return Vt.lFrame.tView}function Gt(t){return Vt.lFrame.contextLView=t,t[8]}function $t(){let t=Ut();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ut(){return Vt.lFrame.currentTNode}function Yt(t,e){const n=Vt.lFrame;n.currentTNode=t,n.isParent=e}function Qt(){return Vt.lFrame.isParent}function Wt(){Vt.lFrame.isParent=!1}function Kt(){return Vt.isInCheckNoChangesMode}function Jt(t){Vt.isInCheckNoChangesMode=t}function Xt(){const t=Vt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function te(){return Vt.lFrame.bindingIndex}function ee(){return Vt.lFrame.bindingIndex++}function ne(t){const e=Vt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function re(t,e){const n=Vt.lFrame;n.bindingIndex=n.bindingRootIndex=t,ie(e)}function ie(t){Vt.lFrame.currentDirectiveIndex=t}function se(t){const e=Vt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function oe(){return Vt.lFrame.currentQueryIndex}function ae(t){Vt.lFrame.currentQueryIndex=t}function ce(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function le(t,e,n){if(n&F.SkipSelf){let r=e,i=t;for(;!(r=r.parent,null!==r||n&F.Host||(r=ce(i),null===r||(i=i[15],10&r.type))););if(null===r)return!1;e=r,t=i}const r=Vt.lFrame=he();return r.currentTNode=e,r.lView=t,!0}function ue(t){const e=he(),n=t[1];Vt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function he(){const t=Vt.lFrame,e=null===t?null:t.child;return null===e?de(t):e}function de(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=Vt.lFrame;return Vt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const pe=fe;function me(){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 ge(){return Vt.lFrame.selectedIndex}function ye(t){Vt.lFrame.selectedIndex=t}function _e(){const t=Vt.lFrame;return Nt(t.tView,t.selectedIndex)}function ve(){Vt.lFrame.currentNamespace=Ct}function be(){Vt.lFrame.currentNamespace=null}function we(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:s,ngAfterViewChecked:o,ngOnDestroy:a}=e;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),i&&((t.contentHooks||(t.contentHooks=[])).push(n,i),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,i)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),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 Se(t,e,n){xe(t,e,3,n)}function Ee(t,e,n,r){(3&t[2])===n&&xe(t,e,n,r)}function Ce(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function xe(t,e,n,r){const i=null!=r?r:-1,s=e.length-1;let o=0;for(let a=void 0!==r?65535&t[18]:0;a<s;a++)if("number"==typeof e[a+1]){if(o=e[a],null!=r&&o>=r)break}else e[a]<0&&(t[18]+=65536),(o<i||-1==i)&&(Te(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function Te(t,e,n,r){const i=n[r]<0,s=n[r+1],o=t[i?-n[r]:n[r]];if(i){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{s.call(o)}finally{}}}else try{s.call(o)}finally{}}class ke{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Ie(t,e,n){const r=It(t);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],c=n[i++];r?t.setAttribute(e,a,c,o):e.setAttributeNS(o,a,c)}else{const o=s,a=n[++i];Fe(o)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),i++}}return i}function Ae(t){return 3===t||4===t||6===t}function Fe(t){return 64===t.charCodeAt(0)}function Oe(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||Re(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function Re(t,e,n,r,i){let s=0,o=t.length;if(-1===e)o=-1;else for(;s<t.length;){const n=t[s++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=s-1;break}}}for(;s<t.length;){const e=t[s];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==i&&(t[s+1]=i));if(r===t[s+1])return void(t[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==i&&t.splice(s++,0,i)}function Ne(t){return-1!==t}function Le(t){return 32767&t}function De(t,e){let n=function(t){return t>>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let Pe=!0;function Me(t){const e=Pe;return Pe=t,e}let je=0;function Be(t,e){const n=Ve(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,He(r.data,t),He(e,null),He(r.blueprint,null));const i=ze(t,e),s=t.injectorIndex;if(Ne(i)){const t=Le(i),n=De(i,e),r=n[1].data;for(let i=0;i<8;i++)e[s+i]=n[t+i]|r[t+i]}return e[s+8]=i,s}function He(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ve(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function ze(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){const t=i[1],e=t.type;if(r=2===e?t.declTNode:1===e?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function qe(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(W)&&(r=n[W]),null==r&&(r=n[W]=je++);const i=255&r;e.data[t+(i>>5)]|=1<<i}(t,e,n)}function Ze(t,e,n){if(n&F.Optional)return t;v(e,"NodeInjector")}function Ge(t,e,n,r){if(n&F.Optional&&void 0===r&&(r=null),0==(n&(F.Self|F.Host))){const i=t[9],s=R(void 0);try{return i?i.get(e,r,n&F.Optional):N(e,r,n&F.Optional)}finally{R(s)}}return Ze(r,e,n)}function $e(t,e,n,r=F.Default,i){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(W)?t[W]:void 0;return"number"==typeof e?e>=0?255&e:Ye:e}(n);if("function"==typeof s){if(!le(e,t,r))return r&F.Host?Ze(i,n,r):Ge(e,n,r,i);try{const t=s(r);if(null!=t||r&F.Optional)return t;v(n)}finally{pe()}}else if("number"==typeof s){let i=null,o=Ve(t,e),a=-1,c=r&F.Host?e[16][6]:null;for((-1===o||r&F.SkipSelf)&&(a=-1===o?ze(t,e):e[o+8],-1!==a&&Xe(r,!1)?(i=e[1],o=Le(a),e=De(a,e)):o=-1);-1!==o;){const t=e[1];if(Je(s,o,t.data)){const t=Qe(o,e,n,i,r,c);if(t!==Ue)return t}a=e[o+8],-1!==a&&Xe(r,e[1].data[o+8]===c)&&Je(s,o,e)?(i=t,o=Le(a),e=De(a,e)):o=-1}}}return Ge(e,n,r,i)}const Ue={};function Ye(){return new tn($t(),qt())}function Qe(t,e,n,r,i,s){const o=e[1],a=o.data[t+8],c=We(a,o,n,null==r?dt(a)&&Pe:r!=o&&0!=(3&a.type),i&F.Host&&s===a);return null!==c?Ke(e,o,c,a):Ue}function We(t,e,n,r,i){const s=t.providerIndexes,o=e.data,a=1048575&s,c=t.directiveStart,l=s>>20,u=i?a+l:t.directiveEnd;for(let h=r?a:a+l;h<u;h++){const t=o[h];if(h<c&&n===t||h>=c&&t.type===n)return h}if(i){const t=o[c];if(t&&pt(t)&&t.type===n)return c}return null}function Ke(t,e,n,r){let i=t[n];const s=e.data;if(function(t){return t instanceof ke}(i)){const o=i;o.resolving&&function(t,e){throw new g("200",`Circular dependency in DI detected for ${t}`)}(_(s[n]));const a=Me(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?R(o.injectImpl):null;le(t,r,F.Default);try{i=t[n]=o.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=e.type.prototype;if(r){const r=vt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==c&&R(c),Me(a),o.resolving=!1,pe()}}return i}function Je(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function Xe(t,e){return!(t&F.Self||t&F.Host&&e)}class tn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return $e(this._tNode,this._lView,t,void 0,e)}}function en(t){return L(()=>{const e=t.prototype.constructor,n=e[Q]||nn(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[Q]||nn(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function nn(t){return m(t)?()=>{const e=nn(p(t));return e&&e()}:gt(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 r=0;for(;r<t;){const i=n[r];if(Ae(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(i===e)return n[r+1];r+=2}}}return null}($t(),t)}const sn="__parameters__";function on(t,e,n){return L(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty(sn)?t[sn]:Object.defineProperty(t,sn,{value:[]})[sn];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}class an{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 cn=new an("AnalyzeForEntryComponents"),ln=Function;function un(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let r=t[n];Array.isArray(r)?(e===t&&(e=t.slice(0,n)),un(r,e)):e!==t&&e.push(r)}return e}function hn(t,e){t.forEach(t=>Array.isArray(t)?hn(t,e):e(t))}function dn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function fn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function pn(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function mn(t,e,n){let r=yn(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function gn(t,e){const n=yn(t,e);if(n>=0)return t[1|n]}function yn(t,e){return function(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){const s=r+(i-r>>1),o=t[s<<n];if(e===o)return s<<n;o>e?i=s:r=s+1}return~(i<<n)}(t,e,1)}const _n={},vn="__NG_DI_FLAG__",bn="ngTempTokenPath",wn=/\n/gm,Sn="__source",En=c({provide:String,useValue:c});let Cn;function xn(t){const e=Cn;return Cn=t,e}function Tn(t,e=F.Default){if(void 0===Cn)throw new Error("inject() must be called from an injection context");return null===Cn?N(t,void 0,e):Cn.get(t,e&F.Optional?null:void 0,e)}function kn(t,e=F.Default){return(O||Tn)(p(t),e)}const In=kn;function An(t){const e=[];for(let n=0;n<t.length;n++){const r=p(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t,n=F.Default;for(let e=0;e<r.length;e++){const i=r[e],s=On(i);"number"==typeof s?-1===s?t=i.token:n|=s:t=i}e.push(kn(t,n))}else e.push(kn(r))}return e}function Fn(t,e){return t[vn]=e,t.prototype[vn]=e,t}function On(t){return t[vn]}function Rn(t,e,n,r){const i=t[bn];throw e[Sn]&&i.unshift(e[Sn]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=u(e);if(Array.isArray(e))i=e.map(u).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):u(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(wn,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[bn]=null,t}const Nn=Fn(on("Inject",t=>({token:t})),-1),Ln=Fn(on("Optional"),8),Dn=Fn(on("SkipSelf"),4);let Pn,Mn;function jn(t){var e;return(null===(e=function(){if(void 0===Pn&&(Pn=null,V.trustedTypes))try{Pn=V.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Pn}())||void 0===e?void 0:e.createHTML(t))||t}function Bn(t){var e;return(null===(e=function(){if(void 0===Mn&&(Mn=null,V.trustedTypes))try{Mn=V.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Mn}())||void 0===e?void 0:e.createHTML(t))||t}class Hn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Vn extends Hn{getTypeName(){return"HTML"}}class zn extends Hn{getTypeName(){return"Style"}}class qn extends Hn{getTypeName(){return"Script"}}class Zn extends Hn{getTypeName(){return"URL"}}class Gn extends Hn{getTypeName(){return"ResourceURL"}}function $n(t){return t instanceof Hn?t.changingThisBreaksApplicationSecurity:t}function Un(t,e){const n=Yn(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 Yn(t){return t instanceof Hn&&t.getTypeName()||null}function Qn(t){return new Vn(t)}function Wn(t){return new zn(t)}function Kn(t){return new qn(t)}function Jn(t){return new Zn(t)}function Xn(t){return new Gn(t)}class tr{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(jn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class er{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=jn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=jn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const n=e.item(r).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 nr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,rr=/^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 ir(t){return(t=String(t)).match(nr)||t.match(rr)?t:"unsafe:"+t}function sr(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function or(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const ar=sr("area,br,col,hr,img,wbr"),cr=sr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lr=sr("rp,rt"),ur=or(ar,or(cr,sr("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")),or(lr,sr("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")),or(lr,cr)),hr=sr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),dr=sr("srcset"),fr=or(hr,dr,sr("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"),sr("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")),pr=sr("script,style,template");class mr{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(!ur.hasOwnProperty(e))return this.sanitizedSomething=!0,!pr.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,s=e.toLowerCase();if(!fr.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let o=t.value;hr[s]&&(o=ir(o)),dr[s]&&(r=o,o=(r=String(r)).split(",").map(t=>ir(t.trim())).join(", ")),this.buf.push(" ",e,'="',_r(o),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ur.hasOwnProperty(e)&&!ar.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(_r(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 gr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yr=/([^\#-~ |!])/g;function _r(t){return t.replace(/&/g,"&").replace(gr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(yr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let vr;function br(t,e){let n=null;try{vr=vr||function(t){const e=new er(t);return function(){try{return!!(new window.DOMParser).parseFromString(jn(""),"text/html")}catch(t){return!1}}()?new tr(e):e}(t);let r=e?String(e):"";n=vr.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=vr.getInertBodyElement(r)}while(r!==s);return jn((new mr).sanitizeChildren(wr(n)||n))}finally{if(n){const t=wr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function wr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Sr=(()=>((Sr=Sr||{})[Sr.NONE=0]="NONE",Sr[Sr.HTML=1]="HTML",Sr[Sr.STYLE=2]="STYLE",Sr[Sr.SCRIPT=3]="SCRIPT",Sr[Sr.URL=4]="URL",Sr[Sr.RESOURCE_URL=5]="RESOURCE_URL",Sr))();function Er(t){const e=xr();return e?Bn(e.sanitize(Sr.HTML,t)||""):Un(t,"HTML")?Bn($n(t)):br(kt(),y(t))}function Cr(t){const e=xr();return e?e.sanitize(Sr.URL,t)||"":Un(t,"URL")?$n(t):ir(y(t))}function xr(){const t=qt();return t&&t[12]}const Tr="__ngContext__";function kr(t,e){t[Tr]=e}function Ir(t){const e=function(t){return t[Tr]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ar(t){return t.ngOriginalError}function Fr(t,...e){t.error(...e)}class Or{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=(i=t)&&i.ngErrorLogger||Fr;var i;r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?t.ngDebugContext||this._findContext(Ar(t)):null}_findOriginalError(t){let e=t&&Ar(t);for(;e&&Ar(e);)e=Ar(e);return e||null}}const Rr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(V))();function Nr(t){return t.ownerDocument.defaultView}function Lr(t){return t.ownerDocument}function Dr(t){return t instanceof Function?t():t}var Pr=(()=>((Pr=Pr||{})[Pr.Important=1]="Important",Pr[Pr.DashCase=2]="DashCase",Pr))();function Mr(t,e){return undefined(t,e)}function jr(t){const e=t[3];return ut(e)?e[3]:e}function Br(t){return Vr(t[13])}function Hr(t){return Vr(t[4])}function Vr(t){for(;null!==t&&!ut(t);)t=t[4];return t}function zr(t,e,n,r,i){if(null!=r){let s,o=!1;ut(r)?s=r:lt(r)&&(o=!0,r=r[0]);const a=Ft(r);0===t&&null!==n?null==i?Wr(e,n,a):Qr(e,n,a,i||null,!0):1===t&&null!==n?Qr(e,n,a,i||null,!0):2===t?function(t,e,n){const r=Jr(t,e);r&&function(t,e,n,r){It(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,r,i){const s=n[7];s!==Ft(n)&&zr(e,t,r,s,i);for(let o=10;o<n.length;o++){const i=n[o];oi(i[1],i,t,e,r,s)}}(e,t,s,n,i)}}function qr(t,e,n){return It(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Zr(t,e){const n=t[9],r=n.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,Ht(i,-1)),n.splice(r,1)}function Gr(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const i=r[17];null!==i&&i!==t&&Zr(i,r),e>0&&(t[n-1][4]=r[4]);const s=fn(t,10+e);!function(t,e){oi(t,e,e[11],2,null,null),e[0]=null,e[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function $r(t,e){if(!(256&e[2])){const n=e[11];It(n)&&n.destroyNode&&oi(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Ur(t[1],t);for(;e;){let n=null;if(lt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)lt(e)&&Ur(e[1],e),e=e[3];null===e&&(e=t),lt(e)&&Ur(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ur(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 r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof ke)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2){const r=t[e[n]],i=e[n+1];try{i.call(r)}finally{}}else try{e.call(t)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,r=e[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const t=n[s+1],o="function"==typeof t?t(e):Ft(e[t]),a=r[i=n[s+2]],c=n[s+3];"boolean"==typeof c?o.removeEventListener(n[s],a,c):c>=0?r[i=c]():r[i=-c].unsubscribe(),s+=2}else{const t=r[i=n[s+1]];n[s].call(t)}if(null!==r){for(let t=i+1;t<r.length;t++)r[t]();e[7]=null}}(t,e),1===e[1].type&&It(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&ut(e[3])){n!==e[3]&&Zr(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function Yr(t,e,n){return function(t,e,n){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return n[0];if(2&r.flags){const e=t.data[r.directiveStart].encapsulation;if(e===P.None||e===P.Emulated)return null}return Rt(r,n)}(t,e.parent,n)}function Qr(t,e,n,r,i){It(t)?t.insertBefore(e,n,r,i):e.insertBefore(n,r,i)}function Wr(t,e,n){It(t)?t.appendChild(e,n):e.appendChild(n)}function Kr(t,e,n,r,i){null!==r?Qr(t,e,n,r,i):Wr(t,e,n)}function Jr(t,e){return It(t)?t.parentNode(e):e.parentNode}function Xr(t,e,n){return ti(t,e,n)}let ti=function(t,e,n){return 40&t.type?Rt(t,n):null};function ei(t,e,n,r){const i=Yr(t,r,e),s=e[11],o=Xr(r.parent||e[6],r,e);if(null!=i)if(Array.isArray(n))for(let a=0;a<n.length;a++)Kr(s,i,n[a],o,!1);else Kr(s,i,n,o,!1)}function ni(t,e){if(null!==e){const n=e.type;if(3&n)return Rt(e,t);if(4&n)return ii(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return ni(t,n);{const n=t[e.index];return ut(n)?ii(-1,n):Ft(n)}}if(32&n)return Mr(e,t)()||Ft(t[e.index]);{const n=ri(t,e);return null!==n?Array.isArray(n)?n[0]:ni(jr(t[16]),n):ni(t,e.next)}}return null}function ri(t,e){return null!==e?t[16][6].projection[e.projection]:null}function ii(t,e){const n=10+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return ni(t,r)}return e[7]}function si(t,e,n,r,i,s,o){for(;null!=n;){const a=r[n.index],c=n.type;if(o&&0===e&&(a&&kr(Ft(a),r),n.flags|=4),64!=(64&n.flags))if(8&c)si(t,e,n.child,r,i,s,!1),zr(e,t,i,a,s);else if(32&c){const o=Mr(n,r);let c;for(;c=o();)zr(e,t,i,c,s);zr(e,t,i,a,s)}else 16&c?ai(t,e,r,n,i,s):zr(e,t,i,a,s);n=o?n.projectionNext:n.next}}function oi(t,e,n,r,i,s){si(n,r,t.firstChild,e,i,s,!1)}function ai(t,e,n,r,i,s){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let c=0;c<a.length;c++)zr(e,t,i,a[c],s);else si(t,e,a,o[3],i,s,!0)}function ci(t,e,n){It(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function li(t,e,n){It(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function ui(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}const hi="ng-template";function di(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==ui(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function fi(t){return 4===t.type&&t.value!==hi}function pi(t,e,n){return e===(4!==t.type||n?t.value:hi)}function mi(t,e,n){let r=4;const i=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(Ae(t[e]))return e;return t.length}(i);let o=!1;for(let a=0;a<e.length;a++){const c=e[a];if("number"!=typeof c){if(!o)if(4&r){if(r=2|1&r,""!==c&&!pi(t,c,n)||""===c&&1===e.length){if(gi(r))return!1;o=!0}}else{const l=8&r?c:e[++a];if(8&r&&null!==t.attrs){if(!di(t.attrs,l,n)){if(gi(r))return!1;o=!0}continue}const u=yi(8&r?"class":c,i,fi(t),n);if(-1===u){if(gi(r))return!1;o=!0;continue}if(""!==l){let t;t=u>s?"":i[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==ui(e,l,0)||2&r&&l!==t){if(gi(r))return!1;o=!0}}}}else{if(!o&&!gi(r)&&!gi(c))return!1;if(o&&gi(c))continue;o=!1,r=c|1&r}}return gi(r)||o}function gi(t){return 0==(1&t)}function yi(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i<e.length;){const r=e[i];if(r===t)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function _i(t,e,n=!1){for(let r=0;r<e.length;r++)if(mi(t,e[r],n))return!0;return!1}function vi(t,e){t:for(let n=0;n<e.length;n++){const r=e[n];if(t.length===r.length){for(let e=0;e<t.length;e++)if(t[e]!==r[e])continue t;return!0}}return!1}function bi(t,e){return t?":not("+e.trim()+")":e}function wi(t){let e=t[0],n=1,r=2,i="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const e=t[++n];i+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!gi(o)&&(e+=bi(s,i),i=""),r=o,s=s||!gi(r);n++}return""!==i&&(e+=bi(s,i)),e}const Si={};function Ei(t){Ci(Zt(),qt(),ge()+t,Kt())}function Ci(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Se(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Ee(e,r,0,n)}ye(n)}function xi(t,e){return t<<17|e<<2}function Ti(t){return t>>17&32767}function ki(t){return 2|t}function Ii(t){return(131068&t)>>2}function Ai(t,e){return-131069&t|e<<2}function Fi(t){return 1|t}function Oi(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const n=t.data[s];ae(i),n.contentQueries(2,e[s],s)}}}function Ri(t,e,n,r,i,s,o,a,c,l){const u=e.blueprint.slice();return u[0]=i,u[2]=140|r,Bt(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=c||t&&t[12]||null,u[9]=l||t&&t[9]||null,u[6]=s,u[16]=2==e.type?t[16]:u,u}function Ni(t,e,n,r,i){let s=t.data[e];if(null===s)s=function(t,e,n,r,i){const s=Ut(),o=Qt(),a=t.data[e]=function(t,e,n,r,i,s){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,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?s:s&&s.parent,n,e,r,i);return null===t.firstChild&&(t.firstChild=a),null!==s&&(o?null==s.child&&null!==a.parent&&(s.child=a):null===s.next&&(s.next=a)),a}(t,e,n,r,i),Vt.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const t=function(){const t=Vt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===t?-1:t.injectorIndex}return Yt(s,!0),s}function Li(t,e,n,r){if(0===n)return-1;const i=e.length;for(let s=0;s<n;s++)e.push(r),t.blueprint.push(r),t.data.push(null);return i}function Di(t,e,n){ue(e);try{const r=t.viewQuery;null!==r&&ds(1,r,n);const i=t.template;null!==i&&ji(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Oi(t,e),t.staticViewQueries&&ds(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)as(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{e[2]&=-5,me()}}function Pi(t,e,n,r){const i=e[2];if(256==(256&i))return;ue(e);const s=Kt();try{Bt(e),function(t){Vt.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&ji(t,e,n,2,r);const o=3==(3&i);if(!s)if(o){const n=t.preOrderCheckHooks;null!==n&&Se(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Ee(e,n,0,null),Ce(e,0)}if(function(t){for(let e=Br(t);null!==e;e=Hr(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&Ht(r,1),n[2]|=1024}}}(e),function(t){for(let e=Br(t);null!==e;e=Hr(e))for(let t=10;t<e.length;t++){const n=e[t],r=n[1];Mt(n)&&Pi(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&Oi(t,e),!s)if(o){const n=t.contentCheckHooks;null!==n&&Se(e,n)}else{const n=t.contentHooks;null!==n&&Ee(e,n,1),Ce(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const r=n[t];if(r<0)ye(~r);else{const i=r,s=n[++t],o=n[++t];re(s,i),o(2,e[i])}}}finally{ye(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)ss(t,e[n])}(e,a);const c=t.viewQuery;if(null!==c&&ds(2,c,r),!s)if(o){const n=t.viewCheckHooks;null!==n&&Se(e,n)}else{const n=t.viewHooks;null!==n&&Ee(e,n,2),Ce(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ht(e[3],-1))}finally{me()}}function Mi(t,e,n,r){const i=e[10],s=!Kt(),o=Pt(e);try{s&&!o&&i.begin&&i.begin(),o&&Di(t,e,r),Pi(t,e,n,r)}finally{s&&!o&&i.end&&i.end()}}function ji(t,e,n,r,i){const s=ge(),o=2&r;try{ye(-1),o&&e.length>20&&Ci(t,e,20,Kt()),n(r,i)}finally{ye(s)}}function Bi(t,e,n){if(ht(e)){const r=e.directiveEnd;for(let i=e.directiveStart;i<r;i++){const e=t.data[i];e.contentQueries&&e.contentQueries(1,n[i],i)}}}function Hi(t,e,n){!zt()||(function(t,e,n,r){const i=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Be(n,e),kr(r,e);const o=n.initialInputs;for(let a=i;a<s;a++){const r=t.data[a],s=pt(r);s&&ts(e,n,r);const c=Ke(e,t,a,n);kr(c,e),null!==o&&ns(0,a-i,c,r,0,o),s&&(Dt(n.index,e)[8]=c)}}(t,e,n,Rt(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,o=Vt.lFrame.currentDirectiveIndex;try{ye(s);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];ie(n),(null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs)&&Qi(r,i)}}finally{ye(-1),ie(o)}}(t,e,n))}function Vi(t,e,n=Rt){const r=e.localNames;if(null!==r){let i=e.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(e,t):t[o];t[i++]=a}}}function zi(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=qi(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function qi(t,e,n,r,i,s,o,a,c,l){const u=20+r,h=u+i,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Si);return n}(u,h),f="function"==typeof l?l():l;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 s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:f,incompleteFirstPass:!1}}function Zi(t,e,n,r){const i=ps(e);null===n?i.push(r):(i.push(n),t.firstCreatePass&&ms(t).push(r,i.length-1))}function Gi(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function $i(t,e,n,r,i,s,o,a){const c=Rt(e,n);let l,u=e.inputs;!a&&null!=u&&(l=u[r])?(_s(t,n,l,r,i),dt(e)&&function(t,e){const n=Dt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(r=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r),i=null!=o?o(i,e.value||"",r):i,It(s)?s.setProperty(c,r,i):Fe(r)||(c.setProperty?c.setProperty(r,i):c[r]=i))}function Ui(t,e,n,r){let i=!1;if(zt()){const s=function(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];_i(n,o.selectors,!1)&&(i||(i=[]),qe(Be(n,e),t,o.type),pt(o)?(Wi(t,n),i.unshift(o)):i.push(o))}return i}(t,e,n),o=null===r?null:{"":-1};if(null!==s){i=!0,Ji(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}let r=!1,a=!1,c=Li(t,e,s.length,null);for(let i=0;i<s.length;i++){const l=s[i];n.mergedAttrs=Oe(n.mergedAttrs,l.hostAttrs),Xi(t,n,e,c,l),Ki(c,l,o),null!==l.contentQueries&&(n.flags|=8),(null!==l.hostBindings||null!==l.hostAttrs||0!==l.hostVars)&&(n.flags|=128);const u=l.type.prototype;!r&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),r=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),c++}!function(t,e){const n=e.directiveEnd,r=t.data,i=e.attrs,s=[];let o=null,a=null;for(let c=e.directiveStart;c<n;c++){const t=r[c],n=t.inputs,l=null===i||fi(e)?null:rs(n,i);s.push(l),o=Gi(n,c,o),a=Gi(t.outputs,c,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=o,e.outputs=a}(t,n)}o&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new g("301",`Export of name '${e[t+1]}' not found!`);r.push(e[t],i)}}}(n,r,o)}return n.mergedAttrs=Oe(n.mergedAttrs,n.attrs),i}function Yi(t,e,n,r,i,s){const o=s.hostBindings;if(o){let n=t.hostBindingOpCodes;null===n&&(n=t.hostBindingOpCodes=[]);const s=~e.index;(function(t){let e=t.length;for(;e>0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(r,i,o)}}function Qi(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Wi(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Ki(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;pt(e)&&(n[""]=t)}}function Ji(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Xi(t,e,n,r,i){t.data[r]=i;const s=i.factory||(i.factory=gt(i.type)),o=new ke(s,pt(i),null);t.blueprint[r]=o,n[r]=o,Yi(t,e,0,r,Li(t,n,i.hostVars,Si),i)}function ts(t,e,n){const r=Rt(e,t),i=zi(n),s=t[10],o=cs(t,Ri(t,i,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n),null,null));t[e.index]=o}function es(t,e,n,r,i,s){const o=Rt(t,e);!function(t,e,n,r,i,s,o){if(null==s)It(t)?t.removeAttribute(e,i,n):e.removeAttribute(i);else{const a=null==o?y(s):o(s,r||"",i);It(t)?t.setAttribute(e,i,a,n):n?e.setAttributeNS(n,i,a):e.setAttribute(i,a)}}(e[11],o,s,t.value,n,r,i)}function ns(t,e,n,r,i,s){const o=s[e];if(null!==o){const t=r.setInput;for(let e=0;e<o.length;){const i=o[e++],s=o[e++],a=o[e++];null!==t?r.setInput(n,a,i,s):n[s]=a}}}function rs(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function is(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function ss(t,e){const n=Dt(e,t);if(Mt(n)){const t=n[1];80&n[2]?Pi(t,n,t.template,n[8]):n[5]>0&&os(n)}}function os(t){for(let n=Br(t);null!==n;n=Hr(n))for(let t=10;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Pi(t,e,t.template,e[8])}else e[5]>0&&os(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const r=Dt(e[n],t);Mt(r)&&r[5]>0&&os(r)}}function as(t,e){const n=Dt(e,t),r=n[1];(function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(r,n),Di(r,n,n[8])}function cs(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function ls(t){for(;t;){t[2]|=64;const e=jr(t);if(mt(t)&&!e)return t;t=e}return null}function us(t,e,n){const r=e[10];r.begin&&r.begin();try{Pi(t,e,t.template,n)}catch(i){throw ys(e,i),i}finally{r.end&&r.end()}}function hs(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Ir(n),i=r[1];Mi(i,r,i.template,n)}}(t[8])}function ds(t,e,n){ae(0),e(t,n)}const fs=(()=>Promise.resolve(null))();function ps(t){return t[7]||(t[7]=[])}function ms(t){return t.cleanup||(t.cleanup=[])}function gs(t,e,n){return(null===t||pt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function ys(t,e){const n=t[9],r=n?n.get(Or,null):null;r&&r.handleError(e)}function _s(t,e,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],c=e[o],l=t.data[o];null!==l.setInput?l.setInput(c,i,r,a):c[a]=i}}function vs(t,e,n){const r=Ot(e,t);!function(t,e,n){It(t)?t.setValue(e,n):e.textContent=n}(t[11],r,n)}function bs(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?s=t:1==s?i=h(i,t):2==s&&(r=h(r,t+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}const ws=new an("INJECTOR",-1);class Ss{get(t,e=_n){if(e===_n){const e=new Error(`NullInjectorError: No provider for ${u(t)}!`);throw e.name="NullInjectorError",e}return e}}const Es=new an("Set Injector scope."),Cs={},xs={};let Ts;function ks(){return void 0===Ts&&(Ts=new Ss),Ts}function Is(t,e=null,n=null,r){return new As(t,n,e||ks(),r)}class As{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&hn(e,n=>this.processProvider(n,t,e)),hn([t],t=>this.processInjectorType(t,[],i)),this.records.set(ws,Rs(void 0,this));const s=this.records.get(Es);this.scope=null!=s?s.value:null,this.source=r||("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=_n,n=F.Default){this.assertNotDestroyed();const r=xn(this),i=R(void 0);try{if(!(n&F.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof an)&&E(t);e=n&&this.injectableDefInScope(n)?Rs(Fs(t),Cs):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&F.Self?ks():this.parent).get(t,e=n&F.Optional&&e===_n?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[bn]=o[bn]||[]).unshift(u(t)),r)throw o;return Rn(o,t,"R3InjectorError",this.source)}throw o}finally{R(i),xn(r)}var s}_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=p(t)))return!1;let r=x(t);const i=null==r&&t.ngModule||void 0,s=void 0===i?t:i,o=-1!==n.indexOf(s);if(void 0!==i&&(r=x(i)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(s);try{hn(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];hn(r,t=>this.processProvider(t,n,r||q))}}this.injectorDefTypes.add(s);const a=gt(s)||(()=>new s);this.records.set(s,Rs(a,Cs));const c=r.providers;if(null!=c&&!o){const e=t;hn(c,t=>this.processProvider(t,e,c))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=Ls(t=p(t))?t:p(t&&t.provide);const i=Ns(s=t)?Rs(void 0,s.useValue):Rs(Os(s),Cs);var s;if(Ls(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Rs(void 0,Cs,!0),e.factory=()=>An(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){return e.value===Cs&&(e.value=xs,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=p(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Fs(t){const e=E(t),n=null!==e?e.factory:gt(t);if(null!==n)return n;if(t instanceof an)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=pn(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[T]||t[I]);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 Os(t,e,n){let r;if(Ls(t)){const e=p(t);return gt(e)||Fs(e)}if(Ns(t))r=()=>p(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...An(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>kn(p(t.useExisting));else{const e=p(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return gt(e)||Fs(e);r=()=>new e(...An(t.deps))}return r}function Rs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Ns(t){return null!==t&&"object"==typeof t&&En in t}function Ls(t){return"function"==typeof t}const Ds=function(t,e,n){return function(t,e=null,n=null,r){const i=Is(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let Ps=(()=>{class t{static create(t,e){return Array.isArray(t)?Ds(t,e,""):Ds(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=_n,t.NULL=new Ss,t.\u0275prov=w({token:t,providedIn:"any",factory:()=>kn(ws)}),t.__NG_ELEMENT_ID__=-1,t})();function Ms(t,e){we(Ir(t)[1],$t())}function js(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const r=[t];for(;e;){let i;if(pt(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const e=t;e.inputs=Bs(t.inputs),e.declaredInputs=Bs(t.declaredInputs),e.outputs=Bs(t.outputs);const n=i.hostBindings;n&&zs(t,n);const s=i.viewQuery,o=i.contentQueries;if(s&&Hs(t,s),o&&Vs(t,o),l(t.inputs,i.inputs),l(t.declaredInputs,i.declaredInputs),l(t.outputs,i.outputs),pt(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let r=0;r<e.length;r++){const i=e[r];i&&i.ngInherit&&i(t),i===js&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Oe(i.hostAttrs,n=Oe(n,i.hostAttrs))}}(r)}function Bs(t){return t===z?{}:t===q?[]:t}function Hs(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Vs(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function zs(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}let qs=null;function Zs(){if(!qs){const t=V.Symbol;if(t&&t.iterator)qs=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&&(qs=n)}}}return qs}class Gs{constructor(t){this.wrapped=t}static wrap(t){return new Gs(t)}static unwrap(t){return Gs.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Gs}}function $s(t){return!!Us(t)&&(Array.isArray(t)||!(t instanceof Map)&&Zs()in t)}function Us(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ys(t,e,n){return t[e]=n}function Qs(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Ws(t,e,n,r){const i=Qs(t,e,n);return Qs(t,e+1,r)||i}function Ks(t,e,n,r){const i=qt();return Qs(i,ee(),e)&&(Zt(),es(_e(),i,t,e,n,r)),Ks}function Js(t,e,n,r){return Qs(t,ee(),n)?e+y(n)+r:Si}function Xs(t,e,n,r,i,s){const o=Ws(t,te(),n,i);return ne(2),o?e+y(n)+r+y(i)+s:Si}function to(t,e,n,r,i,s,o,a){const c=qt(),l=Zt(),u=t+20,h=l.firstCreatePass?function(t,e,n,r,i,s,o,a,c){const l=e.consts,u=Ni(e,t,4,o||null,jt(l,a));Ui(e,n,u,jt(l,c)),we(e,u);const h=u.tViews=qi(2,u,r,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,l,c,e,n,r,i,s,o):l.data[u];Yt(h,!1);const d=c[11].createComment("");ei(l,c,d,h),kr(d,c),cs(c,c[u]=is(d,c,d,h)),ft(h)&&Hi(l,c,h),null!=o&&Vi(c,h,a)}function eo(t){return Lt(Vt.lFrame.contextLView,20+t)}function no(t,e=F.Default){const n=qt();return null===n?kn(t,e):$e($t(),n,p(t),e)}function ro(t,e,n){const r=qt();return Qs(r,ee(),e)&&$i(Zt(),_e(),r,t,e,r[11],n,!1),ro}function io(t,e,n,r,i){const s=i?"class":"style";_s(t,n,e.inputs[s],s,r)}function so(t,e,n,r){const i=qt(),s=Zt(),o=20+t,a=i[11],c=i[o]=qr(a,e,Vt.lFrame.currentNamespace),l=s.firstCreatePass?function(t,e,n,r,i,s,o){const a=e.consts,c=Ni(e,t,2,i,jt(a,s));return Ui(e,n,c,jt(a,o)),null!==c.attrs&&bs(c,c.attrs,!1),null!==c.mergedAttrs&&bs(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(o,s,i,0,e,n,r):s.data[o];Yt(l,!0);const u=l.mergedAttrs;null!==u&&Ie(a,c,u);const h=l.classes;null!==h&&li(a,c,h);const d=l.styles;null!==d&&ci(a,c,d),64!=(64&l.flags)&&ei(s,i,c,l),0===Vt.lFrame.elementDepthCount&&kr(c,i),Vt.lFrame.elementDepthCount++,ft(l)&&(Hi(s,i,l),Bi(s,l,i)),null!==r&&Vi(i,l)}function oo(){let t=$t();Qt()?Wt():(t=t.parent,Yt(t,!1));const e=t;Vt.lFrame.elementDepthCount--;const n=Zt();n.firstCreatePass&&(we(n,t),ht(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&io(n,e,qt(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&io(n,e,qt(),e.stylesWithoutHost,!1)}function ao(t,e,n,r){so(t,e,n,r),oo()}function co(t,e,n){const r=qt(),i=Zt(),s=t+20,o=i.firstCreatePass?function(t,e,n,r,i){const s=e.consts,o=jt(s,r),a=Ni(e,t,8,"ng-container",o);return null!==o&&bs(a,o,!0),Ui(e,n,a,jt(s,i)),null!==e.queries&&e.queries.elementStart(e,a),a}(s,i,r,e,n):i.data[s];Yt(o,!0);const a=r[s]=r[11].createComment("");ei(i,r,a,o),kr(a,r),ft(o)&&(Hi(i,r,o),Bi(i,o,r)),null!=n&&Vi(r,o)}function lo(){let t=$t();const e=Zt();Qt()?Wt():(t=t.parent,Yt(t,!1)),e.firstCreatePass&&(we(e,t),ht(t)&&e.queries.elementEnd(t))}function uo(){return qt()}function ho(t){return!!t&&"function"==typeof t.then}function fo(t){return!!t&&"function"==typeof t.subscribe}const po=fo;function mo(t,e,n,r){const i=qt(),s=Zt(),o=$t();return yo(s,i,i[11],o,t,e,!!n,r),mo}function go(t,e){const n=$t(),r=qt(),i=Zt();return yo(i,r,gs(se(i.data),n,r),n,t,e,!1),go}function yo(t,e,n,r,i,s,o,a){const c=ft(r),l=t.firstCreatePass&&ms(t),u=e[8],h=ps(e);let d=!0;if(3&r.type||a){const f=Rt(r,e),p=a?a(f):f,m=h.length,g=a?t=>a(Ft(t[r.index])):r.index;if(It(n)){let o=null;if(!a&&c&&(o=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const t=i[s];if(t===n&&i[s+1]===r){const t=e[7],n=i[s+2];return t.length>n?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,i,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,d=!1;else{s=vo(r,e,u,s,!1);const t=n.listen(p,i,s);h.push(s,t),l&&l.push(i,g,m,m+1)}}else s=vo(r,e,u,s,!0),p.addEventListener(i,s,o),h.push(s),l&&l.push(i,g,m,o)}else s=vo(r,e,u,s,!1);const f=r.outputs;let p;if(d&&null!==f&&(p=f[i])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(s),o=h.length;h.push(s,t),l&&l.push(i,r.index,o,-(o+1))}}}function _o(t,e,n,r){try{return!1!==n(r)}catch(i){return ys(t,i),!1}}function vo(t,e,n,r,i){return function n(s){if(s===Function)return r;const o=2&t.flags?Dt(t.index,e):e;0==(32&e[2])&&ls(o);let a=_o(e,0,r,s),c=n.__ngNextListenerFn__;for(;c;)a=_o(e,0,c,s)&&a,c=c.__ngNextListenerFn__;return i&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function bo(t=1){return function(t){return(Vt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Vt.lFrame.contextLView))[8]}(t)}function wo(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let i=0;i<e.length;i++){const s=e[i];if("*"!==s){if(null===r?_i(t,s,!0):vi(r,s))return i}else n=i}return n}function So(t){const e=qt()[16][6];if(!e.projection){const n=e.projection=pn(t?t.length:1,null),r=n.slice();let i=e.child;for(;null!==i;){const e=t?wo(i,t):0;null!==e&&(r[e]?r[e].projectionNext=i:n[e]=i,r[e]=i),i=i.next}}}function Eo(t,e=0,n){const r=qt(),i=Zt(),s=Ni(i,20+t,16,null,n||null);null===s.projection&&(s.projection=e),Wt(),64!=(64&s.flags)&&function(t,e,n){ai(e[11],0,e,n,Yr(t,n,e),Xr(n.parent||e[6],n,e))}(i,r,s)}function Co(t,e,n){return xo(t,"",e,"",n),Co}function xo(t,e,n,r,i){const s=qt(),o=Js(s,e,n,r);return o!==Si&&$i(Zt(),_e(),s,t,o,s[11],i,!1),xo}function To(t,e,n,r,i,s,o){const a=qt(),c=Xs(a,e,n,r,i,s);return c!==Si&&$i(Zt(),_e(),a,t,c,a[11],o,!1),To}function ko(t,e,n,r,i){const s=t[n+1],o=null===e;let a=r?Ti(s):Ii(s),c=!1;for(;0!==a&&(!1===c||o);){const n=t[a+1];Io(t[a],e)&&(c=!0,t[a+1]=r?Fi(n):ki(n)),a=r?Ti(n):Ii(n)}c&&(t[n+1]=r?ki(s):Fi(s))}function Io(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&yn(t,e)>=0}const Ao={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Fo(t){return t.substring(Ao.key,Ao.keyEnd)}function Oo(t,e){const n=Ao.textEnd;return n===e?-1:(e=Ao.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Ao.key=e,n),Ro(t,e,n))}function Ro(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function No(t,e,n){return Mo(t,e,n,!1),No}function Lo(t,e){return Mo(t,e,null,!0),Lo}function Do(t){jo(mn,Po,t,!0)}function Po(t,e){for(let n=function(t){return function(t){Ao.key=0,Ao.keyEnd=0,Ao.value=0,Ao.valueEnd=0,Ao.textEnd=t.length}(t),Oo(t,Ro(t,0,Ao.textEnd))}(e);n>=0;n=Oo(e,n))mn(t,Fo(e),!0)}function Mo(t,e,n,r){const i=qt(),s=Zt(),o=ne(2);s.firstUpdatePass&&Ho(s,t,o,r),e!==Si&&Qs(i,o,e)&&qo(s,s.data[ge()],i,i[11],t,i[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u($n(t)))),t}(e,n),r,o)}function jo(t,e,n,r){const i=Zt(),s=ne(2);i.firstUpdatePass&&Ho(i,null,s,r);const o=qt();if(n!==Si&&Qs(o,s,n)){const a=i.data[ge()];if($o(a,r)&&!Bo(i,s)){let t=r?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=h(t,n||"")),io(i,a,o,n,r)}else!function(t,e,n,r,i,s,o,a){i===Si&&(i=q);let c=0,l=0,u=0<i.length?i[0]:null,h=0<s.length?s[0]:null;for(;null!==u||null!==h;){const d=c<i.length?i[c+1]:void 0,f=l<s.length?s[l+1]:void 0;let p,m=null;u===h?(c+=2,l+=2,d!==f&&(m=h,p=f)):null===h||null!==u&&u<h?(c+=2,m=u):(l+=2,m=h,p=f),null!==m&&qo(t,e,n,r,m,p,o,a),u=c<i.length?i[c]:null,h=l<s.length?s[l]:null}}(i,a,o,o[11],o[s+1],o[s+1]=function(t,e,n){if(null==n||""===n)return q;const r=[],i=$n(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)t(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&t(r,s,i[s]);else"string"==typeof i&&e(r,i);return r}(t,e,n),r,s)}}function Bo(t,e){return e>=t.expandoStartIndex}function Ho(t,e,n,r){const i=t.data;if(null===i[n+1]){const s=i[ge()],o=Bo(t,n);$o(s,r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const i=se(t);let s=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=zo(n=Vo(null,t,e,n,r),e.attrs,r),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=Vo(i,t,e,n,r),null===s){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Ii(r))return t[Ti(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=Vo(null,t,e,n[1],r),n=zo(n,e.attrs,r),function(t,e,n,r){t[Ti(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else s=function(t,e,n){let r;const i=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<i;s++)r=zo(r,t[s].hostAttrs,n);return zo(r,e.attrs,n)}(t,e,r)}return void 0!==s&&(r?e.residualClasses=s:e.residualStyles=s),n}(i,s,e,r),function(t,e,n,r,i,s){let o=s?e.classBindings:e.styleBindings,a=Ti(o),c=Ii(o);t[r]=n;let l,u=!1;if(Array.isArray(n)){const t=n;l=t[1],(null===l||yn(t,l)>0)&&(u=!0)}else l=n;if(i)if(0!==c){const e=Ti(t[a+1]);t[r+1]=xi(e,a),0!==e&&(t[e+1]=Ai(t[e+1],r)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],r)}else t[r+1]=xi(a,0),0!==a&&(t[a+1]=Ai(t[a+1],r)),a=r;else t[r+1]=xi(c,0),0===a?a=r:t[c+1]=Ai(t[c+1],r),c=r;u&&(t[r+1]=ki(t[r+1])),ko(t,l,r,!0),ko(t,l,r,!1),function(t,e,n,r,i){const s=i?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&yn(s,e)>=0&&(n[r+1]=Fi(n[r+1]))}(e,l,t,r,s),o=xi(a,c),s?e.classBindings=o:e.styleBindings=o}(i,s,e,n,o,r)}}function Vo(t,e,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=e[a],r=zo(r,s.hostAttrs,i),s!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function zo(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?i=o:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),mn(t,o,!!n||e[++s]))}return void 0===t?null:t}function qo(t,e,n,r,i,s,o,a){if(!(3&e.type))return;const c=t.data,l=c[a+1];Go(function(t){return 1==(1&t)}(l)?Zo(c,e,n,i,Ii(l),o):void 0)||(Go(s)||function(t){return 2==(2&t)}(l)&&(s=Zo(c,null,n,i,a,o)),function(t,e,n,r,i){const s=It(t);if(e)i?s?t.addClass(n,r):n.classList.add(r):s?t.removeClass(n,r):n.classList.remove(r);else{let e=-1===r.indexOf("-")?void 0:Pr.DashCase;if(null==i)s?t.removeStyle(n,r,e):n.style.removeProperty(r);else{const o="string"==typeof i&&i.endsWith("!important");o&&(i=i.slice(0,-10),e|=Pr.Important),s?t.setStyle(n,r,i,e):n.style.setProperty(r,i,o?"important":"")}}}(r,o,Ot(ge(),n),i,s))}function Zo(t,e,n,r,i,s){const o=null===e;let a;for(;i>0;){const e=t[i],s=Array.isArray(e),c=s?e[1]:e,l=null===c;let u=n[i+1];u===Si&&(u=l?q:void 0);let h=l?gn(u,r):c===r?u:void 0;if(s&&!Go(h)&&(h=gn(e,r)),Go(h)&&(a=h,o))return a;const d=t[i+1];i=o?Ti(d):Ii(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=gn(t,r))}return a}function Go(t){return void 0!==t}function $o(t,e){return 0!=(t.flags&(e?16:32))}function Uo(t,e=""){const n=qt(),r=Zt(),i=t+20,s=r.firstCreatePass?Ni(r,i,1,e,null):r.data[i],o=n[i]=function(t,e){return It(t)?t.createText(e):t.createTextNode(e)}(n[11],e);ei(r,n,o,s),Yt(s,!1)}function Yo(t){return Qo("",t,""),Yo}function Qo(t,e,n){const r=qt(),i=Js(r,t,e,n);return i!==Si&&vs(r,ge(),i),Qo}function Wo(t,e,n,r,i){const s=qt(),o=Xs(s,t,e,n,r,i);return o!==Si&&vs(s,ge(),o),Wo}function Ko(t,e,n){jo(mn,Po,Js(qt(),t,e,n),!0)}function Jo(t,e,n){const r=qt();return Qs(r,ee(),e)&&$i(Zt(),_e(),r,t,e,r[11],n,!0),Jo}function Xo(t,e,n){const r=qt();if(Qs(r,ee(),e)){const i=Zt(),s=_e();$i(i,s,r,t,e,gs(se(i.data),s,r),n,!0)}return Xo}const ta=void 0;var ea=["en",[["a","p"],["AM","PM"],ta],[["AM","PM"],ta,ta],[["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"]],ta,[["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"]],ta,[["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}",ta,"{1} 'at' {0}",ta],[".",",",";","%","+","-","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 na={};function ra(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=sa(e);if(n)return n;const r=e.split("-")[0];if(n=sa(r),n)return n;if("en"===r)return ea;throw new Error(`Missing locale data for the locale "${t}".`)}function ia(t){return ra(t)[oa.PluralCase]}function sa(t){return t in na||(na[t]=V.ng&&V.ng.common&&V.ng.common.locales&&V.ng.common.locales[t]),na[t]}var oa=(()=>((oa=oa||{})[oa.LocaleId=0]="LocaleId",oa[oa.DayPeriodsFormat=1]="DayPeriodsFormat",oa[oa.DayPeriodsStandalone=2]="DayPeriodsStandalone",oa[oa.DaysFormat=3]="DaysFormat",oa[oa.DaysStandalone=4]="DaysStandalone",oa[oa.MonthsFormat=5]="MonthsFormat",oa[oa.MonthsStandalone=6]="MonthsStandalone",oa[oa.Eras=7]="Eras",oa[oa.FirstDayOfWeek=8]="FirstDayOfWeek",oa[oa.WeekendRange=9]="WeekendRange",oa[oa.DateFormat=10]="DateFormat",oa[oa.TimeFormat=11]="TimeFormat",oa[oa.DateTimeFormat=12]="DateTimeFormat",oa[oa.NumberSymbols=13]="NumberSymbols",oa[oa.NumberFormats=14]="NumberFormats",oa[oa.CurrencyCode=15]="CurrencyCode",oa[oa.CurrencySymbol=16]="CurrencySymbol",oa[oa.CurrencyName=17]="CurrencyName",oa[oa.Currencies=18]="Currencies",oa[oa.Directionality=19]="Directionality",oa[oa.PluralCase=20]="PluralCase",oa[oa.ExtraData=21]="ExtraData",oa))();const aa="en-US";let ca=aa;function la(t){b(t,"Expected localeId to be defined"),"string"==typeof t&&(ca=t.toLowerCase().replace(/_/g,"-"))}function ua(t,e,n,r,i){if(t=p(t),Array.isArray(t))for(let s=0;s<t.length;s++)ua(t[s],e,n,r,i);else{const s=Zt(),o=qt();let a=Ls(t)?t:p(t.provide),c=Os(t);const l=$t(),u=1048575&l.providerIndexes,h=l.directiveStart,d=l.providerIndexes>>20;if(Ls(t)||!t.multi){const r=new ke(c,i,no),f=fa(a,e,i?u:u+d,h);-1===f?(qe(Be(l,o),s,a),ha(s,t,e.length),e.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(r),o.push(r)):(n[f]=r,o[f]=r)}else{const f=fa(a,e,u+d,h),p=fa(a,e,u,u+d),m=f>=0&&n[f],g=p>=0&&n[p];if(i&&!g||!i&&!m){qe(Be(l,o),s,a);const u=function(t,e,n,r,i){const s=new ke(t,n,no);return s.multi=[],s.index=e,s.componentProviders=0,da(s,i,r&&!n),s}(i?ma:pa,n.length,i,r,c);!i&&g&&(n[p].providerFactory=u),ha(s,t,e.length,0),e.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(u),o.push(u)}else ha(s,t,f>-1?f:p,da(n[i?p:f],c,!i&&r));!i&&r&&g&&n[p].componentProviders++}}}function ha(t,e,n,r){const i=Ls(e);if(i||function(t){return!!t.useClass}(e)){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,s]):o[t+1].push(r,s)}else o.push(n,s)}}}function da(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function fa(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function pa(t,e,n,r){return ga(this.multi,[])}function ma(t,e,n,r){const i=this.multi;let s;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Ke(n,n[1],this.providerFactory.index,r);s=e.slice(0,t),ga(i,s);for(let n=t;n<e.length;n++)s.push(e[n])}else s=[],ga(i,s);return s}function ga(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function ya(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=Zt();if(r.firstCreatePass){const i=pt(t);ua(n,r.data,r.blueprint,i,!0),ua(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}class _a{}const va="ngComponent";class ba{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e[va]=t,e}(t)}}let wa=(()=>{class t{}return t.NULL=new ba,t})();function Sa(...t){}function Ea(t,e){return new xa(Rt(t,e))}const Ca=function(){return Ea($t(),qt())};let xa=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Ca,t})();function Ta(t){return t instanceof xa?t.nativeElement:t}class ka{}let Ia=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Aa(),t})();const Aa=function(){const t=qt(),e=Dt($t().index,t);return function(t){return t[11]}(lt(e)?e:t)};let Fa=(()=>{class t{}return t.\u0275prov=w({token:t,providedIn:"root",factory:()=>null}),t})();class Oa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ra=new Oa("12.2.6");class Na{constructor(){}supports(t){return $s(t)}create(t){return new Da(t)}}const La=(t,e)=>e;class Da{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||La}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const s=!n||e&&e.currentIndex<Ba(n,r,i)?e:n,o=Ba(s,r,i),a=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{i||(i=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<i.length?i[n]:i[n]=0,s=r+n;e<=s&&s<t&&(i[n]=r+1)}i[s.previousIndex]=e-t}}o!==a&&t(s,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=[]),!$s(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,r,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,n,r,e)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,e),s=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Zs()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,t,r,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),s=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):t=this._addAfter(new Pa(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new ja),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 ja),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 Pa{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 Ma{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 ja{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Ma,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ba(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class Ha{constructor(){}supports(t){return t instanceof Map||Us(t)}create(){return new Va}}class Va{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||Us(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 r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new za(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 za{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function qa(){return new Za([new Na])}let Za=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||qa()),deps:[[t,new Dn,new Ln]]}}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:qa}),t})();function Ga(){return new $a([new Ha])}let $a=(()=>{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||Ga()),deps:[[t,new Dn,new Ln]]}}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:Ga}),t})();function Ua(t,e,n,r,i=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&r.push(Ft(s)),ut(s))for(let t=10;t<s.length;t++){const e=s[t],n=e[1].firstChild;null!==n&&Ua(e[1],e,n,r)}const o=n.type;if(8&o)Ua(t,e,n.child,r);else if(32&o){const t=Mr(n,e);let i;for(;i=t();)r.push(i)}else if(16&o){const t=ri(e,n);if(Array.isArray(t))r.push(...t);else{const n=jr(e[16]);Ua(n[1],n,t,r,!0)}}n=i?n.projectionNext:n.next}return r}class Ya{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 Ua(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(ut(t)){const e=t[8],n=e?e.indexOf(this):-1;n>-1&&(Gr(t,n),fn(e,n))}this._attachedToViewContainer=!1}$r(this._lView[1],this._lView)}onDestroy(t){Zi(this._lView[1],this._lView,null,t)}markForCheck(){ls(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){us(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Jt(!0);try{us(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,oi(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Qa extends Ya{constructor(t){super(t),this._view=t}detectChanges(){hs(this._view)}checkNoChanges(){!function(t){Jt(!0);try{hs(t)}finally{Jt(!1)}}(this._view)}get context(){return null}}const Wa=function(t){return function(t,e,n){if(dt(t)&&!n){const n=Dt(t.index,e);return new Ya(n,n)}return 47&t.type?new Ya(e[16],e):null}($t(),qt(),16==(16&t))};let Ka=(()=>{class t{}return t.__NG_ELEMENT_ID__=Wa,t})();const Ja=[new Ha],Xa=new Za([new Na]),tc=new $a(Ja),ec=function(){return sc($t(),qt())};let nc=(()=>{class t{}return t.__NG_ELEMENT_ID__=ec,t})();const rc=nc,ic=class extends rc{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Ri(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Di(e,n,t),new Ya(n)}};function sc(t,e){return 4&t.type?new ic(e,t,Ea(t,e)):null}class oc{}class ac{}const cc=function(){return pc($t(),qt())};let lc=(()=>{class t{}return t.__NG_ELEMENT_ID__=cc,t})();const uc=lc,hc=class extends uc{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ea(this._hostTNode,this._hostLView)}get injector(){return new tn(this._hostTNode,this._hostLView)}get parentInjector(){const t=ze(this._hostTNode,this._hostLView);if(Ne(t)){const e=De(t,this._hostLView),n=Le(t);return new tn(e[1].data[n+8],e)}return new tn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=dc(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const s=n||this.parentInjector;if(!i&&null==t.ngModule&&s){const t=s.get(oc,null);t&&(i=t)}const o=t.create(s,r,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(ut(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new hc(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e),s=this._lContainer;!function(t,e,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=e),r<s-10?(e[4]=n[i],dn(n,10+r,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}(r,n,s,i);const o=ii(i,s),a=n[11],c=Jr(a,s[7]);return null!==c&&function(t,e,n,r,i,s){r[0]=i,r[6]=e,oi(t,r,n,1,i,s)}(r,s[6],a,n,c,o),t.attachToViewContainerRef(),dn(fc(s),i,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=dc(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Gr(this._lContainer,e);n&&(fn(fc(this._lContainer),e),$r(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Gr(this._lContainer,e);return n&&null!=fn(fc(this._lContainer),e)?new Ya(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function dc(t){return t[8]}function fc(t){return t[8]||(t[8]=[])}function pc(t,e){let n;const r=e[t.index];if(ut(r))n=r;else{let i;if(8&t.type)i=Ft(r);else{const n=e[11];i=n.createComment("");const r=Rt(t,e);Qr(n,Jr(n,r),i,function(t,e){return It(t)?t.nextSibling(e):e.nextSibling}(n,r),!1)}e[t.index]=n=is(r,e,i,t),cs(e,n)}return new hc(n,t,e)}const mc={};class gc extends wa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=at(t);return new vc(e,this.ngModule)}}function yc(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const _c=new an("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Rr});class vc extends _a{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(wi).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return yc(this.componentDef.inputs)}get outputs(){return yc(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const s=t.get(n,mc,i);return s!==mc||r===mc?s:e.get(n,r,i)}}}(t,r.injector):t,s=i.get(ka,At),o=i.get(Fa,null),a=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(t,e,n){if(It(t))return t.selectRootElement(e,n===P.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):qr(s.createRenderer(null,this.componentDef),c,function(t){const e=t.toLowerCase();return"svg"===e?Ct:"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,h=function(t,e){return{components:[],scheduler:t||Rr,clean:fs,playerHandler:e||null,flags:0}}(),d=qi(0,null,null,1,0,null,null,null,null,null),f=Ri(null,d,h,u,null,null,s,a,o,i);let p,m;ue(f);try{const t=function(t,e,n,r,i,s){const o=n[1];n[20]=t;const a=Ni(o,20,2,"#host",null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(bs(a,c,!0),null!==t&&(Ie(i,t,c),null!==a.classes&&li(i,t,a.classes),null!==a.styles&&ci(i,t,a.styles)));const l=r.createRenderer(t,e),u=Ri(n,zi(e),null,e.onPush?64:16,n[20],a,r,l,s||null,null);return o.firstCreatePass&&(qe(Be(a,n),o,e.type),Wi(o,a),Ji(a,n.length,1)),cs(n,u),n[20]=u}(l,this.componentDef,f,s,a);if(l)if(n)Ie(a,l,["ng-version",Ra.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===i?""!==s&&e.push(s,t[++r]):8===i&&n.push(s);else{if(!gi(i))break;i=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Ie(a,l,t),e&&e.length>0&&li(a,l,e.join(" "))}if(m=Nt(d,20),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}p=function(t,e,n,r,i){const s=n[1],o=function(t,e,n){const r=$t();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Xi(t,r,e,Li(t,e,1,null),n));const i=Ke(e,t,r.directiveStart,r);kr(i,e);const s=Rt(r,e);return s&&kr(s,e),i}(s,n,e);if(r.components.push(o),t[8]=o,i&&i.forEach(t=>t(o,e)),e.contentQueries){const t=$t();e.contentQueries(1,o,t.directiveStart)}const a=$t();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ye(a.index),Yi(n[1],a,0,a.directiveStart,a.directiveEnd,e),Qi(e,o)),o}(t,this.componentDef,f,h,[Ms]),Di(d,f,null)}finally{me()}return new bc(this.componentType,p,Ea(m,f),f,m)}}class bc extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.instance=e,this.hostView=this.changeDetectorRef=new Qa(r),this.componentType=t}get injector(){return new tn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const wc=new Map;class Sc extends oc{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new gc(this);const n=ct(t),r=t[Y]||null;r&&la(r),this._bootstrapComponents=Dr(n.bootstrap),this._r3Injector=Is(t,e,[{provide:oc,useValue:this},{provide:wa,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ps.THROW_IF_NOT_FOUND,n=F.Default){return t===Ps||t===oc||t===ws?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 Ec extends ac{constructor(t){super(),this.moduleType=t,null!==ct(t)&&function(t){const e=new Set;!function t(n){const r=ct(n,!0),i=r.id;null!==i&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}(i,wc.get(i),n),wc.set(i,n));const s=Dr(r.imports);for(const o of s)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new Sc(this.moduleType,t)}}function Cc(t,e,n,r){return kc(qt(),Xt(),t,e,n,r)}function xc(t,e,n,r,i){return function(t,e,n,r,i,s,o){const a=e+n;return Ws(t,a,i,s)?Ys(t,a+2,o?r.call(o,i,s):r(i,s)):Tc(t,a+2)}(qt(),Xt(),t,e,n,r,i)}function Tc(t,e){const n=t[e];return n===Si?void 0:n}function kc(t,e,n,r,i,s){const o=e+n;return Qs(t,o,i)?Ys(t,o+1,s?r.call(s,i):r(i)):Tc(t,o+1)}function Ic(t,e){const n=Zt();let r;const i=t+20;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new g("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=gt(r.type)),o=R(no);try{const t=Me(!1),e=s();return Me(t),function(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}(n,qt(),i,e),e}finally{R(o)}}function Ac(t,e,n){const r=t+20,i=qt(),s=Lt(i,r);return function(t,e){Gs.isWrapped(e)&&(e=Gs.unwrap(e),t[te()]=Si);return e}(i,function(t,e){return t[1].data[e].pure}(i,r)?kc(i,Xt(),e,s.transform,n,s):s.transform(n))}function Fc(t){return e=>{setTimeout(t,void 0,e)}}const Oc=class extends r.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var r,s,o;let a=t,c=e||(()=>null),l=n;if(t&&"object"==typeof t){const e=t;a=null===(r=e.next)||void 0===r?void 0:r.bind(e),c=null===(s=e.error)||void 0===s?void 0:s.bind(e),l=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(c=Fc(c),a&&(a=Fc(a)),l&&(l=Fc(l)));const u=super.subscribe({next:a,error:c,complete:l});return t instanceof i.w0&&t.add(u),u}};function Rc(){return this._results[Zs()]()}class Nc{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=Zs(),n=Nc.prototype;n[e]||(n[e]=Rc)}get changes(){return this._changes||(this._changes=new Oc)}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 r=un(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],s=e[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(n._results,r,e))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[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 Lc{constructor(t){this.queryList=t,this.matches=null}clone(){return new Lc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new Dc(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Qc(t,e).matches&&this.queries[e].setDirty()}}class Pc{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class Mc{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new Mc(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 jc{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 jc(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 r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(t,e,Bc(e,i)),this.matchTNodeWithReadOption(t,e,We(e,t,i,!1,!1))}else n===nc?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,We(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===xa||r===lc||r===nc&&4&e.type)this.addMatch(e.index,-2);else{const n=We(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Bc(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function Hc(t,e,n,r){return-1===n?function(t,e){return 11&t.type?Ea(t,e):4&t.type?sc(t,e):null}(e,t):-2===n?function(t,e,n){return n===xa?Ea(e,t):n===nc?sc(e,t):n===lc?pc(e,t):void 0}(t,e,r):Ke(t,t[1],n,e)}function Vc(t,e,n,r){const i=e[19].queries[r];if(null===i.matches){const r=t.data,s=n.matches,o=[];for(let t=0;t<s.length;t+=2){const i=s[t];o.push(i<0?null:Hc(e,r[i],s[t+1],n.metadata.read))}i.matches=o}return i.matches}function zc(t,e,n,r){const i=t.queries.getByIndex(n),s=i.matches;if(null!==s){const o=Vc(t,e,i,n);for(let t=0;t<s.length;t+=2){const n=s[t];if(n>0)r.push(o[t/2]);else{const i=s[t+1],o=e[-n];for(let t=10;t<o.length;t++){const e=o[t];e[17]===e[3]&&zc(e[1],e,i,r)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];zc(n[1],n,i,r)}}}}}return r}function qc(t){const e=qt(),n=Zt(),r=oe();ae(r+1);const i=Qc(n,r);if(t.dirty&&Pt(e)===(2==(2&i.metadata.flags))){if(null===i.matches)t.reset([]);else{const s=i.crossesNgTemplate?zc(n,e,r,[]):Vc(n,e,i,r);t.reset(s,Ta),t.notifyOnChanges()}return!0}return!1}function Zc(t,e,n){const r=Zt();r.firstCreatePass&&(Yc(r,new Pc(t,e,n),-1),2==(2&e)&&(r.staticViewQueries=!0)),Uc(r,qt(),e)}function Gc(t,e,n,r){const i=Zt();if(i.firstCreatePass){const s=$t();Yc(i,new Pc(e,n,r),s.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(i,t),2==(2&n)&&(i.staticContentQueries=!0)}Uc(i,qt(),n)}function $c(){return t=qt(),e=oe(),t[19].queries[e].queryList;var t,e}function Uc(t,e,n){const r=new Nc(4==(4&n));Zi(t,e,r,r.destroy),null===e[19]&&(e[19]=new Dc),e[19].queries.push(new Lc(r))}function Yc(t,e,n){null===t.queries&&(t.queries=new Mc),t.queries.track(new jc(e,n))}function Qc(t,e){return t.queries.getByIndex(e)}function Wc(t,e){return sc(t,e)}const Kc=new an("Application Initializer");let Jc=(()=>{class t{constructor(t){this.appInits=t,this.resolve=Sa,this.reject=Sa,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(ho(e))t.push(e);else if(po(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)(kn(Kc,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const Xc=new an("AppId"),tl={provide:Xc,useFactory:function(){return`${el()}${el()}${el()}`},deps:[]};function el(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const nl=new an("Platform Initializer"),rl=new an("Platform ID"),il=new an("appBootstrapListener");let sl=(()=>{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 ol=new an("LocaleId"),al=new an("DefaultCurrencyCode");class cl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const ll=function(t){return new Ec(t)},ul=ll,hl=function(t){return Promise.resolve(ll(t))},dl=function(t){const e=ll(t),n=Dr(ct(t).declarations).reduce((t,e)=>{const n=at(e);return n&&t.push(new vc(n)),t},[]);return new cl(e,n)},fl=dl,pl=function(t){return Promise.resolve(dl(t))};let ml=(()=>{class t{constructor(){this.compileModuleSync=ul,this.compileModuleAsync=hl,this.compileModuleAndAllComponentsSync=fl,this.compileModuleAndAllComponentsAsync=pl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const gl=(()=>Promise.resolve(0))();function yl(t){"undefined"==typeof Zone?gl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class _l{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Oc(!1),this.onMicrotaskEmpty=new Oc(!1),this.onStable=new Oc(!1),this.onError=new Oc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let t=V.requestAnimationFrame,e=V.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(V,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,wl(t),t.isCheckStableRunning=!0,bl(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),wl(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,o,a)=>{try{return Sl(t),n.invokeTask(i,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),El(t)}},onInvoke:(n,r,i,s,o,a,c)=>{try{return Sl(t),n.invoke(i,s,o,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),El(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,wl(t),bl(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_l.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(_l.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,r){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,t,vl,Sa,Sa);try{return i.runTask(s,e,n)}finally{i.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const vl={};function bl(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 wl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Sl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function El(t){t._nesting--,bl(t)}class Cl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Oc,this.onMicrotaskEmpty=new Oc,this.onStable=new Oc,this.onError=new Oc}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let xl=(()=>{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:()=>{_l.assertNotInAngularZone(),yl(()=>{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())yl(()=>{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 r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(kn(_l))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})(),Tl=(()=>{class t{constructor(){this._applications=new Map,Al.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 Al.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();class kl{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Il(t){Al=t}let Al=new kl,Fl=!0,Ol=!1;function Rl(){return Ol=!0,Fl}function Nl(){if(Ol)throw new Error("Cannot enable prod mode after platform setup.");Fl=!1}let Ll;const Dl=new an("AllowMultipleToken");class Pl{constructor(t,e){this.name=t,this.token=e}}function Ml(t,e,n=[]){const r=`Platform: ${e}`,i=new an(r);return(e=[])=>{let s=jl();if(!s||s.injector.get(Dl,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:Es,useValue:"platform"});!function(t){if(Ll&&!Ll.destroyed&&!Ll.injector.get(Dl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ll=t.get(Bl);const e=t.get(nl,null);e&&e.forEach(t=>t())}(Ps.create({providers:t,name:r}))}return function(t){const e=jl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function jl(){return Ll&&!Ll.destroyed?Ll:null}let Bl=(()=>{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 Cl:("zone.js"===t?void 0:t)||new _l({enableLongStackTrace:Rl(),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}),r=[{provide:_l,useValue:n}];return n.run(()=>{const i=Ps.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(i),o=s.injector.get(Or,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)}});s.onDestroy(()=>{zl(this._modules,s),t.unsubscribe()})}),function(t,n,r){try{const e=r();return ho(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=s.injector.get(Jc);return t.runInitializers(),t.donePromise.then(()=>(la(s.injector.get(ol,aa)||aa),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=Hl({},e);return function(t,e,n){const r=new Ec(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Vl);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)(kn(Ps))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Hl(t,e){return Array.isArray(e)?e.reduce(Hl,t):Object.assign(Object.assign({},t),e)}let Vl=(()=>{class t{constructor(t,e,n,r,i){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new s.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),l=new s.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{_l.assertNotInAngularZone(),yl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{_l.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(c,l.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 _a?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(oc),i=n.create(Ps.NULL,[],e||n.selector,r),s=i.location.nativeElement,o=i.injector.get(xl,null),a=o&&i.injector.get(Tl);return o&&a&&a.registerApplication(s,o),i.onDestroy(()=>{this.detachView(i.hostView),zl(this.components,i),a&&a.unregisterApplication(s)}),this._loadComponent(i),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;zl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(il,[]).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)(kn(_l),kn(Ps),kn(Or),kn(wa),kn(Jc))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function zl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class ql{}class Zl{}const Gl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let $l=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Gl}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n(98255)(e).then(t=>t[r]).then(t=>Ul(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n(98255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+i]).then(t=>Ul(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(kn(ml),kn(Zl,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Ul(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Yl=function(t){return null},Ql=Ml(null,"core",[{provide:rl,useValue:"unknown"},{provide:Bl,deps:[Ps]},{provide:Tl,deps:[]},{provide:sl,deps:[]}]),Wl=[{provide:Vl,useClass:Vl,deps:[_l,Ps,Or,wa,Jc]},{provide:_c,deps:[_l],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Jc,useClass:Jc,deps:[[new Ln,Kc]]},{provide:ml,useClass:ml,deps:[]},tl,{provide:Za,useFactory:function(){return Xa},deps:[]},{provide:$a,useFactory:function(){return tc},deps:[]},{provide:ol,useFactory:function(t){return la(t=t||"undefined"!=typeof $localize&&$localize.locale||aa),t},deps:[[new Nn(ol),new Ln,new Dn]]},{provide:al,useValue:"USD"}];let Kl=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(kn(Vl))},t.\u0275mod=nt({type:t}),t.\u0275inj=S({providers:Wl}),t})()},70781:function(t,e,n){"use strict";n.d(e,{lW:function(){return h},ot:function(){return d}});var r=n(24298),i=n(71918),s=n(2316),o=n(51606);const a=["mat-button",""],c=["*"],l=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],u=(0,r.pj)((0,r.Id)((0,r.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 r of l)this._hasHostAttributes(r)&&this._getHostElement().classList.add(r);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)(s.Y36(s.SBq),s.Y36(o.tE),s.Y36(i.Qb,8))},t.\u0275cmp=s.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&&s.Gf(r.wG,5),2&t){let t;s.iGM(t=s.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(s.uIk("disabled",e.disabled||null),s.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.qOj],attrs:a,ngContentSelectors:c,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&&(s.F$t(),s.TgZ(0,"span",0),s.Hsn(1),s.qZA(),s._UZ(2,"span",1),s._UZ(3,"span",2)),2&t&&(s.xp6(2),s.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),s.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[r.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=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.si,r.BQ],r.BQ]}),t})()},24298:function(t,e,n){"use strict";n.d(e,{Y2:function(){return x},BQ:function(){return p},wG:function(){return T},si:function(){return k},IR:function(){return C},pj:function(){return g},Kr:function(){return y},Id:function(){return m},sb:function(){return _}});var r=n(2316),i=n(51606),s=n(772);const o=new r.GfV("12.2.6");var a=n(54364),c=n(20657),l=(n(20749),n(36145)),u=n(71918);n(90084);const h=new r.GfV("12.2.6"),d=new r.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let f,p=(()=>{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,r.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")&&h.full!==o.full&&console.warn("The Angular Material version ("+h.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)(r.LFG(i.qm),r.LFG(d,8),r.LFG(a.K0))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.vT],s.vT]}),t})();function m(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,c.Ig)(t)}}}function g(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 y(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,c.Ig)(t)}}}function _(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,c.su)(t):this.defaultTabIndex}}}try{f="undefined"!=typeof Intl}catch(I){f=!1}class v{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const b={enterDuration:225,exitDuration:150},w=(0,l.i$)({passive:!0}),S=["mousedown","touchstart"],E=["mouseup","mouseleave","touchend","touchcancel"];class C{constructor(t,e,n,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=(0,c.fI)(n))}fadeInRipple(t,e,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign(Object.assign({},b),n.animation);n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const s=n.radius||function(t,e,n){const r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+i*i)}(t,e,r),o=t-r.left,a=e-r.top,c=i.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=o-s+"px",l.style.top=a-s+"px",l.style.height=2*s+"px",l.style.width=2*s+"px",null!=n.color&&(l.style.backgroundColor=n.color),l.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";const u=new v(this,l,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()},c),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,r=Object.assign(Object.assign({},b),t.config.animation);n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=(0,c.fI)(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(S))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(E),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=(0,i.X6)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!(0,i.yG)(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,w)})})}_removeTriggerEvents(){this._triggerElement&&(S.forEach(t=>{this._triggerElement.removeEventListener(t,this,w)}),this._pointerUpEventsRegistered&&E.forEach(t=>{this._triggerElement.removeEventListener(t,this,w)}))}}const x=new r.OlP("mat-ripple-global-options");let T=(()=>{class t{constructor(t,e,n,r,i){this._elementRef=t,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new C(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)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(l.t4),r.Y36(x,8),r.Y36(u.Qb,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&r.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})(),k=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[p,l.ud],p]}),t})()},18226:function(t,e,n){"use strict";n.d(e,{Hw:function(){return B},Ps:function(){return H},jv:function(){return F}});var r=n(2316),i=n(24298),s=n(20657),o=n(54364),a=n(62431),c=n(28371),l=n(6376),u=n(75681),h=n(36487),d=n(78301),f=n(39501),p=n(47599),m=n(30864),g=n(90930),y=n(39349),_=n(49005),v=n(34864),b=n(67465),w=n(31635),S=n(35116),E=n(53882),C=n(71570);const x=["*"];function T(t){return Error(`Unable to find icon with the name "${t}"`)}function k(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function I(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class A{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let F=(()=>{class t{constructor(t,e,n,r){this._httpClient=t,this._sanitizer=e,this._errorHandler=r,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,r){return this._addSvgIconConfig(t,e,new A(n,null,r))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,i){const s=this._sanitizer.sanitize(r.q3G.HTML,n);if(!s)throw I(n);return this._addSvgIconConfig(t,e,new A("",s,i))}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 A(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const i=this._sanitizer.sanitize(r.q3G.HTML,e);if(!i)throw I(e);return this._addSvgIconSetConfig(t,new A("",i,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(r.q3G.RESOURCE_URL,t);if(!e)throw k(t);const n=this._cachedIconsByUrl.get(e);return n?(0,p.of)(O(n)):this._loadSvgIconFromConfig(new A(t,null)).pipe((0,y.b)(t=>this._cachedIconsByUrl.set(e,t)),(0,_.U)(t=>O(t)))}getNamedSvgIcon(t,e=""){const n=R(e,t);let r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(e,t),r)return this._svgIconConfigs.set(n,r),this._getSvgFromConfig(r);const i=this._iconSetConfigs.get(e);return i?this._getSvgFromIconSetConfigs(t,i):(0,m._)(T(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,p.of)(O(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,_.U)(t=>O(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);return n?(0,p.of)(n):function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,u.jO)(t),r=(0,c.D)(t),i=r.args,s=r.keys,o=new a.y(function(t){var e=i.length;if(e)for(var n=new Array(e),r=e,o=e,a=function(e){var a=!1;(0,l.Xf)(i[e]).subscribe(new h.Q(t,function(t){a||(a=!0,o--),n[e]=t},function(){(!--r||!a)&&(o||t.next(s?(0,f.n)(s,n):n),t.complete())}))},c=0;c<e;c++)a(c);else t.complete()});return n?o.pipe((0,d.Z)(n)):o}(e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe((0,v.K)(e=>{const n=`Loading icon set URL: ${this._sanitizer.sanitize(r.q3G.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler.handleError(new Error(n)),(0,p.of)(null)})))).pipe((0,_.U)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw T(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const r=e[n];if(r.svgText&&r.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(r),n=this._extractSvgIconFromSet(e,t,r.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,y.b)(e=>t.svgText=e),(0,_.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,p.of)(null):this._fetchIcon(t).pipe((0,y.b)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const r=t.querySelector(`[id="${e}"]`);if(!r)return null;const i=r.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,n);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),n);const s=this._svgElementFromString("<svg></svg>");return s.appendChild(i),this._setSvgAttributes(s,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 r=0;r<n.length;r++){const{name:t,value:i}=n[r];"id"!==t&&e.setAttribute(t,i)}for(let r=0;r<t.childNodes.length;r++)t.childNodes[r].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[r].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:i}=t,s=null!==(e=null==i?void 0:i.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(r.q3G.RESOURCE_URL,n);if(!o)throw k(n);const a=this._inProgressUrlFetches.get(o);if(a)return a;const c=this._httpClient.get(o,{responseType:"text",withCredentials:s}).pipe((0,b.x)(()=>this._inProgressUrlFetches.delete(o)),(0,w.B)());return this._inProgressUrlFetches.set(o,c),c}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(R(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 r=this._resolvers[n](e,t);if(r)return N(r)?new A(r.url,null,r.options):new A(r,null)}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(E.eN,8),r.LFG(C.H7),r.LFG(o.K0,8),r.LFG(r.qLn))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(E.eN,8),r.LFG(C.H7),r.LFG(o.K0,8),r.LFG(r.qLn))},token:t,providedIn:"root"}),t})();function O(t){return t.cloneNode(!0)}function R(t,e){return t+":"+e}function N(t){return!(!t.url||!t.options)}const L=(0,i.pj)(class{constructor(t){this._elementRef=t}}),D=new r.OlP("mat-icon-location",{providedIn:"root",factory:function(){const t=(0,r.f3M)(o.K0),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),P=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],M=P.map(t=>`[${t}]`).join(", "),j=/^url\(['"]?#(.*?)['"]?\)$/;let B=(()=>{class t extends L{constructor(t,e,n,r,i){super(t),this._iconRegistry=e,this._location=r,this._errorHandler=i,this._inline=!1,this._currentIconFetch=g.w0.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=(0,s.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 r=0;r<e.length;r++)e[r].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(M),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r<e.length;r++)P.forEach(t=>{const i=e[r],s=i.getAttribute(t),o=s?s.match(j):null;if(o){let e=n.get(i);e||(e=[],n.set(i,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,S.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)(r.Y36(r.SBq),r.Y36(F),r.$8M("aria-hidden"),r.Y36(D),r.Y36(r.qLn))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(r.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),r.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:[r.qOj],ngContentSelectors:x,decls:1,vars:0,template:function(t,e){1&t&&(r.F$t(),r.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})(),H=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.BQ],i.BQ]}),t})()},71918:function(t,e,n){"use strict";n.d(e,{Qb:function(){return Ne},PW:function(){return Me}});var r=n(2316),i=n(71570),s=n(97175);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function c(t){switch(t.length){case 0:return new s.ZN;case 1:return t[0];default:return new s.ZE(t)}}function l(t,e,n,r,i={},o={}){const a=[],c=[];let l=-1,u=null;if(r.forEach(t=>{const n=t.offset,r=n==l,h=r&&u||{};Object.keys(t).forEach(n=>{let r=n,c=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,a),c){case s.k1:c=i[n];break;case s.l3:c=o[n];break;default:c=e.normalizeStyleValue(n,r,c,a)}h[r]=c}),r||c.push(h),u=h,l=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return c}function u(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&h(n,"start",t)));break;case"done":t.onDone(()=>r(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&h(n,"destroy",t)))}}function h(t,e,n){const r=n.totalTime,i=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),s=t._data;return null!=s&&(i._data=s),i}function d(t,e,n,r,i="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function f(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function p(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let m=(t,e)=>!1,g=(t,e)=>!1,y=(t,e,n)=>[];const _=a();(_||"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(_||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}})(),y=(t,e,n)=>{let r=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)r.push(n[t])}else{const n=t.querySelector(e);n&&r.push(n)}return r});let v=null,b=!1;function w(t){v||(v=("undefined"!=typeof document?document.body:null)||{},b=!!v.style&&"WebkitAppearance"in v.style);let e=!0;return v.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in v.style,!e&&b&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in v.style)),e}const S=g,E=m,C=y;function x(t){const e={};return Object.keys(t).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let T=(()=>{class t{validateStyleProperty(t){return w(t)}matchesElement(t,e){return S(t,e)}containsElement(t,e){return E(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,i,o=[],a){return new s.ZN(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),k=(()=>{class t{}return t.NOOP=new T,t})();const I="ng-enter",A="ng-leave",F="ng-trigger",O=".ng-trigger",R="ng-animating",N=".ng-animating";function L(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:D(parseFloat(e[1]),e[2])}function D(t,e){switch(e){case"s":return 1e3*t;default:return t}}function P(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,i=0,s="";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:""};r=D(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=D(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else r=t;if(!n){let n=!1,s=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:r,delay:i,easing:s}}(t,e,n)}function M(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function j(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else M(t,n);return n}function B(t,e,n){return n?e+":"+n+";":""}function H(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=B(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=B(0,W(n),t.style[n]));t.setAttribute("style",e)}function V(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const i=Q(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]}),a()&&H(t))}function z(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=Q(e);t.style[n]=""}),a()&&H(t))}function q(t){return Array.isArray(t)?1==t.length?t[0]:(0,s.vP)(t):t}const Z=new RegExp("{{\\s*(.+?)\\s*}}","g");function G(t){let e=[];if("string"==typeof t){let n;for(;n=Z.exec(t);)e.push(n[1]);Z.lastIndex=0}return e}function $(t,e,n){const r=t.toString(),i=r.replace(Z,(t,r)=>{let i=e[r];return e.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),i=""),i.toString()});return i==r?t:i}function U(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Y=/-+([a-z0-9])/g;function Q(t){return t.replace(Y,(...t)=>t[1].toUpperCase())}function W(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function K(t,e){return 0===t||0===e}function J(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let s=e[0],o=[];if(r.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var i=1;i<e.length;i++){let n=e[i];o.forEach(function(e){n[e]=tt(t,e)})}}return e}function X(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 r=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 r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=r[1],s=r[2],o=r[3];e.push(it(i,o));"<"==s[0]&&!("*"==i&&"*"==o)&&e.push(it(o,i))}(t,n,e)):n.push(t),n}const nt=new Set(["true","1"]),rt=new Set(["false","0"]);function it(t,e){const n=nt.has(t)||rt.has(t),r=nt.has(e)||rt.has(e);return(i,s)=>{let o="*"==t||t==i,a="*"==e||e==s;return!o&&n&&"boolean"==typeof i&&(o=i?nt.has(t):rt.has(t)),!a&&r&&"boolean"==typeof s&&(a=s?nt.has(e):rt.has(e)),o&&a}}const st=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 ct(e);return this._resetContextStyleTimingState(n),X(this,q(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const i=[],s=[];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,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,r+=i.depCount,s.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:s,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,s=r||{};if(n.styles.forEach(t=>{if(lt(t)){const e=t;Object.keys(e).forEach(t=>{G(e[t]).forEach(t=>{s.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=U(i.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=X(this,q(t.animation),e);return{type:1,matchers:et(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ut(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>X(this,t,e)),options:ut(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const i=t.steps.map(t=>{e.currentTime=n;const i=X(this,t,e);return r=Math.max(r,e.currentTime),i});return e.currentTime=r,{type:3,steps:i,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(P(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=ht(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||P(r,e),ht(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let r,i=t.styles?t.styles:(0,s.oB)({});if(5==i.type)r=this.visitKeyframes(i,e);else{let i=t.styles,o=!1;if(!i){o=!0;const t={};n.easing&&(t.easing=n.easing),i=(0,s.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(i,e);a.isEmptyStep=o,r=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,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==s.l3?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,i=null;return n.forEach(t=>{if(lt(t)){const e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,i=e.currentTime;n&&i>0&&(i-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=e.collectedStyles[e.currentQuerySelector],o=s[n];let a=!0;o&&(i!=r&&i>=o.startTime&&r<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=o.startTime),a&&(s[n]={startTime:i,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},i=G(t);i.length&&i.forEach(t=>{r.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 r=0;const i=[];let s=!1,o=!1,a=0;const c=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let c=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),l=0;return null!=c&&(r++,l=n.offset=c),o=o||l<0||l>1,s=s||l<a,a=l,i.push(l),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&e.errors.push("Please ensure that all keyframe offsets are in order");const l=t.steps.length;let u=0;r>0&&r<l?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(l-1));const h=l-1,d=e.currentTime,f=e.currentAnimateTimings,p=f.duration;return c.forEach((t,r)=>{const s=u>0?r==h?1:u*r:i[r],o=s*p;e.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:X(this,q(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,r=t.options||{};e.queryCount++,e.currentQuery=t;const[i,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(st,"")),[t=t.replace(/@\*/g,O).replace(/@\w+/g,t=>O+"-"+t.substr(1)).replace(/:animating/g,N),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,f(e.collectedStyles,e.currentQuerySelector,{});const o=X(this,q(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:s,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"}:P(t.timings,e.errors,!0);return{type:12,animation:X(this,q(t.animation),e),timings:n,options:null}}}class ct{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 lt(t){return!Array.isArray(t)&&"object"==typeof t}function ut(t){return t?(t=M(t)).params&&(t.params=function(t){return t?M(t):null}(t.params)):t={},t}function ht(t,e,n){return{duration:t,delay:e,easing:n}}function dt(t,e,n,r,i,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class ft{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 pt=new RegExp(":enter","g"),mt=new RegExp(":leave","g");function gt(t,e,n,r,i,s={},o={},a,c,l=[]){return(new yt).buildKeyframes(t,e,n,r,i,s,o,a,c,l)}class yt{buildKeyframes(t,e,n,r,i,s,o,a,c,l=[]){c=c||new ft;const u=new vt(t,e,c,r,i,l,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),X(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[dt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);i!=s&&e.transformIntoNewTimeline(s)}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 r=e.currentTimeline.currentTime;const i=null!=n.duration?L(n.duration):null,s=null!=n.delay?L(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,s);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),X(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const i=t.options;if(i&&(i.params||i.delay)&&(r=e.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=_t);const t=L(i.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>X(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?L(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);i&&o.delayNextStep(i),X(this,s,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return P(e.params?$(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),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*i),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},i=r.delay?L(r.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=_t);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);i&&o.delayNextStep(i),n===e.element&&(a=o.currentTimeline),X(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,i=t.timings,s=Math.abs(i.duration),o=s*(e.currentQueryTotal-1);let a=s*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const l=c.currentTime;X(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)}}const _t={};class vt{constructor(t,e,n,r,i,s,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_t,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new bt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=L(n.duration)),null!=n.delay&&(r.delay=L(n.delay));const i=n.params;if(i){let t=r.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{(!e||!t.hasOwnProperty(n))&&(t[n]=$(i[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,i=new vt(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=_t,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new wt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,i,s){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(pt,"."+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!i&&0==o.length&&s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class bt{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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 bt(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]||s.l3,this._currentKeyframe[t]=s.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const i=r&&r.params||{},o=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]=s.l3})):j(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=$(o[t],i,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:s.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],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,o)=>{const a=j(i,!0);Object.keys(a).forEach(n=>{const r=a[n];r==s.k1?t.add(n):r==s.l3&&e.add(n)}),n||(a.offset=o/this.duration),r.push(a)});const i=t.size?U(t.values()):[],o=e.size?U(e.values()):[];if(n){const t=r[0],e=M(t);t.offset=0,e.offset=1,r=[t,e]}return dt(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}}class wt extends bt{constructor(t,e,n,r,i,s,o=!1){super(t,e,s.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],s=n+e,o=e/s,a=j(t[0],!1);a.offset=0,i.push(a);const c=j(t[0],!1);c.offset=St(o),i.push(c);const l=t.length-1;for(let r=1;r<=l;r++){let o=j(t[r],!1);o.offset=St((e+o.offset*n)/s),i.push(o)}n=s,e=0,r="",t=i}return dt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function St(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Et{}class Ct extends Et{normalizePropertyName(t,e){return Q(t)}normalizeStyleValue(t,e,n,r){let i="";const s=n.toString().trim();if(xt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+i}}const xt=(()=>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 Tt(t,e,n,r,i,s,o,a,c,l,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:h,errors:d}}const kt={};class It{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,i){return t.some(t=>t(e,n,r,i))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],i=this._stateStyles[t],s=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):s}build(t,e,n,r,i,s,o,a,c,l){const u=[],h=this.ast.options&&this.ast.options.params||kt,d=this.buildStyles(n,o&&o.params||kt,u),p=a&&a.params||kt,m=this.buildStyles(r,p,u),g=new Set,y=new Map,_=new Map,v="void"===r,b={params:Object.assign(Object.assign({},h),p)},w=l?[]:gt(t,e,this.ast.animation,i,s,d,m,b,c,u);let S=0;if(w.forEach(t=>{S=Math.max(t.duration+t.delay,S)}),u.length)return Tt(e,this._triggerName,n,r,v,d,m,[],[],y,_,S,u);w.forEach(t=>{const n=t.element,r=f(y,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const i=f(_,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&g.add(n)});const E=U(g.values());return Tt(e,this._triggerName,n,r,v,d,m,w,E,y,_,S)}}class At{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},r=M(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let s=i[t];s.length>1&&(s=$(s,r,e));const o=this.normalizer.normalizePropertyName(t,e);s=this.normalizer.normalizeStyleValue(t,o,s,e),n[o]=s})}}),n}}class Ft{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new At(t.style,t.options&&t.options.params||{},n)}),Ot(this.states,"true","1"),Ot(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new It(t,e,this.states))}),this.fallbackTransition=function(t,e,n){return new It(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,r){return this.transitionFactories.find(i=>i.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Ot(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Rt=new ft;class Nt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=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]=r}_buildPlayer(t,e,n){const r=t.element,i=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],i=this._animations[t];let o;const a=new Map;if(i?(o=gt(this._driver,e,i,I,A,{},{},n,Rt,r),o.forEach(t=>{const e=f(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error(`Unable to create the animation due to the following errors: ${r.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,s.l3)})});const l=c(o.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(()=>this.destroy(t)),this.players.push(l),l}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,r){const i=d(e,"","","");return u(this._getPlayer(t),n,i,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const Lt="ng-animate-queued",Dt="ng-animate-disabled",Pt=".ng-animate-disabled",Mt=[],jt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Bt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ht="__ng_removed";class Vt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=M(t);delete e.value,this.options=e}else this.options={};var r;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 zt="void",qt=new Vt(zt);class Zt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Jt(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const s=f(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};s.push(o);const a=f(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Jt(t,F),Jt(t,F+"-"+e),a[e]=qt),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(o);t>=0&&s.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,r=!0){const i=this._getTrigger(e),s=new $t(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Jt(t,F),Jt(t,F+"-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const c=new Vt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),o[e]=c,a||(a=qt),c.value!==zt&&a.value===c.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!e.hasOwnProperty(r)||t[r]!==e[r])return!1}return!0}(a.params,c.params)){const e=[],n=i.matchStyles(a.value,a.params,e),r=i.matchStyles(c.value,c.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{z(t,n),V(t,r)})}return}const l=f(this._engine.playersByElement,t,[]);l.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=i.matchTransition(a.value,c.value,t,c.params),h=!1;if(!u){if(!r)return;u=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:c,player:s,isFallbackTransition:h}),h||(Jt(t,Lt),s.onStart(()=>{Xt(t,Lt)})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),l.push(s),s}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,O,!0);n.forEach(t=>{if(t[Ht])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,r){const i=this._engine.statesByElement.get(t);if(i){const s=[];if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,zt,r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&c(s).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 r=new Set;e.forEach(e=>{const i=e.name;if(r.has(i))return;r.add(i);const s=this._triggers[i].fallbackTransition,o=n[i]||qt,a=new Vt(zt),c=new $t(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:s,fromState:o,toState:a,player:c,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t[Ht];(!r||r===jt)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Jt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,s=this._elementListeners.get(i);s&&s.forEach(e=>{if(e.name==n.triggerName){const r=d(i,n.triggerName,n.fromState.value,n.toState.value);r._data=t,u(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r: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 Zt(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 r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||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 r=this._namespaceLookup[t];r&&r.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 r=0;r<t.length;r++){const i=n[t[r]].namespaceId;if(i){const t=this._fetchNamespace(i);t&&e.add(t)}}}return e}trigger(t,e,n,r){if(Ut(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!Ut(e))return;const i=e[Ht];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Jt(t,Dt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Xt(t,Dt))}removeNode(t,e,n,r){if(Ut(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e[Ht]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,i){return Ut(e)?this._fetchNamespace(t).listen(e,n,r,i):()=>{}}_buildInstruction(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,O,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,N,!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 c(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[Ht];if(e&&e.setForRemoval){if(t[Ht]=jt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Pt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Pt,!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++)Jt(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?c(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 ft,r=[],i=new Map,o=[],a=new Map,l=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,p=Array.from(this.statesByElement.keys()),m=Wt(p,this.collectedEnterElements),g=new Map;let y=0;m.forEach((t,e)=>{const n=I+y++;g.set(e,n),t.forEach(t=>Jt(t,n))});const _=[],v=new Set,b=new Set;for(let s=0;s<this.collectedLeaveElements.length;s++){const t=this.collectedLeaveElements[s],e=t[Ht];e&&e.setForRemoval&&(_.push(t),v.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>v.add(t)):b.add(t))}const w=new Map,S=Wt(p,Array.from(v));S.forEach((t,e)=>{const n=A+y++;w.set(e,n),t.forEach(t=>Jt(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Xt(t,n))}),S.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Xt(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const E=[],C=[];for(let s=this._namespaceList.length-1;s>=0;s--)this._namespaceList[s].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(E.push(e),this.collectedEnterElements.length){const t=i[Ht];if(t&&t.setForMove)return void e.destroy()}const s=!d||!this.driver.containsElement(d,i),c=w.get(i),h=g.get(i),p=this._buildInstruction(t,n,h,c,s);if(p.errors&&p.errors.length)C.push(p);else{if(s)return e.onStart(()=>z(i,p.fromStyles)),e.onDestroy(()=>V(i,p.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>z(i,p.fromStyles)),e.onDestroy(()=>V(i,p.toStyles)),void r.push(e);p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,p.timelines),o.push({instruction:p,player:e,element:i}),p.queriedElements.forEach(t=>f(a,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=l.get(e);t||l.set(e,t=new Set),n.forEach(e=>t.add(e))}}),p.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=u.get(e);r||u.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(C.length){const t=[];C.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),E.forEach(t=>t.destroy()),this.reportError(t)}const x=new Map,T=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(T.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{f(x,e,[]).push(t),t.destroy()})});const k=_.filter(t=>ne(t,l,u)),F=new Map;Qt(F,this.driver,b,u,s.l3).forEach(t=>{ne(t,l,u)&&k.push(t)});const O=new Map;m.forEach((t,e)=>{Qt(O,this.driver,new Set(t),l,s.k1)}),k.forEach(t=>{const e=F.get(t),n=O.get(t);F.set(t,Object.assign(Object.assign({},e),n))});const R=[],L=[],D={};o.forEach(t=>{const{element:e,player:s,instruction:o}=t;if(n.has(e)){if(h.has(e))return s.onDestroy(()=>V(e,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void r.push(s);let t=D;if(T.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=T.get(n);if(e){t=e;break}r.push(n)}r.forEach(e=>T.set(e,t))}const n=this._buildAnimation(s.namespaceId,o,x,i,O,F);if(s.setRealPlayer(n),t===D)R.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=c(e)),r.push(s)}}else z(e,o.fromStyles),s.onDestroy(()=>V(e,o.toStyles)),L.push(s),h.has(e)&&r.push(s)}),L.forEach(t=>{const e=i.get(t.element);if(e&&e.length){const n=c(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let s=0;s<_.length;s++){const t=_[s],e=t[Ht];if(Xt(t,A),e&&e.hasAnimation)continue;let n=[];if(a.size){let e=a.get(t);e&&e.length&&n.push(...e);let r=this.driver.query(t,N,!0);for(let t=0;t<r.length;t++){let e=a.get(r[t]);e&&e.length&&n.push(...e)}}const r=n.filter(t=>!t.destroyed);r.length?te(this,t,r):this.processLeaveNode(t)}return _.length=0,R.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),R}elementContainsData(t,e){let n=!1;const r=e[Ht];return r&&r.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,r,i){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||i==zt;e.forEach(e=>{e.queued||!t&&e.triggerName!=r||s.push(e)})}}return(n||r)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const r=e.element,i=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==r,c=f(n,t,[]);this._getPreviousPlayers(t,a,i,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}z(r,e.fromStyles)}_buildAnimation(t,e,n,r,i,o){const a=e.triggerName,u=e.element,h=[],d=new Set,p=new Set,m=e.timelines.map(e=>{const c=e.element;d.add(c);const f=c[Ht];if(f&&f.removedBeforeQueried)return new s.ZN(e.duration,e.delay);const m=c!==u,g=function(t){const e=[];return ee(t,e),e}((n.get(c)||Mt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===c),y=i.get(c),_=o.get(c),v=l(0,this._normalizer,0,e.keyframes,y,_),b=this._buildPlayer(e,v,g);if(e.subTimeline&&r&&p.add(c),m){const e=new $t(t,a,c);e.setRealPlayer(b),h.push(e)}return b});h.forEach(t=>{f(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),d.forEach(t=>Jt(t,R));const g=c(m);return g.onDestroy(()=>{d.forEach(t=>Xt(t,R)),V(u,e.toStyles)}),p.forEach(t=>{f(r,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 s.ZN(t.duration,t.delay)}}class $t{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new s.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){f(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 Ut(t){return t&&1===t.nodeType}function Yt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Qt(t,e,n,r,i){const s=[];n.forEach(t=>s.push(Yt(t)));const o=[];r.forEach((n,r)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(r,t,i);(!n||0==n.length)&&(r[Ht]=Bt,o.push(r))}),t.set(r,s)});let a=0;return n.forEach(t=>Yt(t,s[a++])),o}function Wt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),i=new Map;function s(t){if(!t)return 1;let e=i.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:r.has(o)?1:s(o),i.set(t,e),e}return e.forEach(t=>{const e=s(t);1!==e&&n.get(e).push(t)}),n}const Kt="$$classes";function Jt(t,e){if(t.classList)t.classList.add(e);else{let n=t[Kt];n||(n=t[Kt]={}),n[e]=!0}}function Xt(t,e){if(t.classList)t.classList.remove(e);else{let n=t[Kt];n&&delete n[e]}}function te(t,e,n){c(n).onDone(()=>t.processLeaveNode(e))}function ee(t,e){for(let n=0;n<t.length;n++){const r=t[n];r instanceof s.ZE?ee(r.players,e):e.push(r)}}function ne(t,e,n){const r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach(t=>i.add(t)):e.set(t,r),n.delete(t),!0}class re{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 Nt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,i){const s=t+"-"+r;let o=this._triggerCache[s];if(!o){const t=[],e=ot(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e,n){return new Ft(t,e,n)}(r,e,this._normalizer),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,i]=p(n);this._timelineEngine.command(t,e,i,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,i){if("@"==n.charAt(0)){const[t,r]=p(n);return this._timelineEngine.listen(t,e,r,i)}return this._transitionEngine.listen(t,e,n,r,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ie(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=oe(e[0]),e.length>1&&(r=oe(e[e.length-1]))):e&&(n=oe(e)),n||r?new se(t,n,r):null}let se=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&V(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(V(this._element,this._initialStyles),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(z(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),V(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function oe(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const i=n[r];ae(i)&&(e=e||{},e[i]=t[i])}return e}function ae(t){return"display"===t||"position"===t}const ce="animation",le="animationend";class ue{constructor(t,e,n,r,i,s,o){this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=i,this._fillMode=s,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 r=0;n.length&&(function(t,e){let n=0;for(let r=0;r<t.length;r++)","===t.charAt(r)&&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}`),pe(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(),pe(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ge(t,"").split(","),r=fe(n,e);r>=0&&(n.splice(r,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?fe(n.split(","),e):fe([n],e)}function fe(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function pe(t,e,n){n?t.removeEventListener(le,e):t.addEventListener(le,e)}function me(t,e,n,r){const i=ce+e;if(null!=r){const e=t.style[i];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[i]=n}function ge(t,e){return t.style[ce+e]||""}class ye{constructor(t,e,n,r,i,s,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=r+i,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new 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 _e extends s.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=x(e)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class ve{constructor(){this._count=0}validateStyleProperty(t){return w(t)}matchesElement(t,e){return S(t,e)}containsElement(t,e){return E(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>x(t));let r=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);r+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${e}: ${n};\n`)}}),r+=`${i}}\n`}),r+="}\n";const s=document.createElement("style");return s.textContent=r,s}animate(t,e,n,r,i,s=[],o){const a=s.filter(t=>t instanceof ye),c={};K(n,r)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=J(t,e,c));if(0==n)return new _e(t,l);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=ie(t,e),f=new ye(t,e,u,n,r,i,l,d);return f.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),f}}class be{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=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(Se().toString()),this._cssKeyframesDriver=new ve}validateStyleProperty(t){return w(t)}matchesElement(t,e){return S(t,e)}containsElement(t,e){return E(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,i,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,s);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const c={},l=s.filter(t=>t instanceof be);K(n,r)&&l.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const u=ie(t,e=J(t,e=e.map(t=>j(t,!1)),c));return new be(t,e,a,u)}}function Se(){return o()&&Element.prototype.animate||{}}var Ee=n(54364);let Ce=(()=>{class t extends s._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:r.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,s.vP)(t):t;return ke(this._renderer,null,e,"register",[n]),new xe(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.FYo),r.LFG(Ee.K0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();class xe extends s.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Te(this._id,t,e||{},this._renderer)}}class Te{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,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 ke(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 ke(t,e,n,r,i){return t.setProperty(e,`@@${n}:${r}`,i)}const Ie="@.disabled";let Ae=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new Fe("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,i=e.id+"-"+this._currentId;this._currentId++,this.engine.register(i,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(r,i,t,e.name,e)};return e.data.animation.forEach(s),new Oe(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.FYo),r.LFG(re),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();class Fe{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,r=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,r)}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,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&e==Ie?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 Oe extends Fe{constructor(t,e,n,r){super(e,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Ie?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 r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let i=e.substr(1),s="";return"@"!=i.charAt(0)&&([i,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(i)),this.engine.listen(this.namespaceId,r,i,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let Re=(()=>{class t extends re{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(Ee.K0),r.LFG(k),r.LFG(Et))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const Ne=new r.OlP("AnimationModuleType"),Le=[{provide:s._j,useClass:Ce},{provide:Et,useFactory:function(){return new Ct}},{provide:re,useClass:Re},{provide:r.FYo,useFactory:function(t,e,n){return new Ae(t,e,n)},deps:[i.se,re,r.R0b]}],De=[{provide:k,useFactory:function(){return"function"==typeof Se()?new we:new ve}},{provide:Ne,useValue:"BrowserAnimations"},...Le],Pe=[{provide:k,useClass:T},{provide:Ne,useValue:"NoopAnimations"},...Le];let Me=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?Pe:De}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:De,imports:[i.b2]}),t})()},71570:function(t,e,n){"use strict";n.d(e,{b2:function(){return M},H7:function(){return N},h_:function(){return B},Dx:function(){return z},q6:function(){return D},se:function(){return E}});var r=n(54364),i=n(2316);class s extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends s{static makeCurrent(){(0,r.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=(c=c||document.querySelector("base"),c?c.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(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,r.Mx)(document.cookie,t)}}let a,c=null;const l=new i.OlP("TRANSITION_ID"),u=[{provide:i.ip1,useFactory:function(t,e,n){return()=>{n.get(i.CZH).donePromise.then(()=>{const n=(0,r.q)(),i=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let t=0;t<i.length;t++)n.remove(i[t])})}},deps:[l,r.K0,i.zs3],multi:!0}];class h{static init(){(0,i.VLi)(new h)}addToWindow(t){i.dqk.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},i.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const e=i.dqk.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?(0,r.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const f=new i.OlP("EventManagerPlugins");let p=(()=>{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 r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(f),i.LFG(i.R0b))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class m{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const i=(0,r.q)().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,n)}}let g=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),y=(()=>{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 r=this._doc.createElement("style");r.textContent=t,n.push(e.appendChild(r))})}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(_),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(_))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function _(t){(0,r.q)().remove(t)}const v={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},b=/%COMP%/g;function w(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?w(t,i,n):(i=i.replace(b,t),n.push(i))}return n}function S(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let E=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new C(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case i.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new x(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case i.ifc.ShadowDom:return new T(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(p),i.LFG(y),i.LFG(i.AFp))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class C{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(v[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const i=v[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=v[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(i.JOm.DashCase|i.JOm.Important)?t.style.setProperty(e,n,r&i.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&i.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,S(n)):this.eventManager.addEventListener(t,e,S(n))}}class x extends C{constructor(t,e,n,r){super(t),this.component=n;const i=w(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(b,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(b,r+"-"+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 T extends C{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=w(r.id,r.styles,[]);for(let s=0;s<i.length;s++){const t=document.createElement("style");t.textContent=i[s],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 k=(()=>{class t extends m{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const I=["alt","control","meta","shift"],A={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},F={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"},O={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let R=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,i){const s=t.parseEventName(n),o=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.q)().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let s="";if(I.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=r,o.fullKey=s,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&&F.hasOwnProperty(e)&&(e=F[e]))}return A[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),I.forEach(r=>{r!=n&&O[r](t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:function(){return(0,i.LFG)(L)},token:t,providedIn:"root"}),t})(),L=(()=>{class t extends N{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case i.q3G.NONE:return e;case i.q3G.HTML:return(0,i.qzn)(e,"HTML")?(0,i.z3N)(e):(0,i.EiD)(this._doc,String(e)).toString();case i.q3G.STYLE:return(0,i.qzn)(e,"Style")?(0,i.z3N)(e):e;case i.q3G.SCRIPT:if((0,i.qzn)(e,"Script"))return(0,i.z3N)(e);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(e),(0,i.qzn)(e,"URL")?(0,i.z3N)(e):(0,i.mCW)(String(e));case i.q3G.RESOURCE_URL:if((0,i.qzn)(e,"ResourceURL"))return(0,i.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,i.JVY)(t)}bypassSecurityTrustStyle(t){return(0,i.L6k)(t)}bypassSecurityTrustScript(t){return(0,i.eBb)(t)}bypassSecurityTrustUrl(t){return(0,i.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,i.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0))},t.\u0275prov=(0,i.Yz7)({factory:function(){return function(t){return new L(t.get(r.K0))}((0,i.LFG)(i.gxx))},token:t,providedIn:"root"}),t})();const D=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:r.bD},{provide:i.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:r.K0,useFactory:function(){return(0,i.RDi)(document),document},deps:[]}]),P=[[],{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function(){return new i.qLn},deps:[]},{provide:f,useClass:k,multi:!0,deps:[r.K0,i.R0b,i.Lbi]},{provide:f,useClass:R,multi:!0,deps:[r.K0]},[],{provide:E,useClass:E,deps:[p,y,i.AFp]},{provide:i.FYo,useExisting:E},{provide:g,useExisting:y},{provide:y,useClass:y,deps:[r.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:p,useClass:p,deps:[f,i.R0b]},{provide:r.JF,useClass:d,deps:[]},[]];let M=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:i.AFp,useValue:e.appId},{provide:l,useExisting:i.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(t,12))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:P,imports:[r.ez,i.hGG]}),t})();function j(){return new B((0,i.LFG)(r.K0))}let B=(()=>{class t{constructor(t){this._doc=t,this._dom=(0,r.q)()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTags(e).filter(e=>this._containsAttributes(t,e))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(t,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(n=>e.setAttribute(this._getMetaKeyMap(n),t[n])),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(n=>e.getAttribute(this._getMetaKeyMap(n))===t[n])}_getMetaKeyMap(t){return H[t]||t}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0))},t.\u0275prov=(0,i.Yz7)({factory:j,token:t,providedIn:"root"}),t})();const H={httpEquiv:"http-equiv"};function V(){return new z((0,i.LFG)(r.K0))}let z=(()=>{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)(i.LFG(r.K0))},t.\u0275prov=(0,i.Yz7)({factory:V,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},99587:function(t,e,n){"use strict";n.d(e,{Wr:function(){return M},yO:function(){return F}});var r=n(54364),i=n(2316),s=n(69877),o=n(30864),a=n(12027),c=n(47599),l=n(76323),u=n(20749),h=n(95018),d=n(17159),f=n(56377),p=(n(62306),n(39216)),m=n(35116),g=n(13256),y=n(36487),_=n(76484),v=n(43497),b=n(49616);function w(t,e){return e?function(n){return(0,l.z)(e.pipe((0,m.q)(1),(0,g.e)(function(t,e){t.subscribe(new y.Q(e,_.Z))})),n.pipe(w(t)))}:(0,b.z)(function(e,n){return t(e,n).pipe((0,m.q)(1),(0,v.h)(e))})}var S=n(59439),E=n(49005),C=n(76477),x=n(98578),T=n(39349);const k="Service workers are disabled or not supported by this browser";class I{constructor(t){if(this.serviceWorker=t,t){const e=(0,a.R)(t,"controllerchange").pipe((0,E.U)(()=>t.controller)),n=(0,s.P)(()=>(0,c.of)(t.controller)),r=(0,l.z)(n,e);this.worker=r.pipe((0,C.h)(t=>!!t)),this.registration=this.worker.pipe((0,x.w)(()=>t.getRegistration()));const i=(0,a.R)(t,"message").pipe((0,E.U)(t=>t.data)).pipe((0,C.h)(t=>t&&t.type)).pipe(function(t){return(0,f.O)(new u.x)(t)});i.connect(),this.events=i}else this.worker=this.events=this.registration=(k,(0,s.P)(()=>(0,o._)(new Error("Service workers are disabled or not supported by this browser"))))}postMessage(t,e){return this.worker.pipe((0,m.q)(1),(0,T.b)(n=>{n.postMessage(Object.assign({action:t},e))})).toPromise().then(()=>{})}postMessageWithStatus(t,e,n){const r=this.waitForStatus(n),i=this.postMessage(t,e);return Promise.all([r,i]).then(()=>{})}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(t){return this.events.pipe((0,C.h)(e=>e.type===t))}nextEventOfType(t){return this.eventsOfType(t).pipe((0,m.q)(1))}waitForStatus(t){return this.eventsOfType("STATUS").pipe((0,C.h)(e=>e.nonce===t),(0,m.q)(1),(0,E.U)(t=>{if(!t.status)throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let A=(()=>{class t{constructor(t){if(this.sw=t,this.subscriptionChanges=new u.x,!t.isEnabled)return this.messages=h.C,this.notificationClicks=h.C,void(this.subscription=h.C);this.messages=this.sw.eventsOfType("PUSH").pipe((0,E.U)(t=>t.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,E.U)(t=>t.data)),this.pushManager=this.sw.registration.pipe((0,E.U)(t=>t.pushManager));const e=this.pushManager.pipe((0,x.w)(t=>t.getSubscription()));this.subscription=(0,d.T)(e,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(t){if(!this.sw.isEnabled)return Promise.reject(new Error(k));const e={userVisibleOnly:!0};let n=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),r=new Uint8Array(new ArrayBuffer(n.length));for(let i=0;i<n.length;i++)r[i]=n.charCodeAt(i);return e.applicationServerKey=r,this.pushManager.pipe((0,x.w)(t=>t.subscribe(e)),(0,m.q)(1)).toPromise().then(t=>(this.subscriptionChanges.next(t),t))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,m.q)(1),(0,x.w)(t=>{if(null===t)throw new Error("Not subscribed to push notifications.");return t.unsubscribe().then(t=>{if(!t)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(k))}decodeBase64(t){return atob(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(I))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{constructor(t){if(this.sw=t,!t.isEnabled)return this.available=h.C,this.activated=h.C,void(this.unrecoverable=h.C);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(k));const t=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:t},t)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(k));const t=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:t},t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(I))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class O{}const R=new i.OlP("NGSW_REGISTER_SCRIPT");function N(t,e,n,s){return()=>{if(!(0,r.NF)(s)||!("serviceWorker"in navigator)||!1===n.enabled)return;let o;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof n.registrationStrategy)o=n.registrationStrategy();else{const[e,...r]=(n.registrationStrategy||"registerWhenStable:30000").split(":");switch(e){case"registerImmediately":o=(0,c.of)(null);break;case"registerWithDelay":o=L(+r[0]||0);break;case"registerWhenStable":o=r[0]?(0,d.T)(D(t),L(+r[0])):D(t);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${n.registrationStrategy}`)}}t.get(i.R0b).runOutsideAngular(()=>o.pipe((0,m.q)(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:n.scope}).catch(t=>console.error("Service worker registration failed with:",t))))}}function L(t){return(0,c.of)(null).pipe(function(t,e){void 0===e&&(e=p.z);var n=(0,S.H)(t,e);return w(function(){return n})}(t))}function D(t){return t.get(i.z2F).isStable.pipe((0,C.h)(t=>t))}function P(t,e){return new I((0,r.NF)(e)&&!1!==t.enabled?navigator.serviceWorker:void 0)}let M=(()=>{class t{static register(e,n={}){return{ngModule:t,providers:[{provide:R,useValue:e},{provide:O,useValue:n},{provide:I,useFactory:P,deps:[O,i.Lbi]},{provide:i.ip1,useFactory:N,deps:[i.zs3,R,O,i.Lbi],multi:!0}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[A,F]}),t})()},63537:function(t,e,n){"use strict";n.d(e,{c:function(){return i}});var r=n(3786),i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return(0,r.ZT)(e,t),e.prototype._checkFinalizedStatuses=function(t){var e=this,n=e._hasValue,r=e._value,i=e.isStopped,s=e._isComplete;e.hasError?t.error(e.thrownError):(i||s)&&(n&&t.next(r),t.complete())},e.prototype.next=function(t){this.isStopped||(this._value=t,this._hasValue=!0)},e.prototype.complete=function(){var e=this,n=e._hasValue,r=e._value;e._isComplete||(this._isComplete=!0,n&&t.prototype.next.call(this,r),t.prototype.complete.call(this))},e}(n(20749).x)},69606:function(t,e,n){"use strict";n.d(e,{X:function(){return i}});var r=n(3786),i=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){var t=this,e=t._value;if(t.hasError)throw t.thrownError;return this._throwIfClosed(),e},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(n(20749).x)},62431:function(t,e,n){"use strict";n.d(e,{y:function(){return h}});var r=n(40032),i=n(90930),s=n(19263),o=n(77722);function a(t){return 0===t.length?o.y:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}}var c=n(52795),l=n(23250),u=n(94398),h=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var s=this,o=function(t){return t&&t instanceof r.Lv||function(t){return t&&(0,l.m)(t.next)&&(0,l.m)(t.error)&&(0,l.m)(t.complete)}(t)&&(0,i.Nn)(t)}(t)?t:new r.Hp(t,e,n);return(0,u.x)(function(){var t=s.operator,e=s.source;o.add(t?t.call(o,e):e?s._subscribe(o):s._trySubscribe(o))}),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=d(e))(function(e,r){var i;i=n.subscribe(function(e){try{t(e)}catch(n){r(n),null==i||i.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[s.L]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return a(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=d(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function d(t){var e;return null!==(e=null!=t?t:c.v.Promise)&&void 0!==e?e:Promise}},55552:function(t,e,n){"use strict";n.d(e,{t:function(){return o}});var r=n(3786),i=n(20749),s=n(17636),o=function(t){function e(e,n,r){void 0===e&&(e=1/0),void 0===n&&(n=1/0),void 0===r&&(r=s.l);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,n),i}return(0,r.ZT)(e,t),e.prototype.next=function(e){var n=this,r=n._buffer,i=n._infiniteTimeWindow,s=n._timestampProvider,o=n._windowTime;n.isStopped||(r.push(e),!i&&r.push(s.now()+o)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!t.closed;i+=n?1:2)t.next(r[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,n=t._timestampProvider,r=t._buffer,i=t._infiniteTimeWindow,s=(i?1:2)*e;if(e<1/0&&s<r.length&&r.splice(0,r.length-s),!i){for(var o=n.now(),a=0,c=1;c<r.length&&r[c]<=o;c+=2)a=c;a&&r.splice(0,a+1)}},e}(i.x)},20749:function(t,e,n){"use strict";n.d(e,{x:function(){return l}});var r=n(3786),i=n(62431),s=n(90930),o=(0,n(89246).d)(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),a=n(1162),c=n(94398),l=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return(0,r.ZT)(e,t),e.prototype.lift=function(t){var e=new u(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new o},e.prototype.next=function(t){var e=this;(0,c.x)(function(){var n,i;if(e._throwIfClosed(),!e.isStopped){var s=e.observers.slice();try{for(var o=(0,r.XA)(s),a=o.next();!a.done;a=o.next())a.value.next(t)}catch(c){n={error:c}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}})},e.prototype.error=function(t){var e=this;(0,c.x)(function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var n=e.observers;n.length;)n.shift().error(t)}})},e.prototype.complete=function(){var t=this;(0,c.x)(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,n=e.observers;return e.hasError||e.isStopped?s.Lc:(n.push(t),new s.w0(function(){return(0,a.P)(n,t)}))},e.prototype._checkFinalizedStatuses=function(t){var e=this,n=e.isStopped;e.hasError?t.error(e.thrownError):n&&t.complete()},e.prototype.asObservable=function(){var t=new i.y;return t.source=this,t},e.create=function(t,e){return new u(t,e)},e}(i.y),u=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return(0,r.ZT)(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:s.Lc},e}(l)},40032:function(t,e,n){"use strict";n.d(e,{Hp:function(){return p},Lv:function(){return f}});var r=n(3786),i=n(23250),s=n(90930),o=n(52795),a=n(41281),c=n(76484),l=u("C",void 0,void 0);function u(t,e,n){return{kind:t,value:e,error:n}}var h=n(20387),d=n(94398),f=function(t){function e(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,(0,s.Nn)(e)&&e.add(n)):n.destination=_,n}return(0,r.ZT)(e,t),e.create=function(t,e,n){return new p(t,e,n)},e.prototype.next=function(t){this.isStopped?y(function(t){return u("N",t,void 0)}(t),this):this._next(t)},e.prototype.error=function(t){this.isStopped?y(function(t){return u("E",void 0,t)}(t),this):(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped?y(l,this):(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(s.w0),p=function(t){function e(e,n,r){var s,a=t.call(this)||this;if((0,i.m)(e))s=e;else if(e){var l;s=e.next,n=e.error,r=e.complete,a&&o.v.useDeprecatedNextContext?(l=Object.create(e)).unsubscribe=function(){return a.unsubscribe()}:l=e,s=null==s?void 0:s.bind(l),n=null==n?void 0:n.bind(l),r=null==r?void 0:r.bind(l)}return a.destination={next:s?m(s):c.Z,error:m(null!=n?n:g),complete:r?m(r):c.Z},a}return(0,r.ZT)(e,t),e}(f);function m(t,e){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{t.apply(void 0,(0,r.ev)([],(0,r.CR)(e)))}catch(i){o.v.useDeprecatedSynchronousErrorHandling?(0,d.O)(i):(0,a.h)(i)}}}function g(t){throw t}function y(t,e){var n=o.v.onStoppedNotification;n&&h.z.setTimeout(function(){return n(t,e)})}var _={closed:!0,next:c.Z,error:g,complete:c.Z}},90930:function(t,e,n){"use strict";n.d(e,{Lc:function(){return c},w0:function(){return a},Nn:function(){return l}});var r=n(3786),i=n(23250),s=(0,n(89246).d)(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}),o=n(1162),a=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return t.prototype.unsubscribe=function(){var t,e,n,o,a;if(!this.closed){this.closed=!0;var c=this._parentage;if(c)if(this._parentage=null,Array.isArray(c))try{for(var l=(0,r.XA)(c),h=l.next();!h.done;h=l.next())h.value.remove(this)}catch(y){t={error:y}}finally{try{h&&!h.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}else c.remove(this);var d=this.initialTeardown;if((0,i.m)(d))try{d()}catch(y){a=y instanceof s?y.errors:[y]}var f=this._teardowns;if(f){this._teardowns=null;try{for(var p=(0,r.XA)(f),m=p.next();!m.done;m=p.next()){var g=m.value;try{u(g)}catch(y){a=null!=a?a:[],y instanceof s?a=(0,r.ev)((0,r.ev)([],(0,r.CR)(a)),(0,r.CR)(y.errors)):a.push(y)}}}catch(y){n={error:y}}finally{try{m&&!m.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}}if(a)throw new s(a)}},t.prototype.add=function(e){var n;if(e&&e!==this)if(this.closed)u(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&(0,o.P)(e,t)},t.prototype.remove=function(e){var n=this._teardowns;n&&(0,o.P)(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((e=new t).closed=!0,e),t;var e}(),c=a.EMPTY;function l(t){return t instanceof a||t&&"closed"in t&&(0,i.m)(t.remove)&&(0,i.m)(t.add)&&(0,i.m)(t.unsubscribe)}function u(t){(0,i.m)(t)?t():t.unsubscribe()}},52795:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},82921:function(t,e,n){"use strict";n.d(e,{c:function(){return l}});var r=n(3786),i=n(62431),s=n(90930),o=n(88169),a=n(36487),c=n(13256),l=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._subject=null,r._refCount=0,r._connection=null,(0,c.A)(e)&&(r.lift=e.lift),r}return(0,r.ZT)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject},e.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},e.prototype.connect=function(){var t=this,e=this._connection;if(!e){e=this._connection=new s.w0;var n=this.getSubject();e.add(this.source.subscribe(new a.Q(n,void 0,function(){t._teardown(),n.complete()},function(e){t._teardown(),n.error(e)},function(){return t._teardown()}))),e.closed&&(this._connection=null,e=s.w0.EMPTY)}return e},e.prototype.refCount=function(){return(0,o.x)()(this)},e}(i.y)},57850:function(t,e,n){"use strict";n.d(e,{a:function(){return h}});var r=n(62431),i=n(28371),s=n(6376),o=n(77722),a=n(78301),c=n(75681),l=n(39501),u=n(36487);function h(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,c.yG)(t),u=(0,c.jO)(t),h=(0,i.D)(t),f=h.args,p=h.keys;if(0===f.length)return(0,s.Dp)([],n);var m=new r.y(d(f,n,p?function(t){return(0,l.n)(p,t)}:o.y));return u?m.pipe((0,a.Z)(u)):m}function d(t,e,n){return void 0===n&&(n=o.y),function(r){f(e,function(){for(var i=t.length,o=new Array(i),a=i,c=i,l=function(i){f(e,function(){var l=(0,s.Dp)(t[i],e),h=!1;l.subscribe(new u.Q(r,function(t){o[i]=t,h||(h=!0,c--),c||r.next(n(o.slice()))},function(){--a||r.complete()}))},r)},h=0;h<i;h++)l(h)},r)}}function f(t,e,n){t?n.add(t.schedule(e)):e()}},76323:function(t,e,n){"use strict";n.d(e,{z:function(){return a}});var r=n(87091);function i(){return(0,r.J)(1)}var s=n(66076),o=n(75681);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i()((0,s.h)(t,(0,o.yG)(t)))}},69877:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var r=n(62431),i=n(6376);function s(t){return new r.y(function(e){(0,i.Xf)(t()).subscribe(e)})}},66367:function(t,e,n){"use strict";n.d(e,{E:function(){return r}});var r=new(n(62431).y)(function(t){return t.complete()})},6376:function(t,e,n){"use strict";n.d(e,{Dp:function(){return b},OO:function(){return S},Xf:function(){return w}});var r=n(3786),i=n(76440),s=n(23250);function o(t){return(0,s.m)(null==t?void 0:t.then)}var a=n(19263),c=n(62431),l=n(90930),u=n(82099),h="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function d(t,e){if(!t)throw new Error("Iterable cannot be null");return new c.y(function(n){var r=new l.w0;return r.add(e.schedule(function(){var i=t[Symbol.asyncIterator]();r.add(e.schedule(function(){var t=this;i.next().then(function(e){e.done?n.complete():(n.next(e.value),t.schedule())})}))})),r})}function f(t){return(0,s.m)(t[a.L])}function p(t){return(0,s.m)(null==t?void 0:t[h])}function m(t){return Symbol.asyncIterator&&(0,s.m)(null==t?void 0:t[Symbol.asyncIterator])}function g(t){return new TypeError("You provided "+(null!==t&&"object"==typeof t?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function y(t){return(0,r.FC)(this,arguments,function(){var e,n,i;return(0,r.Jh)(this,function(s){switch(s.label){case 0:e=t.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,(0,r.qq)(e.read())];case 3:return n=s.sent(),i=n.value,n.done?[4,(0,r.qq)(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,(0,r.qq)(i)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}function _(t){return(0,s.m)(null==t?void 0:t.getReader)}var v=n(41281);function b(t,e){return e?function(t,e){if(null!=t){if(f(t))return function(t,e){return new c.y(function(n){var r=new l.w0;return r.add(e.schedule(function(){var i=t[a.L]();r.add(i.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r})}(t,e);if((0,i.z)(t))return(0,u.r)(t,e);if(o(t))return function(t,e){return new c.y(function(n){return e.schedule(function(){return t.then(function(t){n.add(e.schedule(function(){n.next(t),n.add(e.schedule(function(){return n.complete()}))}))},function(t){n.add(e.schedule(function(){return n.error(t)}))})})})}(t,e);if(m(t))return d(t,e);if(p(t))return function(t,e){return new c.y(function(n){var r;return n.add(e.schedule(function(){r=t[h](),function(t,e,n,r){void 0===r&&(r=0);var i=e.schedule(function(){try{n.call(this)}catch(e){t.error(e)}},r);t.add(i)}(n,e,function(){var t=r.next(),e=t.value;t.done?n.complete():(n.next(e),this.schedule())})})),function(){return(0,s.m)(null==r?void 0:r.return)&&r.return()}})}(t,e);if(_(t))return function(t,e){return d(y(t),e)}(t,e)}throw g(t)}(t,e):w(t)}function w(t){if(t instanceof c.y)return t;if(null!=t){if(f(t))return function(t){return new c.y(function(e){var n=t[a.L]();if((0,s.m)(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if((0,i.z)(t))return S(t);if(o(t))return function(t){return new c.y(function(e){t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,v.h)})}(t);if(m(t))return E(t);if(p(t))return function(t){return new c.y(function(e){var n,i;try{for(var s=(0,r.XA)(t),o=s.next();!o.done;o=s.next())if(e.next(o.value),e.closed)return}catch(a){n={error:a}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}e.complete()})}(t);if(_(t))return function(t){return E(y(t))}(t)}throw g(t)}function S(t){return new c.y(function(e){for(var n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}function E(t){return new c.y(function(e){(function(t,e){var n,i,s,o;return(0,r.mG)(this,void 0,void 0,function(){var a;return(0,r.Jh)(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),n=(0,r.KL)(t),c.label=1;case 1:return[4,n.next()];case 2:if((i=c.sent()).done)return[3,4];if(e.next(i.value),e.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=c.sent(),s={error:a},[3,11];case 6:return c.trys.push([6,,9,10]),i&&!i.done&&(o=n.return)?[4,o.call(n)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];case 10:return[7];case 11:return e.complete(),[2]}})})})(t,e).catch(function(t){return e.error(t)})})}},66076:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var r=n(82099),i=n(6376);function s(t,e){return e?(0,r.r)(t,e):(0,i.OO)(t)}},12027:function(t,e,n){"use strict";n.d(e,{R:function(){return f}});var r=n(3786),i=n(62431),s=n(49616),o=n(76440),a=n(23250),c=n(78301),l=n(66076),u=["addListener","removeListener"],h=["addEventListener","removeEventListener"],d=["on","off"];function f(t,e,n,m){if((0,a.m)(n)&&(m=n,n=void 0),m)return f(t,e,n).pipe((0,c.Z)(m));var g=(0,r.CR)(function(t){return(0,a.m)(t.addEventListener)&&(0,a.m)(t.removeEventListener)}(t)?h.map(function(r){return function(i){return t[r](e,i,n)}}):function(t){return(0,a.m)(t.addListener)&&(0,a.m)(t.removeListener)}(t)?u.map(p(t,e)):function(t){return(0,a.m)(t.on)&&(0,a.m)(t.off)}(t)?d.map(p(t,e)):[],2),y=g[0],_=g[1];if(!y&&(0,o.z)(t))return(0,s.z)(function(t){return f(t,e,n)})((0,l.h)(t));if(!y)throw new TypeError("Invalid event target");return new i.y(function(t){var e=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.next(1<e.length?e:e[0])};return y(e),function(){return _(e)}})}function p(t,e){return function(n){return function(r){return t[n](e,r)}}}},17159:function(t,e,n){"use strict";n.d(e,{T:function(){return c}});var r=n(87091),i=n(66076),s=n(6376),o=n(66367),a=n(75681);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,a.yG)(t),c=(0,a._6)(t,1/0),l=t;return l.length?1===l.length?(0,s.Xf)(l[0]):(0,r.J)(c)((0,i.h)(l,n)):o.E}},95018:function(t,e,n){"use strict";n.d(e,{C:function(){return s}});var r=n(62431),i=n(76484),s=new r.y(i.Z)},47599:function(t,e,n){"use strict";n.d(e,{of:function(){return o}});var r=n(66076),i=n(82099),s=n(75681);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,s.yG)(t);return n?(0,i.r)(t,n):(0,r.h)(t)}},30864:function(t,e,n){"use strict";n.d(e,{_:function(){return s}});var r=n(62431),i=n(23250);function s(t,e){var n=(0,i.m)(t)?t:function(){return t},s=function(t){return t.error(n())};return new r.y(e?function(t){return e.schedule(s,0,t)}:s)}},59439:function(t,e,n){"use strict";n.d(e,{H:function(){return o}});var r=n(62431),i=n(39216),s=n(36612);function o(t,e,n){void 0===t&&(t=0),void 0===n&&(n=i.P);var o=-1;return null!=e&&((0,s.K)(e)?n=e:o=e),new r.y(function(e){var r=function(t){return t instanceof Date&&!isNaN(t)}(t)?+t-n.now():t;r<0&&(r=0);var i=0;return n.schedule(function(){e.closed||(e.next(i++),0<=o?this.schedule(void 0,o):e.complete())},r)})}},36487:function(t,e,n){"use strict";n.d(e,{Q:function(){return i}});var r=n(3786),i=function(t){function e(e,n,r,i,s){var o=t.call(this,e)||this;return o.onFinalize=s,o._next=n?function(t){try{n(t)}catch(r){e.error(r)}}:t.prototype._next,o._error=i?function(t){try{i(t)}catch(n){e.error(n)}finally{this.unsubscribe()}}:t.prototype._error,o._complete=r?function(){try{r()}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,o}return(0,r.ZT)(e,t),e.prototype.unsubscribe=function(){var e,n=this.closed;t.prototype.unsubscribe.call(this),!n&&(null===(e=this.onFinalize)||void 0===e||e.call(this))},e}(n(40032).Lv)},70074:function(t,e,n){"use strict";n.d(e,{e:function(){return c}});var r=n(39216),i=n(13256),s=n(6376),o=n(36487),a=n(59439);function c(t,e){return void 0===e&&(e=r.P),function(t){return(0,i.e)(function(e,n){var r=!1,i=null,a=null,c=!1,l=function(){if(null==a||a.unsubscribe(),a=null,r){r=!1;var t=i;i=null,n.next(t)}c&&n.complete()},u=function(){a=null,c&&n.complete()};e.subscribe(new o.Q(n,function(e){r=!0,i=e,a||(0,s.Xf)(t()).subscribe(a=new o.Q(n,l,u))},function(){c=!0,(!r||!a||a.closed)&&n.complete()}))})}(function(){return(0,a.H)(t,e)})}},34864:function(t,e,n){"use strict";n.d(e,{K:function(){return o}});var r=n(6376),i=n(36487),s=n(13256);function o(t){return(0,s.e)(function(e,n){var s,a=null,c=!1;a=e.subscribe(new i.Q(n,void 0,void 0,function(i){s=(0,r.Xf)(t(i,o(t)(e))),a?(a.unsubscribe(),a=null,s.subscribe(n)):c=!0})),c&&(a.unsubscribe(),a=null,s.subscribe(n))})}},95051:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var r=n(49616),i=n(23250);function s(t,e){return(0,i.m)(e)?(0,r.z)(t,e,1):(0,r.z)(t,1)}},62306:function(t,e,n){"use strict";n.d(e,{$:function(){return c}});var r=n(20749),i=n(6376),s=n(13256),o=n(62431),a={connector:function(){return new r.x}};function c(t,e){void 0===e&&(e=a);var n=e.connector;return(0,s.e)(function(e,r){var s=n();(0,i.Dp)(t(function(t){return new o.y(function(e){return t.subscribe(e)})}(s))).subscribe(r),r.add(e.subscribe(s))})}},71775:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var r=n(39216),i=n(13256),s=n(36487);function o(t,e){return void 0===e&&(e=r.z),(0,i.e)(function(n,r){var i=null,o=null,a=null,c=function(){if(i){i.unsubscribe(),i=null;var t=o;o=null,r.next(t)}};function l(){var n=a+t,s=e.now();if(s<n)return i=this.schedule(void 0,n-s),void r.add(i);c()}n.subscribe(new s.Q(r,function(n){o=n,a=e.now(),i||(i=e.schedule(l,t),r.add(i))},function(){c(),r.complete()},void 0,function(){o=i=null}))})}},62012:function(t,e,n){"use strict";n.d(e,{d:function(){return s}});var r=n(13256),i=n(36487);function s(t){return(0,r.e)(function(e,n){var r=!1;e.subscribe(new i.Q(n,function(t){r=!0,n.next(t)},function(){r||n.next(t),n.complete()}))})}},52249:function(t,e,n){"use strict";n.d(e,{x:function(){return o}});var r=n(77722),i=n(13256),s=n(36487);function o(t,e){return void 0===e&&(e=r.y),t=null!=t?t:a,(0,i.e)(function(n,r){var i,o=!0;n.subscribe(new s.Q(r,function(n){var s=e(n);(o||!t(i,s))&&(o=!1,i=s,r.next(n))}))})}function a(t,e){return t===e}},76477:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var r=n(13256),i=n(36487);function s(t,e){return(0,r.e)(function(n,r){var s=0;n.subscribe(new i.Q(r,function(n){return t.call(e,n,s++)&&r.next(n)}))})}},67465:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});var r=n(13256);function i(t){return(0,r.e)(function(e,n){try{e.subscribe(n)}finally{n.add(t)}})}},80993:function(t,e,n){"use strict";n.d(e,{P:function(){return l}});var r=n(56426),i=n(76477),s=n(35116),o=n(62012),a=n(99156),c=n(77722);function l(t,e){var n=arguments.length>=2;return function(l){return l.pipe(t?(0,i.h)(function(e,n){return t(e,n,l)}):c.y,(0,s.q)(1),n?(0,o.d)(e):(0,a.T)(function(){return new r.K}))}}},49005:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var r=n(13256),i=n(36487);function s(t,e){return(0,r.e)(function(n,r){var s=0;n.subscribe(new i.Q(r,function(n){r.next(t.call(e,n,s++))}))})}},43497:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var r=n(49005);function i(t){return(0,r.U)(function(){return t})}},87091:function(t,e,n){"use strict";n.d(e,{J:function(){return s}});var r=n(49616),i=n(77722);function s(t){return void 0===t&&(t=1/0),(0,r.z)(i.y,t)}},49616:function(t,e,n){"use strict";n.d(e,{z:function(){return c}});var r=n(49005),i=n(6376),s=n(13256),o=n(36487),a=n(23250);function c(t,e,n){return void 0===n&&(n=1/0),(0,a.m)(e)?c(function(n,s){return(0,r.U)(function(t,r){return e(n,t,s,r)})((0,i.Xf)(t(n,s)))},n):("number"==typeof e&&(n=e),(0,s.e)(function(e,r){return function(t,e,n,r,s,a,c,l){var u=[],h=0,d=0,f=!1,p=function(){f&&!u.length&&!h&&e.complete()},m=function(t){return h<r?g(t):u.push(t)},g=function(t){h++;var s=!1;(0,i.Xf)(n(t,d++)).subscribe(new o.Q(e,function(t){e.next(t)},function(){s=!0},void 0,function(){if(s)try{h--;for(;u.length&&h<r;)t=void 0,t=u.shift(),g(t);p()}catch(t){e.error(t)}var t}))};return t.subscribe(new o.Q(e,m,function(){f=!0,p()})),function(){}}(e,r,t,n)}))}},56377:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var r=n(82921),i=n(23250),s=n(62306);function o(t,e){var n=(0,i.m)(t)?t:function(){return t};return(0,i.m)(e)?(0,s.$)(e,{connector:n}):function(t){return new r.c(t,n)}}},14823:function(t,e,n){"use strict";n.d(e,{C:function(){return s}});var r=n(63537),i=n(82921);function s(){return function(t){var e=new r.c;return new i.c(t,function(){return e})}}},72366:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});var r=n(55552),i=n(56377),s=n(23250);function o(t,e,n,o){n&&!(0,s.m)(n)&&(o=n);var a=(0,s.m)(n)?n:void 0;return function(n){return(0,i.O)(new r.t(t,e,o),a)(n)}}},88169:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var r=n(13256),i=n(36487);function s(){return(0,r.e)(function(t,e){var n=null;t._refCount++;var r=new i.Q(e,void 0,void 0,void 0,function(){if(!t||t._refCount<=0||0<--t._refCount)n=null;else{var r=t._connection,i=n;n=null,r&&(!i||r===i)&&r.unsubscribe(),e.unsubscribe()}});t.subscribe(r),r.closed||(n=t.connect())})}},31635:function(t,e,n){"use strict";n.d(e,{B:function(){return l}});var r=n(3786),i=n(6376),s=n(35116),o=n(20749),a=n(40032),c=n(13256);function l(t){void 0===t&&(t={});var e=t.connector,n=void 0===e?function(){return new o.x}:e,r=t.resetOnError,s=void 0===r||r,l=t.resetOnComplete,h=void 0===l||l,d=t.resetOnRefCountZero,f=void 0===d||d;return function(t){var e=null,r=null,o=null,l=0,d=!1,p=!1,m=function(){null==r||r.unsubscribe(),r=null},g=function(){m(),e=o=null,d=p=!1},y=function(){var t=e;g(),null==t||t.unsubscribe()};return(0,c.e)(function(t,c){l++,!p&&!d&&m();var _=o=null!=o?o:n();c.add(function(){0==--l&&!p&&!d&&(r=u(y,f))}),_.subscribe(c),e||(e=new a.Hp({next:function(t){return _.next(t)},error:function(t){p=!0,m(),r=u(g,s,t),_.error(t)},complete:function(){d=!0,m(),r=u(g,h),_.complete()}}),(0,i.Dp)(t).subscribe(e))})(t)}}function u(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return!0===e?(t(),null):!1===e?null:e.apply(void 0,(0,r.ev)([],(0,r.CR)(n))).pipe((0,s.q)(1)).subscribe(function(){return t()})}},41757:function(t,e,n){"use strict";n.d(e,{d:function(){return s}});var r=n(55552),i=n(31635);function s(t,e,n){var s,o,a,c=!1;return t&&"object"==typeof t?(a=null!==(s=t.bufferSize)&&void 0!==s?s:1/0,e=null!==(o=t.windowTime)&&void 0!==o?o:1/0,c=!!t.refCount,n=t.scheduler):a=null!=t?t:1/0,(0,i.B)({connector:function(){return new r.t(a,e,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}},99454:function(t,e,n){"use strict";n.d(e,{T:function(){return i}});var r=n(76477);function i(t){return(0,r.h)(function(e,n){return t<=n})}},57993:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var r=n(76323),i=n(75681),s=n(13256);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=(0,i.yG)(t);return(0,s.e)(function(e,i){(n?(0,r.z)(t,e,n):(0,r.z)(t,e)).subscribe(i)})}},98578:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var r=n(6376),i=n(13256),s=n(36487);function o(t,e){return(0,i.e)(function(n,i){var o=null,a=0,c=!1,l=function(){return c&&!o&&i.complete()};n.subscribe(new s.Q(i,function(n){null==o||o.unsubscribe();var c=0,u=a++;(0,r.Xf)(t(n,u)).subscribe(o=new s.Q(i,function(t){return i.next(e?e(n,t,u,c++):t)},function(){o=null,l()}))},function(){c=!0,l()}))})}},35116:function(t,e,n){"use strict";n.d(e,{q:function(){return o}});var r=n(66367),i=n(13256),s=n(36487);function o(t){return t<=0?function(){return r.E}:(0,i.e)(function(e,n){var r=0;e.subscribe(new s.Q(n,function(e){++r<=t&&(n.next(e),t<=r&&n.complete())}))})}},44094:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var r=n(13256),i=n(36487),s=n(6376),o=n(76484);function a(t){return(0,r.e)(function(e,n){(0,s.Xf)(t).subscribe(new i.Q(n,function(){return n.complete()},o.Z)),!n.closed&&e.subscribe(n)})}},39349:function(t,e,n){"use strict";n.d(e,{b:function(){return a}});var r=n(23250),i=n(13256),s=n(36487),o=n(77722);function a(t,e,n){var a=(0,r.m)(t)||e||n?{next:t,error:e,complete:n}:t;return a?(0,i.e)(function(t,e){var n;null===(n=a.subscribe)||void 0===n||n.call(a);var r=!0;t.subscribe(new s.Q(e,function(t){var n;null===(n=a.next)||void 0===n||n.call(a,t),e.next(t)},function(){var t;r=!1,null===(t=a.complete)||void 0===t||t.call(a),e.complete()},function(t){var n;r=!1,null===(n=a.error)||void 0===n||n.call(a,t),e.error(t)},function(){var t,e;r&&(null===(t=a.unsubscribe)||void 0===t||t.call(a)),null===(e=a.finalize)||void 0===e||e.call(a)}))}):o.y}},99156:function(t,e,n){"use strict";n.d(e,{T:function(){return o}});var r=n(56426),i=n(13256),s=n(36487);function o(t){return void 0===t&&(t=a),(0,i.e)(function(e,n){var r=!1;e.subscribe(new s.Q(n,function(t){r=!0,n.next(t)},function(){return r?n.complete():n.error(t())}))})}function a(){return new r.K}},82099:function(t,e,n){"use strict";n.d(e,{r:function(){return i}});var r=n(62431);function i(t,e){return new r.y(function(n){var r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}},32486:function(t,e,n){"use strict";n.d(e,{o:function(){return a}});var r=n(3786),i=function(t){function e(e,n){return t.call(this)||this}return(0,r.ZT)(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n(90930).w0),s={setInterval:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=s.delegate;return((null==n?void 0:n.setInterval)||setInterval).apply(void 0,(0,r.ev)([],(0,r.CR)(t)))},clearInterval:function(t){var e=s.delegate;return((null==e?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0},o=n(1162),a=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return(0,r.ZT)(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),s.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return e;s.clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n,r=!1;try{this.work(t)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n},e.prototype.unsubscribe=function(){if(!this.closed){var e=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,o.P)(r,this),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e}(i)},65111:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var r=n(3786),i=n(17636),s=function(){function t(e,n){void 0===n&&(n=t.now),this.schedulerActionCtor=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.schedulerActionCtor(this,t).schedule(n,e)},t.now=i.l.now,t}(),o=function(t){function e(e,n){void 0===n&&(n=s.now);var r=t.call(this,e,n)||this;return r.actions=[],r._active=!1,r._scheduled=void 0,r}return(0,r.ZT)(e,t),e.prototype.flush=function(t){var e=this.actions;if(this._active)e.push(t);else{var 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}}},e}(s)},1890:function(t,e,n){"use strict";n.d(e,{E:function(){return f}});var r,i=n(3786),s=n(32486),o=1,a={};function c(t){return t in a&&(delete a[t],!0)}var l=function(t){var e=o++;return a[e]=!0,r||(r=Promise.resolve()),r.then(function(){return c(e)&&t()}),e},u=function(t){c(t)},h={setImmediate:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=h.delegate;return((null==n?void 0:n.setImmediate)||l).apply(void 0,(0,i.ev)([],(0,i.CR)(t)))},clearImmediate:function(t){var e=h.delegate;return((null==e?void 0:e.clearImmediate)||u)(t)},delegate:void 0},d=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return(0,i.ZT)(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e._scheduled||(e._scheduled=h.setImmediate(e.flush.bind(e,void 0))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(h.clearImmediate(n),e._scheduled=void 0)},e}(s.o),f=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.flush=function(t){this._active=!0,this._scheduled=void 0;var e,n=this.actions,r=-1;t=t||n.shift();var i=n.length;do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this._active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(n(65111).v))(d)},39216:function(t,e,n){"use strict";n.d(e,{z:function(){return i},P:function(){return s}});var r=n(32486),i=new(n(65111).v)(r.o),s=i},17636:function(t,e,n){"use strict";n.d(e,{l:function(){return r}});var r={now:function(){return(r.delegate||Date).now()},delegate:void 0}},20387:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var r=n(3786),i={setTimeout:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=i.delegate;return((null==n?void 0:n.setTimeout)||setTimeout).apply(void 0,(0,r.ev)([],(0,r.CR)(t)))},clearTimeout:function(t){var e=i.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0}},19263:function(t,e,n){"use strict";n.d(e,{L:function(){return r}});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},56426:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var r=(0,n(89246).d)(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}})},75681:function(t,e,n){"use strict";n.d(e,{jO:function(){return o},yG:function(){return a},_6:function(){return c}});var r=n(23250),i=n(36612);function s(t){return t[t.length-1]}function o(t){return(0,r.m)(s(t))?t.pop():void 0}function a(t){return(0,i.K)(s(t))?t.pop():void 0}function c(t,e){return"number"==typeof s(t)?t.pop():e}},28371:function(t,e,n){"use strict";n.d(e,{D:function(){return a}});var r=Array.isArray,i=Object.getPrototypeOf,s=Object.prototype,o=Object.keys;function a(t){if(1===t.length){var e=t[0];if(r(e))return{args:e,keys:null};if(function(t){return t&&"object"==typeof t&&i(t)===s}(e)){var n=o(e);return{args:n.map(function(t){return e[t]}),keys:n}}}return{args:t,keys:null}}},1162:function(t,e,n){"use strict";function r(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,{P:function(){return r}})},89246:function(t,e,n){"use strict";function r(t){var e=t(function(t){Error.call(t),t.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,{d:function(){return r}})},39501:function(t,e,n){"use strict";function r(t,e){return t.reduce(function(t,n,r){return t[n]=e[r],t},{})}n.d(e,{n:function(){return r}})},94398:function(t,e,n){"use strict";n.d(e,{x:function(){return s},O:function(){return o}});var r=n(52795),i=null;function s(t){if(r.v.useDeprecatedSynchronousErrorHandling){var e=!i;if(e&&(i={errorThrown:!1,error:null}),t(),e){var n=i;if(i=null,n.errorThrown)throw n.error}}else t()}function o(t){r.v.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=t)}},77722:function(t,e,n){"use strict";function r(t){return t}n.d(e,{y:function(){return r}})},76440:function(t,e,n){"use strict";n.d(e,{z:function(){return r}});var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},23250:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,{m:function(){return r}})},20411:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var r=n(62431),i=n(23250);function s(t){return!!t&&(t instanceof r.y||(0,i.m)(t.lift)&&(0,i.m)(t.subscribe))}},36612:function(t,e,n){"use strict";n.d(e,{K:function(){return i}});var r=n(23250);function i(t){return t&&(0,r.m)(t.schedule)}},13256:function(t,e,n){"use strict";n.d(e,{A:function(){return i},e:function(){return s}});var r=n(23250);function i(t){return(0,r.m)(null==t?void 0:t.lift)}function s(t){return function(e){if(i(e))return e.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}},78301:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(3786),i=n(49005),s=Array.isArray;function o(t){return(0,i.U)(function(e){return function(t,e){return s(e)?t.apply(void 0,(0,r.ev)([],(0,r.CR)(e))):t(e)}(t,e)})}},76484:function(t,e,n){"use strict";function r(){}n.d(e,{Z:function(){return r}})},41281:function(t,e,n){"use strict";n.d(e,{h:function(){return s}});var r=n(52795),i=n(20387);function s(t){i.z.setTimeout(function(){var e=r.v.onUnhandledError;if(!e)throw t;e(t)})}},70095:function(t,e,n){"use strict";n.d(e,{xx:function(){return d},cH:function(){return f},bL:function(){return p},Yp:function(){return m},Zg:function(){return y}});var r=n(63537),i=n(47599),s=n(98578),o=n(39349),a=n(34864),c=n(2316),l=n(44541),u=n(53882),h=n(55370);const d="file-not-found",f="fetching-error",p="generated/",m=p+"docs/",g=t=>`\n <div class="nf-container l-flex-wrap flex-center">\n <div class="nf-icon material-icons">error_outline</div>\n <div class="nf-response l-flex-wrap">\n <h1 class="no-toc">Request for document failed.</h1>\n <p>\n We are unable to retrieve the "${t}" page at this time.\n Please check your connection and try again later.\n </p>\n </div>\n </div>\n`;let y=(()=>{class t{constructor(t,e,n){this.logger=t,this.http=e,this.cache=new Map,this.currentDocument=n.currentPath.pipe((0,s.w)(t=>this.getDocument(t)))}getDocument(t){const e=t||"index";return this.logger.log("getting document",e),this.cache.has(e)||this.cache.set(e,this.fetchDocument(e)),this.cache.get(e)}fetchDocument(t){const e=`${m}${t}.json`,n=new r.c;return this.logger.log("fetching document from",e),this.http.get(e,{responseType:"json"}).pipe((0,o.b)(t=>{if(!t||"object"!=typeof t)throw this.logger.log("received invalid data:",t),Error("Invalid data")}),(0,a.K)(e=>404===e.status?this.getFileNotFoundDoc(t):this.getErrorDoc(t,e))).subscribe(n),n.asObservable()}getFileNotFoundDoc(t){return t!==d?(this.logger.error(new Error(`Document file not found at '${t}'`)),this.getDocument(d)):(0,i.of)({id:d,contents:"Document not found"})}getErrorDoc(t,e){return this.logger.error(new Error(`Error fetching document '${t}': (${e.message})`)),this.cache.delete(t),(0,i.of)({id:f,contents:g(t)})}}return t.\u0275fac=function(e){return new(e||t)(c.LFG(l.Y),c.LFG(u.eN),c.LFG(h.a))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac}),t})()},45146:function(t,e,n){"use strict";n.d(e,{o:function(){return g}});var r=n(62431),i=n(6376),s=Array.isArray;function o(t){return 1===t.length&&s(t[0])?t[0]:t}var a=n(36487);function c(t){return function(e){for(var n=[],r=function(r){n.push((0,i.Xf)(t[r]).subscribe(new a.Q(e,function(t){if(n){for(var i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}e.next(t)})))},s=0;n&&!e.closed&&s<t.length;s++)r(s)}}var l=n(55552),u=n(59439),h=n(80993),d=n(95051),f=n(72366);class p{constructor(t,e){this.worker=t,this.zone=e,this.nextId=0}static create(t,e){return new p(new Worker(t),e)}sendMessage(t,e){return new r.y(n=>{const r=this.nextId++,i=e=>{const{type:i,id:s,payload:o}=e.data;t===i&&r===s&&this.zone.run(()=>{n.next(o),n.complete()})},s=t=>{this.zone.run(()=>n.error(t))};return this.worker.addEventListener("message",i),this.worker.addEventListener("error",s),this.worker.postMessage({type:t,id:r,payload:e}),()=>{this.worker.removeEventListener("message",i),this.worker.removeEventListener("error",s)}})}}var m=n(2316);let g=(()=>{class t{constructor(t){this.zone=t,this.searchesSubject=new l.t(1)}initWorker(t,e){const n=this.ready=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===(t=o(t)).length?(0,i.Xf)(t[0]):new r.y(c(t))}((0,u.H)(e),this.searchesSubject.asObservable().pipe((0,h.P)())).pipe((0,d.b)(()=>(this.worker=p.create(t,this.zone),this.worker.sendMessage("load-index"))),(0,f._)(1));return n.connect(),n}search(t){return this.searchesSubject.next(t),this.ready.pipe((0,d.b)(()=>this.worker.sendMessage("query-index",t)))}}return t.\u0275fac=function(e){return new(e||t)(m.LFG(m.R0b))},t.\u0275prov=m.Yz7({token:t,factory:t.\u0275fac}),t})()},63964:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var r=n(92340),i=n(74783),s=n(2316);let o=(()=>{class t{constructor(t){this.window=t,this.ga("create",r.N.gaId,"auto")}locationChanged(t){this.sendPage(t)}sendPage(t){t!==this.previousUrl&&(this.previousUrl=t,this.ga("set","page","/"+t),this.ga("send","pageview"))}sendEvent(t,e,n,r){this.ga("send","event",t,e,n,r)}ga(...t){const e=this.window.ga;e&&e(...t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.R))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})()},55370:function(t,e,n){"use strict";n.d(e,{a:function(){return u}});var r=n(55552),i=n(49005),s=n(39349),o=n(2316),a=n(63964),c=n(54364),l=n(53942);let u=(()=>{class t{constructor(t,e,n,o){this.gaService=t,this.location=e,this.platformLocation=n,this.urlParser=document.createElement("a"),this.urlSubject=new r.t(1),this.swUpdateActivated=!1,this.currentUrl=this.urlSubject.pipe((0,i.U)(t=>this.stripSlashes(t))),this.currentPath=this.currentUrl.pipe((0,i.U)(t=>(t.match(/[^?#]*/)||[])[0]),(0,s.b)(t=>this.gaService.locationChanged(t))),this.urlSubject.next(e.path(!0)),this.location.subscribe(t=>this.urlSubject.next(t.url||"")),o.updateActivated.subscribe(()=>this.swUpdateActivated=!0)}go(t){!t||(t=this.stripSlashes(t),/^http/.test(t)||this.swUpdateActivated?this.goExternal(t):(this.location.go(t),this.urlSubject.next(t)))}goExternal(t){window.location.assign(t)}replace(t){window.location.replace(t)}stripSlashes(t){return t.replace(/^\/+/,"").replace(/\/+(\?|#|$)/,"$1")}search(){const t={},e=this.location.path(),n=e.indexOf("?");if(n>-1)try{e.substr(n+1).split("&").forEach(e=>{const n=e.split("=");n[0]&&(t[decodeURIComponent(n[0])]=n[1]&&decodeURIComponent(n[1]))})}catch(r){}return t}setSearch(t,e){const n=Object.keys(e).reduce((t,n)=>{const r=e[n];return void 0===r?t:t+=(t?"&":"?")+`${encodeURIComponent(n)}=${encodeURIComponent(r)}`},"");this.platformLocation.replaceState({},t,this.platformLocation.pathname+n)}handleAnchorClick(t,e=0,n=!1,r=!1){if(0!==e||n||r)return!0;const i=t.target;if(i&&"_self"!==i||null!=t.getAttribute("download"))return!0;const{pathname:s,search:o,hash:a}=t,c=s+o+a;return this.urlParser.href=c,t.href!==this.urlParser.href||!/\/[^/.]*$/.test(s)||(this.go(c),!1)}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(a.O),o.LFG(c.Ye),o.LFG(c.lw),o.LFG(l.a))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})()},44541:function(t,e,n){"use strict";n.d(e,{Y:function(){return s}});var r=n(92340),i=n(2316);let s=(()=>{class t{constructor(t){this.errorHandler=t}log(t,...e){r.N.production||console.log(t,...e)}error(t){this.errorHandler.handleError(t)}warn(t,...e){console.warn(t,...e)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.qLn))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})()},94727:function(t,e,n){"use strict";n.d(e,{f_:function(){return p}});var r=n(54364),i=n(55552),s=n(20749),o=n(12027),a=n(70074),c=n(44094),l=n(52249),u=n(2316),h=n(29026);class d{constructor(t,e){this.element=t,this.index=e,this.top=0}calculateTop(t,e){this.top=t+this.element.getBoundingClientRect().top-e}}class f{constructor(t){this.activeScrollItem=new i.t(1),this.spiedElements=t.map((t,e)=>new d(t,e))}calibrate(t,e){this.spiedElements.forEach(n=>n.calculateTop(t,e)),this.spiedElements.sort((t,e)=>e.top-t.top)}onScroll(t,e){let n;t+1>=e?n=this.spiedElements[0]:this.spiedElements.some(e=>e.top<=t&&(n=e,!0)),this.activeScrollItem.next(n||null)}}let p=(()=>{class t{constructor(t,e){this.doc=t,this.scrollService=e,this.spiedElementGroups=[],this.onStopListening=new s.x,this.resizeEvents=(0,o.R)(window,"resize").pipe((0,a.e)(300),(0,c.R)(this.onStopListening)),this.scrollEvents=(0,o.R)(window,"scroll").pipe((0,a.e)(10),(0,c.R)(this.onStopListening))}spyOn(t){this.spiedElementGroups.length||(this.resizeEvents.subscribe(()=>this.onResize()),this.scrollEvents.subscribe(()=>this.onScroll()),this.onResize());const e=this.getScrollTop(),n=this.getTopOffset(),r=this.lastMaxScrollTop,i=new f(t);return i.calibrate(e,n),i.onScroll(e,r),this.spiedElementGroups.push(i),{active:i.activeScrollItem.asObservable().pipe((0,l.x)()),unspy:()=>this.unspy(i)}}getContentHeight(){return this.doc.body.scrollHeight||Number.MAX_SAFE_INTEGER}getScrollTop(){return window&&window.pageYOffset||0}getTopOffset(){return this.scrollService.topOffset+50}getViewportHeight(){return this.doc.body.clientHeight||0}onResize(){const t=this.getContentHeight(),e=this.getViewportHeight(),n=this.getScrollTop(),r=this.getTopOffset();this.lastContentHeight=t,this.lastMaxScrollTop=t-e,this.spiedElementGroups.forEach(t=>t.calibrate(n,r))}onScroll(){this.lastContentHeight!==this.getContentHeight()&&this.onResize();const t=this.getScrollTop(),e=this.lastMaxScrollTop;this.spiedElementGroups.forEach(n=>n.onScroll(t,e))}unspy(t){t.activeScrollItem.complete(),this.spiedElementGroups=this.spiedElementGroups.filter(e=>e!==t),this.spiedElementGroups.length||this.onStopListening.next(null)}}return t.\u0275fac=function(e){return new(e||t)(u.LFG(r.K0),u.LFG(h.a))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})()},29026:function(t,e,n){"use strict";n.d(e,{a:function(){return a}});var r=n(54364),i=n(12027),s=n(71775),o=n(2316);let a=(()=>{class t{constructor(t,e,n,r){this.document=t,this.platformLocation=e,this.viewportScroller=n,this.location=r,this.poppedStateScrollPosition=null,this.supportManualScrollRestoration=!!window&&"scrollTo"in window&&"scrollX"in window&&"scrollY"in window&&!!history&&"scrollRestoration"in history,(0,i.R)(window,"resize").subscribe(()=>this._topOffset=null),(0,i.R)(window,"scroll").pipe((0,s.b)(250)).subscribe(()=>this.updateScrollPositionInHistory()),this.supportManualScrollRestoration&&(history.scrollRestoration="manual",this.location.subscribe(t=>{"hashchange"===t.type?this.scrollToPosition():(this.removeStoredScrollPosition(),this.poppedStateScrollPosition=t.state?t.state.scrollPosition:null)}))}get topOffset(){if(!this._topOffset){const t=this.document.querySelector(".app-toolbar");this._topOffset=(t&&t.clientHeight||0)+16}return this._topOffset}get topOfPageElement(){return this._topOfPageElement||(this._topOfPageElement=this.document.getElementById("top-of-page")||this.document.body),this._topOfPageElement}scroll(){const t=this.getCurrentHash(),e=t?this.document.getElementById(t):this.topOfPageElement;this.scrollToElement(e)}isLocationWithHash(){return!!this.getCurrentHash()}scrollAfterRender(t){const e=this.getStoredScrollPosition();e?this.viewportScroller.scrollToPosition(e):this.needToFixScrollPosition()?this.scrollToPosition():this.isLocationWithHash()?setTimeout(()=>this.scroll(),t):this.scrollToTop()}scrollToElement(t){t&&(t.scrollIntoView(),window&&window.scrollBy&&(window.scrollBy(0,t.getBoundingClientRect().top-this.topOffset),window.pageYOffset<20&&window.scrollBy(0,-window.pageYOffset)))}scrollToTop(){this.scrollToElement(this.topOfPageElement)}scrollToPosition(){this.poppedStateScrollPosition&&(this.viewportScroller.scrollToPosition(this.poppedStateScrollPosition),this.poppedStateScrollPosition=null)}updateScrollPositionInHistory(){if(this.supportManualScrollRestoration){const t=this.viewportScroller.getScrollPosition();t&&(this.location.replaceState(this.location.path(!0),void 0,{scrollPosition:t}),window.sessionStorage.setItem("scrollPosition",t.join(",")))}}getStoredScrollPosition(){const t=window.sessionStorage.getItem("scrollPosition");if(!t)return null;const[e,n]=t.split(",");return[+e,+n]}removeStoredScrollPosition(){window.sessionStorage.removeItem("scrollPosition")}needToFixScrollPosition(){return this.supportManualScrollRestoration&&!!this.poppedStateScrollPosition}getCurrentHash(){return decodeURIComponent(this.platformLocation.hash.replace(/^#/,""))}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(r.K0),o.LFG(r.lw),o.LFG(r.EM),o.LFG(r.Ye))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t})()},10026:function(t,e,n){"use strict";n.d(e,{G:function(){return f}});var r=n(2316),i=n(54364);function s(t,e){1&t&&r._UZ(0,"div")}function o(t,e){if(1&t&&r._UZ(0,"span"),2&t){const t=r.oxw().$implicit;r.Gre("symbol ",t.type,"")}}function a(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"li",9),r.TgZ(1,"a",10),r.NdJ("click",function(e){const n=r.CHM(t).$implicit;return r.oxw(3).onResultSelected(n,e)}),r.YNc(2,o,1,3,"span",11),r._uU(3),r.qZA(),r.qZA()}if(2&t){const t=e.$implicit,n=r.oxw().$implicit;r.xp6(1),r.s9C("href",t.path,r.LSH),r.xp6(1),r.Q6J("ngIf","api"===n.name),r.xp6(1),r.hij("",t.title," ")}}function c(t,e){if(1&t&&r._UZ(0,"span"),2&t){const t=r.oxw().$implicit;r.Gre("symbol ",t.type,"")}}function l(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"li",9),r.TgZ(1,"a",10),r.NdJ("click",function(e){const n=r.CHM(t).$implicit;return r.oxw(3).onResultSelected(n,e)}),r.YNc(2,c,1,3,"span",11),r._uU(3),r.qZA(),r.qZA()}if(2&t){const t=e.$implicit,n=r.oxw().$implicit;r.xp6(1),r.s9C("href",t.path,r.LSH),r.xp6(1),r.Q6J("ngIf","api"===n.name),r.xp6(1),r.hij("",t.title," ")}}function u(t,e){if(1&t&&(r.TgZ(0,"div",6),r.TgZ(1,"h3"),r._uU(2),r.qZA(),r.TgZ(3,"ul",7),r.YNc(4,a,4,3,"li",8),r.qZA(),r.TgZ(5,"ul"),r.YNc(6,l,4,3,"li",8),r.qZA(),r.qZA()),2&t){const t=e.$implicit;r.xp6(2),r.AsE("",t.name," (",t.pages.length+t.priorityPages.length,")"),r.xp6(2),r.Q6J("ngForOf",t.priorityPages),r.xp6(2),r.Q6J("ngForOf",t.pages)}}function h(t,e){if(1&t&&(r.TgZ(0,"h2",4),r._uU(1,"Search Results"),r.qZA(),r.YNc(2,u,7,4,"div",5)),2&t){const t=r.oxw();r.xp6(2),r.Q6J("ngForOf",t.searchAreas)}}function d(t,e){if(1&t&&(r.TgZ(0,"p"),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.notFoundMessage)}}let f=(()=>{class t{constructor(){this.resultSelected=new r.vpe,this.defaultArea="other",this.notFoundMessage="Searching ...",this.topLevelFolders=["guide","tutorial"],this.searchAreas=[]}ngOnChanges(t){this.searchAreas=this.processSearchResults(this.searchResults)}onResultSelected(t,e){0===e.button&&!e.ctrlKey&&!e.metaKey&&this.resultSelected.emit(t)}processSearchResults(t){if(!t)return[];this.notFoundMessage="No results found.";const e={};return t.results.forEach(t=>{if(!t.title)return;const n=this.computeAreaName(t)||this.defaultArea;(e[n]=e[n]||[]).push(t)}),Object.keys(e).sort((t,e)=>t>e?1:-1).map(t=>{let n=e[t];const r=n.splice(0,5);return n=n.sort(p),{name:t,pages:n,priorityPages:r}})}computeAreaName(t){if(-1!==this.topLevelFolders.indexOf(t.path))return t.path;const[e,n]=t.path.split("/",2);return n&&e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["aio-search-results"]],inputs:{searchResults:"searchResults"},outputs:{resultSelected:"resultSelected"},features:[r.TTD],decls:6,vars:3,consts:[[1,"search-results"],[4,"ngIf","ngIfThen","ngIfElse"],["searchResults",""],["notFound",""],[1,"visually-hidden"],["class","search-area",4,"ngFor","ngForOf"],[1,"search-area"],[1,"priority-pages"],["class","search-page",4,"ngFor","ngForOf"],[1,"search-page"],[1,"search-result-item",3,"href","click"],[3,"class",4,"ngIf"]],template:function(t,e){if(1&t&&(r.TgZ(0,"div",0),r.YNc(1,s,1,0,"div",1),r.qZA(),r.YNc(2,h,3,1,"ng-template",null,2,r.W1O),r.YNc(4,d,2,1,"ng-template",null,3,r.W1O)),2&t){const t=r.MAs(3),n=r.MAs(5);r.xp6(1),r.Q6J("ngIf",e.searchAreas.length)("ngIfThen",t)("ngIfElse",n)}},directives:[i.O5,i.sg],encapsulation:2}),t})();function p(t,e){return t.title.toUpperCase()>e.title.toUpperCase()?1:-1}},50587:function(t,e,n){"use strict";n.d(e,{H:function(){return l}});var r=n(2316),i=n(54364);function s(t,e){if(1&t&&r._UZ(0,"span"),2&t){const t=r.oxw();r.Gre("symbol ",null==t.selected?null:t.selected.value,"")}}function o(t,e){if(1&t&&r._UZ(0,"span"),2&t){const t=r.oxw().$implicit;r.Gre("symbol ",t.value,"")}}function a(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"li",6),r.NdJ("click",function(){const e=r.CHM(t),n=e.$implicit,i=e.index;return r.oxw(2).select(n,i)})("keydown.enter",function(){const e=r.CHM(t),n=e.$implicit,i=e.index;return r.oxw(2).select(n,i)})("keydown.space",function(e){const n=r.CHM(t),i=n.$implicit,s=n.index;return r.oxw(2).select(i,s),e.preventDefault()}),r.YNc(1,o,1,3,"span",2),r._uU(2),r.qZA()}if(2&t){const t=e.$implicit,n=r.oxw(2);r.ekj("selected",t===n.selected),r.xp6(1),r.Q6J("ngIf",n.showSymbol),r.xp6(1),r.hij("",t.title," ")}}function c(t,e){if(1&t&&(r.TgZ(0,"ul",4),r.YNc(1,a,3,4,"li",5),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngForOf",t.options)}}let l=(()=>{class t{constructor(t){this.hostElement=t,this.change=new r.vpe,this.showSymbol=!1,this.showOptions=!1}ngOnInit(){this.label=this.label||""}toggleOptions(){this.showOptions=!this.showOptions}hideOptions(){this.showOptions=!1}select(t,e){this.selected=t,this.change.emit({option:t,index:e}),this.hideOptions()}onClick(t){this.hostElement.nativeElement.contains(t)||this.hideOptions()}onKeyDown(){this.hideOptions()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq))},t.\u0275cmp=r.Xpm({type:t,selectors:[["aio-select"]],hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e.onClick(t.target)},!1,r.evT)("keydown.escape",function(){return e.onKeyDown()},!1,r.evT)},inputs:{selected:"selected",options:"options",showSymbol:"showSymbol",label:"label"},outputs:{change:"change"},decls:7,vars:4,consts:[[1,"form-select-menu"],[1,"form-select-button",3,"click"],[3,"class",4,"ngIf"],["class","form-select-dropdown",4,"ngIf"],[1,"form-select-dropdown"],["role","button","tabindex","0",3,"selected","click","keydown.enter","keydown.space",4,"ngFor","ngForOf"],["role","button","tabindex","0",3,"click","keydown.enter","keydown.space"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"button",1),r.NdJ("click",function(){return e.toggleOptions()}),r.TgZ(2,"strong"),r._uU(3),r.qZA(),r.YNc(4,s,1,3,"span",2),r._uU(5),r.qZA(),r.YNc(6,c,2,1,"ul",3),r.qZA()),2&t&&(r.xp6(3),r.Oqu(e.label),r.xp6(1),r.Q6J("ngIf",e.showSymbol),r.xp6(1),r.hij("",null==e.selected?null:e.selected.title," "),r.xp6(1),r.Q6J("ngIf",e.showOptions))},directives:[i.O5,i.sg],encapsulation:2}),t})()},44466:function(t,e,n){"use strict";n.d(e,{m:function(){return s}});var r=n(54364),i=n(2316);let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.ez]]}),t})()},56308:function(t,e,n){"use strict";n.d(e,{I:function(){return c}});var r=n(54364),i=n(55552),s=n(2316),o=n(71570),a=n(94727);let c=(()=>{class t{constructor(t,e,n){this.document=t,this.domSanitizer=e,this.scrollSpyService=n,this.tocList=new i.t(1),this.activeItemIndex=new i.t(1),this.scrollSpyInfo=null}genToc(t,e=""){if(this.resetScrollSpyInfo(),!t)return void this.tocList.next([]);const n=this.findTocHeadings(t),r=new Map,i=n.map(t=>({content:this.extractHeadingSafeHtml(t),href:`${e}#${this.getId(t,r)}`,level:t.tagName.toLowerCase(),title:(t.textContent||"").trim()}));this.tocList.next(i),this.scrollSpyInfo=this.scrollSpyService.spyOn(n),this.scrollSpyInfo.active.subscribe(t=>this.activeItemIndex.next(t&&t.index))}reset(){this.resetScrollSpyInfo(),this.tocList.next([])}extractHeadingSafeHtml(t){const e=this.document.createElement("div");e.innerHTML=t.innerHTML;const n=e.querySelectorAll("a");for(let r=0;r<n.length;r++){const t=n[r];if(!t.classList.contains("header-link")){const e=t.parentNode;for(;t.childNodes.length;)e.insertBefore(t.childNodes[0],t)}t.remove()}return this.domSanitizer.bypassSecurityTrustHtml(e.innerHTML.trim())}findTocHeadings(t){const e=t.querySelectorAll("h1,h2,h3");return Array.prototype.filter.call(e,t=>!/(?:no-toc|notoc)/i.test(t.className)&&!function(t){if(t&&t.hasAttribute("translation-origin")){let e=t.previousElementSibling;if(e&&"AIO-TOC"===e.tagName&&(e=e.previousElementSibling),e&&e.hasAttribute("translation-result"))return!0}return!1}(t))}resetScrollSpyInfo(){this.scrollSpyInfo&&(this.scrollSpyInfo.unspy(),this.scrollSpyInfo=null),this.activeItemIndex.next(null)}getId(t,e){let n=t.id;return n?r(n):(n=(t.textContent||"").trim().toLowerCase().replace(/\W+/g,"-"),n=r(n),t.id=n),n;function r(t){const n=(e.get(t)||0)+1;return e.set(t,n),1===n?t:`${t}-${n}`}}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(r.K0),s.LFG(o.H7),s.LFG(a.f_))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})()},74783:function(t,e,n){"use strict";n.d(e,{R:function(){return r},s:function(){return i}});const r=new(n(2316).OlP)("Window");function i(){return window}},53942:function(t,e,n){"use strict";n.d(e,{a:function(){return m}});var r=n(39216),i=n(59439),s=n(20749),o=n(95018),a=n(76323),c=n(44094),l=n(80993),u=n(39349),h=n(49005),d=n(2316),f=n(44541),p=n(99587);let m=(()=>{class t{constructor(t,e,n){if(this.logger=e,this.swu=n,this.checkInterval=216e5,this.onDestroy=new s.x,!n.isEnabled)return void(this.updateActivated=o.C.pipe((0,c.R)(this.onDestroy)));const d=t.isStable.pipe((0,l.P)(t=>t));(0,a.z)(d,function(t,e){return void 0===t&&(t=0),void 0===e&&(e=r.z),t<0&&(t=0),(0,i.H)(t,t,e)}(this.checkInterval)).pipe((0,u.b)(()=>this.log("Checking for update...")),(0,c.R)(this.onDestroy)).subscribe(()=>this.swu.checkForUpdate()),this.swu.available.pipe((0,u.b)(t=>this.log(`Update available: ${JSON.stringify(t)}`)),(0,c.R)(this.onDestroy)).subscribe(()=>this.swu.activateUpdate()),this.updateActivated=this.swu.activated.pipe((0,u.b)(t=>this.log(`Update activated: ${JSON.stringify(t)}`)),(0,h.U)(t=>t.current.hash),(0,c.R)(this.onDestroy))}ngOnDestroy(){this.onDestroy.next()}log(t){const e=(new Date).toISOString();this.logger.log(`[SwUpdates - ${e}]: ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(d.LFG(d.z2F),d.LFG(f.Y),d.LFG(p.yO))},t.\u0275prov=d.Yz7({token:t,factory:t.\u0275fac}),t})()},92340:function(t,e,n){"use strict";n.d(e,{N:function(){return r}}),n(45511);const r={gaId:"UA-36380079-2",production:!1,mode:"stable"}},99449:function(t,e,n){"use strict";var r=n(71570),i=n(2316),s=n(53882),o=n(71918),a=n(99587),c=n(54364),l=n(70781),u=n(18226),h=n(24298),d=n(20657),f=n(90930),p=n(12027),m=n(76477);const g=["primaryValueBar"],y=(0,h.pj)(class{constructor(t){this._elementRef=t}},"primary"),_=new i.OlP("mat-progress-bar-location",{providedIn:"root",factory:function(){const t=(0,i.f3M)(c.K0),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}});let v=0,b=(()=>{class t extends y{constructor(t,e,n,r){super(t),this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new i.vpe,this._animationEndSubscription=f.w0.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+v++;const s=r?r.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${s}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===n}get value(){return this._value}set value(t){this._value=w((0,d.su)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=w(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,p.R)(t,"transitionend").pipe((0,m.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(o.Qb,8),i.Y36(_,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){if(1&t&&i.Gf(g,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:[c.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 w(t,e=0,n=100){return Math.max(e,Math.min(n,t))}let S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[c.ez,h.BQ],h.BQ]}),t})();var E=n(36145),C=n(12770),x=n(90084),T=n(20749),k=n(17159),I=n(49005),A=n(43497),F=n(44094),O=n(52249),R=n(35116),N=n(57993),L=n(71775),D=n(97175),P=n(51606),M=n(772);const j=["*"];function B(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(t),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&t){const t=i.oxw();i.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function H(t,e){1&t&&(i.TgZ(0,"mat-drawer-content"),i.Hsn(1,2),i.qZA())}const V=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],z=["mat-drawer","mat-drawer-content","*"];function q(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(t),i.oxw()._onBackdropClicked()}),i.qZA()}if(2&t){const t=i.oxw();i.ekj("mat-drawer-shown",t._isShowingBackdrop())}}function Z(t,e){1&t&&(i.TgZ(0,"mat-sidenav-content",3),i.Hsn(1,2),i.qZA())}const G=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],$=["mat-sidenav","mat-sidenav-content","*"],U=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",Y={transformDrawer:(0,D.X$)("transform",[(0,D.SB)("open, open-instant",(0,D.oB)({transform:"none",visibility:"visible"})),(0,D.SB)("void",(0,D.oB)({"box-shadow":"none",visibility:"hidden"})),(0,D.eR)("void => open-instant",(0,D.jt)("0ms")),(0,D.eR)("void <=> open, open-instant => void",(0,D.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Q=new i.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),W=new i.OlP("MAT_DRAWER_CONTAINER");let K=(()=>{class t extends C.PQ{constructor(t,e,n,r,i){super(n,r,i),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>X)),i.Y36(i.SBq),i.Y36(C.mF),i.Y36(i.R0b))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&i.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[i.qOj],ngContentSelectors:j,decls:1,vars:0,template:function(t,e){1&t&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),J=(()=>{class t{constructor(t,e,n,r,s,o,a){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=r,this._ngZone=s,this._doc=o,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new T.x,this._animationEnd=new T.x,this._animationState="void",this.openedChange=new i.vpe(!0),this._openedStream=this.openedChange.pipe((0,m.h)(t=>t),(0,I.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,m.h)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),(0,A.h)(void 0)),this._closedStream=this.openedChange.pipe((0,m.h)(t=>!t),(0,I.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,m.h)(t=>t.fromState!==t.toState&&"void"===t.toState),(0,A.h)(void 0)),this._destroyed=new T.x,this.onPositionChanged=new i.vpe,this._modeChanged=new T.x,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{(0,p.R)(this._elementRef.nativeElement,"keydown").pipe((0,m.h)(t=>t.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(t)),(0,F.R)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe((0,O.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:n}=t;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=(0,d.Ig)(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=(0,d.Ig)(t)}get opened(){return this._opened}set opened(t){this.toggle((0,d.Ig)(t))}_takeFocus(){!this.autoFocus||!this._focusTrap||this._focusTrap.focusInitialElementWhenReady().then(t=>{!t&&"function"==typeof this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()})}_restoreFocus(){!this.autoFocus||(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,n="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe((0,R.q)(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(P.qV),i.Y36(P.tE),i.Y36(E.t4),i.Y36(i.R0b),i.Y36(c.K0,8),i.Y36(W,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&i.WFA("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(i.uIk("align",null),i.d8E("@transform",e._animationState),i.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:j,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA())},directives:[C.PQ],encapsulation:2,data:{animation:[Y.transformDrawer]},changeDetection:0}),t})(),X=(()=>{class t{constructor(t,e,n,r,s,o=!1,a){this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=a,this._drawers=new i.n_E,this.backdropClick=new i.vpe,this._destroyed=new T.x,this._doCheckSubject=new T.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new T.x,t&&t.change.pipe((0,F.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe((0,F.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=o}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=(0,d.Ig)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:(0,d.Ig)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,N.O)(this._allDrawers),(0,F.R)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,N.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,L.b)(10),(0,F.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const n=this._left._getWidth();t+=n,e-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const n=this._right._getWidth();e+=n,t-=n}t=t||null,e=e||null,(t!==this._contentMargins.left||e!==this._contentMargins.right)&&(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe((0,m.h)(t=>t.fromState!==t.toState),(0,F.R)(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe((0,F.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){!t||t.onPositionChanged.pipe((0,F.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,R.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe((0,F.R)((0,k.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(M.Is,8),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO),i.Y36(C.rL),i.Y36(Q),i.Y36(o.Qb,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,K,5),i.Suo(n,J,5)),2&t){let t;i.iGM(t=i.CRH())&&(e._content=t.first),i.iGM(t=i.CRH())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&i.Gf(K,5),2&t){let t;i.iGM(t=i.CRH())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[i._Bn([{provide:W,useExisting:t}])],ngContentSelectors:z,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(i.F$t(V),i.YNc(0,B,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,H,2,0,"mat-drawer-content",1)),2&t&&(i.Q6J("ngIf",e.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!e._content))},directives:[c.O5,K],styles:[U],encapsulation:2,changeDetection:0}),t})(),tt=(()=>{class t extends K{constructor(t,e,n,r,i){super(t,e,n,r,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>nt)),i.Y36(i.SBq),i.Y36(C.mF),i.Y36(i.R0b))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&i.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[i.qOj],ngContentSelectors:j,decls:1,vars:0,template:function(t,e){1&t&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),t})(),et=(()=>{class t extends J{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=(0,d.Ig)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=(0,d.su)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=(0,d.su)(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(i.uIk("align",null),i.Udp("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),i.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[i.qOj],ngContentSelectors:j,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA())},directives:[C.PQ],encapsulation:2,data:{animation:[Y.transformDrawer]},changeDetection:0}),t})(),nt=(()=>{class t extends X{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,tt,5),i.Suo(n,et,5)),2&t){let t;i.iGM(t=i.CRH())&&(e._content=t.first),i.iGM(t=i.CRH())&&(e._allDrawers=t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[i._Bn([{provide:W,useExisting:t}]),i.qOj],ngContentSelectors:$,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(i.F$t(G),i.YNc(0,q,1,2,"div",0),i.Hsn(1),i.Hsn(2,1),i.YNc(3,Z,2,0,"mat-sidenav-content",1)),2&t&&(i.Q6J("ngIf",e.hasBackdrop),i.xp6(3),i.Q6J("ngIf",!e._content))},directives:[c.O5,tt,C.PQ],styles:[U],encapsulation:2,changeDetection:0}),t})(),rt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[c.ez,h.BQ,E.ud,C.ZD],C.ZD,h.BQ]}),t})();const it=["*",[["mat-toolbar-row"]]],st=["*","mat-toolbar-row"],ot=(0,h.pj)(class{constructor(t){this._elementRef=t}});let at=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),ct=(()=>{class t extends ot{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(E.t4),i.Y36(c.K0))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,at,5),2&t){let t;i.iGM(t=i.CRH())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&i.ekj("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.qOj],ngContentSelectors:st,decls:2,vars:0,template:function(t,e){1&t&&(i.F$t(it),i.Hsn(0),i.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),t})(),lt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[h.BQ],h.BQ]}),t})();const ut=new i.OlP("CurrentDate");function ht(){return new Date}var dt=n(74783);const ft=["*"],pt="aio-notification/";let mt=(()=>{class t{constructor(t,e){this.currentDate=e,this.dismissed=new i.vpe;try{this.storage=t.localStorage}catch(n){this.storage={length:0,clear:()=>{},getItem:()=>null,key:()=>null,removeItem:()=>{},setItem:()=>{}}}}ngOnInit(){const t="hide"===this.storage.getItem(pt+this.notificationId),e=this.currentDate>new Date(this.expirationDate);this.showNotification=t||e?"hide":"show"}contentClick(){this.dismissOnContentClick&&this.dismiss()}dismiss(){this.storage.setItem(pt+this.notificationId,"hide"),this.showNotification="hide",this.dismissed.next(null)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(dt.R),i.Y36(ut))},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-notification"]],hostVars:1,hostBindings:function(t,e){2&t&&i.d8E("@hideAnimation",e.showNotification)},inputs:{dismissOnContentClick:"dismissOnContentClick",notificationId:"notificationId",expirationDate:"expirationDate"},outputs:{dismissed:"dismissed"},ngContentSelectors:ft,decls:4,vars:0,consts:[[1,"content",3,"click"],["mat-icon-button","","aria-label","Close",1,"close-button",3,"click"],["svgIcon","close","aria-label","Dismiss notification"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"span",0),i.NdJ("click",function(){return e.contentClick()}),i.Hsn(1),i.qZA(),i.TgZ(2,"button",1),i.NdJ("click",function(){return e.dismiss()}),i._UZ(3,"mat-icon",2),i.qZA())},directives:[l.lW,u.Hw],encapsulation:2,data:{animation:[(0,D.X$)("hideAnimation",[(0,D.SB)("show",(0,D.oB)({height:"*"})),(0,D.SB)("hide",(0,D.oB)({height:0})),(0,D.eR)("show => hide",(0,D.jt)(250))])]}}),t})();var gt=n(55370);const yt=["searchBox"];let _t=(()=>{class t{constructor(t){this.locationService=t,this.searchDebounce=300,this.searchSubject=new T.x,this.onSearch=this.searchSubject.pipe((0,O.x)(),(0,L.b)(this.searchDebounce)),this.onFocus=new i.vpe}ngOnInit(){const t=this.locationService.search().search;t&&(this.query=t,this.doSearch())}doSearch(){this.searchSubject.next(this.query)}doFocus(){this.onFocus.emit(this.query)}focus(){this.searchBox.nativeElement.focus()}get query(){return this.searchBox.nativeElement.value}set query(t){this.searchBox.nativeElement.value=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(gt.a))},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-search-box"]],viewQuery:function(t,e){if(1&t&&i.Gf(yt,7),2&t){let t;i.iGM(t=i.CRH())&&(e.searchBox=t.first)}},outputs:{onSearch:"onSearch",onFocus:"onFocus"},decls:2,vars:0,consts:[["type","search","aria-label","search","placeholder","\u641c\u7d22",3,"input","keyup","focus","click"],["searchBox",""]],template:function(t,e){1&t&&(i.TgZ(0,"input",0,1),i.NdJ("input",function(){return e.doSearch()})("keyup",function(){return e.doSearch()})("focus",function(){return e.doFocus()})("click",function(){return e.doSearch()}),i.qZA())},encapsulation:2}),t})();var vt=n(69606),bt=n(57850),wt=n(80993),St=n(92340);let Et=(()=>{class t{constructor(t){this.location=t,this.mode=this.location.search().mode||St.N.mode}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(gt.a))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var Ct=n(70095),xt=n(14823),Tt=n(72366);const kt=Ct.bL+"navigation.json";let It=(()=>{class t{constructor(t,e){this.http=t,this.location=e;const n=this.fetchNavigationInfo();this.navigationViews=this.getNavigationViews(n),this.currentNodes=this.getCurrentNodes(this.navigationViews),this.versionInfo=this.getVersionInfo(n)}fetchNavigationInfo(){const t=this.http.get(kt).pipe((0,xt.C)());return t.connect(),t}getVersionInfo(t){const e=t.pipe((0,I.U)(t=>t.__versionInfo),(0,xt.C)());return e.connect(),e}getNavigationViews(t){const e=t.pipe((0,I.U)(t=>{const e=Object.assign({},t);return Object.keys(e).forEach(t=>{"_"===t[0]&&delete e[t]}),e}),(0,xt.C)());return e.connect(),e}getCurrentNodes(t){const e=(0,bt.a)(t.pipe((0,I.U)(t=>this.computeUrlToNavNodesMap(t))),this.location.currentPath,(t,e)=>{const n=e.startsWith("api/")?"api":e;return t.get(n)||{"":{view:"",url:n,nodes:[]}}}).pipe((0,Tt._)(1));return e.connect(),e}computeUrlToNavNodesMap(t){const e=new Map;return Object.keys(t).forEach(n=>t[n].forEach(t=>this.walkNodes(n,e,t))),e}ensureHasTooltip(t){const e=t.title;null==t.tooltip&&e&&(t.tooltip=e+(/[a-zA-Z0-9]$/.test(e)?".":""))}walkNodes(t,e,n,r=[]){const i=[n,...r],s=n.url;if(this.ensureHasTooltip(n),s){const n=s.replace(/\/$/,"");e.has(n)||e.set(n,{}),e.get(n)[t]={url:s,view:t,nodes:i}}n.children&&n.children.forEach(n=>this.walkNodes(t,e,n,i))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.eN),i.LFG(gt.a))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var At=n(29026),Ft=n(45146),Ot=n(56308);function Rt(t,e){if(1&t&&(i.TgZ(0,"div"),i.TgZ(1,"a",1),i._uU(2),i.qZA(),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.s9C("href",t.node.url,i.LSH),i.s9C("title",t.node.tooltip),i.Q6J("ngClass",t.classes),i.xp6(1),i.hij(" ",t.node.title," ")}}function Nt(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",6),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).headerClicked()}),i._uU(1),i._UZ(2,"mat-icon",7),i.qZA()}if(2&t){const t=i.oxw(2);i.s9C("href",t.node.url,i.LSH),i.s9C("title",t.node.tooltip),i.Q6J("ngClass",t.classes),i.xp6(1),i.hij(" ",t.node.title," ")}}function Lt(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",8),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).headerClicked()}),i._uU(1),i._UZ(2,"mat-icon",7),i.qZA()}if(2&t){const t=i.oxw(2);i.s9C("title",t.node.tooltip),i.Q6J("ngClass",t.classes),i.uIk("aria-pressed",t.isExpanded),i.xp6(1),i.hij(" ",t.node.title," ")}}function Dt(t,e){if(1&t&&i._UZ(0,"aio-nav-item",9),2&t){const t=e.$implicit,n=i.oxw(2);i.Q6J("level",n.level+1)("isWide",n.isWide)("isParentExpanded",n.isExpanded)("node",t)("selectedNodes",n.selectedNodes)}}function Pt(t,e){if(1&t&&(i.TgZ(0,"div"),i.YNc(1,Nt,3,4,"a",2),i.YNc(2,Lt,3,4,"button",3),i.TgZ(3,"div",4),i.YNc(4,Dt,1,5,"aio-nav-item",5),i.qZA(),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("ngIf",null!=t.node.url),i.xp6(1),i.Q6J("ngIf",null==t.node.url),i.xp6(1),i.Q6J("ngClass",t.classes),i.xp6(1),i.Q6J("ngForOf",t.nodeChildren)}}let Mt=(()=>{class t{constructor(){this.isWide=!1,this.level=1,this.isParentExpanded=!0,this.isExpanded=!1,this.isSelected=!1}ngOnChanges(){if(this.nodeChildren=this.node&&this.node.children?this.node.children.filter(t=>!t.hidden):[],this.selectedNodes){const t=this.selectedNodes.indexOf(this.node);this.isSelected=-1!==t,this.isExpanded=this.isParentExpanded&&(this.isSelected||this.isWide&&this.isExpanded)}else this.isSelected=!1;this.setClasses()}setClasses(){this.classes={["level-"+this.level]:!0,collapsed:!this.isExpanded,expanded:this.isExpanded,selected:this.isSelected}}headerClicked(){this.isExpanded=!this.isExpanded,this.setClasses()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-nav-item"]],inputs:{isWide:"isWide",level:"level",node:"node",isParentExpanded:"isParentExpanded",selectedNodes:"selectedNodes"},features:[i.TTD],decls:2,vars:2,consts:[[4,"ngIf"],[1,"vertical-menu-item",3,"href","ngClass","title"],["class","vertical-menu-item heading",3,"href","ngClass","title","click",4,"ngIf"],["type","button","class","vertical-menu-item heading",3,"ngClass","title","click",4,"ngIf"],[1,"heading-children",3,"ngClass"],[3,"level","isWide","isParentExpanded","node","selectedNodes",4,"ngFor","ngForOf"],[1,"vertical-menu-item","heading",3,"href","ngClass","title","click"],["svgIcon","keyboard_arrow_right",1,"rotating-icon"],["type","button",1,"vertical-menu-item","heading",3,"ngClass","title","click"],[3,"level","isWide","isParentExpanded","node","selectedNodes"]],template:function(t,e){1&t&&(i.YNc(0,Rt,3,4,"div",0),i.YNc(1,Pt,5,4,"div",0)),2&t&&(i.Q6J("ngIf",!e.node.children),i.xp6(1),i.Q6J("ngIf",e.node.children))},directives:[c.O5,c.mk,c.sg,u.Hw,t],encapsulation:2}),t})();function jt(t,e){if(1&t&&i._UZ(0,"aio-nav-item",1),2&t){const t=e.$implicit,n=i.oxw();i.Q6J("node",t)("selectedNodes",null==n.currentNode?null:n.currentNode.nodes)("isWide",n.isWide)}}let Bt=(()=>{class t{constructor(){this.isWide=!1}get filteredNodes(){return this.nodes?this.nodes.filter(t=>!t.hidden):[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-nav-menu"]],inputs:{currentNode:"currentNode",isWide:"isWide",nodes:"nodes"},decls:1,vars:1,consts:[[3,"node","selectedNodes","isWide",4,"ngFor","ngForOf"],[3,"node","selectedNodes","isWide"]],template:function(t,e){1&t&&i.YNc(0,jt,1,3,"aio-nav-item",0),2&t&&i.Q6J("ngForOf",e.filteredNodes)},directives:[c.sg,Mt],encapsulation:2}),t})();var Ht=n(50587);function Vt(t,e){if(1&t&&(i.TgZ(0,"div",1),i._uU(1," This is the "),i.TgZ(2,"strong"),i._uU(3),i.qZA(),i._uU(4," Please visit "),i.TgZ(5,"a",2),i._uU(6,"angular.io"),i.qZA(),i._uU(7," to see documentation for the current version of Angular. "),i.qZA()),2&t){const t=i.oxw();i.xp6(3),i.hij("archived documentation for Angular v",null==t.version?null:t.version.major,".")}}let zt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-mode-banner"]],inputs:{mode:"mode",version:"version"},decls:1,vars:1,consts:[["class","mode-banner",4,"ngIf"],[1,"mode-banner"],["href","https://angular.io/"]],template:function(t,e){1&t&&i.YNc(0,Vt,8,1,"div",0),2&t&&i.Q6J("ngIf","archive"==e.mode)},directives:[c.O5],encapsulation:2}),t})();var qt=n(47599),Zt=n(1890),Gt=n(62431),$t=n(59439),Ut=n(13256),Yt=n(36487),Qt=n(98578),Wt=n(39349),Kt=n(34864),Jt=n(44541);const Xt=[{selector:"aio-announcement-bar",loadChildren:()=>n.e(872).then(n.bind(n,6872)).then(t=>t.AnnouncementBarModule)},{selector:"aio-api-list",loadChildren:()=>n.e(614).then(n.bind(n,93614)).then(t=>t.ApiListModule)},{selector:"aio-contributor-list",loadChildren:()=>n.e(278).then(n.bind(n,21278)).then(t=>t.ContributorListModule)},{selector:"aio-file-not-found-search",loadChildren:()=>n.e(328).then(n.bind(n,74328)).then(t=>t.FileNotFoundSearchModule)},{selector:"aio-resource-list",loadChildren:()=>n.e(48).then(n.bind(n,45048)).then(t=>t.ResourceListModule)},{selector:"aio-toc",loadChildren:()=>n.e(320).then(n.bind(n,44320)).then(t=>t.TocModule)},{selector:"code-example",loadChildren:()=>Promise.all([n.e(912),n.e(913),n.e(936)]).then(n.bind(n,50936)).then(t=>t.CodeExampleModule)},{selector:"code-tabs",loadChildren:()=>Promise.all([n.e(912),n.e(913),n.e(592),n.e(317)]).then(n.bind(n,74317)).then(t=>t.CodeTabsModule)},{selector:"current-location",loadChildren:()=>n.e(318).then(n.bind(n,31318)).then(t=>t.CurrentLocationModule)},{selector:"expandable-section",loadChildren:()=>Promise.all([n.e(912),n.e(970)]).then(n.bind(n,8970)).then(t=>t.ExpandableSectionModule)},{selector:"live-example",loadChildren:()=>n.e(285).then(n.bind(n,99285)).then(t=>t.LiveExampleModule)},{selector:"aio-operator-decision-tree",loadChildren:()=>Promise.all([n.e(592),n.e(608)]).then(n.bind(n,6608)).then(t=>t.OperatorDecisionTreeModule)}],te=new i.OlP("aio/elements-map"),ee=new Map;Xt.forEach(t=>{ee.set(t.selector,t.loadChildren)});var ne=n(6376),re=n(55552);const ie={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return ie.schedule(t,0);if(void 0===window.requestAnimationFrame)return ie.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};let se;function oe(t,e,n){let r=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((e,n)=>!("*"===e||!function(t,e){if(!se){const t=Element.prototype;se=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE&&se.call(t,e)}(t,e)||(r=n,0))),r}class ae{constructor(t,e){this.componentFactory=e.get(i._Vd).resolveComponentFactory(t)}create(t){return new ce(this.componentFactory,t)}}class ce{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new re.t(1),this.events=this.eventEmitters.pipe((0,Qt.w)(t=>(0,k.T)(...t))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:t})=>t)),this.ngZone=this.injector.get(i.R0b),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=ie.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{null!==this.componentRef?function(t,e){return t===e||t!=t&&e!=e}(e,this.getInputValue(t))&&(void 0!==e||!this.unchangedInputs.has(t))||(this.recordInputChange(t,e),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=i.zs3.create({providers:[],parent:this.injector}),n=function(t,e){const n=t.childNodes,r=e.map(()=>[]);let i=-1;e.some((t,e)=>"*"===t&&(i=e,!0));for(let s=0,o=n.length;s<o;++s){const t=n[s],o=oe(t,e,i);-1!==o&&r[o].push(t)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.viewChangeDetectorRef=this.componentRef.injector.get(i.sBO),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(i.z2F).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:e,templateName:n})=>t.instance[e].pipe((0,I.U)(t=>({name:n,value:t}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ie.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[t];if(n)return void(n.currentValue=e);const r=this.unchangedInputs.has(t),s=r?void 0:this.getInputValue(t);this.inputChanges[t]=new i.WD2(s,e,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class le extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let ue=(()=>{class t{constructor(t,e,n){this.moduleRef=t,this.compiler=n,this.elementsLoading=new Map,this.elementsToLoad=new Map(e)}loadContainedCustomElements(t){const e=Array.from(this.elementsToLoad.keys()).filter(e=>t.querySelector(e));if(!e.length)return(0,qt.of)(void 0);const n=Promise.all(e.map(t=>this.loadCustomElement(t)));return(0,ne.Dp)(n.then(()=>{}))}loadCustomElement(t){if(this.elementsLoading.has(t))return this.elementsLoading.get(t);if(this.elementsToLoad.has(t)){const e=this.elementsToLoad.get(t)().then(t=>t instanceof i.YKP?t:this.compiler.compileModuleAsync(t)).then(e=>{const n=e.create(this.moduleRef.injector),r=function(t,e){const n=function(t,e){return e.get(i._Vd).resolveComponentFactory(t).inputs}(t,e.injector),r=e.strategyFactory||new ae(t,e.injector),s=function(t){const e={};return t.forEach(({propName:t,templateName:n})=>{e[function(t){return t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(n)]=t}),e}(n);class o extends le{constructor(t){super(),this.injector=t}get ngElementStrategy(){if(!this._ngElementStrategy){const t=this._ngElementStrategy=r.create(this.injector||e.injector);n.forEach(({propName:e})=>{if(!this.hasOwnProperty(e))return;const n=this[e];delete this[e],t.setInputValue(e,n)})}return this._ngElementStrategy}attributeChangedCallback(t,e,n,r){this.ngElementStrategy.setInputValue(s[t],n)}connectedCallback(){let t=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),t=!0),this.ngElementStrategy.connect(this),t||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(t=>{const e=function(t,e,n){if("function"!=typeof CustomEvent){const r=t.createEvent("CustomEvent");return r.initCustomEvent(e,!1,!1,n),r}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,t.name,t.value);this.dispatchEvent(e)})}}return o.observedAttributes=Object.keys(s),n.forEach(({propName:t})=>{Object.defineProperty(o.prototype,t,{get(){return this.ngElementStrategy.getInputValue(t)},set(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})}),o}(n.instance.customElementComponent,{injector:n.injector});return customElements.define(t,r),customElements.whenDefined(t)}).then(()=>{this.elementsLoading.delete(t),this.elementsToLoad.delete(t)}).catch(e=>(this.elementsLoading.delete(t),Promise.reject(e)));return this.elementsLoading.set(t,e),e}return Promise.resolve()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.h0i),i.LFG(te),i.LFG(i.Sil))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const he=document.querySelector("aio-doc-viewer"),de=he?he.innerHTML:"";let fe=(()=>{class t{constructor(t,e,n,r,s,o){this.logger=e,this.titleService=n,this.metaService=r,this.tocService=s,this.elementsLoader=o,this.void$=(0,qt.of)(void 0),this.onDestroy$=new i.vpe,this.docContents$=new i.vpe,this.currViewContainer=document.createElement("div"),this.nextViewContainer=document.createElement("div"),this.docReady=new i.vpe,this.docRemoved=new i.vpe,this.docInserted=new i.vpe,this.docRendered=new i.vpe,this.hostElement=t.nativeElement,this.hostElement.innerHTML=de,this.hostElement.firstElementChild&&(this.currViewContainer=this.hostElement.firstElementChild),this.docContents$.pipe(function(t,e){return void 0===e&&(e=0),(0,Ut.e)(function(n,r){n.subscribe(new Yt.Q(r,function(n){return r.add(t.schedule(function(){return r.next(n)},e))},function(){return r.add(t.schedule(function(){return r.complete()},e))},function(n){return r.add(t.schedule(function(){return r.error(n)},e))}))})}(Zt.E),(0,Qt.w)(t=>this.render(t)),(0,F.R)(this.onDestroy$)).subscribe()}set doc(t){t&&this.docContents$.emit(t)}ngOnDestroy(){this.onDestroy$.emit()}prepareTitleAndToc(t,e){const n=t.querySelector(".api-body > p:nth-child(2)"),r=t.querySelector("h1"),i=!!r&&!/no-?toc/i.test(r.className),s=t.querySelector("aio-toc.embedded");return i&&!s?r.insertAdjacentHTML("afterend",'<aio-toc class="embedded"></aio-toc>'):!i&&s&&s.remove(),()=>{this.tocService.reset();let s="",o="";r&&(s="string"==typeof r.innerText?r.innerText:r.textContent,i&&this.tocService.genToc(t,e)),n&&(o=n.innerHTML);const a=s?`${s} - RxJS \u4e2d\u6587\u7248`:"RxJS \u4e2d\u6587\u7248";this.addDocumentMetaTags(a,o),this.titleService.setTitle(a)}}render(t){let e;return this.setNoIndex(t.id===Ct.xx||t.id===Ct.cH),this.void$.pipe((0,Wt.b)(()=>this.nextViewContainer.innerHTML=t.contents||""),(0,Wt.b)(()=>e=this.prepareTitleAndToc(this.nextViewContainer,t.id)),(0,Qt.w)(()=>this.elementsLoader.loadContainedCustomElements(this.nextViewContainer)),(0,Wt.b)(()=>this.docReady.emit()),(0,Qt.w)(()=>this.swapViews(e)),(0,Wt.b)(()=>this.docRendered.emit()),(0,Kt.K)(e=>{const n=e instanceof Error?e.stack:e;return this.logger.error(new Error(`[DocViewer] Error preparing document '${t.id}': ${n}`)),this.nextViewContainer.innerHTML="",this.setNoIndex(!0),this.void$}))}setNoIndex(t){t?this.metaService.addTag({name:"robots",content:"noindex"}):this.metaService.removeTag('name="robots"')}swapViews(e=(()=>{})){const n=new Gt.y(t=>{const e=requestAnimationFrame(()=>{t.next(),t.complete()});return()=>cancelAnimationFrame(e)}),r=(e,r,i,s,o=200)=>{const a=!t.animationsEnabled||this.hostElement.classList.contains("no-animations");return"length"===r||"parentRule"===r?this.void$:(e.style.transition="",a?this.void$.pipe((0,Wt.b)(()=>e.style[`${r}`]=s)):this.void$.pipe((0,Qt.w)(()=>n),(0,Wt.b)(()=>e.style[`${r}`]=i),(0,Qt.w)(()=>n),(0,Wt.b)(()=>e.style.transition=`all ${o}ms ease-in-out`),(0,Qt.w)(()=>n),(0,Wt.b)(()=>e.style[`${r}`]=s),(0,Qt.w)(()=>(0,$t.H)((t=>{const e=getComputedStyle(t).transitionDuration||"";return 1e3*Number(e.replace(/s$/,""))})(e))),(0,Qt.w)(()=>this.void$)))};let i=this.void$;return this.currViewContainer.parentElement&&(i=i.pipe((0,Qt.w)(()=>r(this.currViewContainer,"opacity","1","0.1")),(0,Wt.b)(()=>this.currViewContainer.parentElement.removeChild(this.currViewContainer)),(0,Wt.b)(()=>this.docRemoved.emit()))),i.pipe((0,Wt.b)(()=>this.hostElement.appendChild(this.nextViewContainer)),(0,Wt.b)(()=>e()),(0,Wt.b)(()=>this.docInserted.emit()),(0,Qt.w)(()=>r(this.nextViewContainer,"opacity","0.1","1")),(0,Wt.b)(()=>{const t=this.currViewContainer;this.currViewContainer=this.nextViewContainer,this.nextViewContainer=t,this.nextViewContainer.innerHTML=""}))}addDocumentMetaTags(t,e){if(this.metaService.updateTag({name:"twitter:title",content:t}),this.metaService.updateTag({name:"twitter:card",content:"summary"}),this.metaService.updateTag({property:"og:title",content:t}),this.metaService.updateTag({property:"og:type",content:"article"}),e){const t=e.replace(/<\/?\w*>/gm,"");this.metaService.updateTag({name:"twitter:description",content:t}),this.metaService.updateTag({property:"og:description",content:t})}}}return t.animationsEnabled=!0,t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(Jt.Y),i.Y36(r.Dx),i.Y36(r.h_),i.Y36(Ot.I),i.Y36(ue))},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-doc-viewer"]],inputs:{doc:"doc"},outputs:{docReady:"docReady",docRemoved:"docRemoved",docInserted:"docInserted",docRendered:"docRendered"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),pe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-footer"]],inputs:{nodes:"nodes",versionInfo:"versionInfo"},decls:10,vars:1,consts:[["href","https://www.apache.org/licenses/LICENSE-2.0"],["href","http://creativecommons.org/licenses/by/4.0/"]],template:function(t,e){1&t&&(i.TgZ(0,"p"),i._uU(1," \u4ee3\u7801\u6388\u6743\u65b9\u5f0f\uff1a"),i.TgZ(2,"a",0),i._uU(3,"Apache-2.0 License"),i.qZA(),i._uU(4,"\u6587\u6863\u6388\u6743\u65b9\u5f0f\uff1a "),i.TgZ(5,"a",1),i._uU(6,"CC BY 4.0"),i.qZA(),i._uU(7,".\n"),i.qZA(),i.TgZ(8,"p"),i._uU(9),i.qZA()),2&t&&(i.xp6(9),i.hij("\u5f53\u524d\u7248\u672c ",null==e.versionInfo?null:e.versionInfo.full,"\u3002"))},encapsulation:2}),t})();function me(t,e){if(1&t&&(i.TgZ(0,"li"),i.TgZ(1,"a",2),i._uU(2),i.qZA(),i.qZA()),2&t){const t=e.$implicit;i.xp6(1),i.Q6J("href",t.url,i.LSH)("title",t.title),i.xp6(1),i.Oqu(t.title)}}let ge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-top-menu"]],inputs:{nodes:"nodes"},decls:2,vars:1,consts:[["role","navigation"],[4,"ngFor","ngForOf"],[1,"nav-link",3,"href","title"]],template:function(t,e){1&t&&(i.TgZ(0,"ul",0),i.YNc(1,me,3,3,"li",1),i.qZA()),2&t&&(i.xp6(1),i.Q6J("ngForOf",e.nodes))},directives:[c.sg],encapsulation:2}),t})();var ye=n(10026);const _e=["dt"];function ve(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div"),i._UZ(1,"hr"),i._UZ(2,"textarea",1,2),i._UZ(4,"br"),i.TgZ(5,"button",3),i.NdJ("click",function(){return i.CHM(t),i.oxw().dtextSet()}),i._uU(6,"Show change"),i.qZA(),i.qZA()}if(2&t){const t=i.oxw();i.xp6(2),i.Q6J("value",t.text)}}let be=(()=>{class t{constructor(){this.on=!1,this.docChange=new i.vpe}get text(){return this.doc&&this.doc.contents}dtextSet(){this.doc.contents=this.dt.nativeElement.value,this.docChange.emit(Object.assign({},this.doc))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-dt"]],viewQuery:function(t,e){if(1&t&&i.Gf(_e,5,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.dt=t.first)}},inputs:{on:"on",doc:"doc"},outputs:{docChange:"docChange"},decls:1,vars:1,consts:[[4,"ngIf"],["rows","10","cols","80",3,"value"],["dt",""],[3,"click"]],template:function(t,e){1&t&&i.YNc(0,ve,7,1,"div",0),2&t&&i.Q6J("ngIf",e.on)},directives:[c.O5],encapsulation:2}),t})(),we=(()=>{class t{constructor(t,e,n){this.elementRef=t,this.elementsLoader=e,this.logger=n,this.selector=""}ngOnInit(){this.selector&&!/[^\w-]/.test(this.selector)?(this.elementRef.nativeElement.innerHTML=`<${this.selector}></${this.selector}>`,this.elementsLoader.loadCustomElement(this.selector)):this.logger.error(new Error(`Invalid selector for 'aio-lazy-ce': ${this.selector}`))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(ue),i.Y36(Jt.Y))},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-lazy-ce"]],inputs:{selector:"selector"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})();const Se=["searchBox","searchResultsView"];function Ee(t,e){1&t&&(i.TgZ(0,"div",32),i._UZ(1,"mat-progress-bar",33),i.qZA())}function Ce(t,e){1&t&&i._UZ(0,"img",34)}function xe(t,e){1&t&&i._UZ(0,"img",35)}function Te(t,e){if(1&t&&i._UZ(0,"aio-top-menu",36),2&t){const t=i.oxw();i.Q6J("nodes",t.topMenuNodes)}}function ke(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"aio-search-results",37,38),i.NdJ("resultSelected",function(){return i.CHM(t),i.oxw().hideSearchResults()}),i.ALo(2,"async"),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("searchResults",i.lcZ(2,1,t.searchResults))}}function Ie(t,e){if(1&t&&i._UZ(0,"aio-nav-menu",22),2&t){const t=i.oxw();i.Q6J("nodes",t.topMenuNarrowNodes)("currentNode",null==t.currentNodes?null:t.currentNodes.TopBarNarrow)("isWide",!1)}}function Ae(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"aio-dt",39),i.NdJ("docChange",function(e){return i.CHM(t),i.oxw().currentDocument=e}),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("doc",t.currentDocument)}}function Fe(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",40),i.NdJ("mousewheel",function(e){return i.CHM(t),i.oxw().restrainScrolling(e)}),i._UZ(1,"aio-lazy-ce",41),i.qZA()}if(2&t){const t=i.oxw();i.Udp("max-height",t.tocMaxHeight,"px")}}const Oe=function(t){return{collapsed:t}};let Re=(()=>{class t{constructor(t,e,n,r,i,s,o,a,c){this.deployment=t,this.documentService=e,this.hostElement=n,this.locationService=r,this.navigationService=i,this.scrollService=s,this.searchService=o,this.tocService=a,this.dom=c,this.currentNodes={},this.dtOn=!1,this.hostClasses="",this.isStarting=!0,this.isTransitioning=!0,this.isFetching=!1,this.isSideBySide=!1,this.isSideNavDoc=!1,this.sideBySideWidth=992,this.hasFloatingToc=!1,this.showFloatingToc=new vt.X(!1),this.showFloatingTocWidth=800,this.tocMaxHeightOffset=0,this.showSearchResults=!1,this.notificationAnimating=!1}get isOpened(){return this.isSideBySide&&this.isSideNavDoc}get mode(){return this.isSideBySide?"side":"over"}ngOnInit(){"Worker"in window&&this.searchService.initWorker("app/search/search-worker.js",2e3),this.onResize(window.innerWidth),this.documentService.currentDocument.subscribe(t=>this.currentDocument=t),this.locationService.currentPath.subscribe(t=>{t===this.currentPath?this.scrollService.scroll():(this.currentPath=t,clearTimeout(this.isFetchingTimeout),this.isFetchingTimeout=setTimeout(()=>this.isFetching=!0,200))}),this.navigationService.currentNodes.subscribe(t=>{this.currentNodes=t}),(0,bt.a)(this.navigationService.versionInfo,this.navigationService.navigationViews.pipe((0,I.U)(t=>t.docVersions))).subscribe(([t,e])=>{this.docVersions=[...e],this.currentDocVersion=this.docVersions.find(e=>e.title===this.deployment.mode||e.title===`v${t.major}`),this.currentDocVersion.title+=` (v${t.raw})`}),this.navigationService.navigationViews.subscribe(t=>{this.footerNodes=t.Footer||[],this.sideNavNodes=t.SideNav||[],this.topMenuNodes=t.TopBar||[],this.topMenuNarrowNodes=t.TopBarNarrow||this.topMenuNodes}),this.navigationService.versionInfo.subscribe(t=>this.versionInfo=t);const t=this.tocService.tocList.pipe((0,I.U)(t=>t.length>0));(0,bt.a)(t,this.showFloatingToc).subscribe(([t,e])=>this.hasFloatingToc=t&&e),(0,bt.a)(this.documentService.currentDocument,this.navigationService.currentNodes).pipe((0,wt.P)()).subscribe(()=>this.updateShell())}onDocReady(){this.isTransitioning=!0,clearTimeout(this.isFetchingTimeout),setTimeout(()=>this.isFetching=!1,500)}onDocRemoved(){this.scrollService.removeStoredScrollPosition()}onDocInserted(){setTimeout(()=>this.updateShell()),this.scrollService.scrollAfterRender(500)}onDocRendered(){this.isStarting&&setTimeout(()=>this.isStarting=!1,100);const t=this.dom.getElementsByTagName("head")[0];let e=this.dom.querySelector("link[rel='canonical']")||null;null===e&&(e=this.dom.createElement("link"),t.appendChild(e)),e.setAttribute("rel","canonical"),e.setAttribute("href",`https://rxjs.dev/${this.currentPath}`),this.isTransitioning=!1}onDocVersionChange(t){const e=this.docVersions[t];e.url&&this.locationService.go(e.url)}onResize(t){this.isSideBySide=t>=this.sideBySideWidth,this.showFloatingToc.next(t>this.showFloatingTocWidth),this.isSideBySide&&!this.isSideNavDoc&&this.sidenav.toggle(!1)}onClick(t,e,n,r,i){if(this.searchElements.some(e=>e.nativeElement.contains(t))||this.hideSearchResults(),"FOOTER"===t.tagName&&r&&i)return this.dtOn=!this.dtOn,!1;let s=t;for(;s&&!(s instanceof HTMLAnchorElement);)s=s.parentElement;return!(s instanceof HTMLAnchorElement)||this.locationService.handleAnchorClick(s,e,n,r)}setPageId(t){this.pageId="index"===t?"home":t.replace("/","-")}setFolderId(t){this.folderId="index"===t?"home":t.split("/",1)[0]}notificationDismissed(){this.notificationAnimating=!0,setTimeout(()=>this.notificationAnimating=!1,250),this.updateHostClasses()}updateHostClasses(){const t=`mode-${this.deployment.mode}`,e="sidenav-"+(this.sidenav.opened?"open":"closed"),n=`page-${this.pageId}`,r=`folder-${this.folderId}`,i=Object.keys(this.currentNodes).map(t=>`view-${t}`).join(" ");this.hostClasses=[t,e,n,r,i,`aio-notification-${this.notification.showNotification}`,this.notificationAnimating?"aio-notification-animating":""].join(" ")}updateShell(){this.updateSideNav(),this.setPageId(this.currentDocument.id),this.setFolderId(this.currentDocument.id),this.updateHostClasses()}updateSideNav(){let t=this.sidenav.opened;const e=!!this.currentNodes.SideNav;this.isSideNavDoc!==e&&(t=this.isSideNavDoc=e),this.sidenav.toggle(this.isSideBySide&&t)}onScroll(){if(!this.tocMaxHeightOffset){const t=this.hostElement.nativeElement,e=t.querySelector(".app-toolbar"),n=t.querySelector("footer");e&&n&&(this.tocMaxHeightOffset=e.clientHeight+n.clientHeight+24)}this.tocMaxHeight=(document.body.scrollHeight-window.pageYOffset-this.tocMaxHeightOffset).toFixed(2)}restrainScrolling(t){const e=t.currentTarget,n=e.scrollTop;t.deltaY<0?n<1&&t.preventDefault():e.scrollHeight-e.clientHeight-n<1&&t.preventDefault()}hideSearchResults(){this.showSearchResults=!1;const t=this.locationService.search();void 0!==t.search&&this.locationService.setSearch("",Object.assign(Object.assign({},t),{search:void 0}))}focusSearchBox(){this.searchBox&&this.searchBox.focus()}doSearch(t){this.searchResults=this.searchService.search(t),this.showSearchResults=!!t}onKeyUp(t,e){("/"===t||191===e)&&this.focusSearchBox(),("Escape"===t||27===e)&&this.showSearchResults&&(this.hideSearchResults(),this.focusSearchBox())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Et),i.Y36(Ct.Zg),i.Y36(i.SBq),i.Y36(gt.a),i.Y36(It),i.Y36(At.a),i.Y36(Ft.o),i.Y36(Ot.I),i.Y36(c.K0))},t.\u0275cmp=i.Xpm({type:t,selectors:[["aio-shell"]],viewQuery:function(t,e){if(1&t&&(i.Gf(_t,7),i.Gf(et,7),i.Gf(mt,7),i.Gf(Se,5,i.SBq)),2&t){let t;i.iGM(t=i.CRH())&&(e.searchBox=t.first),i.iGM(t=i.CRH())&&(e.sidenav=t.first),i.iGM(t=i.CRH())&&(e.notification=t.first),i.iGM(t=i.CRH())&&(e.searchElements=t)}},hostVars:3,hostBindings:function(t,e){1&t&&i.NdJ("resize",function(t){return e.onResize(t.target.innerWidth)},!1,i.Jf7)("click",function(t){return e.onClick(t.target,t.button,t.ctrlKey,t.metaKey,t.altKey)})("scroll",function(){return e.onScroll()},!1,i.Jf7)("keyup",function(t){return e.onKeyUp(t.key,t.which)},!1,i.evT),2&t&&(i.d8E("@.disabled",e.isStarting),i.Tol(e.hostClasses))},decls:34,vars:35,consts:[["id","top-of-page"],["class","progress-bar-container",4,"ngIf"],["color","primary",1,"app-toolbar","no-print"],[1,"notification-container"],["notificationId","blm-2020","expirationDate","2022-04-15",3,"dismissOnContentClick","dismissed"],["href","/blackLivesMatter"],["mat-button","","title","Docs menu",1,"hamburger",3,"click"],["svgIcon","menu"],["href","/",1,"nav-link","home",3,"ngSwitch"],["src","assets/images/logos/logo.png","width","150","height","40","title","Home","alt","Home",4,"ngSwitchCase"],["src","assets/images/logos/Rx_Logo_S.png","width","37","height","40","title","Home","alt","Home",4,"ngSwitchDefault"],[3,"nodes",4,"ngIf"],[1,"search-container",3,"onSearch","onFocus"],["searchBox",""],[1,"toolbar-external-icons-container"],["href","https://github.com/ReactiveX/rxjs","title","GitHub","target","_blank"],["src","assets/images/logos/github-icon.svg","alt","View on GitHub"],[3,"searchResults","resultSelected",4,"ngIf"],[1,"sidenav-container"],[1,"sidenav",3,"ngClass","mode","opened","openedChange"],["sidenav",""],[3,"nodes","currentNode","isWide",4,"ngIf"],[3,"nodes","currentNode","isWide"],[1,"doc-version"],[3,"options","selected","change"],["role","main",1,"sidenav-content",3,"id"],[3,"mode","version"],[3,"doc","docReady","docRemoved","docInserted","docRendered"],[3,"doc","docChange",4,"ngIf"],["class","toc-container no-print",3,"max-height","mousewheel",4,"ngIf"],[1,"no-print"],[3,"nodes","versionInfo"],[1,"progress-bar-container"],["mode","indeterminate","color","warn"],["src","assets/images/logos/logo.png","width","150","height","40","title","Home","alt","Home"],["src","assets/images/logos/Rx_Logo_S.png","width","37","height","40","title","Home","alt","Home"],[3,"nodes"],[3,"searchResults","resultSelected"],["searchResultsView",""],[3,"doc","docChange"],[1,"toc-container","no-print",3,"mousewheel"],["selector","aio-toc"]],template:function(t,e){if(1&t){const t=i.EpF();i._UZ(0,"div",0),i.YNc(1,Ee,2,0,"div",1),i.TgZ(2,"mat-toolbar",2),i.TgZ(3,"mat-toolbar-row",3),i.TgZ(4,"aio-notification",4),i.NdJ("dismissed",function(){return e.notificationDismissed()}),i.TgZ(5,"a",5),i._uU(6,"#BlackLivesMatter"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(7,"mat-toolbar-row"),i.TgZ(8,"button",6),i.NdJ("click",function(){return i.CHM(t),i.MAs(22).toggle()}),i._UZ(9,"mat-icon",7),i.qZA(),i.TgZ(10,"a",8),i.YNc(11,Ce,1,0,"img",9),i.YNc(12,xe,1,0,"img",10),i.qZA(),i.YNc(13,Te,1,1,"aio-top-menu",11),i.TgZ(14,"aio-search-box",12,13),i.NdJ("onSearch",function(t){return e.doSearch(t)})("onFocus",function(t){return e.doSearch(t)}),i.qZA(),i.TgZ(16,"div",14),i.TgZ(17,"a",15),i._UZ(18,"img",16),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.YNc(19,ke,3,3,"aio-search-results",17),i.TgZ(20,"mat-sidenav-container",18),i.TgZ(21,"mat-sidenav",19,20),i.NdJ("openedChange",function(){return e.updateHostClasses()}),i.YNc(23,Ie,1,3,"aio-nav-menu",21),i._UZ(24,"aio-nav-menu",22),i.TgZ(25,"div",23),i.TgZ(26,"aio-select",24),i.NdJ("change",function(t){return e.onDocVersionChange(t.index)}),i.qZA(),i.qZA(),i.qZA(),i.TgZ(27,"section",25),i._UZ(28,"aio-mode-banner",26),i.TgZ(29,"aio-doc-viewer",27),i.NdJ("docReady",function(){return e.onDocReady()})("docRemoved",function(){return e.onDocRemoved()})("docInserted",function(){return e.onDocInserted()})("docRendered",function(){return e.onDocRendered()}),i.qZA(),i.YNc(30,Ae,1,1,"aio-dt",28),i.qZA(),i.qZA(),i.YNc(31,Fe,2,2,"div",29),i.TgZ(32,"footer",30),i._UZ(33,"aio-footer",31),i.qZA()}2&t&&(i.xp6(1),i.Q6J("ngIf",e.isFetching),i.xp6(1),i.ekj("transitioning",e.isTransitioning),i.xp6(2),i.Q6J("dismissOnContentClick",!1),i.xp6(4),i.ekj("starting",e.isStarting),i.xp6(2),i.Q6J("ngSwitch",e.isSideBySide),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(2),i.Q6J("ngIf",e.isSideBySide),i.xp6(6),i.Q6J("ngIf",e.showSearchResults),i.xp6(1),i.ekj("starting",e.isStarting)("has-floating-toc",e.hasFloatingToc),i.xp6(1),i.Q6J("ngClass",i.VKq(33,Oe,!e.isSideBySide))("mode",e.mode)("opened",e.isOpened),i.xp6(2),i.Q6J("ngIf",!e.isSideBySide),i.xp6(1),i.Q6J("nodes",e.sideNavNodes)("currentNode",null==e.currentNodes?null:e.currentNodes.SideNav)("isWide",e.isSideBySide),i.xp6(2),i.Q6J("options",e.docVersions)("selected",e.currentDocVersion),i.xp6(1),i.Q6J("id",e.pageId),i.xp6(1),i.Q6J("mode",e.deployment.mode)("version",e.versionInfo),i.xp6(1),i.ekj("no-animations",e.isStarting),i.Q6J("doc",e.currentDocument),i.xp6(1),i.Q6J("ngIf",e.dtOn),i.xp6(1),i.Q6J("ngIf",e.hasFloatingToc),i.xp6(2),i.Q6J("nodes",e.footerNodes)("versionInfo",e.versionInfo))},directives:[c.O5,ct,at,mt,l.lW,u.Hw,c.RF,c.n9,c.ED,_t,nt,et,c.mk,Bt,Ht.H,zt,fe,pe,b,ge,ye.G,be,we],pipes:[c.Ov],encapsulation:2}),t})();const Ne=new i.OlP("SvgIcons");let Le=(()=>{class t extends u.jv{constructor(t,e,n,r,i){super(t,e,n,i),this.preloadedSvgElements={},this.loadSvgElements(r)}getNamedSvgIcon(t,e){return this.preloadedSvgElements[t]?(0,qt.of)(this.preloadedSvgElements[t].cloneNode(!0)):super.getNamedSvgIcon(t,e)}loadSvgElements(t){const e=document.createElement("DIV");t.forEach(t=>{e.innerHTML=t.svgSource,this.preloadedSvgElements[t.name]=e.querySelector("svg")})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.eN),i.LFG(r.H7),i.LFG(c.K0,8),i.LFG(Ne),i.LFG(i.qLn))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var De=n(63964);let Pe=(()=>{class t extends i.qLn{constructor(t){super(),this.window=t}handleError(t){try{super.handleError(t)}catch(e){this.reportError(e)}this.reportError(t)}reportError(t){null!==this.window&&null!==this.window.onerror&&("string"==typeof t?this.window.onerror(t):this.window.onerror(t.message,void 0,void 0,void 0,t))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(dt.R))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();var Me=n(94727);n(56426),n(76323),n(69877),n(66367),n(82921),n(95051),n(3786),n(99156),n(62012),n(77722),n(49616),n(88169),n(67465),n(87091);const je=new i.OlP("ROUTES");let Be=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[ue,{provide:te,useValue:ee},{provide:je,useValue:Xt,multi:!0}]}),t})();var He=n(44466),Ve=n(53942);let ze=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[Ve.a]}),t})();const qe=[{provide:Ne,useValue:{name:"close",svgSource:'<svg fill="#ffffff" focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" /><path d="M0 0h24v24H0z" fill="none" /></svg>'},multi:!0},{provide:Ne,useValue:{name:"error_outline",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0V0z" fill="none" /><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" /></svg>'},multi:!0},{provide:Ne,useValue:{name:"insert_comment",svgSource:'<svg fill="#ffffff" focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z" /><path d="M0 0h24v24H0z" fill="none" /></svg>'},multi:!0},{provide:Ne,useValue:{name:"keyboard_arrow_right",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z" /></svg>'},multi:!0},{provide:Ne,useValue:{name:"menu",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" /></svg>'},multi:!0}];let Ze=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t,bootstrap:[Re]}),t.\u0275inj=i.cJS({providers:[Et,Ct.Zg,{provide:i.qLn,useClass:Pe},De.O,Jt.Y,c.Ye,{provide:c.S$,useClass:c.b0},gt.a,{provide:u.jv,useClass:Le},It,At.a,Me.f_,Ft.o,qe,Ot.I,{provide:ut,useFactory:ht},{provide:dt.R,useFactory:dt.s}],imports:[[r.b2,o.PW,Be,s.JF,l.ot,u.Ps,S,rt,lt,ze,He.m,a.Wr.register("/ngsw-worker.js",{enabled:St.N.production})]]}),t})();St.N.production&&(0,i.G48)(),r.q6().bootstrapModule(Ze)},45511:function(t,e,n){n(90060),n(33878),n(47153),n(53129),n(73785),n(53038),n(90072),n(47761),n(54007),n(74428),n(92609),n(19325),n(50379),n(56982);var r=n(53451);t.exports=r.Reflect},91813:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},32361:function(t,e,n){var r=n(15522);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},50852:function(t,e,n){var r=n(15522);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},86075:function(t,e,n){var r=n(35417),i=n(79122),s=n(33698),o=function(t){return function(e,n,o){var a,c=r(e),l=i(c.length),u=s(o,l);if(t&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},26280:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},54048:function(t,e,n){var r=n(40494),i=n(28809),s=n(22576),o=n(69497);t.exports=function(t,e){for(var n=i(e),a=o.f,c=s.f,l=0;l<n.length;l++){var u=n[l];r(t,u)||a(t,u,c(e,u))}}},80592:function(t,e,n){var r=n(59092);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},9772:function(t,e,n){var r=n(21929),i=n(69497),s=n(26850);t.exports=r?function(t,e,n){return i.f(t,e,s(1,n))}:function(t,e,n){return t[e]=n,t}},26850:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},21929:function(t,e,n){var r=n(59092);t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},62350:function(t,e,n){var r=n(33652),i=n(15522),s=r.document,o=i(s)&&i(s.createElement);t.exports=function(t){return o?s.createElement(t):{}}},79701:function(t,e,n){var r=n(26280),i=n(33652);t.exports="process"==r(i.process)},80602:function(t,e,n){var r=n(27719);t.exports=r("navigator","userAgent")||""},37028:function(t,e,n){var r,i,s=n(33652),o=n(80602),a=s.process,c=a&&a.versions,l=c&&c.v8;l?i=(r=l.split("."))[0]+r[1]:o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},57670:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},31026:function(t,e,n){var r=n(33652),i=n(22576).f,s=n(9772),o=n(65406),a=n(32564),c=n(54048),l=n(3482);t.exports=function(t,e){var n,u,h,d,f,p=t.target,m=t.global,g=t.stat;if(n=m?r:g?r[p]||a(p,{}):(r[p]||{}).prototype)for(u in e){if(d=e[u],h=t.noTargetGet?(f=i(n,u))&&f.value:n[u],!l(m?u:p+(g?".":"#")+u,t.forced)&&void 0!==h){if(typeof d==typeof h)continue;c(d,h)}(t.sham||h&&h.sham)&&s(d,"sham",!0),o(n,u,d,t)}}},59092:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},79526:function(t,e,n){var r=n(59092);t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},95831:function(t,e,n){"use strict";var r=n(91813),i=n(15522),s=[].slice,o={},a=function(t,e,n){if(!(e in o)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";o[e]=Function("C,a","return new C("+r.join(",")+")")}return o[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),o=function(){var r=n.concat(s.call(arguments));return this instanceof o?a(e,r.length,r):e.apply(t,r)};return i(e.prototype)&&(o.prototype=e.prototype),o}},27719:function(t,e,n){var r=n(53451),i=n(33652),s=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?s(r[t])||s(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},33652:function(t){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||function(){return this}()||Function("return this")()},40494:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},24367:function(t){t.exports={}},59888:function(t,e,n){var r=n(27719);t.exports=r("document","documentElement")},87561:function(t,e,n){var r=n(21929),i=n(59092),s=n(62350);t.exports=!r&&!i(function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},97268:function(t,e,n){var r=n(59092),i=n(26280),s="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==i(t)?s.call(t,""):Object(t)}:Object},29177:function(t,e,n){var r=n(25288),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},47218:function(t,e,n){var r,i,s,o=n(50510),a=n(33652),c=n(15522),l=n(9772),u=n(40494),h=n(25288),d=n(64215),f=n(24367);if(o){var p=h.state||(h.state=new(0,a.WeakMap)),m=p.get,g=p.has,y=p.set;r=function(t,e){return e.facade=t,y.call(p,t,e),e},i=function(t){return m.call(p,t)||{}},s=function(t){return g.call(p,t)}}else{var _=d("state");f[_]=!0,r=function(t,e){return e.facade=t,l(t,_,e),e},i=function(t){return u(t,_)?t[_]:{}},s=function(t){return u(t,_)}}t.exports={set:r,get:i,has:s,enforce:function(t){return s(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},3482:function(t,e,n){var r=n(59092),i=/#|\.prototype\./,s=function(t,e){var n=a[o(t)];return n==l||n!=c&&("function"==typeof e?r(e):!!e)},o=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=s.data={},c=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},15522:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},18851:function(t){t.exports=!1},49703:function(t,e,n){var r=n(79701),i=n(37028),s=n(59092);t.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!Symbol.sham&&(r?38===i:i>37&&i<41)})},50510:function(t,e,n){var r=n(33652),i=n(29177),s=r.WeakMap;t.exports="function"==typeof s&&/native code/.test(i(s))},24613:function(t,e,n){var r,i=n(50852),s=n(75174),o=n(57670),a=n(24367),c=n(59888),l=n(62350),u=n(64215),h="prototype",d="script",f=u("IE_PROTO"),p=function(){},m=function(t){return"<"+d+">"+t+"</"+d+">"},g=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}g=r?function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):function(){var t,e=l("iframe");return e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F}();for(var t=o.length;t--;)delete g[h][o[t]];return g()};a[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p[h]=i(t),n=new p,p[h]=null,n[f]=t):n=g(),void 0===e?n:s(n,e)}},75174:function(t,e,n){var r=n(21929),i=n(69497),s=n(50852),o=n(35144);t.exports=r?Object.defineProperties:function(t,e){s(t);for(var n,r=o(e),a=r.length,c=0;a>c;)i.f(t,n=r[c++],e[n]);return t}},69497:function(t,e,n){var r=n(21929),i=n(87561),s=n(50852),o=n(16584),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(s(t),e=o(e,!0),s(n),i)try{return a(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},22576:function(t,e,n){var r=n(21929),i=n(48631),s=n(26850),o=n(35417),a=n(16584),c=n(40494),l=n(87561),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(t,e){if(t=o(t),e=a(e,!0),l)try{return u(t,e)}catch(n){}if(c(t,e))return s(!i.f.call(t,e),t[e])}},36728:function(t,e,n){var r=n(89865),i=n(57670).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},26191:function(t,e){e.f=Object.getOwnPropertySymbols},48736:function(t,e,n){var r=n(40494),i=n(64178),s=n(64215),o=n(80592),a=s("IE_PROTO"),c=Object.prototype;t.exports=o?Object.getPrototypeOf:function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},89865:function(t,e,n){var r=n(40494),i=n(35417),s=n(86075).indexOf,o=n(24367);t.exports=function(t,e){var n,a=i(t),c=0,l=[];for(n in a)!r(o,n)&&r(a,n)&&l.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~s(l,n)||l.push(n));return l}},35144:function(t,e,n){var r=n(89865),i=n(57670);t.exports=Object.keys||function(t){return r(t,i)}},48631:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},88628:function(t,e,n){var r=n(50852),i=n(32361);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(s){}return function(n,s){return r(n),i(s),e?t.call(n,s):n.__proto__=s,n}}():void 0)},28809:function(t,e,n){var r=n(27719),i=n(36728),s=n(26191),o=n(50852);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(o(t)),n=s.f;return n?e.concat(n(t)):e}},53451:function(t,e,n){var r=n(33652);t.exports=r},65406:function(t,e,n){var r=n(33652),i=n(9772),s=n(40494),o=n(32564),a=n(29177),c=n(47218),l=c.get,u=c.enforce,h=String(String).split("String");(t.exports=function(t,e,n,a){var c,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"==typeof e&&!s(n,"name")&&i(n,"name",e),(c=u(n)).source||(c.source=h.join("string"==typeof e?e:""))),t!==r?(l?!f&&t[e]&&(d=!0):delete t[e],d?t[e]=n:i(t,e,n)):d?t[e]=n:o(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&l(this).source||a(this)})},95879:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},32564:function(t,e,n){var r=n(33652),i=n(9772);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},85876:function(t,e,n){var r=n(69497).f,i=n(40494),s=n(63708)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,s)&&r(t,s,{configurable:!0,value:e})}},64215:function(t,e,n){var r=n(41338),i=n(94095),s=r("keys");t.exports=function(t){return s[t]||(s[t]=i(t))}},25288:function(t,e,n){var r=n(33652),i=n(32564),s="__core-js_shared__",o=r[s]||i(s,{});t.exports=o},41338:function(t,e,n){var r=n(18851),i=n(25288);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},33698:function(t,e,n){var r=n(29510),i=Math.max,s=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):s(n,e)}},35417:function(t,e,n){var r=n(97268),i=n(95879);t.exports=function(t){return r(i(t))}},29510:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},79122:function(t,e,n){var r=n(29510),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},64178:function(t,e,n){var r=n(95879);t.exports=function(t){return Object(r(t))}},16584:function(t,e,n){var r=n(15522);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t))||"function"==typeof(n=t.valueOf)&&!r(i=n.call(t))||!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},94095:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},27784:function(t,e,n){var r=n(49703);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},63708:function(t,e,n){var r=n(33652),i=n(41338),s=n(40494),o=n(94095),a=n(49703),c=n(27784),l=i("wks"),u=r.Symbol,h=c?u:u&&u.withoutSetter||o;t.exports=function(t){return(!s(l,t)||!(a||"string"==typeof l[t]))&&(l[t]=a&&s(u,t)?u[t]:h("Symbol."+t)),l[t]}},90060:function(t,e,n){var r=n(31026),i=n(27719),s=n(91813),o=n(50852),a=n(59092),c=i("Reflect","apply"),l=Function.apply;r({target:"Reflect",stat:!0,forced:!a(function(){c(function(){})})},{apply:function(t,e,n){return s(t),o(n),c?c(t,e,n):l.call(t,e,n)}})},33878:function(t,e,n){var r=n(31026),i=n(27719),s=n(91813),o=n(50852),a=n(15522),c=n(24613),l=n(95831),u=n(59092),h=i("Reflect","construct"),d=u(function(){function t(){}return!(h(function(){},[],t)instanceof t)}),f=!u(function(){h(function(){})}),p=d||f;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(t,e){s(t),o(e);var n=arguments.length<3?t:s(arguments[2]);if(f&&!d)return h(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(l.apply(t,r))}var i=n.prototype,u=c(a(i)?i:Object.prototype),p=Function.apply.call(t,u,e);return a(p)?p:u}})},47153:function(t,e,n){var r=n(31026),i=n(21929),s=n(50852),o=n(16584),a=n(69497);r({target:"Reflect",stat:!0,forced:n(59092)(function(){Reflect.defineProperty(a.f({},1,{value:1}),1,{value:2})}),sham:!i},{defineProperty:function(t,e,n){s(t);var r=o(e,!0);s(n);try{return a.f(t,r,n),!0}catch(i){return!1}}})},53129:function(t,e,n){var r=n(31026),i=n(50852),s=n(22576).f;r({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=s(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},53038:function(t,e,n){var r=n(31026),i=n(21929),s=n(50852),o=n(22576);r({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(t,e){return o.f(s(t),e)}})},90072:function(t,e,n){var r=n(31026),i=n(50852),s=n(48736);r({target:"Reflect",stat:!0,sham:!n(80592)},{getPrototypeOf:function(t){return s(i(t))}})},73785:function(t,e,n){var r=n(31026),i=n(15522),s=n(50852),o=n(40494),a=n(22576),c=n(48736);r({target:"Reflect",stat:!0},{get:function t(e,n){var r,l,u=arguments.length<3?e:arguments[2];return s(e)===u?e[n]:(r=a.f(e,n))?o(r,"value")?r.value:void 0===r.get?void 0:r.get.call(u):i(l=c(e))?t(l,n,u):void 0}})},47761:function(t,e,n){n(31026)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},54007:function(t,e,n){var r=n(31026),i=n(50852),s=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(t){return i(t),!s||s(t)}})},74428:function(t,e,n){n(31026)({target:"Reflect",stat:!0},{ownKeys:n(28809)})},92609:function(t,e,n){var r=n(31026),i=n(27719),s=n(50852);r({target:"Reflect",stat:!0,sham:!n(79526)},{preventExtensions:function(t){s(t);try{var e=i("Object","preventExtensions");return e&&e(t),!0}catch(n){return!1}}})},50379:function(t,e,n){var r=n(31026),i=n(50852),s=n(32361),o=n(88628);o&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){i(t),s(e);try{return o(t,e),!0}catch(n){return!1}}})},19325:function(t,e,n){var r=n(31026),i=n(50852),s=n(15522),o=n(40494),a=n(59092),c=n(69497),l=n(22576),u=n(48736),h=n(26850);r({target:"Reflect",stat:!0,forced:a(function(){var t=function(){},e=c.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)})},{set:function t(e,n,r){var a,d,f=arguments.length<4?e:arguments[3],p=l.f(i(e),n);if(!p){if(s(d=u(e)))return t(d,n,r,f);p=h(0)}if(o(p,"value")){if(!1===p.writable||!s(f))return!1;if(a=l.f(f,n)){if(a.get||a.set||!1===a.writable)return!1;a.value=r,c.f(f,n,a)}else c.f(f,n,h(0,r));return!0}return void 0!==p.set&&(p.set.call(f,r),!0)}})},56982:function(t,e,n){var r=n(31026),i=n(33652),s=n(85876);r({global:!0},{Reflect:{}}),s(i.Reflect,"Reflect",!0)},3786:function(t,e,n){"use strict";n.d(e,{ZT:function(){return i},mG:function(){return s},Jh:function(){return o},XA:function(){return a},CR:function(){return c},ev:function(){return l},qq:function(){return u},FC:function(){return h},KL:function(){return d}});var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function s(t,e,n,r){return new(n||(n=Promise))(function(i,s){function o(t){try{c(r.next(t))}catch(e){s(e)}}function a(t){try{c(r.throw(t))}catch(e){s(e)}}function c(t){t.done?i(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(o,a)}c((r=r.apply(t,e||[])).next())})}function o(t,e){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(a){s=[6,a],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}}function a(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,s=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o}function l(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t}function u(t){return this instanceof u?(this.v=t,this):new u(t)}function h(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),s=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){s.push([t,e,n,r])>1||a(t,e)})})}function a(t,e){try{!function(t){t.value instanceof u?Promise.resolve(t.value.v).then(c,l):h(s[0][2],t)}(i[t](e))}catch(n){h(s[0][3],n)}}function c(t){a("next",t)}function l(t){a("throw",t)}function h(t,e){t(e),s.shift(),s.length&&a(s[0][0],s[0][1])}}function d(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=a(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,i,(e=t[n](e)).done,e.value)})}}}}},function(t){t(t.s=99449)}]);
//# sourceMappingURL=main-es2015.09564362fc0babf6f550.js.map