b-url.it Open in urlscan Pro
81.88.53.19  Public Scan

URL: https://b-url.it/client/main-es2015.1035b1c7ce08794b31b0.js
Submission: On August 29 via api from US — Scanned from IT

Form analysis 0 forms found in the DOM

Text Content

(self.webpackChunkclient=self.webpackChunkclient||[]).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},99713:function(t,e,n){"use strict";n.d(e,{l3:function(){return s},_j:function(){return i},LC:function(){return r},ZN:function(){return g},jt:function(){return a},pV:function(){return p},F4:function(){return h},IO:function(){return f},vP:function(){return l},SB:function(){return u},oB:function(){return c},eR:function(){return d},X$:function(){return o},ZE:function(){return _},k1:function(){return b}});class i{}class r{}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 l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function d(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&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 b="!"},97388:function(t,e,n){"use strict";n.d(e,{rt:function(){return Y},s1:function(){return A},$s:function(){return w},Qr:function(){return L},kH:function(){return j},mK:function(){return P},Em:function(){return E},tE:function(){return q},qV:function(){return D},qm:function(){return $},Kd:function(){return R},X6:function(){return Z},yG:function(){return N}});var i=n(61116),r=n(35366),s=n(55959),o=n(87570),a=n(40878),l=n(99235),c=n(66599),u=n(47701),h=n(43835),d=n(79996),p=n(90611),f=n(19861),m=n(93169),g=n(27853);function _(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let b=0;const v=new Map;let y=null,w=(()=>{class t{constructor(t){this._document=t}describe(t,e,n){if(!this._canBeDescribed(t,e))return;const i=x(e,n);"string"!=typeof e?(C(e),v.set(i,{messageElement:e,referenceCount:0})):v.has(i)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,e,n){if(!e||!this._isElementNode(t))return;const i=x(e,n);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){const t=v.get(i);t&&0===t.referenceCount&&this._deleteMessageElement(i)}y&&0===y.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute("cdk-describedby-host");y&&this._deleteMessagesContainer(),v.clear()}_createMessageElement(t,e){const n=this._document.createElement("div");C(n),n.textContent=t,e&&n.setAttribute("role",e),this._createMessagesContainer(),y.appendChild(n),v.set(x(t,e),{messageElement:n,referenceCount:0})}_deleteMessageElement(t){const e=v.get(t),n=e&&e.messageElement;y&&n&&y.removeChild(n),v.delete(t)}_createMessagesContainer(){if(!y){const t=this._document.getElementById("cdk-describedby-message-container");t&&t.parentNode&&t.parentNode.removeChild(t),y=this._document.createElement("div"),y.id="cdk-describedby-message-container",y.style.visibility="hidden",y.classList.add("cdk-visually-hidden"),this._document.body.appendChild(y)}}_deleteMessagesContainer(){y&&y.parentNode&&(y.parentNode.removeChild(y),y=null)}_removeCdkDescribedByReferenceIds(t){const e=_(t,"aria-describedby").filter(t=>0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=v.get(e);!function(t,e,n){const i=_(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))}(t,"aria-describedby",n.messageElement.id),t.setAttribute("cdk-describedby-host",""),n.referenceCount++}_removeMessageReference(t,e){const n=v.get(e);n.referenceCount--,function(t,e,n){const i=_(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const n=_(t,"aria-describedby"),i=v.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":`${e}`.trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(i.K0))},token:t,providedIn:"root"}),t})();function x(t,e){return"string"==typeof t?`${e||""}/${t}`:t}function C(t){t.id||(t.id="cdk-describedby-message-"+b++)}class k{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.xQ,this._typeaheadSubscription=o.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new s.xQ,this.change=new s.xQ,t instanceof r.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,c.b)(t=>this._pressedLetters.push(t)),(0,u.b)(t),(0,h.h)(()=>this._pressedLetters.length>0),(0,d.U)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const i=(this._activeItemIndex+n)%e.length,r=e[i];if(!this._skipPredicateFn(r)&&0===r.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case 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),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof r.n_E?this._items.toArray():this._items}}class A extends k{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class E extends k{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}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===T(e))return!1;if(!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),r=T(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(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"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-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")||O(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(m.t4))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(m.t4))},token:t,providedIn:"root"}),t})();function O(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 T(t){if(!O(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class I{constructor(t,e,n,i,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||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(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_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(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(t.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",t),!this._checker.isFocusable(t)){const e=this._getFirstTabbableElement(t);return null==e||e.focus(),!!e}return t.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}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 D=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new I(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(S),r.LFG(r.R0b),r.LFG(i.K0))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(S),(0,r.LFG)(r.R0b),(0,r.LFG)(i.K0))},token:t,providedIn:"root"}),t})(),P=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=(0,f.Ig)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=(0,f.Ig)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){var t,e;const n=null===(t=this._document)||void 0===t?void 0:t.activeElement;this._previouslyFocusedElement=(null===(e=null==n?void 0:n.shadowRoot)||void 0===e?void 0:e.activeElement)||n,this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(D),r.Y36(i.K0))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r.TTD]}),t})();"undefined"!=typeof Element&&Element;const F=new r.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),M=new r.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let R=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,r;return 1===e.length&&"number"==typeof e[0]?r=e[0]:[i,r]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},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=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(F,8),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(M,8))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(F,8),(0,r.LFG)(r.R0b),(0,r.LFG)(i.K0),(0,r.LFG)(M,8))},token:t,providedIn:"root"}),t})(),L=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(R),r.Y36(g.yq),r.Y36(r.R0b))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function Z(t){return 0===t.buttons}function N(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)}const B=new r.OlP("cdk-focus-monitor-default-options"),U=(0,m.i$)({passive:!0,capture:!0});let q=(()=>{class t{constructor(t,e,n,i){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=Z(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{N(t)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=z(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=z(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=(0,f.fI)(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,a.of)(null);const i=(0,m.kV)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;const o={checkChildren:e,subject:new s.xQ,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=(0,f.fI)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=(0,f.fI)(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_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)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=z(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);n&&(n.checkChildren||e===z(t))&&this._originChanged(e,this._getFocusOrigin(t),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,U),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,U)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,U),t.addEventListener("mousedown",this._documentMousedownListener,U),t.addEventListener("touchstart",this._documentTouchstartListener,U),e.addEventListener("focus",this._windowFocusListener)})}_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,U),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,U),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,U),t.removeEventListener("mousedown",this._documentMousedownListener,U),t.removeEventListener("touchstart",this._documentTouchstartListener,U),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.R0b),r.LFG(m.t4),r.LFG(i.K0,8),r.LFG(B,8))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(r.R0b),(0,r.LFG)(m.t4),(0,r.LFG)(i.K0,8),(0,r.LFG)(B,8))},token:t,providedIn:"root"}),t})();function z(t){return t.composedPath?t.composedPath()[0]:t.target}let j=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new r.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)(r.Y36(r.SBq),r.Y36(q))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})(),$=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(m.t4),r.LFG(i.K0))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(m.t4),(0,r.LFG)(i.K0))},token:t,providedIn:"root"}),t})(),Y=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(r.LFG($))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[m.ud,g.Q8]]}),t})()},94720:function(t,e,n){"use strict";n.d(e,{vT:function(){return a},Is:function(){return o}});var i=n(35366),r=n(61116);const s=new i.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,i.f3M)(r.K0)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.vpe,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s,8))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(s,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},58378:function(t,e,n){"use strict";n.d(e,{P3:function(){return l},Ov:function(){return u},A8:function(){return h},eX:function(){return c},k:function(){return d},Z9:function(){return a}});var i=n(4710),r=n(40878),s=n(55959),o=n(35366);function a(t){return t&&"function"==typeof t.connect}class l extends class{}{constructor(t){super(),this._data=t}connect(){return(0,i.b)(this._data)?this._data:(0,r.of)(this._data)}disconnect(){}}class c{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,r){t.forEachOperation((t,s,o)=>{let a,l;null==t.previousIndex?(a=this._insertView(()=>n(t,s,o),o,e,i(t)),l=a?1:0):null==o?(this._detachAndCacheView(s,e),l=3):(a=this._moveView(s,o,e,i(t)),l=2),r&&r({context:null==a?void 0:a.context,operation:l,record:t})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,n,i){const r=this._insertViewFromCache(e,n);if(r)return void(r.context.$implicit=i);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,i){const r=n.get(t);return n.move(r,e),r.context.$implicit=i,r}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{const n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}_insertViewFromCache(t,e){const n=this._viewCache.pop();return n&&e.insert(n,t),n||null}}class u{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new s.xQ,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let h=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,o.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const d=new o.OlP("_ViewRepeater")},99235:function(t,e,n){"use strict";n.d(e,{A:function(){return v},ZH:function(){return i},yY:function(){return g},JH:function(){return m},uR:function(){return u},K5:function(){return s},hY:function(){return o},Sd:function(){return h},oh:function(){return d},aO:function(){return b},VM:function(){return c},Ku:function(){return l},SV:function(){return f},L_:function(){return a},Mf:function(){return r},LH:function(){return p},Z:function(){return y},xE:function(){return _},Vb:function(){return w}});const i=8,r=9,s=13,o=27,a=32,l=33,c=34,u=35,h=36,d=37,p=38,f=39,m=40,g=46,_=48,b=57,v=65,y=90;function w(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},34546:function(t,e,n){"use strict";n.d(e,{Yg:function(){return y},u3:function(){return x}});var i=n(35366),r=n(19861),s=n(55959),o=n(3080),a=n(47930),l=n(48318),c=n(90611),u=n(84698),h=n(47701),d=n(79996),p=n(56238),f=n(25416),m=n(93169);const g=new Set;let _,b=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):v}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!g.has(t))try{_||(_=document.createElement("style"),_.setAttribute("type","text/css"),document.head.appendChild(_)),_.sheet&&(_.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),g.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(m.t4))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(m.t4))},token:t,providedIn:"root"}),t})();function v(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let y=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new s.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return w((0,r.Eq)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=w((0,r.Eq)(t)).map(t=>this._registerQuery(t).observable);let n=(0,o.aj)(e);return n=(0,a.z)(n.pipe((0,c.q)(1)),n.pipe((0,u.T)(1),(0,h.b)(0))),n.pipe((0,d.U)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new l.y(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe((0,p.O)(e),(0,d.U)(({matches:e})=>({query:t,matches:e})),(0,f.R)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(b),i.LFG(i.R0b))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(b),(0,i.LFG)(i.R0b))},token:t,providedIn:"root"}),t})();function w(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const x={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},27853:function(t,e,n){"use strict";n.d(e,{wD:function(){return u},yq:function(){return c},Q8:function(){return h}});var i=n(19861),r=n(35366),s=n(48318),o=n(55959),a=n(47701);let l=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=(0,i.fI)(t);return new 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.xQ,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(l))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new r.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,i.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=(0,i.su)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe((0,a.b)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(c),r.Y36(r.SBq),r.Y36(r.R0b))},t.\u0275dir=r.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=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[l]}),t})()},77923:function(t,e,n){"use strict";n.d(e,{pI:function(){return H},xu:function(){return V},aV:function(){return j},X_:function(){return A},Xj:function(){return P},U8:function(){return Q}});var i=n(43725),r=n(35366),s=n(93169),o=n(94720),a=n(61116),l=n(19861),c=n(82151),u=n(55959),h=n(87570),d=n(31906),p=n(90611),f=n(25416),m=n(33982),g=n(99235);const _=(0,s.Mq)();class b{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,l.HM)(-this._previousScrollPosition.left),t.style.top=(0,l.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),_&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),_&&(e.scrollBehavior=i,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class v{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class y{enable(){}disable(){}attach(){}}function w(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function x(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class C{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();w(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let k=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new y,this.close=t=>new v(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new b(this._viewportRuler,this._document),this.reposition=t=>new C(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.mF),r.LFG(i.rL),r.LFG(r.R0b),r.LFG(a.K0))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(i.mF),(0,r.LFG)(i.rL),(0,r.LFG)(r.R0b),(0,r.LFG)(a.K0))},token:t,providedIn:"root"}),t})();class A{constructor(t){if(this.scrollStrategy=new y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class E{constructor(t,e,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class S{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let O=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(a.K0))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(a.K0))},token:t,providedIn:"root"}),t})(),T=(()=>{class t extends O{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(a.K0))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(a.K0))},token:t,providedIn:"root"}),t})(),I=(()=>{class t extends O{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const r=n[i];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(e))break;r._outsidePointerEvents.next(t)}}}}add(t){if(super.add(t),!this._isAttached){const t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(a.K0),r.LFG(s.t4))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(a.K0),(0,r.LFG)(s.t4))},token:t,providedIn:"root"}),t})();const D=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let P=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||D){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),D?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(a.K0),r.LFG(s.t4))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(a.K0),(0,r.LFG)(s.t4))},token:t,providedIn:"root"}),t})();class F{constructor(t,e,n,i,r,s,o,a,l){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=r,this._keyboardDispatcher=s,this._document=o,this._location=a,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new u.xQ,this._attachments=new u.xQ,this._detachments=new u.xQ,this._locationChanges=h.w.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEvents=new u.xQ,this._outsidePointerEvents=new u.xQ,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=(0,l.HM)(this._config.width),t.height=(0,l.HM)(this._config.height),t.minWidth=(0,l.HM)(this._config.minWidth),t.minHeight=(0,l.HM)(this._config.minHeight),t.maxWidth=(0,l.HM)(this._config.maxWidth),t.maxHeight=(0,l.HM)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;(0,l.Eq)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((0,f.R)((0,d.T)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const M=/([A-Za-z%]+)$/;class R{constructor(t,e,n,i,r){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.xQ,this._resizeSubscription=h.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let r;for(let s of this._preferredPositions){let o=this._getOriginPoint(t,s),a=this._getOverlayPoint(o,e,s),l=this._getOverlayFit(a,e,n,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:s,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,s)}):(!r||r.overlayFit.visibleArea<l.visibleArea)&&(r={overlayFit:l,overlayPoint:a,originPoint:o,position:s,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&L(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}_getOverlayFit(t,e,n,i){const r=N(e);let{x:s,y:o}=t,a=this._getOffset(i,"x"),l=this._getOffset(i,"y");a&&(s+=a),l&&(o+=l);let c=0-o,u=o+r.height-n.height,h=this._subtractOverflows(r.width,0-s,s+r.width-n.width),d=this._subtractOverflows(r.height,c,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:r.width*r.height===p,fitsInViewportVertically:d===r.height,fitsInViewportHorizontally:h==r.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,r=n.right-e.x,s=Z(this._overlayRef.getConfig().minHeight),o=Z(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=r;return(t.fitsInViewportVertically||null!=s&&s<=i)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=N(e),r=this._viewportRect,s=Math.max(t.x+i.width-r.width,0),o=Math.max(t.y+i.height-r.height,0),a=Math.max(r.top-n.top-t.y,0),l=Math.max(r.left-n.left-t.x,0);let c=0,u=0;return c=i.width<=r.width?l||-s:t.x<this._viewportMargin?r.left-n.left-t.x:0,u=i.height<=r.height?a||-o:t.y<this._viewportMargin?r.top-n.top-t.y:0,this._previousPushAmount={x:c,y:u},{x:t.x+c,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new S(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let r,s,o,a,l,c;if("top"===e.overlayY)s=t.y,r=n.height-s+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,r=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;r=2*e,s=t.y-e,r>i&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:s,left:l,bottom:o,right:c,width:a,height:r}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=(0,l.HM)(n.height),i.top=(0,l.HM)(n.top),i.bottom=(0,l.HM)(n.bottom),i.width=(0,l.HM)(n.width),i.left=(0,l.HM)(n.left),i.right=(0,l.HM)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=(0,l.HM)(t)),r&&(i.maxWidth=(0,l.HM)(r))}this._lastBoundingBoxSize=n,L(this._boundingBox.style,i)}_resetBoundingBoxStyles(){L(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){L(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();L(n,this._getExactOverlayY(e,t,i)),L(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",a=this._getOffset(e,"x"),c=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),c&&(o+=`translateY(${c}px)`),n.transform=o.trim(),s.maxHeight&&(i?n.maxHeight=(0,l.HM)(s.maxHeight):r&&(n.maxHeight="")),s.maxWidth&&(i?n.maxWidth=(0,l.HM)(s.maxWidth):r&&(n.maxWidth="")),L(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=(0,l.HM)(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":r.left=(0,l.HM)(s.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:x(t,n),isOriginOutsideView:w(t,n),isOverlayClipped:x(e,n),isOverlayOutsideView:w(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&(0,l.Eq)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof r.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function L(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function Z(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(M);return n&&"px"!==n?null:parseFloat(e)}return t||null}function N(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}class B{constructor(t,e,n,i,r,s,o){this._preferredPositions=[],this._positionStrategy=new R(n,i,r,s,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const r=new E(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class U{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:s,maxHeight:o}=n,a=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let q=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new U}connectedTo(t,e,n){return new B(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new R(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.rL),r.LFG(a.K0),r.LFG(s.t4),r.LFG(P))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(i.rL),(0,r.LFG)(a.K0),(0,r.LFG)(s.t4),(0,r.LFG)(P))},token:t,providedIn:"root"}),t})(),z=0,j=(()=>{class t{constructor(t,e,n,i,r,s,o,a,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=s,this._ngZone=o,this._document=a,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new A(t);return r.direction=r.direction||this._directionality.value,new F(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+z++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(r.z2F)),new c.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(k),r.LFG(P),r.LFG(r._Vd),r.LFG(q),r.LFG(T),r.LFG(r.zs3),r.LFG(r.R0b),r.LFG(a.K0),r.LFG(o.Is),r.LFG(a.Ye),r.LFG(I))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const $=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Y=new r.OlP("cdk-connected-overlay-scroll-strategy");let V=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),H=(()=>{class t{constructor(t,e,n,i,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.w.EMPTY,this._attachSubscription=h.w.EMPTY,this._detachSubscription=h.w.EMPTY,this._positionSubscription=h.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.vpe,this.positionChange=new r.vpe,this.attach=new r.vpe,this.detach=new r.vpe,this.overlayKeydown=new r.vpe,this.overlayOutsideClick=new r.vpe,this._templatePortal=new c.UE(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,l.Ig)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=(0,l.Ig)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=(0,l.Ig)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=(0,l.Ig)(t)}get push(){return this._push}set push(t){this._push=(0,l.Ig)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=$);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==g.hY||this.disableClose||(0,g.Vb)(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new A({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,m.o)(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(j),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(Y),r.Y36(o.Is,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.TTD]}),t})();const G={provide:Y,deps:[j],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[j,G],imports:[[o.vT,c.eL,i.Cl],i.Cl]}),t})()},93169:function(t,e,n){"use strict";n.d(e,{t4:function(){return a},ud:function(){return l},kV:function(){return b},_i:function(){return _},qK:function(){return u},i$:function(){return m},Mq:function(){return g}});var i=n(35366),r=n(61116);let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(v){s=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?(0,r.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)(i.LFG(i.Lbi))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(i.Lbi))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let t=document.createElement("input");return o=new Set(c.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let h,d,p,f;function m(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}function g(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const t=Element.prototype.scrollTo;p=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return p}function _(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function b(t){if(function(){if(null==f){const t="undefined"!=typeof document?document.head:null;f=!(!t||!t.createShadowRoot&&!t.attachShadow)}return f}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},82151:function(t,e,n){"use strict";n.d(e,{en:function(){return c},ig:function(){return h},Pl:function(){return d},C5:function(){return o},u0:function(){return u},nK:function(){return f},eL:function(){return p},UE:function(){return a}});var i=n(35366),r=n(61116);class s{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends s{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class a extends s{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class l extends s{constructor(t){super(),this.element=t instanceof i.SBq?t.nativeElement:t}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof l?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends c{constructor(t,e,n,i,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=r}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),this._attachedPortal=t,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let h=(()=>{class t extends a{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Rgc),i.Y36(i.s_b))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.qOj]}),t})(),d=(()=>{class t extends c{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.vpe,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i._Vd),i.Y36(i.s_b),i.Y36(r.K0))},t.\u0275dir=i.lG2({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.qOj]}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();class f{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}},43725:function(t,e,n){"use strict";n.d(e,{ZD:function(){return g},mF:function(){return f},Cl:function(){return _},rL:function(){return m}});var i=n(19861),r=n(35366),s=n(55959),o=n(40878),a=n(48318),l=n(87254);n(91741),n(92709),n(87570),n(4710),n(66994),n(98720);var c=n(30810),u=n(43835),h=(n(25416),n(56238),n(62855),n(44689),n(93169)),d=n(61116),p=n(94720);n(58378);let f=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new s.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new a.y(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe((0,c.e)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,o.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,u.h)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=(0,i.fI)(e),r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return(0,l.R)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.R0b),r.LFG(h.t4),r.LFG(d.K0,8))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(r.R0b),(0,r.LFG)(h.t4),(0,r.LFG)(d.K0,8))},token:t,providedIn:"root"}),t})(),m=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new s.xQ,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe((0,c.e)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(h.t4),r.LFG(r.R0b),r.LFG(d.K0,8))},t.\u0275prov=(0,r.Yz7)({factory:function(){return new t((0,r.LFG)(h.t4),(0,r.LFG)(r.R0b),(0,r.LFG)(d.K0,8))},token:t,providedIn:"root"}),t})(),g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})(),_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[p.vT,h.ud,g],p.vT,g]}),t})()},19861:function(t,e,n){"use strict";n.d(e,{t6:function(){return o},Eq:function(){return a},Ig:function(){return r},HM:function(){return l},fI:function(){return c},su:function(){return s},du:function(){return u}});var i=n(35366);function r(t){return null!=t&&"false"!=`${t}`}function s(t,e=0){return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function a(t){return Array.isArray(t)?t:[t]}function l(t){return null==t?"":"string"==typeof t?t:`${t}px`}function c(t){return t instanceof i.SBq?t.nativeElement:t}function u(t,e=/\s+/){const n=[];if(null!=t){const i=Array.isArray(t)?t:`${t}`.split(e);for(const t of i){const e=`${t}`.trim();e&&n.push(e)}}return n}},61116:function(t,e,n){"use strict";n.d(e,{mr:function(){return y},Ov:function(){return Ft},ez:function(){return $t},H9:function(){return Ut},K0:function(){return l},uU:function(){return Lt},JJ:function(){return Bt},Do:function(){return x},Nd:function(){return Zt},V_:function(){return h},Ye:function(){return C},S$:function(){return b},mk:function(){return mt},sg:function(){return _t},O5:function(){return vt},PC:function(){return Et},RF:function(){return Ct},n9:function(){return kt},ED:function(){return At},tP:function(){return St},b0:function(){return w},lw:function(){return c},OU:function(){return jt},rS:function(){return Rt},EM:function(){return Ht},JF:function(){return Jt},NF:function(){return Vt},w_:function(){return a},bD:function(){return Yt},q:function(){return s},Mx:function(){return ft},HT:function(){return o}});var i=n(35366);let r=null;function s(){return r}function o(t){r||(r=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,i.LFG)(d)}const h=new i.OlP("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return 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){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(l))},t.\u0275prov=(0,i.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,i.LFG)(l))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function _(t){return t&&"?"!==t[0]?"?"+t:t}let b=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:v,token:t,providedIn:"root"}),t})();function v(t){const e=(0,i.LFG)(l).location;return new w((0,i.LFG)(c),e&&e.origin||"")}const y=new i.OlP("appBaseHref");let w=(()=>{class t extends b{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+_(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+_(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(y,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t extends b{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+_(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+_(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(c),i.LFG(y,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t{constructor(t,e){this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(A(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,A(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(b),i.LFG(c))},t.normalizeQueryParams=_,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=(0,i.Yz7)({factory:k,token:t,providedIn:"root"}),t})();function k(){return new C((0,i.LFG)(b),(0,i.LFG)(c))}function A(t){return t.replace(/\/index.html$/,"")}const E={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var S=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),O=function(t){return 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}({}),T=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),I=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),D=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),P=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function F(t,e){return U((0,i.cg1)(t)[i.wAp.DateFormat],e)}function M(t,e){return U((0,i.cg1)(t)[i.wAp.TimeFormat],e)}function R(t,e){return U((0,i.cg1)(t)[i.wAp.DateTimeFormat],e)}function L(t,e){const n=(0,i.cg1)(t),r=n[i.wAp.NumberSymbols][e];if(void 0===r){if(e===P.CurrencyDecimal)return n[i.wAp.NumberSymbols][P.Decimal];if(e===P.CurrencyGroup)return n[i.wAp.NumberSymbols][P.Group]}return r}function Z(t,e){return(0,i.cg1)(t)[i.wAp.NumberFormats][e]}const N=i.kL8;function B(t){if(!t[i.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[i.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function U(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function q(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const z=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,j={},$=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Y=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),V=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),H=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function G(t,e,n,i){let r=function(t){if(at(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,n=1,i=1]=t.split("-").map(t=>+t);return Q(e,n-1,i)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(z))return function(t){const e=new Date(0);let n=0,i=0;const r=t[8]?e.setUTCFullYear:e.setFullYear,s=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return s.call(e,o,a,l,c),e}(n)}const e=new Date(t);if(!at(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=J(n,e)||e;let s,o=[];for(;e;){if(s=$.exec(e),!s){o.push(e);break}{o=o.concat(s.slice(1));const t=o.pop();if(!t)break;e=t}}let a=r.getTimezoneOffset();i&&(a=ot(i,a),r=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(ot(e,i)-i))}(r,i));let l="";return o.forEach(t=>{const e=function(t){if(st[t])return st[t];let e;switch(t){case"G":case"GG":case"GGG":e=tt(H.Eras,I.Abbreviated);break;case"GGGG":e=tt(H.Eras,I.Wide);break;case"GGGGG":e=tt(H.Eras,I.Narrow);break;case"y":e=X(V.FullYear,1,0,!1,!0);break;case"yy":e=X(V.FullYear,2,0,!0,!0);break;case"yyy":e=X(V.FullYear,3,0,!1,!0);break;case"yyyy":e=X(V.FullYear,4,0,!1,!0);break;case"Y":e=rt(1);break;case"YY":e=rt(2,!0);break;case"YYY":e=rt(3);break;case"YYYY":e=rt(4);break;case"M":case"L":e=X(V.Month,1,1);break;case"MM":case"LL":e=X(V.Month,2,1);break;case"MMM":e=tt(H.Months,I.Abbreviated);break;case"MMMM":e=tt(H.Months,I.Wide);break;case"MMMMM":e=tt(H.Months,I.Narrow);break;case"LLL":e=tt(H.Months,I.Abbreviated,T.Standalone);break;case"LLLL":e=tt(H.Months,I.Wide,T.Standalone);break;case"LLLLL":e=tt(H.Months,I.Narrow,T.Standalone);break;case"w":e=it(1);break;case"ww":e=it(2);break;case"W":e=it(1,!0);break;case"d":e=X(V.Date,1);break;case"dd":e=X(V.Date,2);break;case"c":case"cc":e=X(V.Day,1);break;case"ccc":e=tt(H.Days,I.Abbreviated,T.Standalone);break;case"cccc":e=tt(H.Days,I.Wide,T.Standalone);break;case"ccccc":e=tt(H.Days,I.Narrow,T.Standalone);break;case"cccccc":e=tt(H.Days,I.Short,T.Standalone);break;case"E":case"EE":case"EEE":e=tt(H.Days,I.Abbreviated);break;case"EEEE":e=tt(H.Days,I.Wide);break;case"EEEEE":e=tt(H.Days,I.Narrow);break;case"EEEEEE":e=tt(H.Days,I.Short);break;case"a":case"aa":case"aaa":e=tt(H.DayPeriods,I.Abbreviated);break;case"aaaa":e=tt(H.DayPeriods,I.Wide);break;case"aaaaa":e=tt(H.DayPeriods,I.Narrow);break;case"b":case"bb":case"bbb":e=tt(H.DayPeriods,I.Abbreviated,T.Standalone,!0);break;case"bbbb":e=tt(H.DayPeriods,I.Wide,T.Standalone,!0);break;case"bbbbb":e=tt(H.DayPeriods,I.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":e=tt(H.DayPeriods,I.Abbreviated,T.Format,!0);break;case"BBBB":e=tt(H.DayPeriods,I.Wide,T.Format,!0);break;case"BBBBB":e=tt(H.DayPeriods,I.Narrow,T.Format,!0);break;case"h":e=X(V.Hours,1,-12);break;case"hh":e=X(V.Hours,2,-12);break;case"H":e=X(V.Hours,1);break;case"HH":e=X(V.Hours,2);break;case"m":e=X(V.Minutes,1);break;case"mm":e=X(V.Minutes,2);break;case"s":e=X(V.Seconds,1);break;case"ss":e=X(V.Seconds,2);break;case"S":e=X(V.FractionalSeconds,1);break;case"SS":e=X(V.FractionalSeconds,2);break;case"SSS":e=X(V.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=et(Y.Short);break;case"ZZZZZ":e=et(Y.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=et(Y.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=et(Y.Long);break;default:return null}return st[t]=e,e}(t);l+=e?e(r,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Q(t,e,n){const i=new Date(0);return i.setFullYear(t,e,n),i.setHours(0,0,0),i}function J(t,e){const n=function(t){return(0,i.cg1)(t)[i.wAp.LocaleId]}(t);if(j[n]=j[n]||{},j[n][e])return j[n][e];let r="";switch(e){case"shortDate":r=F(t,D.Short);break;case"mediumDate":r=F(t,D.Medium);break;case"longDate":r=F(t,D.Long);break;case"fullDate":r=F(t,D.Full);break;case"shortTime":r=M(t,D.Short);break;case"mediumTime":r=M(t,D.Medium);break;case"longTime":r=M(t,D.Long);break;case"fullTime":r=M(t,D.Full);break;case"short":const e=J(t,"shortTime"),n=J(t,"shortDate");r=W(R(t,D.Short),[e,n]);break;case"medium":const i=J(t,"mediumTime"),s=J(t,"mediumDate");r=W(R(t,D.Medium),[i,s]);break;case"long":const o=J(t,"longTime"),a=J(t,"longDate");r=W(R(t,D.Long),[o,a]);break;case"full":const l=J(t,"fullTime"),c=J(t,"fullDate");r=W(R(t,D.Full),[l,c])}return r&&(j[n][e]=r),r}function W(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function K(t,e,n="-",i,r){let s="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,s=n));let o=String(t);for(;o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),s+o}function X(t,e,n=0,i=!1,r=!1){return function(s,o){let a=function(t,e){switch(t){case V.FullYear:return e.getFullYear();case V.Month:return e.getMonth();case V.Date:return e.getDate();case V.Hours:return e.getHours();case V.Minutes:return e.getMinutes();case V.Seconds:return e.getSeconds();case V.FractionalSeconds:return e.getMilliseconds();case V.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,s);if((n>0||a>-n)&&(a+=n),t===V.Hours)0===a&&-12===n&&(a=12);else if(t===V.FractionalSeconds)return l=e,K(a,3).substr(0,l);var l;const c=L(o,P.MinusSign);return K(a,e,c,i,r)}}function tt(t,e,n=T.Format,r=!1){return function(s,o){return function(t,e,n,r,s,o){switch(n){case H.Months:return function(t,e,n){const r=(0,i.cg1)(t),s=U([r[i.wAp.MonthsFormat],r[i.wAp.MonthsStandalone]],e);return U(s,n)}(e,s,r)[t.getMonth()];case H.Days:return function(t,e,n){const r=(0,i.cg1)(t),s=U([r[i.wAp.DaysFormat],r[i.wAp.DaysStandalone]],e);return U(s,n)}(e,s,r)[t.getDay()];case H.DayPeriods:const a=t.getHours(),l=t.getMinutes();if(o){const t=function(t){const e=(0,i.cg1)(t);return B(e),(e[i.wAp.ExtraData][2]||[]).map(t=>"string"==typeof t?q(t):[q(t[0]),q(t[1])])}(e),n=function(t,e,n){const r=(0,i.cg1)(t);B(r);const s=U([r[i.wAp.ExtraData][0],r[i.wAp.ExtraData][1]],e)||[];return U(s,n)||[]}(e,s,r),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=a>=e.hours&&l>=e.minutes,r=a<n.hours||a===n.hours&&l<n.minutes;if(e.hours<n.hours){if(i&&r)return!0}else if(i||r)return!0}else if(t.hours===a&&t.minutes===l)return!0;return!1});if(-1!==o)return n[o]}return function(t,e,n){const r=(0,i.cg1)(t),s=U([r[i.wAp.DayPeriodsFormat],r[i.wAp.DayPeriodsStandalone]],e);return U(s,n)}(e,s,r)[a<12?0:1];case H.Eras:return function(t,e){return U((0,i.cg1)(t)[i.wAp.Eras],e)}(e,r)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(s,o,t,e,n,r)}}function et(t){return function(e,n,i){const r=-1*i,s=L(n,P.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Y.Short:return(r>=0?"+":"")+K(o,2,s)+K(Math.abs(r%60),2,s);case Y.ShortGMT:return"GMT"+(r>=0?"+":"")+K(o,1,s);case Y.Long:return"GMT"+(r>=0?"+":"")+K(o,2,s)+":"+K(Math.abs(r%60),2,s);case Y.Extended:return 0===i?"Z":(r>=0?"+":"")+K(o,2,s)+":"+K(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function nt(t){return Q(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function it(t,e=!1){return function(n,i){let r;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();r=1+Math.floor((e+t)/7)}else{const t=nt(n),e=function(t){const e=Q(t,0,1).getDay();return Q(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();r=1+Math.round(i/6048e5)}return K(r,t,L(i,P.MinusSign))}}function rt(t,e=!1){return function(n,i){return K(nt(n).getFullYear(),t,L(i,P.MinusSign),e)}}const st={};function ot(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function at(t){return t instanceof Date&&!isNaN(t.valueOf())}const lt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ct(t,e,n,i,r,s,o=!1){let a="",l=!1;if(isFinite(t)){let c=function(t){let e,n,i,r,s,o=Math.abs(t)+"",a=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;"0"===o.charAt(i);i++);if(i===(s=o.length))e=[0],n=1;else{for(s--;"0"===o.charAt(s);)s--;for(n-=i,e=[],r=0;i<=s;i++,r++)e[r]=Number(o.charAt(i))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(s){const t=s.match(lt);if(null===t)throw new Error(`${s} is not a valid digit info`);const e=t[1],n=t[3],i=t[5];null!=e&&(u=ht(e)),null!=n&&(h=ht(n)),null!=i?d=ht(i):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,r=i.length-t.integerLen;const s=Math.min(Math.max(e,r),n);let o=s+t.integerLen,a=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let t=o;t<i.length;t++)i[t]=0}else{r=Math.max(0,r),t.integerLen=1,i.length=Math.max(1,o=s+1),i[0]=0;for(let t=1;t<o;t++)i[t]=0}if(a>=5)if(o-1<0){for(let e=0;e>o;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r<Math.max(0,s);r++)i.push(0);let l=0!==s;const c=e+t.integerLen,u=i.reduceRight(function(t,e,n,i){return i[n]=(e+=t)<10?e:e-10,l&&(0===i[n]&&n>=c?i.pop():l=!1),e>=10?1:0},0);u&&(i.unshift(u),t.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(l=p.every(t=>!t);f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?g=p.splice(f,p.length):(g=p,p=[0]);const _=[];for(p.length>=e.lgSize&&_.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)_.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&_.unshift(p.join("")),a=_.join(L(n,i)),g.length&&(a+=L(n,r)+g.join("")),m&&(a+=L(n,P.Exponential)+"+"+m)}else a=L(n,P.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function ut(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],s=i[1],o=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],a=o[0],l=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u<l.length;u++){const t=l.charAt(u);"0"===t?n.minFrac=n.maxFrac=u+1:"#"===t?n.maxFrac=u+1:n.posSuf+=t}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,s){const t=r.length-n.posPre.length-n.posSuf.length,e=s.indexOf("#");n.negPre=s.substr(0,e).replace(/'/g,""),n.negSuf=s.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}function ht(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class dt{}let pt=(()=>{class t extends dt{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(N(e||this.locale)(t)){case O.Zero:return"zero";case O.One:return"one";case O.Two:return"two";case O.Few:return"few";case O.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.soG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function ft(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}let mt=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,i.AaK)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class gt{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let _t=(()=>{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 n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new gt(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new bt(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new bt(t,r);e.push(s)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class bt{constructor(t,e){this.record=t,this.view=e}}let vt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new yt,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){wt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){wt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class yt{constructor(){this.$implicit=null,this.ngIf=null}}function wt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class xt{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 Ct=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),kt=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new xt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(Ct,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),At=(()=>{class t{constructor(t,e,n){n._addDefault(new xt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(Ct,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),Et=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),St=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.TTD]}),t})();function Ot(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,i.AaK)(t)}'`)}class Tt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class It{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Dt=new It,Pt=new Tt;let Ft=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,i.QGY)(e))return Dt;if((0,i.F4k)(e))return Pt;throw Ot(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"async",type:t,pure:!1}),t})();const Mt=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g;let Rt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw Ot(t,e);return e.replace(Mt,t=>t[0].toUpperCase()+t.substr(1).toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"titlecase",type:t,pure:!0}),t})(),Lt=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,r){if(null==e||""===e||e!=e)return null;try{return G(e,n,r||this.locale,i)}catch(s){throw Ot(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.soG,16))},t.\u0275pipe=i.Yjl({name:"date",type:t,pure:!0}),t})(),Zt=(()=>{class t{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=Nt){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t);return n&&(this.keyValues=[],n.forEachItem(t=>{this.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(e)),this.keyValues}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.aQg,16))},t.\u0275pipe=i.Yjl({name:"keyvalue",type:t,pure:!1}),t})();function Nt(t,e){const n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const r=String(n),s=String(i);return r==s?0:r<s?-1:1}let Bt=(()=>{class t{constructor(t){this._locale=t}transform(e,n,i){if(!qt(e))return null;i=i||this._locale;try{return function(t,e,n){return ct(t,ut(Z(e,S.Decimal),L(e,P.MinusSign)),e,P.Group,P.Decimal,n)}(zt(e),i,n)}catch(r){throw Ot(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.soG,16))},t.\u0275pipe=i.Yjl({name:"number",type:t,pure:!0}),t})(),Ut=(()=>{class t{constructor(t,e="USD"){this._locale=t,this._defaultCurrencyCode=e}transform(e,n,r="symbol",s,o){if(!qt(e))return null;o=o||this._locale,"boolean"==typeof r&&(r=r?"symbol":"code");let a=n||this._defaultCurrencyCode;"code"!==r&&(a="symbol"===r||"symbol-narrow"===r?function(t,e,n="en"){const r=function(t){return(0,i.cg1)(t)[i.wAp.Currencies]}(n)[t]||E[t]||[],s=r[1];return"narrow"===e&&"string"==typeof s?s:r[0]||t}(a,"symbol"===r?"wide":"narrow",o):r);try{return function(t,e,n,i,r){const s=ut(Z(e,S.Currency),L(e,P.MinusSign));return s.minFrac=function(t){let e;const n=E[t];return n&&(e=n[2]),"number"==typeof e?e:2}(i),s.maxFrac=s.minFrac,ct(t,s,e,P.CurrencyGroup,P.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}(zt(e),o,a,n,s)}catch(l){throw Ot(t,l.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.soG,16),i.Y36(i.EJc,16))},t.\u0275pipe=i.Yjl({name:"currency",type:t,pure:!0}),t})();function qt(t){return!(null==t||""===t||t!=t)}function zt(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}let jt=(()=>{class t{transform(e,n,i){if(null==e)return null;if(!this.supports(e))throw Ot(t,e);return e.slice(n,i)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Yjl({name:"slice",type:t,pure:!1}),t})(),$t=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:dt,useClass:pt}]}),t})();const Yt="browser";function Vt(t){return t===Yt}let Ht=(()=>{class t{}return t.\u0275prov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new Gt((0,i.LFG)(l),window)}),t})();class Gt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Qt(this.window.history)||Qt(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 Qt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Jt{}},42693:function(t,e,n){"use strict";n.d(e,{TP:function(){return I},eN:function(){return O},JF:function(){return q},dt:function(){return x},LE:function(){return g},aW:function(){return w},Zn:function(){return A}});var i=n(61116),r=n(35366),s=n(40878),o=n(48318),a=n(436),l=n(43835),c=n(79996);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function m(t){return`${t}`}class g{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[r,s]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new g({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(m(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(m(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class _{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function b(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function v(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}class w{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.context||(this.context=new _),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new g,this.urlWithParams=e}serializeBody(){return null===this.body?null:b(this.body)||v(this.body)||y(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||y(this.body)?null:v(this.body)?this.body.type||null:b(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var e;const n=t.method||this.method,i=t.url||this.url,r=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 l=t.headers||this.headers,c=t.params||this.params;const u=null!==(e=t.context)&&void 0!==e?e:this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new w(n,i,s,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:o})}}var x=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class C{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class k extends C{constructor(t={}){super(t),this.type=x.ResponseHeader}clone(t={}){return new k({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class A extends C{constructor(t={}){super(t),this.type=x.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new A({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class E extends C{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function S(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 O=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof w)i=t;else{let r,s;r=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(s=n.params instanceof g?n.params:new g({fromObject:n.params})),i=new w(t,e,void 0!==n.body?n.body:null,{headers:r,context:n.context,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=(0,s.of)(i).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof w||"events"===n.observe)return r;const o=r.pipe((0,l.h)(t=>t instanceof A));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return o.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return o.pipe((0,c.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return o.pipe((0,c.U)(t=>t.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new g).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,S(n,e))}post(t,e,n={}){return this.request("POST",t,S(n,e))}put(t,e,n={}){return this.request("PUT",t,S(n,e))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(u))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();class T{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const I=new r.OlP("HTTP_INTERCEPTORS");let D=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const P=/^\)\]\}',?\n/;let F=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=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 r=new k({headers:s,status:e,statusText:i,url:o}),r},o=()=>{let{headers:i,status:r,statusText:o,url:a}=s(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(P,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new A({body:l,headers:i,status:r,statusText:o,url:a||void 0})),e.complete()):e.error(new E({error:l,headers:i,status:r,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=s(),r=new E({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(s()),l=!0);let r={type:x.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},u=t=>{let n={type:x.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:x.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.JF))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const M=new r.OlP("XSRF_COOKIE_NAME"),R=new r.OlP("XSRF_HEADER_NAME");class L{}let Z=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,i.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(M))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),N=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(L),r.LFG(R))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(I,[]);this.chain=t.reduceRight((t,e)=>new T(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(h),r.LFG(r.zs3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),U=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:N,useClass:D}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:R,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[N,{provide:I,useExisting:N,multi:!0},{provide:L,useClass:Z},{provide:M,useValue:"XSRF-TOKEN"},{provide:R,useValue:"X-XSRF-TOKEN"}]}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[O,{provide:u,useClass:B},F,{provide:h,useExisting:F}],imports:[[U.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},35366:function(t,e,n){"use strict";n.d(e,{deG:function(){return sn},tb:function(){return $c},AFp:function(){return Bc},ip1:function(){return Zc},CZH:function(){return Nc},hGG:function(){return Zu},z2F:function(){return Su},sBO:function(){return Tl},Sil:function(){return eu},_Vd:function(){return Xa},EJc:function(){return Hc},SBq:function(){return il},qLn:function(){return Li},vpe:function(){return _c},gxx:function(){return ks},tBr:function(){return Fn},XFs:function(){return T},OlP:function(){return rn},zs3:function(){return Bs},ZZ4:function(){return xl},aQg:function(){return kl},soG:function(){return Vc},YKP:function(){return Bl},v3s:function(){return Tu},h0i:function(){return Nl},PXZ:function(){return xu},R0b:function(){return ru},FiY:function(){return Mn},Lbi:function(){return jc},g9A:function(){return zc},n_E:function(){return vc},XwF:function(){return Eo},Qsj:function(){return ol},FYo:function(){return sl},JOm:function(){return qi},Tiy:function(){return ll},q3G:function(){return Ei},tp0:function(){return Ln},EAV:function(){return Pu},Rgc:function(){return Ml},dDg:function(){return hu},DyG:function(){return on},GfV:function(){return cl},s_b:function(){return ql},ifc:function(){return R},eFA:function(){return Cu},G48:function(){return yu},Gpc:function(){return p},f3M:function(){return In},X6Q:function(){return vu},_c5:function(){return Ru},VLi:function(){return fu},c2e:function(){return Yc},zSh:function(){return Es},wAp:function(){return Ua},vHH:function(){return g},EiD:function(){return ki},mCW:function(){return ai},qzn:function(){return Jn},JVY:function(){return Kn},pB0:function(){return ni},eBb:function(){return ti},L6k:function(){return Xn},LAX:function(){return ei},cg1:function(){return Za},Tjo:function(){return Mu},kL8:function(){return Na},yhl:function(){return Wn},dqk:function(){return U},sIi:function(){return Qs},CqO:function(){return Uo},QGY:function(){return No},F4k:function(){return Bo},RDi:function(){return Ct},AaK:function(){return u},z3N:function(){return Qn},qOj:function(){return qs},TTD:function(){return _t},_Bn:function(){return Ja},xp6:function(){return Sr},uIk:function(){return to},Tol:function(){return pa},Gre:function(){return Da},ekj:function(){return ua},Suo:function(){return Dc},Xpm:function(){return W},lG2:function(){return st},Yz7:function(){return y},cJS:function(){return w},oAB:function(){return nt},Yjl:function(){return ot},Y36:function(){return Oo},_UZ:function(){return Fo},GkF:function(){return Lo},BQk:function(){return Ro},ynx:function(){return Mo},qZA:function(){return Po},TgZ:function(){return Do},EpF:function(){return Zo},n5z:function(){return Ke},Ikx:function(){return Pa},LFG:function(){return Tn},$8M:function(){return tn},NdJ:function(){return qo},CRH:function(){return Pc},kcU:function(){return _e},O4$:function(){return ge},oxw:function(){return Vo},ALo:function(){return uc},lcZ:function(){return hc},xi3:function(){return dc},Dn7:function(){return pc},Hsn:function(){return Qo},F$t:function(){return Go},Q6J:function(){return To},s9C:function(){return Jo},MGl:function(){return Wo},DdM:function(){return nc},VKq:function(){return ic},WLB:function(){return rc},kEZ:function(){return sc},iGM:function(){return Tc},MAs:function(){return io},pYS:function(){return Bi},evT:function(){return Ni},CHM:function(){return zt},oJD:function(){return Si},uOi:function(){return Ti},LSH:function(){return Oi},B6R:function(){return K},kYT:function(){return it},Akn:function(){return ha},Udp:function(){return ca},WFA:function(){return zo},d8E:function(){return Fa},YNc:function(){return no},W1O:function(){return Lc},_uU:function(){return Ea},Oqu:function(){return Sa},hij:function(){return Oa},AsE:function(){return Ta},HOy:function(){return Ia},Gf:function(){return Ic}});var i=n(55959),r=n(87570),s=n(48318),o=n(31906),a=n(1055);function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=l({__forward_ref__:l});function p(t){return t.__forward_ref__=p,t.toString=function(){return u(this())},t}function f(t){return m(t)?t():t}function m(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class g extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function _(t){return"string"==typeof t?t:null==t?"":String(t)}function b(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():_(t)}function v(t,e){const n=e?` in ${e}`:"";throw new g("201",`No provider for ${b(t)} found${n}`)}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function w(t){return{providers:t.providers||[],imports:t.imports||[]}}function x(t){return C(t,A)||C(t,S)}function C(t,e){return t.hasOwnProperty(e)?t[e]:null}function k(t){return t&&(t.hasOwnProperty(E)||t.hasOwnProperty(O))?t[E]:null}const A=l({"\u0275prov":l}),E=l({"\u0275inj":l}),S=l({ngInjectableDef:l}),O=l({ngInjectorDef:l});var T=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let I;function D(t){const e=I;return I=t,e}function P(t,e,n){const i=x(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&T.Optional?null:void 0!==e?e:void v(u(t),"Injector")}function F(t){return{toString:t}.toString()}var M=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),R=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const L="undefined"!=typeof globalThis&&globalThis,Z="undefined"!=typeof window&&window,N="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B="undefined"!=typeof global&&global,U=L||B||Z||N,q={},z=[],j=l({"\u0275cmp":l}),$=l({"\u0275dir":l}),Y=l({"\u0275pipe":l}),V=l({"\u0275mod":l}),H=l({"\u0275loc":l}),G=l({"\u0275fac":l}),Q=l({__NG_ELEMENT_ID__:l});let J=0;function W(t){return F(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===M.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||z,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||R.Emulated,id:"c",styles:t.styles||z,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,s=t.pipes;return n.id+=J++,n.inputs=rt(t.inputs,e),n.outputs=rt(t.outputs),r&&r.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(X):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(tt):null,n})}function K(t,e,n){const i=t.\u0275cmp;i.directiveDefs=()=>e.map(X),i.pipeDefs=()=>n.map(tt)}function X(t){return at(t)||function(t){return t[$]||null}(t)}function tt(t){return function(t){return t[Y]||null}(t)}const et={};function nt(t){const e={type:t.type,bootstrap:t.bootstrap||z,declarations:t.declarations||z,imports:t.imports||z,exports:t.exports||z,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&F(()=>{et[t.id]=t.type}),e}function it(t,e){return F(()=>{const n=lt(t,!0);n.declarations=e.declarations||z,n.imports=e.imports||z,n.exports=e.exports||z})}function rt(t,e){if(null==t)return q;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,e&&(e[r]=s)}return n}const st=W;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[j]||null}function lt(t,e){const n=t[V]||null;if(!n&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return n}function ct(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 pt(t){return 1==(1&t.flags)}function ft(t){return null!==t.template}function mt(t,e){return t.hasOwnProperty(G)?t[G]:null}class gt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function _t(){return bt}function bt(t){return t.type.prototype.ngOnChanges&&(t.setInput=yt),vt}function vt(){const t=wt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===q)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function yt(t,e,n,i){const r=wt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:q,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],l=o[a];s[a]=new gt(l&&l.currentValue,e,o===q),t[i]=e}function wt(t){return t.__ngSimpleChanges__||null}let xt;function Ct(t){xt=t}function kt(){return void 0!==xt?xt:"undefined"!=typeof document?document:void 0}function At(t){return!!t.listen}_t.ngInherit=!0;const Et={createRenderer:(t,e)=>kt()};function St(t){for(;Array.isArray(t);)t=t[0];return t}function Ot(t,e){return St(e[t])}function Tt(t,e){return St(e[t.index])}function It(t,e){return t.data[e]}function Dt(t,e){return t[e]}function Pt(t,e){const n=e[t];return ct(n)?n:n[0]}function Ft(t){return 4==(4&t[2])}function Mt(t){return 128==(128&t[2])}function Rt(t,e){return null==e?null:t[e]}function Lt(t){t[18]=0}function Zt(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Nt={lFrame:ce(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Bt(){return Nt.bindingsEnabled}function Ut(){return Nt.lFrame.lView}function qt(){return Nt.lFrame.tView}function zt(t){return Nt.lFrame.contextLView=t,t[8]}function jt(){let t=$t();for(;null!==t&&64===t.type;)t=t.parent;return t}function $t(){return Nt.lFrame.currentTNode}function Yt(t,e){const n=Nt.lFrame;n.currentTNode=t,n.isParent=e}function Vt(){return Nt.lFrame.isParent}function Ht(){Nt.lFrame.isParent=!1}function Gt(){return Nt.isInCheckNoChangesMode}function Qt(t){Nt.isInCheckNoChangesMode=t}function Jt(){const t=Nt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Wt(){return Nt.lFrame.bindingIndex}function Kt(){return Nt.lFrame.bindingIndex++}function Xt(t){const e=Nt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function te(t,e){const n=Nt.lFrame;n.bindingIndex=n.bindingRootIndex=t,ee(e)}function ee(t){Nt.lFrame.currentDirectiveIndex=t}function ne(t){const e=Nt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ie(){return Nt.lFrame.currentQueryIndex}function re(t){Nt.lFrame.currentQueryIndex=t}function se(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function oe(t,e,n){if(n&T.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&T.Host||(i=se(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;e=i,t=r}const i=Nt.lFrame=le();return i.currentTNode=e,i.lView=t,!0}function ae(t){const e=le(),n=t[1];Nt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function le(){const t=Nt.lFrame,e=null===t?null:t.child;return null===e?ce(t):e}function ce(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 ue(){const t=Nt.lFrame;return Nt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const he=ue;function de(){const t=ue();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 pe(){return Nt.lFrame.selectedIndex}function fe(t){Nt.lFrame.selectedIndex=t}function me(){const t=Nt.lFrame;return It(t.tView,t.selectedIndex)}function ge(){Nt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function _e(){Nt.lFrame.currentNamespace=null}function be(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:r,ngAfterViewInit:s,ngAfterViewChecked:o,ngOnDestroy:a}=e;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),r&&((t.contentHooks||(t.contentHooks=[])).push(n,r),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,r)),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 ve(t,e,n){xe(t,e,3,n)}function ye(t,e,n,i){(3&t[2])===n&&xe(t,e,n,i)}function we(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function xe(t,e,n,i){const r=null!=i?i:-1,s=e.length-1;let o=0;for(let a=void 0!==i?65535&t[18]:0;a<s;a++)if("number"==typeof e[a+1]){if(o=e[a],null!=i&&o>=i)break}else e[a]<0&&(t[18]+=65536),(o<r||-1==r)&&(Ce(t,n,e,a),t[18]=(4294901760&t[18])+a+2),a++}function Ce(t,e,n,i){const r=n[i]<0,s=n[i+1],o=t[r?-n[i]:n[i]];if(r){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 Ae(t,e,n){const i=At(t);let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const o=n[r++],a=n[r++],l=n[r++];i?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=s,a=n[++r];Se(o)?i&&t.setProperty(e,o,a):i?t.setAttribute(e,o,a):e.setAttribute(o,a),r++}}return r}function Ee(t){return 3===t||4===t||6===t}function Se(t){return 64===t.charCodeAt(0)}function Oe(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const r=e[i];"number"==typeof r?n=r:0===n||Te(t,n,r,null,-1===n||2===n?e[++i]:null)}}return t}function Te(t,e,n,i,r){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===i)return void(null!==r&&(t[s+1]=r));if(i===t[s+1])return void(t[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==i&&t.splice(s++,0,i),null!==r&&t.splice(s++,0,r)}function Ie(t){return-1!==t}function De(t){return 32767&t}function Pe(t,e){let n=t>>16,i=e;for(;n>0;)i=i[15],n--;return i}let Fe=!0;function Me(t){const e=Fe;return Fe=t,e}let Re=0;function Le(t,e){const n=Ne(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Ze(i.data,t),Ze(e,null),Ze(i.blueprint,null));const r=Be(t,e),s=t.injectorIndex;if(Ie(r)){const t=De(r),n=Pe(r,e),i=n[1].data;for(let r=0;r<8;r++)e[s+r]=n[t+r]|i[t+r]}return e[s+8]=r,s}function Ze(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ne(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Be(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(i=2===e?t.declTNode:1===e?r[6]:null,null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Ue(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Q)&&(i=n[Q]),null==i&&(i=n[Q]=Re++);const r=255&i;e.data[t+(r>>5)]|=1<<r}(t,e,n)}function qe(t,e,n){if(n&T.Optional)return t;v(e,"NodeInjector")}function ze(t,e,n,i){if(n&T.Optional&&void 0===i&&(i=null),0==(n&(T.Self|T.Host))){const r=t[9],s=D(void 0);try{return r?r.get(e,i,n&T.Optional):P(e,i,n&T.Optional)}finally{D(s)}}return qe(i,e,n)}function je(t,e,n,i=T.Default,r){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Q)?t[Q]:void 0;return"number"==typeof e?e>=0?255&e:Ye:e}(n);if("function"==typeof s){if(!oe(e,t,i))return i&T.Host?qe(r,n,i):ze(e,n,i,r);try{const t=s(i);if(null!=t||i&T.Optional)return t;v(n)}finally{he()}}else if("number"==typeof s){let r=null,o=Ne(t,e),a=-1,l=i&T.Host?e[16][6]:null;for((-1===o||i&T.SkipSelf)&&(a=-1===o?Be(t,e):e[o+8],-1!==a&&Je(i,!1)?(r=e[1],o=De(a),e=Pe(a,e)):o=-1);-1!==o;){const t=e[1];if(Qe(s,o,t.data)){const t=Ve(o,e,n,r,i,l);if(t!==$e)return t}a=e[o+8],-1!==a&&Je(i,e[1].data[o+8]===l)&&Qe(s,o,e)?(r=t,o=De(a),e=Pe(a,e)):o=-1}}}return ze(e,n,i,r)}const $e={};function Ye(){return new We(jt(),Ut())}function Ve(t,e,n,i,r,s){const o=e[1],a=o.data[t+8],l=He(a,o,n,null==i?dt(a)&&Fe:i!=o&&0!=(3&a.type),r&T.Host&&s===a);return null!==l?Ge(e,o,l,a):$e}function He(t,e,n,i,r){const s=t.providerIndexes,o=e.data,a=1048575&s,l=t.directiveStart,c=s>>20,u=r?a+c:t.directiveEnd;for(let h=i?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(r){const t=o[l];if(t&&ft(t)&&t.type===n)return l}return null}function Ge(t,e,n,i){let r=t[n];const s=e.data;if(r instanceof ke){const o=r;o.resolving&&function(t,e){throw new g("200",`Circular dependency in DI detected for ${t}`)}(b(s[n]));const a=Me(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?D(o.injectImpl):null;oe(t,i,T.Default);try{r=t[n]=o.factory(void 0,s,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(i){const i=bt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==l&&D(l),Me(a),o.resolving=!1,he()}}return r}function Qe(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function Je(t,e){return!(t&T.Self||t&T.Host&&e)}class We{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return je(this._tNode,this._lView,t,void 0,e)}}function Ke(t){return F(()=>{const e=t.prototype.constructor,n=e[G]||Xe(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[G]||Xe(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function Xe(t){return m(t)?()=>{const e=Xe(f(t));return e&&e()}:mt(t)}function tn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const r=n[i];if(Ee(r))break;if(0===r)i+=2;else if("number"==typeof r)for(i++;i<t&&"string"==typeof n[i];)i++;else{if(r===e)return n[i+1];i+=2}}}return null}(jt(),t)}const en="__parameters__";function nn(t,e,n){return F(()=>{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(en)?t[en]:Object.defineProperty(t,en,{value:[]})[en];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class rn{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=y({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const sn=new rn("AnalyzeForEntryComponents"),on=Function;function an(t){return"function"==typeof t}function ln(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),ln(i,e)):e!==t&&e.push(i)}return e}function cn(t,e){t.forEach(t=>Array.isArray(t)?cn(t,e):e(t))}function un(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function hn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function dn(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function pn(t,e,n){let i=mn(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function fn(t,e){const n=mn(t,e);if(n>=0)return t[1|n]}function mn(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),s=t[n<<1];if(e===s)return n<<1;s>e?r=n:i=n+1}return~(r<<1)}(t,e)}const gn=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\))\)/,_n=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,bn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,vn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class yn{constructor(t){this._reflect=t||U.Reflect}isReflectionEnabled(){return!0}factory(t){return(...e)=>new t(...e)}_zipTypesAndAnnotations(t,e){let n;n=dn(void 0===t?e.length:t.length);for(let i=0;i<n.length;i++)n[i]=void 0===t?[]:t[i]&&t[i]!=Object?[t[i]]:[],e&&null!=e[i]&&(n[i]=n[i].concat(e[i]));return n}_ownParameters(t,e){if(n=t.toString(),gn.test(n)||vn.test(n)||_n.test(n)&&!bn.test(n))return null;var n;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;const i=t.ctorParameters;if(i&&i!==e.ctorParameters){const t="function"==typeof i?i():i,e=t.map(t=>t&&t.type),n=t.map(t=>t&&wn(t.decorators));return this._zipTypesAndAnnotations(e,n)}const r=t.hasOwnProperty(en)&&t[en],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return s||r?this._zipTypesAndAnnotations(s,r):dn(t.length)}parameters(t){if(!an(t))return[];const e=xn(t);let n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]}_ownAnnotations(t,e){if(t.annotations&&t.annotations!==e.annotations){let e=t.annotations;return"function"==typeof e&&e.annotations&&(e=e.annotations),e}return t.decorators&&t.decorators!==e.decorators?wn(t.decorators):t.hasOwnProperty("__annotations__")?t.__annotations__:null}annotations(t){if(!an(t))return[];const e=xn(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)}_ownPropMetadata(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){let e=t.propMetadata;return"function"==typeof e&&e.propMetadata&&(e=e.propMetadata),e}if(t.propDecorators&&t.propDecorators!==e.propDecorators){const e=t.propDecorators,n={};return Object.keys(e).forEach(t=>{n[t]=wn(e[t])}),n}return t.hasOwnProperty("__prop__metadata__")?t.__prop__metadata__:null}propMetadata(t){if(!an(t))return{};const e=xn(t),n={};if(e!==Object){const t=this.propMetadata(e);Object.keys(t).forEach(e=>{n[e]=t[e]})}const i=this._ownPropMetadata(t,e);return i&&Object.keys(i).forEach(t=>{const e=[];n.hasOwnProperty(t)&&e.push(...n[t]),e.push(...i[t]),n[t]=e}),n}ownPropMetadata(t){return an(t)&&this._ownPropMetadata(t,xn(t))||{}}hasLifecycleHook(t,e){return t instanceof on&&e in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n        return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${u(t)}`}resourceUri(t){return`./${u(t)}`}resolveIdentifier(t,e,n,i){return i}resolveEnum(t,e){return t[e]}}function wn(t){return t?t.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function xn(t){const e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}const Cn={},kn=/\n/gm,An=l({provide:String,useValue:l});let En;function Sn(t){const e=En;return En=t,e}function On(t,e=T.Default){if(void 0===En)throw new Error("inject() must be called from an injection context");return null===En?P(t,void 0,e):En.get(t,e&T.Optional?null:void 0,e)}function Tn(t,e=T.Default){return(I||On)(f(t),e)}const In=Tn;function Dn(t){const e=[];for(let n=0;n<t.length;n++){const i=f(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let t,n=T.Default;for(let e=0;e<i.length;e++){const r=i[e],s=r.__NG_DI_FLAG__;"number"==typeof s?-1===s?t=r.token:n|=s:t=r}e.push(Tn(t,n))}else e.push(Tn(i))}return e}function Pn(t,e){return t.__NG_DI_FLAG__=e,t.prototype.__NG_DI_FLAG__=e,t}const Fn=Pn(nn("Inject",t=>({token:t})),-1),Mn=Pn(nn("Optional"),8),Rn=Pn(nn("Self"),2),Ln=Pn(nn("SkipSelf"),4);let Zn,Nn;function Bn(t){var e;return(null===(e=function(){if(void 0===Zn&&(Zn=null,U.trustedTypes))try{Zn=U.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return Zn}())||void 0===e?void 0:e.createHTML(t))||t}function Un(){if(void 0===Nn&&(Nn=null,U.trustedTypes))try{Nn=U.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Nn}function qn(t){var e;return(null===(e=Un())||void 0===e?void 0:e.createHTML(t))||t}function zn(t){var e;return(null===(e=Un())||void 0===e?void 0:e.createScriptURL(t))||t}class jn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class $n extends jn{getTypeName(){return"HTML"}}class Yn extends jn{getTypeName(){return"Style"}}class Vn extends jn{getTypeName(){return"Script"}}class Hn extends jn{getTypeName(){return"URL"}}class Gn extends jn{getTypeName(){return"ResourceURL"}}function Qn(t){return t instanceof jn?t.changingThisBreaksApplicationSecurity:t}function Jn(t,e){const n=Wn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Wn(t){return t instanceof jn&&t.getTypeName()||null}function Kn(t){return new $n(t)}function Xn(t){return new Yn(t)}function ti(t){return new Vn(t)}function ei(t){return new Hn(t)}function ni(t){return new Gn(t)}class ii{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(Bn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class ri{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=Bn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Bn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const si=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,oi=/^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 ai(t){return(t=String(t)).match(si)||t.match(oi)?t:"unsafe:"+t}function li(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ci(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const ui=li("area,br,col,hr,img,wbr"),hi=li("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),di=li("rp,rt"),pi=ci(di,hi),fi=ci(ui,ci(hi,li("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")),ci(di,li("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")),pi),mi=li("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gi=li("srcset"),_i=ci(mi,gi,li("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"),li("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")),bi=li("script,style,template");class vi{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(!fi.hasOwnProperty(e))return this.sanitizedSomething=!0,!bi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let r=0;r<n.length;r++){const t=n.item(r),e=t.name,s=e.toLowerCase();if(!_i.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let o=t.value;mi[s]&&(o=ai(o)),gi[s]&&(i=o,o=(i=String(i)).split(",").map(t=>ai(t.trim())).join(", ")),this.buf.push(" ",e,'="',xi(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();fi.hasOwnProperty(e)&&!ui.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(xi(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const yi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wi=/([^\#-~ |!])/g;function xi(t){return t.replace(/&/g,"&amp;").replace(yi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(wi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ci;function ki(t,e){let n=null;try{Ci=Ci||function(t){const e=new ri(t);return function(){try{return!!(new window.DOMParser).parseFromString(Bn(""),"text/html")}catch(t){return!1}}()?new ii(e):e}(t);let i=e?String(e):"";n=Ci.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=Ci.getInertBodyElement(i)}while(i!==s);return Bn((new vi).sanitizeChildren(Ai(n)||n))}finally{if(n){const t=Ai(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Ai(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ei=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Si(t){const e=Ii();return e?qn(e.sanitize(Ei.HTML,t)||""):Jn(t,"HTML")?qn(Qn(t)):ki(kt(),_(t))}function Oi(t){const e=Ii();return e?e.sanitize(Ei.URL,t)||"":Jn(t,"URL")?Qn(t):ai(_(t))}function Ti(t){const e=Ii();if(e)return zn(e.sanitize(Ei.RESOURCE_URL,t)||"");if(Jn(t,"ResourceURL"))return zn(Qn(t));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Ii(){const t=Ut();return t&&t[12]}function Di(t,e){t.__ngContext__=e}function Pi(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Fi(t){return t.ngDebugContext}function Mi(t){return t.ngOriginalError}function Ri(t,...e){t.error(...e)}class Li{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||Ri}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Fi(t)?Fi(t):this._findContext(Mi(t)):null}_findOriginalError(t){let e=Mi(t);for(;e&&Mi(e);)e=Mi(e);return e}}const Zi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U))();function Ni(t){return t.ownerDocument}function Bi(t){return t.ownerDocument.body}function Ui(t){return t instanceof Function?t():t}var qi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function zi(t,e){return(void 0)(t,e)}function ji(t){const e=t[3];return ut(e)?e[3]:e}function $i(t){return Vi(t[13])}function Yi(t){return Vi(t[4])}function Vi(t){for(;null!==t&&!ut(t);)t=t[4];return t}function Hi(t,e,n,i,r){if(null!=i){let s,o=!1;ut(i)?s=i:ct(i)&&(o=!0,i=i[0]);const a=St(i);0===t&&null!==n?null==r?er(e,n,a):tr(e,n,a,r||null,!0):1===t&&null!==n?tr(e,n,a,r||null,!0):2===t?function(t,e,n){const i=ir(t,e);i&&function(t,e,n,i){At(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,i,r){const s=n[7];s!==St(n)&&Hi(e,t,i,s,r);for(let o=10;o<n.length;o++){const r=n[o];hr(r[1],r,t,e,i,s)}}(e,t,s,n,r)}}function Gi(t,e,n){return At(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Qi(t,e){const n=t[9],i=n.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,Zt(r,-1)),n.splice(i,1)}function Ji(t,e){if(t.length<=10)return;const n=10+e,i=t[n];if(i){const s=i[17];null!==s&&s!==t&&Qi(s,i),e>0&&(t[n-1][4]=i[4]);const o=hn(t,10+e);hr(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function Wi(t,e){if(!(256&e[2])){const n=e[11];At(n)&&n.destroyNode&&hr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Ki(t[1],t);for(;e;){let n=null;if(ct(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ct(e)&&Ki(e[1],e),e=e[3];null===e&&(e=t),ct(e)&&Ki(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ki(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i<n.length;i+=2){const t=e[n[i]];if(!(t instanceof ke)){const e=n[i+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2){const i=t[e[n]],r=e[n+1];try{r.call(i)}finally{}}else try{e.call(t)}finally{}}}}(t,e),function(t,e){const n=t.cleanup,i=e[7];let r=-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):St(e[t]),a=i[r=n[s+2]],l=n[s+3];"boolean"==typeof l?o.removeEventListener(n[s],a,l):l>=0?i[r=l]():i[r=-l].unsubscribe(),s+=2}else{const t=i[r=n[s+1]];n[s].call(t)}if(null!==i){for(let t=r+1;t<i.length;t++)(0,i[t])();e[7]=null}}(t,e),1===e[1].type&&At(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&ut(e[3])){n!==e[3]&&Qi(n,e);const i=e[19];null!==i&&i.detachView(t)}}}function Xi(t,e,n){return function(t,e,n){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){const e=t.data[i.directiveStart].encapsulation;if(e===R.None||e===R.Emulated)return null}return Tt(i,n)}(t,e.parent,n)}function tr(t,e,n,i,r){At(t)?t.insertBefore(e,n,i,r):e.insertBefore(n,i,r)}function er(t,e,n){At(t)?t.appendChild(e,n):e.appendChild(n)}function nr(t,e,n,i,r){null!==i?tr(t,e,n,i,r):er(t,e,n)}function ir(t,e){return At(t)?t.parentNode(e):e.parentNode}function rr(t,e,n){return sr(t,e,n)}let sr=function(t,e,n){return 40&t.type?Tt(t,n):null};function or(t,e,n,i){const r=Xi(t,i,e),s=e[11],o=rr(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(n))for(let a=0;a<n.length;a++)nr(s,r,n[a],o,!1);else nr(s,r,n,o,!1)}function ar(t,e){if(null!==e){const n=e.type;if(3&n)return Tt(e,t);if(4&n)return cr(-1,t[e.index]);if(8&n){const n=e.child;if(null!==n)return ar(t,n);{const n=t[e.index];return ut(n)?cr(-1,n):St(n)}}if(32&n)return zi(e,t)()||St(t[e.index]);{const n=lr(t,e);return null!==n?Array.isArray(n)?n[0]:ar(ji(t[16]),n):ar(t,e.next)}}return null}function lr(t,e){return null!==e?t[16][6].projection[e.projection]:null}function cr(t,e){const n=10+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return ar(t,i)}return e[7]}function ur(t,e,n,i,r,s,o){for(;null!=n;){const a=i[n.index],l=n.type;if(o&&0===e&&(a&&Di(St(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)ur(t,e,n.child,i,r,s,!1),Hi(e,t,r,a,s);else if(32&l){const o=zi(n,i);let l;for(;l=o();)Hi(e,t,r,l,s);Hi(e,t,r,a,s)}else 16&l?dr(t,e,i,n,r,s):Hi(e,t,r,a,s);n=o?n.projectionNext:n.next}}function hr(t,e,n,i,r,s){ur(n,i,t.firstChild,e,r,s,!1)}function dr(t,e,n,i,r,s){const o=n[16],a=o[6].projection[i.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Hi(e,t,r,a[l],s);else ur(t,e,a,o[3],r,s,!0)}function pr(t,e,n){At(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function fr(t,e,n){At(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function mr(t,e,n){let i=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===i||t.charCodeAt(r+n)<=32)return r}n=r+1}}function gr(t,e,n){let i=0;for(;i<t.length;){let r=t[i++];if(n&&"class"===r){if(r=t[i],-1!==mr(r.toLowerCase(),e,0))return!0}else if(1===r){for(;i<t.length&&"string"==typeof(r=t[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function _r(t){return 4===t.type&&"ng-template"!==t.value}function br(t,e,n){return e===(4!==t.type||n?t.value:"ng-template")}function vr(t,e,n){let i=4;const r=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(Ee(t[e]))return e;return t.length}(r);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!br(t,l,n)||""===l&&1===e.length){if(yr(i))return!1;o=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==t.attrs){if(!gr(t.attrs,c,n)){if(yr(i))return!1;o=!0}continue}const u=wr(8&i?"class":l,r,_r(t),n);if(-1===u){if(yr(i))return!1;o=!0;continue}if(""!==c){let t;t=u>s?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==mr(e,c,0)||2&i&&c!==t){if(yr(i))return!1;o=!0}}}}else{if(!o&&!yr(i)&&!yr(l))return!1;if(o&&yr(l))continue;o=!1,i=l|1&i}}return yr(i)||o}function yr(t){return 0==(1&t)}function wr(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r<e.length;){const i=e[r];if(i===t)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++r];for(;"string"==typeof t;)t=e[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function xr(t,e,n=!1){for(let i=0;i<e.length;i++)if(vr(t,e[i],n))return!0;return!1}function Cr(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function kr(t,e){return t?":not("+e.trim()+")":e}function Ar(t){let e=t[0],n=1,i=2,r="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&i){const e=t[++n];r+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||yr(o)||(e+=kr(s,r),r=""),i=o,s=s||!yr(i);n++}return""!==r&&(e+=kr(s,r)),e}const Er={};function Sr(t){Or(qt(),Ut(),pe()+t,Gt())}function Or(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&ve(e,i,n)}else{const i=t.preOrderHooks;null!==i&&ye(e,i,0,n)}fe(n)}function Tr(t,e){return t<<17|e<<2}function Ir(t){return t>>17&32767}function Dr(t){return 2|t}function Pr(t){return(131068&t)>>2}function Fr(t,e){return-131069&t|e<<2}function Mr(t){return 1|t}function Rr(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const n=t.data[s];re(r),n.contentQueries(2,e[s],s)}}}function Lr(t,e,n,i,r,s,o,a,l,c){const u=e.blueprint.slice();return u[0]=r,u[2]=140|i,Lt(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=s,u[16]=2==e.type?t[16]:u,u}function Zr(t,e,n,i,r){let s=t.data[e];if(null===s)s=function(t,e,n,i,r){const s=$t(),o=Vt(),a=t.data[e]=function(t,e,n,i,r,s){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,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,i,r);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,i,r),Nt.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const t=function(){const t=Nt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===t?-1:t.injectorIndex}return Yt(s,!0),s}function Nr(t,e,n,i){if(0===n)return-1;const r=e.length;for(let s=0;s<n;s++)e.push(i),t.blueprint.push(i),t.data.push(null);return r}function Br(t,e,n){ae(e);try{const i=t.viewQuery;null!==i&&ms(1,i,n);const r=t.template;null!==r&&zr(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Rr(t,e),t.staticViewQueries&&ms(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)us(t,e[n])}(e,s)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),i}finally{e[2]&=-5,de()}}function Ur(t,e,n,i){const r=e[2];if(256==(256&r))return;ae(e);const s=Gt();try{Lt(e),Nt.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&zr(t,e,n,2,i);const o=3==(3&r);if(!s)if(o){const n=t.preOrderCheckHooks;null!==n&&ve(e,n,null)}else{const n=t.preOrderHooks;null!==n&&ye(e,n,0,null),we(e,0)}if(function(t){for(let e=$i(t);null!==e;e=Yi(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],i=n[3];0==(1024&n[2])&&Zt(i,1),n[2]|=1024}}}(e),function(t){for(let e=$i(t);null!==e;e=Yi(e))for(let t=10;t<e.length;t++){const n=e[t],i=n[1];Mt(n)&&Ur(i,n,i.template,n[8])}}(e),null!==t.contentQueries&&Rr(t,e),!s)if(o){const n=t.contentCheckHooks;null!==n&&ve(e,n)}else{const n=t.contentHooks;null!==n&&ye(e,n,1),we(e,1)}!function(t,e){const n=t.hostBindingOpCodes;if(null!==n)try{for(let t=0;t<n.length;t++){const i=n[t];if(i<0)fe(~i);else{const r=i,s=n[++t],o=n[++t];te(s,r),o(2,e[r])}}}finally{fe(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)ls(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&ms(2,l,i),!s)if(o){const n=t.viewCheckHooks;null!==n&&ve(e,n)}else{const n=t.viewHooks;null!==n&&ye(e,n,2),we(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Zt(e[3],-1))}finally{de()}}function qr(t,e,n,i){const r=e[10],s=!Gt(),o=Ft(e);try{s&&!o&&r.begin&&r.begin(),o&&Br(t,e,i),Ur(t,e,n,i)}finally{s&&!o&&r.end&&r.end()}}function zr(t,e,n,i,r){const s=pe(),o=2&i;try{fe(-1),o&&e.length>20&&Or(t,e,20,Gt()),n(i,r)}finally{fe(s)}}function jr(t,e,n){if(ht(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r<i;r++){const e=t.data[r];e.contentQueries&&e.contentQueries(1,n[r],r)}}}function $r(t,e,n){Bt()&&(function(t,e,n,i){const r=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Le(n,e),Di(i,e);const o=n.initialInputs;for(let a=r;a<s;a++){const i=t.data[a],s=ft(i);s&&rs(e,n,i);const l=Ge(e,t,a,n);Di(l,e),null!==o&&ss(0,a-r,l,i,0,o),s&&(Pt(n.index,e)[8]=l)}}(t,e,n,Tt(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,r=n.directiveEnd,s=n.index,o=Nt.lFrame.currentDirectiveIndex;try{fe(s);for(let n=i;n<r;n++){const i=t.data[n],r=e[n];ee(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||Xr(i,r)}}finally{fe(-1),ee(o)}}(t,e,n))}function Yr(t,e,n=Tt){const i=e.localNames;if(null!==i){let r=e.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],a=-1===o?n(e,t):t[o];t[r++]=a}}}function Vr(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Hr(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Hr(t,e,n,i,r,s,o,a,l,c){const u=20+i,h=u+r,d=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:Er);return n}(u,h),p="function"==typeof c?c():c;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function Gr(t,e,n,i){const r=_s(e);null===n?r.push(i):(r.push(n),t.firstCreatePass&&bs(t).push(i,r.length-1))}function Qr(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const r=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,r):n[i]=[e,r]}return n}function Jr(t,e,n,i,r,s,o,a){const l=Tt(e,n);let c,u=e.inputs;var h;!a&&null!=u&&(c=u[i])?(ws(t,n,c,i,r),dt(e)&&function(t,e){const n=Pt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i="class"===(h=i)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,r=null!=o?o(r,e.value||"",i):r,At(s)?s.setProperty(l,i,r):Se(i)||(l.setProperty?l.setProperty(i,r):l[i]=r))}function Wr(t,e,n,i){let r=!1;if(Bt()){const s=function(t,e,n){const i=t.directiveRegistry;let r=null;if(i)for(let s=0;s<i.length;s++){const o=i[s];xr(n,o.selectors,!1)&&(r||(r=[]),Ue(Le(n,e),t,o.type),ft(o)?(ts(t,n),r.unshift(o)):r.push(o))}return r}(t,e,n),o=null===i?null:{"":-1};if(null!==s){r=!0,ns(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}let i=!1,a=!1,l=Nr(t,e,s.length,null);for(let r=0;r<s.length;r++){const c=s[r];n.mergedAttrs=Oe(n.mergedAttrs,c.hostAttrs),is(t,n,e,l,c),es(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!i&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),i=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(t,e){const n=e.directiveEnd,i=t.data,r=e.attrs,s=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=i[l],n=t.inputs,c=null===r||_r(e)?null:os(n,r);s.push(c),o=Qr(n,l,o),a=Qr(t.outputs,l,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 i=t.localNames=[];for(let t=0;t<e.length;t+=2){const r=n[e[t+1]];if(null==r)throw new g("301",`Export of name '${e[t+1]}' not found!`);i.push(e[t],r)}}}(n,i,o)}return n.mergedAttrs=Oe(n.mergedAttrs,n.attrs),r}function Kr(t,e,n,i,r,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(i,r,o)}}function Xr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function ts(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function es(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;ft(e)&&(n[""]=t)}}function ns(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function is(t,e,n,i,r){t.data[i]=r;const s=r.factory||(r.factory=mt(r.type)),o=new ke(s,ft(r),null);t.blueprint[i]=o,n[i]=o,Kr(t,e,0,i,Nr(t,n,r.hostVars,Er),r)}function rs(t,e,n){const i=Tt(e,t),r=Vr(n),s=t[10],o=hs(t,Lr(t,r,null,n.onPush?64:16,i,e,s,s.createRenderer(i,n),null,null));t[e.index]=o}function ss(t,e,n,i,r,s){const o=s[e];if(null!==o){const t=i.setInput;for(let e=0;e<o.length;){const r=o[e++],s=o[e++],a=o[e++];null!==t?i.setInput(n,a,r,s):n[s]=a}}}function os(t,e){let n=null,i=0;for(;i<e.length;){const r=e[i];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[i+1])),i+=2}else i+=2;else i+=4}return n}function as(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function ls(t,e){const n=Pt(e,t);if(Mt(n)){const t=n[1];80&n[2]?Ur(t,n,t.template,n[8]):n[5]>0&&cs(n)}}function cs(t){for(let n=$i(t);null!==n;n=Yi(n))for(let t=10;t<n.length;t++){const e=n[t];if(1024&e[2]){const t=e[1];Ur(t,e,t.template,e[8])}else e[5]>0&&cs(e)}const e=t[1].components;if(null!==e)for(let n=0;n<e.length;n++){const i=Pt(e[n],t);Mt(i)&&i[5]>0&&cs(i)}}function us(t,e){const n=Pt(e,t),i=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),Br(i,n,n[8])}function hs(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function ds(t){for(;t;){t[2]|=64;const e=ji(t);if(0!=(512&t[2])&&!e)return t;t=e}return null}function ps(t,e,n){const i=e[10];i.begin&&i.begin();try{Ur(t,e,t.template,n)}catch(r){throw ys(e,r),r}finally{i.end&&i.end()}}function fs(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=Pi(n),r=i[1];qr(r,i,r.template,n)}}(t[8])}function ms(t,e,n){re(0),e(t,n)}const gs=(()=>Promise.resolve(null))();function _s(t){return t[7]||(t[7]=[])}function bs(t){return t.cleanup||(t.cleanup=[])}function vs(t,e,n){return(null===t||ft(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],i=n?n.get(Li,null):null;i&&i.handleError(e)}function ws(t,e,n,i,r){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function xs(t,e,n){const i=Ot(e,t);!function(t,e,n){At(t)?t.setValue(e,n):e.textContent=n}(t[11],i,n)}function Cs(t,e,n){let i=n?t.styles:null,r=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?r=h(r,t):2==s&&(i=h(i,t+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=r:t.classesWithoutHost=r}const ks=new rn("INJECTOR",-1);class As{get(t,e=Cn){if(e===Cn){const e=new Error(`NullInjectorError: No provider for ${u(t)}!`);throw e.name="NullInjectorError",e}return e}}const Es=new rn("Set Injector scope."),Ss={},Os={};let Ts;function Is(){return void 0===Ts&&(Ts=new As),Ts}function Ds(t,e=null,n=null,i){return new Ps(t,n,e||Is(),i)}class Ps{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];e&&cn(e,n=>this.processProvider(n,t,e)),cn([t],t=>this.processInjectorType(t,[],r)),this.records.set(ks,Rs(void 0,this));const s=this.records.get(Es);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:u(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Cn,n=T.Default){this.assertNotDestroyed();const i=Sn(this);try{if(!(n&T.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof rn)&&x(t);e=n&&this.injectableDefInScope(n)?Rs(Fs(t),Ss):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&T.Self?Is():this.parent).get(t,e=n&T.Optional&&e===Cn?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(u(t)),i)throw s;return function(t,e,n,i){const r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let r=u(e);if(Array.isArray(e))r=e.map(u).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):u(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(kn,"\n  ")}`}("\n"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{Sn(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(u(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=f(t)))return!1;let i=k(t);const r=null==i&&t.ngModule||void 0,s=void 0===r?t:r,o=-1!==n.indexOf(s);if(void 0!==r&&(i=k(r)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(s);try{cn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];cn(i,t=>this.processProvider(t,n,i||z))}}this.injectorDefTypes.add(s);const a=mt(s)||(()=>new s);this.records.set(s,Rs(a,Ss));const l=i.providers;if(null!=l&&!o){const e=t;cn(l,t=>this.processProvider(t,e,l))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=Zs(t=f(t))?t:f(t&&t.provide);const r=function(t,e,n){return Ls(t)?Rs(void 0,t.useValue):Rs(Ms(t),Ss)}(t);if(Zs(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Rs(void 0,Ss,!0),e.factory=()=>Dn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){var n;return e.value===Ss&&(e.value=Os,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=f(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Fs(t){const e=x(t),n=null!==e?e.factory:mt(t);if(null!==n)return n;if(t instanceof rn)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=dn(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[A]||t[S]);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 Ms(t,e,n){let i;if(Zs(t)){const e=f(t);return mt(e)||Fs(e)}if(Ls(t))i=()=>f(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...Dn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>Tn(f(t.useExisting));else{const e=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return mt(e)||Fs(e);i=()=>new e(...Dn(t.deps))}var r;return i}function Rs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Ls(t){return null!==t&&"object"==typeof t&&An in t}function Zs(t){return"function"==typeof t}const Ns=function(t,e,n){return function(t,e=null,n=null,i){const r=Ds(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)};let Bs=(()=>{class t{static create(t,e){return Array.isArray(t)?Ns(t,e,""):Ns(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Cn,t.NULL=new As,t.\u0275prov=y({token:t,providedIn:"any",factory:()=>Tn(ks)}),t.__NG_ELEMENT_ID__=-1,t})();function Us(t,e){be(Pi(t)[1],jt())}function qs(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let r;if(ft(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=zs(t.inputs),e.declaredInputs=zs(t.declaredInputs),e.outputs=zs(t.outputs);const n=r.hostBindings;n&&Ys(t,n);const s=r.viewQuery,o=r.contentQueries;if(s&&js(t,s),o&&$s(t,o),c(t.inputs,r.inputs),c(t.declaredInputs,r.declaredInputs),c(t.outputs,r.outputs),ft(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}}const e=r.features;if(e)for(let i=0;i<e.length;i++){const r=e[i];r&&r.ngInherit&&r(t),r===qs&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Oe(r.hostAttrs,n=Oe(n,r.hostAttrs))}}(i)}function zs(t){return t===q?{}:t===z?[]:t}function js(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function $s(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function Ys(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let Vs=null;function Hs(){if(!Vs){const t=U.Symbol;if(t&&t.iterator)Vs=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&&(Vs=n)}}}return Vs}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 Qs(t){return!!Js(t)&&(Array.isArray(t)||!(t instanceof Map)&&Hs()in t)}function Js(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ws(t,e,n){return t[e]=n}function Ks(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Xs(t,e,n,i){const r=Ks(t,e,n);return Ks(t,e+1,i)||r}function to(t,e,n,i){const r=Ut();return Ks(r,Kt(),e)&&(qt(),function(t,e,n,i,r,s){const o=Tt(t,e);!function(t,e,n,i,r,s,o){if(null==s)At(t)?t.removeAttribute(e,r,n):e.removeAttribute(r);else{const a=null==o?_(s):o(s,i||"",r);At(t)?t.setAttribute(e,r,a,n):n?e.setAttributeNS(n,r,a):e.setAttribute(r,a)}}(e[11],o,s,t.value,n,i,r)}(me(),r,t,e,n,i)),to}function eo(t,e,n,i){return Ks(t,Kt(),n)?e+_(n)+i:Er}function no(t,e,n,i,r,s,o,a){const l=Ut(),c=qt(),u=t+20,h=c.firstCreatePass?function(t,e,n,i,r,s,o,a,l){const c=e.consts,u=Zr(e,t,4,o||null,Rt(c,a));Wr(e,n,u,Rt(c,l)),be(e,u);const h=u.tViews=Hr(2,u,i,r,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(u,c,l,e,n,i,r,s,o):c.data[u];Yt(h,!1);const d=l[11].createComment("");or(c,l,d,h),Di(d,l),hs(l,l[u]=as(d,l,d,h)),pt(h)&&$r(c,l,h),null!=o&&Yr(l,h,a)}function io(t){return Dt(Nt.lFrame.contextLView,20+t)}function ro(t){return t.length>1?" ("+function(t){const e=[];for(let n=0;n<t.length;++n){if(e.indexOf(t[n])>-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(t=>u(t.token)).join(" -> ")+")":""}function so(t,e,n,i){const r=[e],s=n(r),o=i?function(t,e){const n=`${t} caused by: ${e instanceof Error?e.message:e}`,i=Error(n);return i.ngOriginalError=e,i}(s,i):Error(s);return o.addKey=oo,o.keys=r,o.injectors=[t],o.constructResolvingMessage=n,o.ngOriginalError=i,o}function oo(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function ao(t,e){const n=[];for(let i=0,r=e.length;i<r;i++){const t=e[i];n.push(t&&0!=t.length?t.map(u).join(" "):"?")}return Error("Cannot resolve all parameters for '"+u(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+u(t)+"' is decorated with Injectable.")}class lo{constructor(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!");this.displayName=u(this.token)}static get(t){return uo.get(f(t))}static get numberOfKeys(){return uo.numberOfKeys}}class co{constructor(){this._allKeys=new Map}get(t){if(t instanceof lo)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const e=new lo(t,lo.numberOfKeys);return this._allKeys.set(t,e),e}get numberOfKeys(){return this._allKeys.size}}const uo=new co;class ho{constructor(t){this.reflectionCapabilities=t}updateCapabilities(t){this.reflectionCapabilities=t}factory(t){return this.reflectionCapabilities.factory(t)}parameters(t){return this.reflectionCapabilities.parameters(t)}annotations(t){return this.reflectionCapabilities.annotations(t)}propMetadata(t){return this.reflectionCapabilities.propMetadata(t)}hasLifecycleHook(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)}getter(t){return this.reflectionCapabilities.getter(t)}setter(t){return this.reflectionCapabilities.setter(t)}method(t){return this.reflectionCapabilities.method(t)}importUri(t){return this.reflectionCapabilities.importUri(t)}resourceUri(t){return this.reflectionCapabilities.resourceUri(t)}resolveIdentifier(t,e,n,i){return this.reflectionCapabilities.resolveIdentifier(t,e,n,i)}resolveEnum(t,e){return this.reflectionCapabilities.resolveEnum(t,e)}}const po=new ho(new yn);class fo{constructor(t,e,n){this.key=t,this.optional=e,this.visibility=n}static fromKey(t){return new fo(t,!1,null)}}const mo=[];class go{constructor(t,e,n){this.key=t,this.resolvedFactories=e,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class _o{constructor(t,e){this.factory=t,this.dependencies=e}}function bo(t){let e,n;if(t.useClass){const i=f(t.useClass);e=po.factory(i),n=xo(i)}else t.useExisting?(e=t=>t,n=[fo.fromKey(lo.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=function(t,e){if(e){const n=e.map(t=>[t]);return e.map(e=>Co(t,e,n))}return xo(t)}(t.useFactory,t.deps)):(e=()=>t.useValue,n=mo);return new _o(e,n)}function vo(t){return new go(lo.get(t.provide),[bo(t)],t.multi||!1)}function yo(t){const e=function(t,e){for(let n=0;n<t.length;n++){const i=t[n],r=e.get(i.key.id);if(r){if(i.multiProvider!==r.multiProvider)throw Error(`Cannot mix multi providers and regular providers, got: ${r} ${i}`);if(i.multiProvider)for(let t=0;t<i.resolvedFactories.length;t++)r.resolvedFactories.push(i.resolvedFactories[t]);else e.set(i.key.id,i)}else{let t;t=i.multiProvider?new go(i.key,i.resolvedFactories.slice(),i.multiProvider):i,e.set(i.key.id,t)}}return e}(wo(t,[]).map(vo),new Map);return Array.from(e.values())}function wo(t,e){return t.forEach(t=>{if(t instanceof on)e.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)e.push(t);else{if(!Array.isArray(t))throw Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${t}`);wo(t,e)}}),e}function xo(t){const e=po.parameters(t);if(!e)return[];if(e.some(t=>null==t))throw ao(t,e);return e.map(n=>Co(t,n,e))}function Co(t,e,n){let i=null,r=!1;if(!Array.isArray(e))return ko(e instanceof Fn?e.token:e,r,null);let s=null;for(let o=0;o<e.length;++o){const t=e[o];t instanceof on?i=t:t instanceof Fn?i=t.token:t instanceof Mn?r=!0:t instanceof Rn||t instanceof Ln?s=t:t instanceof rn&&(i=t)}if(i=f(i),null!=i)return ko(i,r,s);throw ao(t,n)}function ko(t,e,n){return new fo(lo.get(t),e,n)}const Ao={};class Eo{static resolve(t){return yo(t)}static resolveAndCreate(t,e){const n=Eo.resolve(t);return Eo.fromResolvedProviders(n,e)}static fromResolvedProviders(t,e){return new So(t,e)}}let So=(()=>{class t{constructor(t,e){this._constructionCounter=0,this._providers=t,this.parent=e||null;const n=t.length;this.keyIds=[],this.objs=[];for(let i=0;i<n;i++)this.keyIds[i]=t[i].key.id,this.objs[i]=Ao}get(t,e=Cn){return this._getByKey(lo.get(t),null,e)}resolveAndCreateChild(t){const e=Eo.resolve(t);return this.createChildFromResolved(e)}createChildFromResolved(e){const n=new t(e);return n.parent=this,n}resolveAndInstantiate(t){return this.instantiateResolved(Eo.resolve([t])[0])}instantiateResolved(t){return this._instantiateProvider(t)}getProviderAtIndex(t){if(t<0||t>=this._providers.length)throw function(t){return Error(`Index ${t} is out-of-bounds.`)}(t);return this._providers[t]}_new(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw so(this,t.key,function(t){return`Cannot instantiate cyclic dependency!${ro(t)}`});return this._instantiateProvider(t)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(t){if(t.multiProvider){const e=[];for(let n=0;n<t.resolvedFactories.length;++n)e[n]=this._instantiate(t,t.resolvedFactories[n]);return e}return this._instantiate(t,t.resolvedFactories[0])}_instantiate(t,e){const n=e.factory;let i,r;try{i=e.dependencies.map(t=>this._getByReflectiveDependency(t))}catch(o){throw o.addKey&&o.addKey(this,t.key),o}try{r=n(...i)}catch(o){throw so(this,t.key,function(t){const e=u(t[0].token);return`${s.message}: Error during instantiation of ${e}!${ro(t)}.`},s=o)}var s;return r}_getByReflectiveDependency(t){return this._getByKey(t.key,t.visibility,t.optional?null:Cn)}_getByKey(e,n,i){return e===t.INJECTOR_KEY?this:n instanceof Rn?this._getByKeySelf(e,i):this._getByKeyDefault(e,i,n)}_getObjByKeyId(t){for(let e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===t)return this.objs[e]===Ao&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return Ao}_throwOrNull(t,e){if(e!==Cn)return e;throw function(t,e){return so(t,e,function(t){return`No provider for ${u(t[0].token)}!${ro(t)}`})}(this,t)}_getByKeySelf(t,e){const n=this._getObjByKeyId(t.id);return n!==Ao?n:this._throwOrNull(t,e)}_getByKeyDefault(e,n,i){let r;for(r=i instanceof Ln?this.parent:this;r instanceof t;){const t=r,n=t._getObjByKeyId(e.id);if(n!==Ao)return n;r=t.parent}return null!==r?r.get(e.token,n):this._throwOrNull(e,n)}get displayName(){return`ReflectiveInjector(providers: [${function(t,e){const n=[];for(let i=0;i<t._providers.length;++i)n[i]=' "'+t.getProviderAtIndex(i).key.displayName+'" ';return n}(this).join(", ")}])`}toString(){return this.displayName}}return t.INJECTOR_KEY=lo.get(Bs),t})();function Oo(t,e=T.Default){const n=Ut();return null===n?Tn(t,e):je(jt(),n,f(t),e)}function To(t,e,n){const i=Ut();return Ks(i,Kt(),e)&&Jr(qt(),me(),i,t,e,i[11],n,!1),To}function Io(t,e,n,i,r){const s=r?"class":"style";ws(t,n,e.inputs[s],s,i)}function Do(t,e,n,i){const r=Ut(),s=qt(),o=20+t,a=r[11],l=r[o]=Gi(a,e,Nt.lFrame.currentNamespace),c=s.firstCreatePass?function(t,e,n,i,r,s,o){const a=e.consts,l=Zr(e,t,2,r,Rt(a,s));return Wr(e,n,l,Rt(a,o)),null!==l.attrs&&Cs(l,l.attrs,!1),null!==l.mergedAttrs&&Cs(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(o,s,r,0,e,n,i):s.data[o];Yt(c,!0);const u=c.mergedAttrs;null!==u&&Ae(a,l,u);const h=c.classes;null!==h&&fr(a,l,h);const d=c.styles;null!==d&&pr(a,l,d),64!=(64&c.flags)&&or(s,r,l,c),0===Nt.lFrame.elementDepthCount&&Di(l,r),Nt.lFrame.elementDepthCount++,pt(c)&&($r(s,r,c),jr(s,c,r)),null!==i&&Yr(r,c)}function Po(){let t=jt();Vt()?Ht():(t=t.parent,Yt(t,!1));const e=t;Nt.lFrame.elementDepthCount--;const n=qt();n.firstCreatePass&&(be(n,t),ht(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Io(n,e,Ut(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Io(n,e,Ut(),e.stylesWithoutHost,!1)}function Fo(t,e,n,i){Do(t,e,n,i),Po()}function Mo(t,e,n){const i=Ut(),r=qt(),s=t+20,o=r.firstCreatePass?function(t,e,n,i,r){const s=e.consts,o=Rt(s,i),a=Zr(e,t,8,"ng-container",o);return null!==o&&Cs(a,o,!0),Wr(e,n,a,Rt(s,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(s,r,i,e,n):r.data[s];Yt(o,!0);const a=i[s]=i[11].createComment("");or(r,i,a,o),Di(a,i),pt(o)&&($r(r,i,o),jr(r,o,i)),null!=n&&Yr(i,o)}function Ro(){let t=jt();const e=qt();Vt()?Ht():(t=t.parent,Yt(t,!1)),e.firstCreatePass&&(be(e,t),ht(t)&&e.queries.elementEnd(t))}function Lo(t,e,n){Mo(t,e,n),Ro()}function Zo(){return Ut()}function No(t){return!!t&&"function"==typeof t.then}function Bo(t){return!!t&&"function"==typeof t.subscribe}const Uo=Bo;function qo(t,e,n,i){const r=Ut(),s=qt(),o=jt();return jo(s,r,r[11],o,t,e,!!n,i),qo}function zo(t,e){const n=jt(),i=Ut(),r=qt();return jo(r,i,vs(ne(r.data),n,i),n,t,e,!1),zo}function jo(t,e,n,i,r,s,o,a){const l=pt(i),c=t.firstCreatePass&&bs(t),u=_s(e);let h=!0;if(3&i.type||a){const d=Tt(i,e),p=a?a(d):d,f=u.length,m=a?t=>a(St(t[i.index])):i.index;if(At(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const t=r[s];if(t===n&&r[s+1]===i){const t=e[7],n=r[s+2];return t.length>n?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,r,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1;else{s=Yo(i,e,0,s,!1);const t=n.listen(p,r,s);u.push(s,t),c&&c.push(r,m,f,f+1)}}else s=Yo(i,e,0,s,!0),p.addEventListener(r,s,o),u.push(s),c&&c.push(r,m,f,o)}else s=Yo(i,e,0,s,!1);const d=i.outputs;let p;if(h&&null!==d&&(p=d[r])){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=u.length;u.push(s,t),c&&c.push(r,i.index,o,-(o+1))}}}function $o(t,e,n,i){try{return!1!==n(i)}catch(r){return ys(t,r),!1}}function Yo(t,e,n,i,r){return function n(s){if(s===Function)return i;const o=2&t.flags?Pt(t.index,e):e;0==(32&e[2])&&ds(o);let a=$o(e,0,i,s),l=n.__ngNextListenerFn__;for(;l;)a=$o(e,0,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function Vo(t=1){return function(t){return(Nt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Nt.lFrame.contextLView))[8]}(t)}function Ho(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let r=0;r<e.length;r++){const s=e[r];if("*"!==s){if(null===i?xr(t,s,!0):Cr(i,s))return r}else n=r}return n}function Go(t){const e=Ut()[16][6];if(!e.projection){const n=e.projection=dn(t?t.length:1,null),i=n.slice();let r=e.child;for(;null!==r;){const e=t?Ho(r,t):0;null!==e&&(i[e]?i[e].projectionNext=r:n[e]=r,i[e]=r),r=r.next}}}function Qo(t,e=0,n){const i=Ut(),r=qt(),s=Zr(r,20+t,16,null,n||null);null===s.projection&&(s.projection=e),Ht(),64!=(64&s.flags)&&function(t,e,n){dr(e[11],0,e,n,Xi(t,n,e),rr(n.parent||e[6],n,e))}(r,i,s)}function Jo(t,e,n){return Wo(t,"",e,"",n),Jo}function Wo(t,e,n,i,r){const s=Ut(),o=eo(s,e,n,i);return o!==Er&&Jr(qt(),me(),s,t,o,s[11],r,!1),Wo}function Ko(t,e,n,i,r){const s=t[n+1],o=null===e;let a=i?Ir(s):Pr(s),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];Xo(t[a],e)&&(l=!0,t[a+1]=i?Mr(n):Dr(n)),a=i?Ir(n):Pr(n)}l&&(t[n+1]=i?Dr(s):Mr(s))}function Xo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&mn(t,e)>=0}const ta={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ea(t){return t.substring(ta.key,ta.keyEnd)}function na(t){return t.substring(ta.value,ta.valueEnd)}function ia(t,e){const n=ta.textEnd;return n===e?-1:(e=ta.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,ta.key=e,n),oa(t,e,n))}function ra(t,e){const n=ta.textEnd;let i=ta.key=oa(t,e,n);return n===i?-1:(i=ta.keyEnd=function(t,e,n){let i;for(;e<n&&(45===(i=t.charCodeAt(e))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)e++;return e}(t,i,n),i=aa(t,i,n),i=ta.value=oa(t,i,n),i=ta.valueEnd=function(t,e,n){let i=-1,r=-1,s=-1,o=e,a=o;for(;o<n;){const l=t.charCodeAt(o++);if(59===l)return a;34===l||39===l?a=o=la(t,l,o,n):e===o-4&&85===s&&82===r&&76===i&&40===l?a=o=la(t,41,o,n):l>32&&(a=o),s=r,r=i,i=-33&l}return a}(t,i,n),aa(t,i,n))}function sa(t){ta.key=0,ta.keyEnd=0,ta.value=0,ta.valueEnd=0,ta.textEnd=t.length}function oa(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function aa(t,e,n,i){return(e=oa(t,e,n))<n&&e++,e}function la(t,e,n,i){let r=-1,s=n;for(;s<i;){const n=t.charCodeAt(s++);if(n==e&&92!==r)return s;r=92==n&&92===r?0:n}throw new Error}function ca(t,e,n){return ma(t,e,n,!1),ca}function ua(t,e){return ma(t,e,null,!0),ua}function ha(t){ga(wa,da,t,!1)}function da(t,e){for(let n=function(t){return sa(t),ra(t,oa(t,0,ta.textEnd))}(e);n>=0;n=ra(e,n))wa(t,ea(e),na(e))}function pa(t){ga(pn,fa,t,!0)}function fa(t,e){for(let n=function(t){return sa(t),ia(t,oa(t,0,ta.textEnd))}(e);n>=0;n=ia(e,n))pn(t,ea(e),!0)}function ma(t,e,n,i){const r=Ut(),s=qt(),o=Xt(2);s.firstUpdatePass&&ba(s,t,o,i),e!==Er&&Ks(r,o,e)&&xa(s,s.data[pe()],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(Qn(t)))),t}(e,n),i,o)}function ga(t,e,n,i){const r=qt(),s=Xt(2);r.firstUpdatePass&&ba(r,null,s,i);const o=Ut();if(n!==Er&&Ks(o,s,n)){const a=r.data[pe()];if(Aa(a,i)&&!_a(r,s)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=h(t,n||"")),Io(r,a,o,n,i)}else!function(t,e,n,i,r,s,o,a){r===Er&&(r=z);let l=0,c=0,u=0<r.length?r[0]:null,h=0<s.length?s[0]:null;for(;null!==u||null!==h;){const d=l<r.length?r[l+1]:void 0,p=c<s.length?s[c+1]:void 0;let f,m=null;u===h?(l+=2,c+=2,d!==p&&(m=h,f=p)):null===h||null!==u&&u<h?(l+=2,m=u):(c+=2,m=h,f=p),null!==m&&xa(t,e,n,i,m,f,o,a),u=l<r.length?r[l]:null,h=c<s.length?s[c]:null}}(r,a,o,o[11],o[s+1],o[s+1]=function(t,e,n){if(null==n||""===n)return z;const i=[],r=Qn(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)t(i,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&t(i,s,r[s]);else"string"==typeof r&&e(i,r);return i}(t,e,n),i,s)}}function _a(t,e){return e>=t.expandoStartIndex}function ba(t,e,n,i){const r=t.data;if(null===r[n+1]){const s=r[pe()],o=_a(t,n);Aa(s,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const r=ne(t);let s=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=ya(n=va(null,t,e,n,i),e.attrs,i),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=va(r,t,e,n,i),null===s){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==Pr(i))return t[Ir(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=va(null,t,e,n[1],i),n=ya(n,e.attrs,i),function(t,e,n,i){t[Ir(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else s=function(t,e,n){let i;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<r;s++)i=ya(i,t[s].hostAttrs,n);return ya(i,e.attrs,n)}(t,e,i)}return void 0!==s&&(i?e.residualClasses=s:e.residualStyles=s),n}(r,s,e,i),function(t,e,n,i,r,s){let o=s?e.classBindings:e.styleBindings,a=Ir(o),l=Pr(o);t[i]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||mn(t,c)>0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=Ir(t[a+1]);t[i+1]=Tr(e,a),0!==e&&(t[e+1]=Fr(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=Tr(a,0),0!==a&&(t[a+1]=Fr(t[a+1],i)),a=i;else t[i+1]=Tr(l,0),0===a?a=i:t[l+1]=Fr(t[l+1],i),l=i;u&&(t[i+1]=Dr(t[i+1])),Ko(t,c,i,!0),Ko(t,c,i,!1),function(t,e,n,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&mn(s,e)>=0&&(n[i+1]=Mr(n[i+1]))}(e,c,t,i,s),o=Tr(a,l),s?e.classBindings=o:e.styleBindings=o}(r,s,e,n,o,i)}}function va(t,e,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=e[a],i=ya(i,s.hostAttrs,r),s!==t);)a++;return null!==t&&(n.directiveStylingLast=a),i}function ya(t,e,n){const i=n?1:2;let r=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?r=o:r===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),pn(t,o,!!n||e[++s]))}return void 0===t?null:t}function wa(t,e,n){pn(t,e,Qn(n))}function xa(t,e,n,i,r,s,o,a){if(!(3&e.type))return;const l=t.data,c=l[a+1];ka(1==(1&c)?Ca(l,e,n,r,Pr(c),o):void 0)||(ka(s)||2==(2&c)&&(s=Ca(l,null,n,r,a,o)),function(t,e,n,i,r){const s=At(t);if(e)r?s?t.addClass(n,i):n.classList.add(i):s?t.removeClass(n,i):n.classList.remove(i);else{let e=-1===i.indexOf("-")?void 0:qi.DashCase;if(null==r)s?t.removeStyle(n,i,e):n.style.removeProperty(i);else{const o="string"==typeof r&&r.endsWith("!important");o&&(r=r.slice(0,-10),e|=qi.Important),s?t.setStyle(n,i,r,e):n.style.setProperty(i,r,o?"important":"")}}}(i,o,Ot(pe(),n),r,s))}function Ca(t,e,n,i,r,s){const o=null===e;let a;for(;r>0;){const e=t[r],s=Array.isArray(e),l=s?e[1]:e,c=null===l;let u=n[r+1];u===Er&&(u=c?z:void 0);let h=c?fn(u,i):l===i?u:void 0;if(s&&!ka(h)&&(h=fn(e,i)),ka(h)&&(a=h,o))return a;const d=t[r+1];r=o?Ir(d):Pr(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=fn(t,i))}return a}function ka(t){return void 0!==t}function Aa(t,e){return 0!=(t.flags&(e?16:32))}function Ea(t,e=""){const n=Ut(),i=qt(),r=t+20,s=i.firstCreatePass?Zr(i,r,1,e,null):i.data[r],o=n[r]=function(t,e){return At(t)?t.createText(e):t.createTextNode(e)}(n[11],e);or(i,n,o,s),Yt(s,!1)}function Sa(t){return Oa("",t,""),Sa}function Oa(t,e,n){const i=Ut(),r=eo(i,t,e,n);return r!==Er&&xs(i,pe(),r),Oa}function Ta(t,e,n,i,r){const s=Ut(),o=function(t,e,n,i,r,s){const o=Xs(t,Wt(),n,r);return Xt(2),o?e+_(n)+i+_(r)+s:Er}(s,t,e,n,i,r);return o!==Er&&xs(s,pe(),o),Ta}function Ia(t,e,n,i,r,s,o,a,l){const c=Ut(),u=function(t,e,n,i,r,s,o,a,l,c){const u=function(t,e,n,i,r,s){const o=Xs(t,e,n,i);return Xs(t,e+2,r,s)||o}(t,Wt(),n,r,o,l);return Xt(4),u?e+_(n)+i+_(r)+s+_(o)+a+_(l)+c:Er}(c,t,e,n,i,r,s,o,a,l);return u!==Er&&xs(c,pe(),u),Ia}function Da(t,e,n){ga(pn,fa,eo(Ut(),t,e,n),!0)}function Pa(t,e,n){const i=Ut();return Ks(i,Kt(),e)&&Jr(qt(),me(),i,t,e,i[11],n,!0),Pa}function Fa(t,e,n){const i=Ut();if(Ks(i,Kt(),e)){const r=qt(),s=me();Jr(r,s,i,t,e,vs(ne(r.data),s,i),n,!0)}return Fa}const Ma=void 0;var Ra=["en",[["a","p"],["AM","PM"],Ma],[["AM","PM"],Ma,Ma],[["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"]],Ma,[["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"]],Ma,[["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}",Ma,"{1} 'at' {0}",Ma],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let La={};function Za(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Ba(e);if(n)return n;const i=e.split("-")[0];if(n=Ba(i),n)return n;if("en"===i)return Ra;throw new Error(`Missing locale data for the locale "${t}".`)}function Na(t){return Za(t)[Ua.PluralCase]}function Ba(t){return t in La||(La[t]=U.ng&&U.ng.common&&U.ng.common.locales&&U.ng.common.locales[t]),La[t]}var Ua=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let qa="en-US";function za(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(qa=t.toLowerCase().replace(/_/g,"-"))}function ja(t,e,n,i,r){if(t=f(t),Array.isArray(t))for(let s=0;s<t.length;s++)ja(t[s],e,n,i,r);else{const s=qt(),o=Ut();let a=Zs(t)?t:f(t.provide),l=Ms(t);const c=jt(),u=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(Zs(t)||!t.multi){const i=new ke(l,r,Oo),p=Va(a,e,r?u:u+d,h);-1===p?(Ue(Le(c,o),s,a),$a(s,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=Va(a,e,u+d,h),f=Va(a,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(r&&!g||!r&&!m){Ue(Le(c,o),s,a);const u=function(t,e,n,i,r){const s=new ke(t,n,Oo);return s.multi=[],s.index=e,s.componentProviders=0,Ya(s,r,i&&!n),s}(r?Ga:Ha,n.length,r,i,l);!r&&g&&(n[f].providerFactory=u),$a(s,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else $a(s,t,p>-1?p:f,Ya(n[r?f:p],l,!r&&i));!r&&i&&g&&n[f].componentProviders++}}}function $a(t,e,n,i){const r=Zs(e);if(r||e.useClass){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,s]):o[t+1].push(i,s)}else o.push(n,s)}}}function Ya(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Va(t,e,n,i){for(let r=n;r<i;r++)if(e[r]===t)return r;return-1}function Ha(t,e,n,i){return Qa(this.multi,[])}function Ga(t,e,n,i){const r=this.multi;let s;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Ge(n,n[1],this.providerFactory.index,i);s=e.slice(0,t),Qa(r,s);for(let n=t;n<e.length;n++)s.push(e[n])}else s=[],Qa(r,s);return s}function Qa(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Ja(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=qt();if(i.firstCreatePass){const r=ft(t);ja(n,i.data,i.blueprint,r,!0),ja(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class Wa{}class Ka{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Xa=(()=>{class t{}return t.NULL=new Ka,t})();function tl(...t){}function el(t,e){return new il(Tt(t,e))}const nl=function(){return el(jt(),Ut())};let il=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=nl,t})();function rl(t){return t instanceof il?t.nativeElement:t}class sl{}let ol=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>al(),t})();const al=function(){const t=Ut(),e=Pt(jt().index,t);return function(t){return t[11]}(ct(e)?e:t)};let ll=(()=>{class t{}return t.\u0275prov=y({token:t,providedIn:"root",factory:()=>null}),t})();class cl{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ul=new cl("12.0.3");class hl{constructor(){}supports(t){return Qs(t)}create(t){return new pl(t)}}const dl=(t,e)=>e;class pl{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||dl}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const s=!n||e&&e.currentIndex<_l(n,i,r)?e:n,o=_l(s,i,r),a=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)i++;else{r||(r=[]);const t=o-i,e=a-i;if(t!=e){for(let n=0;n<t;n++){const i=n<r.length?r[n]:r[n]=0,s=i+n;e<=s&&s<t&&(r[n]=i+1)}r[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=[]),!Qs(t))throw new Error(`Error trying to diff '${u(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,r=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,n,i,e)),Object.is(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,e),s=!0),r=r._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[Hs()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let r;return null===t?r=this._itTail:(r=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,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new fl(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new gl),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 gl),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 fl{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 ml{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 gl{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ml,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 _l(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+e+r}class bl{constructor(){}supports(t){return t instanceof Map||Js(t)}create(){return new vl}}class vl{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||Js(t)))throw new Error(`Error trying to diff '${u(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new yl(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 yl{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 wl(){return new xl([new hl])}let xl=(()=>{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||wl()),deps:[[t,new Ln,new Mn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=y({token:t,providedIn:"root",factory:wl}),t})();function Cl(){return new kl([new bl])}let kl=(()=>{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||Cl()),deps:[[t,new Ln,new Mn]]}}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=y({token:t,providedIn:"root",factory:Cl}),t})();function Al(t,e,n,i,r=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&i.push(St(s)),ut(s))for(let t=10;t<s.length;t++){const e=s[t],n=e[1].firstChild;null!==n&&Al(e[1],e,n,i)}const o=n.type;if(8&o)Al(t,e,n.child,i);else if(32&o){const t=zi(n,e);let r;for(;r=t();)i.push(r)}else if(16&o){const t=lr(e,n);if(Array.isArray(t))i.push(...t);else{const n=ji(e[16]);Al(n[1],n,t,i,!0)}}n=r?n.projectionNext:n.next}return i}class El{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 Al(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&&(Ji(t,n),hn(e,n))}this._attachedToViewContainer=!1}Wi(this._lView[1],this._lView)}onDestroy(t){Gr(this._lView[1],this._lView,null,t)}markForCheck(){ds(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ps(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Qt(!0);try{ps(t,e,n)}finally{Qt(!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,hr(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 Sl extends El{constructor(t){super(t),this._view=t}detectChanges(){fs(this._view)}checkNoChanges(){!function(t){Qt(!0);try{fs(t)}finally{Qt(!1)}}(this._view)}get context(){return null}}const Ol=function(t){return function(t,e,n){if(dt(t)&&!n){const n=Pt(t.index,e);return new El(n,n)}return 47&t.type?new El(e[16],e):null}(jt(),Ut(),16==(16&t))};let Tl=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ol,t})();const Il=[new bl],Dl=new xl([new hl]),Pl=new kl(Il),Fl=function(){return Zl(jt(),Ut())};let Ml=(()=>{class t{}return t.__NG_ELEMENT_ID__=Fl,t})();const Rl=Ml,Ll=class extends Rl{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Lr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Br(e,n,t),new El(n)}};function Zl(t,e){return 4&t.type?new Ll(e,t,el(t,e)):null}class Nl{}class Bl{}const Ul=function(){return Vl(jt(),Ut())};let ql=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ul,t})();const zl=ql,jl=class extends zl{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return el(this._hostTNode,this._hostLView)}get injector(){return new We(this._hostTNode,this._hostLView)}get parentInjector(){const t=Be(this._hostTNode,this._hostLView);if(Ie(t)){const e=Pe(t,this._hostLView),n=De(t);return new We(e[1].data[n+8],e)}return new We(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=$l(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;if(!r&&null==t.ngModule&&s){const t=s.get(Nl,null);t&&(r=t)}const o=t.create(s,i,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(ut(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new jl(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e),s=this._lContainer;!function(t,e,n,i){const r=10+i,s=n.length;i>0&&(n[r-1][4]=e),i<s-10?(e[4]=n[r],un(n,10+i,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,n,s,r);const o=cr(r,s),a=n[11],l=ir(a,s[7]);return null!==l&&function(t,e,n,i,r,s){i[0]=r,i[6]=e,hr(t,i,n,1,r,s)}(i,s[6],a,n,l,o),t.attachToViewContainerRef(),un(Yl(s),r,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=$l(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),n=Ji(this._lContainer,e);n&&(hn(Yl(this._lContainer),e),Wi(n[1],n))}detach(t){const e=this._adjustIndex(t,-1),n=Ji(this._lContainer,e);return n&&null!=hn(Yl(this._lContainer),e)?new El(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}};function $l(t){return t[8]}function Yl(t){return t[8]||(t[8]=[])}function Vl(t,e){let n;const i=e[t.index];if(ut(i))n=i;else{let r;if(8&t.type)r=St(i);else{const n=e[11];r=n.createComment("");const i=Tt(t,e);tr(n,ir(n,i),r,function(t,e){return At(t)?t.nextSibling(e):e.nextSibling}(n,i),!1)}e[t.index]=n=as(i,e,r,t),hs(e,n)}return new jl(n,t,e)}const Hl={};class Gl extends Xa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=at(t);return new Wl(e,this.ngModule)}}function Ql(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Jl=new rn("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Zi});class Wl extends Wa{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Ar).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ql(this.componentDef.inputs)}get outputs(){return Ql(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const s=t.get(n,Hl,r);return s!==Hl||i===Hl?s:e.get(n,i,r)}}}(t,i.injector):t,s=r.get(sl,Et),o=r.get(ll,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(At(t))return t.selectRootElement(e,n===R.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Gi(s.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Zi,clean:gs,playerHandler:null,flags:0},d=Hr(0,null,null,1,0,null,null,null,null,null),p=Lr(null,d,h,u,null,null,s,a,o,r);let f,m;ae(p);try{const t=function(t,e,n,i,r,s){const o=n[1];n[20]=t;const a=Zr(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Cs(a,l,!0),null!==t&&(Ae(r,t,l),null!==a.classes&&fr(r,t,a.classes),null!==a.styles&&pr(r,t,a.styles)));const c=i.createRenderer(t,e),u=Lr(n,Vr(e),null,e.onPush?64:16,n[20],a,i,c,null,null);return o.firstCreatePass&&(Ue(Le(a,n),o,e.type),ts(o,a),ns(a,n.length,1)),hs(n,u),n[20]=u}(c,this.componentDef,p,s,a);if(c)if(n)Ae(a,c,["ng-version",ul.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i<t.length;){let s=t[i];if("string"==typeof s)2===r?""!==s&&e.push(s,t[++i]):8===r&&n.push(s);else{if(!yr(r))break;r=s}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Ae(a,c,t),e&&e.length>0&&fr(a,c,e.join(" "))}if(m=It(d,20),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=e[n];t.push(null!=i?Array.from(i):null)}}f=function(t,e,n,i,r){const s=n[1],o=function(t,e,n){const i=jt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),is(t,i,e,Nr(t,e,1,null),n));const r=Ge(e,t,i.directiveStart,i);Di(r,e);const s=Tt(i,e);return s&&Di(s,e),r}(s,n,e);if(i.components.push(o),t[8]=o,r&&r.forEach(t=>t(o,e)),e.contentQueries){const t=jt();e.contentQueries(1,o,t.directiveStart)}const a=jt();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(fe(a.index),Kr(n[1],a,0,a.directiveStart,a.directiveEnd,e),Xr(e,o)),o}(t,this.componentDef,p,h,[Us]),Br(d,p,null)}finally{de()}return new Kl(this.componentType,f,el(m,p),p,m)}}class Kl extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new Sl(i),this.componentType=t}get injector(){return new We(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Xl=new Map;class tc extends Nl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Gl(this);const n=lt(t),i=t[H]||null;i&&za(i),this._bootstrapComponents=Ui(n.bootstrap),this._r3Injector=Ds(t,e,[{provide:Nl,useValue:this},{provide:Xa,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Bs.THROW_IF_NOT_FOUND,n=T.Default){return t===Bs||t===Nl||t===ks?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 Bl{constructor(t){super(),this.moduleType=t,null!==lt(t)&&function(t){const e=new Set;!function t(n){const i=lt(n,!0),r=i.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}(r,Xl.get(r),n),Xl.set(r,n));const s=Ui(i.imports);for(const o of s)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new tc(this.moduleType,t)}}function nc(t,e,n){const i=Jt()+t,r=Ut();return r[i]===Er?Ws(r,i,n?e.call(n):e()):function(t,e){return t[e]}(r,i)}function ic(t,e,n,i){return ac(Ut(),Jt(),t,e,n,i)}function rc(t,e,n,i,r){return lc(Ut(),Jt(),t,e,n,i,r)}function sc(t,e,n,i,r,s){return cc(Ut(),Jt(),t,e,n,i,r,s)}function oc(t,e){const n=t[e];return n===Er?void 0:n}function ac(t,e,n,i,r,s){const o=e+n;return Ks(t,o,r)?Ws(t,o+1,s?i.call(s,r):i(r)):oc(t,o+1)}function lc(t,e,n,i,r,s,o){const a=e+n;return Xs(t,a,r,s)?Ws(t,a+2,o?i.call(o,r,s):i(r,s)):oc(t,a+2)}function cc(t,e,n,i,r,s,o,a){const l=e+n;return function(t,e,n,i,r){const s=Xs(t,e,n,i);return Ks(t,e+2,r)||s}(t,l,r,s,o)?Ws(t,l+3,a?i.call(a,r,s,o):i(r,s,o)):oc(t,l+3)}function uc(t,e){const n=qt();let i;const r=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new g("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=mt(i.type)),o=D(Oo);try{const t=Me(!1),e=s();return Me(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Ut(),r,e),e}finally{D(o)}}function hc(t,e,n){const i=t+20,r=Ut(),s=Dt(r,i);return mc(r,fc(r,i)?ac(r,Jt(),e,s.transform,n,s):s.transform(n))}function dc(t,e,n,i){const r=t+20,s=Ut(),o=Dt(s,r);return mc(s,fc(s,r)?lc(s,Jt(),e,o.transform,n,i,o):o.transform(n,i))}function pc(t,e,n,i,r){const s=t+20,o=Ut(),a=Dt(o,s);return mc(o,fc(o,s)?cc(o,Jt(),e,a.transform,n,i,r,a):a.transform(n,i,r))}function fc(t,e){return t[1].data[e].pure}function mc(t,e){return Gs.isWrapped(e)&&(e=Gs.unwrap(e),t[Wt()]=Er),e}function gc(t){return e=>{setTimeout(t,void 0,e)}}const _c=class extends i.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,s,o;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(i=e.next)||void 0===i?void 0:i.bind(e),l=null===(s=e.error)||void 0===s?void 0:s.bind(e),c=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(l=gc(l),a&&(a=gc(a)),c&&(c=gc(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof r.w&&t.add(u),u}};function bc(){return this._results[Hs()]()}class vc{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=Hs(),n=vc.prototype;n[e]||(n[e]=bc)}get changes(){return this._changes||(this._changes=new _c)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;const n=ln(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],s=e[i];if(n&&(r=n(r),s=n(s)),s!==r)return!1}return!0}(this._results,n,e))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class yc{constructor(t){this.queryList=t,this.matches=null}clone(){return new yc(this.queryList)}setDirty(){this.queryList.setDirty()}}class wc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new wc(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Rc(t,e).matches&&this.queries[e].setDirty()}}class xc{constructor(t,e,n=null){this.predicate=t,this.flags=e,this.read=n}}class Cc{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,r=this.getByIndex(n).embeddedTView(t,i);r&&(r.indexInDeclarationView=n,null!==e?e.push(r):e=[r])}return null!==e?new Cc(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 kc{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 kc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const r=n[i];this.matchTNodeWithReadOption(t,e,Ac(e,r)),this.matchTNodeWithReadOption(t,e,He(e,t,r,!1,!1))}else n===Ml?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,He(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===il||i===ql||i===Ml&&4&e.type)this.addMatch(e.index,-2);else{const n=He(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Ac(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Ec(t,e,n,i){return-1===n?function(t,e){return 11&t.type?el(t,e):4&t.type?Zl(t,e):null}(e,t):-2===n?function(t,e,n){return n===il?el(e,t):n===Ml?Zl(e,t):n===ql?Vl(e,t):void 0}(t,e,i):Ge(t,t[1],n,e)}function Sc(t,e,n,i){const r=e[19].queries[i];if(null===r.matches){const i=t.data,s=n.matches,o=[];for(let t=0;t<s.length;t+=2){const r=s[t];o.push(r<0?null:Ec(e,i[r],s[t+1],n.metadata.read))}r.matches=o}return r.matches}function Oc(t,e,n,i){const r=t.queries.getByIndex(n),s=r.matches;if(null!==s){const o=Sc(t,e,r,n);for(let t=0;t<s.length;t+=2){const n=s[t];if(n>0)i.push(o[t/2]);else{const r=s[t+1],o=e[-n];for(let t=10;t<o.length;t++){const e=o[t];e[17]===e[3]&&Oc(e[1],e,r,i)}if(null!==o[9]){const t=o[9];for(let e=0;e<t.length;e++){const n=t[e];Oc(n[1],n,r,i)}}}}}return i}function Tc(t){const e=Ut(),n=qt(),i=ie();re(i+1);const r=Rc(n,i);if(t.dirty&&Ft(e)===(2==(2&r.metadata.flags))){if(null===r.matches)t.reset([]);else{const s=r.crossesNgTemplate?Oc(n,e,i,[]):Sc(n,e,r,i);t.reset(s,rl),t.notifyOnChanges()}return!0}return!1}function Ic(t,e,n){const i=qt();i.firstCreatePass&&(Mc(i,new xc(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),Fc(i,Ut(),e)}function Dc(t,e,n,i){const r=qt();if(r.firstCreatePass){const s=jt();Mc(r,new xc(e,n,i),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)}(r,t),2==(2&n)&&(r.staticContentQueries=!0)}Fc(r,Ut(),n)}function Pc(){return t=Ut(),e=ie(),t[19].queries[e].queryList;var t,e}function Fc(t,e,n){const i=new vc(4==(4&n));Gr(t,e,i,i.destroy),null===e[19]&&(e[19]=new wc),e[19].queries.push(new yc(i))}function Mc(t,e,n){null===t.queries&&(t.queries=new Cc),t.queries.track(new kc(e,n))}function Rc(t,e){return t.queries.getByIndex(e)}function Lc(t,e){return Zl(t,e)}const Zc=new rn("Application Initializer");let Nc=(()=>{class t{constructor(t){this.appInits=t,this.resolve=tl,this.reject=tl,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(No(e))t.push(e);else if(Uo(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)(Tn(Zc,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();const Bc=new rn("AppId"),Uc={provide:Bc,useFactory:function(){return`${qc()}${qc()}${qc()}`},deps:[]};function qc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const zc=new rn("Platform Initializer"),jc=new rn("Platform ID"),$c=new rn("appBootstrapListener");let Yc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();const Vc=new rn("LocaleId"),Hc=new rn("DefaultCurrencyCode");class Gc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Qc=function(t){return new ec(t)},Jc=Qc,Wc=function(t){return Promise.resolve(Qc(t))},Kc=function(t){const e=Qc(t),n=Ui(lt(t).declarations).reduce((t,e)=>{const n=at(e);return n&&t.push(new Wl(n)),t},[]);return new Gc(e,n)},Xc=Kc,tu=function(t){return Promise.resolve(Kc(t))};let eu=(()=>{class t{constructor(){this.compileModuleSync=Jc,this.compileModuleAsync=Wc,this.compileModuleAndAllComponentsSync=Xc,this.compileModuleAndAllComponentsAsync=tu}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();const nu=(()=>Promise.resolve(0))();function iu(t){"undefined"==typeof Zone?nu.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class ru{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _c(!1),this.onMicrotaskEmpty=new _c(!1),this.onStable=new _c(!1),this.onError=new _c(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&e,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=U.requestAnimationFrame,e=U.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(U,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,au(t),t.isCheckStableRunning=!0,ou(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),au(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,o,a)=>{try{return lu(t),n.invokeTask(r,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),cu(t)}},onInvoke:(n,i,r,s,o,a,l)=>{try{return lu(t),n.invoke(r,s,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),cu(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,au(t),ou(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ru.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ru.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,su,tl,tl);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const su={};function ou(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 au(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function lu(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function cu(t){t._nesting--,ou(t)}class uu{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _c,this.onMicrotaskEmpty=new _c,this.onStable=new _c,this.onError=new _c}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let hu=(()=>{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:()=>{ru.assertNotInAngularZone(),iu(()=>{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())iu(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Tn(ru))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})(),du=(()=>{class t{constructor(){this._applications=new Map,gu.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 gu.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();class pu{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function fu(t){gu=t}let mu,gu=new pu,_u=!0,bu=!1;function vu(){return bu=!0,_u}function yu(){if(bu)throw new Error("Cannot enable prod mode after platform setup.");_u=!1}const wu=new rn("AllowMultipleToken");class xu{constructor(t,e){this.name=t,this.token=e}}function Cu(t,e,n=[]){const i=`Platform: ${e}`,r=new rn(i);return(e=[])=>{let s=ku();if(!s||s.injector.get(wu,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:Es,useValue:"platform"});!function(t){if(mu&&!mu.destroyed&&!mu.injector.get(wu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");mu=t.get(Au);const e=t.get(zc,null);e&&e.forEach(t=>t())}(Bs.create({providers:t,name:i}))}return function(t){const e=ku();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}(r)}}function ku(){return mu&&!mu.destroyed?mu:null}let Au=(()=>{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 uu:("zone.js"===t?void 0:t)||new ru({enableLongStackTrace:vu(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:ru,useValue:n}];return n.run(()=>{const e=Bs.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(Li,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});r.onDestroy(()=>{Ou(this._modules,r),t.unsubscribe()})}),function(t,e,n){try{const i=n();return No(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(s,n,()=>{const t=r.injector.get(Nc);return t.runInitializers(),t.donePromise.then(()=>(za(r.injector.get(Vc,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=Eu({},e);return function(t,e,n){const i=new ec(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Su);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)(Tn(Bs))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();function Eu(t,e){return Array.isArray(e)?e.reduce(Eu,t):Object.assign(Object.assign({},t),e)}let Su=(()=>{class t{constructor(t,e,n,i,r){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new s.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),c=new s.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{ru.assertNotInAngularZone(),iu(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ru.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,o.T)(l,c.pipe((0,a.B)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Wa?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Nl),r=n.create(Bs.NULL,[],e||n.selector,i),s=r.location.nativeElement,o=r.injector.get(hu,null),a=o&&r.injector.get(du);return o&&a&&a.registerApplication(s,o),r.onDestroy(()=>{this.detachView(r.hostView),Ou(this.components,r),a&&a.unregisterApplication(s)}),this._loadComponent(r),r}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;Ou(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get($c,[]).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)(Tn(ru),Tn(Bs),Tn(Li),Tn(Xa),Tn(Nc))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();function Ou(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Tu{}class Iu{}const Du={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Pu=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Du}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n(98255)(e).then(t=>t[i]).then(t=>Fu(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n(98255)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>Fu(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(Tn(eu),Tn(Iu,8))},t.\u0275prov=y({token:t,factory:t.\u0275fac}),t})();function Fu(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Mu=function(t){return null},Ru=Cu(null,"core",[{provide:jc,useValue:"unknown"},{provide:Au,deps:[Bs]},{provide:du,deps:[]},{provide:Yc,deps:[]}]),Lu=[{provide:Su,useClass:Su,deps:[ru,Bs,Li,Xa,Nc]},{provide:Jl,deps:[ru],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Nc,useClass:Nc,deps:[[new Mn,Zc]]},{provide:eu,useClass:eu,deps:[]},Uc,{provide:xl,useFactory:function(){return Dl},deps:[]},{provide:kl,useFactory:function(){return Pl},deps:[]},{provide:Vc,useFactory:function(t){return za(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Fn(Vc),new Mn,new Ln]]},{provide:Hc,useValue:"USD"}];let Zu=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Tn(Su))},t.\u0275mod=nt({type:t}),t.\u0275inj=w({providers:Lu}),t})()},31041:function(t,e,n){"use strict";n.d(e,{Zs:function(){return Kt},gN:function(){return q},Fj:function(){return p},Oe:function(){return dt},qu:function(){return le},NI:function(){return ut},oH:function(){return Et},u:function(){return Rt},cw:function(){return ht},sg:function(){return Ot},x0:function(){return It},u5:function(){return oe},nD:function(){return ne},Fd:function(){return Vt},wO:function(){return te},qQ:function(){return Gt},Cf:function(){return g},JU:function(){return u},a5:function(){return z},JJ:function(){return $},JL:function(){return Y},F:function(){return mt},On:function(){return vt},YN:function(){return Bt},wV:function(){return xt},c5:function(){return re},UX:function(){return ae},Q7:function(){return Wt},EJ:function(){return Nt},kI:function(){return v},_Y:function(){return yt},Kr:function(){return jt}});var i=n(35366),r=n(61116),s=n(19764),o=n(3148),a=n(79996);let l=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t}),t})(),c=(()=>{class t extends l{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const u=new i.OlP("NgValueAccessor"),h={provide:u,useExisting:(0,i.Gpc)(()=>p),multi:!0},d=new i.OlP("CompositionEventMode");let p=(()=>{class t extends l{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(d,8))},t.\u0275dir=i.lG2({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&i.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i._Bn([h]),i.qOj]}),t})();function f(t){return null==t||0===t.length}function m(t){return null!=t&&"number"==typeof t.length}const g=new i.OlP("NgValidators"),_=new i.OlP("NgAsyncValidators"),b=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class v{static min(t){return y(t)}static max(t){return w(t)}static required(t){return x(t)}static requiredTrue(t){return C(t)}static email(t){return function(t){return f(t.value)||b.test(t.value)?null:{email:!0}}(t)}static minLength(t){return k(t)}static maxLength(t){return A(t)}static pattern(t){return E(t)}static nullValidator(t){return null}static compose(t){return F(t)}static composeAsync(t){return R(t)}}function y(t){return e=>{if(f(e.value)||f(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}function w(t){return e=>{if(f(e.value)||f(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function x(t){return f(t.value)?{required:!0}:null}function C(t){return!0===t.value?null:{required:!0}}function k(t){return e=>f(e.value)||!m(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function A(t){return e=>m(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function E(t){if(!t)return S;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(f(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function S(t){return null}function O(t){return null!=t}function T(t){const e=(0,i.QGY)(t)?(0,s.D)(t):t;return(0,i.CqO)(e),e}function I(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function D(t,e){return e.map(e=>e(t))}function P(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function F(t){if(!t)return null;const e=t.filter(O);return 0==e.length?null:function(t){return I(D(t,e))}}function M(t){return null!=t?F(P(t)):null}function R(t){if(!t)return null;const e=t.filter(O);return 0==e.length?null:function(t){const n=D(t,e).map(T);return(0,o.D)(n).pipe((0,a.U)(I))}}function L(t){return null!=t?R(P(t)):null}function Z(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function N(t){return t._rawValidators}function B(t){return t._rawAsyncValidators}let U=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=M(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=L(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})(),q=(()=>{class t extends U{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();class z extends U{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class j{constructor(t){this._cd=t}is(t){var e,n;return!!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n?void 0:n[t])}}let $=(()=>{class t extends j{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(z,2))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[i.qOj]}),t})(),Y=(()=>{class t extends j{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(q,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[i.qOj]}),t})();function V(t,e){return[...e.path,t]}function H(t,e){J(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&K(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&K(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function G(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),W(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Q(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function J(t,e){const n=N(t);null!==e.validator?t.setValidators(Z(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=B(t);null!==e.asyncValidator?t.setAsyncValidators(Z(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();Q(e._rawValidators,r),Q(e._rawAsyncValidators,r)}function W(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=N(t);if(Array.isArray(i)&&i.length>0){const r=i.filter(t=>t!==e.validator);r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){const i=B(t);if(Array.isArray(i)&&i.length>0){const r=i.filter(t=>t!==e.asyncValidator);r.length!==i.length&&(n=!0,t.setAsyncValidators(r))}}}const i=()=>{};return Q(e._rawValidators,i),Q(e._rawAsyncValidators,i),n}function K(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function X(t,e){J(t,e)}function tt(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function et(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function nt(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach(t=>{t.constructor===p?n=t:Object.getPrototypeOf(t.constructor)===c?i=t:r=t}),r||i||n||null}function it(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function rt(t){return(lt(t)?t.validators:t)||null}function st(t){return Array.isArray(t)?M(t):t||null}function ot(t,e){return(lt(e)?e.asyncValidators:t)||null}function at(t){return Array.isArray(t)?L(t):t||null}function lt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ct{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=st(this._rawValidators),this._composedAsyncValidatorFn=at(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=st(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=at(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=T(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof ht?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof dt&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){lt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ut extends ct{constructor(t=null,e,n){super(rt(e),ot(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){it(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){it(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class ht extends ct{constructor(t,e,n){super(rt(e),ot(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof ut?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class dt extends ct{constructor(t,e,n){super(rt(e),ot(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof ut?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const pt={provide:q,useExisting:(0,i.Gpc)(()=>mt)},ft=(()=>Promise.resolve(null))();let mt=(()=>{class t extends q{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.vpe,this.form=new ht({},M(t),L(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ft.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),H(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){ft.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),it(this._directives,t)})}addFormGroup(t){ft.then(()=>{const e=this._findContainer(t.path),n=new ht({});X(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){ft.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){ft.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,et(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([pt]),i.qOj]}),t})(),gt=(()=>{class t extends q{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return V(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})();const _t={provide:z,useExisting:(0,i.Gpc)(()=>vt)},bt=(()=>Promise.resolve(null))();let vt=(()=>{class t extends z{constructor(t,e,n,r){super(),this.control=new ut,this._registered=!1,this.update=new i.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=nt(0,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),tt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?V(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){H(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){bt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;bt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(q,9),i.Y36(g,10),i.Y36(_,10),i.Y36(u,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([_t]),i.qOj,i.TTD]}),t})(),yt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const wt={provide:u,useExisting:(0,i.Gpc)(()=>xt),multi:!0};let xt=(()=>{class t extends c{writeValue(t){this.setProperty("value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i._Bn([wt]),i.qOj]}),t})(),Ct=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();const kt=new i.OlP("NgModelWithFormControlWarning"),At={provide:z,useExisting:(0,i.Gpc)(()=>Et)};let Et=(()=>{class t extends z{constructor(t,e,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=nt(0,n)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&G(e,this,!1),H(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}tt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&G(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(_,10),i.Y36(u,10),i.Y36(kt,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([At]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})();const St={provide:q,useExisting:(0,i.Gpc)(()=>Ot)};let Ot=(()=>{class t extends q{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(W(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return H(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){G(t.control||null,t,!1),it(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,et(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(G(e||null,t),n instanceof ut&&(H(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);X(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return W(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){J(this.form,this),this._oldForm&&W(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(g,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([St]),i.qOj,i.TTD]}),t})();const Tt={provide:q,useExisting:(0,i.Gpc)(()=>It)};let It=(()=>{class t extends gt{constructor(t,e,n){super(),this._parent=t,this._setValidators(e),this._setAsyncValidators(n)}_checkParentType(){Ft(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(q,13),i.Y36(g,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[i._Bn([Tt]),i.qOj]}),t})();const Dt={provide:q,useExisting:(0,i.Gpc)(()=>Pt)};let Pt=(()=>{class t extends q{constructor(t,e,n){super(),this._parent=t,this._setValidators(e),this._setAsyncValidators(n)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return V(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Ft(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(q,13),i.Y36(g,10),i.Y36(_,10))},t.\u0275dir=i.lG2({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[i._Bn([Dt]),i.qOj]}),t})();function Ft(t){return!(t instanceof It||t instanceof Ot||t instanceof Pt)}const Mt={provide:z,useExisting:(0,i.Gpc)(()=>Rt)};let Rt=(()=>{class t extends z{constructor(t,e,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=nt(0,r)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),tt(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return V(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(q,13),i.Y36(g,10),i.Y36(_,10),i.Y36(u,10),i.Y36(kt,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([Mt]),i.qOj,i.TTD]}),t._ngModelWarningSentOnce=!1,t})();const Lt={provide:u,useExisting:(0,i.Gpc)(()=>Nt),multi:!0};function Zt(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let Nt=(()=>{class t extends c{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this.setProperty("selectedIndex",-1);const n=Zt(e,t);this.setProperty("value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i._Bn([Lt]),i.qOj]}),t})(),Bt=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Zt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Nt,9))},t.\u0275dir=i.lG2({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const Ut={provide:u,useExisting:(0,i.Gpc)(()=>zt),multi:!0};function qt(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let zt=(()=>{class t extends c{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const i=t.item(e),r=this._getOptionValue(i.value);n.push(r)}}else{const t=e.options;for(let e=0;e<t.length;e++){const i=t.item(e);if(i.selected){const t=this._getOptionValue(i.value);n.push(t)}}}this.value=n,t(n)}}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",function(t){return e.onChange(t.target)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i._Bn([Ut]),i.qOj]}),t})(),jt=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(qt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(qt(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(zt,9))},t.\u0275dir=i.lG2({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})(),$t=(()=>{class t{constructor(){this._validator=S}handleChanges(t){if(this.inputName in t){const e=this.normalizeInput(t[this.inputName].currentValue);this._validator=this.createValidator(e),this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t}),t})();const Yt={provide:g,useExisting:(0,i.Gpc)(()=>Vt),multi:!0};let Vt=(()=>{class t extends $t{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=t=>parseFloat(t),this.createValidator=t=>w(t)}ngOnChanges(t){this.handleChanges(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("max",e.max?e.max:null)},inputs:{max:"max"},features:[i._Bn([Yt]),i.qOj,i.TTD]}),t})();const Ht={provide:g,useExisting:(0,i.Gpc)(()=>Gt),multi:!0};let Gt=(()=>{class t extends $t{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>parseFloat(t),this.createValidator=t=>y(t)}ngOnChanges(t){this.handleChanges(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("min",e.min?e.min:null)},inputs:{min:"min"},features:[i._Bn([Ht]),i.qOj,i.TTD]}),t})();const Qt={provide:g,useExisting:(0,i.Gpc)(()=>Wt),multi:!0},Jt={provide:g,useExisting:(0,i.Gpc)(()=>Kt),multi:!0};let Wt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?x(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[i._Bn([Qt])]}),t})(),Kt=(()=>{class t extends Wt{validate(t){return this.required?C(t):null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("required",e.required?"":null)},features:[i._Bn([Jt]),i.qOj]}),t})();const Xt={provide:g,useExisting:(0,i.Gpc)(()=>te),multi:!0};let te=(()=>{class t{constructor(){this._validator=S}ngOnChanges(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null==this.minlength?null:this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=k("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("minlength",e.minlength?e.minlength:null)},inputs:{minlength:"minlength"},features:[i._Bn([Xt]),i.TTD]}),t})();const ee={provide:g,useExisting:(0,i.Gpc)(()=>ne),multi:!0};let ne=(()=>{class t{constructor(){this._validator=S}ngOnChanges(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null!=this.maxlength?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=A("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i._Bn([ee]),i.TTD]}),t})();const ie={provide:g,useExisting:(0,i.Gpc)(()=>re),multi:!0};let re=(()=>{class t{constructor(){this._validator=S}ngOnChanges(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=E(this.pattern)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[i._Bn([ie]),i.TTD]}),t})(),se=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[Ct]]}),t})(),oe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[se]}),t})(),ae=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:kt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[se]}),t})(),le=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i,r=null,s=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(r=null!=e.validators?e.validators:null,s=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,s=null!=e.asyncValidator?e.asyncValidator:null)),new ht(n,{asyncValidators:s,updateOn:i,validators:r})}control(t,e,n){return new ut(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new dt(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof ut||t instanceof ht||t instanceof dt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:ae}),t})()},47217:function(t,e,n){"use strict";n.d(e,{k:function(){return h},g:function(){return d}});var i=n(87064),r=n(97388),s=n(19861),o=n(26136),a=n(35366);let l=0;class c{}const u=(0,i.Id)(c);let h=(()=>{class t extends u{constructor(t,e,n,i,r){super(),this._ngZone=t,this._elementRef=e,this._ariaDescriber=n,this._renderer=i,this._animationMode=r,this._hasContent=!1,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=l++}get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=(0,s.Ig)(t)}get description(){return this._description}set description(t){if(t!==this._description){const e=this._badgeElement;this._updateHostAriaDescription(t,this._description),this._description=t,e&&(t?e.setAttribute("aria-label",t):e.removeAttribute("aria-label"))}}get hidden(){return this._hidden}set hidden(t){this._hidden=(0,s.Ig)(t)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}ngOnChanges(t){const e=t.content;if(e){const t=e.currentValue;this._hasContent=null!=t&&`${t}`.trim().length>0,this._updateTextContent()}}ngOnDestroy(){const t=this._badgeElement;t&&(this.description&&this._ariaDescriber.removeDescription(t,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(t))}getBadgeElement(){return this._badgeElement}_updateTextContent(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}_createBadgeElement(){const t=this._renderer.createElement("span");return this._clearExistingBadges("mat-badge-content"),t.setAttribute("id",`mat-badge-content-${this._id}`),t.classList.add("mat-badge-content"),t.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this.description&&t.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add("mat-badge-active")})}):t.classList.add("mat-badge-active"),t}_updateHostAriaDescription(t,e){const n=this._updateTextContent();e&&this._ariaDescriber.removeDescription(n,e),t&&this._ariaDescriber.describe(n,t)}_setColor(t){if(t!==this._color){const e=this._elementRef.nativeElement.classList;this._color&&e.remove(`mat-badge-${this._color}`),t&&e.add(`mat-badge-${t}`)}}_clearExistingBadges(t){const e=this._elementRef.nativeElement;let n=e.children.length;for(;n--;){const i=e.children[n];i.classList.contains(t)&&e.removeChild(i)}}_stringifyContent(){const t=this.content;return null==t?"":`${t}`}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.R0b),a.Y36(a.SBq),a.Y36(r.$s),a.Y36(a.Qsj),a.Y36(o.Qb,8))},t.\u0275dir=a.lG2({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&a.ekj("mat-badge-overlap",e.overlap)("mat-badge-above",e.isAbove())("mat-badge-below",!e.isAbove())("mat-badge-before",!e.isAfter())("mat-badge-after",e.isAfter())("mat-badge-small","small"===e.size)("mat-badge-medium","medium"===e.size)("mat-badge-large","large"===e.size)("mat-badge-hidden",e.hidden||!e._hasContent)("mat-badge-disabled",e.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[a.qOj,a.TTD]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[r.rt,i.BQ],i.BQ]}),t})()},84369:function(t,e,n){"use strict";n.d(e,{zs:function(){return f},lW:function(){return p},ot:function(){return m}});var i=n(87064),r=n(26136),s=n(35366),o=n(97388);const a=["mat-button",""],l=["*"],c=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class h{constructor(t){this._elementRef=t}}const d=(0,i.pj)((0,i.Id)((0,i.Kr)(h)));let p=(()=>{class t extends d{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of u)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(o.tE),s.Y36(r.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(i.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:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(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:[i.wG],styles:[c],encapsulation:2,changeDetection:0}),t})(),f=(()=>{class t extends p{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.tE),s.Y36(s.SBq),s.Y36(r.Qb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e._haltDisabledEvents(t)}),2&t&&(s.uIk("tabindex",e.disabled?-1:e.tabIndex||0)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString()),s.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[s.qOj],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(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:[i.wG],styles:[c],encapsulation:2,changeDetection:0}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[i.si,i.BQ],i.BQ]}),t})()},40994:function(t,e,n){"use strict";n.d(e,{oG:function(){return w},p9:function(){return A},e_:function(){return C}});var i=n(19861),r=n(35366),s=n(31041),o=n(87064),a=n(26136),l=n(27853),c=n(97388);const u=["input"],h=function(){return{enterDuration:150}},d=["*"],p=new r.OlP("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}let m=0;const g=f(),_={provide:s.JU,useExisting:(0,r.Gpc)(()=>w),multi:!0};class b{}class v{constructor(t){this._elementRef=t}}const y=(0,o.sb)((0,o.pj)((0,o.Kr)((0,o.Id)(v))));let w=(()=>{class t extends y{constructor(t,e,n,i,s,o,a){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._animationMode=o,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++m,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new r.vpe,this.indeterminateChange=new r.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||g,this.color=this.defaultColor=this._options.color||g.color,this.tabIndex=parseInt(s)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=(0,i.Ig)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=(0,i.Ig)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=(0,i.Ig)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new b;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const n=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(c.tE),r.Y36(r.R0b),r.$8M("tabindex"),r.Y36(a.Qb,8),r.Y36(p,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(r.Gf(u,5),r.Gf(o.wG,5)),2&t){let t;r.iGM(t=r.CRH())&&(e._inputElement=t.first),r.iGM(t=r.CRH())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Ikx("id",e.id),r.uIk("tabindex",null),r.ekj("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r._Bn([_]),r.qOj],ngContentSelectors:d,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.F$t(),r.TgZ(0,"label",0,1),r.TgZ(2,"span",2),r.TgZ(3,"input",3,4),r.NdJ("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),r.qZA(),r.TgZ(5,"span",5),r._UZ(6,"span",6),r.qZA(),r._UZ(7,"span",7),r.TgZ(8,"span",8),r.O4$(),r.TgZ(9,"svg",9),r._UZ(10,"path",10),r.qZA(),r.kcU(),r._UZ(11,"span",11),r.qZA(),r.qZA(),r.TgZ(12,"span",12,13),r.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),r.TgZ(14,"span",14),r._uU(15,"\xa0"),r.qZA(),r.Hsn(16),r.qZA(),r.qZA()),2&t){const t=r.MAs(1),n=r.MAs(13);r.uIk("for",e.inputId),r.xp6(2),r.ekj("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),r.xp6(1),r.Q6J("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r.uIk("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),r.xp6(2),r.Q6J("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.DdM(19,h))}},directives:[o.wG,l.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})();const x={provide:s.Cf,useExisting:(0,r.Gpc)(()=>C),multi:!0};let C=(()=>{class t extends s.Zs{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[r._Bn([x]),r.qOj]}),t})(),k=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[o.si,o.BQ,l.Q8,k],o.BQ,k]}),t})()},87064:function(t,e,n){"use strict";n.d(e,{_A:function(){return A},rD:function(){return Z},sG:function(){return E},K7:function(){return tt},HF:function(){return Q},Y2:function(){return $},BQ:function(){return b},XK:function(){return L},ey:function(){return rt},Ng:function(){return at},rN:function(){return nt},nP:function(){return H},us:function(){return G},wG:function(){return Y},si:function(){return V},IR:function(){return j},CB:function(){return st},jH:function(){return ot},pj:function(){return y},Kr:function(){return w},Id:function(){return v},FD:function(){return C},sb:function(){return x}});var i=n(35366),r=n(97388),s=n(94720);const o=new i.GfV("11.2.13");var a=n(61116),l=n(19861),c=n(55959),u=n(93169),h=n(26136),d=n(99235);function p(t,e){if(1&t&&i._UZ(0,"mat-pseudo-checkbox",4),2&t){const t=i.oxw();i.Q6J("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function f(t,e){if(1&t&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.hij("(",t.group.label,")")}}const m=["*"],g=new i.GfV("11.2.13"),_=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let b=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return(0,i.X6Q)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&g.full!==o.full&&console.warn("The Angular Material version ("+g.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.qm),i.LFG(_,8),i.LFG(a.K0))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[s.vT],s.vT]}),t})();function v(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,l.Ig)(t)}}}function y(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function w(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,l.Ig)(t)}}}function x(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?(0,l.su)(t):this.defaultTabIndex}}}function C(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new c.xQ}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}const k=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,i.f3M)(i.soG)}});class A{constructor(){this._localeChanges=new c.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const E=new i.OlP("mat-date-formats");let S;try{S="undefined"!=typeof Intl}catch(lt){S=!1}const O={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},T=P(31,t=>String(t+1)),I={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},D=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function P(t,e){const n=Array(t);for(let i=0;i<t;i++)n[i]=e(i);return n}let F=(()=>{class t extends A{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(S){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return P(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return O[t]}getDateNames(){if(S){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return P(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return T}getDayOfWeekNames(t){if(S){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return P(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return I[t]}getYearName(t){if(S){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){let i=this._createDateWithOverflow(t,e,n);return i.getMonth(),i}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(S){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(D.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const i=new Date;return i.setFullYear(t,e,n),i.setHours(0,0,0,0),i}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(k,8),i.LFG(u.t4))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:A,useClass:F}],imports:[[u.ud]]}),t})();const R={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:E,useValue:R}],imports:[[M]]}),t})(),Z=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();class N{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const B={enterDuration:450,exitDuration:400},U=(0,u.i$)({passive:!0}),q=["mousedown","touchstart"],z=["mouseup","mouseleave","touchend","touchcancel"];class j{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=(0,l.fI)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},B),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const s=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,i),o=t-i.left,a=e-i.top,l=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-s+"px",c.style.top=a-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new N(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,n.persistent||t&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},B),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=(0,l.fI)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(q))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(z),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=(0,r.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,r.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,U)})})}_removeTriggerEvents(){this._triggerElement&&(q.forEach(t=>{this._triggerElement.removeEventListener(t,this,U)}),this._pointerUpEventsRegistered&&z.forEach(t=>{this._triggerElement.removeEventListener(t,this,U)}))}}const $=new i.OlP("mat-ripple-global-options");let Y=(()=>{class t{constructor(t,e,n,i,r){this._elementRef=t,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new j(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(u.t4),i.Y36($,8),i.Y36(h.Qb,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[b,u.ud],b]}),t})(),H=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h.Qb,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[b]]}),t})();const Q=new i.OlP("MAT_OPTION_PARENT_COMPONENT");class J{}const W=v(J);let K=0,X=(()=>{class t extends W{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+K++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(Q,8))},t.\u0275dir=i.lG2({type:t,inputs:{label:"label"},features:[i.qOj]}),t})();const tt=new i.OlP("MatOptgroup");let et=0;class nt{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let it=(()=>{class t{constructor(t,e,n,r){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+et++,this.onSelectionChange=new i.vpe,this._stateChanges=new c.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=(0,l.Ig)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==d.K5&&t.keyCode!==d.L_||(0,d.Vb)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new nt(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(X))},t.\u0275dir=i.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),rt=(()=>{class t extends it{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(Q,8),i.Y36(tt,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Ikx("id",e.id),i.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:m,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,p,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,f,2,1,"span",2),i._UZ(4,"div",3)),2&t&&(i.Q6J("ngIf",e.multiple),i.xp6(3),i.Q6J("ngIf",e.group&&e.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.O5,Y,H],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function st(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),s=0;for(let e=0;e<t+1;e++)i[e].group&&i[e].group===r[s]&&s++;return s}return 0}function ot(t,e,n,i){return t<n?t:t+e>n+i?Math.max(0,t-i+e):n}let at=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[V,a.ez,b,G]]}),t})()},92935:function(t,e,n){"use strict";n.d(e,{WI:function(){return E},uw:function(){return D},H8:function(){return R},xY:function(){return M},Is:function(){return L},so:function(){return k},uh:function(){return F},Nv:function(){return y}});var i=n(77923),r=n(82151),s=n(35366),o=n(87064),a=n(94720),l=n(61116),c=n(55959),u=n(31450),h=n(40878),d=n(43835),p=n(90611),f=n(56238),m=n(99713),g=n(99235),_=n(97388);function b(t,e){}class v{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const y={dialogContainer:(0,m.X$)("dialogContainer",[(0,m.SB)("void, exit",(0,m.oB)({opacity:0,transform:"scale(0.7)"})),(0,m.SB)("enter",(0,m.oB)({transform:"none"})),(0,m.eR)("* => enter",(0,m.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,m.oB)({transform:"none",opacity:1}))),(0,m.eR)("* => void, * => exit",(0,m.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,m.oB)({opacity:0})))])};let w=(()=>{class t extends r.en{constructor(t,e,n,i,r,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=r,this._focusMonitor=o,this._animationStateChanged=new s.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=this._getActiveElement(),n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._getActiveElement())}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=this._getActiveElement();return t===e||t.contains(e)}_getActiveElement(){var t;const e=this._document.activeElement;return(null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.activeElement)||e}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(_.qV),s.Y36(s.sBO),s.Y36(l.K0,8),s.Y36(v),s.Y36(_.tE))},t.\u0275dir=s.lG2({type:t,viewQuery:function(t,e){if(1&t&&s.Gf(r.Pl,7),2&t){let t;s.iGM(t=s.CRH())&&(e._portalOutlet=t.first)}},features:[s.qOj]}),t})(),x=(()=>{class t extends w{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&s.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(s.Ikx("id",e._id),s.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),s.d8E("@dialogContainer",e._state))},features:[s.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&s.YNc(0,b,0,0,"ng-template",0)},directives:[r.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[y.dialogContainer]}}),t})(),C=0;class k{constructor(t,e,n="mat-dialog-"+C++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.xQ,this._afterClosed=new c.xQ,this._beforeClosed=new c.xQ,this._state=0,e._id=n,e._animationStateChanged.pipe((0,d.h)(t=>"opened"===t.state),(0,p.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe((0,d.h)(t=>"closed"===t.state),(0,p.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe((0,d.h)(t=>t.keyCode===g.hY&&!this.disableClose&&!(0,g.Vb)(t))).subscribe(t=>{t.preventDefault(),A(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():A(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe((0,d.h)(t=>"closing"===t.state),(0,p.q)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function A(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const E=new s.OlP("MatDialogData"),S=new s.OlP("mat-dialog-default-options"),O=new s.OlP("mat-dialog-scroll-strategy"),T={provide:O,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.block()}};let I=(()=>{class t{constructor(t,e,n,i,r,s,o,a,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=r,this._dialogRefConstructor=o,this._dialogContainerType=a,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.xQ,this._afterOpenedAtThisLevel=new c.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,u.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,f.O)(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new v)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),r=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),i._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=s.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:e}]}),i=new r.C5(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof s.Rgc)e.attachTemplatePortal(new r.UE(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),s=e.attachComponentPortal(new r.C5(t,i.viewContainerRef,n));o.componentInstance=s.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||i&&i.get(a.Is,null)||r.push({provide:a.Is,useValue:{value:t.direction,change:(0,h.of)()}}),s.zs3.create({parent:i||this._injector,providers:r})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(i.aV),s.Y36(s.zs3),s.Y36(void 0),s.Y36(void 0),s.Y36(i.Xj),s.Y36(void 0),s.Y36(s.DyG),s.Y36(s.DyG),s.Y36(s.OlP))},t.\u0275dir=s.lG2({type:t}),t})(),D=(()=>{class t extends I{constructor(t,e,n,i,r,s,o){super(t,e,i,s,o,r,k,x,E)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.aV),s.LFG(s.zs3),s.LFG(l.Ye,8),s.LFG(S,8),s.LFG(O),s.LFG(t,12),s.LFG(i.Xj))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t})(),P=0,F=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+P++}ngOnInit(){this._dialogRef||(this._dialogRef=function(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(k,8),s.Y36(s.SBq),s.Y36(D))},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&s.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),R=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})(),L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[D,T],imports:[[i.U8,r.eL,o.BQ],o.BQ]}),t})()},13070:function(t,e,n){"use strict";n.d(e,{G_:function(){return H},KE:function(){return G},Eo:function(){return Z},lN:function(){return Q},hX:function(){return B}});var i=n(27853),r=n(61116),s=n(35366),o=n(87064),a=n(19861),l=n(55959),c=n(31906),u=n(87254),h=n(56238),d=n(25416),p=n(90611),f=n(99713),m=n(26136),g=n(94720),_=n(93169);const b=["underline"],v=["connectionContainer"],y=["inputContainer"],w=["label"];function x(t,e){1&t&&(s.ynx(0),s.TgZ(1,"div",14),s._UZ(2,"div",15),s._UZ(3,"div",16),s._UZ(4,"div",17),s.qZA(),s.TgZ(5,"div",18),s._UZ(6,"div",15),s._UZ(7,"div",16),s._UZ(8,"div",17),s.qZA(),s.BQk())}function C(t,e){1&t&&(s.TgZ(0,"div",19),s.Hsn(1,1),s.qZA())}function k(t,e){if(1&t&&(s.ynx(0),s.Hsn(1,2),s.TgZ(2,"span"),s._uU(3),s.qZA(),s.BQk()),2&t){const t=s.oxw(2);s.xp6(3),s.Oqu(t._control.placeholder)}}function A(t,e){1&t&&s.Hsn(0,3,["*ngSwitchCase","true"])}function E(t,e){1&t&&(s.TgZ(0,"span",23),s._uU(1," *"),s.qZA())}function S(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"label",20,21),s.NdJ("cdkObserveContent",function(){return s.CHM(t),s.oxw().updateOutlineGap()}),s.YNc(2,k,4,1,"ng-container",12),s.YNc(3,A,1,0,"ng-content",12),s.YNc(4,E,2,0,"span",22),s.qZA()}if(2&t){const t=s.oxw();s.ekj("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),s.Q6J("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),s.uIk("for",t._control.id)("aria-owns",t._control.id),s.xp6(2),s.Q6J("ngSwitchCase",!1),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function O(t,e){1&t&&(s.TgZ(0,"div",24),s.Hsn(1,4),s.qZA())}function T(t,e){if(1&t&&(s.TgZ(0,"div",25,26),s._UZ(2,"span",27),s.qZA()),2&t){const t=s.oxw();s.xp6(2),s.ekj("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function I(t,e){if(1&t&&(s.TgZ(0,"div"),s.Hsn(1,5),s.qZA()),2&t){const t=s.oxw();s.Q6J("@transitionMessages",t._subscriptAnimationState)}}function D(t,e){if(1&t&&(s.TgZ(0,"div",31),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.Q6J("id",t._hintLabelId),s.xp6(1),s.Oqu(t.hintLabel)}}function P(t,e){if(1&t&&(s.TgZ(0,"div",28),s.YNc(1,D,2,2,"div",29),s.Hsn(2,6),s._UZ(3,"div",30),s.Hsn(4,7),s.qZA()),2&t){const t=s.oxw();s.Q6J("@transitionMessages",t._subscriptAnimationState),s.xp6(1),s.Q6J("ngIf",t.hintLabel)}}const F=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],M=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],R=new s.OlP("MatError"),L={transitionMessages:(0,f.X$)("transitionMessages",[(0,f.SB)("enter",(0,f.oB)({opacity:1,transform:"translateY(0%)"})),(0,f.eR)("void => enter",[(0,f.oB)({opacity:0,transform:"translateY(-5px)"}),(0,f.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t}),t})();const N=new s.OlP("MatHint");let B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-label"]]}),t})(),U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.lG2({type:t,selectors:[["mat-placeholder"]]}),t})();const q=new s.OlP("MatPrefix"),z=new s.OlP("MatSuffix");let j=0;class ${constructor(t){this._elementRef=t}}const Y=(0,o.pj)($,"primary"),V=new s.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),H=new s.OlP("MatFormField");let G=(()=>{class t extends Y{constructor(t,e,n,i,r,s,o,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=r,this._platform=s,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+j++,this._labelId="mat-form-field-label-"+j++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=(0,a.Ig)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe((0,h.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,d.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,d.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,c.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,h.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,d.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,u.R)(this._label.nativeElement,"transitionend").pipe((0,p.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),s=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),o=t.children,a=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let t=0;t<o.length;t++)l+=o[t].offsetWidth;e=Math.abs(a-s)-5,n=l>0?.75*l+10:0}for(let o=0;o<r.length;o++)r[o].style.width=`${e}px`;for(let o=0;o<s.length;o++)s[o].style.width=`${n}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(g.Is,8),s.Y36(V,8),s.Y36(_.t4),s.Y36(s.R0b),s.Y36(m.Qb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,Z,5),s.Suo(n,Z,7),s.Suo(n,B,5),s.Suo(n,B,7),s.Suo(n,U,5),s.Suo(n,R,5),s.Suo(n,N,5),s.Suo(n,q,5),s.Suo(n,z,5)),2&t){let t;s.iGM(t=s.CRH())&&(e._controlNonStatic=t.first),s.iGM(t=s.CRH())&&(e._controlStatic=t.first),s.iGM(t=s.CRH())&&(e._labelChildNonStatic=t.first),s.iGM(t=s.CRH())&&(e._labelChildStatic=t.first),s.iGM(t=s.CRH())&&(e._placeholderChild=t.first),s.iGM(t=s.CRH())&&(e._errorChildren=t),s.iGM(t=s.CRH())&&(e._hintChildren=t),s.iGM(t=s.CRH())&&(e._prefixChildren=t),s.iGM(t=s.CRH())&&(e._suffixChildren=t)}},viewQuery:function(t,e){if(1&t&&(s.Gf(b,5),s.Gf(v,7),s.Gf(y,5),s.Gf(w,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.underlineRef=t.first),s.iGM(t=s.CRH())&&(e._connectionContainerRef=t.first),s.iGM(t=s.CRH())&&(e._inputContainerRef=t.first),s.iGM(t=s.CRH())&&(e._label=t.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(t,e){2&t&&s.ekj("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[s._Bn([{provide:H,useExisting:t}]),s.qOj],ngContentSelectors:M,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(s.F$t(F),s.TgZ(0,"div",0),s.TgZ(1,"div",1,2),s.NdJ("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),s.YNc(3,x,9,0,"ng-container",3),s.YNc(4,C,2,0,"div",4),s.TgZ(5,"div",5,6),s.Hsn(7),s.TgZ(8,"span",7),s.YNc(9,S,5,16,"label",8),s.qZA(),s.qZA(),s.YNc(10,O,2,0,"div",9),s.qZA(),s.YNc(11,T,3,4,"div",10),s.TgZ(12,"div",11),s.YNc(13,I,2,1,"div",12),s.YNc(14,P,5,2,"div",13),s.qZA(),s.qZA()),2&t&&(s.xp6(3),s.Q6J("ngIf","outline"==e.appearance),s.xp6(1),s.Q6J("ngIf",e._prefixChildren.length),s.xp6(5),s.Q6J("ngIf",e._hasFloatingLabel()),s.xp6(1),s.Q6J("ngIf",e._suffixChildren.length),s.xp6(1),s.Q6J("ngIf","outline"!=e.appearance),s.xp6(1),s.Q6J("ngSwitch",e._getDisplayedMessages()),s.xp6(1),s.Q6J("ngSwitchCase","error"),s.xp6(1),s.Q6J("ngSwitchCase","hint"))},directives:[r.O5,r.RF,r.n9,i.wD],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[L.transitionMessages]},changeDetection:0}),t})(),Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[r.ez,o.BQ,i.Q8],o.BQ]}),t})()},77307:function(t,e,n){"use strict";n.d(e,{Hw:function(){return F},Ps:function(){return M},jv:function(){return k}});var i=n(35366),r=n(87064),s=n(19861),o=n(61116),a=n(40878),l=n(31225),c=n(3148),u=n(87570),h=n(66599),d=n(79996),p=n(47727),f=n(11520),m=n(1055),g=n(90611),_=n(42693),b=n(99624);const v=["*"];function y(t){return Error(`Unable to find icon with the name "${t}"`)}function w(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function x(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class C{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let k=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new C(n,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,r){const s=this._sanitizer.sanitize(i.q3G.HTML,n);if(!s)throw x(n);return this._addSvgIconConfig(t,e,new C("",s,r))}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 C(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const r=this._sanitizer.sanitize(i.q3G.HTML,e);if(!r)throw x(e);return this._addSvgIconSetConfig(t,new C("",r,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,t);if(!e)throw w(t);const n=this._cachedIconsByUrl.get(e);return n?(0,a.of)(A(n)):this._loadSvgIconFromConfig(new C(t,null)).pipe((0,h.b)(t=>this._cachedIconsByUrl.set(e,t)),(0,d.U)(t=>A(t)))}getNamedSvgIcon(t,e=""){const n=E(e,t);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):(0,l._)(y(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,a.of)(A(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,d.U)(t=>A(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return(0,a.of)(n);const r=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe((0,p.K)(e=>{const n=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${e.message}`)),(0,a.of)(null)})));return(0,c.D)(r).pipe((0,d.U)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw y(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(e,t,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,h.b)(e=>t.svgText=e),(0,d.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,a.of)(null):this._fetchIcon(t).pipe((0,h.b)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);const s=this._svgElementFromString("<svg></svg>");return s.appendChild(r),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 i=0;i<n.length;i++){const{name:t,value:r}=n[i];"id"!==t&&e.setAttribute(t,r)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){var e;const{url:n,options:r}=t,s=null!==(e=null==r?void 0:r.withCredentials)&&void 0!==e&&e;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error(`Cannot fetch icon from URL "${n}".`);const o=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,n);if(!o)throw w(n);const a=this._inProgressUrlFetches.get(o);if(a)return a;const l=this._httpClient.get(o,{responseType:"text",withCredentials:s}).pipe((0,f.x)(()=>this._inProgressUrlFetches.delete(o)),(0,m.B)());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(E(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 i=0;i<this._resolvers.length;i++){const r=this._resolvers[i](e,t);if(r)return(n=r).url&&n.options?new C(r.url,null,r.options):new C(r,null)}var n}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(_.eN,8),i.LFG(b.H7),i.LFG(o.K0,8),i.LFG(i.qLn))},t.\u0275prov=(0,i.Yz7)({factory:function(){return new t((0,i.LFG)(_.eN,8),(0,i.LFG)(b.H7),(0,i.LFG)(o.K0,8),(0,i.LFG)(i.qLn))},token:t,providedIn:"root"}),t})();function A(t){return t.cloneNode(!0)}function E(t,e){return t+":"+e}class S{constructor(t){this._elementRef=t}}const O=(0,r.pj)(S),T=new i.OlP("mat-icon-location",{providedIn:"root",factory:function(){const t=(0,i.f3M)(o.K0),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),I=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],D=I.map(t=>`[${t}]`).join(", "),P=/^url\(['"]?#(.*?)['"]?\)$/;let F=(()=>{class t extends O{constructor(t,e,n,i,r){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=r,this._inline=!1,this._currentIconFetch=u.w.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=(0,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 i=0;i<e.length;i++)e[i].textContent+=" ";const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(D),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)I.forEach(t=>{const r=e[i],s=r.getAttribute(t),o=s?s.match(P):null;if(o){let e=n.get(r);e||(e=[],n.set(r,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe((0,g.q)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(k),i.$8M("aria-hidden"),i.Y36(T),i.Y36(i.qLn))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i.uIk("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i.ekj("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:v,decls:1,vars:0,template:function(t,e){1&t&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.BQ],r.BQ]}),t})()},97070:function(t,e,n){"use strict";n.d(e,{VK:function(){return B},KA:function(){return D},OP:function(){return R},Tx:function(){return Y},p6:function(){return j}});var i=n(97388),r=n(19861),s=n(99235),o=n(35366),a=n(55959),l=n(87570),c=n(31906),u=n(40878),h=n(92709),d=n(56238),p=n(44689),f=n(90611),m=n(43835),g=n(25416),_=n(82628),b=n(99713),v=n(82151),y=n(61116),w=n(87064),x=n(77923),C=n(93169),k=n(43725),A=n(94720);const E=["mat-menu-item",""],S=["*"];function O(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(e){return o.CHM(t),o.oxw()._handleKeydown(e)})("click",function(){return o.CHM(t),o.oxw().closed.emit("click")})("@transformMenu.start",function(e){return o.CHM(t),o.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return o.CHM(t),o.oxw()._onAnimationDone(e)}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA(),o.qZA()}if(2&t){const t=o.oxw();o.Q6J("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),o.uIk("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const T={transformMenu:(0,b.X$)("transformMenu",[(0,b.SB)("void",(0,b.oB)({opacity:0,transform:"scale(0.8)"})),(0,b.eR)("void => enter",(0,b.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,b.oB)({opacity:1,transform:"scale(1)"}))),(0,b.eR)("* => void",(0,b.jt)("100ms 25ms linear",(0,b.oB)({opacity:0})))]),fadeInItems:(0,b.X$)("fadeInItems",[(0,b.SB)("showing",(0,b.oB)({opacity:1})),(0,b.eR)("void => *",[(0,b.oB)({opacity:0}),(0,b.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},I=new o.OlP("MatMenuContent");let D=(()=>{class t{constructor(t,e,n,i,r,s,o){this._template=t,this._componentFactoryResolver=e,this._appRef=n,this._injector=i,this._viewContainerRef=r,this._document=s,this._changeDetectorRef=o,this._attached=new a.xQ}attach(t={}){this._portal||(this._portal=new v.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new v.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.Rgc),o.Y36(o._Vd),o.Y36(o.z2F),o.Y36(o.zs3),o.Y36(o.s_b),o.Y36(y.K0),o.Y36(o.sBO))},t.\u0275dir=o.lG2({type:t,selectors:[["ng-template","matMenuContent",""]],features:[o._Bn([{provide:I,useExisting:t}])]}),t})();const P=new o.OlP("MAT_MENU_PANEL");class F{}const M=(0,w.Kr)((0,w.Id)(F));let R=(()=>{class t extends M{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new a.xQ,this._focused=new a.xQ,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let r=0;r<i.length;r++){const e=i[r];null===(t=e.parentNode)||void 0===t||t.removeChild(e)}return(null===(e=n.textContent)||void 0===e?void 0:e.trim())||""}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(y.K0),o.Y36(i.tE),o.Y36(P,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(t,e){1&t&&o.NdJ("click",function(t){return e._checkDisabled(t)})("mouseenter",function(){return e._handleMouseEnter()}),2&t&&(o.uIk("role",e.role)("tabindex",e._getTabIndex())("aria-disabled",e.disabled.toString())("disabled",e.disabled||null),o.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",e._highlighted)("mat-menu-item-submenu-trigger",e._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[o.qOj],attrs:E,ngContentSelectors:S,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(t,e){1&t&&(o.F$t(),o.Hsn(0),o._UZ(1,"div",0)),2&t&&(o.xp6(1),o.Q6J("matRippleDisabled",e.disableRipple||e.disabled)("matRippleTrigger",e._getHostElement()))},directives:[w.wG],encapsulation:2,changeDetection:0}),t})();const L=new o.OlP("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Z=0,N=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.n_E,this._tabSubscription=l.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new a.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Z++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=(0,r.Ig)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=(0,r.Ig)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new i.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,p.w)(t=>(0,c.T)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,p.w)(t=>(0,c.T)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case s.hY:(0,s.Vb)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case s.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case s.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==s.LH&&e!==s.JH||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe((0,f.q)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e=`mat-elevation-z${Math.min(4+t,24)}`,n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.O)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(L))},t.\u0275dir=o.lG2({type:t,contentQueries:function(t,e,n){if(1&t&&(o.Suo(n,I,5),o.Suo(n,R,5),o.Suo(n,R,4)),2&t){let t;o.iGM(t=o.CRH())&&(e.lazyContent=t.first),o.iGM(t=o.CRH())&&(e._allItems=t),o.iGM(t=o.CRH())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(o.Rgc,5),2&t){let t;o.iGM(t=o.CRH())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),B=(()=>{class t extends N{constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(L))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o._Bn([{provide:P,useExisting:t}]),o.qOj],ngContentSelectors:S,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(o.F$t(),o.YNc(0,O,3,6,"ng-template"))},directives:[y.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[T.transformMenu,T.fadeInItems]},changeDetection:0}),t})();const U=new o.OlP("mat-menu-scroll-strategy"),q={provide:U,deps:[x.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},z=(0,C.i$)({passive:!0});let j=(()=>{class t{constructor(t,e,n,r,s,a,c,u){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=a,this._dir=c,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=l.w.EMPTY,this._hoverSubscription=l.w.EMPTY,this._menuCloseSubscription=l.w.EMPTY,this._handleTouchStart=t=>{(0,i.yG)(t)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=s instanceof N?s:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,z),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(t=>{this._destroyMenu(t),"click"!==t&&"tab"!==t||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,z),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof N&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==t&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,e instanceof N?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe((0,m.h)(t=>"void"===t.toState),(0,f.q)(1),(0,g.R)(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new x.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,o]=[i,r],[a,l]=[e,n],c=0;this.triggersSubmenu()?(l=e="before"===this.menu.xPosition?"start":"end",n=a="end"===e?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(s="top"===i?"bottom":"top",o="top"===r?"bottom":"top"),t.withPositions([{originX:e,originY:s,overlayX:a,overlayY:i,offsetY:c},{originX:n,originY:s,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:o,overlayX:a,overlayY:r,offsetY:-c},{originX:n,originY:o,overlayX:l,overlayY:r,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,m.h)(t=>t!==this._menuItemInstance),(0,m.h)(()=>this._menuOpen)):(0,u.of)();return(0,c.T)(t,n,i,e)}_handleMousedown(t){(0,i.X6)(t)||(this._openedBy=0===t.button?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;e!==s.K5&&e!==s.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===s.SV&&"ltr"===this.dir||e===s.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,m.h)(t=>t===this._menuItemInstance&&!t.disabled),(0,_.g)(0,h.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof N&&this.menu._isAnimating?this.menu._animationDone.pipe((0,f.q)(1),(0,_.g)(0,h.E),(0,g.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new v.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(x.aV),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(U),o.Y36(P,8),o.Y36(R,10),o.Y36(A.Is,8),o.Y36(i.tE))},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&o.NdJ("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&o.uIk("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[q],imports:[w.BQ]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[q],imports:[[y.ez,w.BQ,w.si,x.U8,$],k.ZD,w.BQ,$]}),t})()},27701:function(t,e,n){"use strict";n.d(e,{pW:function(){return g},Cv:function(){return b}});var i=n(35366),r=n(61116),s=n(87064),o=n(19861),a=n(26136),l=n(87570),c=n(87254),u=n(43835);const h=["primaryValueBar"];class d{constructor(t){this._elementRef=t}}const p=(0,s.pj)(d,"primary"),f=new i.OlP("mat-progress-bar-location",{providedIn:"root",factory:function(){const t=(0,i.f3M)(r.K0),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}});let m=0,g=(()=>{class t extends p{constructor(t,e,n,r){super(t),this._elementRef=t,this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new i.vpe,this._animationEndSubscription=l.w.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+m++;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=_((0,o.su)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=_(t||0)}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,c.R)(t,"transitionend").pipe((0,u.h)(e=>e.target===t)).subscribe(()=>{"determinate"!==this.mode&&"buffer"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(a.Qb,8),i.Y36(f,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){if(1&t&&i.Gf(h,5),2&t){let t;i.iGM(t=i.CRH())&&(e._primaryValueBar=t.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,e){2&t&&(i.uIk("aria-valuenow","indeterminate"===e.mode||"query"===e.mode?null:e.value)("mode",e.mode),i.ekj("_mat-animation-noopable",e._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[i.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i.O4$(),i.TgZ(1,"svg",1),i.TgZ(2,"defs"),i.TgZ(3,"pattern",2),i._UZ(4,"circle",3),i.qZA(),i.qZA(),i._UZ(5,"rect",4),i.qZA(),i.kcU(),i._UZ(6,"div",5),i._UZ(7,"div",6,7),i._UZ(9,"div",8),i.qZA()),2&t&&(i.xp6(3),i.Q6J("id",e.progressbarId),i.xp6(2),i.uIk("fill",e._rectangleFillValue),i.xp6(1),i.Q6J("ngStyle",e._bufferTransform()),i.xp6(1),i.Q6J("ngStyle",e._primaryTransform()))},directives:[r.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 _(t,e=0,n=100){return Math.max(e,Math.min(n,t))}let b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.ez,s.BQ],s.BQ]}),t})()},13841:function(t,e,n){"use strict";n.d(e,{gD:function(){return Y},LD:function(){return V}});var i=n(77923),r=n(61116),s=n(35366),o=n(87064),a=n(13070),l=n(43725),c=n(97388),u=n(19861),h=n(58378),d=n(99235),p=n(55959),f=n(31450),m=n(31906),g=n(56238),_=n(44689),b=n(90611),v=n(43835),y=n(79996),w=n(98720),x=n(25416),C=n(99713),k=n(94720),A=n(31041);const E=["trigger"],S=["panel"];function O(t,e){if(1&t&&(s.TgZ(0,"span",8),s._uU(1),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Oqu(t.placeholder)}}function T(t,e){if(1&t&&(s.TgZ(0,"span",12),s._uU(1),s.qZA()),2&t){const t=s.oxw(2);s.xp6(1),s.Oqu(t.triggerValue)}}function I(t,e){1&t&&s.Hsn(0,0,["*ngSwitchCase","true"])}function D(t,e){if(1&t&&(s.TgZ(0,"span",9),s.YNc(1,T,2,1,"span",10),s.YNc(2,I,1,0,"ng-content",11),s.qZA()),2&t){const t=s.oxw();s.Q6J("ngSwitch",!!t.customTrigger),s.xp6(2),s.Q6J("ngSwitchCase",!0)}}function P(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"div",13),s.TgZ(1,"div",14,15),s.NdJ("@transformPanel.done",function(e){return s.CHM(t),s.oxw()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return s.CHM(t),s.oxw()._handleKeydown(e)}),s.Hsn(3,1),s.qZA(),s.qZA()}if(2&t){const t=s.oxw();s.Q6J("@transformPanelWrap",void 0),s.xp6(1),s.Gre("mat-select-panel ",t._getPanelTheme(),""),s.Udp("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),s.Q6J("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),s.uIk("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const F=[[["mat-select-trigger"]],"*"],M=["mat-select-trigger","*"],R={transformPanelWrap:(0,C.X$)("transformPanelWrap",[(0,C.eR)("* => void",(0,C.IO)("@transformPanel",[(0,C.pV)()],{optional:!0}))]),transformPanel:(0,C.X$)("transformPanel",[(0,C.SB)("void",(0,C.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,C.SB)("showing",(0,C.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,C.SB)("showing-multiple",(0,C.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,C.eR)("void => *",(0,C.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,C.eR)("* => void",(0,C.jt)("100ms 25ms linear",(0,C.oB)({opacity:0})))])};let L=0;const Z=new s.OlP("mat-select-scroll-strategy"),N=new s.OlP("MAT_SELECT_CONFIG"),B={provide:Z,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class U{constructor(t,e){this.source=t,this.value=e}}class q{constructor(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const z=(0,o.Kr)((0,o.sb)((0,o.Id)((0,o.FD)(q)))),j=new s.OlP("MatSelectTrigger");let $=(()=>{class t extends z{constructor(t,e,n,i,r,o,a,l,c,u,h,d,w,x){var C,k,A;super(r,i,a,l,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=w,this._defaultOptions=x,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+L++,this._triggerAriaLabelledBy=null,this._destroy=new p.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+L++,this._panelDoneAnimatingStream=new p.xQ,this._overlayPanelClass=(null===(C=this._defaultOptions)||void 0===C?void 0:C.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(A=null===(k=this._defaultOptions)||void 0===k?void 0:k.disableOptionCentering)&&void 0!==A&&A,this.ariaLabel="",this.optionSelectionChanges=(0,f.P)(()=>{const t=this.options;return t?t.changes.pipe((0,g.O)(t),(0,_.w)(()=>(0,m.T)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe((0,b.q)(1),(0,_.w)(()=>this.optionSelectionChanges))}),this.openedChange=new s.vpe,this._openedStream=this.openedChange.pipe((0,v.h)(t=>t),(0,y.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,v.h)(t=>!t),(0,y.U)(()=>{})),this.selectionChange=new s.vpe,this.valueChange=new s.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==x?void 0:x.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=x.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=(0,u.Ig)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=(0,u.Ig)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=(0,u.Ig)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=(0,u.su)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,w.x)(),(0,x.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,x.R)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe((0,g.O)(null),(0,x.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===d.JH||e===d.LH||e===d.oh||e===d.SV,i=e===d.K5||e===d.L_,r=this._keyManager;if(!r.isTyping()&&i&&!(0,d.Vb)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;r.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===d.JH||n===d.LH,r=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(r||n!==d.K5&&n!==d.L_||!e.activeItem||(0,d.Vb)(t))if(!r&&this._multiple&&n===d.A&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe((0,b.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{if(this._selectionModel.isSelected(e))return!1;try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new c.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,x.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,x.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=(0,m.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,x.R)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,m.T)(...this.options.map(t=>t._stateChanges)).pipe((0,x.R)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var t;if(this.ariaLabel)return null;const e=null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId();let n=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(l.rL),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(o.rD),s.Y36(s.SBq),s.Y36(k.Is,8),s.Y36(A.F,8),s.Y36(A.sg,8),s.Y36(a.G_,8),s.Y36(A.a5,10),s.$8M("tabindex"),s.Y36(Z),s.Y36(c.Kd),s.Y36(N,8))},t.\u0275dir=s.lG2({type:t,viewQuery:function(t,e){if(1&t&&(s.Gf(E,5),s.Gf(S,5),s.Gf(i.pI,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.trigger=t.first),s.iGM(t=s.CRH())&&(e.panel=t.first),s.iGM(t=s.CRH())&&(e.overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[s.qOj,s.TTD]}),t})(),Y=(()=>{class t extends ${constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,x.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(t){const e=(0,o.CB)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,o.jH)((t+e)*n,n,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new U(this,t)}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let t=this._selectionModel.selected[0]||this.options.first;r=t&&t.group?32:16}n||(r*=-1);const s=0-(t.left+r-(n?i:0)),o=t.right+r-e.width+(n?0:i);s>0?r+=s+8:o>0&&(r-=o+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,s=Math.floor(256/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*o-r))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-s-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):s>i?this._adjustPanelDown(s,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n;let r;r=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),r+=(0,o.CB)(r,this.options,this.optionGroups);const s=n/2;this._scrollTop=this._calculateOverlayScroll(r,s,i),this._offsetY=this._calculateOverlayOffsetY(r,s,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=s.n5z(t)))(n||t)}}(),t.\u0275cmp=s.Xpm({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(s.Suo(n,j,5),s.Suo(n,o.ey,5),s.Suo(n,o.K7,5)),2&t){let t;s.iGM(t=s.CRH())&&(e.customTrigger=t.first),s.iGM(t=s.CRH())&&(e.options=t),s.iGM(t=s.CRH())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&s.NdJ("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(s.uIk("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),s.ekj("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[s._Bn([{provide:a.Eo,useExisting:t},{provide:o.HF,useExisting:t}]),s.qOj],ngContentSelectors:M,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(s.F$t(F),s.TgZ(0,"div",0,1),s.NdJ("click",function(){return e.toggle()}),s.TgZ(3,"div",2),s.YNc(4,O,2,1,"span",3),s.YNc(5,D,3,2,"span",4),s.qZA(),s.TgZ(6,"div",5),s._UZ(7,"div",6),s.qZA(),s.qZA(),s.YNc(8,P,4,14,"ng-template",7),s.NdJ("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=s.MAs(1);s.uIk("aria-owns",e.panelOpen?e.id+"-panel":null),s.xp6(3),s.Q6J("ngSwitch",e.empty),s.uIk("id",e._valueId),s.xp6(1),s.Q6J("ngSwitchCase",!0),s.xp6(1),s.Q6J("ngSwitchCase",!1),s.xp6(3),s.Q6J("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[i.xu,r.RF,r.n9,i.pI,r.ED,r.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[R.transformPanelWrap,R.transformPanel]},changeDetection:0}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[B],imports:[[r.ez,i.U8,o.Ng,o.BQ],l.ZD,a.lN,o.Ng,o.BQ]}),t})()},63589:function(t,e,n){"use strict";n.d(e,{qD:function(){return b},ux:function(){return S},ZX:function(){return A}});var i=n(77923),r=n(82151),s=n(61116),o=n(35366),a=n(87064),l=n(84369),c=n(55959),u=n(90611),h=n(25416),d=n(99713),p=n(97388),f=n(34546),m=n(93169);function g(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"div",1),o.TgZ(1,"button",2),o.NdJ("click",function(){return o.CHM(t),o.oxw().action()}),o._uU(2),o.qZA(),o.qZA()}if(2&t){const t=o.oxw();o.xp6(2),o.Oqu(t.data.action)}}function _(t,e){}const b=new o.OlP("MatSnackBarData");class v{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const y=Math.pow(2,31)-1;class w{constructor(t,e){this._overlayRef=e,this._afterDismissed=new c.xQ,this._afterOpened=new c.xQ,this._onAction=new c.xQ,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,y))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let x=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(w),o.Y36(b))},t.\u0275cmp=o.Xpm({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(o.TgZ(0,"span"),o._uU(1),o.qZA(),o.YNc(2,g,3,1,"div",0)),2&t&&(o.xp6(1),o.Oqu(e.data.message),o.xp6(1),o.Q6J("ngIf",e.hasAction))},directives:[s.O5,l.lW],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),t})();const C={snackBarState:(0,d.X$)("state",[(0,d.SB)("void, hidden",(0,d.oB)({transform:"scale(0.8)",opacity:0})),(0,d.SB)("visible",(0,d.oB)({transform:"scale(1)",opacity:1})),(0,d.eR)("* => visible",(0,d.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,d.eR)("* => void, * => hidden",(0,d.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,d.oB)({opacity:0})))])};let k=(()=>{class t extends r.en{constructor(t,e,n,i,r){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=i,this.snackBarConfig=r,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new c.xQ,this._onExit=new c.xQ,this._onEnter=new c.xQ,this._animationState="void",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._live="assertive"!==r.politeness||r.announcementMessage?"off"===r.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,u.q)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.R0b),o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(m.t4),o.Y36(v))},t.\u0275cmp=o.Xpm({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){if(1&t&&o.Gf(r.Pl,7),2&t){let t;o.iGM(t=o.CRH())&&(e._portalOutlet=t.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,e){1&t&&o.WFA("@state.done",function(t){return e.onAnimationEnd(t)}),2&t&&o.d8E("@state",e._animationState)},features:[o.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,e){1&t&&(o.TgZ(0,"div",0),o.YNc(1,_,0,0,"ng-template",1),o.qZA(),o._UZ(2,"div")),2&t&&(o.xp6(2),o.uIk("aria-live",e._live)("role",e._role))},directives:[r.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[C.snackBarState]}}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[i.U8,r.eL,s.ez,l.ot,a.BQ],a.BQ]}),t})();const E=new o.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new v}});let S=(()=>{class t{constructor(t,e,n,i,r,s){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=s,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=x,this.snackBarContainerComponent=k,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=o.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:v,useValue:e}]}),i=new r.C5(this.snackBarContainerComponent,e.viewContainerRef,n),s=t.attach(i);return s.instance.snackBarConfig=e,s.instance}_attach(t,e){const n=Object.assign(Object.assign(Object.assign({},new v),this._defaultConfig),e),i=this._createOverlay(n),s=this._attachSnackBarContainer(i,n),a=new w(s,i);if(t instanceof o.Rgc){const e=new r.UE(t,null,{$implicit:n.data,snackBarRef:a});a.instance=s.attachTemplatePortal(e)}else{const e=this._createInjector(n,a),i=new r.C5(t,void 0,e),o=s.attachComponentPortal(i);a.instance=o.instance}return this._breakpointObserver.observe(f.u3.HandsetPortrait).pipe((0,h.R)(i.detachments())).subscribe(t=>{const e=i.overlayElement.classList;t.matches?e.add(this.handsetCssClass):e.remove(this.handsetCssClass)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){const e=new i.X_;e.direction=t.direction;let n=this._overlay.position().global();const r="rtl"===t.direction,s="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,o=!s&&"center"!==t.horizontalPosition;return s?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return o.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:w,useValue:e},{provide:b,useValue:t.data}]})}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(i.aV),o.LFG(p.Kd),o.LFG(o.zs3),o.LFG(f.Yg),o.LFG(t,12),o.LFG(E))},t.\u0275prov=(0,o.Yz7)({factory:function(){return new t((0,o.LFG)(i.aV),(0,o.LFG)(p.Kd),(0,o.LFG)(o.gxx),(0,o.LFG)(f.Yg),(0,o.LFG)(t,12),(0,o.LFG)(E))},token:t,providedIn:A}),t})()},44716:function(t,e,n){"use strict";n.d(e,{ae:function(){return K},C0:function(){return J},Vq:function(){return W},z9:function(){return Q},T5:function(){return tt},fd:function(){return X}});var i=n(82151),r=n(97388),s=n(94720),o=n(19861),a=n(99235),l=n(61116),c=n(35366),u=n(55959),h=n(40878),d=n(56238),p=n(25416);function f(t,e){1&t&&c.Hsn(0)}const m=["*"];let g=(()=>{class t{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(c.SBq))},t.\u0275dir=c.lG2({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),_=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(c.Rgc))},t.\u0275dir=c.lG2({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),b=0;const v=new c.OlP("STEPPER_GLOBAL_OPTIONS");let y=(()=>{class t{constructor(t,e){this._stepper=t,this.interacted=!1,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType,this._showError=!!this._stepperOptions.showError}get editable(){return this._editable}set editable(t){this._editable=(0,o.Ig)(t)}get optional(){return this._optional}set optional(t){this._optional=(0,o.Ig)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=(0,o.Ig)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=(0,o.Ig)(t)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}}return t.\u0275fac=function(e){return new(e||t)(c.Y36((0,c.Gpc)(()=>w)),c.Y36(v,8))},t.\u0275cmp=c.Xpm({type:t,selectors:[["cdk-step"]],contentQueries:function(t,e,n){if(1&t&&c.Suo(n,_,5),2&t){let t;c.iGM(t=c.CRH())&&(e.stepLabel=t.first)}},viewQuery:function(t,e){if(1&t&&c.Gf(c.Rgc,7),2&t){let t;c.iGM(t=c.CRH())&&(e.content=t.first)}},inputs:{editable:"editable",optional:"optional",completed:"completed",hasError:"hasError",stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state"},exportAs:["cdkStep"],features:[c.TTD],ngContentSelectors:m,decls:1,vars:0,template:function(t,e){1&t&&(c.F$t(),c.YNc(0,f,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{constructor(t,e,n,i){this._dir=t,this._changeDetectorRef=e,this._elementRef=n,this._destroyed=new u.xQ,this.steps=new c.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new c.vpe,this._orientation="horizontal",this._groupId=b++,this._document=i}get linear(){return this._linear}set linear(t){this._linear=(0,o.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const e=(0,o.su)(t);if(this.steps&&this._steps){this._isValidIndex(t);const n=this.selected;n&&(n.interacted=!0),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(t)}else this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=this.steps?this.steps.toArray().indexOf(t):-1}ngAfterContentInit(){this._steps.changes.pipe((0,d.O)(this._steps),(0,p.R)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(t=>t._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._keyManager=new r.Em(this._stepHeader).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,h.of)()).pipe((0,d.O)(this._layoutDirection()),(0,p.R)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":e>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,e="number"){const n=this.steps.toArray()[t],i=this._isCurrentStep(t);return n._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(n,i):this._getGuidelineLogic(n,i,e)}_getDefaultIndicatorLogic(t,e){return t._showError&&t.hasError&&!e?"error":!t.completed||e?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,e,n="number"){return t._showError&&t.hasError&&!e?"error":t.completed&&!e?"done":t.completed&&e?n:t.editable&&e?"edit":n}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const e=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this._stateChanged()}_onKeydown(t){const e=(0,a.Vb)(t),n=t.keyCode,i=this._keyManager;null==i.activeItemIndex||e||n!==a.L_&&n!==a.K5?i.onKeydown(t):(this.selectedIndex=i.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(t=>{const e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){if(!this._document||!this._elementRef)return!1;const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}_isValidIndex(t){return t>-1&&(!this.steps||t<this.steps.length)}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(s.Is,8),c.Y36(c.sBO),c.Y36(c.SBq),c.Y36(l.K0))},t.\u0275dir=c.lG2({type:t,selectors:[["","cdkStepper",""]],contentQueries:function(t,e,n){if(1&t&&(c.Suo(n,y,5),c.Suo(n,g,5)),2&t){let t;c.iGM(t=c.CRH())&&(e._steps=t),c.iGM(t=c.CRH())&&(e._stepHeader=t)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),t})(),x=(()=>{class t{constructor(t){this._stepper=t,this.type="button"}_handleClick(){this._stepper.previous()}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(w))},t.\u0275dir=c.lG2({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(t,e){1&t&&c.NdJ("click",function(){return e._handleClick()}),2&t&&c.Ikx("type",e.type)},inputs:{type:"type"}}),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[s.vT]]}),t})();var k=n(84369),A=n(87064),E=n(77307),S=n(98720),O=n(99713);function T(t,e){if(1&t&&c.GkF(0,8),2&t){const t=c.oxw();c.Q6J("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function I(t,e){if(1&t&&(c.TgZ(0,"span"),c._uU(1),c.qZA()),2&t){const t=c.oxw(2);c.xp6(1),c.Oqu(t._getDefaultTextForState(t.state))}}function D(t,e){if(1&t&&(c.TgZ(0,"mat-icon"),c._uU(1),c.qZA()),2&t){const t=c.oxw(2);c.xp6(1),c.Oqu(t._getDefaultTextForState(t.state))}}function P(t,e){if(1&t&&(c.ynx(0,9),c.YNc(1,I,2,1,"span",10),c.YNc(2,D,2,1,"mat-icon",11),c.BQk()),2&t){const t=c.oxw();c.Q6J("ngSwitch",t.state),c.xp6(1),c.Q6J("ngSwitchCase","number")}}function F(t,e){if(1&t&&(c.TgZ(0,"div",12),c.GkF(1,13),c.qZA()),2&t){const t=c.oxw();c.xp6(1),c.Q6J("ngTemplateOutlet",t._templateLabel().template)}}function M(t,e){if(1&t&&(c.TgZ(0,"div",12),c._uU(1),c.qZA()),2&t){const t=c.oxw();c.xp6(1),c.Oqu(t.label)}}function R(t,e){if(1&t&&(c.TgZ(0,"div",14),c._uU(1),c.qZA()),2&t){const t=c.oxw();c.xp6(1),c.Oqu(t._intl.optionalLabel)}}function L(t,e){if(1&t&&(c.TgZ(0,"div",15),c._uU(1),c.qZA()),2&t){const t=c.oxw();c.xp6(1),c.Oqu(t.errorMessage)}}function Z(t,e){1&t&&c.Hsn(0)}const N=["*"];function B(t,e){1&t&&c._UZ(0,"div",6)}function U(t,e){if(1&t){const t=c.EpF();c.ynx(0),c.TgZ(1,"mat-step-header",4),c.NdJ("click",function(){return e.$implicit.select()})("keydown",function(e){return c.CHM(t),c.oxw()._onKeydown(e)}),c.qZA(),c.YNc(2,B,1,0,"div",5),c.BQk()}if(2&t){const t=e.$implicit,n=e.index,i=e.last,r=c.oxw();c.xp6(1),c.Q6J("tabIndex",r._getFocusIndex()===n?0:-1)("id",r._getStepLabelId(n))("index",n)("state",r._getIndicatorType(n,t.state))("label",t.stepLabel||t.label)("selected",r.selectedIndex===n)("active",t.completed||r.selectedIndex===n||!r.linear)("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",r._iconOverrides)("disableRipple",r.disableRipple)("color",t.color||r.color),c.uIk("aria-posinset",n+1)("aria-setsize",r.steps.length)("aria-controls",r._getStepContentId(n))("aria-selected",r.selectedIndex==n)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),c.xp6(1),c.Q6J("ngIf",!i)}}function q(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",7),c.NdJ("@stepTransition.done",function(e){return c.CHM(t),c.oxw()._animationDone.next(e)}),c.GkF(1,8),c.qZA()}if(2&t){const t=e.$implicit,n=e.index,i=c.oxw();c.Q6J("@stepTransition",i._getAnimationDirection(n))("id",i._getStepContentId(n)),c.uIk("aria-labelledby",i._getStepLabelId(n))("aria-expanded",i.selectedIndex===n),c.xp6(1),c.Q6J("ngTemplateOutlet",t.content)}}let z=(()=>{class t extends _{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=c.n5z(t)))(n||t)}}(),t.\u0275dir=c.lG2({type:t,selectors:[["","matStepLabel",""]],features:[c.qOj]}),t})(),j=(()=>{class t{constructor(){this.changes=new u.xQ,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,c.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const $={provide:j,deps:[[new c.FiY,new c.tp0,j]],useFactory:function(t){return t||new j}};class Y extends g{constructor(t){super(t)}}const V=(0,A.pj)(Y,"primary");let H=(()=>{class t extends V{constructor(t,e,n,i){super(n),this._intl=t,this._focusMonitor=e,this._intlSubscription=t.changes.subscribe(()=>i.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._elementRef,t,e):this._elementRef.nativeElement.focus(e)}_stringLabel(){return this.label instanceof z?null:this.label}_templateLabel(){return this.label instanceof z?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(j),c.Y36(r.tE),c.Y36(c.SBq),c.Y36(c.sBO))},t.\u0275cmp=c.Xpm({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header","mat-focus-indicator"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[c.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(t,e){1&t&&(c._UZ(0,"div",0),c.TgZ(1,"div"),c.TgZ(2,"div",1),c.YNc(3,T,1,2,"ng-container",2),c.YNc(4,P,3,2,"ng-container",3),c.qZA(),c.qZA(),c.TgZ(5,"div",4),c.YNc(6,F,2,1,"div",5),c.YNc(7,M,2,1,"div",5),c.YNc(8,R,2,1,"div",6),c.YNc(9,L,2,1,"div",7),c.qZA()),2&t&&(c.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disableRipple),c.xp6(1),c.Gre("mat-step-icon-state-",e.state," mat-step-icon"),c.ekj("mat-step-icon-selected",e.selected),c.xp6(1),c.Q6J("ngSwitch",!(!e.iconOverrides||!e.iconOverrides[e.state])),c.xp6(1),c.Q6J("ngSwitchCase",!0),c.xp6(2),c.ekj("mat-step-label-active",e.active)("mat-step-label-selected",e.selected)("mat-step-label-error","error"==e.state),c.xp6(1),c.Q6J("ngIf",e._templateLabel()),c.xp6(1),c.Q6J("ngIf",e._stringLabel()),c.xp6(1),c.Q6J("ngIf",e.optional&&"error"!=e.state),c.xp6(1),c.Q6J("ngIf","error"==e.state))},directives:[A.wG,l.RF,l.n9,l.ED,l.O5,l.tP,E.Hw],styles:[".mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content,.mat-step-icon .mat-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})();const G={horizontalStepTransition:(0,O.X$)("stepTransition",[(0,O.SB)("previous",(0,O.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,O.SB)("current",(0,O.oB)({transform:"none",visibility:"inherit"})),(0,O.SB)("next",(0,O.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,O.eR)("* => *",(0,O.jt)("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:(0,O.X$)("stepTransition",[(0,O.SB)("previous",(0,O.oB)({height:"0px",visibility:"hidden"})),(0,O.SB)("next",(0,O.oB)({height:"0px",visibility:"hidden"})),(0,O.SB)("current",(0,O.oB)({height:"*",visibility:"inherit"})),(0,O.eR)("* <=> current",(0,O.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])};let Q=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(c.Rgc))},t.\u0275dir=c.lG2({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),J=(()=>{class t extends y{constructor(t,e,n){super(t,n),this._errorStateMatcher=e}isErrorState(t,e){return this._errorStateMatcher.isErrorState(t,e)||!!(t&&t.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(c.Y36((0,c.Gpc)(()=>W)),c.Y36(A.rD,4),c.Y36(v,8))},t.\u0275cmp=c.Xpm({type:t,selectors:[["mat-step"]],contentQueries:function(t,e,n){if(1&t&&c.Suo(n,z,5),2&t){let t;c.iGM(t=c.CRH())&&(e.stepLabel=t.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[c._Bn([{provide:A.rD,useExisting:t},{provide:y,useExisting:t}]),c.qOj],ngContentSelectors:N,decls:1,vars:0,template:function(t,e){1&t&&(c.F$t(),c.YNc(0,Z,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),W=(()=>{class t extends w{constructor(){super(...arguments),this.steps=new c.n_E,this.animationDone=new c.vpe,this._iconOverrides={},this._animationDone=new u.xQ}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:e})=>this._iconOverrides[t]=e),this.steps.changes.pipe((0,p.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,S.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState),(0,p.R)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=c.n5z(t)))(n||t)}}(),t.\u0275dir=c.lG2({type:t,selectors:[["","matStepper",""]],contentQueries:function(t,e,n){if(1&t&&(c.Suo(n,J,5),c.Suo(n,Q,5)),2&t){let t;c.iGM(t=c.CRH())&&(e._steps=t),c.iGM(t=c.CRH())&&(e._icons=t)}},viewQuery:function(t,e){if(1&t&&c.Gf(H,5),2&t){let t;c.iGM(t=c.CRH())&&(e._stepHeader=t)}},inputs:{disableRipple:"disableRipple",color:"color"},outputs:{animationDone:"animationDone"},features:[c._Bn([{provide:w,useExisting:t}]),c.qOj]}),t})(),K=(()=>{class t extends W{constructor(){super(...arguments),this.labelPosition="end"}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=c.n5z(t)))(n||t)}}(),t.\u0275cmp=c.Xpm({type:t,selectors:[["mat-horizontal-stepper"]],hostAttrs:["aria-orientation","horizontal","role","tablist",1,"mat-stepper-horizontal"],hostVars:4,hostBindings:function(t,e){2&t&&c.ekj("mat-stepper-label-position-end","end"==e.labelPosition)("mat-stepper-label-position-bottom","bottom"==e.labelPosition)},inputs:{selectedIndex:"selectedIndex",labelPosition:"labelPosition"},exportAs:["matHorizontalStepper"],features:[c._Bn([{provide:W,useExisting:t},{provide:w,useExisting:t}]),c.qOj],decls:4,vars:2,consts:[[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id",4,"ngFor","ngForOf"],[1,"mat-horizontal-stepper-header",3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(c.TgZ(0,"div",0),c.YNc(1,U,3,19,"ng-container",1),c.qZA(),c.TgZ(2,"div",2),c.YNc(3,q,2,5,"div",3),c.qZA()),2&t&&(c.xp6(1),c.Q6J("ngForOf",e.steps),c.xp6(2),c.Q6J("ngForOf",e.steps))},directives:[l.sg,H,l.O5,l.tP],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\n'],encapsulation:2,data:{animation:[G.horizontalStepTransition]},changeDetection:0}),t})(),X=(()=>{class t extends x{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=c.n5z(t)))(n||t)}}(),t.\u0275dir=c.lG2({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(t,e){2&t&&c.Ikx("type",e.type)},inputs:{type:"type"},features:[c.qOj]}),t})(),tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({providers:[$,A.rD],imports:[[A.BQ,l.ez,i.eL,k.ot,C,E.Ps,A.si],A.BQ]}),t})()},57173:function(t,e,n){"use strict";n.d(e,{uX:function(){return Q},Vc:function(){return $},SP:function(){return ot},Nh:function(){return ft}});var i=n(97388),r=n(27853),s=n(82151),o=n(61116),a=n(35366),l=n(87064),c=n(26136),u=n(55959),h=n(87570),d=n(31906),p=n(87254),f=n(40878),m=n(81110),g=n(99713),_=n(56238),b=n(98720),v=n(25416),y=n(19861),w=n(93169),x=n(99235),C=n(94720),k=n(43725);function A(t,e){1&t&&a.Hsn(0)}const E=["*"];function S(t,e){}const O=function(t){return{animationDuration:t}},T=function(t,e){return{value:t,params:e}},I=["tabBodyWrapper"],D=["tabHeader"];function P(t,e){}function F(t,e){if(1&t&&a.YNc(0,P,0,0,"ng-template",9),2&t){const t=a.oxw().$implicit;a.Q6J("cdkPortalOutlet",t.templateLabel)}}function M(t,e){if(1&t&&a._uU(0),2&t){const t=a.oxw().$implicit;a.Oqu(t.textLabel)}}function R(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"div",6),a.NdJ("click",function(){const e=a.CHM(t),n=e.$implicit,i=e.index,r=a.oxw(),s=a.MAs(1);return r._handleClick(n,s,i)})("cdkFocusChange",function(e){const n=a.CHM(t).index;return a.oxw()._tabFocusChanged(e,n)}),a.TgZ(1,"div",7),a.YNc(2,F,1,1,"ng-template",8),a.YNc(3,M,1,1,"ng-template",8),a.qZA(),a.qZA()}if(2&t){const t=e.$implicit,n=e.index,i=a.oxw();a.ekj("mat-tab-label-active",i.selectedIndex==n),a.Q6J("id",i._getTabLabelId(n))("disabled",t.disabled)("matRippleDisabled",t.disabled||i.disableRipple),a.uIk("tabIndex",i._getTabIndex(t,n))("aria-posinset",n+1)("aria-setsize",i._tabs.length)("aria-controls",i._getTabContentId(n))("aria-selected",i.selectedIndex==n)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),a.xp6(2),a.Q6J("ngIf",t.templateLabel),a.xp6(1),a.Q6J("ngIf",!t.templateLabel)}}function L(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-tab-body",10),a.NdJ("_onCentered",function(){return a.CHM(t),a.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return a.CHM(t),a.oxw()._setTabBodyWrapperHeight(e)}),a.qZA()}if(2&t){const t=e.$implicit,n=e.index,i=a.oxw();a.ekj("mat-tab-body-active",i.selectedIndex==n),a.Q6J("id",i._getTabContentId(n))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",i.animationDuration),a.uIk("aria-labelledby",i._getTabLabelId(n))}}const Z=["tabListContainer"],N=["tabList"],B=["nextPaginator"],U=["previousPaginator"],q=new a.OlP("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let z=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=i}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(q),a.Y36(c.Qb,8))},t.\u0275dir=a.lG2({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})();const j=new a.OlP("MatTabContent");let $=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.Rgc))},t.\u0275dir=a.lG2({type:t,selectors:[["","matTabContent",""]],features:[a._Bn([{provide:j,useExisting:t}])]}),t})();const Y=new a.OlP("MatTabLabel");class V{}const H=(0,l.Id)(V),G=new a.OlP("MAT_TAB_GROUP");let Q=(()=>{class t extends H{constructor(t,e){super(),this._viewContainerRef=t,this._closestTabGroup=e,this.textLabel="",this._contentPortal=null,this._stateChanges=new u.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new s.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&(this._templateLabel=t)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.s_b),a.Y36(G))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,n){if(1&t&&(a.Suo(n,Y,5),a.Suo(n,j,7,a.Rgc)),2&t){let t;a.iGM(t=a.CRH())&&(e.templateLabel=t.first),a.iGM(t=a.CRH())&&(e._explicitContent=t.first)}},viewQuery:function(t,e){if(1&t&&a.Gf(a.Rgc,7),2&t){let t;a.iGM(t=a.CRH())&&(e._implicitContent=t.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[a.qOj,a.TTD],ngContentSelectors:E,decls:1,vars:0,template:function(t,e){1&t&&(a.F$t(),a.YNc(0,A,1,0,"ng-template"))},encapsulation:2}),t})();const J={translateTab:(0,g.X$)("translateTab",[(0,g.SB)("center, void, left-origin-center, right-origin-center",(0,g.oB)({transform:"none"})),(0,g.SB)("left",(0,g.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,g.SB)("right",(0,g.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,g.eR)("* => left, * => right, left => center, right => center",(0,g.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,g.eR)("void => left-origin-center",[(0,g.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,g.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,g.eR)("void => right-origin-center",[(0,g.oB)({transform:"translate3d(100%, 0, 0)"}),(0,g.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let W=(()=>{class t extends s.Pl{constructor(t,e,n,i){super(t,e,i),this._host=n,this._centeringSub=h.w.EMPTY,this._leavingSub=h.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,_.O)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a._Vd),a.Y36(a.s_b),a.Y36((0,a.Gpc)(()=>X)),a.Y36(o.K0))},t.\u0275dir=a.lG2({type:t,selectors:[["","matTabBodyHost",""]],features:[a.qOj]}),t})(),K=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dir=e,this._dirChangeSubscription=h.w.EMPTY,this._translateTabComplete=new u.xQ,this._onCentering=new a.vpe,this._beforeCentering=new a.vpe,this._afterLeavingCenter=new a.vpe,this._onCentered=new a.vpe(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe((0,b.x)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(C.Is,8),a.Y36(a.sBO))},t.\u0275dir=a.lG2({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),X=(()=>{class t extends K{constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(C.Is,8),a.Y36(a.sBO))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){if(1&t&&a.Gf(s.Pl,5),2&t){let t;a.iGM(t=a.CRH())&&(e._portalHost=t.first)}},hostAttrs:[1,"mat-tab-body"],features:[a.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(a.TgZ(0,"div",0,1),a.NdJ("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),a.YNc(2,S,0,0,"ng-template",2),a.qZA()),2&t&&a.Q6J("@translateTab",a.WLB(3,T,e._position,a.VKq(1,O,e.animationDuration)))},directives:[W],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[J.translateTab]}}),t})();const tt=new a.OlP("MAT_TABS_CONFIG");let et=0;class nt{}class it{constructor(t){this._elementRef=t}}const rt=(0,l.pj)((0,l.Kr)(it),"primary");let st=(()=>{class t extends rt{constructor(t,e,n,i){super(t),this._changeDetectorRef=e,this._animationMode=i,this._tabs=new a.n_E,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=h.w.EMPTY,this._tabLabelSubscription=h.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new a.vpe,this.focusChange=new a.vpe,this.animationDone=new a.vpe,this.selectedTabChange=new a.vpe(!0),this._groupId=et++,this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",this.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,this.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=(0,y.Ig)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=(0,y.su)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove(`mat-background-${this.backgroundColor}`),t&&e.classList.add(`mat-background-${t}`),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;if(!e){this.selectedTabChange.emit(this._createChangeEvent(t));const e=this._tabBodyWrapper.nativeElement;e.style.minHeight=e.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((e,n)=>e.isActive=n===t),e||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((e,n)=>{e.position=n-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e<t.length;e++)if(t[e].isActive){this._indexToSelect=this._selectedIndex=e;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,_.O)(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(t=>t._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new nt;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,d.T)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}_tabFocusChanged(t,e){t&&(this._tabHeader.focusIndex=e)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(tt,8),a.Y36(c.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[a.qOj]}),t})(),ot=(()=>{class t extends st{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(tt,8),a.Y36(c.Qb,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,n){if(1&t&&a.Suo(n,Q,5),2&t){let t;a.iGM(t=a.CRH())&&(e._allTabs=t)}},viewQuery:function(t,e){if(1&t&&(a.Gf(I,5),a.Gf(D,5)),2&t){let t;a.iGM(t=a.CRH())&&(e._tabBodyWrapper=t.first),a.iGM(t=a.CRH())&&(e._tabHeader=t.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&a.ekj("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[a._Bn([{provide:G,useExisting:t}]),a.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(a.TgZ(0,"mat-tab-header",0,1),a.NdJ("indexFocused",function(t){return e._focusChanged(t)})("selectFocusedIndex",function(t){return e.selectedIndex=t}),a.YNc(2,R,4,14,"div",2),a.qZA(),a.TgZ(3,"div",3,4),a.YNc(5,L,1,8,"mat-tab-body",5),a.qZA()),2&t&&(a.Q6J("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),a.xp6(2),a.Q6J("ngForOf",e._tabs),a.xp6(1),a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.xp6(2),a.Q6J("ngForOf",e._tabs))},directives:function(){return[pt,o.sg,ct,l.wG,i.kH,o.O5,s.Pl,X]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),t})();class at{}const lt=(0,l.Id)(at);let ct=(()=>{class t extends lt{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq))},t.\u0275dir=a.lG2({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(a.uIk("aria-disabled",!!e.disabled),a.ekj("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[a.qOj]}),t})();const ut=(0,w.i$)({passive:!0});let ht=(()=>{class t{constructor(t,e,n,i,r,s,o){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=i,this._ngZone=r,this._platform=s,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new u.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new u.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new a.vpe,this.indexFocused=new a.vpe,r.runOutsideAngular(()=>{(0,p.R)(t.nativeElement,"mouseleave").pipe((0,v.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=(0,y.su)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){(0,p.R)(this._previousPaginator.nativeElement,"touchstart",ut).pipe((0,v.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",ut).pipe((0,v.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:(0,f.of)(null),e=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new i.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),(0,d.T)(t,e,this._items.changes).pipe((0,v.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(n)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,v.R)(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!(0,x.Vb)(t))switch(t.keyCode){case x.K5:case x.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const e=this._items?this._items.toArray()[t]:null;if(!e)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:i,offsetWidth:r}=e.elementRef.nativeElement;let s,o;"ltr"==this._getLayoutDirection()?(s=i,o=s+r):(o=this._tabList.nativeElement.offsetWidth-i,s=o-r);const a=this.scrollDistance,l=this.scrollDistance+n;s<a?this.scrollDistance-=a-s+60:o>l&&(this.scrollDistance+=o-l+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&null!=e.button&&0!==e.button||(this._stopInterval(),(0,m.H)(650,100).pipe((0,v.R)((0,d.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:n}=this._scrollHeader(t);(0===n||n>=e)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(k.rL),a.Y36(C.Is,8),a.Y36(a.R0b),a.Y36(w.t4),a.Y36(c.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),dt=(()=>{class t extends ht{constructor(t,e,n,i,r,s,o){super(t,e,n,i,r,s,o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=(0,y.Ig)(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(k.rL),a.Y36(C.Is,8),a.Y36(a.R0b),a.Y36(w.t4),a.Y36(c.Qb,8))},t.\u0275dir=a.lG2({type:t,inputs:{disableRipple:"disableRipple"},features:[a.qOj]}),t})(),pt=(()=>{class t extends dt{constructor(t,e,n,i,r,s,o){super(t,e,n,i,r,s,o)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(k.rL),a.Y36(C.Is,8),a.Y36(a.R0b),a.Y36(w.t4),a.Y36(c.Qb,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,n){if(1&t&&a.Suo(n,ct,4),2&t){let t;a.iGM(t=a.CRH())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(a.Gf(z,7),a.Gf(Z,7),a.Gf(N,7),a.Gf(B,5),a.Gf(U,5)),2&t){let t;a.iGM(t=a.CRH())&&(e._inkBar=t.first),a.iGM(t=a.CRH())&&(e._tabListContainer=t.first),a.iGM(t=a.CRH())&&(e._tabList=t.first),a.iGM(t=a.CRH())&&(e._nextPaginator=t.first),a.iGM(t=a.CRH())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&a.ekj("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[a.qOj],ngContentSelectors:E,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(a.F$t(),a.TgZ(0,"div",0,1),a.NdJ("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),a._UZ(2,"div",2),a.qZA(),a.TgZ(3,"div",3,4),a.NdJ("keydown",function(t){return e._handleKeydown(t)}),a.TgZ(5,"div",5,6),a.NdJ("cdkObserveContent",function(){return e._onContentChanges()}),a.TgZ(7,"div",7),a.Hsn(8),a.qZA(),a._UZ(9,"mat-ink-bar"),a.qZA(),a.qZA(),a.TgZ(10,"div",8,9),a.NdJ("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),a._UZ(12,"div",2),a.qZA()),2&t&&(a.ekj("mat-tab-header-pagination-disabled",e._disableScrollBefore),a.Q6J("matRippleDisabled",e._disableScrollBefore||e.disableRipple),a.xp6(5),a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode),a.xp6(5),a.ekj("mat-tab-header-pagination-disabled",e._disableScrollAfter),a.Q6J("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[l.wG,r.wD,z],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),t})(),ft=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[o.ez,l.BQ,s.eL,l.si,r.Q8,i.rt],l.BQ]}),t})()},24311:function(t,e,n){"use strict";n.d(e,{gM:function(){return k},AV:function(){return E}});var i=n(77923),r=n(97388),s=n(61116),o=n(35366),a=n(87064),l=n(43725),c=n(19861),u=n(99235),h=n(34546),d=n(93169),p=n(82151),f=n(55959),m=n(25416),g=n(90611),_=n(99713),b=n(94720);const v={tooltipState:(0,_.X$)("state",[(0,_.SB)("initial, void, hidden",(0,_.oB)({opacity:0,transform:"scale(0)"})),(0,_.SB)("visible",(0,_.oB)({transform:"scale(1)"})),(0,_.eR)("* => visible",(0,_.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,_.F4)([(0,_.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,_.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,_.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,_.eR)("* => hidden",(0,_.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,_.oB)({opacity:0})))])},y=(0,d.i$)({passive:!0}),w=new o.OlP("mat-tooltip-scroll-strategy"),x={provide:w,deps:[i.aV],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},C=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let k=(()=>{class t{constructor(t,e,n,i,r,s,o,a,l,c,h,d){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=s,this._ariaDescriber=o,this._focusMonitor=a,this._dir=c,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new f.xQ,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===u.hY&&!(0,u.Vb)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),r.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=(0,c.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,m.R)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,y)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new p.C5(A,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe((0,m.R)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e||"below"==e?n={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={originX:"end",originY:"center"});const{x:i,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:r}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e?n={overlayX:"center",overlayY:"bottom"}:"below"==e?n={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,g.q)(1),(0,m.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",t=>this._wheelListener(t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,y)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const e=(this._document||document).elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e===n||n.contains(e)||this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==t&&e.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(i.aV),o.Y36(o.SBq),o.Y36(l.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(d.t4),o.Y36(r.$s),o.Y36(r.tE),o.Y36(w),o.Y36(b.Is,8),o.Y36(C,8),o.Y36(s.K0))},t.\u0275dir=o.lG2({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t})(),A=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new f.xQ,this._isHandset=this._breakpointObserver.observe(h.u3.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.sBO),o.Y36(h.Yg))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&o.NdJ("click",function(){return e._handleBodyInteraction()},!1,o.pYS)("auxclick",function(){return e._handleBodyInteraction()},!1,o.pYS),2&t&&o.Udp("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(o.TgZ(0,"div",0),o.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),o.ALo(1,"async"),o._uU(2),o.qZA()),2&t){let t;o.ekj("mat-tooltip-handset",null==(t=o.lcZ(1,5,e._isHandset))?null:t.matches),o.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),o.xp6(2),o.Oqu(e.message)}},directives:[s.mk],pipes:[s.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[v.tooltipState]},changeDetection:0}),t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[x],imports:[[r.rt,s.ez,i.U8,a.BQ],a.BQ,l.ZD]}),t})()},26136:function(t,e,n){"use strict";n.d(e,{Qb:function(){return _e},PW:function(){return we}});var i=n(35366),r=n(99624),s=n(99713);function o(){return"undefined"!=typeof window&&void 0!==window.document}function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(t){switch(t.length){case 0:return new s.ZN;case 1:return t[0];default:return new s.ZE(t)}}function c(t,e,n,i,r={},o={}){const a=[],l=[];let c=-1,u=null;if(i.forEach(t=>{const n=t.offset,i=n==c,h=i&&u||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),l){case s.k1:l=r[n];break;case s.l3:l=o[n];break;default:l=e.normalizeStyleValue(n,i,l,a)}h[i]=l}),i||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function u(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&h(n,"start",t)));break;case"done":t.onDone(()=>i(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&h(n,"destroy",t)))}}function h(t,e,n){const i=n.totalTime,r=d(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),s=t._data;return null!=s&&(r._data=s),r}function d(t,e,n,i,r="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function p(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let m=(t,e)=>!1,g=(t,e)=>!1,_=(t,e,n)=>[];const b=a();(b||"undefined"!=typeof Element)&&(m=o()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),g=(()=>{if(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):g}})(),_=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t<n.length;t++)i.push(n[t])}else{const n=t.querySelector(e);n&&i.push(n)}return i});let v=null,y=!1;function w(t){v||(v=("undefined"!=typeof document?document.body:null)||{},y=!!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&&y)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in v.style),e}const x=g,C=m,k=_;function A(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let E=(()=>{class t{validateStyleProperty(t){return w(t)}matchesElement(t,e){return x(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return k(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,o=[],a){return new s.ZN(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t{}return t.NOOP=new E,t})();function O(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:T(parseFloat(e[1]),e[2])}function T(t,e){switch(e){case"s":return 1e3*t;default:return t}}function I(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=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:""};i=T(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=T(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else i=t;if(!n){let n=!1,s=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<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:i,delay:r,easing:s}}(t,e,n)}function D(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function P(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else D(t,n);return n}function F(t,e,n){return n?e+":"+n+";":""}function M(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=F(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=F(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function R(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const r=j(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),a()&&M(t))}function L(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=j(e);t.style[n]=""}),a()&&M(t))}function Z(t){return Array.isArray(t)?1==t.length?t[0]:(0,s.vP)(t):t}const N=new RegExp("{{\\s*(.+?)\\s*}}","g");function B(t){let e=[];if("string"==typeof t){let n;for(;n=N.exec(t);)e.push(n[1]);N.lastIndex=0}return e}function U(t,e,n){const i=t.toString(),r=i.replace(N,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?t:r}function q(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const z=/-+([a-z0-9])/g;function j(t){return t.replace(z,(...t)=>t[1].toUpperCase())}function $(t,e){return 0===t||0===e}function Y(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let s=e[0],o=[];if(i.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var r=1;r<e.length;r++){let n=e[r];o.forEach(function(e){n[e]=H(t,e)})}}return e}function V(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 H(t,e){return window.getComputedStyle(t)[e]}function G(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],s=i[2],o=i[3];e.push(W(r,o)),"<"!=s[0]||"*"==r&&"*"==o||e.push(W(o,r))}(t,n,e)):n.push(t),n}const Q=new Set(["true","1"]),J=new Set(["false","0"]);function W(t,e){const n=Q.has(t)||J.has(t),i=Q.has(e)||J.has(e);return(r,s)=>{let o="*"==t||t==r,a="*"==e||e==s;return!o&&n&&"boolean"==typeof r&&(o=r?Q.has(t):J.has(t)),!a&&i&&"boolean"==typeof s&&(a=s?Q.has(e):J.has(e)),o&&a}}const K=new RegExp("s*:selfs*,?","g");function X(t,e,n){return new tt(t).build(e,n)}class tt{constructor(t){this._driver=t}build(t,e){const n=new et(e);return this._resetContextStyleTimingState(n),V(this,Z(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],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,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(t=>{if(nt(t)){const e=t;Object.keys(e).forEach(t=>{B(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=q(r.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=V(this,Z(t.animation),e);return{type:1,matchers:G(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:it(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>V(this,t,e)),options:it(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=V(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:it(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 rt(I(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=rt(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||I(i,e),rt(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:(0,s.oB)({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,o=!1;if(!r){o=!0;const t={};n.easing&&(t.easing=n.easing),r=(0,s.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==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 i=!1,r=null;return n.forEach(t=>{if(nt(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=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&&(r!=i&&r>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=o.startTime),a&&(s[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=B(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let s=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(nt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(nt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,s=s||c<a,a=c,r.push(c),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 c=t.steps.length;let u=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(u=1/(c-1));const h=c-1,d=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return l.forEach((t,i)=>{const s=u>0?i==h?1:u*i:r[i],o=s*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:V(this,Z(t.animation),e),options:it(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:it(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:it(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(K,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,p(e.collectedStyles,e.currentQuerySelector,{});const o=V(this,Z(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:o,originalSelector:t.selector,options:it(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"}:I(t.timings,e.errors,!0);return{type:12,animation:V(this,Z(t.animation),e),timings:n,options:null}}}class et{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function nt(t){return!Array.isArray(t)&&"object"==typeof t}function it(t){var e;return t?(t=D(t)).params&&(t.params=(e=t.params)?D(e):null):t={},t}function rt(t,e,n){return{duration:t,delay:e,easing:n}}function st(t,e,n,i,r,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class ot{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const at=new RegExp(":enter","g"),lt=new RegExp(":leave","g");function ct(t,e,n,i,r,s={},o={},a,l,c=[]){return(new ut).buildKeyframes(t,e,n,i,r,s,o,a,l,c)}class ut{buildKeyframes(t,e,n,i,r,s,o,a,l,c=[]){l=l||new ot;const u=new dt(t,e,l,i,r,c,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),V(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()):[st(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=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 i=e.currentTimeline.currentTime;const r=null!=n.duration?O(n.duration):null,s=null!=n.delay?O(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),V(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ht);const t=O(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>V(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?O(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),V(this,s,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return I(e.params?U(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?O(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ht);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);r&&o.delayNextStep(r),n===e.element&&(a=o.currentTimeline),V(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,i=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),o=s*(e.currentQueryTotal-1);let a=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;V(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ht={};class dt{constructor(t,e,n,i,r,s,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ht,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new pt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=O(n.duration)),null!=n.delay&&(i.delay=O(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=U(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new dt(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ht,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new ft(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,s){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(at,"."+this._enterClassName)).replace(lt,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return r||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class pt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new pt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||s.l3,this._currentKeyframe[t]=s.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=s.l3})):P(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=U(o[t],r,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],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,o)=>{const a=P(r,!0);Object.keys(a).forEach(n=>{const i=a[n];i==s.k1?t.add(n):i==s.l3&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const r=t.size?q(t.values()):[],o=e.size?q(e.values()):[];if(n){const t=i[0],e=D(t);t.offset=0,e.offset=1,i=[t,e]}return st(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}class ft extends pt{constructor(t,e,n,i,r,s,o=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,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:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=n+e,o=e/s,a=P(t[0],!1);a.offset=0,r.push(a);const l=P(t[0],!1);l.offset=mt(o),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=P(t[i],!1);o.offset=mt((e+o.offset*n)/s),r.push(o)}n=s,e=0,i="",t=r}return st(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function mt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class gt{}class _t extends gt{normalizePropertyName(t,e){return j(t)}normalizeStyleValue(t,e,n,i){let r="";const s=n.toString().trim();if(bt[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+r}}const bt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function vt(t,e,n,i,r,s,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const yt={};class wt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],s=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):s}build(t,e,n,i,r,s,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||yt,d=this.buildStyles(n,o&&o.params||yt,u),f=a&&a.params||yt,m=this.buildStyles(i,f,u),g=new Set,_=new Map,b=new Map,v="void"===i,y={params:Object.assign(Object.assign({},h),f)},w=c?[]:ct(t,e,this.ast.animation,r,s,d,m,y,l,u);let x=0;if(w.forEach(t=>{x=Math.max(t.duration+t.delay,x)}),u.length)return vt(e,this._triggerName,n,i,v,d,m,[],[],_,b,x,u);w.forEach(t=>{const n=t.element,i=p(_,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=p(b,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&g.add(n)});const C=q(g.values());return vt(e,this._triggerName,n,i,v,d,m,w,C,_,b,x)}}class xt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=D(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=U(s,i,e)),n[t]=s})}}),n}}class Ct{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new xt(t.style,t.options&&t.options.params||{})}),kt(this.states,"true","1"),kt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new wt(t,e,this.states))}),this.fallbackTransition=new wt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function kt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const At=new ot;class Et{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=X(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=c(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],r=this._animations[t];let o;const a=new Map;if(r?(o=ct(this._driver,e,r,"ng-enter","ng-leave",{},{},n,At,i),o.forEach(t=>{const e=p(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,s.l3)})});const c=l(o.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const r=d(e,"","","");return u(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const St=[],Ot={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Tt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class It{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=D(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Dt=new It("void");class Pt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Bt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const s=p(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};s.push(o);const a=p(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Bt(t,"ng-trigger"),Bt(t,"ng-trigger-"+e),a[e]=Dt),()=>{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,i=!0){const r=this._getTrigger(e),s=new Mt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Bt(t,"ng-trigger"),Bt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new It(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=Dt),"void"!==l.value&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r<n.length;r++){const i=n[r];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(a.params,l.params)){const e=[],n=r.matchStyles(a.value,a.params,e),i=r.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{L(t,n),R(t,i)})}return}const c=p(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=r.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:s,isFallbackTransition:h}),h||(Bt(t,"ng-animate-queued"),s.onStart(()=>{Ut(t,"ng-animate-queued")})),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),c.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,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const s=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&l(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 i=new Set;e.forEach(e=>{const r=e.name;if(i.has(r))return;i.add(r);const s=this._triggers[r].fallbackTransition,o=n[r]||Dt,a=new It("void"),l=new Mt(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:s,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==Ot||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Bt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==n.triggerName){const i=d(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,u(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Ft{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Pt(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const r=n[t[i]].namespaceId;if(r){const t=this._fetchNamespace(r);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(Rt(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!Rt(e))return;const r=e.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Bt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ut(t,"ng-animate-disabled"))}removeNode(t,e,n,i){if(Rt(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return Rt(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return l(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Ot,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Bt(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?l(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new ot,i=[],r=new Map,o=[],a=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)h.add(e[n])});const d=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=Nt(f,this.collectedEnterElements),g=new Map;let _=0;m.forEach((t,e)=>{const n="ng-enter"+_++;g.set(e,n),t.forEach(t=>Bt(t,n))});const b=[],v=new Set,y=new Set;for(let s=0;s<this.collectedLeaveElements.length;s++){const t=this.collectedLeaveElements[s],e=t.__ng_removed;e&&e.setForRemoval&&(b.push(t),v.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>v.add(t)):y.add(t))}const w=new Map,x=Nt(f,Array.from(v));x.forEach((t,e)=>{const n="ng-leave"+_++;w.set(e,n),t.forEach(t=>Bt(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Ut(t,n))}),x.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Ut(t,n))}),b.forEach(t=>{this.processLeaveNode(t)})});const C=[],k=[];for(let s=this._namespaceList.length-1;s>=0;s--)this._namespaceList[s].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(C.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const s=!d||!this.driver.containsElement(d,r),l=w.get(r),h=g.get(r),f=this._buildInstruction(t,n,h,l,s);if(f.errors&&f.errors.length)k.push(f);else{if(s)return e.onStart(()=>L(r,f.fromStyles)),e.onDestroy(()=>R(r,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>L(r,f.fromStyles)),e.onDestroy(()=>R(r,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,f.timelines),o.push({instruction:f,player:e,element:r}),f.queriedElements.forEach(t=>p(a,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=u.get(e);i||u.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(k.length){const t=[];k.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),C.forEach(t=>t.destroy()),this.reportError(t)}const A=new Map,E=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,A))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{p(A,e,[]).push(t),t.destroy()})});const S=b.filter(t=>jt(t,c,u)),O=new Map;Zt(O,this.driver,y,u,s.l3).forEach(t=>{jt(t,c,u)&&S.push(t)});const T=new Map;m.forEach((t,e)=>{Zt(T,this.driver,new Set(t),c,s.k1)}),S.forEach(t=>{const e=O.get(t),n=T.get(t);O.set(t,Object.assign(Object.assign({},e),n))});const I=[],D=[],P={};o.forEach(t=>{const{element:e,player:s,instruction:o}=t;if(n.has(e)){if(h.has(e))return s.onDestroy(()=>R(e,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void i.push(s);let t=P;if(E.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=E.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>E.set(e,t))}const n=this._buildAnimation(s.namespaceId,o,A,r,T,O);if(s.setRealPlayer(n),t===P)I.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=l(e)),i.push(s)}}else L(e,o.fromStyles),s.onDestroy(()=>R(e,o.toStyles)),D.push(s),h.has(e)&&i.push(s)}),D.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const n=l(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let s=0;s<b.length;s++){const t=b[s],e=t.__ng_removed;if(Ut(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(a.size){let e=a.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,".ng-animating",!0);for(let t=0;t<i.length;t++){let e=a.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?qt(this,t,i):this.processLeaveNode(t)}return b.length=0,I.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),I}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||"void"==r;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&s.push(e)})}}return(n||i)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,l=p(n,t,[]);this._getPreviousPlayers(t,a,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}L(i,e.fromStyles)}_buildAnimation(t,e,n,i,r,o){const a=e.triggerName,u=e.element,h=[],d=new Set,f=new Set,m=e.timelines.map(e=>{const l=e.element;d.add(l);const p=l.__ng_removed;if(p&&p.removedBeforeQueried)return new s.ZN(e.duration,e.delay);const m=l!==u,g=function(t){const e=[];return zt(t,e),e}((n.get(l)||St).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===l),_=r.get(l),b=o.get(l),v=c(0,this._normalizer,0,e.keyframes,_,b),y=this._buildPlayer(e,v,g);if(e.subTimeline&&i&&f.add(l),m){const e=new Mt(t,a,l);e.setRealPlayer(y),h.push(e)}return y});h.forEach(t=>{p(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),d.forEach(t=>Bt(t,"ng-animating"));const g=l(m);return g.onDestroy(()=>{d.forEach(t=>Ut(t,"ng-animating")),R(u,e.toStyles)}),f.forEach(t=>{p(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new s.ZN(t.duration,t.delay)}}class Mt{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){p(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Rt(t){return t&&1===t.nodeType}function Lt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Zt(t,e,n,i,r){const s=[];n.forEach(t=>s.push(Lt(t)));const o=[];i.forEach((n,i)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=Tt,o.push(i))}),t.set(i,s)});let a=0;return n.forEach(t=>Lt(t,s[a++])),o}function Nt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;function s(t){if(!t)return 1;let e=r.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:s(o),r.set(t,e),e}return e.forEach(t=>{const e=s(t);1!==e&&n.get(e).push(t)}),n}function Bt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Ut(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function qt(t,e,n){l(n).onDone(()=>t.processLeaveNode(e))}function zt(t,e){for(let n=0;n<t.length;n++){const i=t[n];i instanceof s.ZE?zt(i.players,e):e.push(i)}}function jt(t,e,n){const i=n.get(t);if(!i)return!1;let r=e.get(t);return r?i.forEach(t=>r.add(t)):e.set(t,i),n.delete(t),!0}class $t{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Ft(t,e,n),this._timelineEngine=new Et(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const s=t+"-"+i;let o=this._triggerCache[s];if(!o){const t=[],e=X(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Ct(t,e)}(i,e),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=f(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=f(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Yt(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Ht(e[0]),e.length>1&&(i=Ht(e[e.length-1]))):e&&(n=Ht(e)),n||i?new Vt(t,n,i):null}let Vt=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&R(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(R(this._element,this._initialStyles),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(L(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),R(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Ht(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const r=n[i];Gt(r)&&(e=e||{},e[r]=t[r])}return e}function Gt(t){return"display"===t||"position"===t}class Qt{constructor(t,e,n,i,r,s,o){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=r,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=ee(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)","===t.charAt(i)&&n++}(n),e=`${n}, ${e}`),te(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Xt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Jt(this._element,this._name,"paused")}resume(){Jt(this._element,this._name,"running")}setPosition(t){const e=Wt(this._element,this._name);this._position=t*this._duration,te(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ee(t,"").split(","),i=Kt(n,e);i>=0&&(n.splice(i,1),te(t,"",n.join(",")))}(this._element,this._name))}}function Jt(t,e,n){te(t,"PlayState",n,Wt(t,e))}function Wt(t,e){const n=ee(t,"");return n.indexOf(",")>0?Kt(n.split(","),e):Kt([n],e)}function Kt(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Xt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function te(t,e,n,i){const r="animation"+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function ee(t,e){return t.style["animation"+e]||""}class ne{constructor(t,e,n,i,r,s,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Qt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:H(this.element,n))})}this.currentSnapshot=t}}class ie extends s.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=A(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 re{constructor(){this._count=0}validateStyleProperty(t){return w(t)}matchesElement(t,e){return x(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return k(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>A(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=" ";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const s=document.createElement("style");return s.textContent=i,s}animate(t,e,n,i,r,s=[],o){const a=s.filter(t=>t instanceof ne),l={};$(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Y(t,e,l));if(0==n)return new ie(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=Yt(t,e),p=new ne(t,e,u,n,i,r,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class se{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:H(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class oe{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ae().toString()),this._cssKeyframesDriver=new re}validateStyleProperty(t){return w(t)}matchesElement(t,e){return x(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return k(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,s);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const l={},c=s.filter(t=>t instanceof se);$(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=Yt(t,e=Y(t,e=e.map(t=>P(t,!1)),l));return new se(t,e,a,u)}}function ae(){return o()&&Element.prototype.animate||{}}var le=n(61116);let ce=(()=>{class t extends s._j{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,s.vP)(t):t;return de(this._renderer,null,e,"register",[n]),new ue(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(le.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class ue extends s.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new he(this._id,t,e||{},this._renderer)}}class he{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return de(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function de(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}let pe=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new fe("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(s),new me(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG($t),i.LFG(i.R0b))},t.\u0275prov=i.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,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class me extends fe{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),s="";return"@"!=r.charAt(0)&&([r,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let ge=(()=>{class t extends $t{constructor(t,e,n){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(le.K0),i.LFG(S),i.LFG(gt))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const _e=new i.OlP("AnimationModuleType"),be=[{provide:s._j,useClass:ce},{provide:gt,useFactory:function(){return new _t}},{provide:$t,useClass:ge},{provide:i.FYo,useFactory:function(t,e,n){return new pe(t,e,n)},deps:[r.se,$t,i.R0b]}],ve=[{provide:S,useFactory:function(){return"function"==typeof ae()?new oe:new re}},{provide:_e,useValue:"BrowserAnimations"},...be],ye=[{provide:S,useClass:E},{provide:_e,useValue:"NoopAnimations"},...be];let we=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?ye:ve}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:ve,imports:[r.b2]}),t})()},99624:function(t,e,n){"use strict";n.d(e,{b2:function(){return N},H7:function(){return F},Dx:function(){return U},q6:function(){return L},se:function(){return C}});var i=n(61116),r=n(35366);class s extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class o extends s{static makeCurrent(){(0,i.HT)(new o)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,i.Mx)(document.cookie,t)}}let a,l=null;const c=new r.OlP("TRANSITION_ID"),u=[{provide:r.ip1,useFactory:function(t,e,n){return()=>{n.get(r.CZH).donePromise.then(()=>{const n=(0,i.q)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,i.K0,r.zs3],multi:!0}];class h{static init(){(0,r.VLi)(new h)}addToWindow(t){r.dqk.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),r.dqk.frameworkStabilizers||(r.dqk.frameworkStabilizers=[]),r.dqk.frameworkStabilizers.push(t=>{const e=r.dqk.getAllAngularTestabilities();let n=e.length,i=!1;const s=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?(0,i.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new r.OlP("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(p),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();class m{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=(0,i.q)().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,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=r.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const i=this._doc.createElement("style");i.textContent=t,n.push(e.appendChild(i))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(b),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(b))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();function b(t){(0,i.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/"},y=/%COMP%/g;function w(t,e,n){for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?w(t,r,n):(r=r.replace(y,t),n.push(r))}return n}function x(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let C=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new k(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new A(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case r.ifc.ShadowDom:return new E(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)(r.LFG(f),r.LFG(_),r.LFG(r.AFp))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();class k{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,i){if(i){e=i+":"+e;const r=v[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=v[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(r.JOm.DashCase|r.JOm.Important)?t.style.setProperty(e,n,i&r.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.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,x(n)):this.eventManager.addEventListener(t,e,x(n))}}class A extends k{constructor(t,e,n,i){super(t),this.component=n;const r=w(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(y,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(y,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class E extends k{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=w(i.id,i.styles,[]);for(let s=0;s<r.length;s++){const t=document.createElement("style");t.textContent=r[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 S=(()=>{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)(r.LFG(i.K0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const O=["alt","control","meta","shift"],T={"\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"},I={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"},D={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let P=(()=>{class t extends m{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),o=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=t._normalizeKey(n.pop());let s="";if(O.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=i,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&&I.hasOwnProperty(e)&&(e=I[e]))}return T[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),O.forEach(i=>{i!=n&&(0,D[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:function(){return(0,r.LFG)(R)},token:t,providedIn:"root"}),t})();function M(t){return new R(t.get(i.K0))}let R=(()=>{class t extends F{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case r.q3G.NONE:return e;case r.q3G.HTML:return(0,r.qzn)(e,"HTML")?(0,r.z3N)(e):(0,r.EiD)(this._doc,String(e)).toString();case r.q3G.STYLE:return(0,r.qzn)(e,"Style")?(0,r.z3N)(e):e;case r.q3G.SCRIPT:if((0,r.qzn)(e,"Script"))return(0,r.z3N)(e);throw new Error("unsafe value used in a script context");case r.q3G.URL:return(0,r.yhl)(e),(0,r.qzn)(e,"URL")?(0,r.z3N)(e):(0,r.mCW)(String(e));case r.q3G.RESOURCE_URL:if((0,r.qzn)(e,"ResourceURL"))return(0,r.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,r.JVY)(t)}bypassSecurityTrustStyle(t){return(0,r.L6k)(t)}bypassSecurityTrustScript(t){return(0,r.eBb)(t)}bypassSecurityTrustUrl(t){return(0,r.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,r.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.K0))},t.\u0275prov=(0,r.Yz7)({factory:function(){return M((0,r.LFG)(r.gxx))},token:t,providedIn:"root"}),t})();const L=(0,r.eFA)(r._c5,"browser",[{provide:r.Lbi,useValue:i.bD},{provide:r.g9A,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,r.RDi)(document),document},deps:[]}]),Z=[[],{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function(){return new r.qLn},deps:[]},{provide:p,useClass:S,multi:!0,deps:[i.K0,r.R0b,r.Lbi]},{provide:p,useClass:P,multi:!0,deps:[i.K0]},[],{provide:C,useClass:C,deps:[f,_,r.AFp]},{provide:r.FYo,useExisting:C},{provide:g,useExisting:_},{provide:_,useClass:_,deps:[i.K0]},{provide:r.dDg,useClass:r.dDg,deps:[r.R0b]},{provide:f,useClass:f,deps:[p,r.R0b]},{provide:i.JF,useClass:d,deps:[]},[]];let N=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:r.AFp,useValue:e.appId},{provide:c,useExisting:r.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(t,12))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:Z,imports:[i.ez,r.hGG]}),t})();function B(){return new U((0,r.LFG)(i.K0))}let U=(()=>{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)(r.LFG(i.K0))},t.\u0275prov=(0,r.Yz7)({factory:B,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},63337:function(t,e,n){"use strict";n.d(e,{gz:function(){return Wt},m2:function(){return H},OD:function(){return V},F0:function(){return yn},rH:function(){return wn},Od:function(){return kn},yS:function(){return xn},Bz:function(){return Rn},lC:function(){return An}});var i=n(61116),r=n(35366);const s=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var o=n(19764),a=n(40878),l=n(78512),c=n(3080),u=n(48318),h=n(47930),d=n(31450),p=n(34056),f=n(42875),m=n(55959),g=n(96673);function _(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new b(t,e,n))}}class b{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new v(t,this.accumulator,this.seed,this.hasSeed))}}class v extends g.L{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var y=n(43835),w=n(98402);function x(t){return function(e){return 0===t?(0,p.c)():e.lift(new C(t))}}class C{constructor(t){if(this.total=t,this.total<0)throw new w.W}call(t,e){return e.subscribe(new k(t,this.total))}}class k extends g.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r<n;r++){const r=e++%n;t.next(i[r])}}t.complete()}}function A(t=O){return e=>e.lift(new E(t))}class E{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new S(t,this.errorFactory))}}class S extends g.L{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function O(){return new s}function T(t=null){return e=>e.lift(new I(t))}class I{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new D(t,this.defaultValue))}}class D extends g.L{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var P=n(13392),F=n(90611);function M(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,y.h)((e,n)=>t(e,n,i)):P.y,(0,F.q)(1),n?T(e):A(()=>new s))}var R=n(79996),L=n(44689),Z=n(56238),N=n(47727),B=n(436),U=n(73982),q=n(66599),z=n(21564),j=n(11520),$=n(97471);class Y{constructor(t,e){this.id=t,this.url=e}}class V extends Y{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class H extends Y{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class G extends Y{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Q extends Y{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class J extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class W extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K extends Y{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class X extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends Y{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class et{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class nt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class it{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rt{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class st{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ot{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class at{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class lt{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ct(t){return new lt(t)}function ut(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function ht(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const r={};for(let s=0;s<i.length;s++){const e=i[s],n=t[s];if(e.startsWith(":"))r[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function dt(t,e){const n=t?Object.keys(t):void 0,i=e?Object.keys(e):void 0;if(!n||!i||n.length!=i.length)return!1;let r;for(let s=0;s<n.length;s++)if(r=n[s],!pt(t[r],e[r]))return!1;return!0}function pt(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),i=[...e].sort();return n.every((t,e)=>i[e]===t)}return t===e}function ft(t){return Array.prototype.concat.apply([],t)}function mt(t){return t.length>0?t[t.length-1]:null}function gt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function _t(t){return(0,r.CqO)(t)?t:(0,r.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,a.of)(t)}const bt={exact:function t(e,n,i){if(!St(e.segments,n.segments))return!1;if(!Ct(e.segments,n.segments,i))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r],i))return!1}return!0},subset:wt},vt={exact:function(t,e){return dt(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>pt(t[n],e[n]))},ignored:()=>!0};function yt(t,e,n){return bt[n.paths](t.root,e.root,n.matrixParams)&&vt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function wt(t,e,n){return xt(t,e,e.segments,n)}function xt(t,e,n,i){if(t.segments.length>n.length){const r=t.segments.slice(0,n.length);return!!St(r,n)&&!e.hasChildren()&&!!Ct(r,n,i)}if(t.segments.length===n.length){if(!St(t.segments,n))return!1;if(!Ct(t.segments,n,i))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!wt(t.children[n],e.children[n],i))return!1}return!0}{const r=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!St(t.segments,r)&&!!Ct(t.segments,r,i)&&!!t.children.primary&&xt(t.children.primary,e,s,i)}}function Ct(t,e,n){return e.every((e,i)=>vt[n](t[i].parameters,e.parameters))}class kt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ct(this.queryParams)),this._queryParamMap}toString(){return It.serialize(this)}}class At{constructor(t,e){this.segments=t,this.children=e,this.parent=null,gt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dt(this)}}class Et{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ct(this.parameters)),this._parameterMap}toString(){return Nt(this)}}function St(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Ot{}class Tt{parse(t){const e=new jt(t);return new kt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${Pt(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Mt(e)}=${Mt(t)}`).join("&"):`${Mt(e)}=${Mt(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const It=new Tt;function Dt(t){return t.segments.map(t=>Nt(t)).join("/")}function Pt(t,e){if(!t.hasChildren())return Dt(t);if(e){const e=t.children.primary?Pt(t.children.primary,!1):"",n=[];return gt(t.children,(t,e)=>{"primary"!==e&&n.push(`${e}:${Pt(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return gt(t.children,(t,i)=>{"primary"===i&&(n=n.concat(e(t,i)))}),gt(t.children,(t,i)=>{"primary"!==i&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>"primary"===n?[Pt(t.children.primary,!1)]:[`${n}:${Pt(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Dt(t)}/${e[0]}`:`${Dt(t)}/(${e.join("//")})`}}function Ft(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mt(t){return Ft(t).replace(/%3B/gi,";")}function Rt(t){return Ft(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Lt(t){return decodeURIComponent(t)}function Zt(t){return Lt(t.replace(/\+/g,"%20"))}function Nt(t){return`${Rt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Rt(t)}=${Rt(e[t])}`).join("")}`;var e}const Bt=/^[^\/()?;=#]+/;function Ut(t){const e=t.match(Bt);return e?e[0]:""}const qt=/^[^=?&#]+/,zt=/^[^?&#]+/;class jt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new At([],{}):new At([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new At(t,e)),n}parseSegment(){const t=Ut(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Et(Lt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ut(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ut(this.remaining);t&&(n=t,this.capture(n))}t[Lt(e)]=Lt(n)}parseQueryParam(t){const e=function(t){const e=t.match(qt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(zt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=Zt(e),r=Zt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ut(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r="primary");const s=this.parseChildren();e[r]=1===Object.keys(s).length?s.primary:new At([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class $t{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Yt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Yt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Vt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Vt(t,this._root).map(t=>t.value)}}function Yt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Yt(t,n);if(e)return e}return null}function Vt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Vt(t,n);if(i.length)return i.unshift(e),i}return[]}class Ht{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Gt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Qt extends $t{constructor(t,e){super(t),this.snapshot=e,ee(this,t)}toString(){return this.snapshot.toString()}}function Jt(t,e){const n=function(t,e){const n=new Xt([],{},{},"",{},"primary",e,null,t.root,-1,{});return new te("",new Ht(n,[]))}(t,e),i=new l.X([new Et("",{})]),r=new l.X({}),s=new l.X({}),o=new l.X({}),a=new l.X(""),c=new Wt(i,r,o,a,s,"primary",e,n.root);return c.snapshot=n.root,new Qt(new Ht(c,[]),n)}class Wt{constructor(t,e,n,i,r,s,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,R.U)(t=>ct(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,R.U)(t=>ct(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Kt(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Xt{constructor(t,e,n,i,r,s,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ct(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ct(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class te extends $t{constructor(t,e){super(e),this.url=t,ee(this,e)}toString(){return ne(this._root)}}function ee(t,e){e.value._routerState=t,e.children.forEach(e=>ee(t,e))}function ne(t){const e=t.children.length>0?` { ${t.children.map(ne).join(", ")} } `:"";return`${t.value}${e}`}function ie(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,dt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),dt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!dt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),dt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function re(t,e){var n,i;return dt(t.params,e.params)&&St(n=t.url,i=e.url)&&n.every((t,e)=>dt(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||re(t.parent,e.parent))}function se(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return se(t,e,i);return se(t,e)})}(t,e,n);return new Ht(i,r)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return oe(e,t),t}}const n=new Wt(new l.X((i=e.value).url),new l.X(i.params),new l.X(i.queryParams),new l.X(i.fragment),new l.X(i.data),i.outlet,i.component,i),r=e.children.map(e=>se(t,e));return new Ht(n,r)}var i}function oe(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)oe(t.children[n],e.children[n])}function ae(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function le(t){return"object"==typeof t&&null!=t&&t.outlets}function ce(t,e,n,i,r){let s={};return i&&gt(i,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new kt(n.root===t?e:ue(n.root,t,e),s,r)}function ue(t,e,n){const i={};return gt(t.children,(t,r)=>{i[r]=t===e?n:ue(t,e,n)}),new At(t.segments,i)}class he{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&ae(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(le);if(i&&i!==mt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class de{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function pe(t,e,n){if(t||(t=new At([],{})),0===t.segments.length&&t.hasChildren())return fe(t,e,n);const i=function(t,e,n){let i=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=n.length)return s;const e=t.segments[r],o=n[i];if(le(o))break;const a=`${o}`,l=i<n.length-1?n[i+1]:null;if(r>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!be(a,l,e))return s;i+=2}else{if(!be(a,{},e))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new At(t.segments.slice(0,i.pathIndex),{});return e.children.primary=new At(t.segments.slice(i.pathIndex),t.children),fe(e,0,r)}return i.match&&0===r.length?new At(t.segments,{}):i.match&&!t.hasChildren()?me(t,e,n):i.match?fe(t,0,r):me(t,e,n)}function fe(t,e,n){if(0===n.length)return new At(t.segments,{});{const i=function(t){return le(t[0])?t[0].outlets:{primary:t}}(n),r={};return gt(i,(n,i)=>{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=pe(t.children[i],e,n))}),gt(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new At(t.segments,r)}}function me(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r<n.length;){const s=n[r];if(le(s)){const t=ge(s.outlets);return new At(i,t)}if(0===r&&ae(n[0])){i.push(new Et(t.segments[e].path,_e(n[0]))),r++;continue}const o=le(s)?s.outlets.primary:`${s}`,a=r<n.length-1?n[r+1]:null;o&&a&&ae(a)?(i.push(new Et(o,_e(a))),r+=2):(i.push(new Et(o,{})),r++)}return new At(i,{})}function ge(t){const e={};return gt(t,(t,n)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=me(new At([],{}),0,t))}),e}function _e(t){const e={};return gt(t,(t,n)=>e[n]=`${t}`),e}function be(t,e,n){return t==n.path&&dt(e,n.parameters)}class ve{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ie(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Gt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),gt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=Gt(t);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const i=Gt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new ot(t.value.snapshot))}),t.children.length&&this.forwardEvent(new rt(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(ie(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ye(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ye(t){ie(t.value),t.children.forEach(ye)}class we{constructor(t,e){this.routes=t,this.module=e}}function xe(t){return"function"==typeof t}function Ce(t){return t instanceof kt}const ke=Symbol("INITIAL_VALUE");function Ae(){return(0,L.w)(t=>(0,c.aj)(t.map(t=>t.pipe((0,F.q)(1),(0,Z.O)(ke)))).pipe(_((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==ke)return t;if(i===ke&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||Ce(i))return i}return t},t)},ke),(0,y.h)(t=>t!==ke),(0,R.U)(t=>Ce(t)?t:!0===t),(0,F.q)(1)))}let Ee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&r._UZ(0,"router-outlet")},directives:function(){return[An]},encapsulation:2}),t})();function Se(t,e=""){for(let n=0;n<t.length;n++){const i=t[n];Oe(i,Te(e,i))}}function Oe(t,e){t.children&&Se(t.children,e)}function Te(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function Ie(t){const e=t.children&&t.children.map(Ie),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Ee),n}function De(t){return t.outlet||"primary"}function Pe(t,e){const n=t.filter(t=>De(t)===e);return n.push(...t.filter(t=>De(t)!==e)),n}const Fe={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Me(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Fe):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(e.matcher||ht)(n,t,e);if(!r)return Object.assign({},Fe);const s={};gt(r.posParams,(t,e)=>{s[e]=t.path});const o=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Re(t,e,n,i,r="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Le(t,e,n)&&"primary"!==De(n))}(t,n,i)){const r=new At(e,function(t,e,n,i){const r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&"primary"!==De(s)){const n=new At([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[De(s)]=n}return r}(t,e,i,new At(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Le(t,e,n))}(t,n,i)){const s=new At(t.segments,function(t,e,n,i,r,s){const o={};for(const a of i)if(Le(t,n,a)&&!r[De(a)]){const n=new At([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[De(a)]=n}return Object.assign(Object.assign({},r),o)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new At(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Le(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ze(t,e,n,i){return!!(De(t)===i||"primary"!==i&&Le(e,n,t))&&("**"===t.path||Me(e,t,n).matched)}function Ne(t,e,n){return 0===e.length&&!t.children[n]}class Be{constructor(t){this.segmentGroup=t||null}}class Ue{constructor(t){this.urlTree=t}}function qe(t){return new u.y(e=>e.error(new Be(t)))}function ze(t){return new u.y(e=>e.error(new Ue(t)))}function je(t){return new u.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class $e{constructor(t,e,n,i,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(r.h0i)}apply(){const t=Re(this.urlTree.root,[],[],this.config).segmentGroup,e=new At(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,"primary").pipe((0,R.U)(t=>this.createUrlTree(Ye(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,N.K)(t=>{if(t instanceof Ue)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Be)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe((0,R.U)(e=>this.createUrlTree(Ye(e),t.queryParams,t.fragment))).pipe((0,N.K)(t=>{if(t instanceof Be)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new At([],{primary:t}):t;return new kt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,R.U)(t=>new At([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return(0,o.D)(i).pipe((0,B.b)(i=>{const r=n.children[i],s=Pe(e,i);return this.expandSegmentGroup(t,s,r,i).pipe((0,R.U)(t=>({segment:t,outlet:i})))}),_((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,y.h)((e,n)=>t(e,n,i)):P.y,x(1),n?T(e):A(()=>new s))}())}expandSegment(t,e,n,i,r,l){return(0,o.D)(n).pipe((0,B.b)(s=>this.expandSegmentAgainstRoute(t,e,n,s,i,r,l).pipe((0,N.K)(t=>{if(t instanceof Be)return(0,a.of)(null);throw t}))),M(t=>!!t),(0,N.K)((t,n)=>{if(t instanceof s||"EmptyError"===t.name){if(Ne(e,i,r))return(0,a.of)(new At([],{}));throw new Be(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,r,s,o){return Ze(i,e,r,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s):qe(e):qe(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ze(r):this.lineralizeSegments(n,r).pipe((0,U.zg)(n=>{const r=new At(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Me(e,i,r);if(!o)return qe(e);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?ze(u):this.lineralizeSegments(i,u).pipe((0,U.zg)(i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,i,r){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,a.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,R.U)(t=>(n._loadedConfig=t,new At(i,{})))):(0,a.of)(new At(i,{}));const{matched:s,consumedSegments:o,lastChild:l}=Me(e,n,i);if(!s)return qe(e);const c=i.slice(l);return this.getChildConfig(t,n,i).pipe((0,U.zg)(t=>{const i=t.module,s=t.routes,{segmentGroup:l,slicedSegments:u}=Re(e,o,c,s),h=new At(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(i,s,h).pipe((0,R.U)(t=>new At(o,t)));if(0===s.length&&0===u.length)return(0,a.of)(new At(o,{}));const d=De(n)===r;return this.expandSegment(i,h,s,u,d?"primary":r,!0).pipe((0,R.U)(t=>new At(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,a.of)(new we(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,a.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,U.zg)(n=>n?this.configLoader.load(t.injector,e).pipe((0,R.U)(t=>(e._loadedConfig=t,t))):function(t){return new u.y(e=>e.error(ut(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):(0,a.of)(new we([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return(0,a.of)(!0);const r=i.map(i=>{const r=t.get(i);let s;if(function(t){return t&&xe(t.canLoad)}(r))s=r.canLoad(e,n);else{if(!xe(r))throw new Error("Invalid CanLoad guard");s=r(e,n)}return _t(s)});return(0,a.of)(r).pipe(Ae(),(0,q.b)(t=>{if(!Ce(t))return;const e=ut(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,R.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,a.of)(n);if(i.numberOfChildren>1||!i.children.primary)return je(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new kt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return gt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let s={};return gt(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,n,i)}),new At(r,s)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Ye(t){const e={};for(const n of Object.keys(t.children)){const i=Ye(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new At(t.segments.concat(e.segments),e.children)}return t}(new At(t.segments,e))}class Ve{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class He{constructor(t,e){this.component=t,this.route=e}}function Ge(t,e,n){const i=t._root;return Je(i,e?e._root:null,n,[i.value])}function Qe(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Je(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=Gt(e);return t.children.forEach(t=>{!function(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!St(t.url,e.url);case"pathParamsOrQueryParamsChange":return!St(t.url,e.url)||!dt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!re(t,e)||!dt(t.queryParams,e.queryParams);case"paramsChange":default:return!re(t,e)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Ve(i)):(s.data=o.data,s._resolvedData=o._resolvedData),Je(t,e,s.component?a?a.children:null:n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new He(a.outlet.component,o))}else o&&We(e,a,r),r.canActivateChecks.push(new Ve(i)),Je(t,null,s.component?a?a.children:null:n,i,r)}(t,s[t.value.outlet],n,i.concat([t.value]),r),delete s[t.value.outlet]}),gt(s,(t,e)=>We(t,n.getContext(e),r)),r}function We(t,e,n){const i=Gt(t),r=t.value;gt(i,(t,i)=>{We(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new He(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}class Ke{}function Xe(t){return new u.y(e=>e.error(t))}class tn{constructor(t,e,n,i,r,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){const t=Re(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary");if(null===e)return null;const n=new Xt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Ht(n,e),r=new te(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(t){const e=t.value,n=Kt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const r of Object.keys(e.children)){const i=e.children[r],s=Pe(t,r),o=this.processSegmentGroup(s,i,r);if(null===o)return null;n.push(...o)}const i=nn(n);return i.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const r of t){const t=this.processSegmentAgainstRoute(r,e,n,i);if(null!==t)return t}return Ne(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!Ze(t,e,n,i))return null;let r,s=[],o=[];if("**"===t.path){const i=n.length>0?mt(n).parameters:{};r=new Xt(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,on(t),De(t),t.component,t,rn(e),sn(e)+n.length,an(t))}else{const i=Me(e,t,n);if(!i.matched)return null;s=i.consumedSegments,o=n.slice(i.lastChild),r=new Xt(s,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,on(t),De(t),t.component,t,rn(e),sn(e)+s.length,an(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Re(e,s,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Ht(r,t)]}if(0===a.length&&0===c.length)return[new Ht(r,[])];const u=De(t)===i,h=this.processSegment(a,l,c,u?"primary":i);return null===h?null:[new Ht(r,h)]}}function en(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function nn(t){const e=[],n=new Set;for(const i of t){if(!en(i)){e.push(i);continue}const t=e.find(t=>i.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const i of n){const t=nn(i.children);e.push(new Ht(i.value,t))}return e.filter(t=>!n.has(t))}function rn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function sn(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function on(t){return t.data||{}}function an(t){return t.resolve||{}}function ln(t){return(0,L.w)(e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,R.U)(()=>e)):(0,a.of)(e)})}class cn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const un=new r.OlP("ROUTES");class hn{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,R.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new we(ft(i.injector.get(un,void 0,r.XFs.Self|r.XFs.Optional)).map(Ie),i)}),(0,N.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new f.c(n,()=>new m.xQ).pipe((0,z.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,o.D)(this.loader.load(t)):_t(t()).pipe((0,U.zg)(t=>t instanceof r.YKP?(0,a.of)(t):(0,o.D)(this.compiler.compileModuleAsync(t))))}}class dn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new pn,this.attachRef=null}}class pn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new dn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class fn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function mn(t){throw t}function gn(t,e,n){return e.parse("/")}function _n(t,e){return(0,a.of)(null)}const bn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},vn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let yn=(()=>{class t{constructor(t,e,n,i,s,o,a,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new m.xQ,this.errorHandler=mn,this.malformedUriErrorHandler=gn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:_n,afterPreactivation:_n},this.urlHandlingStrategy=new fn,this.routeReuseStrategy=new cn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(r.h0i),this.console=s.get(r.c2e);const u=s.get(r.R0b);this.isNgZoneEnabled=u instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new kt(new At([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new hn(o,a,t=>this.triggerEvent(new et(t)),t=>this.triggerEvent(new nt(t))),this.routerState=Jt(this.currentUrlTree,this.rootComponentType),this.transitions=new l.X({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe((0,y.h)(t=>0!==t.id),(0,R.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,L.w)(t=>{let n=!1,i=!1;return(0,a.of)(t).pipe((0,q.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,L.w)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,a.of)(t).pipe((0,L.w)(t=>{const n=this.transitions.getValue();return e.next(new V(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(t)}),(i=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,o=this.config,(0,L.w)(t=>function(t,e,n,i,r){return new $e(t,e,n,i,r).apply()}(i,r,s,t.extractedUrl,o).pipe((0,R.U)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),(0,q.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return(0,U.zg)(s=>function(t,e,n,i,r="emptyOnly",s="legacy"){try{const o=new tn(t,e,n,i,r,s).recognize();return null===o?Xe(new Ke):(0,a.of)(o)}catch(o){return Xe(o)}}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe((0,R.U)(t=>Object.assign(Object.assign({},s),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,q.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects);const n=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,r,s,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:s,extras:o}=t,l=new V(n,this.serializeUrl(i),r,s);e.next(l);const c=Jt(i,this.rootComponentType).snapshot;return(0,a.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),ln(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),(0,q.b)(t=>{const e=new W(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,R.U)(t=>Object.assign(Object.assign({},t),{guards:Ge(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,U.zg)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:l}}=n;return 0===l.length&&0===s.length?(0,a.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,o.D)(t).pipe((0,U.zg)(t=>function(t,e,n,i,r){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||0===s.length)return(0,a.of)(!0);const o=s.map(s=>{const o=Qe(s,e,r);let a;if(function(t){return t&&xe(t.canDeactivate)}(o))a=_t(o.canDeactivate(t,e,n,i));else{if(!xe(o))throw new Error("Invalid CanDeactivate guard");a=_t(o(t,e,n,i))}return a.pipe(M())});return(0,a.of)(o).pipe(Ae())}(t.component,t.route,n,e,i)),M(t=>!0!==t,!0))}(l,i,r,t).pipe((0,U.zg)(n=>n&&"boolean"==typeof n?function(t,e,n,i){return(0,o.D)(e).pipe((0,B.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new it(t)),(0,a.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new st(t)),(0,a.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const r=e.guards.map(r=>{const s=Qe(r,e.node,n);let o;if(function(t){return t&&xe(t.canActivateChild)}(s))o=_t(s.canActivateChild(i,t));else{if(!xe(s))throw new Error("Invalid CanActivateChild guard");o=_t(s(i,t))}return o.pipe(M())});return(0,a.of)(r).pipe(Ae())}));return(0,a.of)(r).pipe(Ae())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,a.of)(!0);const r=i.map(i=>(0,d.P)(()=>{const r=Qe(i,e,n);let s;if(function(t){return t&&xe(t.canActivate)}(r))s=_t(r.canActivate(e,t));else{if(!xe(r))throw new Error("Invalid CanActivate guard");s=_t(r(e,t))}return s.pipe(M())}));return(0,a.of)(r).pipe(Ae())}(t,e.route,n))),M(t=>!0!==t,!0))}(i,s,t,e):(0,a.of)(n)),(0,R.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,q.b)(t=>{if(Ce(t.guardsResult)){const e=ut(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,y.h)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new G(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),ln(t=>{if(t.guards.canActivateChecks.length)return(0,a.of)(t).pipe((0,q.b)(t=>{const e=new X(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,L.w)(t=>{let n=!1;return(0,a.of)(t).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,(0,U.zg)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return(0,a.of)(t);let s=0;return(0,o.D)(n).pipe((0,B.b)(t=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return(0,a.of)({});const s={};return(0,o.D)(r).pipe((0,U.zg)(r=>function(t,e,n,i){const r=Qe(t,e,i);return _t(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe((0,q.b)(t=>{s[r]=t}))),x(1),(0,U.zg)(()=>Object.keys(s).length===r.length?(0,a.of)(s):p.E))}(t._resolve,t,e,i).pipe((0,R.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Kt(t,n).resolve),null)))}(t.route,e,i,r)),(0,q.b)(()=>s++),x(1),(0,U.zg)(e=>s===n.length?(0,a.of)(t):p.E))})),(0,q.b)({next:()=>n=!0,complete:()=>{if(!n){const n=new G(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var i,r}),(0,q.b)(t=>{const e=new tt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),ln(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),(0,R.U)(t=>{const e=function(t,e,n){const i=se(t,e._root,n?n._root:void 0);return new Qt(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,q.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,s=this.routeReuseStrategy,l=t=>this.triggerEvent(t),(0,R.U)(t=>(new ve(s,t.targetRouterState,t.currentRouterState,l).activate(r),t))),(0,q.b)({next(){n=!0},complete(){n=!0}}),(0,j.x)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new G(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),(0,N.K)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=Ce(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const r=new G(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new Q(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var r;return p.E}));var r,s,l}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,r={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(i,t,n,r)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Se(t),this.config=t.map(Ie),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:s,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:r;let c=null;switch(s){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,r){if(0===n.length)return ce(e.root,e.root,e,i,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new he(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return gt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new he(n,e,i)}(n);if(s.toRoot())return ce(e.root,new At([],{}),e,i,r);const o=function(t,e,n){if(t.isAbsolute)return new de(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new de(t,t===e.root,0)}const i=ae(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new de(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?fe(o.segmentGroup,o.index,s.commands):pe(o.segmentGroup,o.index,s.commands);return ce(o.segmentGroup,a,e,i,r)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Ce(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){let n;if(n=!0===e?Object.assign({},bn):!1===e?Object.assign({},vn):e,Ce(t))return yt(this.currentUrlTree,t,n);const i=this.parseUrl(t);return yt(this.currentUrlTree,i,n)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new H(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,r){if(this.disposed)return Promise.resolve(!1);const s=this.getTransition(),o="imperative"!==e&&"imperative"===(null==s?void 0:s.source),a=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;r?(l=r.resolve,c=r.reject,u=r.promise):u=new Promise((t,e)=>{l=t,c=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.DyG),r.LFG(Ot),r.LFG(pn),r.LFG(i.Ye),r.LFG(r.zs3),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(void 0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),wn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],this.onChanges=new m.xQ,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:Cn(this.skipLocationChange),replaceUrl:Cn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Cn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(yn),r.Y36(Wt),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),t})(),xn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new m.xQ,this.subscription=t.events.subscribe(t=>{t instanceof H&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,r){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:Cn(this.skipLocationChange),replaceUrl:Cn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Cn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(yn),r.Y36(Wt),r.Y36(i.S$))},t.\u0275dir=r.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(r.Ikx("href",e.href,r.LSH),r.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.TTD]}),t})();function Cn(t){return""===t||!!t}let kn=(()=>{class t{constructor(t,e,n,i,r,s){this.router=t,this.element=e,this.renderer=n,this.cdr=i,this.link=r,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof H&&this.update()})}ngAfterContentInit(){(0,a.of)(this.links.changes,this.linksWithHrefs.changes,(0,a.of)(null)).pipe((0,$.J)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=(0,o.D)(e).pipe((0,$.J)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){const e="paths"in this.routerLinkActiveOptions?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>t.isActive(n.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(yn),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(wn,8),r.Y36(xn,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,wn,5),r.Suo(n,xn,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.links=t),r.iGM(t=r.CRH())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.TTD]}),t})(),An=(()=>{class t{constructor(t,e,n,i,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new En(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(pn),r.Y36(r.s_b),r.Y36(r._Vd),r.$8M("name"),r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class En{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Wt?this.route:t===pn?this.childContexts:this.parent.get(t,e)}}class Sn{}class On{preload(t,e){return(0,a.of)(null)}}let Tn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new hn(e,n,e=>t.triggerEvent(new et(e)),e=>t.triggerEvent(new nt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,y.h)(t=>t instanceof H),(0,B.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(r.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return(0,o.D)(n).pipe((0,$.J)(),(0,R.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,a.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,U.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(yn),r.LFG(r.v3s),r.LFG(r.Sil),r.LFG(r.zs3),r.LFG(Sn))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),In=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof V?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof H&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof at&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new at(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(yn),r.LFG(i.EM),r.LFG(void 0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const Dn=new r.OlP("ROUTER_CONFIGURATION"),Pn=new r.OlP("ROUTER_FORROOT_GUARD"),Fn=[i.Ye,{provide:Ot,useClass:Tt},{provide:yn,useFactory:function(t,e,n,i,r,s,o,a={},l,c){const u=new yn(null,t,e,n,i,r,s,ft(o));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Ot,pn,i.Ye,r.zs3,r.v3s,r.Sil,un,Dn,[class{},new r.FiY],[class{},new r.FiY]]},pn,{provide:Wt,useFactory:function(t){return t.routerState.root},deps:[yn]},{provide:r.v3s,useClass:r.EAV},Tn,On,class{preload(t,e){return e().pipe((0,N.K)(()=>(0,a.of)(null)))}},{provide:Dn,useValue:{enableTracing:!1}}];function Mn(){return new r.PXZ("Router",yn)}let Rn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Fn,Bn(e),{provide:Pn,useFactory:Nn,deps:[[yn,new r.FiY,new r.tp0]]},{provide:Dn,useValue:n||{}},{provide:i.S$,useFactory:Zn,deps:[i.lw,[new r.tBr(i.mr),new r.FiY],Dn]},{provide:In,useFactory:Ln,deps:[yn,i.EM,Dn]},{provide:Sn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:On},{provide:r.PXZ,multi:!0,useFactory:Mn},[Un,{provide:r.ip1,multi:!0,useFactory:qn,deps:[Un]},{provide:jn,useFactory:zn,deps:[Un]},{provide:r.tb,multi:!0,useExisting:jn}]]}}static forChild(e){return{ngModule:t,providers:[Bn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(Pn,8),r.LFG(yn,8))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();function Ln(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new In(t,e,n)}function Zn(t,e,n={}){return n.useHash?new i.Do(t,e):new i.b0(t,e)}function Nn(t){return"guarded"}function Bn(t){return[{provide:r.deG,multi:!0,useValue:t},{provide:un,multi:!0,useValue:t}]}let Un=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new m.xQ}appInitializer(){return this.injector.get(i.V_,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(yn),i=this.injector.get(Dn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,a.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(Dn),n=this.injector.get(Tn),i=this.injector.get(In),s=this.injector.get(yn),o=this.injector.get(r.z2F);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),n.setUpPreloading(),i.init(),s.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.zs3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();function qn(t){return t.appInitializer.bind(t)}function zn(t){return t.bootstrapListener.bind(t)}const jn=new r.OlP("Router Initializer")},4643:function(t,e,n){"use strict";var i=n(3990),r={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var n,s,o,a,l,c,u=!1;e||(e={}),n=e.debug||!1;try{if(o=i(),a=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=t,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(i){i.stopPropagation(),e.format&&(i.preventDefault(),void 0===i.clipboardData?(n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData(),window.clipboardData.setData(r[e.format]||r.default,t)):(i.clipboardData.clearData(),i.clipboardData.setData(e.format,t))),e.onCopy&&(i.preventDefault(),e.onCopy(i.clipboardData))}),document.body.appendChild(c),a.selectNodeContents(c),l.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(h){n&&console.error("unable to copy using execCommand: ",h),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),u=!0}catch(h){n&&console.error("unable to copy using clipboardData: ",h),n&&console.error("falling back to prompt"),s=function(t){var e=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}("message"in e?e.message:"Copy to clipboard: #{key}, Enter"),window.prompt(s,t)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(a):l.removeAllRanges()),c&&document.body.removeChild(c),o()}return u}},39633:function(t){"use strict";var e=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===n}(t)}(t)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(t,e){return!1!==e.clone&&e.isMergeableObject(t)?a(Array.isArray(t)?[]:{},t,e):t}function r(t,e,n){return t.concat(e).map(function(t){return i(t,n)})}function s(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]}(t))}function o(t,e){try{return e in t}catch(n){return!1}}function a(t,n,l){(l=l||{}).arrayMerge=l.arrayMerge||r,l.isMergeableObject=l.isMergeableObject||e,l.cloneUnlessOtherwiseSpecified=i;var c=Array.isArray(n);return c===Array.isArray(t)?c?l.arrayMerge(t,n,l):function(t,e,n){var r={};return n.isMergeableObject(t)&&s(t).forEach(function(e){r[e]=i(t[e],n)}),s(e).forEach(function(s){(function(t,e){return o(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,s)||(r[s]=o(t,s)&&n.isMergeableObject(e[s])?function(t,e){if(!e.customMerge)return a;var n=e.customMerge(t);return"function"==typeof n?n:a}(s,n)(t[s],e[s],n):i(e[s],n))}),r}(t,n,l):i(n,l)}a.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return a(t,n,e)},{})},t.exports=a},52907:function(t){"use strict";function e(t,e){var n,i;if("function"==typeof e)void 0!==(i=e(t))&&(t=i);else if(Array.isArray(e))for(n=0;n<e.length;n++)void 0!==(i=e[n](t))&&(t=i);return t}function n(t,e){return"-"===t[0]&&Array.isArray(e)&&/^-\d+$/.test(t)?e.length+parseInt(t,10):t}function i(t){return"[object Object]"===Object.prototype.toString.call(t)}function r(t){return Object(t)===t}function s(t){return 0===Object.keys(t).length}var o=["__proto__","prototype","constructor"],a=function(t){return-1===o.indexOf(t)};function l(t,e){t.indexOf("[")>=0&&(t=t.replace(/\[/g,e).replace(/]/g,""));var n=t.split(e);if(n.filter(a).length!==n.length)throw Error("Refusing to update blacklisted property "+t);return n}var c=Object.prototype.hasOwnProperty;function u(t,e,n,i){if(!(this instanceof u))return new u(t,e,n,i);void 0===e&&(e=!1),void 0===n&&(n=!0),void 0===i&&(i=!0),this.separator=t||".",this.override=e,this.useArray=n,this.useBrackets=i,this.keepArray=!1,this.cleanup=[]}var h=new u(".",!1,!0,!0);function d(t){return function(){return h[t].apply(h,arguments)}}u.prototype._fill=function(t,n,i,o){var a=t.shift();if(t.length>0){if(n[a]=n[a]||(this.useArray&&function(t){return/^\d+$/.test(t)}(t[0])?[]:{}),!r(n[a])){if(!this.override){if(!r(i)||!s(i))throw new Error("Trying to redefine `"+a+"` which is a "+typeof n[a]);return}n[a]={}}this._fill(t,n[a],i,o)}else{if(!this.override&&r(n[a])&&!s(n[a])){if(!r(i)||!s(i))throw new Error("Trying to redefine non-empty obj['"+a+"']");return}n[a]=e(i,o)}},u.prototype.object=function(t,n){var i=this;return Object.keys(t).forEach(function(r){var s=void 0===n?null:n[r],o=l(r,i.separator).join(i.separator);-1!==o.indexOf(i.separator)?(i._fill(o.split(i.separator),t,t[r],s),delete t[r]):t[r]=e(t[r],s)}),t},u.prototype.str=function(t,n,i,r){var s=l(t,this.separator).join(this.separator);return-1!==t.indexOf(this.separator)?this._fill(s.split(this.separator),i,n,r):i[t]=e(n,r),i},u.prototype.pick=function(t,e,i,r){var s,o,a,c,u;for(o=l(t,this.separator),s=0;s<o.length;s++){if(c=n(o[s],e),!e||"object"!=typeof e||!(c in e))return;if(s===o.length-1)return i?(a=e[c],r&&Array.isArray(e)?e.splice(c,1):delete e[c],Array.isArray(e)&&(u=o.slice(0,-1).join("."),-1===this.cleanup.indexOf(u)&&this.cleanup.push(u)),a):e[c];e=e[c]}return i&&Array.isArray(e)&&(e=e.filter(function(t){return void 0!==t})),e},u.prototype.delete=function(t,e){return this.remove(t,e,!0)},u.prototype.remove=function(t,e,n){var i;if(this.cleanup=[],Array.isArray(t)){for(i=0;i<t.length;i++)this.pick(t[i],e,!0,n);return n||this._cleanup(e),e}return this.pick(t,e,!0,n)},u.prototype._cleanup=function(t){var e,n,i,r;if(this.cleanup.length){for(n=0;n<this.cleanup.length;n++)e=(e=(r=(i=this.cleanup[n].split(".")).splice(0,-1).join("."))?this.pick(r,t):t)[i[0]].filter(function(t){return void 0!==t}),this.set(this.cleanup[n],e,t);this.cleanup=[]}},u.prototype.del=u.prototype.remove,u.prototype.move=function(t,n,i,r,s){return"function"==typeof r||Array.isArray(r)?this.set(n,e(this.pick(t,i,!0),r),i,s):(s=r,this.set(n,this.pick(t,i,!0),i,s)),i},u.prototype.transfer=function(t,n,i,r,s,o){return"function"==typeof s||Array.isArray(s)?this.set(n,e(this.pick(t,i,!0),s),r,o):(o=s,this.set(n,this.pick(t,i,!0),r,o)),r},u.prototype.copy=function(t,n,i,r,s,o){return"function"==typeof s||Array.isArray(s)?this.set(n,e(JSON.parse(JSON.stringify(this.pick(t,i,!1))),s),r,o):(o=s,this.set(n,this.pick(t,i,!1),r,o)),r},u.prototype.set=function(t,e,n,r){var s,o,a,u;if(void 0===e)return n;for(a=l(t,this.separator),s=0;s<a.length;s++){if(u=a[s],s===a.length-1)if(r&&i(e)&&i(n[u]))for(o in e)c.call(e,o)&&(n[u][o]=e[o]);else if(r&&Array.isArray(n[u])&&Array.isArray(e))for(var h=0;h<e.length;h++)n[a[s]].push(e[h]);else n[u]=e;else c.call(n,u)&&(i(n[u])||Array.isArray(n[u]))||(n[u]=/^\d+$/.test(a[s+1])?[]:{});n=n[u]}return n},u.prototype.transform=function(t,e,n){return e=e||{},n=n||{},Object.keys(t).forEach((function(i){this.set(t[i],this.pick(i,e),n)}).bind(this)),n},u.prototype.dot=function(t,e,n){e=e||{},n=n||[];var o=Array.isArray(t);return Object.keys(t).forEach((function(a){var l=o&&this.useBrackets?"["+a+"]":a;if(r(t[a])&&(i(t[a])&&!s(t[a])||Array.isArray(t[a])&&!this.keepArray&&0!==t[a].length)){if(o&&this.useBrackets){var c=n[n.length-1]||"";return this.dot(t[a],e,n.slice(0,-1).concat(c+l))}return this.dot(t[a],e,n.concat(l))}o&&this.useBrackets?e[n.join(this.separator).concat("["+a+"]")]=t[a]:e[n.concat(l).join(this.separator)]=t[a]}).bind(this)),e},u.pick=d("pick"),u.move=d("move"),u.transfer=d("transfer"),u.transform=d("transform"),u.copy=d("copy"),u.object=d("object"),u.str=d("str"),u.set=d("set"),u.delete=d("delete"),u.del=u.remove=d("remove"),u.dot=d("dot"),["override","overwrite"].forEach(function(t){Object.defineProperty(u,t,{get:function(){return h.override},set:function(t){h.override=!!t}})}),["useArray","keepArray","useBrackets"].forEach(function(t){Object.defineProperty(u,t,{get:function(){return h[t]},set:function(e){h[t]=e}})}),u._process=e,t.exports=u},10487:function(t,e){"use strict";function n(t){return t.indexOf("?")>-1?t.split("?")[0]:t.indexOf("/")>-1?t.split("/")[0]:t.indexOf("&")>-1?t.split("&")[0]:t}function i(t){var e=t;e=e.replace(/#t=.*$/,"");var i=/youtube:\/\/|https?:\/\/youtu\.be\/|http:\/\/y2u\.be\//g;if(i.test(e))return n(e.split(i)[1]);var r=/\/v\/|\/vi\//g;if(r.test(e))return n(e.split(r)[1]);var s=/v=|vi=/g;if(s.test(e))return n(e.split(s)[1].split("&")[0]);var o=/\/an_webp\//g;if(o.test(e))return n(e.split(o)[1]);var a=/\/embed\//g;if(a.test(e))return n(e.split(a)[1]);if(!/\/user\/([a-zA-Z0-9]*)$/g.test(e)){if(/\/user\/(?!.*videos)/g.test(e))return n(e.split("/").pop());var l=/\/attribution_link\?.*v%3D([^%&]*)(%26|&|$)/;return l.test(e)?n(e.match(l)[1]):void 0}}function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,r=!1,s=void 0;try{for(var o,a=t[Symbol.iterator]();!(i=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(l){r=!0,s=l}finally{try{i||null==a.return||a.return()}finally{if(r)throw s}}return n}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function o(t){var e,n,i=t;if(i.indexOf("#")>-1){var s=i.split("#");i=r(s,1)[0]}if(i.indexOf("?")>-1&&-1===i.indexOf("clip_id=")){var o=i.split("?");i=r(o,1)[0]}var a=/https?:\/\/vimeo\.com\/([0-9]+)/.exec(i);if(a&&a[1])return a[1];var l=["https?://player.vimeo.com/video/[0-9]+$","https?://vimeo.com/channels","groups","album"].join("|");return new RegExp(l,"gim").test(i)?(n=i.split("/"))&&n.length&&(e=n.pop()):/clip_id=/gim.test(i)&&(n=i.split("clip_id="))&&n.length&&(e=r(n[1].split("&"),1)[0]),e}function a(t){var e=/https:\/\/vine\.co\/v\/([a-zA-Z0-9]*)\/?/.exec(t);return e&&e[1]}function l(t){var e;if(t.indexOf("embed")>-1)return t.match(e=/embed\/(\w{8})/)[1];var n=t.match(e=/\/v\/(\w{8})/);return n&&n.length>0?t.match(e)[1]:void 0}function c(t){var e=(t.indexOf("embed")>-1?/https:\/\/web\.microsoftstream\.com\/embed\/video\/([a-zA-Z0-9-]*)\/?/:/https:\/\/web\.microsoftstream\.com\/video\/([a-zA-Z0-9-]*)\/?/).exec(t);return e&&e[1]}e.Z=function(t){if("string"!=typeof t)throw new TypeError("get-video-id expects a string");var e=t;/<iframe/gi.test(e)&&(e=function(t){if("string"!=typeof t)throw new TypeError("get-src expected a string");var e=/src="(.*?)"/gm.exec(t);if(e&&e.length>=2)return e[1]}(e)),e=(e=(e=e.trim()).replace("-nocookie","")).replace("/www.","/");var n={id:null,service:null};if(/\/\/google/.test(e)){var r=e.match(/url=([^&]+)&/);r&&(e=decodeURIComponent(r[1]))}return/youtube|youtu\.be|y2u\.be|i.ytimg\./.test(e)?n={id:i(e),service:"youtube"}:/vimeo/.test(e)?n={id:o(e),service:"vimeo"}:/vine/.test(e)?n={id:a(e),service:"vine"}:/videopress/.test(e)?n={id:l(e),service:"videopress"}:/microsoftstream/.test(e)&&(n={id:c(e),service:"microsoftstream"}),n}},49833:function(t){"use strict";const e=t=>t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=[a-fA-F\\d:])|(?<=[a-fA-F\\d:])(?=\\s|$))":"",n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",i="[a-fA-F\\d]{1,4}",r=`\n(?:\n(?:${i}:){7}(?:${i}|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:${i}:){6}(?:${n}|:${i}|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4\n(?:${i}:){5}(?::${n}|(?::${i}){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4\n(?:${i}:){4}(?:(?::${i}){0,1}:${n}|(?::${i}){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4\n(?:${i}:){3}(?:(?::${i}){0,2}:${n}|(?::${i}){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4\n(?:${i}:){2}(?:(?::${i}){0,3}:${n}|(?::${i}){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4\n(?:${i}:){1}(?:(?::${i}){0,4}:${n}|(?::${i}){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::${i}){0,5}:${n}|(?::${i}){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})?                                             // %eth0            %1\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=new RegExp(`(?:^${n}$)|(?:^${r}$)`),o=new RegExp(`^${n}$`),a=new RegExp(`^${r}$`),l=t=>t&&t.exact?s:new RegExp(`(?:${e(t)}${n}${e(t)})|(?:${e(t)}${r}${e(t)})`,"g");l.v4=t=>t&&t.exact?o:new RegExp(`${e(t)}${n}${e(t)}`,"g"),l.v6=t=>t&&t.exact?a:new RegExp(`${e(t)}${r}${e(t)}`,"g"),t.exports=l},35791:function(){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript},50232:function(){!function(t){function e(t,e){return"___"+t.toUpperCase()+e+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,i,r,s){if(n.language===i){var o=n.tokenStack=[];n.code=n.code.replace(r,function(t){if("function"==typeof s&&!s(t))return t;for(var r,a=o.length;-1!==n.code.indexOf(r=e(i,a));)++a;return o[a]=t,r}),n.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(n,i){if(n.language===i&&n.tokenStack){n.grammar=t.languages[i];var r=0,s=Object.keys(n.tokenStack);!function o(a){for(var l=0;l<a.length&&!(r>=s.length);l++){var c=a[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=s[r],h=n.tokenStack[u],d="string"==typeof c?c:c.content,p=e(i,u),f=d.indexOf(p);if(f>-1){++r;var m=d.substring(0,f),g=new t.Token(i,t.tokenize(h,n.grammar),"language-"+i,h),_=d.substring(f+p.length),b=[];m&&b.push.apply(b,o([m])),b.push(g),_&&b.push.apply(b,o([_])),"string"==typeof c?a.splice.apply(a,[l,1].concat(b)):c.content=b}}else c.content&&o(c.content)}return a}(n.tokens)}}}})}(Prism)},70653:function(){Prism.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,e){var n={};n["language-"+e]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[e]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};i["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var r={};r[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:i},Prism.languages.insertBefore("markup","cdata",r)}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},83154:function(){!function(t){var e=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/,/\b(?:null)\b/i],i=/\b0b[01]+\b|\b0x[\da-f]+\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+)(?:e[+-]?\d+)?/i,r=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,s=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:e,variable:/\$+(?:\w+\b|(?={))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[a-z0-9_|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[a-z0-9_|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},/\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i],"argument-name":/\b[a-z_]\w*(?=\s*:(?!:))/i,"class-name":[{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:/\w+\s*(?=\()/,property:{pattern:/(->)[\w]+/,lookbehind:!0},number:i,operator:r,punctuation:s};var o={pattern:/{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)*)/,lookbehind:!0,inside:t.languages.php},a=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];t.languages.insertBefore("php","variable",{string:a}),t.languages.insertBefore("php","variable",{attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=]$)/,lookbehind:!0,inside:{comment:e,string:a,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:i,operator:r,punctuation:s}},delimiter:{pattern:/^#\[|]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(e){/<\?/.test(e.code)&&t.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}),t.hooks.add("after-tokenize",function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"php")})}(Prism)},10546:function(){!function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},keyword:/\b(?:abstract|as|asserts|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|undefined|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),delete t.languages.typescript.parameter;var e=t.languages.extend("typescript",{});delete e["class-name"],t.languages.typescript["class-name"].inside=e,t.languages.insertBefore("typescript","function",{"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e}}}}),t.languages.ts=t.languages.typescript}(Prism)},9051:function(t){var e=function(t){var e=/\blang(?:uage)?-([\w-]+)\b/i,n=0,i={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof r?new r(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++n}),t.__id},clone:function t(e,n){var r,s;switch(n=n||{},i.util.type(e)){case"Object":if(s=i.util.objId(e),n[s])return n[s];for(var o in n[s]=r={},e)e.hasOwnProperty(o)&&(r[o]=t(e[o],n));return r;case"Array":return s=i.util.objId(e),n[s]?n[s]:(n[s]=r=[],e.forEach(function(e,i){r[i]=t(e,n)}),r);default:return e}},getLanguage:function(t){for(;t&&!e.test(t.className);)t=t.parentElement;return t?(t.className.match(e)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(i){var t=(/at [^(\r\n]*\((.*):.+:.+\)$/i.exec(i.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var n in e)if(e[n].src==t)return e[n]}return null}},isActive:function(t,e,n){for(var i="no-"+e;t;){var r=t.classList;if(r.contains(e))return!0;if(r.contains(i))return!1;t=t.parentElement}return!!n}},languages:{extend:function(t,e){var n=i.util.clone(i.languages[t]);for(var r in e)n[r]=e[r];return n},insertBefore:function(t,e,n,r){var s=(r=r||i.languages)[t],o={};for(var a in s)if(s.hasOwnProperty(a)){if(a==e)for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l]);n.hasOwnProperty(a)||(o[a]=s[a])}var c=r[t];return r[t]=o,i.languages.DFS(i.languages,function(e,n){n===c&&e!=t&&(this[e]=o)}),o},DFS:function t(e,n,r,s){s=s||{};var o=i.util.objId;for(var a in e)if(e.hasOwnProperty(a)){n.call(e,a,e[a],r||a);var l=e[a],c=i.util.type(l);"Object"!==c||s[o(l)]?"Array"!==c||s[o(l)]||(s[o(l)]=!0,t(l,n,a,s)):(s[o(l)]=!0,t(l,n,null,s))}}},plugins:{},highlightAll:function(t,e){i.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,n){var r={callback:n,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var s,o=0;s=r.elements[o++];)i.highlightElement(s,!0===e,r.callback)},highlightElement:function(n,r,s){var o=i.util.getLanguage(n),a=i.languages[o];n.className=n.className.replace(e,"").replace(/\s+/g," ")+" language-"+o;var l=n.parentElement;l&&"pre"===l.nodeName.toLowerCase()&&(l.className=l.className.replace(e,"").replace(/\s+/g," ")+" language-"+o);var c={element:n,language:o,grammar:a,code:n.textContent};function u(t){c.highlightedCode=t,i.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,i.hooks.run("after-highlight",c),i.hooks.run("complete",c),s&&s.call(c.element)}if(i.hooks.run("before-sanity-check",c),!c.code)return i.hooks.run("complete",c),void(s&&s.call(c.element));if(i.hooks.run("before-highlight",c),c.grammar)if(r&&t.Worker){var h=new Worker(i.filename);h.onmessage=function(t){u(t.data)},h.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else u(i.highlight(c.code,c.grammar,c.language));else u(i.util.encode(c.code))},highlight:function(t,e,n){var s={code:t,grammar:e,language:n};return i.hooks.run("before-tokenize",s),s.tokens=i.tokenize(s.code,s.grammar),i.hooks.run("after-tokenize",s),r.stringify(i.util.encode(s.tokens),s.language)},tokenize:function(t,e){var n=e.rest;if(n){for(var i in n)e[i]=n[i];delete e.rest}var r=new a;return l(r,r.head,t),o(t,r,e,r.head,0),function(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}(r)},hooks:{all:{},add:function(t,e){var n=i.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=i.hooks.all[t];if(n&&n.length)for(var r,s=0;r=n[s++];)r(e)}},Token:r};function r(t,e,n,i){this.type=t,this.content=e,this.alias=n,this.length=0|(i||"").length}function s(t,e,n,i){t.lastIndex=e;var r=t.exec(n);if(r&&i&&r[1]){var s=r[1].length;r.index+=s,r[0]=r[0].slice(s)}return r}function o(t,e,n,a,u,h){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var p=n[d];p=Array.isArray(p)?p:[p];for(var f=0;f<p.length;++f){if(h&&h.cause==d+","+f)return;var m=p[f],g=m.inside,_=!!m.lookbehind,b=!!m.greedy,v=m.alias;if(b&&!m.pattern.global){var y=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,y+"g")}for(var w=m.pattern||m,x=a.next,C=u;x!==e.tail&&!(h&&C>=h.reach);C+=x.value.length,x=x.next){var k=x.value;if(e.length>t.length)return;if(!(k instanceof r)){var A,E=1;if(b){if(!(A=s(w,C,t,_)))break;var S=A.index,O=A.index+A[0].length,T=C;for(T+=x.value.length;S>=T;)T+=(x=x.next).value.length;if(C=T-=x.value.length,x.value instanceof r)continue;for(var I=x;I!==e.tail&&(T<O||"string"==typeof I.value);I=I.next)E++,T+=I.value.length;E--,k=t.slice(C,T),A.index-=C}else if(!(A=s(w,0,k,_)))continue;var D=A[0],P=k.slice(0,S=A.index),F=k.slice(S+D.length),M=C+k.length;h&&M>h.reach&&(h.reach=M);var R=x.prev;P&&(R=l(e,R,P),C+=P.length),c(e,R,E),x=l(e,R,new r(d,g?i.tokenize(D,g):D,v,D)),F&&l(e,x,F),E>1&&o(t,e,n,x.prev,C,{cause:d+","+f,reach:M})}}}}}function a(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function l(t,e,n){var i=e.next,r={value:n,prev:e,next:i};return e.next=r,i.prev=r,t.length++,r}function c(t,e,n){for(var i=e.next,r=0;r<n&&i!==t.tail;r++)i=i.next;e.next=i,i.prev=e,t.length-=r}if(t.Prism=i,r.stringify=function t(e,n){if("string"==typeof e)return e;if(Array.isArray(e)){var r="";return e.forEach(function(e){r+=t(e,n)}),r}var s={type:e.type,content:t(e.content,n),tag:"span",classes:["token",e.type],attributes:{},language:n},o=e.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(s.classes,o):s.classes.push(o)),i.hooks.run("wrap",s);var a="";for(var l in s.attributes)a+=" "+l+'="'+(s.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'"'+a+">"+s.content+"</"+s.tag+">"},!t.document)return t.addEventListener?(i.disableWorkerMessageHandler||t.addEventListener("message",function(e){var n=JSON.parse(e.data),r=n.language,s=n.immediateClose;t.postMessage(i.highlight(n.code,i.languages[r],r)),s&&t.close()},!1),i):i;var u=i.util.currentScript();function h(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&u&&u.defer?document.addEventListener("DOMContentLoaded",h):window.requestAnimationFrame?window.requestAnimationFrame(h):window.setTimeout(h,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=e),"undefined"!=typeof global&&(global.Prism=e),e.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&amp;/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var i={};i["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};r["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var s={};s[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},e.languages.insertBefore("markup","cdata",s)}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml,function(t){var e=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),string:{pattern:e,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),t.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:t.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},n.tag))}(e),e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}}}),e.languages.markup&&e.languages.markup.tag.addInlined("script","javascript"),e.languages.js=e.languages.javascript,function(){if("undefined"!=typeof self&&self.Prism&&self.document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var t=window.Prism,e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',i=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add("before-highlightall",function(t){t.selector+=", "+n}),t.hooks.add("before-sanity-check",function(i){var r=i.element;if(r.matches(n)){i.code="",r.setAttribute("data-src-status","loading");var o=r.appendChild(document.createElement("CODE"));o.textContent="Loading\u2026";var a=r.getAttribute("data-src"),l=i.language;if("none"===l){var c=(/\.(\w+)$/.exec(a)||[,"none"])[1];l=e[c]||c}s(o,l),s(r,l);var u=t.plugins.autoloader;u&&u.loadLanguages(l);var h=new XMLHttpRequest;h.open("GET",a,!0),h.onreadystatechange=function(){4==h.readyState&&(h.status<400&&h.responseText?(r.setAttribute("data-src-status","loaded"),o.textContent=h.responseText,t.highlightElement(o)):(r.setAttribute("data-src-status","failed"),o.textContent=h.status>=400?"\u2716 Error "+h.status+" while fetching file: "+h.statusText:"\u2716 Error: File does not exist or is empty"))},h.send(null)}}),t.plugins.fileHighlight={highlight:function(e){for(var i,r=(e||document).querySelectorAll(n),s=0;i=r[s++];)t.highlightElement(i)}};var r=!1;t.fileHighlight=function(){r||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),r=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}function s(t,e){var n=t.className;n=n.replace(i," ")+" language-"+e,t.className=n.replace(/\s+/g," ").trim()}}()},40963:function(t){"use strict";function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,n,i,r){i=i||"=";var s={};if("string"!=typeof t||0===t.length)return s;var o=/\+/g;t=t.split(n=n||"&");var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var l=t.length;a>0&&l>a&&(l=a);for(var c=0;c<l;++c){var u,h,d,p,f=t[c].replace(o,"%20"),m=f.indexOf(i);m>=0?(u=f.substr(0,m),h=f.substr(m+1)):(u=f,h=""),d=decodeURIComponent(u),p=decodeURIComponent(h),e(s,d)?Array.isArray(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s}},15341:function(t){"use strict";var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,n,i,r){return n=n||"&",i=i||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map(function(r){var s=encodeURIComponent(e(r))+i;return Array.isArray(t[r])?t[r].map(function(t){return s+encodeURIComponent(e(t))}).join(n):s+encodeURIComponent(e(t[r]))}).join(n):r?encodeURIComponent(e(r))+i+encodeURIComponent(e(t)):""}},96577:function(t,e,n){"use strict";e.decode=e.parse=n(40963),e.encode=e.stringify=n(15341)},54811:function(t){function e(t){this.name="RavenConfigError",this.message=t}(e.prototype=new Error).constructor=e,t.exports=e},25881:function(t,e,n){var i=n(7657);t.exports={wrapMethod:function(t,e,n){var r=t[e],s=t;if(e in t){var o="warn"===e?"warning":e;t[e]=function(){var t=[].slice.call(arguments),a=i.safeJoin(t," "),l={level:o,logger:"console",extra:{arguments:t}};"assert"===e?!1===t[0]&&(a="Assertion failed: "+(i.safeJoin(t.slice(1)," ")||"console.assert"),l.extra.arguments=t.slice(1),n&&n(a,l)):n&&n(a,l),r&&Function.prototype.apply.call(r,s,t)}}}}},15371:function(t,e,n){var i=n(16066),r=n(66541),s=n(96965),o=n(54811),a=n(7657),l=a.isErrorEvent,c=a.isDOMError,u=a.isDOMException,h=a.isError,d=a.isObject,p=a.isPlainObject,f=a.isUndefined,m=a.isFunction,g=a.isString,_=a.isArray,b=a.isEmptyObject,v=a.each,y=a.objectMerge,w=a.truncate,x=a.objectFrozen,C=a.hasKey,k=a.joinRegExp,A=a.urlencode,E=a.uuid4,S=a.htmlTreeAsString,O=a.isSameException,T=a.isSameStacktrace,I=a.parseUrl,D=a.fill,P=a.supportsFetch,F=a.supportsReferrerPolicy,M=a.serializeKeysForMessage,R=a.serializeException,L=a.sanitize,Z=n(25881).wrapMethod,N="source protocol user pass host port path".split(" "),B=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/;function U(){return+new Date}var q="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},z=q.document,j=q.navigator;function $(t,e){return m(e)?function(n){return e(n,t)}:e}function Y(){for(var t in this._hasJSON=!("object"!=typeof JSON||!JSON.stringify),this._hasDocument=!f(z),this._hasNavigator=!f(j),this._lastCapturedException=null,this._lastData=null,this._lastEventId=null,this._globalServer=null,this._globalKey=null,this._globalProject=null,this._globalContext={},this._globalOptions={release:q.SENTRY_RELEASE&&q.SENTRY_RELEASE.id,logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],headers:null,collectWindowErrors:!0,captureUnhandledRejections:!0,maxMessageLength:0,maxUrlLength:250,stackTraceLimit:50,autoBreadcrumbs:!0,instrument:!0,sampleRate:1,sanitizeKeys:[]},this._fetchDefaults={method:"POST",referrerPolicy:F()?"origin":""},this._ignoreOnError=0,this._isRavenInstalled=!1,this._originalErrorStackTraceLimit=Error.stackTraceLimit,this._originalConsole=q.console||{},this._originalConsoleMethods={},this._plugins=[],this._startTime=U(),this._wrappedBuiltIns=[],this._breadcrumbs=[],this._lastCapturedEvent=null,this._location=q.location,this._lastHref=this._location&&this._location.href,this._resetBackoff(),this._originalConsole)this._originalConsoleMethods[t]=this._originalConsole[t]}(Y.prototype={VERSION:"3.27.2",debug:!1,TraceKit:i,config:function(t,e){var n=this;if(n._globalServer)return this._logDebug("error","Error: Raven has already been configured"),n;if(!t)return n;var r=n._globalOptions;e&&v(e,function(t,e){"tags"===t||"extra"===t||"user"===t?n._globalContext[t]=e:r[t]=e}),n.setDSN(t),r.ignoreErrors.push(/^Script error\.?$/),r.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),r.ignoreErrors=k(r.ignoreErrors),r.ignoreUrls=!!r.ignoreUrls.length&&k(r.ignoreUrls),r.whitelistUrls=!!r.whitelistUrls.length&&k(r.whitelistUrls),r.includePaths=k(r.includePaths),r.maxBreadcrumbs=Math.max(0,Math.min(r.maxBreadcrumbs||100,100));var s={xhr:!0,console:!0,dom:!0,location:!0,sentry:!0},o=r.autoBreadcrumbs;"[object Object]"==={}.toString.call(o)?o=y(s,o):!1!==o&&(o=s),r.autoBreadcrumbs=o;var a={tryCatch:!0},l=r.instrument;return"[object Object]"==={}.toString.call(l)?l=y(a,l):!1!==l&&(l=a),r.instrument=l,i.collectWindowErrors=!!r.collectWindowErrors,n},install:function(){var t=this;return t.isSetup()&&!t._isRavenInstalled&&(i.report.subscribe(function(){t._handleOnErrorStackInfo.apply(t,arguments)}),t._globalOptions.captureUnhandledRejections&&t._attachPromiseRejectionHandler(),t._patchFunctionToString(),t._globalOptions.instrument&&t._globalOptions.instrument.tryCatch&&t._instrumentTryCatch(),t._globalOptions.autoBreadcrumbs&&t._instrumentBreadcrumbs(),t._drainPlugins(),t._isRavenInstalled=!0),Error.stackTraceLimit=t._globalOptions.stackTraceLimit,this},setDSN:function(t){var e=this._parseDSN(t),n=e.path.lastIndexOf("/"),i=e.path.substr(1,n);this._dsn=t,this._globalKey=e.user,this._globalSecret=e.pass&&e.pass.substr(1),this._globalProject=e.path.substr(n+1),this._globalServer=this._getGlobalServer(e),this._globalEndpoint=this._globalServer+"/"+i+"api/"+this._globalProject+"/store/",this._resetBackoff()},context:function(t,e,n){return m(t)&&(n=e||[],e=t,t={}),this.wrap(t,e).apply(this,n)},wrap:function(t,e,n){var i=this;if(f(e)&&!m(t))return t;if(m(t)&&(e=t,t=void 0),!m(e))return e;try{if(e.__raven__)return e;if(e.__raven_wrapper__)return e.__raven_wrapper__}catch(o){return e}function r(){var r=[],s=arguments.length,a=!t||t&&!1!==t.deep;for(n&&m(n)&&n.apply(this,arguments);s--;)r[s]=a?i.wrap(t,arguments[s]):arguments[s];try{return e.apply(this,r)}catch(o){throw i._ignoreNextOnError(),i.captureException(o,t),o}}for(var s in e)C(e,s)&&(r[s]=e[s]);return r.prototype=e.prototype,e.__raven_wrapper__=r,r.__raven__=!0,r.__orig__=e,r},uninstall:function(){return i.report.uninstall(),this._detachPromiseRejectionHandler(),this._unpatchFunctionToString(),this._restoreBuiltIns(),this._restoreConsole(),Error.stackTraceLimit=this._originalErrorStackTraceLimit,this._isRavenInstalled=!1,this},_promiseRejectionHandler:function(t){this._logDebug("debug","Raven caught unhandled promise rejection:",t),this.captureException(t.reason,{mechanism:{type:"onunhandledrejection",handled:!1}})},_attachPromiseRejectionHandler:function(){return this._promiseRejectionHandler=this._promiseRejectionHandler.bind(this),q.addEventListener&&q.addEventListener("unhandledrejection",this._promiseRejectionHandler),this},_detachPromiseRejectionHandler:function(){return q.removeEventListener&&q.removeEventListener("unhandledrejection",this._promiseRejectionHandler),this},captureException:function(t,e){if(e=y({trimHeadFrames:0},e||{}),l(t)&&t.error)t=t.error;else{if(c(t)||u(t)){var n=t.name||(c(t)?"DOMError":"DOMException");return this.captureMessage(t.message?n+": "+t.message:n,y(e,{stacktrace:!0,trimHeadFrames:e.trimHeadFrames+1}))}if(h(t))t=t;else{if(!p(t))return this.captureMessage(t,y(e,{stacktrace:!0,trimHeadFrames:e.trimHeadFrames+1}));e=this._getCaptureExceptionOptionsFromPlainObject(e,t),t=new Error(e.message)}}this._lastCapturedException=t;try{var r=i.computeStackTrace(t);this._handleStackInfo(r,e)}catch(s){if(t!==s)throw s}return this},_getCaptureExceptionOptionsFromPlainObject:function(t,e){var n=Object.keys(e).sort(),i=y(t,{message:"Non-Error exception captured with keys: "+M(n),fingerprint:[s(n)],extra:t.extra||{}});return i.extra.__serialized__=R(e),i},captureMessage:function(t,e){if(!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(t)){var n,r=y({message:t+=""},e=e||{});try{throw new Error(t)}catch(c){n=c}n.name=null;var s=i.computeStackTrace(n),o=_(s.stack)&&s.stack[1];o&&"Raven.captureException"===o.func&&(o=s.stack[2]);var a=o&&o.url||"";if((!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(a))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(a))){if(this._globalOptions.stacktrace||e.stacktrace||""===r.message){r.fingerprint=null==r.fingerprint?t:r.fingerprint,(e=y({trimHeadFrames:0},e)).trimHeadFrames+=1;var l=this._prepareFrames(s,e);r.stacktrace={frames:l.reverse()}}return r.fingerprint&&(r.fingerprint=_(r.fingerprint)?r.fingerprint:[r.fingerprint]),this._send(r),this}}},captureBreadcrumb:function(t){var e=y({timestamp:U()/1e3},t);if(m(this._globalOptions.breadcrumbCallback)){var n=this._globalOptions.breadcrumbCallback(e);if(d(n)&&!b(n))e=n;else if(!1===n)return this}return this._breadcrumbs.push(e),this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift(),this},addPlugin:function(t){var e=[].slice.call(arguments,1);return this._plugins.push([t,e]),this._isRavenInstalled&&this._drainPlugins(),this},setUserContext:function(t){return this._globalContext.user=t,this},setExtraContext:function(t){return this._mergeContext("extra",t),this},setTagsContext:function(t){return this._mergeContext("tags",t),this},clearContext:function(){return this._globalContext={},this},getContext:function(){return JSON.parse(r(this._globalContext))},setEnvironment:function(t){return this._globalOptions.environment=t,this},setRelease:function(t){return this._globalOptions.release=t,this},setDataCallback:function(t){return this._globalOptions.dataCallback=$(this._globalOptions.dataCallback,t),this},setBreadcrumbCallback:function(t){return this._globalOptions.breadcrumbCallback=$(this._globalOptions.breadcrumbCallback,t),this},setShouldSendCallback:function(t){return this._globalOptions.shouldSendCallback=$(this._globalOptions.shouldSendCallback,t),this},setTransport:function(t){return this._globalOptions.transport=t,this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){return!(!this._hasJSON||!this._globalServer&&(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this._logDebug("error","Error: Raven has not been configured.")),1))},afterLoad:function(){var t=q.RavenConfig;t&&this.config(t.dsn,t.config).install()},showReportDialog:function(t){if(z){if(!(t=y({eventId:this.lastEventId(),dsn:this._dsn,user:this._globalContext.user||{}},t)).eventId)throw new o("Missing eventId");if(!t.dsn)throw new o("Missing DSN");var e=encodeURIComponent,n=[];for(var i in t)if("user"===i){var r=t.user;r.name&&n.push("name="+e(r.name)),r.email&&n.push("email="+e(r.email))}else n.push(e(i)+"="+e(t[i]));var s=this._getGlobalServer(this._parseDSN(t.dsn)),a=z.createElement("script");a.async=!0,a.src=s+"/api/embed/error-page/?"+n.join("&"),(z.head||z.body).appendChild(a)}},_ignoreNextOnError:function(){var t=this;this._ignoreOnError+=1,setTimeout(function(){t._ignoreOnError-=1})},_triggerEvent:function(t,e){var n,i;if(this._hasDocument){for(i in e=e||{},t="raven"+t.substr(0,1).toUpperCase()+t.substr(1),z.createEvent?(n=z.createEvent("HTMLEvents")).initEvent(t,!0,!0):(n=z.createEventObject()).eventType=t,e)C(e,i)&&(n[i]=e[i]);if(z.createEvent)z.dispatchEvent(n);else try{z.fireEvent("on"+n.eventType.toLowerCase(),n)}catch(r){}}},_breadcrumbEventHandler:function(t){var e=this;return function(n){if(e._keypressTimeout=null,e._lastCapturedEvent!==n){var i;e._lastCapturedEvent=n;try{i=S(n.target)}catch(r){i="<unknown>"}e.captureBreadcrumb({category:"ui."+t,message:i})}}},_keypressEventHandler:function(){var t=this;return function(e){var n;try{n=e.target}catch(s){return}var i=n&&n.tagName;if(i&&("INPUT"===i||"TEXTAREA"===i||n.isContentEditable)){var r=t._keypressTimeout;r||t._breadcrumbEventHandler("input")(e),clearTimeout(r),t._keypressTimeout=setTimeout(function(){t._keypressTimeout=null},1e3)}}},_captureUrlChange:function(t,e){var n=I(this._location.href),i=I(e),r=I(t);this._lastHref=e,n.protocol===i.protocol&&n.host===i.host&&(e=i.relative),n.protocol===r.protocol&&n.host===r.host&&(t=r.relative),this.captureBreadcrumb({category:"navigation",data:{to:e,from:t}})},_patchFunctionToString:function(){var t=this;t._originalFunctionToString=Function.prototype.toString,Function.prototype.toString=function(){return t._originalFunctionToString.apply("function"==typeof this&&this.__raven__?this.__orig__:this,arguments)}},_unpatchFunctionToString:function(){this._originalFunctionToString&&(Function.prototype.toString=this._originalFunctionToString)},_instrumentTryCatch:function(){var t=this,e=t._wrappedBuiltIns;function n(e){return function(n,i){for(var r=new Array(arguments.length),s=0;s<r.length;++s)r[s]=arguments[s];var o=r[0];return m(o)&&(r[0]=t.wrap({mechanism:{type:"instrument",data:{function:e.name||"<anonymous>"}}},o)),e.apply?e.apply(this,r):e(r[0],r[1])}}var i=this._globalOptions.autoBreadcrumbs;function r(n){var r=q[n]&&q[n].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(D(r,"addEventListener",function(e){return function(r,s,o,a){try{s&&s.handleEvent&&(s.handleEvent=t.wrap({mechanism:{type:"instrument",data:{target:n,function:"handleEvent",handler:s&&s.name||"<anonymous>"}}},s.handleEvent))}catch(h){}var l,c,u;return i&&i.dom&&("EventTarget"===n||"Node"===n)&&(c=t._breadcrumbEventHandler("click"),u=t._keypressEventHandler(),l=function(t){if(t){var e;try{e=t.type}catch(n){return}return"click"===e?c(t):"keypress"===e?u(t):void 0}}),e.call(this,r,t.wrap({mechanism:{type:"instrument",data:{target:n,function:"addEventListener",handler:s&&s.name||"<anonymous>"}}},s,l),o,a)}},e),D(r,"removeEventListener",function(t){return function(e,n,i,r){try{n=n&&(n.__raven_wrapper__?n.__raven_wrapper__:n)}catch(s){}return t.call(this,e,n,i,r)}},e))}D(q,"setTimeout",n,e),D(q,"setInterval",n,e),q.requestAnimationFrame&&D(q,"requestAnimationFrame",function(e){return function(n){return e(t.wrap({mechanism:{type:"instrument",data:{function:"requestAnimationFrame",handler:e&&e.name||"<anonymous>"}}},n))}},e);for(var s=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],o=0;o<s.length;o++)r(s[o])},_instrumentBreadcrumbs:function(){var t=this,e=this._globalOptions.autoBreadcrumbs,n=t._wrappedBuiltIns;function i(e,n){e in n&&m(n[e])&&D(n,e,function(n){return t.wrap({mechanism:{type:"instrument",data:{function:e,handler:n&&n.name||"<anonymous>"}}},n)})}if(e.xhr&&"XMLHttpRequest"in q){var r=q.XMLHttpRequest&&q.XMLHttpRequest.prototype;D(r,"open",function(e){return function(n,i){return g(i)&&-1===i.indexOf(t._globalKey)&&(this.__raven_xhr={method:n,url:i,status_code:null}),e.apply(this,arguments)}},n),D(r,"send",function(e){return function(){var n=this;function r(){if(n.__raven_xhr&&4===n.readyState){try{n.__raven_xhr.status_code=n.status}catch(e){}t.captureBreadcrumb({type:"http",category:"xhr",data:n.__raven_xhr})}}for(var s=["onload","onerror","onprogress"],o=0;o<s.length;o++)i(s[o],n);return"onreadystatechange"in n&&m(n.onreadystatechange)?D(n,"onreadystatechange",function(e){return t.wrap({mechanism:{type:"instrument",data:{function:"onreadystatechange",handler:e&&e.name||"<anonymous>"}}},e,r)}):n.onreadystatechange=r,e.apply(this,arguments)}},n)}e.xhr&&P()&&D(q,"fetch",function(e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;++i)n[i]=arguments[i];var r,s=n[0],o="GET";if("string"==typeof s?r=s:"Request"in q&&s instanceof q.Request?(r=s.url,s.method&&(o=s.method)):r=""+s,-1!==r.indexOf(t._globalKey))return e.apply(this,n);n[1]&&n[1].method&&(o=n[1].method);var a={method:o,url:r,status_code:null};return e.apply(this,n).then(function(e){return a.status_code=e.status,t.captureBreadcrumb({type:"http",category:"fetch",data:a}),e}).catch(function(e){throw t.captureBreadcrumb({type:"http",category:"fetch",data:a,level:"error"}),e})}},n),e.dom&&this._hasDocument&&(z.addEventListener?(z.addEventListener("click",t._breadcrumbEventHandler("click"),!1),z.addEventListener("keypress",t._keypressEventHandler(),!1)):z.attachEvent&&(z.attachEvent("onclick",t._breadcrumbEventHandler("click")),z.attachEvent("onkeypress",t._keypressEventHandler())));var s=q.chrome;if(e.location&&!(s&&s.app&&s.app.runtime)&&q.history&&q.history.pushState&&q.history.replaceState){var o=q.onpopstate;q.onpopstate=function(){var e=t._location.href;if(t._captureUrlChange(t._lastHref,e),o)return o.apply(this,arguments)};var a=function(e){return function(){var n=arguments.length>2?arguments[2]:void 0;return n&&t._captureUrlChange(t._lastHref,n+""),e.apply(this,arguments)}};D(q.history,"pushState",a,n),D(q.history,"replaceState",a,n)}if(e.console&&"console"in q&&console.log){var l=function(e,n){t.captureBreadcrumb({message:e,level:n.level,category:"console"})};v(["debug","info","warn","error","log"],function(t,e){Z(console,e,l)})}},_restoreBuiltIns:function(){for(var t;this._wrappedBuiltIns.length;)(t=this._wrappedBuiltIns.shift())[0][t[1]]=t[2]},_restoreConsole:function(){for(var t in this._originalConsoleMethods)this._originalConsole[t]=this._originalConsoleMethods[t]},_drainPlugins:function(){var t=this;v(this._plugins,function(e,n){n[0].apply(t,[t].concat(n[1]))})},_parseDSN:function(t){var e=B.exec(t),n={},i=7;try{for(;i--;)n[N[i]]=e[i]||""}catch(r){throw new o("Invalid DSN: "+t)}if(n.pass&&!this._globalOptions.allowSecretKey)throw new o("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return n},_getGlobalServer:function(t){var e="//"+t.host+(t.port?":"+t.port:"");return t.protocol&&(e=t.protocol+":"+e),e},_handleOnErrorStackInfo:function(t,e){(e=e||{}).mechanism=e.mechanism||{type:"onerror",handled:!1},this._ignoreOnError||this._handleStackInfo(t,e)},_handleStackInfo:function(t,e){var n=this._prepareFrames(t,e);this._triggerEvent("handle",{stackInfo:t,options:e}),this._processException(t.name,t.message,t.url,t.lineno,n,e)},_prepareFrames:function(t,e){var n=this,i=[];if(t.stack&&t.stack.length&&(v(t.stack,function(e,r){var s=n._normalizeFrame(r,t.url);s&&i.push(s)}),e&&e.trimHeadFrames))for(var r=0;r<e.trimHeadFrames&&r<i.length;r++)i[r].in_app=!1;return i=i.slice(0,this._globalOptions.stackTraceLimit)},_normalizeFrame:function(t,e){var n={filename:t.url,lineno:t.line,colno:t.column,function:t.func||"?"};return t.url||(n.filename=e),n.in_app=!(this._globalOptions.includePaths.test&&!this._globalOptions.includePaths.test(n.filename)||/(Raven|TraceKit)\./.test(n.function)||/raven\.(min\.)?js$/.test(n.filename)),n},_processException:function(t,e,n,i,r,s){var o,a=(t?t+": ":"")+(e||"");if((!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(e)&&!this._globalOptions.ignoreErrors.test(a))&&(r&&r.length?(n=r[0].filename||n,r.reverse(),o={frames:r}):n&&(o={frames:[{filename:n,lineno:i,in_app:!0}]}),(!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(n))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(n)))){var l=y({exception:{values:[{type:t,value:e,stacktrace:o}]},transaction:n},s),c=l.exception.values[0];null==c.type&&""===c.value&&(c.value="Unrecoverable error caught"),!l.exception.mechanism&&l.mechanism&&(l.exception.mechanism=l.mechanism,delete l.mechanism),l.exception.mechanism=y({type:"generic",handled:!0},l.exception.mechanism||{}),this._send(l)}},_trimPacket:function(t){var e=this._globalOptions.maxMessageLength;if(t.message&&(t.message=w(t.message,e)),t.exception){var n=t.exception.values[0];n.value=w(n.value,e)}var i=t.request;return i&&(i.url&&(i.url=w(i.url,this._globalOptions.maxUrlLength)),i.Referer&&(i.Referer=w(i.Referer,this._globalOptions.maxUrlLength))),t.breadcrumbs&&t.breadcrumbs.values&&this._trimBreadcrumbs(t.breadcrumbs),t},_trimBreadcrumbs:function(t){for(var e,n,i,r=["to","from","url"],s=0;s<t.values.length;++s)if((n=t.values[s]).hasOwnProperty("data")&&d(n.data)&&!x(n.data)){i=y({},n.data);for(var o=0;o<r.length;++o)i.hasOwnProperty(e=r[o])&&i[e]&&(i[e]=w(i[e],this._globalOptions.maxUrlLength));t.values[s].data=i}},_getHttpData:function(){if(this._hasNavigator||this._hasDocument){var t={};return this._hasNavigator&&j.userAgent&&(t.headers={"User-Agent":j.userAgent}),q.location&&q.location.href&&(t.url=q.location.href),this._hasDocument&&z.referrer&&(t.headers||(t.headers={}),t.headers.Referer=z.referrer),t}},_resetBackoff:function(){this._backoffDuration=0,this._backoffStart=null},_shouldBackoff:function(){return this._backoffDuration&&U()-this._backoffStart<this._backoffDuration},_isRepeatData:function(t){var e=this._lastData;return!(!e||t.message!==e.message||t.transaction!==e.transaction)&&(t.stacktrace||e.stacktrace?T(t.stacktrace,e.stacktrace):t.exception||e.exception?O(t.exception,e.exception):!t.fingerprint&&!e.fingerprint||Boolean(t.fingerprint&&e.fingerprint)&&JSON.stringify(t.fingerprint)===JSON.stringify(e.fingerprint))},_setBackoffState:function(t){if(!this._shouldBackoff()){var e=t.status;if(400===e||401===e||429===e){var n;try{n=P()?t.headers.get("Retry-After"):t.getResponseHeader("Retry-After"),n=1e3*parseInt(n,10)}catch(i){}this._backoffDuration=n||2*this._backoffDuration||1e3,this._backoffStart=U()}}},_send:function(t){var e=this._globalOptions,n={project:this._globalProject,logger:e.logger,platform:"javascript"},i=this._getHttpData();i&&(n.request=i),t.trimHeadFrames&&delete t.trimHeadFrames,(t=y(n,t)).tags=y(y({},this._globalContext.tags),t.tags),t.extra=y(y({},this._globalContext.extra),t.extra),t.extra["session:duration"]=U()-this._startTime,this._breadcrumbs&&this._breadcrumbs.length>0&&(t.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}),this._globalContext.user&&(t.user=this._globalContext.user),e.environment&&(t.environment=e.environment),e.release&&(t.release=e.release),e.serverName&&(t.server_name=e.serverName),t=this._sanitizeData(t),Object.keys(t).forEach(function(e){(null==t[e]||""===t[e]||b(t[e]))&&delete t[e]}),m(e.dataCallback)&&(t=e.dataCallback(t)||t),t&&!b(t)&&(m(e.shouldSendCallback)&&!e.shouldSendCallback(t)||(this._shouldBackoff()?this._logDebug("warn","Raven dropped error due to backoff: ",t):"number"==typeof e.sampleRate?Math.random()<e.sampleRate&&this._sendProcessedPayload(t):this._sendProcessedPayload(t)))},_sanitizeData:function(t){return L(t,this._globalOptions.sanitizeKeys)},_getUuid:function(){return E()},_sendProcessedPayload:function(t,e){var n=this,i=this._globalOptions;if(this.isSetup())if(t=this._trimPacket(t),this._globalOptions.allowDuplicates||!this._isRepeatData(t)){this._lastEventId=t.event_id||(t.event_id=this._getUuid()),this._lastData=t,this._logDebug("debug","Raven about to send:",t);var r={sentry_version:"7",sentry_client:"raven-js/"+this.VERSION,sentry_key:this._globalKey};this._globalSecret&&(r.sentry_secret=this._globalSecret);var s=t.exception&&t.exception.values[0];this._globalOptions.autoBreadcrumbs&&this._globalOptions.autoBreadcrumbs.sentry&&this.captureBreadcrumb({category:"sentry",message:s?(s.type?s.type+": ":"")+s.value:t.message,event_id:t.event_id,level:t.level||"error"});var o=this._globalEndpoint;(i.transport||this._makeRequest).call(this,{url:o,auth:r,data:t,options:i,onSuccess:function(){n._resetBackoff(),n._triggerEvent("success",{data:t,src:o}),e&&e()},onError:function(i){n._logDebug("error","Raven transport failed to send: ",i),i.request&&n._setBackoffState(i.request),n._triggerEvent("failure",{data:t,src:o}),i=i||new Error("Raven send failed (no additional details provided)"),e&&e(i)}})}else this._logDebug("warn","Raven dropped repeat event: ",t)},_makeRequest:function(t){var e=t.url+"?"+A(t.auth),n=null,i={};if(t.options.headers&&(n=this._evaluateHash(t.options.headers)),t.options.fetchParameters&&(i=this._evaluateHash(t.options.fetchParameters)),P()){i.body=r(t.data);var s=y({},this._fetchDefaults),o=y(s,i);return n&&(o.headers=n),q.fetch(e,o).then(function(e){if(e.ok)t.onSuccess&&t.onSuccess();else{var n=new Error("Sentry error code: "+e.status);n.request=e,t.onError&&t.onError(n)}}).catch(function(){t.onError&&t.onError(new Error("Sentry error code: network unavailable"))})}var a=q.XMLHttpRequest&&new q.XMLHttpRequest;a&&("withCredentials"in a||"undefined"!=typeof XDomainRequest)&&("withCredentials"in a?a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)t.onSuccess&&t.onSuccess();else if(t.onError){var e=new Error("Sentry error code: "+a.status);e.request=a,t.onError(e)}}:(a=new XDomainRequest,e=e.replace(/^https?:/,""),t.onSuccess&&(a.onload=t.onSuccess),t.onError&&(a.onerror=function(){var e=new Error("Sentry error code: XDomainRequest");e.request=a,t.onError(e)})),a.open("POST",e),n&&v(n,function(t,e){a.setRequestHeader(t,e)}),a.send(r(t.data)))},_evaluateHash:function(t){var e={};for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];e[n]="function"==typeof i?i():i}return e},_logDebug:function(t){this._originalConsoleMethods[t]&&(this.debug||this._globalOptions.debug)&&Function.prototype.apply.call(this._originalConsoleMethods[t],this._originalConsole,[].slice.call(arguments,1))},_mergeContext:function(t,e){f(e)?delete this._globalContext[t]:this._globalContext[t]=y(this._globalContext[t]||{},e)}}).setUser=Y.prototype.setUserContext,Y.prototype.setReleaseContext=Y.prototype.setRelease,t.exports=Y},40231:function(t,e,n){var i=n(15371),r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=r.Raven,o=new i;o.noConflict=function(){return r.Raven=s,o},o.afterLoad(),t.exports=o,t.exports.Client=i},7657:function(t,e,n){var i=n(66541),r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(t){return void 0===t}function o(t){return"[object Object]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function l(t){return"[object Array]"===Object.prototype.toString.call(t)}function c(){if(!("fetch"in r))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function u(t,e){var n,i;if(s(t.length))for(n in t)d(t,n)&&e.call(null,n,t[n]);else if(i=t.length)for(n=0;n<i;n++)e.call(null,n,t[n])}function h(t,e){if("number"!=typeof e)throw new Error("2nd argument to `truncate` function should be a number");return"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"\u2026"}function d(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function p(t){for(var e,n=[],i=0,r=t.length;i<r;i++)a(e=t[i])?n.push(e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):e&&e.source&&n.push(e.source);return new RegExp(n.join("|"),"i")}function f(t){var e,n,i,r,s,o=[];if(!t||!t.tagName)return"";if(o.push(t.tagName.toLowerCase()),t.id&&o.push("#"+t.id),(e=t.className)&&a(e))for(n=e.split(/\s+/),s=0;s<n.length;s++)o.push("."+n[s]);var l=["type","name","title","alt"];for(s=0;s<l.length;s++)(r=t.getAttribute(i=l[s]))&&o.push("["+i+'="'+r+'"]');return o.join("")}function m(t,e){return!!(!!t^!!e)}function g(t,e){if(m(t,e))return!1;var n,i,r=t.frames,s=e.frames;if(void 0===r||void 0===s)return!1;if(r.length!==s.length)return!1;for(var o=0;o<r.length;o++)if((n=r[o]).filename!==(i=s[o]).filename||n.lineno!==i.lineno||n.colno!==i.colno||n.function!==i.function)return!1;return!0}function _(t){if("string"==typeof t)return h(t,40);if("number"==typeof t||"boolean"==typeof t||void 0===t)return t;var e=Object.prototype.toString.call(t);return"[object Object]"===e?"[Object]":"[object Array]"===e?"[Array]":"[object Function]"===e?t.name?"[Function: "+t.name+"]":"[Function]":t}function b(t,e){return 0===e?_(t):o(t)?Object.keys(t).reduce(function(n,i){return n[i]=b(t[i],e-1),n},{}):Array.isArray(t)?t.map(function(t){return b(t,e-1)}):_(t)}t.exports={isObject:function(t){return"object"==typeof t&&null!==t},isError:function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}},isErrorEvent:function(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)},isDOMError:function(t){return"[object DOMError]"===Object.prototype.toString.call(t)},isDOMException:function(t){return"[object DOMException]"===Object.prototype.toString.call(t)},isUndefined:s,isFunction:function(t){return"function"==typeof t},isPlainObject:o,isString:a,isArray:l,isEmptyObject:function(t){if(!o(t))return!1;for(var e in t)if(t.hasOwnProperty(e))return!1;return!0},supportsErrorEvent:function(){try{return new ErrorEvent(""),!0}catch(t){return!1}},supportsDOMError:function(){try{return new DOMError(""),!0}catch(t){return!1}},supportsDOMException:function(){try{return new DOMException(""),!0}catch(t){return!1}},supportsFetch:c,supportsReferrerPolicy:function(){if(!c())return!1;try{return new Request("pickleRick",{referrerPolicy:"origin"}),!0}catch(t){return!1}},supportsPromiseRejectionEvent:function(){return"function"==typeof PromiseRejectionEvent},wrappedCallback:function(t){return function(e,n){var i=t(e)||e;return n&&n(i)||i}},each:u,objectMerge:function(t,e){return e?(u(e,function(e,n){t[e]=n}),t):t},truncate:h,objectFrozen:function(t){return!!Object.isFrozen&&Object.isFrozen(t)},hasKey:d,joinRegExp:p,urlencode:function(t){var e=[];return u(t,function(t,n){e.push(encodeURIComponent(t)+"="+encodeURIComponent(n))}),e.join("&")},uuid4:function(){var t=r.crypto||r.msCrypto;if(!s(t)&&t.getRandomValues){var e=new Uint16Array(8);t.getRandomValues(e),e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;var n=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return n(e[0])+n(e[1])+n(e[2])+n(e[3])+n(e[4])+n(e[5])+n(e[6])+n(e[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})},htmlTreeAsString:function(t){for(var e,n=[],i=0,r=0,s=" > ".length;t&&i++<5&&!("html"===(e=f(t))||i>1&&r+n.length*s+e.length>=80);)n.push(e),r+=e.length,t=t.parentNode;return n.reverse().join(" > ")},htmlElementAsString:f,isSameException:function(t,e){return!m(t,e)&&(t=t.values[0]).type===(e=e.values[0]).type&&t.value===e.value&&(n=e.stacktrace,(!s(t.stacktrace)||!s(n))&&g(t.stacktrace,e.stacktrace));var n},isSameStacktrace:g,parseUrl:function(t){if("string"!=typeof t)return{};var e=t.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);return{protocol:e[2],host:e[4],path:e[5],relative:e[5]+(e[6]||"")+(e[8]||"")}},fill:function(t,e,n,i){if(null!=t){var r=t[e];t[e]=n(r),t[e].__raven__=!0,t[e].__orig__=r,i&&i.push([t,e,r])}},safeJoin:function(t,e){if(!l(t))return"";for(var n=[],i=0;i<t.length;i++)try{n.push(String(t[i]))}catch(r){n.push("[value cannot be serialized]")}return n.join(e)},serializeException:function t(e,n,r){if(!o(e))return e;r="number"!=typeof(n="number"!=typeof n?3:n)?51200:r;var s,a=b(e,n);return s=i(a),function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(s))>r?t(e,n-1):a},serializeKeysForMessage:function(t,e){if("number"==typeof t||"string"==typeof t)return t.toString();if(!Array.isArray(t))return"";if(0===(t=t.filter(function(t){return"string"==typeof t})).length)return"[object has no keys]";if(t[0].length>=(e="number"!=typeof e?40:e))return t[0];for(var n=t.length;n>0;n--){var i=t.slice(0,n).join(", ");if(!(i.length>e))return n===t.length?i:i+"\u2026"}return""},sanitize:function(t,e){if(!l(e)||l(e)&&0===e.length)return t;var n,r=p(e);try{n=JSON.parse(i(t))}catch(s){return t}return function t(e){return l(e)?e.map(function(e){return t(e)}):o(e)?Object.keys(e).reduce(function(n,i){return n[i]=r.test(i)?"********":t(e[i]),n},{}):e}(n)}}},16066:function(t,e,n){var i=n(7657),r={collectWindowErrors:!0,debug:!1},s="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=[].slice,a=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function l(){return"undefined"==typeof document||null==document.location?"":document.location.href}r.report=function(){var t,e,n=[],c=null,u=null,h=null;function d(t,e){var i=null;if(!e||r.collectWindowErrors){for(var s in n)if(n.hasOwnProperty(s))try{n[s].apply(null,[t].concat(o.call(arguments,2)))}catch(a){i=a}if(i)throw i}}function p(e,n,s,o,c){var u=i.isErrorEvent(c)?c.error:c,p=i.isErrorEvent(e)?e.message:e;if(h)r.computeStackTrace.augmentStackTraceWithInitialElement(h,n,s,p),f();else if(u&&i.isError(u))d(r.computeStackTrace(u),!0);else{var m,g={url:n,line:s,column:o},_=void 0;"[object String]"==={}.toString.call(p)&&(m=p.match(a))&&(_=m[1],p=m[2]),g.func="?",d({name:_,message:p,url:l(),stack:[g]},!0)}return!!t&&t.apply(this,arguments)}function f(){var t=h,e=c;c=null,h=null,u=null,d.apply(null,[t,!1].concat(e))}function m(t,e){var n=o.call(arguments,1);if(h){if(u===t)return;f()}var i=r.computeStackTrace(t);if(h=i,u=t,c=n,setTimeout(function(){u===t&&f()},i.incomplete?2e3:0),!1!==e)throw t}return m.subscribe=function(i){e||(t=s.onerror,s.onerror=p,e=!0),n.push(i)},m.unsubscribe=function(t){for(var e=n.length-1;e>=0;--e)n[e]===t&&n.splice(e,1)},m.uninstall=function(){e&&(s.onerror=t,e=!1,t=void 0),n=[]},m}(),r.computeStackTrace=function(){function t(t){if(void 0!==t.stack&&t.stack){for(var e,n,i,r=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,a=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,c=/\((\S*)(?::(\d+))(?::(\d+))\)/,u=t.stack.split("\n"),h=[],d=(/^(.*) is undefined$/.exec(t.message),0),p=u.length;d<p;++d){if(n=r.exec(u[d])){var f=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=c.exec(n[2]))&&(n[2]=e[1],n[3]=e[2],n[4]=e[3]),i={url:f?null:n[2],func:n[1]||"?",args:f?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=s.exec(u[d]))i={url:n[2],func:n[1]||"?",args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=o.exec(u[d])))continue;n[3]&&n[3].indexOf(" > eval")>-1&&(e=a.exec(n[3]))?(n[3]=e[1],n[4]=e[2],n[5]=null):0!==d||n[5]||void 0===t.columnNumber||(h[0].column=t.columnNumber+1),i={url:n[3],func:n[1]||"?",args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}if(!i.func&&i.line&&(i.func="?"),i.url&&"blob:"===i.url.substr(0,5)){var m=new XMLHttpRequest;if(m.open("GET",i.url,!1),m.send(null),200===m.status){var g=m.responseText||"",_=(g=g.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(_){var b=_[1];"~"===b.charAt(0)&&(b=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+b.slice(1)),i.url=b.slice(0,-4)}}}h.push(i)}return h.length?{name:t.name,message:t.message,url:l(),stack:h}:null}}function e(t,e,n,i){var r={url:e,line:n};if(r.url&&r.line){if(t.incomplete=!1,r.func||(r.func="?"),t.stack.length>0&&t.stack[0].url===r.url){if(t.stack[0].line===r.line)return!1;if(!t.stack[0].line&&t.stack[0].func===r.func)return t.stack[0].line=r.line,!1}return t.stack.unshift(r),t.partial=!0,!0}return t.incomplete=!0,!1}function n(t,s){for(var o,a,c=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,u=[],h={},d=!1,p=n.caller;p&&!d;p=p.caller)if(p!==i&&p!==r.report){if(a={url:null,func:"?",line:null,column:null},p.name?a.func=p.name:(o=c.exec(p.toString()))&&(a.func=o[1]),void 0===a.func)try{a.func=o.input.substring(0,o.input.indexOf("{"))}catch(m){}h[""+p]?d=!0:h[""+p]=!0,u.push(a)}s&&u.splice(0,s);var f={name:t.name,message:t.message,url:l(),stack:u};return e(f,t.sourceURL||t.fileName,t.line||t.lineNumber),f}function i(e,i){var s=null;i=null==i?0:+i;try{if(s=t(e))return s}catch(o){if(r.debug)throw o}try{if(s=n(e,i+1))return s}catch(o){if(r.debug)throw o}return{name:e.name,message:e.message,url:l()}}return i.augmentStackTraceWithInitialElement=e,i.computeStackTraceFromStackProp=t,i}(),t.exports=r},66541:function(t,e){function n(t,e){for(var n=0;n<t.length;++n)if(t[n]===e)return n;return-1}function i(t,e){var i=[],r=[];return null==e&&(e=function(t,e){return i[0]===e?"[Circular ~]":"[Circular ~."+r.slice(0,n(i,e)).join(".")+"]"}),function(s,o){if(i.length>0){var a=n(i,this);~a?i.splice(a+1):i.push(this),~a?r.splice(a,1/0,s):r.push(s),~n(i,o)&&(o=e.call(this,s,o))}else i.push(o);return null==t?o instanceof Error?function(t){var e={stack:t.stack,message:t.message,name:t.name};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}(o):o:t.call(this,s,o)}}(t.exports=function(t,e,n,r){return JSON.stringify(t,i(e,r),n)}).getSerialize=i},96965:function(t){function e(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function n(t,n,i,r,s,o){return e((a=e(e(n,t),e(r,o)))<<(l=s)|a>>>32-l,i);var a,l}function i(t,e,i,r,s,o,a){return n(e&i|~e&r,t,e,s,o,a)}function r(t,e,i,r,s,o,a){return n(e&r|i&~r,t,e,s,o,a)}function s(t,e,i,r,s,o,a){return n(e^i^r,t,e,s,o,a)}function o(t,e,i,r,s,o,a){return n(i^(e|~r),t,e,s,o,a)}function a(t,n){var a,l,c,u,h;t[n>>5]|=128<<n%32,t[14+(n+64>>>9<<4)]=n;var d=1732584193,p=-271733879,f=-1732584194,m=271733878;for(a=0;a<t.length;a+=16)l=d,c=p,u=f,h=m,d=i(d,p,f,m,t[a],7,-680876936),m=i(m,d,p,f,t[a+1],12,-389564586),f=i(f,m,d,p,t[a+2],17,606105819),p=i(p,f,m,d,t[a+3],22,-1044525330),d=i(d,p,f,m,t[a+4],7,-176418897),m=i(m,d,p,f,t[a+5],12,1200080426),f=i(f,m,d,p,t[a+6],17,-1473231341),p=i(p,f,m,d,t[a+7],22,-45705983),d=i(d,p,f,m,t[a+8],7,1770035416),m=i(m,d,p,f,t[a+9],12,-1958414417),f=i(f,m,d,p,t[a+10],17,-42063),p=i(p,f,m,d,t[a+11],22,-1990404162),d=i(d,p,f,m,t[a+12],7,1804603682),m=i(m,d,p,f,t[a+13],12,-40341101),f=i(f,m,d,p,t[a+14],17,-1502002290),d=r(d,p=i(p,f,m,d,t[a+15],22,1236535329),f,m,t[a+1],5,-165796510),m=r(m,d,p,f,t[a+6],9,-1069501632),f=r(f,m,d,p,t[a+11],14,643717713),p=r(p,f,m,d,t[a],20,-373897302),d=r(d,p,f,m,t[a+5],5,-701558691),m=r(m,d,p,f,t[a+10],9,38016083),f=r(f,m,d,p,t[a+15],14,-660478335),p=r(p,f,m,d,t[a+4],20,-405537848),d=r(d,p,f,m,t[a+9],5,568446438),m=r(m,d,p,f,t[a+14],9,-1019803690),f=r(f,m,d,p,t[a+3],14,-187363961),p=r(p,f,m,d,t[a+8],20,1163531501),d=r(d,p,f,m,t[a+13],5,-1444681467),m=r(m,d,p,f,t[a+2],9,-51403784),f=r(f,m,d,p,t[a+7],14,1735328473),d=s(d,p=r(p,f,m,d,t[a+12],20,-1926607734),f,m,t[a+5],4,-378558),m=s(m,d,p,f,t[a+8],11,-2022574463),f=s(f,m,d,p,t[a+11],16,1839030562),p=s(p,f,m,d,t[a+14],23,-35309556),d=s(d,p,f,m,t[a+1],4,-1530992060),m=s(m,d,p,f,t[a+4],11,1272893353),f=s(f,m,d,p,t[a+7],16,-155497632),p=s(p,f,m,d,t[a+10],23,-1094730640),d=s(d,p,f,m,t[a+13],4,681279174),m=s(m,d,p,f,t[a],11,-358537222),f=s(f,m,d,p,t[a+3],16,-722521979),p=s(p,f,m,d,t[a+6],23,76029189),d=s(d,p,f,m,t[a+9],4,-640364487),m=s(m,d,p,f,t[a+12],11,-421815835),f=s(f,m,d,p,t[a+15],16,530742520),d=o(d,p=s(p,f,m,d,t[a+2],23,-995338651),f,m,t[a],6,-198630844),m=o(m,d,p,f,t[a+7],10,1126891415),f=o(f,m,d,p,t[a+14],15,-1416354905),p=o(p,f,m,d,t[a+5],21,-57434055),d=o(d,p,f,m,t[a+12],6,1700485571),m=o(m,d,p,f,t[a+3],10,-1894986606),f=o(f,m,d,p,t[a+10],15,-1051523),p=o(p,f,m,d,t[a+1],21,-2054922799),d=o(d,p,f,m,t[a+8],6,1873313359),m=o(m,d,p,f,t[a+15],10,-30611744),f=o(f,m,d,p,t[a+6],15,-1560198380),p=o(p,f,m,d,t[a+13],21,1309151649),d=o(d,p,f,m,t[a+4],6,-145523070),m=o(m,d,p,f,t[a+11],10,-1120210379),f=o(f,m,d,p,t[a+2],15,718787259),p=o(p,f,m,d,t[a+9],21,-343485551),d=e(d,l),p=e(p,c),f=e(f,u),m=e(m,h);return[d,p,f,m]}function l(t){var e,n="",i=32*t.length;for(e=0;e<i;e+=8)n+=String.fromCharCode(t[e>>5]>>>e%32&255);return n}function c(t){var e,n=[];for(n[(t.length>>2)-1]=void 0,e=0;e<n.length;e+=1)n[e]=0;var i=8*t.length;for(e=0;e<i;e+=8)n[e>>5]|=(255&t.charCodeAt(e/8))<<e%32;return n}function u(t){var e,n,i="";for(n=0;n<t.length;n+=1)e=t.charCodeAt(n),i+="0123456789abcdef".charAt(e>>>4&15)+"0123456789abcdef".charAt(15&e);return i}function h(t){return unescape(encodeURIComponent(t))}function d(t){return function(t){return l(a(c(t),8*t.length))}(h(t))}function p(t,e){return function(t,e){var n,i,r=c(t),s=[],o=[];for(s[15]=o[15]=void 0,r.length>16&&(r=a(r,8*t.length)),n=0;n<16;n+=1)s[n]=909522486^r[n],o[n]=1549556828^r[n];return i=a(s.concat(c(e)),512+8*e.length),l(a(o.concat(i),640))}(h(t),h(e))}t.exports=function(t,e,n){return e?n?p(e,t):u(p(e,t)):n?d(t):u(d(t))}},78512:function(t,e,n){"use strict";n.d(e,{X:function(){return s}});var i=n(55959),r=n(13895);class s extends i.xQ{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.N;return this._value}next(t){super.next(this._value=t)}}},3103:function(t,e,n){"use strict";n.d(e,{P:function(){return o}});var i=n(34056),r=n(40878),s=n(31225);let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return(0,s._)(this.error);case"C":return(0,i.c)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},48318:function(t,e,n){"use strict";n.d(e,{y:function(){return c}});var i=n(96673),r=n(55331),s=n(57498),o=n(56197),a=n(13392),l=n(51484);let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof i.L)return t;if(t[r.b])return t[r.b]()}return t||e||n?new i.L(t,e,n):new i.L(s.c)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||l.v.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.v.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof i.L?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.L](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?a.y:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},57498:function(t,e,n){"use strict";n.d(e,{c:function(){return s}});var i=n(51484),r=n(14294);const s={closed:!0,next(t){},error(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,r.z)(t)},complete(){}}},66994:function(t,e,n){"use strict";n.d(e,{t:function(){return g}});var i=n(55959),r=n(8277);class s extends r.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var o=n(91098);class a extends o.v{}const l=new a(s);var c=n(87570),u=n(96673),h=n(3103);class d extends u.L{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(d.dispatch,this.delay,new p(t,this.destination)))}_next(t){this.scheduleMessage(h.P.createNext(t))}_error(t){this.scheduleMessage(h.P.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(h.P.createComplete()),this.unsubscribe()}}class p{constructor(t,e){this.notification=t,this.destination=e}}var f=n(13895),m=n(19291);class g extends i.xQ{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new _(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let s;if(this.closed)throw new f.N;if(this.isStopped||this.hasError?s=c.w.EMPTY:(this.observers.push(t),s=new m.W(this,t)),i&&t.add(t=new d(t,i)),e)for(let o=0;o<r&&!t.closed;o++)t.next(n[o]);else for(let o=0;o<r&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),s}_getNow(){return(this.scheduler||l).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length;let s=0;for(;s<r&&!(t-i[s].time<n);)s++;return r>e&&(s=Math.max(s,r-e)),s>0&&i.splice(0,s),i}}class _{constructor(t,e){this.time=t,this.value=e}}},55959:function(t,e,n){"use strict";n.d(e,{Yc:function(){return c},xQ:function(){return u}});var i=n(48318),r=n(96673),s=n(87570),o=n(13895),a=n(19291),l=n(55331);class c extends r.L{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.N;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].next(t)}}error(t){if(this.closed)throw new o.N;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;r<n;r++)i[r].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.N;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.N;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.N;return this.hasError?(t.error(this.thrownError),s.w.EMPTY):this.isStopped?(t.complete(),s.w.EMPTY):(this.observers.push(t),new a.W(this,t))}asObservable(){const t=new i.y;return t.source=this,t}}return t.create=(t,e)=>new h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):s.w.EMPTY}}},19291:function(t,e,n){"use strict";n.d(e,{W:function(){return r}});var i=n(87570);class r extends i.w{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},96673:function(t,e,n){"use strict";n.d(e,{L:function(){return c}});var i=n(85024),r=n(57498),s=n(87570),o=n(55331),a=n(51484),l=n(14294);class c extends s.w{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.c;break;case 1:if(!t){this.destination=r.c;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[o.b](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends c{constructor(t,e,n,s){let o;super(),this._parentSubscriber=t;let a=this;(0,i.m)(e)?o=e:e&&(o=e.next,n=e.error,s=e.complete,e!==r.c&&(a=Object.create(e),(0,i.m)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.v;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,l.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,l.z)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(t,e,n){if(!a.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,l.z)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},87570:function(t,e,n){"use strict";n.d(e,{w:function(){return a}});var i=n(98470),r=n(82056),s=n(85024);const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:c,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if((0,s.m)(c)){a&&(this._unsubscribe=void 0);try{c.call(this)}catch(h){e=h instanceof o?l(h.errors):[h]}}if((0,i.k)(u)){let t=-1,n=u.length;for(;++t<n;){const n=u[t];if((0,r.K)(n))try{n.unsubscribe()}catch(h){e=e||[],h instanceof o?e=e.concat(l(h.errors)):e.push(h)}}}if(e)throw new o(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function l(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}},51484:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},36882:function(t,e,n){"use strict";n.d(e,{IY:function(){return o},Ds:function(){return a},ft:function(){return l}});var i=n(96673),r=n(48318),s=n(16015);class o extends i.L{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.L{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(e.closed)return;if(t instanceof r.y)return t.subscribe(e);let n;try{n=(0,s.s)(t)(e)}catch(i){e.error(i)}return n}},42875:function(t,e,n){"use strict";n.d(e,{c:function(){return a},N:function(){return l}});var i=n(55959),r=n(48318),s=n(87570),o=n(21564);class a extends r.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new s.w,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.w.EMPTY)),t}refCount(){return(0,o.x)()(this)}}const l=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class c extends i.Yc{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},3080:function(t,e,n){"use strict";n.d(e,{aj:function(){return p}});var i=n(76163),r=n(98470),s=n(96673);class o extends s.L{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class a extends s.L{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n(16015),c=n(48318);function u(t,e,n,i,r=new a(t,n,i)){if(!r.closed)return e instanceof c.y?e.subscribe(r):(0,l.s)(e)(r)}var h=n(99342);const d={};function p(...t){let e,n;return(0,i.K)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&(0,r.k)(t[0])&&(t=t[0]),(0,h.n)(t,n).lift(new f(e))}class f{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new m(t,this.resultSelector))}}class m extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(d),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++)this.add(u(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const i=this.values,r=this.toRespond?i[n]===d?--this.toRespond:this.toRespond:0;i[n]=e,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},47930:function(t,e,n){"use strict";n.d(e,{z:function(){return s}});var i=n(40878),r=n(97471);function s(...t){return(0,r.J)(1)((0,i.of)(...t))}},31450:function(t,e,n){"use strict";n.d(e,{P:function(){return o}});var i=n(48318),r=n(19764),s=n(34056);function o(t){return new i.y(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,r.D)(n):(0,s.c)()).subscribe(e)})}},34056:function(t,e,n){"use strict";n.d(e,{E:function(){return r},c:function(){return s}});var i=n(48318);const r=new i.y(t=>t.complete());function s(t){return t?function(t){return new i.y(e=>t.schedule(()=>e.complete()))}(t):r}},3148:function(t,e,n){"use strict";n.d(e,{D:function(){return l}});var i=n(48318),r=n(98470),s=n(79996),o=n(82056),a=n(19764);function l(...t){if(1===t.length){const e=t[0];if((0,r.k)(e))return c(e,null);if((0,o.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return c(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&(0,r.k)(t[0])?t[0]:t,null).pipe((0,s.U)(t=>e(...t)))}return c(t,null)}function c(t,e){return new i.y(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,o=0;for(let l=0;l<i;l++){const c=(0,a.D)(t[l]);let u=!1;n.add(c.subscribe({next:t=>{u||(u=!0,o++),r[l]=t},error:t=>n.error(t),complete:()=>{s++,s!==i&&u||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}},19764:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var i=n(48318),r=n(16015),s=n(87570),o=n(56197),a=n(62570),l=n(25686),c=n(5168),u=n(59653);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.L]}(t))return function(t,e){return new i.y(n=>{const i=new s.w;return i.add(e.schedule(()=>{const r=t[o.L]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if((0,c.t)(t))return function(t,e){return new i.y(n=>{const i=new s.w;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if((0,u.z)(t))return(0,a.r)(t,e);if(function(t){return t&&"function"==typeof t[l.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(n=>{const i=new s.w;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[l.hZ](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.y?t:new i.y((0,r.s)(t))}},99342:function(t,e,n){"use strict";n.d(e,{n:function(){return o}});var i=n(48318),r=n(30625),s=n(62570);function o(t,e){return e?(0,s.r)(t,e):new i.y((0,r.V)(t))}},87254:function(t,e,n){"use strict";n.d(e,{R:function(){return a}});var i=n(48318),r=n(98470),s=n(85024),o=n(79996);function a(t,e,n,c){return(0,s.m)(n)&&(c=n,n=void 0),c?a(t,e,n).pipe((0,o.U)(t=>(0,r.k)(t)?c(...t):c(t))):new i.y(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,r){let s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,r),s=()=>i.removeEventListener(e,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),s=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),s=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,o=t.length;s<o;s++)l(t[s],e,n,i,r)}i.add(s)}},31906:function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var i=n(48318),r=n(76163),s=n(97471),o=n(99342);function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return(0,r.K)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.y?t[0]:(0,s.J)(e)((0,o.n)(t,n))}},40878:function(t,e,n){"use strict";n.d(e,{of:function(){return o}});var i=n(76163),r=n(99342),s=n(62570);function o(...t){let e=t[t.length-1];return(0,i.K)(e)?(t.pop(),(0,s.r)(t,e)):(0,r.n)(t)}},31225:function(t,e,n){"use strict";n.d(e,{_:function(){return r}});var i=n(48318);function r(t,e){return new i.y(e?n=>e.schedule(s,0,{error:t,subscriber:n}):e=>e.error(t))}function s({error:t,subscriber:e}){e.error(t)}},81110:function(t,e,n){"use strict";n.d(e,{H:function(){return a}});var i=n(48318),r=n(48569),s=n(62293),o=n(76163);function a(t=0,e,n){let a=-1;return(0,s.k)(e)?a=Number(e)<1?1:Number(e):(0,o.K)(e)&&(n=e),(0,o.K)(n)||(n=r.P),new i.y(e=>{const i=(0,s.k)(t)?t:+t-n.now();return n.schedule(l,i,{index:0,period:a,subscriber:e})})}function l(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},30810:function(t,e,n){"use strict";n.d(e,{e:function(){return l}});var i=n(48569),r=n(36882);class s{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends r.Ds{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=(0,r.ft)(n,new r.IY(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n(81110);function l(t,e=i.P){return n=()=>(0,a.H)(t,e),function(t){return t.lift(new s(n))};var n}},47727:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var i=n(36882);function r(t){return function(e){const n=new s(t),i=e.lift(n);return n.caught=i}}class s{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends i.Ds{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new i.IY(this);this.add(r);const s=(0,i.ft)(n,r);s!==r&&this.add(s)}}}},436:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(73982);function r(t,e){return(0,i.zg)(t,e,1)}},47701:function(t,e,n){"use strict";n.d(e,{b:function(){return s}});var i=n(96673),r=n(48569);function s(t,e=r.P){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends i.L{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},82628:function(t,e,n){"use strict";n.d(e,{g:function(){return o}});var i=n(48569),r=n(96673),s=n(3103);function o(t,e=i.P){var n;const r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new a(r,e))}class a{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}class l extends r.L{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(s.P.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(s.P.createComplete()),this.unsubscribe()}}class c{constructor(t,e){this.time=t,this.notification=e}}},98720:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(96673);function r(t,e){return n=>n.lift(new s(t,e))}class s{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.L{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},43835:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});var i=n(96673);function r(t,e){return function(n){return n.lift(new s(t,e))}}class s{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.L{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},11520:function(t,e,n){"use strict";n.d(e,{x:function(){return s}});var i=n(96673),r=n(87570);function s(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends i.L{constructor(t,e){super(t),this.add(new r.w(e))}}},79996:function(t,e,n){"use strict";n.d(e,{U:function(){return r}});var i=n(96673);function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}class s{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.L{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},97471:function(t,e,n){"use strict";n.d(e,{J:function(){return s}});var i=n(73982),r=n(13392);function s(t=Number.POSITIVE_INFINITY){return(0,i.zg)(r.y,t)}},73982:function(t,e,n){"use strict";n.d(e,{zg:function(){return o}});var i=n(79996),r=n(19764),s=n(36882);function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(o((n,s)=>(0,r.D)(t(n,s)).pipe((0,i.U)((t,i)=>e(n,t,s,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends s.Ds{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}_innerSub(t){const e=new s.IY(this),n=this.destination;n.add(e);const i=(0,s.ft)(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},62855:function(t,e,n){"use strict";n.d(e,{G:function(){return r}});var i=n(96673);function r(){return t=>t.lift(new s)}class s{call(t,e){return e.subscribe(new o(t))}}class o extends i.L{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}},21564:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(96673);function r(){return function(t){return t.lift(new s(t))}}class s{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new o(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class o extends i.L{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}},1055:function(t,e,n){"use strict";n.d(e,{B:function(){return a}});var i=n(42875),r=n(21564),s=n(55959);function o(){return new s.xQ}function a(){return t=>{return(0,r.x)()((e=o,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,i.N);return r.source=t,r.subjectFactory=n,r})(t));var e}}},84698:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var i=n(96673);function r(t){return e=>e.lift(new s(t))}class s{constructor(t){this.total=t}call(t,e){return e.subscribe(new o(t,this.total))}}class o extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},56238:function(t,e,n){"use strict";n.d(e,{O:function(){return s}});var i=n(47930),r=n(76163);function s(...t){const e=t[t.length-1];return(0,r.K)(e)?(t.pop(),n=>(0,i.z)(t,n,e)):e=>(0,i.z)(t,e)}},44689:function(t,e,n){"use strict";n.d(e,{w:function(){return o}});var i=n(79996),r=n(19764),s=n(36882);function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,s)=>(0,r.D)(t(n,s)).pipe((0,i.U)((t,i)=>e(n,t,s,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends s.Ds{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new s.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,s.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},90611:function(t,e,n){"use strict";n.d(e,{q:function(){return o}});var i=n(96673),r=n(98402),s=n(34056);function o(t){return e=>0===t?(0,s.c)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new r.W}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.L{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},25416:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});var i=n(36882);function r(t){return e=>e.lift(new s(t))}class s{constructor(t){this.notifier=t}call(t,e){const n=new o(t),r=(0,i.ft)(this.notifier,new i.IY(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class o extends i.Ds{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},33982:function(t,e,n){"use strict";n.d(e,{o:function(){return r}});var i=n(96673);function r(t,e=!1){return n=>n.lift(new s(t,e))}class s{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.inclusive))}}class o extends i.L{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}},66599:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(96673);function r(){}var s=n(85024);function o(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.L{constructor(t,e,n,i){super(t),this._tapNext=r,this._tapError=r,this._tapComplete=r,this._tapError=n||r,this._tapComplete=i||r,(0,s.m)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r,this._tapError=e.error||r,this._tapComplete=e.complete||r)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},62570:function(t,e,n){"use strict";n.d(e,{r:function(){return s}});var i=n(48318),r=n(87570);function s(t,e){return new i.y(n=>{const i=new r.w;let s=0;return i.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},8277:function(t,e,n){"use strict";n.d(e,{o:function(){return s}});var i=n(87570);class r extends i.w{constructor(t,e){super()}schedule(t,e=0){return this}}class s extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},91098:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},91741:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var i=n(8277);class r extends i.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var s=n(91098);class o extends s.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<r&&(t=e.shift()));if(this.active=!1,n){for(;++i<r&&(t=e.shift());)t.unsubscribe();throw n}}}const a=new o(r)},92709:function(t,e,n){"use strict";n.d(e,{E:function(){return d}});let i=1;const r=(()=>Promise.resolve())(),s={};function o(t){return t in s&&(delete s[t],!0)}const a={setImmediate(t){const e=i++;return s[e]=!0,r.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var l=n(8277);class c extends l.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}}var u=n(91098);class h extends u.v{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i<r&&(t=e.shift()));if(this.active=!1,n){for(;++i<r&&(t=e.shift());)t.unsubscribe();throw n}}}const d=new h(c)},48569:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var i=n(8277);const r=new(n(91098).v)(i.o)},25686:function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,{hZ:function(){return r}});const r=i()},56197:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},55331:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},98402:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},13895:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},14294:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,{z:function(){return i}})},13392:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},98470:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});const i=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},59653:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},85024:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},62293:function(t,e,n){"use strict";n.d(e,{k:function(){return r}});var i=n(98470);function r(t){return!(0,i.k)(t)&&t-parseFloat(t)+1>=0}},82056:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},4710:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(48318);function r(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},5168:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},76163:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},16015:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var i=n(30625),r=n(14294),s=n(25686),o=n(56197),a=n(59653),l=n(5168),c=n(82056);const u=t=>{if(t&&"function"==typeof t[o.L])return u=t,t=>{const e=u[o.L]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,a.z)(t))return(0,i.V)(t);if((0,l.t)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r.z),t);if(t&&"function"==typeof t[s.hZ])return e=t,t=>{const n=e[s.hZ]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=(0,c.K)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,u}},30625:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});const i=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}},70372:function(t){var e;t.exports=(e=function(){var t=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014c":"O","\u014d":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u018f":"E","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u0259":"e","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2013":"-","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u201e":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20ba":"turkish lira","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial"}'),e=JSON.parse('{"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221e":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","\u20a3":"francos","\u2211":"suma","\u221e":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","\u20a3":"franc","\u2211":"somme","\u221e":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","\u2211":"soma","\xa3":"libra","\u221e":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"}}');function n(n,i){if("string"!=typeof n)throw new Error("slugify: string argument expected");var r=e[(i="string"==typeof i?{replacement:i}:i||{}).locale]||{},s=void 0===i.replacement?"-":i.replacement,o=n.normalize().split("").reduce(function(e,n){return e+(r[n]||t[n]||(n===s?" ":n)).replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(o=o.replace(/[^A-Za-z0-9\s]/g,"")),o=o.trim().replace(/\s+/g,s),i.lower&&(o=o.toLowerCase()),o}return n.extend=function(e){Object.assign(t,e)},n})(),t.exports.default=e()},97617:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const r=n(39267),s=i(n(15087));e.default=class extends s.default{constructor(t,e){super(t),this.type="album",this.id=e}static is(t){return Boolean(t&&"album"===t.type)}toURI(){return`spotify:${this.type}:${r.encode(this.id)}`}toURL(){return`/${this.type}/${r.encode(this.id)}`}}},72910:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const r=n(39267),s=i(n(15087));e.default=class extends s.default{constructor(t,e){super(t),this.type="artist",this.id=e}static is(t){return Boolean(t&&"artist"===t.type)}toURI(){return`spotify:${this.type}:${r.encode(this.id)}`}toURL(){return`/${this.type}/${r.encode(this.id)}`}}},97490:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const r=n(39267),s=i(n(15087));e.default=class extends s.default{constructor(t,e){super(t),this.type="episode",this.id=e}static is(t){return Boolean(t&&"episode"===t.type)}toURI(){return`spotify:${this.type}:${r.encode(this.id)}`}toURL(){return`/${this.type}/${r.encode(this.id)}`}}},70110:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};const r=i(n(62607)),s=i(n(35680)),o=i(n(14099)),a=i(n(58474)),l=i(n(72910)),c=i(n(97617)),u=i(n(37014)),h=i(n(10484)),d=i(n(15087));function p(t){return r.default(t)}!function(t){t.SpotifyUri=d.default,t.Local=o.default,t.Search=s.default,t.Playlist=a.default,t.Artist=l.default,t.Album=c.default,t.Track=u.default,t.User=h.default,t.parse=r.default,t.formatURI=function(e){return("string"==typeof e?t.parse(e):e).toURI()},t.formatEmbedURL=function(e){return("string"==typeof e?t.parse(e):e).toEmbedURL()},t.formatOpenURL=function(e){return("string"==typeof e?t.parse(e):e).toOpenURL()},t.formatPlayURL=function(e){return("string"==typeof e?t.parse(e):e).toPlayURL()}}(p||(p={})),t.exports=p},14099:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const r=n(39267),s=i(n(15087));e.default=class extends s.default{constructor(t,e,n,i,r){super(t),this.type="local",this.artist=e,this.album=n,this.track=i,this.seconds=r}static is(t){return Boolean(t&&"local"===t.type)}toURI(){return`spotify:local:${r.encode(this.artist)}:${r.encode(this.album)}:${r.encode(this.track)}:${this.seconds}`}toURL(){return`/local/${r.encode(this.artist)}/${r.encode(this.album)}/${r.encode(this.track)}/${this.seconds}`}}},62607:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const r=i(n(74476)),s=i(n(96577)),o=i(n(14099)),a=i(n(35680)),l=i(n(58474)),c=i(n(72910)),u=i(n(97617)),h=i(n(37014)),d=i(n(97490)),p=i(n(41485)),f=i(n(10484)),m=i(n(15087)),g=n(39267);function _(t,e){const n=e.length;if("embed"===e[1]&&(e=e.slice(1)),"search"===e[1])return new a.default(t,g.decode(e.slice(2).join(":")));if(n>=3&&"local"===e[1])return new o.default(t,g.decode(e[2]),g.decode(e[3]),g.decode(e[4]),+e[5]);if(3===n&&"playlist"===e[1])return new l.default(t,g.decode(e[2]));if(3===n&&"user"===e[1])return new f.default(t,g.decode(e[2]));if(n>=5)return new l.default(t,g.decode(e[4]),g.decode(e[2]));if(n>=4&&"starred"===e[3])return new l.default(t,"starred",g.decode(e[2]));if("artist"===e[1])return new c.default(t,e[2]);if("album"===e[1])return new u.default(t,e[2]);if("track"===e[1])return new h.default(t,e[2]);if("episode"===e[1])return new d.default(t,e[2]);if("show"===e[1])return new p.default(t,e[2]);throw new TypeError(`Could not determine type for: ${t}`)}e.default=function t(e){const n=m.default.is(e)?e.uri:e,{protocol:i,hostname:o,pathname:a="/",query:l=""}=r.default.parse(n);if("embed.spotify.com"===o){const e=s.default.parse(l||"");if("string"!=typeof e.uri)throw new Error("fo");return t(e.uri)}if("spotify:"===i){const t=n.split(":");return _(n,t)}if(null===a)throw new TypeError("No pathname");return _(n,a.split("/"))}},58474:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const r=n(39267),s=i(n(15087));e.default=class extends s.default{constructor(t,e,n){super(t),this.type="playlist",this.id=e,"string"==typeof n&&(this.user=n)}static is(t){return Boolean(t&&"playlist"===t.type)}toURI(){return this.user?"starred"===this.id?`spotify:user:${r.encode(this.user)}:${r.encode(this.id)}`:`spotify:user:${r.encode(this.user)}:playlist:${r.encode(this.id)}`:`spotify:playlist:${r.encode(this.id)}`}toURL(){return this.user?"starred"===this.id?`/user/${r.encode(this.user)}/${r.encode(this.id)}`:`/user/${r.encode(this.user)}/playlist/${r.encode(this.id)}`:`/playlist/${r.encode(this.id)}`}}},35680:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const r=n(39267),s=i(n(15087));e.default=class extends s.default{constructor(t,e){super(t),this.type="search",this.query=e}static is(t){return Boolean(t&&"search"===t.type)}toURI(){return`spotify:search:${r.encode(this.query)}`}toURL(){return`/search/${r.encode(this.query)}`}}},41485:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const r=n(39267),s=i(n(15087));e.default=class extends s.default{constructor(t,e){super(t),this.type="show",this.id=e}static is(t){return Boolean(t&&"show"===t.type)}toURI(){return`spotify:${this.type}:${r.encode(this.id)}`}toURL(){return`/${this.type}/${r.encode(this.id)}`}}},15087:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=class{constructor(t){this.uri=t}static is(t){return Boolean(t&&"string"==typeof t.uri)}toEmbedURL(){return`https://embed.spotify.com/?uri=${this.toURI()}`}toOpenURL(){return`http://open.spotify.com${this.toURL()}`}toPlayURL(){return`https://play.spotify.com${this.toURL()}`}}},37014:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const r=n(39267),s=i(n(15087));e.default=class extends s.default{constructor(t,e){super(t),this.type="track",this.id=e}static is(t){return Boolean(t&&"track"===t.type)}toURI(){return`spotify:${this.type}:${r.encode(this.id)}`}toURL(){return`/${this.type}/${r.encode(this.id)}`}}},10484:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});const r=n(39267),s=i(n(15087));e.default=class extends s.default{constructor(t,e){super(t),this.type="user",this.user=e}static is(t){return Boolean(t&&"user"===t.type)}toURI(){return`spotify:${this.type}:${r.encode(this.user)}`}toURL(){return`/${this.type}/${r.encode(this.user)}`}}},39267:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encode=e.decode=void 0,e.decode=function(t){return decodeURIComponent(t).replace(/\+/g," ")},e.encode=function(t){return escape(t.replace(/ /g,"+"))}},3990:function(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],i=0;i<t.rangeCount;i++)n.push(t.getRangeAt(i));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEach(function(e){t.addRange(e)}),e&&e.focus()}}},8839:function(t,e,n){"use strict";const i=n(49833),r=n(64327);t.exports=t=>{const e=`(?:${"(?:(?:[a-z]+:)?//)"+((t={strict:!0,...t}).strict?"":"?")}|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|${i.v4().source}|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.${t.strict?"(?:[a-z\\u00a1-\\uffff]{2,})":`(?:${r.sort((t,e)=>e.length-t.length).join("|")})`})\\.?)(?::\\d{2,5})?(?:[/?#][^\\s"]*)?`;return t.exact?new RegExp(`(?:^${e}$)`,"i"):new RegExp(e,"ig")}},62442:function(t,e,n){var i;t=n.nmd(t),function(r){"object"==typeof global&&global;var s,o=2147483647,a=/^xn--/,l=/[^\x20-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,d=String.fromCharCode;function p(t){throw RangeError(u[t])}function f(t,e){for(var n=t.length,i=[];n--;)i[n]=e(t[n]);return i}function m(t,e){var n=t.split("@"),i="";return n.length>1&&(i=n[0]+"@",t=n[1]),i+f((t=t.replace(c,".")).split("."),e).join(".")}function g(t){for(var e,n,i=[],r=0,s=t.length;r<s;)(e=t.charCodeAt(r++))>=55296&&e<=56319&&r<s?56320==(64512&(n=t.charCodeAt(r++)))?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),r--):i.push(e);return i}function _(t){return f(t,function(t){var e="";return t>65535&&(e+=d((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+d(t)}).join("")}function b(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function v(t,e,n){var i=0;for(t=n?h(t/700):t>>1,t+=h(t/e);t>455;i+=36)t=h(t/35);return h(i+36*t/(t+38))}function y(t){var e,n,i,r,s,a,l,c,u,d,f,m=[],g=t.length,b=0,y=128,w=72;for((n=t.lastIndexOf("-"))<0&&(n=0),i=0;i<n;++i)t.charCodeAt(i)>=128&&p("not-basic"),m.push(t.charCodeAt(i));for(r=n>0?n+1:0;r<g;){for(s=b,a=1,l=36;r>=g&&p("invalid-input"),((c=(f=t.charCodeAt(r++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||c>h((o-b)/a))&&p("overflow"),b+=c*a,!(c<(u=l<=w?1:l>=w+26?26:l-w));l+=36)a>h(o/(d=36-u))&&p("overflow"),a*=d;w=v(b-s,e=m.length+1,0==s),h(b/e)>o-y&&p("overflow"),y+=h(b/e),b%=e,m.splice(b++,0,y)}return _(m)}function w(t){var e,n,i,r,s,a,l,c,u,f,m,_,y,w,x,C=[];for(_=(t=g(t)).length,e=128,n=0,s=72,a=0;a<_;++a)(m=t[a])<128&&C.push(d(m));for(i=r=C.length,r&&C.push("-");i<_;){for(l=o,a=0;a<_;++a)(m=t[a])>=e&&m<l&&(l=m);for(l-e>h((o-n)/(y=i+1))&&p("overflow"),n+=(l-e)*y,e=l,a=0;a<_;++a)if((m=t[a])<e&&++n>o&&p("overflow"),m==e){for(c=n,u=36;!(c<(f=u<=s?1:u>=s+26?26:u-s));u+=36)C.push(d(b(f+(x=c-f)%(w=36-f),0))),c=h(x/w);C.push(d(b(c,0))),s=v(n,y,i==r),n=0,++i}++n,++e}return C.join("")}s={version:"1.3.2",ucs2:{decode:g,encode:_},decode:y,encode:w,toASCII:function(t){return m(t,function(t){return l.test(t)?"xn--"+w(t):t})},toUnicode:function(t){return m(t,function(t){return a.test(t)?y(t.slice(4).toLowerCase()):t})}},void 0===(i=(function(){return s}).call(e,n,e,t))||(t.exports=i)}()},74476:function(t,e,n){"use strict";var i=n(62442),r=n(85487);function s(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=v,e.resolve=function(t,e){return v(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?v(t,!1,!0).resolveObject(e):e},e.format=function(t){return r.isString(t)&&(t=v(t)),t instanceof s?t.format():s.prototype.format.call(t)},e.Url=s;var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),h=["%","/","?",";","#"].concat(u),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n(96577);function v(t,e,n){if(t&&r.isObject(t)&&t instanceof s)return t;var i=new s;return i.parse(t,e,n),i}s.prototype.parse=function(t,e,n){if(!r.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var s=t.indexOf("?"),a=-1!==s&&s<t.indexOf("#")?"?":"#",c=t.split(a);c[0]=c[0].replace(/\\/g,"/");var v=t=c.join(a);if(v=v.trim(),!n&&1===t.split("#").length){var y=l.exec(v);if(y)return this.path=v,this.href=v,this.pathname=y[1],y[2]?(this.search=y[2],this.query=e?b.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var w=o.exec(v);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,v=v.substr(w.length)}if(n||w||v.match(/^\/\/[^@\/]+@[^@\/]+/)){var C="//"===v.substr(0,2);!C||w&&g[w]||(v=v.substr(2),this.slashes=!0)}if(!g[w]&&(C||w&&!_[w])){for(var k,A,E=-1,S=0;S<d.length;S++)-1!==(O=v.indexOf(d[S]))&&(-1===E||O<E)&&(E=O);for(-1!==(A=-1===E?v.lastIndexOf("@"):v.lastIndexOf("@",E))&&(k=v.slice(0,A),v=v.slice(A+1),this.auth=decodeURIComponent(k)),E=-1,S=0;S<h.length;S++){var O;-1!==(O=v.indexOf(h[S]))&&(-1===E||O<E)&&(E=O)}-1===E&&(E=v.length),this.host=v.slice(0,E),v=v.slice(E),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var I=this.hostname.split(/\./),D=(S=0,I.length);S<D;S++){var P=I[S];if(P&&!P.match(p)){for(var F="",M=0,R=P.length;M<R;M++)P.charCodeAt(M)>127?F+="x":F+=P[M];if(!F.match(p)){var L=I.slice(0,S),Z=I.slice(S+1),N=P.match(f);N&&(L.push(N[1]),Z.unshift(N[2])),Z.length&&(v="/"+Z.join(".")+v),this.hostname=L.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),T||(this.hostname=i.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!m[x])for(S=0,D=u.length;S<D;S++){var B=u[S];if(-1!==v.indexOf(B)){var U=encodeURIComponent(B);U===B&&(U=escape(B)),v=v.split(B).join(U)}}var q=v.indexOf("#");-1!==q&&(this.hash=v.substr(q),v=v.slice(0,q));var z=v.indexOf("?");return-1!==z?(this.search=v.substr(z),this.query=v.substr(z+1),e&&(this.query=b.parse(this.query)),v=v.slice(0,z)):e&&(this.search="",this.query={}),v&&(this.pathname=v),_[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},s.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",i=this.hash||"",s=!1,o="";this.host?s=t+this.host:this.hostname&&(s=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(s+=":"+this.port)),this.query&&r.isObject(this.query)&&Object.keys(this.query).length&&(o=b.stringify(this.query));var a=this.search||o&&"?"+o||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||_[e])&&!1!==s?(s="//"+(s||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):s||(s=""),i&&"#"!==i.charAt(0)&&(i="#"+i),a&&"?"!==a.charAt(0)&&(a="?"+a),e+s+(n=n.replace(/[?#]/g,function(t){return encodeURIComponent(t)}))+(a=a.replace("#","%23"))+i},s.prototype.resolve=function(t){return this.resolveObject(v(t,!1,!0)).format()},s.prototype.resolveObject=function(t){if(r.isString(t)){var e=new s;e.parse(t,!1,!0),t=e}for(var n=new s,i=Object.keys(this),o=0;o<i.length;o++){var a=i[o];n[a]=this[a]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var l=Object.keys(t),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=t[u])}return _[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!_[t.protocol]){for(var h=Object.keys(t),d=0;d<h.length;d++){var p=h[d];n[p]=t[p]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||g[t.protocol])n.pathname=t.pathname;else{for(var f=(t.pathname||"").split("/");f.length&&!(t.host=f.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.join("/")}return n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,(n.pathname||n.search)&&(n.path=(n.pathname||"")+(n.search||"")),n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var m=n.pathname&&"/"===n.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),v=b||m||n.host&&t.pathname,y=v,w=n.pathname&&n.pathname.split("/")||[],x=(f=t.pathname&&t.pathname.split("/")||[],n.protocol&&!_[n.protocol]);if(x&&(n.hostname="",n.port=null,n.host&&(""===w[0]?w[0]=n.host:w.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===f[0]?f[0]=t.host:f.unshift(t.host)),t.host=null),v=v&&(""===f[0]||""===w[0])),b)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,w=f;else if(f.length)w||(w=[]),w.pop(),w=w.concat(f),n.search=t.search,n.query=t.query;else if(!r.isNullOrUndefined(t.search))return x&&(n.hostname=n.host=w.shift(),(S=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=S.shift(),n.host=n.hostname=S.shift())),n.search=t.search,n.query=t.query,r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!w.length)return n.pathname=null,n.path=n.search?"/"+n.search:null,n.href=n.format(),n;for(var C=w.slice(-1)[0],k=(n.host||t.host||w.length>1)&&("."===C||".."===C)||""===C,A=0,E=w.length;E>=0;E--)"."===(C=w[E])?w.splice(E,1):".."===C?(w.splice(E,1),A++):A&&(w.splice(E,1),A--);if(!v&&!y)for(;A--;A)w.unshift("..");!v||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),k&&"/"!==w.join("/").substr(-1)&&w.push("");var S,O=""===w[0]||w[0]&&"/"===w[0].charAt(0);return x&&(n.hostname=n.host=O?"":w.length?w.shift():"",(S=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=S.shift(),n.host=n.hostname=S.shift())),(v=v||n.host&&w.length)&&!O&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),r.isNull(n.pathname)&&r.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},s.prototype.parseHost=function(){var t=this.host,e=a.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},85487:function(t){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},48865:function(t,e,n){"use strict";n.d(e,{W:function(){return o}});var i=n(63337),r=n(43835),s=n(35366);let o=(()=>{class t{constructor(t){this.router=t,this.router.events.pipe((0,r.h)(t=>t instanceof i.m2)).subscribe(t=>{this.dashboard=t.urlAfterRedirects.startsWith("/dashboard"),this.admin=t.urlAfterRedirects.startsWith("/admin")})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.F0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},24637:function(t,e,n){"use strict";n.d(e,{v:function(){return N}});var i=n(70110),r=n(10487),s=n(35366),o=n(99624),a=n(88195),l=n(78733),c=n(58901),u=n(39404),h=n(61116),d=n(84369),p=n(62181);function f(t,e){if(1&t&&s._UZ(0,"image-or-icon",8),2&t){const t=s.oxw(2);s.Q6J("src",t.link.image)}}function m(t,e){if(1&t&&(s.TgZ(0,"a",5),s.YNc(1,f,1,1,"image-or-icon",6),s.TgZ(2,"div",7),s._uU(3),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.Udp("background-color",null==t.style?null:t.style.color),s.Q6J("href",t.link.short_url,s.LSH)("ngClass",null==t.style?null:t.style.variant),s.xp6(1),s.Q6J("ngIf",t.link.image),s.xp6(2),s.Oqu(t.link.name)}}function g(t,e){if(1&t&&s._UZ(0,"image-or-icon",8),2&t){const t=s.oxw(2);s.Q6J("src",t.link.image)}}function _(t,e){if(1&t&&(s.TgZ(0,"a",9),s.YNc(1,g,1,1,"image-or-icon",6),s.TgZ(2,"div",7),s._uU(3),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.Udp("background-color",null==t.style?null:t.style.color),s.Q6J("href",t.link.short_url,s.LSH)("ngClass",null==t.style?null:t.style.variant),s.xp6(1),s.Q6J("ngIf",t.link.image),s.xp6(2),s.Oqu(t.link.name)}}function b(t,e){if(1&t&&s._UZ(0,"image-or-icon",8),2&t){const t=s.oxw(2);s.Q6J("src",t.link.image)}}function v(t,e){if(1&t&&(s.TgZ(0,"a",10),s.YNc(1,b,1,1,"image-or-icon",6),s.TgZ(2,"div",7),s._uU(3),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.Udp("background-color",null==t.style?null:t.style.color),s.Q6J("href",t.link.short_url,s.LSH)("ngClass",null==t.style?null:t.style.variant),s.xp6(1),s.Q6J("ngIf",t.link.image),s.xp6(2),s.Oqu(t.link.name)}}function y(t,e){if(1&t&&s._UZ(0,"image-or-icon",8),2&t){const t=s.oxw(2);s.Q6J("src",t.link.image)}}function w(t,e){if(1&t&&(s.TgZ(0,"a",11),s.YNc(1,y,1,1,"image-or-icon",6),s.TgZ(2,"div",7),s._uU(3),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.Udp("background-color",null==t.style?null:t.style.color),s.Q6J("href",t.link.short_url,s.LSH)("ngClass",null==t.style?null:t.style.variant),s.xp6(1),s.Q6J("ngIf",t.link.image),s.xp6(2),s.Oqu(t.link.name)}}let x=(()=>{class t{constructor(t,e){this.cd=t,this.el=e}get hasAnimation(){var t;return null===(t=this.link)||void 0===t?void 0:t.animation}get hasImage(){var t;return null===(t=this.link)||void 0===t?void 0:t.image}ngOnChanges(){this.toggleAnimationClass(),this.cd.markForCheck()}toggleAnimationClass(){if(this.link.animation)this.el.nativeElement.classList.add(`animate__${this.link.animation}`,"animate__repeat-1");else{const t=Array.from(this.el.nativeElement.classList).filter(t=>t.startsWith("animate__"));t.length&&this.el.nativeElement.classList.remove(...t)}}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(s.sBO),s.Y36(s.SBq))},t.\u0275cmp=s.Xpm({type:t,selectors:[["biolink-page-button"]],hostVars:4,hostBindings:function(t,e){2&t&&s.ekj("animate__animated",e.hasAnimation)("has-image",e.hasImage)},inputs:{link:"link",style:"style"},features:[s.TTD],decls:5,vars:4,consts:[[3,"ngSwitch"],["target","_blank","mat-button","","color","accent",3,"href","ngClass","background-color",4,"ngSwitchCase"],["target","_blank","mat-stroked-button","","color","accent",3,"href","ngClass","background-color",4,"ngSwitchCase"],["target","_blank","mat-flat-button","","color","accent",3,"href","ngClass","background-color",4,"ngSwitchCase"],["target","_blank","mat-raised-button","","color","accent",3,"href","ngClass","background-color",4,"ngSwitchDefault"],["target","_blank","mat-button","","color","accent",3,"href","ngClass"],["class","inherit-size",3,"src",4,"ngIf"],[1,"content"],[1,"inherit-size",3,"src"],["target","_blank","mat-stroked-button","","color","accent",3,"href","ngClass"],["target","_blank","mat-flat-button","","color","accent",3,"href","ngClass"],["target","_blank","mat-raised-button","","color","accent",3,"href","ngClass"]],template:function(t,e){1&t&&(s.ynx(0,0),s.YNc(1,m,4,6,"a",1),s.YNc(2,_,4,6,"a",2),s.YNc(3,v,4,6,"a",3),s.YNc(4,w,4,6,"a",4),s.BQk()),2&t&&(s.Q6J("ngSwitch",null==e.style?null:e.style.type),s.xp6(1),s.Q6J("ngSwitchCase","basic"),s.xp6(1),s.Q6J("ngSwitchCase","stroked"),s.xp6(1),s.Q6J("ngSwitchCase","flat"))},directives:[h.RF,h.n9,h.ED,d.zs,h.mk,h.O5,p.A],styles:["[_nghost-%COMP%]{display:block;margin-bottom:15px;--animate-repeat:5}.has-image[_nghost-%COMP%]   a[_ngcontent-%COMP%]{padding-left:54px;padding-right:54px}a[_ngcontent-%COMP%]{position:relative;width:100%;min-height:55px;line-height:1.5;font-family:inherit;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;white-space:normal;padding:16px 20px}.square[_ngcontent-%COMP%]{border-radius:0}.pill[_ngcontent-%COMP%]{border-radius:30px}image-or-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:8px;transform:translateY(-50%);pointer-events:none;width:42px;height:42px;border-radius:4px;overflow:hidden}"],changeDetection:0}),t})();var C=n(29476);function k(t,e){if(1&t&&s._UZ(0,"biolink-page-button",13),2&t){const t=s.oxw(2).$implicit,e=s.oxw(2);s.Akn(null==e.dynamicOrStoredAppearance?null:e.dynamicOrStoredAppearance.btnConfig),s.Q6J("link",t)}}function A(t,e){if(1&t&&(s.TgZ(0,"div",14),s._UZ(1,"social-button-list",15),s.qZA()),2&t){const t=s.oxw(2).$implicit;s.xp6(1),s.Q6J("config",t.config)}}function E(t,e){if(1&t&&(s.TgZ(0,"div",16),s.TgZ(1,"a",17),s._UZ(2,"image-or-icon",18),s.qZA(),s.qZA()),2&t){const t=s.oxw(2).$implicit;s.Q6J("ngClass",t.config.type),s.xp6(1),s.Q6J("href",t.config.destinationUrl,s.LSH),s.xp6(1),s.Q6J("src",t.config.url)}}function S(t,e){if(1&t&&(s.TgZ(0,"p",22),s._uU(1),s.qZA()),2&t){const t=s.oxw(3).$implicit;s.xp6(1),s.Oqu(t.config.description)}}function O(t,e){if(1&t&&(s.TgZ(0,"div",19),s.TgZ(1,"h2",20),s._uU(2),s.qZA(),s.YNc(3,S,2,1,"p",21),s.qZA()),2&t){const t=s.oxw(2).$implicit;s.xp6(2),s.Oqu(t.config.title),s.xp6(1),s.Q6J("ngIf",t.config.description)}}function T(t,e){if(1&t&&(s.TgZ(0,"div",23),s._UZ(1,"iframe",24),s.qZA()),2&t){const t=s.oxw(2).$implicit,e=s.oxw(2);s.xp6(1),s.Q6J("src",e.trustUrl("https://www.youtube.com/embed/"+e.getVimeoEmbedId(t.config.url)),s.uOi)}}function I(t,e){if(1&t&&s._UZ(0,"div",25),2&t){const t=s.oxw(2).$implicit,e=s.oxw(2);s.Q6J("innerHTML",e.trustHtml(t.config.embedCode),s.oJD)}}function D(t,e){if(1&t&&(s.TgZ(0,"div",23),s._UZ(1,"iframe",26),s.qZA()),2&t){const t=s.oxw(2).$implicit,e=s.oxw(2);s.xp6(1),s.Q6J("src",e.trustUrl("https://player.vimeo.com/video/"+e.getVimeoEmbedId(t.config.url)),s.uOi)}}function P(t,e){if(1&t&&(s.TgZ(0,"div",27),s._UZ(1,"iframe",26),s.qZA()),2&t){const t=s.oxw(2).$implicit,e=s.oxw(2);s.xp6(1),s.Q6J("src",e.getSpotifyEmbedUrl(t.config.url),s.uOi)}}function F(t,e){if(1&t&&(s.TgZ(0,"div",28),s._UZ(1,"iframe",26),s.qZA()),2&t){const t=s.oxw(2).$implicit,e=s.oxw(2);s.xp6(1),s.Q6J("src",e.getTwitchEmbedUrl(t.config.url),s.uOi)}}function M(t,e){if(1&t&&(s.TgZ(0,"div",29),s.TgZ(1,"blockquote",30),s.TgZ(2,"section"),s._UZ(3,"img",31),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.oxw(2).$implicit,e=s.oxw(2);s.xp6(1),s.uIk("data-video-id",e.getTiktokVideoId(t.config.url)),s.xp6(2),s.Q6J("src",e.settings.getAssetUrl("widgets/tiktok.png"),s.LSH)}}function R(t,e){if(1&t&&(s.ynx(0),s.YNc(1,k,1,3,"biolink-page-button",3),s.ynx(2,4),s.YNc(3,A,2,1,"div",5),s.YNc(4,E,3,3,"div",6),s.YNc(5,O,4,2,"div",7),s.YNc(6,T,2,1,"div",8),s.YNc(7,I,1,1,"div",9),s.YNc(8,D,2,1,"div",8),s.YNc(9,P,2,1,"div",10),s.YNc(10,F,2,1,"div",11),s.YNc(11,M,4,2,"div",12),s.BQk(),s.BQk()),2&t){const t=s.oxw().$implicit;s.xp6(1),s.Q6J("ngIf","link"===t.model_type),s.xp6(1),s.Q6J("ngSwitch",t.type),s.xp6(1),s.Q6J("ngSwitchCase","socials"),s.xp6(1),s.Q6J("ngSwitchCase","image"),s.xp6(1),s.Q6J("ngSwitchCase","text"),s.xp6(1),s.Q6J("ngSwitchCase","youtubeEmbed"),s.xp6(1),s.Q6J("ngSwitchCase","soundcloudEmbed"),s.xp6(1),s.Q6J("ngSwitchCase","vimeoEmbed"),s.xp6(1),s.Q6J("ngSwitchCase","spotifyEmbed"),s.xp6(1),s.Q6J("ngSwitchCase","twitchEmbed"),s.xp6(1),s.Q6J("ngSwitchCase","tiktokEmbed")}}function L(t,e){if(1&t&&(s.ynx(0),s.YNc(1,R,12,11,"ng-container",0),s.BQk()),2&t){const t=e.$implicit;s.xp6(1),s.Q6J("ngIf",t.active)}}function Z(t,e){if(1&t&&(s.ynx(0),s.TgZ(1,"div",1),s.YNc(2,L,2,1,"ng-container",2),s.qZA(),s.BQk()),2&t){const t=s.oxw();s.xp6(2),s.Q6J("ngForOf",t.biolink.content)}}let N=(()=>{class t{constructor(t,e,n,i,r,s){this.sanitizer=t,this.settings=e,this.lazyLoader=n,this.el=i,this.bgUrlPipe=r,this.googleFonts=s,this.originalOrder=()=>0}get dynamicOrStoredAppearance(){var t;return this.appearance||(null===(t=this.biolink.appearance)||void 0===t?void 0:t.config)}ngOnChanges(){this.biolink&&(this.setBackground(),this.setBtnStyle(),this.setFontStyle(),this.initAnimations(),this.biolink.content.find(t=>"tiktokEmbed"===t.type)&&this.lazyLoader.loadAsset("https://www.tiktok.com/embed.js",{type:"js"}))}trustUrl(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}trustHtml(t){return this.sanitizer.bypassSecurityTrustHtml(t)}getSpotifyEmbedUrl(t){return this.trustUrl((0,i.formatEmbedURL)(t))}getTwitchEmbedUrl(t){let e;const n=new URL(t).pathname.split("/").pop().trim(),i=function(t){return t.replace(/(^\w+:|^)\/\//,"")}(this.settings.getBaseUrl(!0));return e=t.includes("clip")?`https://clips.twitch.tv/embed?clip=${n}`:`https://player.twitch.tv/?channel=${n}`,this.trustUrl(`${e}&parent=${i}`)}getTiktokVideoId(t){return new URL(t).pathname.split("/").pop().trim()}getVimeoEmbedId(t){return t?(0,r.Z)(t).id:null}setBackground(){const t=this.dynamicOrStoredAppearance;(null==t?void 0:t.bgConfig)&&(this.el.nativeElement.style.backgroundImage=this.bgUrlPipe.transform(t.bgConfig.backgroundImage||null),this.el.nativeElement.style.backgroundColor=t.bgConfig.color||null,this.el.nativeElement.style.backgroundAttachment=t.bgConfig.backgroundAttachment||null,this.el.nativeElement.style.backgroundSize=t.bgConfig.backgroundSize||null,this.el.nativeElement.style.backgroundRepeat=t.bgConfig.backgroundRepeat||null,this.el.nativeElement.style.backgroundPosition=t.bgConfig.backgroundPosition||null,this.el.nativeElement.style.color=t.bgConfig.color||null)}setBtnStyle(){var t,e;const n=this.dynamicOrStoredAppearance;(null===(t=null==n?void 0:n.btnConfig)||void 0===t?void 0:t.color)&&(this.el.nativeElement.style.color=null===(e=null==n?void 0:n.btnConfig)||void 0===e?void 0:e.color)}setFontStyle(){var t;const e=this.dynamicOrStoredAppearance;(null===(t=null==e?void 0:e.fontConfig)||void 0===t?void 0:t.family)?(this.el.nativeElement.style.fontFamily=e.fontConfig.family,this.googleFonts.loadIntoDom([{family:e.fontConfig.family}],"biolink-page")):this.el.nativeElement.style.fontFamily=null}initAnimations(){this.biolink.content.some(t=>"link"===t.model_type&&t.animation)&&this.lazyLoader.loadAsset("https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css",{type:"css",id:"animate.css"})}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.H7),s.Y36(a.Z),s.Y36(l.j),s.Y36(s.SBq),s.Y36(c.j),s.Y36(u.I))},t.\u0275cmp=s.Xpm({type:t,selectors:[["biolink-page"]],inputs:{biolink:"biolink",appearance:"appearance"},features:[s.TTD],decls:1,vars:1,consts:[[4,"ngIf"],[1,"content"],[4,"ngFor","ngForOf"],[3,"link","style",4,"ngIf"],[3,"ngSwitch"],["class","widget socials-widget",4,"ngSwitchCase"],["class","widget image-widget",3,"ngClass",4,"ngSwitchCase"],["class","widget text-widget",4,"ngSwitchCase"],["class","widget youtube-embed",4,"ngSwitchCase"],["class","widget soundcloud-embed",3,"innerHTML",4,"ngSwitchCase"],["class","widget spotify-embed",4,"ngSwitchCase"],["class","widget twitch-embed",4,"ngSwitchCase"],["class","widget",4,"ngSwitchCase"],[3,"link"],[1,"widget","socials-widget"],[3,"config"],[1,"widget","image-widget",3,"ngClass"],["target","_blank",3,"href"],[1,"inherit-size",3,"src"],[1,"widget","text-widget"],[1,"title"],["class","description",4,"ngIf"],[1,"description"],[1,"widget","youtube-embed"],["allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen","",3,"src"],[1,"widget","soundcloud-embed",3,"innerHTML"],["allow","autoplay; fullscreen; picture-in-picture","allowfullscreen","",3,"src"],[1,"widget","spotify-embed"],[1,"widget","twitch-embed"],[1,"widget"],[1,"tiktok-embed"],["alt","",3,"src"]],template:function(t,e){1&t&&s.YNc(0,Z,3,1,"ng-container",0),2&t&&s.Q6J("ngIf",e.biolink)},directives:[h.O5,h.sg,h.RF,h.n9,x,C.W,h.mk,p.A],styles:["[_nghost-%COMP%]{display:block;overflow:auto;min-height:100vh}.content[_ngcontent-%COMP%]{width:100%;max-width:680px;margin:0 auto;padding:34px 12px}.widget[_ngcontent-%COMP%]{margin-bottom:15px;box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);border-radius:4px;overflow:hidden;width:100%}.image-widget.avatar[_ngcontent-%COMP%]{border-radius:50%;box-shadow:none;width:96px;height:96px;margin-left:auto;margin-right:auto}.image-widget[_ngcontent-%COMP%]   image-or-icon[_ngcontent-%COMP%]{display:block;width:100%;height:100%}.text-widget[_ngcontent-%COMP%]{box-shadow:none;text-align:center;margin-bottom:30px}.text-widget[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0;font-size:1.6rem}.text-widget[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{margin:10px 0 0}.socials-widget[_ngcontent-%COMP%]{box-shadow:none}.youtube-embed[_ngcontent-%COMP%]{position:relative;padding-bottom:56.25%;height:0}.youtube-embed[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;border:none}.spotify-embed[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{height:380px;width:100%;max-width:300px;border:none}.twitch-embed[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{height:378px;width:100%;max-width:62px;border:none}social-button-list[_ngcontent-%COMP%]{margin:20px 0 26px}"],changeDetection:0}),t})()},29476:function(t,e,n){"use strict";n.d(e,{W:function(){return c}});var i=n(66213),r=n(35366),s=n(61116),o=n(84369),a=n(77307);function l(t,e){if(1&t&&(r.ynx(0),r.TgZ(1,"a",1),r._UZ(2,"mat-icon",2),r.qZA(),r.BQk()),2&t){const t=e.$implicit;r.xp6(1),r.Q6J("href",t.url,r.LSH),r.xp6(1),r.Q6J("svgIcon",t.type)}}let c=(()=>{class t{set config(t){this.services=Object.entries(t).filter(([t,e])=>!!e).map(([t,e])=>({type:t,url:this.buildUrl(t,e)}))}buildUrl(t,e){return!e||(0,i.s)(e)?e:(e=e.replace("@",""),"twitter"===t?`https://twitter.com/${e}`:"instagram"===t?`https://instagram.com/${e}`:"tiktok"===t?`https://tiktok.com/${e}`:"mail"===t?`mailto:${e}`:"whatsapp"===t?`https://api.whatsapp.com/send?phone=${e}`:void 0)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["social-button-list"]],inputs:{config:"config"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],["type","button","mat-icon-button","",3,"href"],[3,"svgIcon"]],template:function(t,e){1&t&&r.YNc(0,l,3,2,"ng-container",0),2&t&&r.Q6J("ngForOf",e.services)},directives:[s.sg,o.zs,a.Hw],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;box-shadow:none}"],changeDetection:0}),t})()},67455:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var i=function(t){return t.LINK_CREATE_SUCCESS="Link shortened",t.LINK_UPDATE_SUCCESS="Link updated",t.LINK_DELETE_SUCCESS="Links deleted",t.MULTIPLE_LINKS_CREATE_SUCCESS="Multiple links created",t.LINK_ATTACH_SUCCESS="Link attached",t.QR_COPY_SUCCESS="QR code copied",t.LINK_COPY_SUCCESS="Copied link to clipboard",t.LINK_GROUP_DELETE_SUCCESS="Link group deleted",t.WORKSPACE_INVITE_DECLINED="workspace invitation declined",t.TRACKING_PIXEL_CREATE_SUCCESS="Tracking pixel created",t.TRACKING_PIXEL_UPDATE_SUCCESS="Tracking pixel updated",t.TRACKING_PIXEL_DELETE_SUCCESS="Tracking pixels deleted",t.LINK_OVERLAY_CREATE_SUCCESS="Link overlay created",t.LINK_OVERLAY_UPDATE_SUCCESS="Link overlay updated",t.LINK_OVERLAY_DELETE_SUCCESS="Link overlays deleted",t.LINK_SHORTEN_SUCCESS="Link shortened",t.LINK_SHORTEN_FAIL="Could not shorten link. Please try again later",t}({})},30307:function(t,e,n){"use strict";n.d(e,{q:function(){return w}});var i=n(78512),r=n(11520),s=n(35366),o=n(88195),a=n(3950),l=n(131),c=n(25051),u=n(70941),h=n(35944),d=n(61116),p=n(84369),f=n(97070),m=n(77307),g=n(38116);function _(t,e){1&t&&(s.ynx(0),s._UZ(1,"mat-icon",15),s.TgZ(2,"span",9),s._uU(3,"Light Mode"),s.qZA(),s.BQk())}function b(t,e){1&t&&(s._UZ(0,"mat-icon",16),s.TgZ(1,"span",9),s._uU(2,"Dark Mode"),s.qZA())}function v(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",12),s.NdJ("click",function(){return s.CHM(t),s.oxw().theme.toggle()}),s.YNc(1,_,4,0,"ng-container",13),s.ALo(2,"async"),s.YNc(3,b,3,0,"ng-template",null,14,s.W1O),s.qZA()}if(2&t){const t=s.MAs(4),e=s.oxw();let n;s.xp6(1),s.Q6J("ngIf",null==(n=s.lcZ(2,2,e.theme.selectedTheme$))?null:n.is_dark)("ngIfElse",t)}}function y(t,e){if(1&t){const t=s.EpF();s.TgZ(0,"button",17),s.NdJ("click",function(){const e=s.CHM(t).$implicit;return s.oxw().changeLanguage(e)}),s._UZ(1,"mat-icon",18),s._uU(2),s.qZA()}if(2&t){const t=e.$implicit,n=s.oxw();s.xp6(1),s.ekj("invisible",!n.i18n.isActive(t)),s.xp6(1),s.hij(" ",t.name," ")}}let w=(()=>{class t{constructor(t,e,n,r,s){this.settings=t,this.i18n=e,this.theme=n,this.valueLists=r,this.localizations=s,this.localizations$=new i.X([{id:1,name:"English",language:"en"}]),this.changingLang$=new i.X(!1);const o=(new Date).getFullYear();this.copyrightText=this.i18n.t("Copyright \xa9 :year, ADV Progress Web Agency P.Iva 08005331213",{year:o})}langMenuOpened(){this.valueLists.get(["localizations"]).subscribe(t=>{this.localizations$.next(t.localizations)})}changeLanguage(t){this.i18n.isActive(t)||(this.changingLang$.next(!0),this.localizations.get(t.name).pipe((0,r.x)(()=>this.changingLang$.next(!1))).subscribe(t=>{this.i18n.setLocalization(t.localization)}))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.Z),s.Y36(a.Z),s.Y36(l.f),s.Y36(c.l),s.Y36(u.v))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-footer"]],decls:17,vars:12,consts:[[1,"row","first-row"],["position","footer",1,"first-menu","first-col",3,"horizontal"],["position","footer-secondary",1,"second-menu","second-col",3,"horizontal"],[1,"row","second-row"],[1,"copyright","first-col"],[1,"selectors","second-col"],["type","button","mat-button","","class","button-with-icon",3,"click",4,"ngIf"],["type","button","mat-button","",1,"button-with-icon",3,"matMenuTriggerFor","disabled","menuOpened"],["svgIcon","language"],["trans",""],["menu","matMenu"],["mat-menu-item","","class","capitalize","trans","",3,"click",4,"ngFor","ngForOf"],["type","button","mat-button","",1,"button-with-icon",3,"click"],[4,"ngIf","ngIfElse"],["lightMode",""],["svgIcon","light-mode"],["svgIcon","dark-mode"],["mat-menu-item","","trans","",1,"capitalize",3,"click"],["svgIcon","check"]],template:function(t,e){if(1&t&&(s.TgZ(0,"div",0),s._UZ(1,"custom-menu",1),s._UZ(2,"custom-menu",2),s.qZA(),s.TgZ(3,"div",3),s.TgZ(4,"div",4),s._uU(5),s.qZA(),s.TgZ(6,"div",5),s.YNc(7,v,5,4,"button",6),s.TgZ(8,"button",7),s.NdJ("menuOpened",function(){return e.langMenuOpened()}),s.ALo(9,"async"),s._UZ(10,"mat-icon",8),s.TgZ(11,"span",9),s._uU(12),s.qZA(),s.qZA(),s.TgZ(13,"mat-menu",null,10),s.YNc(15,y,3,3,"button",11),s.ALo(16,"async"),s.qZA(),s.qZA(),s.qZA()),2&t){const t=s.MAs(14);s.xp6(1),s.Q6J("horizontal",!0),s.xp6(1),s.Q6J("horizontal",!0),s.xp6(3),s.hij(" ",e.copyrightText," "),s.xp6(2),s.Q6J("ngIf",e.settings.get("themes.user_change")),s.xp6(1),s.Q6J("matMenuTriggerFor",t)("disabled",s.lcZ(9,8,e.changingLang$)),s.xp6(4),s.Oqu((null==e.i18n.localization||null==e.i18n.localization.model?null:e.i18n.localization.model.name)||"English"),s.xp6(3),s.Q6J("ngForOf",s.lcZ(16,10,e.localizations$))}},directives:[h.K,d.O5,p.lW,f.p6,m.Hw,g.P,f.VK,d.sg,f.OP],pipes:[d.Ov],styles:["[_nghost-%COMP%]{display:block;color:var(--be-secondary-text);font-size:1.5rem;padding:55px 0}.row[_ngcontent-%COMP%]{display:flex;align-items:center}.first-row[_ngcontent-%COMP%]{border-bottom:1px solid var(--be-divider-lighter);padding-bottom:20px}.second-row[_ngcontent-%COMP%]{padding-top:20px}.first-menu[_ngcontent-%COMP%]{color:var(--be-accent-default)}.first-menu[_ngcontent-%COMP%]     .custom-menu-item:first-child{padding-left:0!important}.second-menu[_ngcontent-%COMP%]     .custom-menu-item{padding-right:10px!important;padding-left:10px!important}.second-menu[_ngcontent-%COMP%]     .mat-icon{width:20px;height:20px}.first-col[_ngcontent-%COMP%]{margin-right:auto}.second-col[_ngcontent-%COMP%]{margin-left:15px}.button-with-icon[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:5px}.button-with-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{display:block}.invisible[_ngcontent-%COMP%]{visibility:hidden}@media only screen and (max-width:768px){.row[_ngcontent-%COMP%]{flex-direction:column}.first-col[_ngcontent-%COMP%]{margin-right:0}}"],changeDetection:0}),t})()},41816:function(t,e,n){"use strict";n.d(e,{J:function(){return u}});var i=n(61116),r=n(29779),s=n(68400),o=n(84369),a=n(77307),l=n(97070),c=n(35366);let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[i.ez,r.N,s.N,o.ot,a.Ps,l.Tx]]}),t})()},19708:function(t,e,n){"use strict";n.d(e,{b:function(){return m}});var i=n(67455),r=n(18948),s=n(35366),o=n(73234),a=n(88195),l=n(61116);class c{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),i=n.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,this._document.body.appendChild(n)}copy(){const t=this._textarea;let e=!1;try{if(t){const n=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch(n){}return e}destroy(){const t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}let u=(()=>{class t{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new c(t,this._document)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(l.K0))},t.\u0275prov=(0,s.Yz7)({factory:function(){return new t((0,s.LFG)(l.K0))},token:t,providedIn:"root"}),t})();var h=n(84369),d=n(24311),p=n(77307),f=n(40450);let m=(()=>{class t{constructor(t,e,n){this.toast=t,this.settings=e,this.clipboard=n}copyLink(){let t;t=(0,r.w)("short_url",this.model)?this.model.short_url:`${this.settings.getBaseUrl(!0)}/${this.model.hash}`,this.clipboard.copy(t)&&this.toast.open(i.V.LINK_COPY_SUCCESS)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.F),s.Y36(a.Z),s.Y36(u))},t.\u0275cmp=s.Xpm({type:t,selectors:[["copy-link-btn"]],inputs:{model:"model"},decls:3,vars:3,consts:[["mat-icon-button","",3,"matTooltip","click"],["svgIcon","copy-link"]],template:function(t,e){1&t&&(s.TgZ(0,"button",0),s.NdJ("click",function(){return e.copyLink()}),s.ALo(1,"trans"),s._UZ(2,"mat-icon",1),s.qZA()),2&t&&s.Q6J("matTooltip",s.lcZ(1,1,"Copy link"))},directives:[h.lW,d.gM,p.Hw],pipes:[f.R],styles:[""],changeDetection:0}),t})()},34500:function(t,e,n){"use strict";n.d(e,{a:function(){return h}});var i=n(35366),r=n(61116),s=n(84369);function o(t,e){if(1&t&&(i.TgZ(0,"a",4),i._uU(1),i.qZA()),2&t){const t=i.oxw(2);i.Q6J("href",t.overlay.btn_link,i.LSH),i.xp6(1),i.Oqu(t.overlay.btn_text)}}function a(t,e){if(1&t&&(i.TgZ(0,"div",5),i.TgZ(1,"div",6),i._uU(2),i.qZA(),i.qZA()),2&t){const t=i.oxw(2);i.xp6(2),i.Oqu(t.overlay.label)}}function l(t,e){if(1&t&&(i.ynx(0),i.TgZ(1,"div",1),i._uU(2),i.qZA(),i.YNc(3,o,2,2,"a",2),i.YNc(4,a,3,1,"div",3),i.BQk()),2&t){const t=i.oxw();i.xp6(2),i.Oqu(t.overlay.message),i.xp6(1),i.Q6J("ngIf",t.overlay.btn_text),i.xp6(1),i.Q6J("ngIf",t.overlay.label)}}const c=["top-left","top-right","bottom-left","bottom-right"],u=["default","full-width","rounded","pill"];let h=(()=>{class t{constructor(t){this.el=t}ngOnChanges(t){this.overlay&&(this.updateColors(),this.overlay.position&&(this.el.nativeElement.classList.remove(...c),this.el.nativeElement.classList.add(this.overlay.position)),this.overlay.theme&&(this.el.nativeElement.classList.remove(...u),this.el.nativeElement.classList.add(this.overlay.theme)),this.el.nativeElement.style.backgroundImage=this.overlay.colors["bg-image"]?`url("${this.overlay.colors["bg-image"]}")`:null)}getComputedStyle(){return getComputedStyle(this.el.nativeElement)}updateColors(){Object.keys(this.overlay.colors||{}).forEach(t=>{this.el.nativeElement.style.setProperty("--"+t,this.overlay.colors[t])})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq))},t.\u0275cmp=i.Xpm({type:t,selectors:[["link-overlay"]],inputs:{overlay:"overlay"},features:[i.TTD],decls:1,vars:1,consts:[[4,"ngIf"],[1,"message"],["class","main-button","mat-raised-button","",3,"href",4,"ngIf"],["class","ribbon-wrapper",4,"ngIf"],["mat-raised-button","",1,"main-button",3,"href"],[1,"ribbon-wrapper"],[1,"ribbon"]],template:function(t,e){1&t&&i.YNc(0,l,5,3,"ng-container",0),2&t&&i.Q6J("ngIf",e.overlay)},directives:[r.O5,s.zs],styles:["[_nghost-%COMP%]{--bg-color:var(--be-primary-lighter);--text-color:var(--be-accent-contrast);--label-bg-color:var(--be-background);--label-color:var(--be-text);--btn-bg-color:var(--be-accent-default);--btn-text-color:var(--be-accent-contrast);display:block;position:absolute;width:350px;max-width:90%;border-radius:4px;padding:15px;background-color:var(--bg-color);color:var(--text-color);overflow:hidden;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);background-size:cover}.top-left[_nghost-%COMP%], .top-left   [_nghost-%COMP%]{top:12px;left:12px}.top-right[_nghost-%COMP%], .top-right   [_nghost-%COMP%]{top:12px;right:12px}.bottom-left[_nghost-%COMP%], .bottom-left   [_nghost-%COMP%]{bottom:12px;left:12px}.bottom-right[_nghost-%COMP%], .bottom-right   [_nghost-%COMP%]{bottom:12px;right:12px}.full-width[_nghost-%COMP%], .full-width   [_nghost-%COMP%]{left:12px;right:12px;width:auto;max-width:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.full-width[_nghost-%COMP%]   .message[_ngcontent-%COMP%], .full-width   [_nghost-%COMP%]   .message[_ngcontent-%COMP%]{margin-top:0}.rounded[_nghost-%COMP%], .rounded   [_nghost-%COMP%]{border-radius:8px}.pill[_nghost-%COMP%], .pill   [_nghost-%COMP%]{border-radius:60px;padding:15px 30px 25px;width:400px}.pill[_nghost-%COMP%]   .ribbon-wrapper[_ngcontent-%COMP%], .pill   [_nghost-%COMP%]   .ribbon-wrapper[_ngcontent-%COMP%]{top:0;right:0}.label[_ngcontent-%COMP%]{position:absolute;top:15px;right:-20px;padding:0 30px;transform:rotate(45deg);background-color:var(--label-bg-color);color:var(--label-color);font-size:1.3rem;text-align:center}.message[_ngcontent-%COMP%]{margin:15px 0}.main-button[_ngcontent-%COMP%]{background-color:var(--btn-bg-color);color:var(--btn-text-color)}.ribbon-wrapper[_ngcontent-%COMP%]{width:85px;height:88px;overflow:hidden;position:absolute;top:-5px;right:-5px}.ribbon[_ngcontent-%COMP%]{font-size:1.4rem;text-align:center;transform:rotate(45deg);position:relative;padding:4px 0;left:-5px;top:15px;width:120px;background-color:var(--label-bg-color);color:var(--label-color);box-shadow:0 0 3px rgba(0,0,0,.3)}"],changeDetection:0}),t})()},8424:function(t,e,n){"use strict";n.d(e,{_:function(){return w}});var i=n(61116),r=n(63337),s=n(75425),o=n(91921),a=n(84369),l=n(77307),c=n(68400),u=n(31041),h=n(35366);let d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({imports:[[i.ez,a.ot,l.Ps,c.N,u.UX,u.u5]]}),t})();var p=n(20673),f=n(12188),m=n(41816),g=n(50615),_=n(99808),b=n(15595),v=n(58666),y=n(45052);let w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h.oAB({type:t}),t.\u0275inj=h.cJS({imports:[[i.ez,r.Bz,s.m,o.z,c.N,d,p.l,f.v,m.J,g.X,_.p,b.m,v.u,y.T,a.ot,l.Ps]]}),t})()},16980:function(t,e,n){"use strict";n.d(e,{L:function(){return s}});var i=n(35366),r=n(68515);let s=(()=>{class t{constructor(t){this.http=t}index(e={}){return this.http.get(`${t.BASE_URI}`,e)}create(e){return this.http.post(t.BASE_URI,e)}update(e,n){return this.http.put(`${t.BASE_URI}/${e}`,n)}delete(e){return this.http.delete(`${t.BASE_URI}/${e}`)}detach(e,n){return this.http.post(`${t.BASE_URI}/${e}/detach`,{linkIds:n})}attach(e,n){return this.http.post(`${t.BASE_URI}/${e}/attach`,{linkIds:n})}links(e,n){return this.http.get(`${t.BASE_URI}/${e}/links`,n)}analytics(t){return this.http.get(this.analyticsEndpoint(t))}analyticsEndpoint(e){return`${t.BASE_URI}/${e}/analytics`}}return t.BASE_URI="link-group",t.\u0275fac=function(e){return new(e||t)(i.LFG(r.r))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},84222:function(t,e,n){"use strict";n.d(e,{M:function(){return s}});var i=n(35366),r=n(68515);let s=(()=>{class t{constructor(t){this.http=t}index(e={}){return this.http.get(`${t.BASE_URI}`,e)}get(e,n={}){return this.http.get(`${t.BASE_URI}/${e}`,n)}create(e){return this.http.post(t.BASE_URI,e)}createBatch(e){return this.http.post(`${t.BASE_URI}/batch/shorten`,e)}update(e,n){return this.http.put(`${t.BASE_URI}/${e}`,n)}delete(e){return this.http.delete(`${t.BASE_URI}/${e}`)}getCurrentUserReports(e={}){return this.http.get(`${t.BASE_URI}/analytics`,e)}}return t.BASE_URI="link",t.EXPORT_CSV_URI=`${t.BASE_URI}/csv/export`,t.\u0275fac=function(e){return new(e||t)(i.LFG(r.r))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},78671:function(t,e,n){"use strict";n.d(e,{t:function(){return m}});var i=n(67455),r=n(4643),s=n(35366),o=n(73234),a=n(3950),l=n(84369),c=n(24311),u=n(77307),h=n(61116),d=n(19708),p=n(40450);function f(t,e){if(1&t&&s._UZ(0,"copy-link-btn",7),2&t){const t=s.oxw();s.Q6J("model",t.link)}}let m=(()=>{class t{constructor(t,e){this.toast=t,this.i18n=e,this.showCopyBtn=!1,this.colored=!1}shareUsing(t){!function(t,e,n,i){const r=function(t,e,n,i){switch(t){case"facebook":return"https://www.facebook.com/sharer/sharer.php?u="+e;case"twitter":return`https://twitter.com/intent/tweet?text=${n}&url=${e}`;case"google-plus":return"https://plus.google.com/share?url="+e;case"pinterest":return"https://pinterest.com/pin/create/button/?url="+e+"&media="+undefined;case"tumblr":return"https://www.tumblr.com/widgets/share/tool?shareSource=legacy&canonicalUrl=&posttype=photo&title=&caption="+n+"&content="+undefined+"&url="+e;case"blogger":return"https://www.blogger.com/blog_this.pyra?t&u="+e+"&n="+n;case"mail":return`mailto:?subject=Check out this link.&body=${e}`}}(t,e,n);"mail"===t?window.location.href=r:function(t){const e=(window.innerWidth-575)/2,n=(window.innerHeight-400)/2;window.open(t,"share","status=1, scrollbars=1,width=575,height=400,top="+n+",left="+e)}(r)}(t,this.link.short_url,this.i18n.t("Check out this link"))}copyQr(){r(this.link.short_url+"/qr")&&this.toast.open(i.V.QR_COPY_SUCCESS)}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.F),s.Y36(a.Z))},t.\u0275cmp=s.Xpm({type:t,selectors:[["share-link-btns"]],hostVars:2,hostBindings:function(t,e){2&t&&s.ekj("colored",e.colored)},inputs:{link:"link",showCopyBtn:"showCopyBtn",colored:"colored"},decls:10,vars:10,consts:[["type","button","mat-icon-button","",1,"facebook-btn",3,"matTooltip","click"],["svgIcon","facebook"],["type","button","mat-icon-button","",1,"twitter-btn",3,"matTooltip","click"],["svgIcon","twitter"],[3,"model",4,"ngIf"],["type","button","mat-icon-button","",1,"qr-btn",3,"matTooltip","click"],["svgIcon","qr"],[3,"model"]],template:function(t,e){1&t&&(s.TgZ(0,"button",0),s.NdJ("click",function(){return e.shareUsing("facebook")}),s.ALo(1,"trans"),s._UZ(2,"mat-icon",1),s.qZA(),s.TgZ(3,"button",2),s.NdJ("click",function(){return e.shareUsing("twitter")}),s.ALo(4,"trans"),s._UZ(5,"mat-icon",3),s.qZA(),s.YNc(6,f,1,1,"copy-link-btn",4),s.TgZ(7,"button",5),s.NdJ("click",function(){return e.copyQr()}),s.ALo(8,"trans"),s._UZ(9,"mat-icon",6),s.qZA()),2&t&&(s.Q6J("matTooltip",s.lcZ(1,4,"Share on facebook")),s.xp6(3),s.Q6J("matTooltip",s.lcZ(4,6,"Share on twitter")),s.xp6(3),s.Q6J("ngIf",e.showCopyBtn),s.xp6(1),s.Q6J("matTooltip",s.lcZ(8,8,"Copy QR code")))},directives:[l.lW,c.gM,u.Hw,h.O5,d.b],pipes:[p.R],styles:[".colored[_nghost-%COMP%]   .facebook-btn[_ngcontent-%COMP%], .colored   [_nghost-%COMP%]   .facebook-btn[_ngcontent-%COMP%]{color:#3b5998}.colored[_nghost-%COMP%]   .twitter-btn[_ngcontent-%COMP%], .colored   [_nghost-%COMP%]   .twitter-btn[_ngcontent-%COMP%]{color:#1da1f2}"],changeDetection:0}),t})()},75425:function(t,e,n){"use strict";n.d(e,{m:function(){return u}});var i=n(61116),r=n(68400),s=n(29779),o=n(84369),a=n(77307),l=n(24311),c=n(35366);let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[i.ez,r.N,s.N,o.ot,a.Ps,l.AV]]}),t})()},5084:function(t,e,n){"use strict";n.d(e,{m:function(){return l}});var i=n(20274),r=n(16930),s=n(94380),o=n(73033),a=n(35366);let l=(()=>{class t extends r.c{constructor(){super(...arguments),this.DEFAULT_MAX_SIZE_MB=1.5}initValidations(){const t=[new i.p({maxSize:(0,s.F)(this.DEFAULT_MAX_SIZE_MB,"MB")},this.i18n),new o.p({types:["image"]},this.i18n)];this.validations.push(...t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},71228:function(t,e,n){"use strict";n.d(e,{e:function(){return u}});var i=n(78512),r=n(35366),s=n(68515),o=n(28505),a=n(63337),l=n(73234),c=n(88195);let u=(()=>{class t{constructor(t,e,n,r,s,o,a){this.httpClient=t,this.currentUser=e,this.router=n,this.route=r,this.toast=s,this.zone=o,this.config=a,this.forcedEmail$=new i.X(null)}login(t){return this.httpClient.post("auth/login",t)}register(t){return this.httpClient.post("auth/register",t)}logOut(){this.httpClient.post("auth/logout").subscribe(()=>{this.currentUser.assignCurrent(),this.router.navigate(["/login"])})}sendPasswordResetLink(t){return this.httpClient.post("auth/password/email",t)}resetPassword(t){return this.httpClient.post("auth/password/reset",t)}resendEmailConfirmation(t){return this.httpClient.post("auth/email/verify/resend",{email:t})}revokeAccessToken(t){return this.httpClient.delete("access-tokens/"+t)}createAccessToken(t){return this.httpClient.post("access-tokens",{tokenName:t})}getRedirectUri(){if(this.currentUser.redirectUri){const t=this.currentUser.redirectUri;return this.currentUser.redirectUri=null,t}return this.currentUser.isAdmin()?this.config.get("vebto.auth.adminRedirectUri"):this.config.get("vebto.auth.redirectUri")}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(s.r),r.LFG(o.I),r.LFG(a.F0),r.LFG(a.gz),r.LFG(l.F),r.LFG(r.R0b),r.LFG(c.Z))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},28505:function(t,e,n){"use strict";n.d(e,{I:function(){return o}});var i=n(78512),r=n(79996),s=n(35366);let o=(()=>{class t{constructor(){this.model$=new i.X(null),this.isLoggedIn$=this.model$.pipe((0,r.U)(t=>!!t.id)),this.permissions={}}get(t){return this.model$.value&&this.model$.value[t]}getModel(){return Object.assign({},this.model$.value)}set(t,e){this.model$.next(Object.assign(Object.assign({},this.model$.value),{[t]:e}))}assignCurrent(t){t||(t={roles:[this.guestsRole],permissions:this.guestsRole.permissions}),this.setPermissions(t),this.model$.next(t)}hasPermissions(t){return 0===t.filter(t=>!this.hasPermission(t)).length}hasPermission(t){return!!this.permissions.admin||!!this.permissions[t]}hasRole(t){return this.model$.value.roles&&!!this.model$.value.roles.find(e=>e.name===t)}getRestrictionValue(t,e){const n=this.permissions[t];let i=null;if(n){const t=n.restrictions.find(t=>t.name===e);i=t?t.value:null}return i}isLoggedIn(){return this.get("id")>0}isSubscribed(){var t;return!!(null===(t=this.model$.value)||void 0===t?void 0:t.subscriptions)&&void 0!==this.model$.value.subscriptions.find(t=>t.valid)}subscriptionIsActive(){return this.isSubscribed()&&!this.onTrial()}onTrial(){const t=this.getSubscription();return t&&t.on_trial}onGracePeriod(){const t=this.getSubscription();return t&&t.on_grace_period}getSubscription(t={}){if(!this.isSubscribed())return null;let e=this.model$.value.subscriptions.slice();return t.gateway&&(e=e.filter(e=>e.gateway_name===t.gateway)),t.planId&&(e=e.filter(e=>e.plan_id===t.planId)),e[0]}setSubscription(t){const e=this.model$.value.subscriptions.findIndex(e=>e.id===t.id);e>-1?this.model$.value.subscriptions[e]=t:this.model$.value.subscriptions.push(t)}isAdmin(){return this.hasPermission("admin")}init(t){this.guestsRole=t.guestsRole||{},this.assignCurrent(t.user)}setPermissions(t){this.permissions={},(t.permissions||[]).forEach(t=>{this.permissions[t.name]=t})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},62424:function(t,e,n){"use strict";n.d(e,{Q:function(){return o}});var i=n(79996),r=n(35366),s=n(68515);let o=(()=>{class t{constructor(t){this.http=t}get(t,e){return this.http.get(`users/${t}`,e)}getAll(e={}){return this.http.get(t.BASE_URI,e).pipe((0,i.U)(t=>t.pagination.data))}create(t){return this.http.post("users",t)}update(e,n){return this.http.put(`${t.BASE_URI}/${e}`,n)}changePassword(e,n){return this.http.post(`${t.BASE_URI}/${e}/password/change`,n)}attachRoles(e,n={}){return this.http.post(`${t.BASE_URI}/${e}/roles/attach`,n)}detachRoles(e,n={}){return this.http.post(`${t.BASE_URI}/${e}/roles/detach`,n)}addPermissions(e,n={}){return this.http.post(`${t.BASE_URI}/${e}/permissions/add`,n)}removePermissions(e,n={}){return this.http.post(`${t.BASE_URI}/${e}/permissions/remove`,n)}uploadAvatar(e,n){const i=new FormData;return i.append("file",n[0].native),this.http.post(`${t.BASE_URI}/${e}/avatar`,i)}deleteAvatar(e){return this.http.delete(`${t.BASE_URI}/${e}/avatar`)}delete(e,n={}){return this.http.delete(`${t.BASE_URI}/${e}`,n)}syncTags(t,e){return this.http.post("users/"+t+"/tags/sync",e)}updateDetails(t,e){return this.http.put("users/"+t+"/details",e)}addEmail(t,e){return this.http.post("users/"+t+"/emails/attach",e)}removeEmail(t,e){return this.http.post("users/"+t+"/emails/detach",e)}}return t.BASE_URI="users",t.EXPORT_CSV_URI="users/csv/export",t.\u0275fac=function(e){return new(e||t)(r.LFG(s.r))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},47862:function(t,e,n){"use strict";n.d(e,{N:function(){return c}});var i=n(11520),r=n(35366),s=n(68515),o=n(88195),a=n(17455),l=n(3950);let c=(()=>{class t{constructor(t,e,n,i){this.http=t,this.settings=e,this.subscriptions=n,this.i18n=i,this.popupWidth=450,this.popupHeight=650,this.popupParams={menubar:0,location:0,locationbar:0,toolbar:0,titlebar:0,status:0,scrollbars:1,width:this.popupWidth,height:this.popupHeight},this.subscriptionPending=!1,this.executingAgreement=!1}subscribe(t){return this.subscriptionPending=!0,this.popup=this.openPaypalPopup(this.settings.getBaseUrl(!0)+"/billing/paypal/loading"),new Promise((e,n)=>{this.rejectSubscribe=n,this.resolveSubscribe=e,this.createPaypalAgreement(t).subscribe(e=>{this.listenForMessages(t.plan_id),this.popup.location.href=e.urls.approve},t=>this.rejectSubscriptionPromise(t))})}changePlan(t,e){return new Promise(n=>{this.subscriptions.cancel(t.id,{delete:!0}).subscribe(()=>{this.subscribe({plan_id:e.id,start_date:t.renews_at}).then(t=>n(t))})})}listenForMessages(t){window.addEventListener("message",e=>{if(-1!==this.settings.getBaseUrl().indexOf(e.origin)){if("success"!==e.data.status)return this.rejectSubscriptionPromise();this.executingAgreement=!0,this.executePaypalAgreement(e.data.token,t).pipe((0,i.x)(()=>this.executingAgreement=!1)).subscribe(t=>this.resolveSubscriptionPromise(t.user),t=>this.rejectSubscriptionPromise())}},!1)}openPaypalPopup(t){const e=Object.assign({},this.popupParams,{left:screen.width/2-this.popupWidth/2,top:screen.height/2-this.popupHeight/2}),n=window.open(t,"PayPal",Object.keys(e).map(t=>t+"="+e[t]).join(", ")),i=setInterval(()=>{(null==n||n.closed)&&(window.clearInterval(i),this.subscriptionPending&&!this.executingAgreement&&this.rejectSubscriptionPromise())},1e3);return n}createPaypalAgreement(t){return this.http.post("billing/subscriptions/paypal/agreement/create",{plan_id:t.plan_id,start_date:t.start_date})}executePaypalAgreement(t,e){return this.http.post("billing/subscriptions/paypal/agreement/execute",{agreement_id:t,plan_id:e})}rejectSubscriptionPromise(t){this.rejectSubscribe(this.i18n.t((null==t?void 0:t.message)||"Payment failed. Please try again later.")),this.subscriptionPending=!1,this.popup&&this.popup.close()}resolveSubscriptionPromise(t){this.resolveSubscribe(t),this.subscriptionPending=!1}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(s.r),r.LFG(o.Z),r.LFG(a.t),r.LFG(l.Z))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},98909:function(t,e,n){"use strict";n.d(e,{n:function(){return o}});var i=n(78512),r=n(35366),s=n(28505);let o=(()=>{class t{constructor(t){this.currentUser=t,this.plans=[],this.initialPlan$=new i.X(null),this.selectedPlan$=new i.X(null),this.mode=this.currentUser.isSubscribed()&&"none"!==this.currentUser.getSubscription().gateway_name?"changePlan":"subscribe"}selectInitialPlan(t){this.initialPlan$.next(t);const e=this.getChildPlans(t);e&&e[0]?(this.radioGroupModel=e[0].id,this.selectedPlan$.next(e[0])):(this.selectedPlan$.next(t),this.radioGroupModel=t.id)}selectPlanById(t){this.selectedPlan$.next(this.plans.find(e=>e.id===t))}getChildPlans(t){return this.plans.filter(e=>e.parent_id===t.id&&!e.hidden)}setPlans(t){this.plans=t}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(s.I))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},36957:function(t,e,n){"use strict";n.d(e,{b:function(){return y},P:function(){return w}});var i=n(44716),r=n(98909),s=n(78512),o=n(11520),a=n(35366),l=n(17455),c=n(63337),u=n(88195),h=n(73234),d=n(36402),p=n(28505),f=n(47862);function m(t,e){1&t&&a._UZ(0,"mat-icon",9)}const g=function(t,e,n){return{siteName:t,intervalCount:e,intervalName:n}};function _(t,e){if(1&t&&(a.TgZ(0,"p",15),a._uU(1," You authorise :siteName to charge you automatically every :intervalCount :intervalName, until you cancel your subscription. You consent to get access to your :siteName subscription immediately, and acknowledge that refunds are only available within 14 days and provided you haven't accessed :siteName. You will be able to cancel your subscription at any time from your profile page. "),a.qZA()),2&t){const t=e.ngIf,n=a.oxw(2);a.Q6J("transValues",a.kEZ(1,g,n.settings.get("branding.site_name"),t.interval_count>1?t.interval_count:"",t.interval_count>1?t.interval+"s":t.interval))}}function b(t,e){if(1&t){const t=a.EpF();a.TgZ(0,"mat-step",4),a.ALo(1,"trans"),a.TgZ(2,"div",10),a.TgZ(3,"div",11),a.TgZ(4,"create-subscription-panel",12),a.NdJ("loading",function(e){return a.CHM(t),a.oxw().loading$.next(e)})("completed",function(){return a.CHM(t),a.oxw().onCompleted()}),a.ALo(5,"async"),a.qZA(),a.qZA(),a._UZ(6,"upgrade-page-aside",13),a.ALo(7,"async"),a.qZA(),a.YNc(8,_,2,5,"p",14),a.ALo(9,"async"),a.qZA()}if(2&t){const t=a.oxw();a.Q6J("label",a.lcZ(1,5,"Payment"))("completed",!1),a.xp6(4),a.Q6J("plan",a.lcZ(5,7,t.state.selectedPlan$)),a.xp6(2),a.Q6J("plan",a.lcZ(7,9,t.state.selectedPlan$)),a.xp6(2),a.Q6J("ngIf",a.lcZ(9,11,t.state.selectedPlan$))}}var v=function(t){return t[t.Plans=0]="Plans",t[t.Period=1]="Period",t[t.Payment=2]="Payment",t}({});const y="be.onboarding.selected";let w=(()=>{class t{constructor(t,e,n,i,r,o,a,l,c){this.subscriptions=t,this.route=e,this.settings=n,this.router=i,this.toast=r,this.state=o,this.localStorage=a,this.currentUser=l,this.paypalSubscriptions=c,this.loading$=new s.X(!1)}set mode(t){this.state.mode=t}ngOnInit(){this.route.data.subscribe(t=>{this.state.setPlans(t.plans),"subscribe"===this.state.mode&&this.hydrateStateFromLocalStorage()})}hydrateStateFromLocalStorage(){const t=this.localStorage.get(y);if(t&&t.initial&&t.final){const e=this.state.plans.find(e=>e.id===t.initial),n=this.state.plans.find(e=>e.id===t.final);e&&n&&(this.state.selectInitialPlan(e),this.state.selectPlanById(n.id),this.stepper.selectedIndex=v.Payment)}}nextStep(){"changePlan"===this.state.mode&&this.stepper.selectedIndex===v.Period?this.changePlan():"pricing"===this.state.mode&&this.state.selectedPlan$.value.free&&this.stepper.selectedIndex===v.Plans?this.router.navigate(["register"]):"pricing"===this.state.mode&&this.stepper.selectedIndex===v.Period?(this.localStorage.set(y,{initial:this.state.initialPlan$.value.id,final:this.state.selectedPlan$.value.id}),this.router.navigate(["register"])):this.stepper.next()}onCompleted(){this.loading$.next(!1),this.router.navigate(["/"]),this.localStorage.remove(y),this.toast.open({message:'Subscribed to ":planName" plan successfully.',replacements:{planName:this.getSelectedOrParentPlanName()}})}changePlan(){const t=this.state.selectedPlan$.value,e=this.currentUser.getSubscription();this.currentUser.getSubscription({planId:t.id})||(this.loading$.next(!0),"paypal"===e.gateway_name?this.paypalSubscriptions.changePlan(e,t).then(t=>{this.loading$.next(!1),this.currentUser.assignCurrent(t),this.router.navigate(["/billing/subscription"]),this.toast.open("Subscription plan changed.")}):this.subscriptions.changePlan(e.id,t).pipe((0,o.x)(()=>this.loading$.next(!1))).subscribe(t=>{this.currentUser.assignCurrent(t.user),this.router.navigate(["/billing/subscription"]),this.toast.open("Subscription plan changed.")}))}getSelectedOrParentPlanName(){const t=this.state.selectedPlan$.value;return(t.parent?t.parent:t).name}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(l.t),a.Y36(c.gz),a.Y36(u.Z),a.Y36(c.F0),a.Y36(h.F),a.Y36(r.n),a.Y36(d.m),a.Y36(p.I),a.Y36(f.N))},t.\u0275cmp=a.Xpm({type:t,selectors:[["upgrade-page"]],viewQuery:function(t,e){if(1&t&&a.Gf(i.Vq,7),2&t){let t;a.iGM(t=a.CRH())&&(e.stepper=t.first)}},inputs:{mode:"mode"},features:[a._Bn([r.n])],decls:16,vars:19,consts:[[3,"hideRegisterButton"],[1,"bg-wrapper"],[1,"container","main-content",3,"linear"],["matStepperIcon","edit"],[3,"label","completed"],[3,"selected"],[3,"showSidebar","selected"],[3,"label","completed",4,"ngIf"],[1,"overlay",3,"isVisible"],["svgIcon","edit",1,"size-16"],[1,"step-container","payment-step"],[1,"left-col"],[3,"plan","loading","completed"],[1,"right-col",3,"plan"],["class","legal-info","trans","",3,"transValues",4,"ngIf"],["trans","",1,"legal-info",3,"transValues"]],template:function(t,e){1&t&&(a._UZ(0,"material-navbar",0),a.TgZ(1,"div",1),a.TgZ(2,"mat-horizontal-stepper",2),a.YNc(3,m,1,0,"ng-template",3),a.TgZ(4,"mat-step",4),a.ALo(5,"trans"),a.ALo(6,"async"),a.TgZ(7,"select-plan-panel",5),a.NdJ("selected",function(){return e.nextStep()}),a.qZA(),a._UZ(8,"contact-widget"),a.qZA(),a.TgZ(9,"mat-step",4),a.ALo(10,"trans"),a.ALo(11,"async"),a.TgZ(12,"select-plan-period-panel",6),a.NdJ("selected",function(){return e.nextStep()}),a.qZA(),a.qZA(),a.YNc(13,b,10,13,"mat-step",7),a.qZA(),a.qZA(),a._UZ(14,"loading-indicator",8),a.ALo(15,"async")),2&t&&(a.Q6J("hideRegisterButton","pricing"===e.state.mode),a.xp6(2),a.Q6J("linear",!0),a.xp6(2),a.Q6J("label",a.lcZ(5,9,"Subscription plan"))("completed",!!a.lcZ(6,11,e.state.initialPlan$)),a.xp6(5),a.Q6J("label",a.lcZ(10,13,"Subscription duration"))("completed",!!a.lcZ(11,15,e.state.selectedPlan$)),a.xp6(3),a.Q6J("showSidebar",!0),a.xp6(1),a.Q6J("ngIf","subscribe"===e.state.mode),a.xp6(1),a.Q6J("isVisible",a.lcZ(15,17,e.loading$)))},styles:[".be-dark-mode[_nghost-%COMP%]   .bg-wrapper[_ngcontent-%COMP%], .be-dark-mode   [_nghost-%COMP%]   .bg-wrapper[_ngcontent-%COMP%]{background-image:none}[_nghost-%COMP%]{display:block;min-height:100vh;background-color:var(--be-background-alternative)}.bg-wrapper[_ngcontent-%COMP%]{background-repeat:no-repeat;background-position:50%;background-size:cover;background-image:url(/client/assets/images/pricing-plans-bg.svg)}.main-content[_ngcontent-%COMP%]{padding-top:60px;padding-bottom:60px;background-color:inherit;min-height:calc(100vh - 70px)}.step-container[_ngcontent-%COMP%]{display:flex;position:relative;background-color:var(--be-background);border-radius:4px;margin-top:25px;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.step-container[_ngcontent-%COMP%]   .left-col[_ngcontent-%COMP%]{flex:1 1 auto}select-plan-panel[_ngcontent-%COMP%]{margin-top:25px}.legal-info[_ngcontent-%COMP%]{margin-top:20px;color:var(--be-secondary-text)}@media only screen and (max-width:768px){upgrade-page-aside[_ngcontent-%COMP%]{display:none}}"],changeDetection:0}),t})()},88195:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var i=n(52907),r=n(39633),s=n.n(r);const o={showLeafArrayIndexes:!0,includeNullValues:!0,mapping:function(t){return"boolean"==typeof t?+t?"1":"0":t}};function a(t){return!(Array.isArray(t)||"object"!=typeof t||!t||t instanceof Blob)}function l(t,e={}){return c(t,Object.assign(Object.assign({},o),e))}function c(t,e,n,i){const r=i||new FormData;let s=0;for(const o in t){if(t.hasOwnProperty(o)){let i=n||o;const l=e.mapping(t[o]);if(n&&a(t)&&(i=n+"["+o+"]"),n&&Array.isArray(t)&&(i=Array.isArray(l)||e.showLeafArrayIndexes?n+"["+s+"]":n+"[]"),Array.isArray(l)||a(l))c(l,e,i,r);else if(l instanceof FileList)for(let t=0;t<l.length;t++)r.append(i+"["+t+"]",l.item(t));else l instanceof Blob?r.append(i,l,l.name):(null===l&&e.includeNullValues||null!==l)&&void 0!==l&&r.append(i,l)}s++}return r}var u=n(78512),h=n(35366);let d=(()=>{class t{constructor(){this.config$=new u.X({})}setMultiple(t){if(!t)return;const e=Object.assign({},this.config$.value);Object.entries(t).forEach(([t,n])=>{"0"!==n&&"1"!==n||(n=parseInt(n)),i.set(t,n,e)}),this.config$.next(e)}merge(t){this.config$.next(s()(this.config$.value,t))}set(t,e){const n=Object.assign({},this.config$.value);i.set(t,e,n),this.config$.next(n)}replace(t){this.config$.next(t)}get(t,e=null){const n=i.pick(t,this.config$.value);return null==n?e:n}getFlat(t){return i.dot(t?this.config$.value[t]:this.config$.value)}all$(){return this.config$.asObservable()}getAll(){return this.config$.value}has(t){return!!i.pick(t,this.config$.value)}getJson(t,e=null){const n=this.get(t,e);return"string"!=typeof n?n:JSON.parse(n)}getBaseUrl(t=!1){return this.has("base_url")&&("production"===this.get("vebto.environment")||t)?this.get("base_url"):document.querySelector("base")?document.querySelector("base").href.replace(/\/$/,""):window.location.href.split("?")[0].replace(/([^\/]+\.\w+($|\/$))/,"")}getAssetUrl(t,e=!1){let n=(this.get("vebto.assetsUrl")||this.getBaseUrl(e))+"/";const i=this.get("vebto.assetsPrefix");return"production"===this.get("vebto.environment")&&i&&(n+=i+"/"),n+="assets/",t&&(n+=t),n}save(t){this.setMultiple(t.client);const e={files:t.files};e.client=JSON.stringify(t.client),e.server=JSON.stringify(t.server);const n=l(e);return this.http.post("settings",n)}anySocialLoginEnabled(){return["facebook","google","twitter"].filter(t=>this.get("social."+t+".enable")).length>-1}setHttpClient(t){this.http=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=h.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},68515:function(t,e,n){"use strict";n.d(e,{r:function(){return l}});var i=n(42693),r=n(47727),s=n(43835),o=n(35366),a=n(80022);let l=(()=>{class t{constructor(t,e){this.httpClient=t,this.errorHandler=e}static prefixUri(e){return e.indexOf("://")>-1||e.startsWith(t.prefix)||e.startsWith("api")?e:`${t.prefix}/${e}`}get(e,n={},i={}){const s=this.transformQueryParams(n);return this.httpClient.get(t.prefixUri(e),Object.assign({params:s},i)).pipe((0,r.K)(t=>this.errorHandler.handle(t,e,i)))}post(e,n=null){return this.httpClient.post(t.prefixUri(e),n).pipe((0,r.K)(t=>this.errorHandler.handle(t,e)))}put(e,n={}){return n=this.spoofHttpMethod(n,"PUT"),this.httpClient.post(t.prefixUri(e),n).pipe((0,r.K)(t=>this.errorHandler.handle(t,e)))}delete(e,n={}){return n=this.spoofHttpMethod(n,"DELETE"),this.httpClient.post(t.prefixUri(e),n).pipe((0,r.K)(t=>this.errorHandler.handle(t,e)))}postWithProgress(e,n){const o=new i.aW("POST",t.prefixUri(e),n,{reportProgress:!0});return this.httpClient.request(o).pipe((0,r.K)(t=>this.errorHandler.handle(t,e)),(0,s.h)(t=>[i.dt.Sent,i.dt.UploadProgress,i.dt.Response].includes(t.type)))}transformQueryParams(t){let e=new i.LE;return t&&Object.entries(t).forEach(([t,n])=>{e=e.append(t,null==n?"":n)}),e}spoofHttpMethod(t,e){return t instanceof FormData?t.append("_method",e):t._method=e,t}}return t.prefix="secure",t.\u0275fac=function(e){return new(e||t)(o.LFG(i.eN),o.LFG(a.k))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},80022:function(t,e,n){"use strict";n.d(e,{k:function(){return l}});var i=n(31225),r=n(36024),s=n(35366),o=n(3950),a=n(73234);let l=(()=>{class t{constructor(t,e){this.i18n=t,this.toast=e}handle(t,e,n={}){const s="object"==typeof t.error&&null!==t.error?t.error:{};if(s.status=t.status,s.type="http",s.errors||(s.errors={}),Object.keys(s.errors).forEach(t=>{const e=s.errors[t];s.errors[t]=Array.isArray(e)?e[0]:e}),n.suppressAuthToast||403!==s.status&&401!==s.status){if(422===s.status&&s.message&&!Object.keys(s.errors).length)this.toast.open(s.message,{duration:15e3});else if(500===s.status){const t=((null==s?void 0:s.message)||r.v.Default).substring(0,200);this.toast.open(t,{duration:15e3})}}else this.handle403Error(s);return(0,i._)(s)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(o.Z),s.LFG(a.F))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},36024:function(t,e,n){"use strict";n.d(e,{v:function(){return i},h:function(){return r}});var i=function(t){return t.Default="There was an issue. Please try again later.",t.DefaultUpload="Could not upload file. Please try again later.",t}({});const r="https://support.vebto.com/help-center/articles/180/how-to-increase-file-maximum-upload-size"},9823:function(t,e,n){"use strict";n.d(e,{F:function(){return u}});var i=n(48318),r=n(40878),s=n(1055),o=n(68515),a=n(35366),l=n(42693),c=n(80022);let u=(()=>{class t extends o.r{constructor(t,e){super(t,e),this.http=t,this.errorHandler=e,this.cache={}}getWithCache(t,e={}){const n=this.makeCacheKey(t,e);if(this.cache[n]instanceof i.y)return this.cache[n];if(this.cache[n])return(0,r.of)(this.cache[n]);{const i=this.get(t,e).pipe((0,s.B)());return i.subscribe(t=>this.cache[n]=t,()=>{}),this.cache[n]=i}}post(t,e){return this.clearCache(),super.post(t,e)}put(t,e){return this.clearCache(),super.put(t,e)}delete(t,e){return this.clearCache(),super.delete(t,e)}clearCache(){this.cache={}}makeCacheKey(t,e){return t+JSON.stringify(e)}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(l.eN),a.LFG(c.k))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},92631:function(t,e,n){"use strict";n.d(e,{N:function(){return r}});var i=n(35366);let r=(()=>{class t{get(t){const e=this.getCookieRegExp(t).exec(document.cookie);return e&&e[1]}set(t,e,n=30){const i=new Date;i.setDate(i.getDate()+n),document.cookie=`${t}=${e}; expires=${i.toUTCString()}; path=/; SameSite=Strict`}getCookieRegExp(t){const e=t.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+e+"|;\\s*"+e+")=(.*?)(?:;|$)","g")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},36402:function(t,e,n){"use strict";n.d(e,{m:function(){return r}});var i=n(35366);let r=(()=>{class t{constructor(){this.storage=this.localStorageAvailable()?localStorage:null}get(t,e){if(!this.storage)return e;let n;try{n=JSON.parse(this.storage.getItem(t))}catch(i){}return null==n?e:n}set(t,e){if(!this.storage)return null;e=JSON.stringify(e),this.storage.setItem(t,e)}remove(t){if(!this.storage)return null;this.storage.removeItem(t)}localStorageAvailable(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!0}catch(t){return!1}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},2862:function(t,e,n){"use strict";n.d(e,{K:function(){return u}});var i=n(64762),r=n(35366),s=n(88195),o=n(68515),a=n(78733),l=n(63337),c=n(73234);let u=(()=>{class t{constructor(t,e,n,i,r){this.settings=t,this.http=e,this.lazyLoader=n,this.router=i,this.toast=r}enabledFor(t){return!this.router.url.includes("admin")&&this.settings.get("recaptcha.site_key")&&this.settings.get("recaptcha.secret_key")&&this.settings.get(`recaptcha.enable_for_${t}`)}loadIfEnableFor(t){if(this.enabledFor(t))return this.load()}load(){return this.lazyLoader.loadAsset("https://www.google.com/recaptcha/api.js?render="+this.settings.get("recaptcha.site_key"),{type:"js"})}verify(t){return(0,i.mG)(this,void 0,void 0,function*(){if(!window.grecaptcha||!this.enabledFor(t))return!0;const e=yield this.callRecaptcha(t);return e||this.toast.open("Could not verify you are human."),e})}callRecaptcha(t){return new Promise(e=>(0,i.mG)(this,void 0,void 0,function*(){yield this.load(),window.grecaptcha.ready(()=>(0,i.mG)(this,void 0,void 0,function*(){const n=yield grecaptcha.execute(this.settings.get("recaptcha.site_key"),{action:t});this.http.post("recaptcha/verify",{token:n}).subscribe(t=>e(t.success))}))}))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(s.Z),r.LFG(o.r),r.LFG(a.j),r.LFG(l.F0),r.LFG(c.F))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},25051:function(t,e,n){"use strict";n.d(e,{l:function(){return s}});var i=n(35366),r=n(9823);let s=(()=>{class t{constructor(t){this.httpClient=t}get(e,n={}){return this.httpClient.getWithCache(`${t.BASE_URI}/${e.join(",")}`,n)}clearCache(){this.httpClient.clearCache()}}return t.BASE_URI="value-lists",t.\u0275fac=function(e){return new(e||t)(i.LFG(r.F))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},131:function(t,e,n){"use strict";n.d(e,{f:function(){return a}});var i=n(78512),r=n(35366),s=n(92631),o=n(88195);let a=(()=>{class t{constructor(t,e){this.cookie=t,this.settings=e,this.selectedTheme$=new i.X(null),this.rootEl=document.documentElement}registerThemes(t){this.registeredThemes=t||{},this.select(this.getPreferredTheme())}select(t){const e=this.registeredThemes[t];e&&(this.selectedTheme$.next(e),this.setPreferredTheme(t),e.is_dark?(this.rootEl.classList.remove("be-light-mode"),this.rootEl.classList.add("be-dark-mode")):(this.rootEl.classList.remove("be-dark-mode"),this.rootEl.classList.add("be-light-mode")),Object.entries(e.colors).forEach(([t,e])=>{this.rootEl.style.setProperty(t,e)}))}toggle(){this.select(this.selectedTheme$.value.is_dark?"light":"dark")}isDarkMode(){return this.selectedTheme$.value&&this.selectedTheme$.value.is_dark}getColor(t){return t.startsWith("--be-")||(t="--be-"+t),this.selectedTheme$.value.colors[t]}setRootEl(t){this.rootEl=t}getPreferredTheme(){const t=this.settings.get("themes.default_mode","light");return this.settings.get("themes.user_change")&&this.cookie.get("theme")||t}setPreferredTheme(t){this.cookie.set("theme",t,90)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(s.N),r.LFG(o.Z))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},70941:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var i=n(35366),r=n(68515),s=n(88195);let o=(()=>{class t{constructor(t,e){this.http=t,this.settings=e}all(){return this.http.get("localizations")}get(t){return this.http.get("localizations/"+t)}create(t){return this.http.post("localizations",t)}update(t,e){return this.http.put("localizations/"+t,e)}delete(t){return this.http.delete("localizations/"+t)}setDefault(t){return this.settings.save({server:{app_locale:t.language}})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.r),i.LFG(s.Z))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},38116:function(t,e,n){"use strict";n.d(e,{P:function(){return s}});var i=n(35366),r=n(3950);let s=(()=>{class t{constructor(t,e){this.el=t,this.i18n=e,this.subscriptions=[]}ngAfterViewInit(){const t=this.i18n.localizationChange.subscribe(()=>this.translate());this.subscriptions.push(t),this.translate()}ngOnChanges(t){t.firstChange||this.translate()}translate(){if(!this.i18n.translationsEnabled()&&!this.transValues)return;const t=this.el.nativeElement;if(t.getAttribute("placeholder")){const e=t.getAttribute("placeholder");t.setAttribute("placeholder",this.i18n.t(e))}else if(t.getAttribute("title")){const e=t.getAttribute("title");t.setAttribute("title",this.i18n.t(e))}else this.translateTextContent(t)}translateTextContent(t){const e=Array.from(t.childNodes);e.sort((t,e)=>t.nodeType===Node.TEXT_NODE?-1:1);for(let n=0;n<e.length;n++){const t=e[n],i=t.textContent.trim();if(t.nodeType===Node.TEXT_NODE&&i.length>1)return this.originalValue||(this.originalValue=i),t.nodeValue=this.i18n.t(this.originalValue,this.transValues);if(this.translateTextContent(t))return}}ngOnDestroy(){this.subscriptions.filter(t=>!!t).forEach(t=>t.unsubscribe()),this.subscriptions=[]}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(r.Z))},t.\u0275dir=i.lG2({type:t,selectors:[["","trans",""],["","trans-placeholder",""],["","trans-title",""]],inputs:{transValues:"transValues"},features:[i.TTD]}),t})()},40450:function(t,e,n){"use strict";n.d(e,{R:function(){return s}});var i=n(35366),r=n(3950);let s=(()=>{class t{constructor(t){this.i18n=t}transform(t,e){return this.i18n.t(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.Z,16))},t.\u0275pipe=i.Yjl({name:"trans",type:t,pure:!0}),t})()},68400:function(t,e,n){"use strict";n.d(e,{N:function(){return r}});var i=n(35366);let r=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},3950:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(35366),r=n(88195);let s=(()=>{class t{constructor(t){this.settings=t,this.localizationChange=new i.vpe,this.localization={model:{name:"English",id:1,language:"en"},name:"",lines:{}}}t(t,e){if(!t)return"";if(!this.translationsEnabled())return this.replacePlaceholders(t,e);const n=this.localization.lines[t.toLowerCase().trim()]||t;return this.replacePlaceholders(n,e)}replacePlaceholders(t,e){return e?(Object.keys(e).forEach(n=>{const i=new RegExp(":"+n,"g");t=t.replace(i,e[n])}),t):t}isActive(t){return t.id===this.localization.model.id}setLocalization(t){t&&t.lines&&t.model&&this.localization.model.name!==t.model.name&&(t.lines=this.objectKeysToLowerCase(t.lines),this.localization=t,this.localizationChange.emit())}objectKeysToLowerCase(t){const e={};return Object.keys(t).forEach(n=>{e[n.toLowerCase()]=t[n]}),e}translationsEnabled(){return this.settings.get("i18n.enable")&&("en"!==this.localization.model.language||this.localization.model.created_at!==this.localization.model.updated_at)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.Z))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},60467:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{i:function(){return AdHostComponent}});var _common_core_utils_random_string__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(24831),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(35366),_common_core_config_settings_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(88195),_common_auth_current_user__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(28505),_common_core_utils_lazy_loader_service__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(78733);let AdHostComponent=(()=>{class AdHostComponent{constructor(t,e,n,i,r){this.el=t,this.renderer=e,this.settings=n,this.currentUser=i,this.lazyLoader=r}ngOnInit(){this.settings.get("ads.disable")||this.currentUser.isSubscribed()||(this.randomId=(0,_common_core_utils_random_string__WEBPACK_IMPORTED_MODULE_1__.O)(),this.adCode=this.settings.get(this.slot),this.adCode&&(this.addClassToHost(),this.appendAdHtml(),this.loadAdScripts().then(()=>{this.executeAdJavascript()})))}addClassToHost(){const t=`${this.slot.replace(/\./g,"-")}-host`;this.el.nativeElement.classList.add(t)}ngOnDestroy(){delete window.google_ad_modifications}appendAdHtml(){const t=this.adCode.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").trim();t&&(this.el.nativeElement.innerHTML=t)}executeAdJavascript(){const pattern=/<script\b[^>]*>([\s\S]*?)<\/script>/g;let content;for(;content=pattern.exec(this.adCode);)if(content[1]){const r="var d = document.createElement('div'); d.innerHTML = $1; document.getElementById('"+this.randomId+"').appendChild(d.firstChild);",toEval=content[1].replace(/document.write\((.+?)\);/,r);eval(toEval)}}loadAdScripts(){const t=[],e=/<script.*?src=['"](.*?)['"]/g;let n;for(;n=e.exec(this.adCode);)n[1]&&t.push(this.lazyLoader.loadAsset(n[1],{type:"js",parentEl:this.el.nativeElement}));return Promise.all(t)}}return AdHostComponent.\u0275fac=function(t){return new(t||AdHostComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__.Y36(_angular_core__WEBPACK_IMPORTED_MODULE_2__.SBq),_angular_core__WEBPACK_IMPORTED_MODULE_2__.Y36(_angular_core__WEBPACK_IMPORTED_MODULE_2__.Qsj),_angular_core__WEBPACK_IMPORTED_MODULE_2__.Y36(_common_core_config_settings_service__WEBPACK_IMPORTED_MODULE_0__.Z),_angular_core__WEBPACK_IMPORTED_MODULE_2__.Y36(_common_auth_current_user__WEBPACK_IMPORTED_MODULE_3__.I),_angular_core__WEBPACK_IMPORTED_MODULE_2__.Y36(_common_core_utils_lazy_loader_service__WEBPACK_IMPORTED_MODULE_4__.j))},AdHostComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_2__.Xpm({type:AdHostComponent,selectors:[["ad-host"]],hostVars:1,hostBindings:function(t,e){2&t&&_angular_core__WEBPACK_IMPORTED_MODULE_2__.Ikx("id",e.randomId)},inputs:{slot:"slot"},decls:0,vars:0,template:function(t,e){},styles:["ad-host{display:flex;align-items:center;justify-content:center;width:100%;max-width:100%;overflow:hidden;min-height:90px;max-height:600px}ad-host:empty{display:none}ad-host.margin-bottom{margin-bottom:15px}ad-host.margin-top{margin-top:15px}ad-host>:not(img){width:100%;height:100%;max-width:1200px;min-height:90px;max-height:600px}@media only screen and (max-width:599.99px){ad-host>:not(img){max-width:370px}}ad-host img{margin:auto}"],encapsulation:2,changeDetection:0}),AdHostComponent})()},12188:function(t,e,n){"use strict";n.d(e,{v:function(){return s}});var i=n(61116),r=n(35366);let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez]]}),t})()},71294:function(t,e,n){"use strict";n.d(e,{S:function(){return o}});var i=n(34546),r=n(78512),s=n(35366);let o=(()=>{class t{constructor(t){this.breakpointObserver=t,this.isMobile$=new r.X(!1),this.isTablet$=new r.X(!1),this.breakpointObserver.observe(i.u3.Handset).subscribe(t=>{this.isMobile$.next(t.matches)}),this.breakpointObserver.observe(i.u3.Tablet).subscribe(t=>{this.isTablet$.next(t.matches)})}observe(t){return this.breakpointObserver.observe(t)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(i.Yg))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},4694:function(t,e,n){"use strict";n.d(e,{z:function(){return h}});var i=n(92935),r=n(35366),s=n(3950),o=n(88195),a=n(77307),l=n(61116),c=n(84369);function u(t,e){if(1&t&&(r.TgZ(0,"p",9),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.data.bodyBold)}}let h=(()=>{class t{constructor(t,e,n,i){this.dialogRef=t,this.data=e,this.i18n=n,this.settings=i}ngOnInit(){this.data.ok||(this.data.ok="Confirm"),this.data.cancel||(this.data.cancel="Cancel");for(const t in this.data)"string"==typeof this.data[t]&&(this.data[t]=this.i18n.t(this.data[t],this.data.replacements))}confirm(){this.dialogRef.close(!0)}close(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.so),r.Y36(i.WI),r.Y36(s.Z),r.Y36(o.Z))},t.\u0275cmp=r.Xpm({type:t,selectors:[["confirm-modal"]],decls:14,vars:5,consts:[[1,"modal-header"],["mat-dialog-title","",1,"modal-title"],["type","button","tabindex","-1",1,"close-button","no-style",3,"click"],["svgIcon","close"],["mat-dialog-content","",1,"mat-dialog-contents"],["class","bold",4,"ngIf"],["mat-dialog-actions","",1,"buttons","right","mat-dialog-actions"],["type","button","mat-button","",1,"button","cancel","cancel-button",3,"click"],["type","submit","mat-raised-button","","color","accent","cdkFocusInitial","",1,"button","primary","submit-button",3,"click"],[1,"bold"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h2",1),r._uU(2),r.qZA(),r.TgZ(3,"button",2),r.NdJ("click",function(){return e.close()}),r._UZ(4,"mat-icon",3),r.qZA(),r.qZA(),r.TgZ(5,"div",4),r.TgZ(6,"p"),r._uU(7),r.qZA(),r.YNc(8,u,2,1,"p",5),r.qZA(),r.TgZ(9,"div",6),r.TgZ(10,"button",7),r.NdJ("click",function(){return e.close()}),r._uU(11),r.qZA(),r.TgZ(12,"button",8),r.NdJ("click",function(){return e.confirm()}),r._uU(13),r.qZA(),r.qZA()),2&t&&(r.xp6(2),r.Oqu(e.data.title),r.xp6(5),r.Oqu(e.data.body),r.xp6(1),r.Q6J("ngIf",e.data.bodyBold),r.xp6(3),r.Oqu(e.data.cancel),r.xp6(2),r.Oqu(e.data.ok))},directives:[i.uh,a.Hw,i.xY,l.O5,i.H8,c.lW],styles:["[_nghost-%COMP%]{display:block;max-width:500px}.modal-header[_ngcontent-%COMP%]{margin-bottom:10px}.bold[_ngcontent-%COMP%]{font-weight:500}p[_ngcontent-%COMP%]{font-size:1.5rem}"],changeDetection:0}),t})()},35944:function(t,e,n){"use strict";n.d(e,{K:function(){return E}});var i=n(81352),r=n(93034),s=n(73322),o=n(98720),a=n(84698),l=n(35366),c=n(88195),u=n(28505),h=n(93717),d=n(61116),p=n(38116),f=n(77307),m=n(63337);function g(t,e){if(1&t&&(l.TgZ(0,"div",2),l._uU(1),l.qZA()),2&t){const t=l.oxw();l.xp6(1),l.Oqu(t.menu.name)}}function _(t,e){if(1&t&&l._UZ(0,"mat-icon",9),2&t){const t=l.oxw(3).$implicit;l.Q6J("svgIcon",t.icon)}}function b(t,e){if(1&t&&(l.TgZ(0,"a",6),l.YNc(1,_,1,1,"mat-icon",7),l.TgZ(2,"span",8),l._uU(3),l.qZA(),l.qZA()),2&t){const t=l.oxw(2).$implicit,e=l.oxw();l.Gre("nav-item custom-menu-item link-nav-item ",e.itemClass,""),l.Q6J("href",t.action,l.LSH)("ngClass",e.toSnakeCase(t.label))("target",t.target),l.xp6(1),l.Q6J("ngIf",t.icon),l.xp6(2),l.Oqu(t.label)}}function v(t,e){if(1&t&&l._UZ(0,"mat-icon",9),2&t){const t=l.oxw(4).$implicit;l.Q6J("svgIcon",t.icon)}}const y=function(t){return{exact:t}};function w(t,e){if(1&t&&(l.TgZ(0,"a",11),l.YNc(1,v,1,1,"mat-icon",7),l.TgZ(2,"span",8),l._uU(3),l.qZA(),l.qZA()),2&t){const t=l.oxw().ngIf,e=l.oxw(2).$implicit,n=l.oxw();l.Gre("nav-item custom-menu-item route-nav-item ",n.itemClass,""),l.Q6J("routerLink","/"+t.link)("queryParams",t.queryParams)("ngClass",n.toSnakeCase(e.label))("routerLinkActiveOptions",l.VKq(10,y,"/"===e.action||e.activeExact))("target",e.target),l.xp6(1),l.Q6J("ngIf",e.icon),l.xp6(2),l.Oqu(e.label)}}function x(t,e){1&t&&(l.ynx(0),l.YNc(1,w,4,12,"a",10),l.BQk()),2&t&&(l.xp6(1),l.Q6J("ngSwitchCase","route"))}function C(t,e){if(1&t&&(l.ynx(0),l.ynx(1,4),l.YNc(2,b,4,8,"a",5),l.YNc(3,x,2,1,"ng-container",3),l.BQk(),l.BQk()),2&t){const t=l.oxw().$implicit,e=l.oxw();l.xp6(1),l.Q6J("ngSwitch",e.getItemType(t)),l.xp6(1),l.Q6J("ngSwitchCase","link"),l.xp6(1),l.Q6J("ngIf",e.parseRoute(t.action))}}function k(t,e){if(1&t&&(l.ynx(0),l.YNc(1,C,4,3,"ng-container",3),l.BQk()),2&t){const t=e.$implicit,n=l.oxw();l.xp6(1),l.Q6J("ngIf",n.shouldShow(null==t?null:t.condition))}}const A=["*"];let E=(()=>{class t{constructor(t,e,n,r,s){this.settings=t,this.currentUser=e,this.changeDetector=n,this.appearance=r,this.cd=s,this.shouldHide=!1,this.vertical=!1,this.horizontal=!1,this.compact=!1,this.showTitle=!1,this.menu=new i.v,this.subscriptions=[]}ngOnInit(){if(this.initMenu(),this.appearance.active){const t=this.settings.all$().pipe((0,a.T)(1),("menus",(0,o.x)((t,e)=>t.menus===e.menus))).subscribe(()=>{this.initMenu(),this.cd.markForCheck()});this.subscriptions.push(t)}}ngOnDestroy(){this.subscriptions.forEach(t=>{t&&t.unsubscribe()})}toSnakeCase(t){return t?(0,r.f)(t):null}shouldShow(t){if(!t)return!0;if(Array.isArray(t))return t.every(t=>this.shouldShow(t));if("function"==typeof t)return t(this.currentUser,this.settings);switch(t){case"auth":return this.currentUser.isLoggedIn();case"guest":return!this.currentUser.isLoggedIn();case"admin":return this.currentUser.hasPermission("admin");default:let e=!1;return t.startsWith("!")&&(t=t.substr(1),e=!0),!t.startsWith("permission:")||e!==this.currentUser.hasPermission(t.split(":")[1])}}getItemType(t){return"link"===t.type&&-1===t.action.indexOf("//")||t.action.indexOf(this.settings.getBaseUrl(!0))>-1?"route":t.type}parseRoute(t){return{link:t.split("?")[0],queryParams:(0,s.v)(t)}}initMenu(){if("string"!=typeof this.position)return void(this.menu=new i.v({items:this.position}));const t=this.settings.get("menus"),e=JSON.parse(t);if(!e)return this.shouldHide=!0;const n=e.find(t=>t.position===this.position);if(!n)return this.shouldHide=!0;this.menu=new i.v(n),this.shouldHide=!1}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(c.Z),l.Y36(u.I),l.Y36(l.sBO),l.Y36(h.f),l.Y36(l.sBO))},t.\u0275cmp=l.Xpm({type:t,selectors:[["custom-menu"]],hostVars:8,hostBindings:function(t,e){2&t&&l.ekj("hidden",e.shouldHide)("vertical",e.vertical)("horizontal",e.horizontal)("compact",e.compact)},inputs:{vertical:"vertical",horizontal:"horizontal",compact:"compact",position:"position",showTitle:"showTitle",itemClass:"itemClass"},ngContentSelectors:A,decls:3,vars:2,consts:[["class","menu-title",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"menu-title"],[4,"ngIf"],[3,"ngSwitch"],[3,"class","href","ngClass","target",4,"ngSwitchCase"],[3,"href","ngClass","target"],[3,"svgIcon",4,"ngIf"],["trans","",1,"text"],[3,"svgIcon"],["routerLinkActive","active",3,"class","routerLink","queryParams","ngClass","routerLinkActiveOptions","target",4,"ngSwitchCase"],["routerLinkActive","active",3,"routerLink","queryParams","ngClass","routerLinkActiveOptions","target"]],template:function(t,e){1&t&&(l.F$t(),l.YNc(0,g,2,1,"div",0),l.YNc(1,k,2,1,"ng-container",1),l.Hsn(2)),2&t&&(l.Q6J("ngIf",e.showTitle),l.xp6(1),l.Q6J("ngForOf",e.menu.items))},directives:[d.O5,d.sg,d.RF,d.n9,d.mk,p.P,f.Hw,m.yS,m.Od],styles:["[_nghost-%COMP%]{white-space:nowrap;max-width:100%}.mat-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:8px}.custom-menu-item[_ngcontent-%COMP%]{white-space:nowrap;border-radius:4px;outline:none}.vertical[_nghost-%COMP%]   .custom-menu-item[_ngcontent-%COMP%], .vertical   [_nghost-%COMP%]   .custom-menu-item[_ngcontent-%COMP%]{display:block;color:var(--be-secondary-text);padding:12px 16px;border-left:4px solid transparent;margin-bottom:8px}.vertical[_nghost-%COMP%]   .active[_ngcontent-%COMP%], .vertical   [_nghost-%COMP%]   .active[_ngcontent-%COMP%]{background-color:var(--be-accent-emphasis);border-color:var(--be-accent-default);color:var(--be-text)}.vertical[_nghost-%COMP%]   .text[_ngcontent-%COMP%], .vertical   [_nghost-%COMP%]   .text[_ngcontent-%COMP%]{font-weight:500;text-transform:capitalize}.horizontal[_nghost-%COMP%], .horizontal   [_nghost-%COMP%]{overflow:hidden}.horizontal[_nghost-%COMP%]   .custom-menu-item[_ngcontent-%COMP%], .horizontal   [_nghost-%COMP%]   .custom-menu-item[_ngcontent-%COMP%]{display:inline-block;padding:5px 15px;color:inherit}.horizontal[_nghost-%COMP%]   .custom-menu-item[_ngcontent-%COMP%]:hover, .horizontal   [_nghost-%COMP%]   .custom-menu-item[_ngcontent-%COMP%]:hover{text-decoration:underline}.horizontal[_nghost-%COMP%]   .active[_ngcontent-%COMP%], .horizontal   [_nghost-%COMP%]   .active[_ngcontent-%COMP%], .horizontal[_nghost-%COMP%]   .router-link-active[_ngcontent-%COMP%], .horizontal   [_nghost-%COMP%]   .router-link-active[_ngcontent-%COMP%]{color:var(--be-accent-contrast);background-color:var(--be-primary-lighter)}.color-accent[_nghost-%COMP%]   .active[_ngcontent-%COMP%], .color-accent   [_nghost-%COMP%]   .active[_ngcontent-%COMP%], .color-accent[_nghost-%COMP%]   .router-link-active[_ngcontent-%COMP%], .color-accent   [_nghost-%COMP%]   .router-link-active[_ngcontent-%COMP%]{color:var(--be-accent-contrast);background-color:var(--be-accent-emphasis)}.compact[_nghost-%COMP%]   .text[_ngcontent-%COMP%], .compact   [_nghost-%COMP%]   .text[_ngcontent-%COMP%]{display:none}"],changeDetection:0}),t})()},29779:function(t,e,n){"use strict";n.d(e,{N:function(){return l}});var i=n(61116),r=n(63337),s=n(77307),o=n(68400),a=n(35366);let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[i.ez,r.Bz,s.Ps,o.N]]}),t})()},81352:function(t,e,n){"use strict";n.d(e,{v:function(){return i}});class i{constructor(t={}){this.position="header",this.items=[];for(const e in t)this[e]=t[e]}}},24859:function(t,e,n){"use strict";n.d(e,{u:function(){return s}});var i=n(35366),r=n(92935);let s=(()=>{class t{constructor(t){this.dialog=t}open(t,e={},n={}){return e||(e={}),Array.isArray(n.panelClass)||(n.panelClass=[n.panelClass]),void 0===n.restoreFocus&&(n.restoreFocus=!1),n.panelClass.push("be-modal"),this.dialog.open(t,Object.assign(Object.assign({},n),{data:e}))}show(t,e={}){return this.open(t,e)}anyDialogOpen(){return this.dialog.openDialogs.length>0}closeAll(){this.dialog.closeAll()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.uw))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},58901:function(t,e,n){"use strict";n.d(e,{j:function(){return o}});var i=n(66213),r=n(35366),s=n(88195);let o=(()=>{class t{constructor(t){this.settings=t}transform(t){return t&&"none"!==t?t.includes("linear-gradient")?t:((0,i.s)(t)||(t=t.startsWith("storage")?`${this.settings.getBaseUrl()}/${t}`:this.settings.getAssetUrl(`images/${t}`)),`url(${t})`):null}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(s.Z,16))},t.\u0275pipe=r.Yjl({name:"backgroundUrl",type:t,pure:!0}),t})()},40985:function(t,e,n){"use strict";n.d(e,{K:function(){return s}});var i=n(66213),r=n(35366);let s=(()=>{class t{transform(t){return t?t.includes("youtube")?"https://www.youtube.com/s/desktop/ca54e1bd/img/favicon.ico":function(t){return t?((0,i.s)(t)||(t=window.location.protocol+"//"+window.location.host),"https://www.google.com/s2/favicons?domain="+new URL(t).origin):null}(t):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"favicon",type:t,pure:!0}),t})()},50615:function(t,e,n){"use strict";n.d(e,{X:function(){return o}});var i=n(61116),r=n(58901),s=n(35366);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({providers:[r.j],imports:[[i.ez]]}),t})()},2406:function(t,e,n){"use strict";n.d(e,{l:function(){return o}});var i=n(35366),r=n(61116),s=n(88195);let o=(()=>{class t{constructor(t,e){this.settings=t,this._locale=e,this.format=this.settings.get("dates.format","yyyy-MM-dd"),this.angularPipe=new r.uU(e)}transform(t,e,n,i){if(t&&"string"==typeof t){if(t.endsWith("ago"))return t;t=t.replace(/\//g,"-")}return this.angularPipe.transform(t,e||this.format,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(s.Z,16),i.Y36(i.soG,16))},t.\u0275pipe=i.Yjl({name:"formattedDate",type:t,pure:!0}),t})()},62181:function(t,e,n){"use strict";n.d(e,{A:function(){return f}});var i=n(78512),r=n(66213),s=n(35366),o=n(88195),a=n(61116),l=n(92552),c=n(77307);function u(t,e){if(1&t&&s._UZ(0,"img",4),2&t){const t=s.oxw();s.Q6J("src",t.src,s.LSH)("alt",t.alt)("ngClass",t.className)}}function h(t,e){if(1&t&&s._UZ(0,"img",4),2&t){const t=s.oxw();s.Q6J("src",t.src,s.LSH)("alt",t.alt)("ngClass",t.className)}}function d(t,e){if(1&t&&s._UZ(0,"svg-image",5),2&t){const t=s.oxw();s.Q6J("name",t.src)("ngClass",t.className)}}function p(t,e){if(1&t&&s._UZ(0,"mat-icon",6),2&t){const t=s.oxw();s.Q6J("svgIcon",t.src)("ngClass",t.className)}}let f=(()=>{class t{constructor(t,e){this.settings=t,this.el=e,this.alt="",this.className="",this.type$=new i.X(null)}ngOnInit(){this.type$.subscribe(t=>{this.el.nativeElement.classList.remove("image"),this.el.nativeElement.classList.remove("icon"),this.el.nativeElement.classList.remove("svg"),this.el.nativeElement.classList.add("absolute"===t||"relative"===t?"image":t)})}ngOnChanges(t){this.src&&((0,r.s)(this.src)?this.type$.next("absolute"):!this.src.includes("/")&&this.src.endsWith(".svg")?this.type$.next("svg"):this.src.indexOf(".")>-1?this.type$.next("relative"):this.type$.next("icon"))}}return t.\u0275fac=function(e){return new(e||t)(s.Y36(o.Z),s.Y36(s.SBq))},t.\u0275cmp=s.Xpm({type:t,selectors:[["image-or-icon"]],inputs:{src:"src",alt:"alt",className:"className"},features:[s.TTD],decls:6,vars:7,consts:[[3,"ngSwitch"],[3,"src","alt","ngClass",4,"ngSwitchCase"],[3,"name","ngClass",4,"ngSwitchCase"],[3,"svgIcon","ngClass",4,"ngSwitchCase"],[3,"src","alt","ngClass"],[3,"name","ngClass"],[3,"svgIcon","ngClass"]],template:function(t,e){1&t&&(s.ynx(0,0),s.ALo(1,"async"),s.YNc(2,u,1,3,"img",1),s.YNc(3,h,1,3,"img",1),s.YNc(4,d,1,2,"svg-image",2),s.YNc(5,p,1,2,"mat-icon",3),s.BQk()),2&t&&(s.Q6J("ngSwitch",s.lcZ(1,5,e.type$)),s.xp6(2),s.Q6J("ngSwitchCase","absolute"),s.xp6(1),s.Q6J("ngSwitchCase","relative"),s.xp6(1),s.Q6J("ngSwitchCase","svg"),s.xp6(1),s.Q6J("ngSwitchCase","icon"))},directives:[a.RF,a.n9,a.mk,l.L,c.Hw],pipes:[a.Ov],styles:[".inherit-size[_nghost-%COMP%]   img[_ngcontent-%COMP%], .inherit-size   [_nghost-%COMP%]   img[_ngcontent-%COMP%], .inherit-size[_nghost-%COMP%]   svg-image[_ngcontent-%COMP%], .inherit-size   [_nghost-%COMP%]   svg-image[_ngcontent-%COMP%]{width:100%;height:100%}.icon[_nghost-%COMP%], .icon   [_nghost-%COMP%]{display:inline-block;width:24px;height:24px}.mat-icon[_ngcontent-%COMP%]{width:100%;height:100%}img[_ngcontent-%COMP%], svg-image[_ngcontent-%COMP%]{max-width:100%;max-height:100%;height:auto;-o-object-fit:cover;object-fit:cover;-o-object-position:top;object-position:top;margin:auto}"],changeDetection:0}),t})()},45052:function(t,e,n){"use strict";n.d(e,{T:function(){return a}});var i=n(61116),r=n(77307),s=n(59447),o=n(35366);let a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[i.ez,r.Ps,s.a]]}),t})()},42300:function(t,e,n){"use strict";n.d(e,{Q:function(){return s}});var i=n(99713),r=n(35366);let s=(()=>{class t{constructor(){this.isVisible=!1}show(){this.isVisible=!0}hide(){this.isVisible=!1}toggle(){this.isVisible=!this.isVisible}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["loading-indicator"]],hostVars:1,hostBindings:function(t,e){2&t&&r.d8E("@visibility",e.isVisible)},inputs:{isVisible:"isVisible"},decls:9,vars:0,consts:[[1,"la-ball-spin-clockwise","spinner"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r._UZ(1,"div"),r._UZ(2,"div"),r._UZ(3,"div"),r._UZ(4,"div"),r._UZ(5,"div"),r._UZ(6,"div"),r._UZ(7,"div"),r._UZ(8,"div"),r.qZA())},styles:[".overlay[_nghost-%COMP%], .overlay   [_nghost-%COMP%]{position:fixed;width:100vw;height:100vh;top:0;left:0;z-index:10;background-color:hsla(0,0%,98%,.7)}.overlay[_nghost-%COMP%]   .spinner[_ngcontent-%COMP%], .overlay   [_nghost-%COMP%]   .spinner[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 32px);left:calc(50% - 32px)}.overlay-partial[_nghost-%COMP%], .overlay-partial   [_nghost-%COMP%]{position:absolute;width:100%;height:100%}.small[_nghost-%COMP%], .small   [_nghost-%COMP%]{width:22.8571428571px;height:22.8571428571px}.small[_nghost-%COMP%]   .spinner[_ngcontent-%COMP%], .small   [_nghost-%COMP%]   .spinner[_ngcontent-%COMP%]{width:22.8571428571px;height:22.8571428571px}.small[_nghost-%COMP%]   .spinner[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .small   [_nghost-%COMP%]   .spinner[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:5.7142857143px;height:5.7142857143px;margin-top:-2.8571428571px;margin-left:-2.8571428571px}.inline[_nghost-%COMP%], .inline   [_nghost-%COMP%]{position:relative;width:100%}.inline[_nghost-%COMP%]   .spinner[_ngcontent-%COMP%], .inline   [_nghost-%COMP%]   .spinner[_ngcontent-%COMP%]{margin:auto}[_nghost-%COMP%]{opacity:0;display:none;position:absolute;width:64px;height:64px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent}[_nghost-%COMP%]:empty{display:none}.spinner[_ngcontent-%COMP%]{width:64px;height:64px;color:var(--be-accent-default)}.spinner[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.be-dark-mode.overlay[_nghost-%COMP%], .be-dark-mode   .overlay[_nghost-%COMP%]{background-color:rgba(0,0,0,.4)}.center[_nghost-%COMP%], .center   [_nghost-%COMP%]{top:calc(50% - 32px);left:calc(50% - 32px)}.overlay-light[_nghost-%COMP%], .overlay-light   [_nghost-%COMP%]{background-color:hsla(0,0%,100%,.9)}.overlay-dark[_nghost-%COMP%], .overlay-dark   [_nghost-%COMP%]{background-color:rgba(0,0,0,.1)}.overlay-transparent[_nghost-%COMP%], .overlay-transparent   [_nghost-%COMP%]{background-color:transparent}.la-ball-spin-clockwise[_ngcontent-%COMP%], .la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise[_ngcontent-%COMP%]{display:block;font-size:0}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid;position:absolute;top:50%;left:50%;border-radius:100%;-webkit-animation:ball-spin-clockwise 1s ease-in-out infinite;animation:ball-spin-clockwise 1s ease-in-out infinite}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}@-webkit-keyframes ball-spin-clockwise{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}@keyframes ball-spin-clockwise{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}"],data:{animation:[(0,i.X$)("visibility",[(0,i.SB)("true",(0,i.oB)({opacity:"1",display:"block"})),(0,i.SB)("false",(0,i.oB)({opacity:"0",display:"none"})),(0,i.eR)("true <=> false",(0,i.jt)("125ms cubic-bezier(.4,0,.2,1)"))])]},changeDetection:0}),t})()},99808:function(t,e,n){"use strict";n.d(e,{p:function(){return s}});var i=n(61116),r=n(35366);let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez]]}),t})()},43295:function(t,e,n){"use strict";n.d(e,{F:function(){return S}});var i=n(35366),r=n(28505),s=n(71228),o=n(88195),a=n(71294),l=n(131),c=n(61116),u=n(63337),h=n(97070),d=n(77307),p=n(38116);function f(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",11),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).onItemClick()}),i._UZ(1,"mat-icon",12),i.TgZ(2,"span",7),i._uU(3,"Admin Area"),i.qZA(),i.qZA()}}function m(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",13),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).onItemClick()}),i._UZ(1,"mat-icon",14),i.TgZ(2,"span",7),i._uU(3,"Notifications"),i.qZA(),i.qZA()}}function g(t,e){if(1&t&&(i.TgZ(0,"a",17),i._UZ(1,"mat-icon",18),i.TgZ(2,"span",7),i._uU(3),i.qZA(),i.qZA()),2&t){const t=i.oxw().$implicit;i.Q6J("routerLink",t.route),i.xp6(1),i.Q6J("svgIcon",t.icon),i.xp6(2),i.Oqu(t.name)}}function _(t,e){if(1&t&&(i.ynx(0),i.YNc(1,g,4,3,"a",16),i.BQk()),2&t){const t=e.$implicit,n=i.oxw(3);i.xp6(1),i.Q6J("ngIf",n.shouldShowMenuItem(t))}}function b(t,e){if(1&t&&(i.ynx(0),i.YNc(1,_,2,1,"ng-container",15),i.BQk()),2&t){const t=i.oxw(2);i.xp6(1),i.Q6J("ngForOf",t.config.get("vebto.navbar.dropdownItems"))}}function v(t,e){if(1&t){const t=i.EpF();i.ynx(0),i.TgZ(1,"a",19),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).onItemClick()}),i._UZ(2,"mat-icon",20),i.TgZ(3,"span",7),i._uU(4,"Subscription"),i.qZA(),i.qZA(),i.TgZ(5,"a",21),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).onItemClick()}),i._UZ(6,"mat-icon",22),i.TgZ(7,"span",7),i._uU(8,"Invoices"),i.qZA(),i.qZA(),i.BQk()}}function y(t,e){1&t&&(i.ynx(0),i._UZ(1,"mat-icon",25),i.TgZ(2,"span",7),i._uU(3,"Light Mode"),i.qZA(),i.BQk())}function w(t,e){1&t&&(i._UZ(0,"mat-icon",26),i.TgZ(1,"span",7),i._uU(2,"Dark Mode"),i.qZA())}function x(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",23),i.NdJ("click",function(){i.CHM(t);const e=i.oxw(2);return e.theme.toggle(),e.onItemClick()}),i.YNc(1,y,4,0,"ng-container",0),i.ALo(2,"async"),i.YNc(3,w,3,0,"ng-template",null,24,i.W1O),i.qZA()}if(2&t){const t=i.MAs(4),e=i.oxw(2);let n;i.xp6(1),i.Q6J("ngIf",null==(n=i.lcZ(2,2,e.theme.selectedTheme$))?null:n.is_dark)("ngIfElse",t)}}function C(t,e){if(1&t){const t=i.EpF();i.ynx(0),i.YNc(1,f,4,0,"a",2),i.YNc(2,m,4,0,"a",3),i.ALo(3,"async"),i.Hsn(4),i.YNc(5,b,2,1,"ng-container",4),i.TgZ(6,"a",5),i.NdJ("click",function(){return i.CHM(t),i.oxw().onItemClick()}),i._UZ(7,"mat-icon",6),i.TgZ(8,"span",7),i._uU(9,"Account Settings"),i.qZA(),i.qZA(),i.YNc(10,v,9,0,"ng-container",4),i.YNc(11,x,5,4,"div",8),i.TgZ(12,"div",9),i.NdJ("click",function(){i.CHM(t);const e=i.oxw();return e.auth.logOut(),e.onItemClick()}),i._UZ(13,"mat-icon",10),i.TgZ(14,"span",7),i._uU(15,"Log Out"),i.qZA(),i.qZA(),i.BQk()}if(2&t){const t=i.oxw();i.xp6(1),i.Q6J("ngIf",t.currentUser.hasPermission("admin.access")),i.xp6(1),i.Q6J("ngIf",t.forceNotifButton||i.lcZ(3,5,t.breakpoints.isMobile$)&&t.config.get("notifications.integrated")),i.xp6(3),i.Q6J("ngIf",!t.hideConfigItems),i.xp6(5),i.Q6J("ngIf",t.currentUser.isSubscribed()),i.xp6(1),i.Q6J("ngIf",t.config.get("themes.user_change"))}}function k(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",29),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).onItemClick()}),i._uU(1,"Register"),i.qZA()}}function A(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"a",27),i.NdJ("click",function(){return i.CHM(t),i.oxw().onItemClick()}),i._uU(1,"Login"),i.qZA(),i.YNc(2,k,2,0,"a",28)}if(2&t){const t=i.oxw();i.xp6(2),i.Q6J("ngIf",!t.config.get("registration.disable")&&!t.hideRegisterButton)}}const E=["*"];let S=(()=>{class t{constructor(t,e,n,r,s,o){this.currentUser=t,this.auth=e,this.config=n,this.breakpoints=r,this.theme=s,this.settings=o,this.hideRegisterButton=!1,this.hideConfigItems=!1,this.forceNotifButton=!1,this.itemClicked=new i.vpe}shouldShowMenuItem(t){const e=!t.permission||this.currentUser.hasPermission(t.permission),n=!t.role||this.currentUser.hasRole(t.role),i=!t.showFn||t.showFn(this.settings,this.currentUser);return e&&n&&i}onItemClick(){this.itemClicked.emit()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.I),i.Y36(s.e),i.Y36(o.Z),i.Y36(a.S),i.Y36(l.f),i.Y36(o.Z))},t.\u0275cmp=i.Xpm({type:t,selectors:[["logged-in-user-menu"]],inputs:{hideRegisterButton:"hideRegisterButton",hideConfigItems:"hideConfigItems",forceNotifButton:"forceNotifButton"},outputs:{itemClicked:"itemClicked"},ngContentSelectors:E,decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["guestMenuItems",""],["class","admin-link","mat-menu-item","","routerLink","/admin",3,"click",4,"ngIf"],["class","notifications-link","mat-menu-item","","routerLink","/notifications",3,"click",4,"ngIf"],[4,"ngIf"],["mat-menu-item","","routerLink","/account/settings",1,"account-settings-link",3,"click"],["svgIcon","settings",1,"mat-icon"],["trans",""],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",1,"logout-item",3,"click"],["svgIcon","exit-to-app"],["mat-menu-item","","routerLink","/admin",1,"admin-link",3,"click"],["svgIcon","dashboard",1,"mat-icon"],["mat-menu-item","","routerLink","/notifications",1,"notifications-link",3,"click"],["svgIcon","notifications"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"routerLink",4,"ngIf"],["mat-menu-item","",3,"routerLink"],[3,"svgIcon"],["mat-menu-item","","routerLink","/billing/subscription",1,"subscription-link",3,"click"],["svgIcon","credit-card",1,"mat-icon"],["mat-menu-item","","routerLink","/billing/invoices",1,"subscription-link",3,"click"],["svgIcon","assignment",1,"mat-icon"],["mat-menu-item","",3,"click"],["lightMode",""],["svgIcon","light-mode"],["svgIcon","dark-mode"],["routerLink","/login","mat-menu-item","","trans","",3,"click"],["routerLink","/register","mat-menu-item","","trans","",3,"click",4,"ngIf"],["routerLink","/register","mat-menu-item","","trans","",3,"click"]],template:function(t,e){if(1&t&&(i.F$t(),i.YNc(0,C,16,7,"ng-container",0),i.ALo(1,"async"),i.YNc(2,A,3,1,"ng-template",null,1,i.W1O)),2&t){const t=i.MAs(3);i.Q6J("ngIf",i.lcZ(1,2,e.currentUser.isLoggedIn$))("ngIfElse",t)}},directives:[c.O5,u.yS,h.OP,d.Hw,p.P,c.sg],pipes:[c.Ov],styles:[""],changeDetection:0}),t})()},86655:function(t,e,n){"use strict";n.d(e,{e:function(){return H}});var i=n(35366),r=n(78512),s=n(3080),o=n(79996),a=n(88195),l=n(28505),c=n(71294),u=n(131),h=n(61116),d=n(63337),p=n(84369),f=n(77307),m=n(97070),g=n(35944),_=n(43295),b=n(38116);function v(t,e){if(1&t&&(i.ynx(0),i.TgZ(1,"div",2),i._UZ(2,"img",3),i.TgZ(3,"div",4),i._uU(4),i.qZA(),i._UZ(5,"mat-icon",5),i.TgZ(6,"button",6),i._UZ(7,"mat-icon",7),i.qZA(),i.qZA(),i.TgZ(8,"mat-menu",8,9),i._UZ(10,"logged-in-user-menu"),i.qZA(),i.BQk()),2&t){const t=i.MAs(9),e=i.oxw();i.xp6(1),i.Q6J("matMenuTriggerFor",t),i.xp6(1),i.Q6J("src",e.currentUser.get("avatar"),i.LSH),i.xp6(2),i.Oqu(e.currentUser.get("email")),i.xp6(4),i.Q6J("overlapTrigger",!1)}}function y(t,e){1&t&&(i.TgZ(0,"a",12),i._uU(1,"Register"),i.qZA())}function w(t,e){if(1&t&&(i.YNc(0,y,2,0,"a",10),i.TgZ(1,"a",11),i._uU(2,"Login"),i.qZA()),2&t){const t=i.oxw();i.Q6J("ngIf",!t.config.get("registration.disable")&&!t.hideRegisterButton)}}let x=(()=>{class t{constructor(t,e,n){this.currentUser=t,this.config=e,this.breakpoints=n,this.hideRegisterButton=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(l.I),i.Y36(a.Z),i.Y36(c.S))},t.\u0275cmp=i.Xpm({type:t,selectors:[["logged-in-user-widget"]],inputs:{hideRegisterButton:"hideRegisterButton"},decls:5,vars:6,consts:[[4,"ngIf","ngIfElse"],["authButtons",""],[1,"menu-trigger",3,"matMenuTriggerFor"],[1,"avatar",3,"src"],[1,"email"],["svgIcon","arrow-drop-down",1,"dropdown-icon"],["mat-icon-button","","aria-label","Show logged in user options",1,"mobile-toggle"],["svgIcon","person"],[1,"logged-in-user-widget-menu",3,"overlapTrigger"],["menu","matMenu"],["class","register-btn","routerLink","/register","mat-button","","trans","",4,"ngIf"],["routerLink","/login","mat-raised-button","","color","accent","trans","",1,"login-btn"],["routerLink","/register","mat-button","","trans","",1,"register-btn"]],template:function(t,e){if(1&t&&(i.YNc(0,v,11,4,"ng-container",0),i.ALo(1,"async"),i.ALo(2,"async"),i.YNc(3,w,3,1,"ng-template",null,1,i.W1O)),2&t){const t=i.MAs(4);i.Q6J("ngIf",i.lcZ(1,2,e.currentUser.isLoggedIn$)||i.lcZ(2,4,e.breakpoints.isMobile$))("ngIfElse",t)}},directives:[h.O5,m.p6,f.Hw,p.lW,m.VK,_.F,d.yS,p.zs,b.P],pipes:[h.Ov],styles:["[_nghost-%COMP%]{display:block;font-weight:400;position:relative;cursor:pointer;white-space:nowrap}[_nghost-%COMP%]:empty{display:none}.menu-trigger[_ngcontent-%COMP%]{display:flex;align-items:center;max-width:250px;overflow:hidden}.email[_ngcontent-%COMP%]{margin-left:10px;overflow:hidden;text-overflow:ellipsis}.avatar[_ngcontent-%COMP%]{height:40px;width:40px;flex-shrink:0;-o-object-fit:cover;object-fit:cover;border-radius:4px}.mobile-toggle[_ngcontent-%COMP%]{display:none}@media only screen and (max-width:1550px){.email[_ngcontent-%COMP%]{display:none}}@media only screen and (max-width:1000px){.avatar[_ngcontent-%COMP%], .dropdown-icon[_ngcontent-%COMP%], .email[_ngcontent-%COMP%]{display:none}.mobile-toggle[_ngcontent-%COMP%]{display:block}}.logout-item[_ngcontent-%COMP%]{color:#f44336}.logout-item[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:inherit}a[_ngcontent-%COMP%]{text-transform:capitalize}"],changeDetection:0}),t})();var C=n(40149),k=n(21644),A=n(99713);const E=(0,A.X$)("bellAnimation",[(0,A.eR)("* => true",[(0,A.jt)("1000ms 0ms",(0,A.F4)([(0,A.oB)({visibility:A.l3,transform:"scale3d(1, 1, 1)",easing:"ease",offset:0}),(0,A.oB)({transform:"scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)",easing:"ease",offset:.1}),(0,A.oB)({transform:"scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)",easing:"ease",offset:.2}),(0,A.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)",easing:"ease",offset:.3}),(0,A.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)",easing:"ease",offset:.4}),(0,A.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)",easing:"ease",offset:.5}),(0,A.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)",easing:"ease",offset:.6}),(0,A.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)",easing:"ease",offset:.7}),(0,A.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)",easing:"ease",offset:.8}),(0,A.oB)({transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)",easing:"ease",offset:.9}),(0,A.oB)({transform:"scale3d(1, 1, 1)",easing:"ease",offset:1})]))])]);var S=n(98720),O=n(84698),T=n(98979),I=n(70549),D=n(47217);const P=["notifButton"];let F=(()=>{class t{constructor(t,e){this.overlay=t,this.notifications=e,this.animationTrigger$=new r.X(!1)}ngOnInit(){this.notifications.unreadCount$.pipe((0,S.x)(),(0,O.T)(1)).subscribe(()=>{this.animationTrigger$.next(!0)})}openNotificationPanel(){this.overlay.open(k.w,{position:C.x,mobilePosition:"center",origin:this.notifButton})}stopAnimation(){this.animationTrigger$.next(!1)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(T.T),i.Y36(I.g))},t.\u0275cmp=i.Xpm({type:t,selectors:[["notification-button"]],viewQuery:function(t,e){if(1&t&&i.Gf(P,7,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.notifButton=t.first)}},decls:6,vars:9,consts:[["type","button","mat-icon-button","",1,"notification-button",3,"click"],["notifButton",""],["svgIcon","notifications","matBadgeColor","warn","matBadgeSize","small",3,"matBadge","matBadgeHidden"]],template:function(t,e){1&t&&(i.TgZ(0,"button",0,1),i.NdJ("click",function(){return e.openNotificationPanel()}),i.TgZ(2,"mat-icon",2),i.NdJ("@bellAnimation.done",function(){return e.stopAnimation()}),i.ALo(3,"async"),i.ALo(4,"async"),i.ALo(5,"async"),i.qZA(),i.qZA()),2&t&&(i.xp6(2),i.Q6J("matBadge",i.lcZ(3,3,e.notifications.unreadCount$))("matBadgeHidden",i.lcZ(4,5,e.notifications.unreadCount$)<1)("@bellAnimation",i.lcZ(5,7,e.animationTrigger$)))},directives:[p.lW,f.Hw,D.k],pipes:[h.Ov],styles:[".mat-icon[_ngcontent-%COMP%]{-webkit-backface-visibility:hidden;backface-visibility:hidden}"],data:{animation:[E]},changeDetection:0}),t})();var M=n(40450);function R(t,e){if(1&t&&(i.TgZ(0,"a",7),i._UZ(1,"img",8),i.ALo(2,"trans"),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("alt",i.lcZ(2,2,"Site logo"))("src",t.config.get("branding.logo_light"),i.LSH)}}function L(t,e){if(1&t&&(i.TgZ(0,"a",9),i.TgZ(1,"div",10),i._uU(2),i.qZA(),i.qZA()),2&t){const t=i.oxw();i.xp6(2),i.Oqu(t.config.get("branding.site_name"))}}function Z(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",11),i.NdJ("click",function(){return i.CHM(t),i.oxw().toggleButtonClick.emit()}),i._UZ(1,"mat-icon",12),i.qZA()}}function N(t,e){if(1&t&&(i.ynx(0),i.TgZ(1,"button",13),i._UZ(2,"mat-icon",12),i.qZA(),i.TgZ(3,"mat-menu",14,15),i._UZ(5,"custom-menu",16),i.qZA(),i.BQk()),2&t){const t=i.MAs(4),e=i.oxw();i.xp6(1),i.Q6J("matMenuTriggerFor",t),i.xp6(2),i.Q6J("overlapTrigger",!1),i.xp6(2),i.Q6J("position",e.menuPosition)}}function B(t,e){if(1&t&&i._UZ(0,"custom-menu",17),2&t){const t=i.oxw();i.ekj("color-accent","accent"===t.color),i.Q6J("position",t.menuPosition)("horizontal",!0)}}function U(t,e){1&t&&i._UZ(0,"notification-button")}function q(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",22),i.NdJ("click",function(){return i.CHM(t),i.oxw(3).openMobileSearch()}),i._UZ(1,"mat-icon",23),i.qZA()}}function z(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",22),i.NdJ("click",function(){return i.CHM(t),i.oxw(3).closeMobileSearch()}),i._UZ(1,"mat-icon",24),i.qZA()}}function j(t,e){if(1&t&&(i.ynx(0),i.YNc(1,q,2,0,"button",20),i.ALo(2,"async"),i.YNc(3,z,2,0,"ng-template",null,21,i.W1O),i.BQk()),2&t){const t=i.MAs(4),e=i.oxw(2);i.xp6(1),i.Q6J("ngIf",!i.lcZ(2,2,e.mobileSearchActive$))("ngIfElse",t)}}function $(t,e){if(1&t&&(i.TgZ(0,"div",18),i.Hsn(1,1),i.YNc(2,U,1,0,"notification-button",4),i.ALo(3,"async"),i.YNc(4,j,5,4,"ng-container",4),i.ALo(5,"async"),i._UZ(6,"logged-in-user-widget",19),i.qZA()),2&t){const t=i.oxw();i.xp6(2),i.Q6J("ngIf",i.lcZ(3,3,!t.isMobile()&&t.config.get("notifications.integrated")&&t.currentUser.isLoggedIn$)),i.xp6(2),i.Q6J("ngIf",t.searchInput&&i.lcZ(5,5,t.mobileOrTablet$)),i.xp6(2),i.Q6J("hideRegisterButton",t.hideRegisterButton)}}const Y=["*",[["","rightContent",""]]],V=["*","[rightContent]"];let H=(()=>{class t{constructor(t,e,n,a,l){this.config=t,this.currentUser=e,this.breakpoints=n,this.el=a,this.themes=l,this.showToggleButton=!1,this.hideToggleBtnOnDesktop=!1,this.container=!1,this.hideRightSideActions=!1,this.hideRegisterButton=!1,this.toggleButtonClick=new i.vpe,this.transparent=!1,this.color=this.config.get("vebto.navbar.defaultColor","primary"),this.mobileSearchActive$=new r.X(!1),this.mobileOrTablet$=(0,s.aj)([this.breakpoints.isTablet$,this.breakpoints.isMobile$]).pipe((0,o.U)(t=>t[0]||t[1]))}get isPrimary(){return this.themes.isDarkMode()||"primary"===this.color}get isAccent(){return!this.themes.isDarkMode()&&"accent"===this.color}ngOnInit(){this.searchInput=this.el.nativeElement.querySelector(".nav-searchbar input"),this.searchInput&&this.searchInput.addEventListener("blur",()=>{this.closeMobileSearch()})}openMobileSearch(){this.mobileSearchActive$.next(!0),this.el.nativeElement.classList.add("mobile-search-active"),setTimeout(()=>this.searchInput.focus())}closeMobileSearch(){return this.el.nativeElement.classList.remove("mobile-search-active"),this.mobileSearchActive$.next(!1)}isMobile(){return this.breakpoints.isMobile$.value}shouldShowToggleBtn(){return this.showToggleButton&&(this.mobileOrTablet()||!this.hideToggleBtnOnDesktop)}mobileOrTablet(){return this.breakpoints.isMobile$.value||this.breakpoints.isTablet$.value}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(a.Z),i.Y36(l.I),i.Y36(c.S),i.Y36(i.SBq),i.Y36(u.f))},t.\u0275cmp=i.Xpm({type:t,selectors:[["material-navbar"]],hostVars:6,hostBindings:function(t,e){2&t&&i.ekj("transparent",e.transparent)("primary",e.isPrimary)("accent",e.isAccent)},inputs:{menuPosition:"menuPosition",showToggleButton:"showToggleButton",hideToggleBtnOnDesktop:"hideToggleBtnOnDesktop",container:"container",hideRightSideActions:"hideRightSideActions",hideRegisterButton:"hideRegisterButton",transparent:"transparent",color:"color"},outputs:{toggleButtonClick:"toggleButtonClick"},ngContentSelectors:V,decls:10,vars:12,consts:[[1,"navbar-container"],["routerLink","/","class","logo-container img-logo-container",4,"ngIf"],["routerLink","/","class","logo-container",4,"ngIf"],["class","toggle-sidebar-button","mat-icon-button","","aria-label","Toggle sidebar visibility",3,"click",4,"ngIf"],[4,"ngIf"],[3,"position","horizontal","color-accent",4,"ngIf"],["class","right-side-actions",4,"ngIf"],["routerLink","/",1,"logo-container","img-logo-container"],[1,"logo",3,"alt","src"],["routerLink","/",1,"logo-container"],[1,"text-logo"],["mat-icon-button","","aria-label","Toggle sidebar visibility",1,"toggle-sidebar-button",3,"click"],["svgIcon","menu"],["mat-icon-button","",1,"toggle-sidebar-button",3,"matMenuTriggerFor"],[3,"overlapTrigger"],["menu","matMenu"],["itemClass","mat-menu-item",3,"position"],[3,"position","horizontal"],[1,"right-side-actions"],[3,"hideRegisterButton"],["mat-icon-button","","class","mobile-search-toggle",3,"click",4,"ngIf","ngIfElse"],["closeToggle",""],["mat-icon-button","",1,"mobile-search-toggle",3,"click"],["svgIcon","search"],["svgIcon","close"]],template:function(t,e){1&t&&(i.F$t(Y),i.TgZ(0,"div",0),i.YNc(1,R,3,4,"a",1),i.YNc(2,L,3,1,"a",2),i.YNc(3,Z,2,0,"button",3),i.Hsn(4),i.YNc(5,N,6,3,"ng-container",4),i.ALo(6,"async"),i.YNc(7,B,1,4,"custom-menu",5),i.ALo(8,"async"),i.YNc(9,$,7,7,"div",6),i.qZA()),2&t&&(i.ekj("container",e.container),i.xp6(1),i.Q6J("ngIf",e.config.get("branding.logo_light")),i.xp6(1),i.Q6J("ngIf",!e.config.get("branding.logo_light")),i.xp6(1),i.Q6J("ngIf",e.shouldShowToggleBtn()),i.xp6(2),i.Q6J("ngIf",i.lcZ(6,8,e.mobileOrTablet$)&&e.menuPosition&&!e.shouldShowToggleBtn()),i.xp6(2),i.Q6J("ngIf",!i.lcZ(8,10,e.mobileOrTablet$)),i.xp6(2),i.Q6J("ngIf",!e.hideRightSideActions))},directives:[h.O5,d.yS,p.lW,f.Hw,m.p6,m.VK,g.K,x,F],pipes:[h.Ov,M.R],styles:["material-navbar{display:block;color:var(--be-accent-contrast);position:relative;z-index:2;height:70px;width:100%}material-navbar:not(.transparent).primary{background-color:var(--be-primary-default)}material-navbar:not(.transparent).primary .nav-searchbar .nav-searchbar{background-color:var(--be-primary-lighter)}material-navbar:not(.transparent).accent{background-color:var(--be-accent-default)}material-navbar:not(.transparent).accent .nav-searchbar .nav-searchbar{background-color:var(--be-accent-emphasis)}material-navbar.box-shadow{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}material-navbar .navbar-container{display:flex;align-items:center;padding:0 20px;margin:0 auto;width:100%;height:100%}material-navbar .logo-container{display:flex;align-items:center;justify-content:center;height:55%;width:auto;overflow:hidden}material-navbar .img-logo-container{flex-shrink:0}material-navbar .logo{display:block;max-height:100%;max-width:100%;width:auto;min-width:120px}material-navbar .text-logo{font-size:2.2rem;color:var(--be-accent-contrast);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}material-navbar .toggle-sidebar-button{display:block;margin:0 10px}material-navbar custom-menu{display:block;margin-left:15px;flex-shrink:0}material-navbar .mobile-search-toggle{position:relative;z-index:3;margin-right:10px}material-navbar.accent .nav-searchbar,material-navbar.primary .nav-searchbar{height:45px;max-width:650px;transition:background-color,color .1s ease-in-out;border-radius:4px;margin-left:30px;margin-right:30px}material-navbar.accent .nav-searchbar.always-white,material-navbar.accent .nav-searchbar:focus-within,material-navbar.primary .nav-searchbar.always-white,material-navbar.primary .nav-searchbar:focus-within{background-color:var(--be-background);color:var(--be-text)}material-navbar.accent .nav-searchbar.always-white::-moz-placeholder,material-navbar.accent .nav-searchbar:focus-within::-moz-placeholder,material-navbar.primary .nav-searchbar.always-white::-moz-placeholder,material-navbar.primary .nav-searchbar:focus-within::-moz-placeholder{color:var(--be-text)}material-navbar.accent .nav-searchbar.always-white:-ms-input-placeholder,material-navbar.accent .nav-searchbar:focus-within:-ms-input-placeholder,material-navbar.primary .nav-searchbar.always-white:-ms-input-placeholder,material-navbar.primary .nav-searchbar:focus-within:-ms-input-placeholder{color:var(--be-text)}material-navbar.accent .nav-searchbar.always-white::placeholder,material-navbar.accent .nav-searchbar:focus-within::placeholder,material-navbar.primary .nav-searchbar.always-white::placeholder,material-navbar.primary .nav-searchbar:focus-within::placeholder{color:var(--be-text)}material-navbar.accent .nav-searchbar.always-white+.mat-icon-button,material-navbar.accent .nav-searchbar:focus-within+.mat-icon-button,material-navbar.primary .nav-searchbar.always-white+.mat-icon-button,material-navbar.primary .nav-searchbar:focus-within+.mat-icon-button{color:var(--be-text)}material-navbar.accent .nav-searchbar .nav-searchbar-input,material-navbar.primary .nav-searchbar .nav-searchbar-input{height:100%;outline:none;border:none}material-navbar.accent .nav-searchbar .nav-searchbar-input::-moz-placeholder,material-navbar.primary .nav-searchbar .nav-searchbar-input::-moz-placeholder{color:currentColor}material-navbar.accent .nav-searchbar .nav-searchbar-input:-ms-input-placeholder,material-navbar.primary .nav-searchbar .nav-searchbar-input:-ms-input-placeholder{color:currentColor}material-navbar.accent .nav-searchbar .nav-searchbar-input::placeholder,material-navbar.primary .nav-searchbar .nav-searchbar-input::placeholder{color:currentColor}material-navbar.accent .nav-searchbar .nav-searchbar-input[aria-expanded=true],material-navbar.primary .nav-searchbar .nav-searchbar-input[aria-expanded=true]{border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom:1px solid var(--be-divider-lighter)}material-navbar.mobile-search-active .nav-searchbar{display:block;position:absolute;top:0;left:0;width:100%;height:100%;margin:0;max-height:100%;max-width:100%;z-index:2}material-navbar.mobile-search-active .nav-searchbar .mat-icon{display:none}material-navbar.mobile-search-active .nav-searchbar input{border-radius:0;background-color:var(--be-background);color:var(--be-text)}material-navbar.mobile-search-active .mobile-search-toggle{color:var(--be-text);left:35px}material-navbar.mobile-search-active .search-button{display:none}material-navbar .push-right{margin-left:auto}material-navbar .notification-button{margin:0 18px}material-navbar .right-side-actions{margin-left:auto;display:flex;align-items:center;padding-left:30px}material-navbar:not(.login-button-accent) .login-btn{background:#fff;color:rgba(0,0,0,.87)}@media only screen and (max-width:1000px){material-navbar .custom-menu,material-navbar .nav-searchbar{display:none}material-navbar .right-side-actions{padding-left:10px}}.be-dark-mode material-navbar.primary:not(.mobile-search-active) .nav-searchbar input{border:1px solid var(--be-divider-default);background-color:transparent}"],encapsulation:2,changeDetection:0}),t})()},20673:function(t,e,n){"use strict";n.d(e,{l:function(){return M}});var i=n(61116),r=n(63337),s=n(84369),o=n(77307),a=n(97070),l=n(29779),c=n(35366),u=n(66213),h=n(88195),d=n(70549),p=n(28505),f=n(80147),m=n(38116),g=n(62181);function _(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"a",8),c.NdJ("click",function(){return c.CHM(t),c.oxw(2).closePanel()}),c._uU(1,"Notification Settings"),c.qZA()}}function b(t,e){if(1&t&&(c.TgZ(0,"div",2),c._UZ(1,"mat-icon",3),c.TgZ(2,"div",4),c.TgZ(3,"div",5),c._uU(4,"Hang tight!"),c.qZA(),c.TgZ(5,"div",6),c._uU(6,"Notifications will start showing up here soon."),c.qZA(),c.YNc(7,_,2,0,"a",7),c.qZA(),c.qZA()),2&t){const t=c.oxw();c.xp6(7),c.Q6J("ngIf",t.settings.get("notif.subs.integrated"))}}function v(t,e){if(1&t&&(c.TgZ(0,"div",16),c._uU(1),c.qZA()),2&t){const t=c.oxw().$implicit;c.xp6(1),c.Oqu(t.time_period)}}function y(t,e){if(1&t&&c._UZ(0,"mat-icon",20),2&t){const t=c.oxw().$implicit;c.Q6J("svgIcon",t.icon)}}function w(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",17),c.NdJ("click",function(e){const n=c.CHM(t).$implicit,i=c.oxw().$implicit;return c.oxw().performAction(n.action,i,e)}),c.YNc(1,y,1,1,"mat-icon",18),c._UZ(2,"span",19),c.qZA()}if(2&t){const t=e.$implicit,n=e.index;c.ekj("has-action",t.action),c.Q6J("ngClass",t.type?t.type:0===n?"primary":"secondary")("title",(null==t.action?null:t.action.label)||""),c.xp6(1),c.Q6J("ngIf",t.icon),c.xp6(1),c.Q6J("innerHTML",t.content,c.oJD)}}function x(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",23),c.NdJ("click",function(){const e=c.CHM(t).$implicit,n=c.oxw(2).$implicit;return c.oxw().emitAction(e,n)}),c._uU(1),c.qZA()}if(2&t){const t=e.$implicit;c.Q6J("color",t.color||"accent"),c.xp6(1),c.Oqu(t.label)}}function C(t,e){if(1&t&&(c.TgZ(0,"div",21),c.YNc(1,x,2,2,"button",22),c.qZA()),2&t){const t=c.oxw().$implicit;c.xp6(1),c.Q6J("ngForOf",t.data.buttonActions)}}function k(t,e){if(1&t&&(c.TgZ(0,"div",24),c._uU(1),c.qZA()),2&t){const t=c.oxw().$implicit;c.xp6(1),c.Oqu(t.relative_created_at)}}function A(t,e){if(1&t){const t=c.EpF();c.ynx(0),c.YNc(1,v,2,1,"div",9),c.TgZ(2,"div",10),c.NdJ("click",function(e){const n=c.CHM(t).$implicit;return c.oxw().performAction(n.data.mainAction,n,e)}),c._UZ(3,"image-or-icon",11),c.TgZ(4,"div",12),c.YNc(5,w,3,6,"div",13),c.YNc(6,C,2,1,"div",14),c.qZA(),c.YNc(7,k,2,1,"div",15),c.qZA(),c.BQk()}if(2&t){const t=e.$implicit,n=e.index,i=c.oxw();c.xp6(1),c.Q6J("ngIf",(null==i.notifications[n-1]?null:i.notifications[n-1].time_period)!==t.time_period),c.xp6(1),c.ekj("compact",i.compact)("unread",!t.read_at)("has-action",t.data.mainAction)("warning",t.data.warning),c.Q6J("title",(null==t.data.mainAction?null:t.data.mainAction.label)||""),c.xp6(1),c.Q6J("src",t.data.image),c.xp6(2),c.Q6J("ngForOf",t.data.lines),c.xp6(1),c.Q6J("ngIf",t.data.buttonActions),c.xp6(1),c.Q6J("ngIf",!i.compact)}}let E=(()=>{class t{constructor(t,e,n,i,r,s){this.settings=t,this.zone=e,this.router=n,this.api=i,this.currentUser=r,this.overlayPanelRef=s,this.compact=!1,this.markedAsRead=new c.vpe,this.trackByFn=(t,e)=>e.id}haveNotifications(){return this.notifications&&Object.keys(this.notifications).length}performAction(t,e,n){t&&(n.stopPropagation(),n.preventDefault(),this.overlayPanelRef&&this.overlayPanelRef.close(),e.read_at||this.api.markAsRead([e.id]).subscribe(t=>{e.read_at=t.date,this.markedAsRead.emit(e)}),this.emitAction(t,e),t.emitOnly||((0,u.s)(t.action)?window.open(t.action):this.router.navigate([t.action])))}closePanel(){this.overlayPanelRef&&this.overlayPanelRef.close()}emitAction(t,e){this.api.clickedOnNotification$.next({notification:e,action:t}),this.closePanel()}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(h.Z),c.Y36(c.R0b),c.Y36(r.F0),c.Y36(d.g),c.Y36(p.I),c.Y36(f.L,8))},t.\u0275cmp=c.Xpm({type:t,selectors:[["notification-list"]],hostVars:2,hostBindings:function(t,e){2&t&&c.ekj("compact",e.compact)},inputs:{compact:"compact",notifications:"notifications"},outputs:{markedAsRead:"markedAsRead"},decls:3,vars:3,consts:[["class","no-results-message",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"no-results-message"],["svgIcon","notifications",1,"icon"],[1,"text"],["trans","",1,"main"],["trans","",1,"secondary"],["routerLink","/notifications/settings","class","notif-settings-link","trans","",3,"click",4,"ngIf"],["routerLink","/notifications/settings","trans","",1,"notif-settings-link",3,"click"],["class","group-header","trans","",4,"ngIf"],[1,"notification",3,"title","click"],[1,"inherit-size",3,"src"],[1,"middle-column"],["class","line",3,"ngClass","title","has-action","click",4,"ngFor","ngForOf"],["class","line button-actions",4,"ngIf"],["class","right-column",4,"ngIf"],["trans","",1,"group-header"],[1,"line",3,"ngClass","title","click"],[3,"svgIcon",4,"ngIf"],[3,"innerHTML"],[3,"svgIcon"],[1,"line","button-actions"],["type","button","mat-stroked-button","","trans","",3,"color","click",4,"ngFor","ngForOf"],["type","button","mat-stroked-button","","trans","",3,"color","click"],[1,"right-column"]],template:function(t,e){1&t&&(c.YNc(0,b,8,1,"div",0),c.GkF(1),c.YNc(2,A,8,14,"ng-container",1)),2&t&&(c.Q6J("ngIf",!e.haveNotifications()),c.xp6(2),c.Q6J("ngForOf",e.notifications)("ngForTrackBy",e.trackByFn))},directives:[i.O5,i.sg,o.Hw,m.P,r.yS,g.A,i.mk,s.lW],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block}h1[_ngcontent-%COMP%]{font-weight:300;font-size:3.5rem;margin:0 0 20px}.notifications-wrapper[_ngcontent-%COMP%]{max-width:1200px;margin-left:auto;margin-right:auto;padding:0 25px}.group-header[_ngcontent-%COMP%]{padding:10px 20px;background-color:var(--be-background-alternative);color:var(--be-secondary-text);text-transform:uppercase;border-bottom:1px solid var(--be-divider-default);font-size:1.1rem;font-weight:500;letter-spacing:.5px;line-height:1}.notification[_ngcontent-%COMP%]{padding:20px;display:flex;background:var(--be-background)}.notification.compact[_ngcontent-%COMP%]{border-bottom:1px solid var(--be-divider-default)}.notification.compact[_ngcontent-%COMP%]   image-or-icon[_ngcontent-%COMP%]{width:32px;height:32px;margin-right:14px}.notification.compact[_ngcontent-%COMP%]   .secondary[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification[_ngcontent-%COMP%]:not(.compact){margin:10px 0;border:1px solid var(--be-divider-default);border-radius:4px}.notification.unread[_ngcontent-%COMP%]{background-color:var(--be-accent-emphasis)}.notification[_ngcontent-%COMP%]:hover:not(.unread){background-color:var(--be-hover)}.notification.warning.unread[_ngcontent-%COMP%]{background-color:#fff8f9}.notification.warning[_ngcontent-%COMP%]   image-or-icon[_ngcontent-%COMP%]{color:#f44336}.notification[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:2px}.notification[_ngcontent-%COMP%]   .secondary[_ngcontent-%COMP%]{font-size:1.4rem;color:var(--be-secondary-text)}.notification[_ngcontent-%COMP%]   .primary[_ngcontent-%COMP%]{font-size:1.5rem;color:var(--be-text)}.notification[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{vertical-align:middle;color:var(--be-secondary-text);width:18px;height:18px;line-height:18px;margin-right:5px}.notification[_ngcontent-%COMP%]   image-or-icon[_ngcontent-%COMP%]{display:block;width:55px;height:55px;flex-shrink:0;margin-right:12px;border-radius:4px;overflow:hidden}.has-action[_ngcontent-%COMP%]{cursor:pointer}.button-actions[_ngcontent-%COMP%]{margin-top:10px}.button-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-right:5px}.line.has-action[_ngcontent-%COMP%]:hover{text-decoration:underline}.middle-column[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.right-column[_ngcontent-%COMP%]{margin-left:auto;padding-left:25px;color:var(--be-secondary-text);align-self:flex-start;white-space:nowrap}.track[_ngcontent-%COMP%], .username[_ngcontent-%COMP%]{color:var(--be-secondary-text);font-size:1.3rem}.quote[_ngcontent-%COMP%]:after, .quote[_ngcontent-%COMP%]:before{content:"\u201c"}.no-results-message[_ngcontent-%COMP%]{margin:30px 0}.no-results-message[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{width:70px;height:70px;margin-bottom:15px;color:var(--be-secondary-text)}.no-results-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;text-align:center;margin-top:10px}loading-indicator[_ngcontent-%COMP%]{margin-top:30px}'],changeDetection:0}),t})();var S=n(45052),O=n(47217),T=n(27701),I=n(99808),D=n(68400),P=n(21644);let F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[i.ez,r.Bz,S.T,o.Ps,s.ot,O.g,I.p,D.N,T.Cv]]}),t})();c.B6R(P.w,[m.P,i.O5,s.lW,T.pW,E,r.yS,o.Hw],[i.Ov]);let M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[i.ez,r.Bz,o.Ps,s.ot,a.Tx,l.N,D.N,F],l.N]}),t})()},47210:function(t,e,n){"use strict";n.d(e,{U:function(){return d}});var i=n(35366),r=n(88195),s=n(61116),o=n(77307),a=n(92552);function l(t,e){if(1&t&&i._UZ(0,"mat-icon",5),2&t){const t=i.oxw();i.Q6J("svgIcon",t.svgIcon)}}function c(t,e){if(1&t&&i._UZ(0,"svg-image",6),2&t){const t=i.oxw();i.Q6J("name",t.svgImage)}}const u=[[["","primary-text",""]],[["","secondary-text",""]]],h=["[primary-text]","[secondary-text]"];let d=(()=>{class t{constructor(t){this.settings=t,this.svgImage="no-results.svg",this.horizontal=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.Z))},t.\u0275cmp=i.Xpm({type:t,selectors:[["no-results-message"]],hostAttrs:[1,"no-results-message"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("horizontal",e.horizontal)},inputs:{svgImage:"svgImage",svgIcon:"svgIcon",horizontal:"horizontal"},ngContentSelectors:h,decls:8,vars:2,consts:[["class","icon",3,"svgIcon",4,"ngIf","ngIfElse"],["svgImageRef",""],[1,"text"],[1,"main"],[1,"secondary"],[1,"icon",3,"svgIcon"],[1,"icon",3,"name"]],template:function(t,e){if(1&t&&(i.F$t(u),i.YNc(0,l,1,1,"mat-icon",0),i.YNc(1,c,1,1,"ng-template",null,1,i.W1O),i.TgZ(3,"div",2),i.TgZ(4,"div",3),i.Hsn(5),i.qZA(),i.TgZ(6,"div",4),i.Hsn(7,1),i.qZA(),i.qZA()),2&t){const t=i.MAs(2);i.Q6J("ngIf",e.svgIcon)("ngIfElse",t)}},directives:[s.O5,o.Hw,a.L],styles:[""],changeDetection:0}),t})()},58666:function(t,e,n){"use strict";n.d(e,{u:function(){return a}});var i=n(61116),r=n(59447),s=n(77307),o=n(35366);let a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[i.ez,r.a,s.Ps]]}),t})()},7855:function(t,e,n){"use strict";n.d(e,{p:function(){return i}});const i=new(n(35366).OlP)("OVERLAY_PANEL_DATA")},80147:function(t,e,n){"use strict";n.d(e,{L:function(){return l}});var i=n(78512),r=n(84698),s=n(90611),o=n(79996),a=n(24831);class l{constructor(t){this.overlayRef=t,this.id=(0,a.O)(15),this.value=new i.X(null)}isOpen(){return this.overlayRef&&this.overlayRef.hasAttached()}close(t){void 0!==t&&this.emitValue(t),this.overlayRef&&this.overlayRef.dispose()}emitValue(t){this.value.next(t)}valueChanged(){return this.value.pipe((0,r.T)(1))}getPanelEl(){return this.overlayRef.overlayElement}updatePosition(){return this.overlayRef.updatePosition()}afterClosed(){return this.overlayRef.detachments().pipe((0,s.q)(1),(0,o.U)(()=>this.value.value))}afterOpened(){return this.overlayRef.attachments().pipe((0,s.q)(1))}}},98979:function(t,e,n){"use strict";n.d(e,{T:function(){return p}});var i=n(35366),r=n(82151),s=n(80147),o=n(7855);class a{attach(){}enable(){document.documentElement.classList.add("be-fullscreen-overlay-scrollblock")}disable(){document.documentElement.classList.remove("be-fullscreen-overlay-scrollblock")}}var l=n(43835),c=n(99235),u=n(77923),h=n(71294);const d={hasBackdrop:!0,closeOnBackdropClick:!0,panelClass:"overlay-panel"};let p=(()=>{class t{constructor(t,e,n){this.overlay=t,this.breakpoints=e,this.injector=n}open(t,e){const n=Object.assign({},d,e),o={positionStrategy:this.getPositionStrategy(n),hasBackdrop:n.hasBackdrop,panelClass:n.panelClass,backdropClass:n.backdropClass,scrollStrategy:this.getScrollStrategy(n),disposeOnNavigation:!0};n.width&&(o.width=n.width),n.height&&(o.height=n.height),n.maxHeight&&(o.maxHeight=n.maxHeight),n.maxWidth&&(o.maxWidth=n.maxWidth);const a=this.overlay.create(o),u=new s.L(a),h=t instanceof i.Rgc?new r.UE(t,n.viewContainerRef,n.data):new r.C5(t,n.viewContainerRef,this.createInjector(n,u));return u.componentRef=a.attach(h),n.closeOnBackdropClick&&(a.backdropClick().subscribe(()=>u.close()),a.keydownEvents().pipe((0,l.h)(t=>t.keyCode===c.hY)).subscribe(()=>u.close())),u}getScrollStrategy(t){return t.fullScreen?new a:"close"===t.scrollStrategy?this.overlay.scrollStrategies.close():null}createInjector(t,e){const n=new WeakMap;return n.set(s.L,e),n.set(o.p,t.data||null),new r.nK(this.injector,n)}getPositionStrategy(t){if(t.positionStrategy)return t.positionStrategy;const e=this.breakpoints.isMobile$.value&&t.mobilePosition||t.position;return"global"===t.origin||this.positionIsGlobal(e)?this.getGlobalPositionStrategy(e):this.getConnectedPositionStrategy(e,t.origin)}positionIsGlobal(t){return"center"===t||!Array.isArray(t)}getGlobalPositionStrategy(t){if("center"===t)return this.overlay.position().global().centerHorizontally().centerVertically();{const e=this.overlay.position().global();return Object.keys(t).forEach(n=>{e[n](t[n])}),e}}getConnectedPositionStrategy(t,e){return this.overlay.position().flexibleConnectedTo(e).withPositions(t).withPush(!0).withViewportMargin(5)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(u.aV),i.LFG(h.S),i.LFG(i.zs3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},40149:function(t,e,n){"use strict";n.d(e,{x:function(){return i}});const i=[{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top"},{originX:"center",originY:"top",overlayX:"center",overlayY:"bottom"}]},88798:function(t,e,n){"use strict";n.d(e,{_:function(){return s}});var i=n(35366),r=n(131);let s=(()=>{class t{constructor(t){this.theme=t,this.animation="wave",this.variant="text",this.dark=this.theme.isDarkMode()}get pulsate(){return"pulsate"===this.animation}get wave(){return"wave"===this.animation}get avatar(){return"avatar"===this.variant}get text(){return"text"===this.variant}get rect(){return"rect"===this.variant}get icon(){return"icon"===this.variant}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(r.f))},t.\u0275cmp=i.Xpm({type:t,selectors:[["skeleton"]],hostAttrs:["aria-busy","true","aria-valuemin","0","aria-valuemax","100","aria-valuetext","Loading...","role","progressbar"],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("dark",e.dark)("pulsate",e.pulsate)("wave",e.wave)("avatar",e.avatar)("text",e.text)("rect",e.rect)("icon",e.icon)},inputs:{animation:"animation",variant:"variant"},decls:0,vars:0,template:function(t,e){},styles:['@charset "UTF-8";[_nghost-%COMP%]{display:inline-block;overflow:hidden;position:relative;background-color:var(--be-divider-lighter);background-repeat:no-repeat;border-radius:4px;width:100%;height:100%;will-change:transform}.wave[_nghost-%COMP%]{-webkit-animation:wave 2s ease-in-out infinite;animation:wave 2s ease-in-out infinite;background-size:200px 100%;background-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.6),hsla(0,0%,100%,0))}.wave.dark[_nghost-%COMP%]{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.pulsate[_nghost-%COMP%]{-webkit-animation:pulse 1.5s ease-in-out infinite;animation:pulse 1.5s ease-in-out infinite;-webkit-animation-delay:.5s;animation-delay:.5s}.avatar[_nghost-%COMP%]{width:40px;height:40px;margin-right:10px;border-radius:4px;flex-shrink:0}.circle[_nghost-%COMP%]{border-radius:50%}.icon[_nghost-%COMP%]{width:24px;height:24px;margin-left:8px;margin-right:8px}.text[_nghost-%COMP%]{height:1.4rem;vertical-align:middle}.text[_nghost-%COMP%]:before{content:"\xa0"}@-webkit-keyframes wave{0%{background-position:-200px 0}to{background-position:calc(200px + 100%) 0}}@keyframes wave{0%{background-position:-200px 0}to{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0}),t})()},15595:function(t,e,n){"use strict";n.d(e,{m:function(){return s}});var i=n(61116),r=n(35366);let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez]]}),t})()},92552:function(t,e,n){"use strict";n.d(e,{L:function(){return f}});var i=n(90611),r=n(35366),s=n(79996),o=n(66599),a=n(11520),l=n(1055),c=n(40878),u=n(61116),h=n(42693);let d=(()=>{class t{constructor(t,e){this.http=t,this.document=e,this.cache=new Map,this.inProgressUrlFetches=new Map}get(t){const e=t.endsWith(".svg")?t:`${t}.svg`;return this.cache.get(e)?(0,c.of)(p(this.cache.get(e))):this.fetchIcon(e).pipe((0,s.U)(t=>this.svgElementFromString(t,e)),(0,o.b)(t=>this.cache.set(e,t)),(0,s.U)(t=>p(t)))}fetchIcon(t){const e=this.inProgressUrlFetches.get(t);if(e)return e;const n=this.http.get(`client/assets/images/illustrations/${t}`,{responseType:"text"}).pipe((0,a.x)(()=>this.inProgressUrlFetches.delete(t)),(0,l.B)());return this.inProgressUrlFetches.set(t,n),n}svgElementFromString(t,e=""){const n=this.document.createElement("DIV");n.innerHTML=t;const i=n.querySelector("svg");if(!i)throw Error(`<svg> tag not found for ${e}`);return i}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(h.eN),r.LFG(u.K0,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function p(t){return t.cloneNode(!0)}let f=(()=>{class t{constructor(t,e){this.cache=t,this.el=e}ngOnChanges(t){var e;const n=t.name;n?(null===(e=this.currentSvgFetch)||void 0===e||e.unsubscribe(),this.name&&(this.currentSvgFetch=this.cache.get(this.name).pipe((0,i.q)(1)).subscribe(t=>this.setSvgElement(t)))):n.previousValue&&this.clearSvgElement()}ngOnDestroy(){var t;null===(t=this.currentSvgFetch)||void 0===t||t.unsubscribe()}setSvgElement(t){this.clearSvgElement();const e=t.querySelectorAll("style");for(let n=0;n<e.length;n++)e[n].textContent+=" ";this.el.nativeElement.appendChild(t)}clearSvgElement(){const t=this.el.nativeElement;let e=t.childNodes.length;for(;e--;){const n=t.childNodes[e];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||t.removeChild(n)}}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(d),r.Y36(r.SBq))},t.\u0275cmp=r.Xpm({type:t,selectors:[["svg-image"]],hostAttrs:["role","img"],inputs:{name:"name"},features:[r.TTD],decls:0,vars:0,template:function(t,e){},styles:["svg-image{display:inline-block;background-repeat:no-repeat}svg-image svg{width:inherit;height:inherit}"],encapsulation:2,changeDetection:0}),t})()},59447:function(t,e,n){"use strict";n.d(e,{a:function(){return s}});var i=n(61116),r=n(35366);let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez]]}),t})()},73234:function(t,e,n){"use strict";n.d(e,{D:function(){return a},F:function(){return l}});var i=n(35366),r=n(88195),s=n(3950),o=n(63589);const a=15e3;let l=(()=>{class t{constructor(t,e,n){this.settings=t,this.i18n=e,this.snackbar=n}open(t,e={}){e.duration||0===e.duration||(e.duration=e.action?a:3e3);const n="string"==typeof t?this.i18n.t(t):this.i18n.t(t.message,t.replacements);return this.snackbar.open(this.i18n.t(n),this.i18n.t(e.action),{duration:e.duration})}openComponent(t,e){return this.snackbar.openFromComponent(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.Z),i.LFG(s.Z),i.LFG(o.ux))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},94380:function(t,e,n){"use strict";function i(t,e){if(null===t)return null;switch(e){case"KB":return 1024*t;case"MB":return t*Math.pow(1024,2);case"GB":return t*Math.pow(1024,3);case"TB":return t*Math.pow(1024,4);case"PB":return t*Math.pow(1024,5);default:return t}}n.d(e,{F:function(){return i}})},73322:function(t,e,n){"use strict";function i(t){if(-1===t.indexOf("?"))return;-1===t.indexOf("//")&&(t="https://"+t);const e=new URL(t).searchParams,n={};return e.forEach((t,e)=>{n[e]=t}),n}n.d(e,{v:function(){return i}})},18948:function(t,e,n){"use strict";function i(t,e){return t in e}n.d(e,{w:function(){return i}})},66213:function(t,e,n){"use strict";function i(t){return!!t&&!/^[a-z]:\\/.test(t)&&/^[a-z][a-z\d+\-.]*:/.test(t)}n.d(e,{s:function(){return i}})},78733:function(t,e,n){"use strict";n.d(e,{j:function(){return s}});var i=n(66213),r=n(35366);let s=(()=>{class t{constructor(){this.loadedAssets={}}loadAsset(t,e={type:"js"}){return"loaded"!==this.loadedAssets[t]||e.force?!this.loadedAssets[t]||e.force&&"loaded"===this.loadedAssets[t]?(this.loadedAssets[t]=new Promise((n,r)=>{const s=(0,i.s)(t)?t:"client/assets/"+t,o=e.id||t.split("/").pop();"css"===e.type?this.loadStyleAsset(s,o,n):this.loadScriptAsset(s,o,n,e.parentEl)}),this.loadedAssets[t]):this.loadedAssets[t]:new Promise(t=>t())}loadStyleAsset(t,e,n){const i=document.createElement("link");i.rel="stylesheet",i.id=e||t.split("/").pop(),i.href=t,i.onload=()=>{this.loadedAssets[t]="loaded",n()},document.head.appendChild(i)}loadScriptAsset(t,e,n,i){const r=document.createElement("script");r.async=!0,r.id=e||t.split("/").pop(),r.src=t,r.onload=()=>{this.loadedAssets[t]="loaded",n()},(i||document.body).appendChild(r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},98977:function(t,e,n){"use strict";n.d(e,{H:function(){return r}});var i=n(13853);function r(t,e){if(isNaN(parseFloat(String(t)))||!isFinite(t))return null;let n=0;for(;t>=1024;)t/=1024,n++;let r=i.L[n];return e||(e=function(t){switch(t){case"MB":return 1;case"GB":case"TB":case"PB":return 2;default:return 0}}(r)),"bytes"===r&&t<2&&(r="byte"),parseFloat(t.toFixed(+e).toString()).toString()+" "+r}},24831:function(t,e,n){"use strict";function i(t=36){let e="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let i=0;i<t;i++)e+=n.charAt(Math.floor(Math.random()*n.length));return e}n.d(e,{O:function(){return i}})},40694:function(t,e,n){"use strict";n.d(e,{V:function(){return s}});var i=n(70372),r=n.n(i);function s(t,e="-",n=!1){if(!t)return t;let i=r()(t,{lower:!0,replacement:e,strict:n,remove:/[*+~.()'"!:@?\|/]/g});return i||(i=t.replace(/\s+/g,"-").toLowerCase()),i}},93034:function(t,e,n){"use strict";function i(t){return t.replace(/\s/g,"_").replace(/\.?([A-Z]+)/g,(t,e)=>"_"+e).replace(/^_/,"").toLowerCase()}n.d(e,{f:function(){return i}})},13853:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});const i=["bytes","KB","MB","GB","TB","PB"]},74899:function(t,e,n){"use strict";function i(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""}n.d(e,{z:function(){return i}})},87446:function(t,e,n){"use strict";n.d(e,{a:function(){return o}});var i=n(35366),r=n(28505),s=n(63337);let o=(()=>{class t{constructor(t,e){this.currentUser=t,this.router=e}canActivate(t,e){return this.handle(e.url)}canActivateChild(t,e){return this.handle(e.url)}canLoad(t){return this.handle(t.path)}handle(t){return!!this.currentUser.isLoggedIn()||(this.currentUser.redirectUri=t,this.router.navigate(["/login"]),!1)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.I),i.LFG(s.F0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},3162:function(t,e,n){"use strict";n.d(e,{d:function(){return l}});var i=n(35366),r=n(28505),s=n(63337),o=n(71228),a=n(88195);let l=(()=>{class t{constructor(t,e,n,i){this.currentUser=t,this.router=e,this.auth=n,this.settings=i}canActivate(t,e){return this.runAuthCheck(t,e)}canActivateChild(t,e){return this.runAuthCheck(t,e)}runAuthCheck(t,e){return this.checkPermissions(t,e)}getActiveRoute(t){for(;t.firstChild;)t=t.firstChild;return t}checkPermissions(t,e){let n=!0;if(t.data.permissions&&(n=this.currentUser.hasPermissions(t.data.permissions)),n)return!0;if(this.currentUser.isLoggedIn()){const e=this.shouldRedirectToUpgrade(t.data.permissions)?"/billing/upgrade":this.auth.getRedirectUri();this.router.navigate([e])}else this.currentUser.redirectUri=e.url,this.router.navigate(["login"]);return n}shouldRedirectToUpgrade(t){return!(t.length&&t[0].includes("admin"))&&this.settings.get("billing.enable")}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.I),i.LFG(s.F0),i.LFG(o.e),i.LFG(a.Z))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},21644:function(t,e,n){"use strict";n.d(e,{w:function(){return p}});var i=n(92935),r=n(35366),s=n(70549),o=n(88195),a=n(80147),l=n(28505);function c(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",9),r.NdJ("click",function(){return r.CHM(t),r.oxw().markAllAsRead()}),r._uU(1,"Mark all as read "),r.qZA()}}function u(t,e){1&t&&r._UZ(0,"mat-progress-bar",10)}function h(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",11),r.NdJ("click",function(){return r.CHM(t),r.oxw().closePanel()}),r.TgZ(1,"span",2),r._uU(2,"View all"),r.qZA(),r._UZ(3,"mat-icon",12),r.qZA()}}function d(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",13),r.NdJ("click",function(){return r.CHM(t),r.oxw().closePanel()}),r.TgZ(1,"span",2),r._uU(2,"Settings"),r.qZA(),r._UZ(3,"mat-icon",14),r.qZA()}}let p=(()=>{class t{constructor(t,e,n,i){this.notifications=t,this.settings=e,this.overlayPanelRef=n,this.currentUser=i}ngOnInit(){this.notifications.all$.value||this.notifications.load().subscribe()}closePanel(){this.overlayPanelRef.close()}markAllAsRead(){this.closePanel(),this.notifications.markAllAsRead().subscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(s.g),r.Y36(o.Z),r.Y36(a.L),r.Y36(l.I))},t.\u0275cmp=r.Xpm({type:t,selectors:[["notification-panel"]],hostAttrs:[1,"material-panel"],hostVars:1,hostBindings:function(t,e){2&t&&r.d8E("@dialogContainer","enter")},decls:15,vars:16,consts:[[1,"panel-content"],[1,"header"],["trans",""],["mat-button","","class","mark-as-read-button","type","button","trans","",3,"click",4,"ngIf"],["mode","indeterminate","color","accent",4,"ngIf"],[3,"notifications","compact"],[1,"footer"],["routerLink","notifications","class","view-all-button","trans","",3,"click",4,"ngIf"],["routerLink","notifications/settings","class","settings-button",3,"click",4,"ngIf"],["mat-button","","type","button","trans","",1,"mark-as-read-button",3,"click"],["mode","indeterminate","color","accent"],["routerLink","notifications","trans","",1,"view-all-button",3,"click"],["svgIcon","keyboard-arrow-right"],["routerLink","notifications/settings",1,"settings-button",3,"click"],["svgIcon","settings"]],template:function(t,e){if(1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"h2",2),r._uU(3,"Notifications"),r.qZA(),r.YNc(4,c,2,0,"button",3),r.ALo(5,"async"),r.qZA(),r.YNc(6,u,1,0,"mat-progress-bar",4),r.ALo(7,"async"),r._UZ(8,"notification-list",5),r.ALo(9,"async"),r.TgZ(10,"div",6),r.YNc(11,h,4,0,"a",7),r.ALo(12,"async"),r.YNc(13,d,4,0,"a",8),r.ALo(14,"async"),r.qZA(),r.qZA()),2&t){let t;r.xp6(4),r.Q6J("ngIf",r.lcZ(5,6,e.notifications.unreadCount$)),r.xp6(2),r.Q6J("ngIf",r.lcZ(7,8,e.notifications.loading$)),r.xp6(2),r.Q6J("notifications",r.lcZ(9,10,e.notifications.all$))("compact",!0),r.xp6(3),r.Q6J("ngIf",r.lcZ(12,12,e.notifications.canLoadMore)),r.xp6(2),r.Q6J("ngIf",e.settings.get("notif.subs.integrated")&&e.currentUser.hasPermission("notification.subscribe")&&(null==(t=r.lcZ(14,14,e.notifications.all$))?null:t.length))}},styles:["[_nghost-%COMP%]{display:block;background-color:var(--be-background);padding:0;width:460px;min-height:275px;max-height:90vh;max-width:95vw;margin:auto;position:relative;overflow:auto}.header[_ngcontent-%COMP%]{display:flex;align-items:center;padding:10px 20px;border-bottom:1px solid var(--be-divider-default)}h2[_ngcontent-%COMP%]{font-weight:400;margin:0;font-size:1.8rem}.mark-as-read-button[_ngcontent-%COMP%]{display:block;margin-left:auto;color:var(--be-secondary-text);font-size:1.3rem}.footer[_ngcontent-%COMP%]{display:flex;align-items:center;padding:15px}.footer[_ngcontent-%COMP%]:empty{display:none}.footer[_ngcontent-%COMP%]   .view-all-button[_ngcontent-%COMP%]{margin-right:auto}.footer[_ngcontent-%COMP%]   .settings-button[_ngcontent-%COMP%]{margin-left:auto}.footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;color:inherit}.footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.footer[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{vertical-align:middle;width:20px;height:20px;line-height:20px;margin-left:5px}.mat-progress-bar[_ngcontent-%COMP%]{position:absolute;width:100%;left:0;top:46px}"],data:{animation:[i.Nv.dialogContainer]},changeDetection:0}),t})()},70549:function(t,e,n){"use strict";n.d(e,{g:function(){return d}});var i=n(78512),r=n(55959),s=n(43835),o=n(90611),a=n(66599),l=n(11520),c=n(35366),u=n(68515),h=n(28505);let d=(()=>{class t{constructor(t,e){this.http=t,this.currentUser=e,this.all$=new i.X(null),this.loading$=new i.X(!1),this.canLoadMore=new i.X(!1),this.unreadCount$=new i.X(null),this.clickedOnNotification$=new r.xQ,this.currentUser.model$.pipe((0,s.h)(t=>!!t&&null!==t.unread_notifications_count),(0,o.q)(1)).subscribe(t=>{this.unreadCount$.next(t.unread_notifications_count)})}markAsRead(t){return this.http.post("notifications/mark-as-read",{ids:t}).pipe((0,a.b)(e=>{this.unreadCount$.next(this.unreadCount$.value-t.length||0),this.all$.value&&this.all$.next(this.all$.value.map(n=>(t.includes(n.id)&&(n.read_at=e.date),n)))}))}markAllAsRead(){const t=this.all$.value.map(t=>t.id);return this.markAsRead(t)}load(t={}){return this.loading$.next(!0),this.http.get("notifications",t).pipe((0,l.x)(()=>this.loading$.next(!1)),(0,a.b)(t=>{1===t.pagination.current_page&&(this.all$.next(t.pagination.data),this.canLoadMore.next(t.pagination.current_page<t.pagination.last_page))}))}add(t){this.unreadCount$.next(this.unreadCount$.value+1),this.all$.value&&this.all$.next([t,...this.all$.value])}delete(t){const e=t.filter(t=>!t.read_at).length,n=t.map(t=>t.id);return this.http.delete(`notifications/${n}`).pipe((0,a.b)(()=>{this.unreadCount$.next(this.unreadCount$.value-e),this.all$.next(this.all$.value.filter(t=>!n.includes(t.id)))}))}}return t.\u0275fac=function(e){return new(e||t)(c.LFG(u.r),c.LFG(h.I))},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},52370:function(t,e,n){"use strict";n.d(e,{Y:function(){return c}});var i=n(89356),r=n(93717),s=n(35366),o=n(63337),a=n(88195),l=n(28505);let c=(()=>{class t{constructor(t,e,n){this.router=t,this.settings=e,this.currentUser=n,this.defaultComponents=[{name:"Login Page",guestOnly:!0,routeConfig:{redirectTo:"/login",pathMatch:"full"}},{name:"Register Page",guestOnly:!0,routeConfig:{redirectTo:"/register",pathMatch:"full"}}],this.menuCategories=[{name:"Custom Page",route:{component:i.y}}]}select(t={}){this.defaultComponents=this.defaultComponents.concat(t.routes||[]),this.menuCategories=this.menuCategories.concat(t.menuCategories||[]);const e=this.settings.get("homepage.type")||"default",n=this.settings.get("homepage.value");if("default"!==e&&null!=e){if("component"===e)return this.setComponentAsHomepage(n);{const t=this.menuCategories.find(t=>t.name===e);if(t){const e=Object.assign(Object.assign({},t.route),{data:{id:n}});this.addRoute(e)}}}}getComponents(){return this.defaultComponents}setComponentAsHomepage(t){const e=this.defaultComponents.find(e=>e.name===t);if(!e||e.ignore)return;let n=Object.assign({},e.routeConfig);if(e.guestOnly&&this.currentUser.isLoggedIn()&&!this.isPreviewMode()){if(!this.originalRoute)return;n=this.originalRoute}this.addRoute(n,e.makeRoot)}addRoute(t,e=!1){const n=e?null:this.getParentHomeRoute();t=this.prepareRoute(t);const i=n?n.children:this.router.config,r=i.findIndex(t=>""===t.path);r>-1?(this.originalRoute=this.originalRoute||i[r],i[r]=t):i.unshift(t)}getParentHomeRoute(){return this.router.config.find(t=>t.data&&t.data.parentHomeRoute)}prepareRoute(t){return t.path="",t.data||(t.data={}),t.data.name||(t.data.name="home"),t}isPreviewMode(){return window.location.search.includes(`be-preview-mode=${r.B}`)}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(o.F0),s.LFG(a.Z),s.LFG(l.I))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},89356:function(t,e,n){"use strict";n.d(e,{y:function(){return m}});var i=n(78512),r=n(9051),s=(n(70653),n(50232),n(83154),n(10546),n(35791),n(43835)),o=n(82628),a=n(35366),l=n(38053),c=n(63337),u=n(99624),h=n(88195),d=n(61116),p=n(86655);function f(t,e){if(1&t&&a._UZ(0,"material-navbar",2),2&t){const t=a.oxw();a.Q6J("menuPosition",t.settings.get("vebto.navbar.defaultPosition","custom-page-navbar"))}}let m=(()=>{class t{constructor(t,e,n,r,s){this.pages=t,this.route=e,this.sanitizer=n,this.router=r,this.settings=s,this.page$=new i.X(null),this.body$=new i.X(null),this.showNavbar=!0}set page(t){this.page$.next(t),this.body$.next(this.sanitizer.bypassSecurityTrustHtml(t.body))}ngOnInit(){this.page$.value||(this.route.params.subscribe(t=>{this.pages.get(t.id||this.route.snapshot.data.id).subscribe(t=>{this.page=t.page},()=>{this.router.navigate(["/404"],{skipLocationChange:!0})})}),this.body$.pipe((0,s.h)(t=>!!t),(0,o.g)(0)).subscribe(()=>{r.highlightAll()}))}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(l.i),a.Y36(c.gz),a.Y36(u.H7),a.Y36(c.F0),a.Y36(h.Z))},t.\u0275cmp=a.Xpm({type:t,selectors:[["custom-page"]],inputs:{showNavbar:"showNavbar",page:"page"},decls:4,vars:6,consts:[[3,"menuPosition",4,"ngIf"],[1,"page-body","container","article-body",3,"innerHTML"],[3,"menuPosition"]],template:function(t,e){if(1&t&&(a.YNc(0,f,1,1,"material-navbar",0),a.ALo(1,"async"),a._UZ(2,"div",1),a.ALo(3,"async")),2&t){let t;a.Q6J("ngIf",!(null!=(t=a.lcZ(1,2,e.page$))&&t.hide_nav)&&!e.settings.get("vebto.customPages.hideNavbar")&&e.showNavbar),a.xp6(2),a.Q6J("innerHTML",a.lcZ(3,4,e.body$),a.oJD)}},directives:[d.O5,p.e],pipes:[d.Ov],styles:['custom-page{display:block;min-height:100vh;flex:1 1 auto}custom-page .page-body{padding:25px;word-break:break-all;font-size:1.6rem;line-height:24px}custom-page h2{font-size:2.4rem;font-weight:400;line-height:normal}custom-page h2:not(:first-of-type){border-top:1px solid var(--be-divider-default);margin-top:45px;padding-top:30px}custom-page h4{font-size:1.6rem;margin:35px 0 10px;font-weight:500}custom-page ol,custom-page ul{font-size:inherit;font-weight:inherit;margin-top:10px;padding-left:40px;position:relative}custom-page ol li,custom-page ul li{margin-bottom:8px}custom-page ul{padding-left:40px;position:relative}custom-page ul li{list-style-type:disc;margin-bottom:7px}custom-page ol{counter-reset:custom-counter;list-style:none}custom-page ol li:before{content:counter(custom-counter,decimal) ".";counter-increment:custom-counter;font-weight:500;position:absolute;left:-10px;width:40px;text-align:right}custom-page p{word-break:break-word}custom-page .widget{background-color:#f3fbf7;max-width:100%;padding:14px;margin:35px 0;border-radius:3px;overflow-wrap:break-word;border-left:5px solid #5ac891;font-size:1.7rem}custom-page .widget .title{font-weight:500;color:#43484d}custom-page .widget.widget-important{background-color:#fef7ed;border-left:5px solid #f3a12c}custom-page .widget.widget-warning{background-color:#f2564d;border-left:5px solid #6b0d08}'],encapsulation:2,changeDetection:0}),t})()},91921:function(t,e,n){"use strict";n.d(e,{z:function(){return d}});var i=n(63337),r=n(61116),s=n(89356),o=n(20673),a=n(84369),l=n(68400),c=n(35366);const u=[{path:"pages/:id/:slug",component:s.y,data:{permissions:["custom_pages.view"],willSetSeo:!0}}];let h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[i.Bz.forChild(u)],i.Bz]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[r.ez,i.Bz,h,o.l,l.N,a.ot]]}),t})()},38053:function(t,e,n){"use strict";n.d(e,{i:function(){return s}});var i=n(35366),r=n(9823);let s=(()=>{class t{constructor(t){this.http=t}getAll(e={}){return this.http.getWithCache(`${t.BASE_URI}`,e)}get(e){return this.http.getWithCache(`${t.BASE_URI}/${e}`)}create(e,n){return this.http.post(`${n||t.BASE_URI}`,e)}update(e,n,i){return this.http.put(`${i||t.BASE_URI}/${e}`,n)}delete(e){return this.http.delete(`${t.BASE_URI}/${e}`)}}return t.BASE_URI="page",t.\u0275fac=function(e){return new(e||t)(i.LFG(r.F))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},93717:function(t,e,n){"use strict";n.d(e,{B:function(){return c},f:function(){return u}});var i=n(65257),r=n(43835),s=n(35366),o=n(73234),a=n(63337),l=n(88195);const c="t50b4BT5hWsvJMr7";let u=(()=>{class t{constructor(t,e,n){this.toast=t,this.router=e,this.settings=n,this.active=!1,this.dom={}}init(){this.active=window.location.search.includes(`be-preview-mode=${c}`),this.active&&(this.listenForMessages(),this.blockNotAllowedRoutes(),this.createDomNodes(),window.parent.postMessage(c,"*"))}listenForMessages(){window.addEventListener("message",t=>{this.isAppearanceEvent(t)&&this.eventIsTrusted(t)&&this.handleCommand(t.data)})}handleCommand(t){switch(t.type){case i.R.Navigate:return this.router.navigate([t.route],{queryParams:t.queryParams});case i.R.SetConfig:return this.settings.set(t.key,t.value);case i.R.Select:return function(t,e=0,n){const i=document.querySelectorAll(t)[e];if(!i)return;const r=i.getBoundingClientRect();r.height&&(i.scrollIntoView({block:"center",inline:"center",behavior:"smooth"}),n.style.width=r.width+"px",n.style.height=r.height+"px",n.style.top=document.documentElement.scrollTop+r.top+"px",n.style.left=r.left+"px",n.style.borderRadius=i.style.borderRadius)}(t.selector,t.index,this.dom.selectBox);case i.R.Deselect:return(e=this.dom.selectBox).style.width="0px",e.style.height="0px",e.style.left="-15px",void(e.style.top="-15px");case i.R.SetColors:return this.dom.colors.setProperty(t.key,t.value);case i.R.SetCustomCss:return this.renderCustomCode("css",t.content);case i.R.SetCustomHtml:return this.renderCustomCode("html",t.content)}var e}renderCustomCode(t,e){const n="html"===t?document.body:document.head,i="html"===t?"div":"style";let r=n.querySelector("#be-custom-css");return r||(r=document.createElement(i),r.id="be-custom-css",n.appendChild(r)),r.innerHTML=e}eventIsTrusted(t){return new URL(t.origin).hostname===window.location.hostname}isAppearanceEvent(t){const e=t.data;return e&&e.type in i.R}createDomNodes(){this.dom.selectBox=function(){const t=document.createElement("div");return t.classList.add("selected-el-box"),document.body.appendChild(t),t}(),this.dom.colors=document.documentElement.style}blockNotAllowedRoutes(){const t=[];this.router.events.pipe((0,r.h)(t=>0===t.toString().indexOf("NavigationStart"))).subscribe(e=>{if(t.find(t=>e.url.indexOf(t)>-1)){const t=this.router.url.split("?")[0];this.router.navigate([t],{queryParamsHandling:"preserve"}),setTimeout(()=>this.toast.open("That page is not supported by the editor."))}})}}return t.\u0275fac=function(e){return new(e||t)(s.LFG(o.F),s.LFG(a.F0),s.LFG(l.Z))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},65257:function(t,e,n){"use strict";n.d(e,{R:function(){return i}});var i=function(t){return t[t.Navigate=0]="Navigate",t[t.SetConfig=1]="SetConfig",t[t.Select=2]="Select",t[t.Deselect=3]="Deselect",t[t.SetColors=4]="SetColors",t[t.SetCustomCss=5]="SetCustomCss",t[t.SetCustomHtml=6]="SetCustomHtml",t}({})},17455:function(t,e,n){"use strict";n.d(e,{t:function(){return s}});var i=n(35366),r=n(68515);let s=(()=>{class t{constructor(t){this.http=t}all(e){return this.http.get(t.BASE_URI,e)}get(e){return this.http.get(`${t.BASE_URI}/${e}`)}createOnStripe(e){return this.http.post(`${t.BASE_URI}/stripe`,e)}update(e,n){return this.http.put(`${t.BASE_URI}/${e}`,n)}create(e){return this.http.post(t.BASE_URI,e)}cancel(e,n){return this.http.delete(`${t.BASE_URI}/${e}`,n)}resume(e){return this.http.post(`${t.BASE_URI}/${e}/resume`)}changePlan(e,n){return this.http.post(`${t.BASE_URI}/${e}/change-plan`,{newPlanId:n.id})}addCard(t){return this.http.post("billing/stripe/cards/add",{token:t})}finalizeOnStripe(e,n){return this.http.post(`${t.BASE_URI}/stripe/finalize`,{reference:e,userId:n})}}return t.BASE_URI="billing/subscriptions",t.\u0275fac=function(e){return new(e||t)(i.LFG(r.r))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},39404:function(t,e,n){"use strict";n.d(e,{I:function(){return a}});var i=n(79996),r=n(35366),s=n(78733),o=n(25051);let a=(()=>{class t{constructor(t,e){this.lazyLoader=t,this.valueLists=e}getAll(){return this.valueLists.get(["googleFonts"]).pipe((0,i.U)(t=>t.googleFonts))}loadIntoDom(t,e){const n=t.filter(t=>t.google);if(null==n?void 0:n.length){const n=t.map(t=>`${t.family}:400`).join("|");this.lazyLoader.loadAsset(`https://fonts.googleapis.com/css?family=${n}&display=swap`,{type:"css",id:e})}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(s.j),r.LFG(o.l))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},67139:function(t,e,n){"use strict";n.d(e,{j:function(){return i}});var i=function(t){return t.image="image/*",t.audio="audio/*",t.video="video/mp4,video/mpeg,video/x-m4v,video/*",t}({})},340:function(t,e,n){"use strict";function i(t,e){const n=new FormData;return e&&Object.keys(e).forEach(t=>{let i=e[t];null===i&&(i=""),r(n,t,i)}),r(n,"file",t),n}function r(t,e,n){t.set?t.set(e,n):t.append(e,n)}n.d(e,{f:function(){return w}});var s=n(91772),o=n(79996),a=n(35366),l=n(68515),c=n(40878),u=n(19764),h=n(44689),d=n(73982),p=n(66599),f=n(43835),m=n(56238),g=n(42693),_=n(44376),b=n(40694),v=n(88195);let y=(()=>{class t{constructor(t,e){this.http=t,this.settings=e,this.uploadedChunksCount=0,this.sliceSize=this.settings.get("uploads.chunk_size",5242880)}start(t,e={}){return this.reset(t,e).pipe((0,h.w)(e=>{const n=Date.now(),i=e.uploadedChunks.reduce((t,e)=>t+e.size,0);let r=i;return e.fileEntry?(0,c.of)(this.transformUploadSessionResponse(e)):(0,u.D)(this.chunks).pipe((0,d.zg)(e=>{let n=0;return this.http.postWithProgress("uploads/sessions/chunks",e).pipe((0,o.U)(e=>{if(e.type===g.dt.UploadProgress){e.initiallyLoaded=i,e.total=t.size;const s=e.loaded-n;n=e.loaded,e.loaded=r+=s,e.loaded>e.total&&(e.loaded=e.total-1)}return e}))},3),(0,o.U)(t=>(0,s.M)(t,n)),(0,p.b)(t=>{t.name===s.b.COMPLETED&&this.uploadedChunksCount++}),(0,f.h)(t=>t.name===s.b.PROGRESS||this.isLastChunkCompletedEvent(t)),(0,h.w)(t=>{var e;return this.isLastChunkCompletedEvent(t)?(null===(e=null==(t=t)?void 0:t.body)||void 0===e?void 0:e.fileEntry)?(0,c.of)(this.transformUploadSessionResponse(t.body)):this.fetchUploadSession().pipe((0,o.U)(t=>this.transformUploadSessionResponse(t))):(0,c.of)(t)}),(0,m.O)(this.getInitialUploadProgressEvent()))}))}getInitialUploadProgressEvent(){const t=this.uploadedChunksCount*this.sliceSize;return{type:g.dt.UploadProgress,name:s.b.PROGRESS,totalBytes:this.file.size,completedBytes:t,progress:(0,_.q)(t,this.file.size),speed:null,eta:null}}isLastChunkCompletedEvent(t){return t.name===s.b.COMPLETED&&this.uploadedChunksCount===this.totalChunks}transformUploadSessionResponse(t){return{type:g.dt.Response,name:s.b.COMPLETED,body:t}}reset(t,e){return this.file=t,this.httParams=e,this.chunks=[],this.uploadedChunksCount=0,this.totalChunks=Math.ceil(this.file.size/this.sliceSize),this.generateFingerprint(),this.generateHttpParams(),this.loadExistingChunks().pipe((0,p.b)(t=>{this.uploadedChunksCount=t.uploadedChunks.length,this.generateChunks(t.uploadedChunks)}))}loadExistingChunks(){return this.settings.get("uploads.resume")?this.fetchUploadSession():(0,c.of)({uploadedChunks:[],fileEntry:null})}fetchUploadSession(){return this.http.post("uploads/sessions/load",this.httParams)}generateChunks(t=[]){let e=0;for(let n=0;n<this.file.size;n+=this.sliceSize){if(!t.find(t=>t.number===e)){const t=n+this.sliceSize,r=Object.assign(Object.assign({},this.httParams),{_chunkStart:n,_chunkEnd:t,_chunkNumber:e});this.chunks.push(i(this.file.native.slice(n,t),r))}e++}}generateFingerprint(){this.fingerprint=btoa(["be-upload",(0,b.V)(this.file.name,"-",!0),this.file.mime,this.file.size,this.file.lastModified,(0,b.V)(this.file.relativePath,"-",!0)].join("|"))}generateHttpParams(){this.httParams=Object.assign(Object.assign({},this.httParams),{_chunkCount:this.totalChunks,_originalFileName:this.file.name,_originalFileSize:this.file.size,_fingerprint:this.fingerprint})}}return t.\u0275fac=function(e){return new(e||t)(a.LFG(l.r),a.LFG(v.Z))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),w=(()=>{class t{constructor(t,e,n){this.http=t,this.chunkedUpload=e,this.settings=n}getFileContents(e){return this.http.get(`${t.BASE_URI}/${e.id}}`,null,{responseType:"text"})}delete(e){return this.http.delete(t.BASE_URI,e)}upload(e,n={}){if(e.relativePath&&(n.httpParams.relativePath=e.relativePath),this.settings.get("uploads.chunk")&&e.size>this.chunkedUpload.sliceSize)return this.chunkedUpload.start(e,n.httpParams);{const r=Date.now();return this.http.postWithProgress(n.uri||t.BASE_URI,i(e.native,n.httpParams)).pipe((0,o.U)(t=>(0,s.M)(t,r)))}}}return t.BASE_URI="uploads",t.\u0275fac=function(e){return new(e||t)(a.LFG(l.r),a.LFG(y),a.LFG(v.Z))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},44376:function(t,e,n){"use strict";function i(t,e){return Math.floor(100*t/e)}n.d(e,{q:function(){return i}})},62147:function(t,e,n){"use strict";function i(t){return/(?:\.([^.]+))?$/.exec(t)[1]}n.d(e,{r:function(){return s}});class r{constructor(t,e){this.url=null,this.name=t.name,this.size=t.size,this.mime=function(t){const e={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",yaml:"text/yaml",yml:"text/yaml"},n=t.name?i(t.name):null;return t.type?t.type:n&&e[n]?e[n]:null}(t),this.lastModified=t.lastModified,this.extension=i(t.name),this.native=t,(e=e||t.webkitRelativePath||null)&&e.match(/\//g).length>1&&(this.relativePath=e)}getData(){return new Promise(t=>{const e=new FileReader;e.addEventListener("load",()=>{t(e.result)}),"json"===this.extension?e.readAsText(this.native):e.readAsDataURL(this.native)})}}function s(t={}){return new Promise(e=>{const n=function(t={}){const e=document.querySelector("#hidden-file-upload-input");e&&e.remove();const n=document.createElement("input");n.type="file",n.multiple=t.multiple,n.classList.add("hidden"),n.style.display="none",n.style.visibility="hidden",n.id="hidden-file-upload-input";const i=[];return t.extensions&&(t.extensions=t.extensions.map(t=>t.startsWith(".")?t:"."+t),i.push(t.extensions.join(","))),t.types&&i.push(t.types.join(",")),i.length&&(n.accept=i.join(",")),t.directory&&(n.webkitdirectory=!0),document.body.appendChild(n),n}(t);n.onchange=t=>{const i=Array.from(t.target.files).map(t=>new r(t));e(i),n.remove()},document.body.appendChild(n),n.click()})}},91772:function(t,e,n){"use strict";n.d(e,{b:function(){return c},M:function(){return u}});var i=n(42693),r=n(44376);function s(t,e){const n=t.initiallyLoaded?t.loaded-t.initiallyLoaded:t.loaded;return n?n/((new Date-e)/1e3):0}function o(t,e){if(!t.loaded)return 0;const n=s(t,e);let i=t.total-t.loaded;return i<0&&(i=0),Math.round(i/n*10)/10}function a(t){const e=(n=t,{hours:Math.floor(n/3600)%24,minutes:Math.floor(n/60)%60,seconds:Math.floor(n%60)});var n;e.seconds||(e.seconds=1);const i=e.hours?e.hours+"h ":"",r=e.hours?("0"+e.minutes).substr(-2):e.minutes;return`${i}${r?r+"m ":""}${(r?("0"+e.seconds).substr(-2):e.seconds)+"s"}`}var l=n(98977),c=function(t){return t.STARTED="uploadStarted",t.PROGRESS="uploadProgress",t.COMPLETED="uploadCompleted",t.OTHER="unrecognizedEvent",t}({});function u(t,e){switch(t.type){case i.dt.Sent:return{type:t.type,name:c.STARTED,time:e};case i.dt.UploadProgress:return{type:t.type,name:c.PROGRESS,totalBytes:t.total,completedBytes:t.loaded,progress:(0,r.q)(t.loaded,t.total),speed:(0,l.H)(s(t,e)),eta:a(o(t,e))};case i.dt.Response:return{type:t.type,name:c.COMPLETED,body:t.body};default:return null}}},16930:function(t,e,n){"use strict";n.d(e,{c:function(){return a}});var i=n(35366),r=n(88195),s=n(73234),o=n(3950);let a=(()=>{class t{constructor(t,e,n){this.settings=t,this.toast=e,this.i18n=n,this.validations=[]}validate(t){this.validations.length||this.initValidations();const e=this.validations.find(e=>e.fails(t));return e&&this.showToast&&this.openErrorToast(e.errorMessage),{failed:!!e,errorMessage:e?e.errorMessage:null}}validateWithToast(t){const e=this.validate(t);return e.failed&&this.openErrorToast(e.errorMessage),e}openErrorToast(t){this.toast.open(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.Z),i.LFG(s.F),i.LFG(o.Z))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},20274:function(t,e,n){"use strict";n.d(e,{p:function(){return s}});var i=n(16890),r=n(98977);class s extends i.y{constructor(t,e){super(),this.params=t,this.i18n=e,this.errorMessage=this.i18n.t("Maximum file size is :number",{number:(0,r.H)(+this.params.maxSize)})}fails(t){return this.params.maxSize<t.size}}},73033:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});var i=n(16890);class r extends i.y{constructor(t,e){super(),this.params=t,this.i18n=e,this.errorMessage=this.params.types.length>1?this.getPluralMessage():this.getSingularMessage()}fails(t){return!this.params.types.some(e=>e===(t.mime&&t.mime.split("/")[0]))}getSingularMessage(){return this.i18n.t("File must be a :type.",{type:this.i18n.t(this.params.types[0])})}getPluralMessage(){return this.i18n.t("File must be one of these types: :types.",{types:this.i18n.t(this.params.types.join(", "))})}}},16890:function(t,e,n){"use strict";n.d(e,{y:function(){return i}});class i{passes(t){return!this.fails(t)}}},95157:function(t,e,n){"use strict";n.d(e,{b:function(){return m}});var i=n(66599),r=n(43835),s=n(78512),o=n(18948),a=n(36024),l=n(35366),c=n(68515),u=n(28505),h=n(92631),d=n(70549),p=n(73234);const f={name:"Default",default:!0,id:null};let m=(()=>{class t{constructor(t,e,n,i,r){this.http=t,this.currentUser=e,this.cookie=n,this.notifications=i,this.toast=r,this.available$=new s.X([f]),this.activeId$=new s.X(this.getIdFromCookie()),this.activeWorkspace$=new s.X(this.getIdFromCookie()?null:f)}currentUserCan(t){var e;const n=null===(e=this.activeWorkspace$.value)||void 0===e?void 0:e.currentUser;return n&&(n.is_owner||n.permissions.findIndex(e=>e.name===t)>-1)}select(t){t!==this.activeId$.value&&(this.cookie.set(this.cookieName(),t),this.activeId$.next(t));const e=this.available$.value.find(t=>t.id===this.activeId$.value);this.activeWorkspace$.next(e||this.available$.value[0])}pushAndSelect(t){this.available$.next([...this.available$.value,t]),this.select(t.id)}replace(t){const e=[...this.available$.value],n=e.findIndex(e=>e.id===t.id);n&&(e[n]=t),this.available$.next(e)}remove(t){const e=[...this.available$.value];t.forEach(t=>{const n=e.findIndex(e=>e.id===t);n&&e.splice(n,1)}),this.available$.next(e),t.includes(this.activeId$.value)&&this.select(null)}indexUserWorkspaces(){return this.http.get(`me/${t.BASE_URI}s`).pipe((0,i.b)(t=>{this.available$.next([...this.available$.value,...t.workspaces]),this.select(this.activeId$.value)}))}get(e){return this.http.get(`${t.BASE_URI}/${e}`)}delete(e){return this.http.delete(`${t.BASE_URI}/${e}`).pipe((0,i.b)(()=>{this.remove(e)}))}create(e){return this.http.post(`${t.BASE_URI}`,e).pipe((0,i.b)(t=>this.pushAndSelect(t.workspace)))}update(e,n){return this.http.put(`${t.BASE_URI}/${e}`,n).pipe((0,i.b)(t=>this.replace(t.workspace)))}invitePeople(e,n){return this.http.post(`${t.BASE_URI}/${e}/invite`,n)}resendInvite(e,n){return this.http.post(`${t.BASE_URI}/${e}/${n}/resend`)}deleteMember(e,n){return this.http.delete(`${t.BASE_URI}/${e}/member/${n}`).pipe((0,i.b)(()=>{n===this.currentUser.get("id")&&this.remove([e])}))}deleteInvite(e){return this.http.delete(`${t.BASE_URI}/invite/${e}`)}changeRole(e,n,i){const r=(0,o.w)("member_id",n)?n.member_id:n.id;return this.http.post(`${t.BASE_URI}/${e}/${n.model_type}/${r}/change-role`,{roleId:i})}join(t){return this.http.get(`workspace/join/${t}`)}bindToNotificationClick(){return this.notifications.clickedOnNotification$.pipe((0,r.h)(t=>"Common\\Workspaces\\Notifications\\WorkspaceInvitation"===t.notification.type)).subscribe(t=>{const e=t.notification.data.inviteId;"join"===t.action.action?this.join(e).subscribe(e=>{this.notifications.delete([t.notification]).subscribe(),this.pushAndSelect(e.workspace),this.toast.open("Joined workspace.")},e=>{this.handleWorkspaceInviteClickError(e,t.notification)}):"decline"===t.action.action&&this.deleteInvite(e).subscribe(()=>{this.notifications.delete([t.notification]).subscribe(),this.toast.open("Declined workspace invite.")},e=>{this.handleWorkspaceInviteClickError(e,t.notification)})})}handleWorkspaceInviteClickError(t,e){404===t.status?(this.notifications.delete([e]).subscribe(),this.toast.open("That invite is no longer valid.")):this.toast.open(a.v.Default)}getIdFromCookie(){let t=this.cookie.get(this.cookieName());return t="string"==typeof t?parseInt(t):t,isNaN(t)?null:t}cookieName(){return`${this.currentUser.get("id")}_activeWorkspace`}}return t.BASE_URI="workspace",t.\u0275fac=function(e){return new(e||t)(l.LFG(c.r),l.LFG(u.I),l.LFG(h.N),l.LFG(d.g),l.LFG(p.F))},t.\u0275prov=l.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},882:function(t,e,n){"use strict";var i=n(99624),r=n(35366),s=n(63337),o=n(43835);function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={mimeType:e.mimeType||null,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},i=Array.isArray(t)?t:[t],r=Array.apply(null,Array(i.length)).map(function(t){return null});function s(t){var e="string"==typeof t,n=e&&"<"===t.trim().charAt(0);return e&&!n}function o(t,e){n.onError(t,i[e],e)}function a(t,e){var s=n.onSuccess(t,i[e],e);r[e]=t=!1===s?"":s||t,-1===r.indexOf(null)&&n.onComplete(r)}var l=document.createElement("a");i.forEach(function(t,e){if(l.setAttribute("href",t),l.href=String(l.href),Boolean(document.all&&!window.atob)&&l.host.split(":")[0]!==location.host.split(":")[0])if(l.protocol===location.protocol){var i=new XDomainRequest;i.open("GET",t),i.timeout=0,i.onprogress=Function.prototype,i.ontimeout=Function.prototype,i.onload=function(){var t=i.responseText;s(t)?a(t,e):o(i,e)},i.onerror=function(t){o(i,e)},setTimeout(function(){i.send()},0)}else console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(t,")")),o(null,e);else{var r=new XMLHttpRequest;r.open("GET",t),n.mimeType&&r.overrideMimeType&&r.overrideMimeType(n.mimeType),n.onBeforeSend(r,t,e),r.onreadystatechange=function(){if(4===r.readyState){var t=r.responseText;r.status<400&&s(t)||0===r.status&&s(t)?a(t,e):o(r,e)}},r.send()}})}function c(t){var e=/\/\*[\s\S]+?\*\//g,n=/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g,i={rootElement:t.rootElement||document,include:t.include||'style,link[rel="stylesheet"]',exclude:t.exclude||null,filter:t.filter||null,skipDisabled:!1!==t.skipDisabled,useCSSOM:t.useCSSOM||!1,onBeforeSend:t.onBeforeSend||Function.prototype,onSuccess:t.onSuccess||Function.prototype,onError:t.onError||Function.prototype,onComplete:t.onComplete||Function.prototype},r=Array.apply(null,i.rootElement.querySelectorAll(i.include)).filter(function(t){return!((e=t).matches||e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector).call(e,i.exclude);var e}),s=Array.apply(null,Array(r.length)).map(function(t){return null});function o(){if(-1===s.indexOf(null)){s.reduce(function(t,e,n){return""===e&&t.push(n),t},[]).reverse().forEach(function(t){return[r,s].forEach(function(e){return e.splice(t,1)})});var t=s.join("");i.onComplete(t,s,r)}}function a(t,e,n,r){var a=i.onSuccess(t,n,r);h(t=void 0!==a&&!1===Boolean(a)?"":a||t,n,r,function(t,r){null===s[e]&&(r.forEach(function(t){return i.onError(t.xhr,n,t.url)}),s[e]=!i.filter||i.filter.test(t)?t:"",o())})}function c(t,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s={};return s.rules=(t.replace(e,"").match(n)||[]).filter(function(t){return-1===r.indexOf(t)}),s.urls=s.rules.map(function(t){return t.replace(n,"$1")}),s.absoluteUrls=s.urls.map(function(t){return u(t,i)}),s.absoluteRules=s.rules.map(function(t,e){var n=s.urls[e],r=u(s.absoluteUrls[e],i);return t.replace(n,r)}),s}function h(t,e,n,r){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=c(t,n,o);a.rules.length?l(a.absoluteUrls,{onBeforeSend:function(t,n,r){i.onBeforeSend(t,e,n)},onSuccess:function(t,n,r){var s=i.onSuccess(t,e,n),a=c(t=!1===s?"":s||t,n,o);return a.rules.forEach(function(e,n){t=t.replace(e,a.absoluteRules[n])}),t},onError:function(i,l,c){s.push({xhr:i,url:l}),o.push(a.rules[c]),h(t,e,n,r,s,o)},onComplete:function(i){i.forEach(function(e,n){t=t.replace(a.rules[n],e)}),h(t,e,n,r,s,o)}}):r(t,s)}r.length?r.forEach(function(t,e){var n=t.getAttribute("href"),r=t.getAttribute("rel"),c="link"===t.nodeName.toLowerCase()&&n&&r&&-1!==r.toLowerCase().indexOf("stylesheet"),h=!1!==i.skipDisabled&&t.disabled,d="style"===t.nodeName.toLowerCase();if(c&&!h)l(n,{mimeType:"text/css",onBeforeSend:function(e,n,r){i.onBeforeSend(e,t,n)},onSuccess:function(i,r,s){var o=u(n);a(i,e,t,o)},onError:function(n,r,a){s[e]="",i.onError(n,t,r),o()}});else if(d&&!h){var p=t.textContent;i.useCSSOM&&(p=Array.apply(null,t.sheet.cssRules).map(function(t){return t.cssText}).join("")),a(p,e,t,location.href)}else s[e]="",o()}):i.onComplete("",[])}function u(t,e){var n=document.implementation.createHTMLDocument(""),i=n.createElement("base"),r=n.createElement("a");return n.head.appendChild(i),n.body.appendChild(r),i.href=e||document.baseURI||(document.querySelector("base")||{}).href||location.href,r.href=t,r.href}var h=d;function d(t,e,n){t instanceof RegExp&&(t=p(t,n)),e instanceof RegExp&&(e=p(e,n));var i=f(t,e,n);return i&&{start:i[0],end:i[1],pre:n.slice(0,i[0]),body:n.slice(i[0]+t.length,i[1]),post:n.slice(i[1]+e.length)}}function p(t,e){var n=e.match(t);return n?n[0]:null}function f(t,e,n){var i,r,s,o,a,l=n.indexOf(t),c=n.indexOf(e,l+1),u=l;if(l>=0&&c>0){if(t===e)return[l,c];for(i=[],s=n.length;u>=0&&!a;)u==l?(i.push(u),l=n.indexOf(t,u+1)):1==i.length?a=[i.pop(),c]:((r=i.pop())<s&&(s=r,o=c),c=n.indexOf(e,u+1)),u=l<c&&l>=0?l:c;i.length&&(a=[s,o])}return a}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={preserveStatic:!0,removeComments:!1},i=a({},n,e),r=[];function s(t){throw new Error("CSS parse error: ".concat(t))}function o(e){var n=e.exec(t);if(n)return t=t.slice(n[0].length),n}function l(){return o(/^{\s*/)}function c(){return o(/^}/)}function u(){o(/^\s*/)}function d(){if(u(),"/"===t[0]&&"*"===t[1]){for(var e=2;t[e]&&("*"!==t[e]||"/"!==t[e+1]);)e++;if(!t[e])return s("end of comment is missing");var n=t.slice(2,e);return t=t.slice(e+2),{type:"comment",comment:n}}}function p(){for(var t,e=[];t=d();)e.push(t);return i.removeComments?[]:e}function f(){for(u();"}"===t[0];)s("extra closing bracket");var e=o(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(e)return e[0].trim().replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(t){return t.replace(/,/g,"\u200c")}).split(/\s*(?![^(]*\)),\s*/).map(function(t){return t.replace(/\u200C/g,",")})}function m(){if("@"===t[0])return O();o(/^([;\s]*)+/);var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=o(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(n){if(n=n[0].trim(),!o(/^:\s*/))return s("property missing ':'");var i=o(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),r={type:"declaration",property:n.replace(e,""),value:i?i[0].replace(e,"").trim():""};return o(/^[;\s]*/),r}}function g(){if(!l())return s("missing '{'");for(var t,e=p();t=m();)e.push(t),e=e.concat(p());return c()?e:s("missing '}'")}function _(){u();for(var t,e=[];t=o(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)e.push(t[1]),o(/^,\s*/);if(e.length)return{type:"keyframe",values:e,declarations:g()}}function b(){var t=o(/^@([-\w]+)?keyframes\s*/);if(t){var e=t[1];if(!(t=o(/^([-\w]+)\s*/)))return s("@keyframes missing name");var n,i=t[1];if(!l())return s("@keyframes missing '{'");for(var r=p();n=_();)r.push(n),r=r.concat(p());return c()?{type:"keyframes",name:i,vendor:e,keyframes:r}:s("@keyframes missing '}'")}}function v(){if(o(/^@page */))return{type:"page",selectors:f()||[],declarations:g()}}function y(){var t=o(/@(top|bottom|left|right)-(left|center|right|top|middle|bottom)-?(corner)?\s*/);if(t)return{type:"page-margin-box",name:"".concat(t[1],"-").concat(t[2])+(t[3]?"-".concat(t[3]):""),declarations:g()}}function w(){if(o(/^@font-face\s*/))return{type:"font-face",declarations:g()}}function x(){var t=o(/^@supports *([^{]+)/);if(t)return{type:"supports",supports:t[1].trim(),rules:I()}}function C(){if(o(/^@host\s*/))return{type:"host",rules:I()}}function k(){var t=o(/^@media([^{]+)*/);if(t)return{type:"media",media:(t[1]||"").trim(),rules:I()}}function A(){var t=o(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return{type:"custom-media",name:t[1].trim(),media:t[2].trim()}}function E(){var t=o(/^@([-\w]+)?document *([^{]+)/);if(t)return{type:"document",document:t[2].trim(),vendor:t[1]?t[1].trim():null,rules:I()}}function S(){var t=o(/^@(import|charset|namespace)\s*([^;]+);/);if(t)return{type:t[1],name:t[2].trim()}}function O(){if(u(),"@"===t[0]){var e=S()||w()||k()||b()||x()||E()||A()||C()||v()||y();return e&&!i.preserveStatic?(e.declarations?e.declarations.some(function(t){return/var\(/.test(t.value)}):(e.keyframes||e.rules||[]).some(function(t){return(t.declarations||[]).some(function(t){return/var\(/.test(t.value)})}))?e:{}:e}}function T(){if(!i.preserveStatic){var e=h("{","}",t);if(e){var n=/:(?:root|host)(?![.:#(])/.test(e.pre)&&/--\S*\s*:/.test(e.body),r=/var\(/.test(e.body);if(!n&&!r)return t=t.slice(e.end+1),{}}}var o=f()||[],a=i.preserveStatic?g():g().filter(function(t){var e=o.some(function(t){return/:(?:root|host)(?![.:#(])/.test(t)})&&/^--\S/.test(t.property),n=/var\(/.test(t.value);return e||n});return o.length||s("selector missing"),{type:"rule",selectors:o,declarations:a}}function I(e){if(!e&&!l())return s("missing '{'");for(var n,i=p();t.length&&(e||"}"!==t[0])&&(n=O()||T());)n.type&&i.push(n),i=i.concat(p());return e||c()?i:s("missing '}'")}return{type:"stylesheet",stylesheet:{rules:I(!0),errors:r}}}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={parseHost:!1,store:{},onWarning:function(){}},i=a({},n,e),r=new RegExp(":".concat(i.parseHost?"host":"root","$"));return"string"==typeof t&&(t=m(t,i)),t.stylesheet.rules.forEach(function(t){"rule"===t.type&&t.selectors.some(function(t){return r.test(t)})&&t.declarations.forEach(function(t,e){var n=t.property,r=t.value;n&&0===n.indexOf("--")&&(i.store[n]=r)})}),i.store}function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i={charset:function(t){return"@charset "+t.name+";"},comment:function(t){return 0===t.comment.indexOf("__CSSVARSPONYFILL")?"/*"+t.comment+"*/":""},"custom-media":function(t){return"@custom-media "+t.name+" "+t.media+";"},declaration:function(t){return t.property+":"+t.value+";"},document:function(t){return"@"+(t.vendor||"")+"document "+t.document+"{"+r(t.rules)+"}"},"font-face":function(t){return"@font-face{"+r(t.declarations)+"}"},host:function(t){return"@host{"+r(t.rules)+"}"},import:function(t){return"@import "+t.name+";"},keyframe:function(t){return t.values.join(",")+"{"+r(t.declarations)+"}"},keyframes:function(t){return"@"+(t.vendor||"")+"keyframes "+t.name+"{"+r(t.keyframes)+"}"},media:function(t){return"@media "+t.media+"{"+r(t.rules)+"}"},namespace:function(t){return"@namespace "+t.name+";"},page:function(t){return"@page "+(t.selectors.length?t.selectors.join(", "):"")+"{"+r(t.declarations)+"}"},"page-margin-box":function(t){return"@"+t.name+"{"+r(t.declarations)+"}"},rule:function(t){var e=t.declarations;if(e.length)return t.selectors.join(",")+"{"+r(e)+"}"},supports:function(t){return"@supports "+t.supports+"{"+r(t.rules)+"}"}};function r(t){for(var r="",s=0;s<t.length;s++){var o=t[s];n&&n(o);var a=i[o.type](o);a&&(r+=a,a.length&&o.selectors&&(r+=e))}return r}return r(t.stylesheet.rules)}function b(t,e){t.rules.forEach(function(n){n.rules?b(n,e):n.keyframes?n.keyframes.forEach(function(t){"keyframe"===t.type&&e(t.declarations,n)}):n.declarations&&e(n.declarations,t)})}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},i=a({},n,e);return"string"==typeof t&&(t=m(t,i)),b(t.stylesheet,function(t,e){for(var n=0;n<t.length;n++){var r=t[n],s=r.type,o=r.property,a=r.value;if("declaration"===s)if(i.preserveVars||!o||0!==o.indexOf("--")){if(-1!==a.indexOf("var(")){var l=w(a,i);l!==r.value&&(l=y(l),i.preserveVars?(t.splice(n,0,{type:s,property:o,value:l}),n++):r.value=l)}}else t.splice(n,1),n--}}),_(t)}function y(t){return(t.match(/calc\(([^)]+)\)/g)||[]).forEach(function(e){var n="calc".concat(e.split("calc").join(""));t=t.replace(e,n)}),t}function w(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(-1===t.indexOf("var("))return t;var i=h("(",")",t);function r(t){var i=t.split(",")[0].replace(/[\s\n\t]/g,""),r=(t.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],s=Object.prototype.hasOwnProperty.call(e.variables,i)?String(e.variables[i]):void 0,o=s||(r?String(r):void 0),a=n||t;return s||e.onWarning('variable "'.concat(i,'" is undefined')),o&&"undefined"!==o&&o.length>0?w(o,e,a):"var(".concat(a,")")}if(i){if("var"===i.pre.slice(-3)){var s=0===i.body.trim().length;return s?(e.onWarning("var() must contain a non-whitespace string"),t):i.pre.slice(0,-3)+r(i.body)+w(i.post,e)}return i.pre+"(".concat(w(i.body,e),")")+w(i.post,e)}return-1!==t.indexOf("var(")&&e.onWarning('missing closing ")" in the value "'.concat(t,'"')),t}d.range=f;var x="undefined"!=typeof window,C=x&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),k={group:0,job:0},A={rootElement:x?document:null,shadowDOM:!1,include:"style,link[rel=stylesheet]",exclude:"",variables:{},onlyLegacy:!0,preserveStatic:!0,preserveVars:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:null,onBeforeSend:function(){},onError:function(){},onWarning:function(){},onSuccess:function(){},onComplete:function(){},onFinally:function(){}},E={cssComments:/\/\*[\s\S]+?\*\//g,cssKeyframes:/@(?:-\w*-)?keyframes/,cssMediaQueries:/@media[^{]+\{([\s\S]+?})\s*}/g,cssUrls:/url\((?!['"]?(?:data|http|\/\/):)['"]?([^'")]*)['"]?\)/g,cssVarDeclRules:/(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^}]*})/g,cssVarDecls:/(?:[\s;]*)(-{2}\w[\w-]*)(?:\s*:\s*)([^;]*);/g,cssVarFunc:/var\(\s*--[\w-]/,cssVars:/(?:(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^;]*;*\s*)|(?:var\(\s*))(--[^:)]+)(?:\s*[:)])/},S={dom:{},job:{},user:{}},O=!1,T=null,I=0,D=null,P=!1;function F(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e="cssVars(): ",n=a({},A,t);function i(t,i,r,s){!n.silent&&window.console&&console.error("".concat(e).concat(t,"\n"),i),n.onError(t,i,r,s)}function r(t){!n.silent&&window.console&&console.warn("".concat(e).concat(t)),n.onWarning(t)}function s(t){n.onFinally(Boolean(t),C,U()-n.__benchmark)}if(x){if(n.watch)return n.watch=A.watch,M(n),void F(n);if(!1===n.watch&&T&&(T.disconnect(),T=null),!n.__benchmark){if(O===n.rootElement)return void R(t);var o=[].slice.call(n.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])'));if(n.__benchmark=U(),n.exclude=[T?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',"link[disabled]:not([data-cssvars])",n.exclude].filter(function(t){return t}).join(","),n.variables=N(n.variables),o.forEach(function(t){var e="style"===t.nodeName.toLowerCase()&&t.__cssVars.text;e&&e&&t.textContent!==t.__cssVars.text&&(t.sheet&&(t.sheet.disabled=!1),t.setAttribute("data-cssvars",""))}),!T){var l=[].slice.call(n.rootElement.querySelectorAll('[data-cssvars="out"]'));l.forEach(function(t){var e=t.getAttribute("data-cssvars-group");e&&n.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(e,'"]'))||t.parentNode.removeChild(t)}),I&&o.length<I&&(I=o.length,S.dom={})}}if("loading"!==document.readyState)if(C&&n.onlyLegacy){var u=!1;if(n.updateDOM){var h=n.rootElement.host||(n.rootElement===document?document.documentElement:n.rootElement);Object.keys(n.variables).forEach(function(t){var e=n.variables[t];u=u||e!==getComputedStyle(h).getPropertyValue(t),h.style.setProperty(t,e)})}s(u)}else!P&&(n.shadowDOM||n.rootElement.shadowRoot||n.rootElement.host)?c({rootElement:A.rootElement,include:A.include,exclude:n.exclude,skipDisabled:!1,onSuccess:function(t,e,n){return!((e.sheet||{}).disabled&&!e.__cssVars)&&((t=((t=t.replace(E.cssComments,"").replace(E.cssMediaQueries,"")).match(E.cssVarDeclRules)||[]).join(""))||!1)},onComplete:function(t,e,i){g(t,{store:S.dom,onWarning:r}),P=!0,F(n)}}):(O=n.rootElement,c({rootElement:n.rootElement,include:n.include,exclude:n.exclude,skipDisabled:!1,onBeforeSend:n.onBeforeSend,onError:function(t,e,n){var r=t.responseURL||B(n,location.href),s=t.statusText?"(".concat(t.statusText,")"):"Unspecified Error"+(0===t.status?" (possibly CORS related)":"");i("CSS XHR Error: ".concat(r," ").concat(t.status," ").concat(s),e,t,r)},onSuccess:function(t,e,i){if((e.sheet||{}).disabled&&!e.__cssVars)return!1;var r="link"===e.nodeName.toLowerCase(),s="style"===e.nodeName.toLowerCase()&&t!==e.textContent,o=n.onSuccess(t,e,i);return t=void 0!==o&&!1===Boolean(o)?"":o||t,n.updateURLs&&(r||s)&&(t=Z(t,i)),t},onComplete:function(t,e){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=a({},S.dom,S.user);if(S.job={},o.forEach(function(t,s){var o=e[s];if(t.__cssVars=t.__cssVars||{},t.__cssVars.text=o,E.cssVars.test(o))try{var a=m(o,{preserveStatic:n.preserveStatic,removeComments:!0});g(a,{parseHost:Boolean(n.rootElement.host),store:S.dom,onWarning:r}),t.__cssVars.tree=a}catch(l){i(l.message,t)}}),a(S.job,S.dom),n.updateDOM?(a(S.user,n.variables),a(S.job,S.user)):(a(S.job,S.user,n.variables),a(l,n.variables)),k.job>0&&Boolean(Object.keys(S.job).length>Object.keys(l).length||Boolean(Object.keys(l).length&&Object.keys(S.job).some(function(t){return S.job[t]!==l[t]}))))q(n.rootElement),F(n);else{var c=[],u=[],h=!1;if(n.updateDOM&&k.job++,o.forEach(function(t,s){var o=!t.__cssVars.tree;if(t.__cssVars.tree)try{v(t.__cssVars.tree,a({},n,{variables:S.job,onWarning:r}));var l=_(t.__cssVars.tree);if(n.updateDOM){var d=E.cssVarFunc.test(e[s]);if(t.getAttribute("data-cssvars")||t.setAttribute("data-cssvars","src"),l.length&&d){var p=t.getAttribute("data-cssvars-group")||++k.group,f=l.replace(/\s/g,""),m=n.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(p,'"]'))||document.createElement("style");h=h||E.cssKeyframes.test(l),n.preserveStatic&&t.sheet&&(t.sheet.disabled=!0),m.hasAttribute("data-cssvars")||m.setAttribute("data-cssvars","out"),f===t.textContent.replace(/\s/g,"")?(o=!0,m&&m.parentNode&&(t.removeAttribute("data-cssvars-group"),m.parentNode.removeChild(m))):f!==m.textContent.replace(/\s/g,"")&&([t,m].forEach(function(t){t.setAttribute("data-cssvars-job",k.job),t.setAttribute("data-cssvars-group",p)}),m.textContent=l,c.push(l),u.push(m),m.parentNode||t.parentNode.insertBefore(m,t.nextSibling))}}else t.textContent.replace(/\s/g,"")!==l&&c.push(l)}catch(g){i(g.message,t)}o&&t.setAttribute("data-cssvars","skip"),t.hasAttribute("data-cssvars-job")||t.setAttribute("data-cssvars-job",k.job)}),I=n.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,n.shadowDOM)for(var d,p=[].concat(n.rootElement).concat([].slice.call(n.rootElement.querySelectorAll("*"))),f=0;d=p[f];++f)if(d.shadowRoot&&d.shadowRoot.querySelector("style")){var b=a({},n,{rootElement:d.shadowRoot});F(b)}n.updateDOM&&h&&L(n.rootElement),O=!1,n.onComplete(c.join(""),u,JSON.parse(JSON.stringify(S.job)),U()-n.__benchmark),s(u.length)}}}));else document.addEventListener("DOMContentLoaded",function e(n){F(t),document.removeEventListener("DOMContentLoaded",e)})}}function M(t){function e(t){return n(t)&&t.hasAttribute("disabled")||(t.sheet||{}).disabled}function n(t){return"link"===t.nodeName.toLowerCase()&&-1!==(t.getAttribute("rel")||"").indexOf("stylesheet")}function i(t){return"style"===t.nodeName.toLowerCase()}window.MutationObserver&&(T&&(T.disconnect(),T=null),(T=new MutationObserver(function(r){r.some(function(r){return function(i){var r=!1;if("attributes"===i.type&&n(i.target)&&!e(i.target)){var s="disabled"===i.attributeName,o="href"===i.attributeName,a="skip"===i.target.getAttribute("data-cssvars"),l="src"===i.target.getAttribute("data-cssvars");s?r=!a&&!l:o&&(a?i.target.setAttribute("data-cssvars",""):l&&q(t.rootElement,!0),r=!0)}return r}(r)||function(t){var e=!1;if("childList"===t.type){var n=i(t.target),r="out"===t.target.getAttribute("data-cssvars");e=n&&!r}return e}(r)||function(t){var r=!1;return"childList"===t.type&&(r=[].slice.call(t.addedNodes).some(function(t){var r=1===t.nodeType&&t.hasAttribute("data-cssvars"),s=i(t)&&E.cssVars.test(t.textContent);return!r&&(n(t)||s)&&!e(t)})),r}(r)||function(e){var n=!1;return"childList"===e.type&&(n=[].slice.call(e.removedNodes).some(function(e){var n=1===e.nodeType,i=n&&"out"===e.getAttribute("data-cssvars"),r=n&&"src"===e.getAttribute("data-cssvars"),s=r;if(r||i){var o=e.getAttribute("data-cssvars-group"),a=t.rootElement.querySelector('[data-cssvars-group="'.concat(o,'"]'));r&&q(t.rootElement,!0),a&&a.parentNode.removeChild(a)}return s})),n}(r)})&&F(t)})).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0}))}function R(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;clearTimeout(D),D=setTimeout(function(){t.__benchmark=null,F(t)},e)}function L(t){var e=["animation-name","-moz-animation-name","-webkit-animation-name"].filter(function(t){return getComputedStyle(document.body)[t]})[0];if(e){for(var n=t.getElementsByTagName("*"),i=[],r=0,s=n.length;r<s;r++){var o=n[r];"none"!==getComputedStyle(o)[e]&&(o.style[e]+="__CSSVARSPONYFILL-KEYFRAMES__",i.push(o))}document;for(var a=0,l=i.length;a<l;a++){var c=i[a].style;c[e]=c[e].replace("__CSSVARSPONYFILL-KEYFRAMES__","")}}}function Z(t,e){return(t.replace(E.cssComments,"").match(E.cssUrls)||[]).forEach(function(n){var i=n.replace(E.cssUrls,"$1"),r=B(i,e);t=t.replace(n,n.replace(i,r))}),t}function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=/^-{2}/;return Object.keys(t).reduce(function(n,i){return n[e.test(i)?i:"--".concat(i.replace(/^-+/,""))]=t[i],n},{})}function B(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),i=n.createElement("base"),r=n.createElement("a");return n.head.appendChild(i),n.body.appendChild(r),i.href=e,r.href=t,r.href}function U(){return x&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function q(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[].slice.call(t.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]'));n.forEach(function(t){return t.setAttribute("data-cssvars","")}),e&&(S.dom={})}F.reset=function(){for(var t in k.job=0,k.group=0,O=!1,T&&(T.disconnect(),T=null),I=0,D=null,P=!1,S)S[t]={}};var z=F,j=n(52370),$=n(88195),Y=n(68515),V=n(61116),H=n(90611),G=n(79996),Q=n(78512),J=n(74899),W=n(3950);let K=(()=>{class t{constructor(t,e,n,i,r,s){this.document=t,this.router=e,this.settings=n,this.i18n=i,this.route=r,this.title=s,this.latestMetaTags$=new Q.X(null)}set staticTitle(t){this._staticTitle=t,this.title.setTitle(t||this.getDefaultTitle())}init(){this.router.events.pipe((0,o.h)(t=>t instanceof s.OD)).subscribe(()=>{this.latestMetaTags$.next(null)}),this.activeRoute$().subscribe(t=>{this.latestMetaTags$.value?this.addTags(this.latestMetaTags$.value):t.data.willSetSeo?this.latestMetaTags$.pipe((0,o.h)(t=>!!t),(0,H.q)(1)).subscribe(t=>{this.addTags(t)}):t.routeConfig.path&&this.addTags(this.getDefaultTags(t.data))})}addTags(t){this.removeOldTags();const e=this.document.head.firstChild;t.forEach(t=>{const n=document.createElement(t.nodeName);n.classList.add("dst"),"title"===t.nodeName&&this._staticTitle&&(t=Object.assign(Object.assign({},t),{_text:this._staticTitle})),Object.keys(t).forEach(e=>{"nodeName"!==e&&("_text"===e?n.textContent="string"==typeof t[e]?t[e]:JSON.stringify(t[e]):n.setAttribute(e,t[e]))}),this.document.head.insertBefore(n,e)})}removeOldTags(){const t=Array.from(this.document.head.getElementsByClassName("dst"));for(let e=0;e<t.length;e++)this.document.head.removeChild(t[e])}activeRoute$(){return this.router.events.pipe((0,o.h)(t=>t instanceof s.m2),(0,G.U)(()=>this.route),(0,G.U)(t=>{for(;t.firstChild;)t=t.firstChild;return t}),(0,o.h)(t=>"primary"===t.outlet),(0,G.U)(t=>t.snapshot))}getDefaultTags(t={}){const e={nodeName:"title",_text:this.settings.get("branding.site_name")},n=t.title||t.name;if(n){const t=this.i18n.t(n.replace(/-/g," "));e._text=t+" - "+e._text}return e._text=(0,J.z)(e._text),[e]}getDefaultTitle(){return(this.latestMetaTags$.value||this.getDefaultTags()).find(t=>"title"===t.nodeName)._text}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(V.K0),r.LFG(s.F0),r.LFG($.Z),r.LFG(W.Z),r.LFG(s.gz),r.LFG(i.Dx))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var X=n(64762),tt=n(80147),et=n(38116),nt=n(84369);function it(t,e){1&t&&(r.TgZ(0,"a",3),r._uU(1,"Learn More"),r.qZA()),2&t&&r.Q6J("routerLink",e.ngIf)}let rt=(()=>{class t{constructor(t,e){this.settings=t,this.overlayRef=e}hideNotice(){const t=new Date,e=new Date,n=e.setDate(e.getDate()+30);e.setTime(t.getTime()+n),document.cookie=`${this.settings.get("branding.site_name")}_cookie_notice=1; expires=${e.toUTCString()}; path=/;`,this.overlayRef.close()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36($.Z),r.Y36(tt.L))},t.\u0275cmp=r.Xpm({type:t,selectors:[["cookie-notice"]],decls:5,vars:1,consts:[["trans","",1,"message"],["trans","",3,"routerLink",4,"ngIf"],["mat-flat-button","","color","accent","trans","",3,"click"],["trans","",3,"routerLink"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r._uU(1,"We use cookies to optimize site functionality and provide you with the best possible experience."),r.qZA(),r.YNc(2,it,2,1,"a",1),r.TgZ(3,"button",2),r.NdJ("click",function(){return e.hideNotice()}),r._uU(4,"OK"),r.qZA()),2&t&&(r.xp6(2),r.Q6J("ngIf",e.settings.get("cookie_notice.learn_more")))},directives:[et.P,V.O5,nt.lW,s.yS],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center;background-color:#323232;color:#fff;padding:15px;width:100%;box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}a[_ngcontent-%COMP%]{display:block;margin-left:15px;color:var(--be-accent-lighter)}.mat-flat-button[_ngcontent-%COMP%]{margin-left:15px;line-height:28px;min-width:50px;font-size:1.3rem}.mat-flat-button[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{flex-shrink:0}"],changeDetection:0}),t})();var st=n(47727);const ot=["AT","BE","BG","BR","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","HR","HU","IE","IT","LT","LU","LV","MT","NL","NO","PL","PT","RO","SE","SI","SK"];var at=n(40878),lt=n(98979),ct=n(93717);let ut=(()=>{class t{constructor(t,e,n,i,r){this.panel=t,this.settings=e,this.http=n,this.appearance=i,this.router=r}maybeShow(){return(0,X.mG)(this,void 0,void 0,function*(){if(!(yield this.shouldShow()))return;const t=this.settings.get("cookie-notice.position","bottom");this.panel.open(rt,{origin:"global",position:{[t]:0,left:0},width:"100%",hasBackdrop:!1})})}shouldShow(){return this.settings.get("cookie_notice.enable")&&!this.appearance.active&&!this.router.url.includes("embed")&&!this.alreadyAccepted()&&this.userIsFromEu()}alreadyAccepted(){return document.cookie.includes(`${this.settings.get("branding.site_name")}_cookie_notice`)}userIsFromEu(){return this.http.get("https://freegeoip.app/json/").pipe((0,G.U)(t=>ot.includes(t.country_code)),(0,st.K)(()=>(0,at.of)(!0))).toPromise()}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(lt.T),r.LFG($.Z),r.LFG(Y.r),r.LFG(ct.f),r.LFG(s.F0))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ht=(()=>{class t{constructor(t,e,n,i,r,s){this.customHomepage=t,this.settings=e,this.httpClient=n,this.router=i,this.meta=r,this.cookieNotice=s}ngOnInit(){this.customHomepage.select(),this.settings.setHttpClient(this.httpClient),this.meta.init(),this.settings.get("analytics.tracking_code")&&this.triggerAnalyticsPageView(),this.loadCssVariablesPolyfill(),this.cookieNotice.maybeShow()}triggerAnalyticsPageView(){this.router.events.pipe((0,o.h)(t=>t instanceof s.m2)).subscribe(t=>{window.ga&&(window.ga("set","page",t.urlAfterRedirects),window.ga("send","pageview"))})}loadCssVariablesPolyfill(){"undefined"!=typeof window&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)")||z()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(j.Y),r.Y36($.Z),r.Y36(Y.r),r.Y36(s.F0),r.Y36(K),r.Y36(ut))},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&r._UZ(0,"router-outlet")},directives:[s.lC],styles:[".be-container,.container{margin:0 auto;padding-left:15px;padding-right:15px}@media screen and (min-width:768px){.be-container,.container{max-width:750px}}@media screen and (min-width:992px){.be-container,.container{max-width:970px}}@media screen and (min-width:1200px){.be-container,.container{max-width:1170px}}"],encapsulation:2,changeDetection:0}),t})();var dt=n(26136),pt=n(66213),ft=n(73322);function mt(t,e,n){if("scrollTo"===e.type)t.preventDefault(),document.querySelector(e.action).scrollIntoView({block:"center",inline:"center",behavior:"smooth"});else if(!(0,pt.s)(e.action)){t.preventDefault();const r={link:(i=e.action).split("?")[0],queryParams:(0,ft.v)(i)};n.navigate([r.link],{queryParams:r.queryParams})}var i}var gt=n(28505),_t=n(86655),bt=n(60467),vt=n(30307),yt=n(31041),wt=n(4643),xt=n.n(wt),Ct=n(67455),kt=n(11520),At=n(8839),Et=n(84222),St=n(73234),Ot=n(2862);const Tt=["input"];function It(t,e){1&t&&(r.TgZ(0,"span",9),r._uU(1,"Copy"),r.qZA())}function Dt(t,e){if(1&t&&r._uU(0),2&t){const t=r.oxw();r.Oqu(t.content.actions.inputButton)}}let Pt=(()=>{class t{constructor(t,e,n,i){this.link=t,this.toast=e,this.settings=n,this.recaptcha=i,this.newLinkControl=new yt.NI,this.activeLink$=new Q.X(null),this.loading$=new Q.X(!1)}ngAfterViewInit(){this.recaptcha.loadIfEnableFor("link_creation")}submit(){this.activeLink$.value?this.copyLink():this.createLink()}copyLink(){xt()(this.activeLink$.value.short_url)&&(this.toast.open(Ct.V.LINK_COPY_SUCCESS),this.activeLink$.next(null),this.newLinkControl.reset())}createLink(){return(0,X.mG)(this,void 0,void 0,function*(){if(this.loading$.next(!0),!(yield this.recaptcha.verify("link_creation")))return this.loading$.next(!1);if(this.urlInvalid(this.newLinkControl.value))return void this.toast.open("That is not a valid url");const t={type:this.settings.get("links.default_type","direct"),long_url:this.newLinkControl.value};this.link.create(t).pipe((0,kt.x)(()=>this.loading$.next(!1))).subscribe(t=>{const e=t.link;this.activeLink$.next(e),this.newLinkControl.setValue(e.short_url),this.input.nativeElement.select(),this.toast.open(Ct.V.LINK_SHORTEN_SUCCESS)},t=>{var e;this.toast.open((null===(e=null==t?void 0:t.errors)||void 0===e?void 0:e.long_url)||Ct.V.LINK_SHORTEN_FAIL)})})}urlInvalid(t){return!At({exact:!0,strict:!1}).test(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Et.M),r.Y36(St.F),r.Y36($.Z),r.Y36(Ot.K))},t.\u0275cmp=r.Xpm({type:t,selectors:[["new-link-form"]],viewQuery:function(t,e){if(1&t&&r.Gf(Tt,7),2&t){let t;r.iGM(t=r.CRH())&&(e.input=t.first)}},inputs:{content:"content"},decls:14,vars:13,consts:[["ngNativeValidate","",3,"ngSubmit"],[1,"input-container"],[1,"input-with-action"],["for","newLinkControl",1,"hidden"],["type","text","id","newLinkControl","trans-placeholder","","required","",3,"placeholder","formControl","readonly"],["input",""],["type","submit","mat-flat-button","","color","accent",1,"submit-button",3,"disabled"],["trans","",4,"ngIf","ngIfElse"],["noActiveLink",""],["trans",""]],template:function(t,e){if(1&t&&(r.TgZ(0,"form",0),r.NdJ("ngSubmit",function(){return e.submit()}),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r.TgZ(3,"label",3),r._uU(4),r.qZA(),r._UZ(5,"input",4,5),r.ALo(7,"async"),r.TgZ(8,"button",6),r.ALo(9,"async"),r.YNc(10,It,2,0,"span",7),r.ALo(11,"async"),r.YNc(12,Dt,1,1,"ng-template",null,8,r.W1O),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t){const t=r.MAs(13);r.xp6(4),r.Oqu(e.content.actions.inputText),r.xp6(1),r.Q6J("placeholder",e.content.actions.inputText)("formControl",e.newLinkControl)("readonly",r.lcZ(7,7,e.activeLink$)),r.xp6(3),r.Q6J("disabled",r.lcZ(9,9,e.loading$)),r.xp6(2),r.Q6J("ngIf",r.lcZ(11,11,e.activeLink$))("ngIfElse",t)}},directives:[yt.JL,yt.F,yt.Fj,et.P,yt.Q7,yt.JJ,yt.oH,nt.lW,V.O5],pipes:[V.Ov],styles:["[_nghost-%COMP%]{display:block;max-width:900px;margin:auto}.input-container[_ngcontent-%COMP%]{position:relative;border-radius:50px;overflow:hidden}input[_ngcontent-%COMP%]{height:60px;border-color:transparent;background-color:#fff;color:rgba(0,0,0,.87);font-size:2.2rem;padding-left:30px}.submit-button[disabled][_ngcontent-%COMP%]{color:hsla(0,0%,100%,.6);background-color:hsla(0,0%,100%,.2)}@media only screen and (min-width:768px){.mat-flat-button[_ngcontent-%COMP%]{min-width:200px;font-size:1.6rem}}"],changeDetection:0}),t})();var Ft=n(62181),Mt=n(77307);function Rt(t,e){if(1&t&&r._UZ(0,"new-link-form",26),2&t){const t=r.oxw();r.Q6J("content",t.content)}}function Lt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",27),r.NdJ("click",function(e){r.CHM(t);const n=r.oxw();return n.handleCtaClick(e,n.content.actions.cta1,n.router)}),r._uU(1),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("href",t.content.actions.cta1.action,r.LSH),r.xp6(1),r.Oqu(t.content.actions.cta1.label)}}function Zt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",28),r.NdJ("click",function(e){r.CHM(t);const n=r.oxw();return n.handleCtaClick(e,n.content.actions.cta2,n.router)}),r._uU(1),r.qZA()}if(2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.content.actions.cta2.label," ")}}function Nt(t,e){if(1&t&&(r.TgZ(0,"li",29),r._UZ(1,"image-or-icon",30),r.TgZ(2,"h3",31),r._uU(3),r.qZA(),r.TgZ(4,"p",31),r._uU(5),r.qZA(),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Q6J("src",t.image),r.xp6(2),r.Oqu(t.title),r.xp6(2),r.Oqu(t.subtitle)}}function Bt(t,e){1&t&&r._UZ(0,"li",18)}function Ut(t,e){if(1&t&&(r.ynx(0),r.TgZ(1,"li",32),r._UZ(2,"image-or-icon",33),r.TgZ(3,"section",34),r.TgZ(4,"small",31),r._uU(5),r.qZA(),r.TgZ(6,"h2",31),r._uU(7),r.qZA(),r._UZ(8,"div",35),r.TgZ(9,"p",31),r._uU(10),r.qZA(),r.qZA(),r.qZA(),r.YNc(11,Bt,1,0,"li",36),r.BQk()),2&t){const t=e.$implicit,n=e.first,i=e.last,s=e.even;r.xp6(1),r.ekj("first-secondary-feature",n)("reverse",s),r.xp6(1),r.Q6J("src",t.image),r.xp6(3),r.Oqu(t.subtitle),r.xp6(2),r.Oqu(t.title),r.xp6(3),r.Oqu(t.description),r.xp6(1),r.Q6J("ngIf",!i)}}function qt(t,e){if(1&t&&(r.TgZ(0,"div",38),r.TgZ(1,"div",39),r._UZ(2,"mat-icon",40),r.TgZ(3,"div",34),r.TgZ(4,"div",41),r._uU(5,"Total Links Created"),r.qZA(),r.TgZ(6,"div",42),r._uU(7),r.qZA(),r.qZA(),r.qZA(),r.TgZ(8,"div",39),r._UZ(9,"mat-icon",43),r.TgZ(10,"div",34),r.TgZ(11,"div",41),r._uU(12,"Total Link Clicks"),r.qZA(),r.TgZ(13,"div",42),r._uU(14),r.qZA(),r.qZA(),r.qZA(),r.TgZ(15,"div",39),r._UZ(16,"mat-icon",44),r.TgZ(17,"div",34),r.TgZ(18,"div",41),r._uU(19,"Users Signed Up"),r.qZA(),r.TgZ(20,"div",42),r._uU(21),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t){const t=e.ngIf;r.xp6(7),r.Oqu(t.links),r.xp6(7),r.Oqu(t.clicks),r.xp6(7),r.Oqu(t.users)}}function zt(t,e){if(1&t&&(r.ynx(0),r.YNc(1,qt,22,3,"div",37),r.ALo(2,"async"),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngIf",r.lcZ(2,1,t.stats$))}}function jt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",45),r.NdJ("click",function(e){r.CHM(t);const n=r.oxw();return n.handleCtaClick(e,n.content.actions.cta1,n.router)}),r._uU(1),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("href",t.content.actions.cta1.action,r.LSH),r.xp6(1),r.Oqu(t.content.actions.cta1.label)}}let $t=(()=>{class t{constructor(t,e,n,i,r,s,o){this.http=t,this.settings=e,this.i18n=n,this.cd=i,this.sanitizer=r,this.currentUser=s,this.router=o,this.stats$=new Q.X(null),this.handleCtaClick=mt}ngOnInit(){this.settings.all$().subscribe(()=>{this.content=this.settings.getJson("homepage.appearance"),this.overlayBackground=this.sanitizer.bypassSecurityTrustStyle(`linear-gradient(45deg, ${this.content.headerOverlayColor1} 0%, ${this.content.headerOverlayColor2} 100%)`),this.cd.markForCheck()}),this.http.get("homepage/stats").subscribe(t=>{this.stats$.next(t.stats)})}copyrightText(){const t=(new Date).getFullYear();return this.i18n.t("Copyright \xa9 :year, ADV Progress Web Agency P.Iva 08005331213",{year:t})}scrollToFeatures(){document.querySelector(".first-secondary-feature").scrollIntoView({block:"center",inline:"center",behavior:"smooth"})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Y.r),r.Y36($.Z),r.Y36(W.Z),r.Y36(r.sBO),r.Y36(i.H7),r.Y36(gt.I),r.Y36(s.F0))},t.\u0275cmp=r.Xpm({type:t,selectors:[["landing"]],decls:33,vars:22,consts:[[1,"hero","header-overlay"],[1,"background-image"],["viewBox","0 0 100 15",2,"position","absolute","bottom","0","left","0","z-index","2"],["fill","#fff","opacity","0.1","d","M0 30 V15 Q30 3 60 15 V30z"],["d","M0 30 V12 Q30 17 55 12 T100 11 V30z",1,"wave-fill"],[1,"hero-content"],[1,"login-button-accent",3,"transparent","container","menuPosition"],[1,"be-container"],["trans","",1,"header-title"],["trans","",1,"header-description"],[3,"content",4,"ngIf"],[1,"action-buttons"],["class","get-started-button","mat-raised-button","","color","accent","trans","",3,"href","click",4,"ngIf"],["class","learn-more-button","mat-button","","trans","",3,"click",4,"ngIf"],[1,"container"],["slot","ads.landing.top"],[1,"inline-features","unstyled-list"],["class","inline-feature",4,"ngFor","ngForOf"],[1,"spacer"],[1,"big-features","unstyled-list"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"bottom-cta"],["trans","",1,"footer-title"],["trans","",1,"footer-description"],["mat-raised-button","","trans","",3,"href","click",4,"ngIf"],[3,"content"],["mat-raised-button","","color","accent","trans","",1,"get-started-button",3,"href","click"],["mat-button","","trans","",1,"learn-more-button",3,"click"],[1,"inline-feature"],[1,"inherit-size",3,"src"],["trans",""],[1,"big-feature","container"],[3,"src"],[1,"info"],[1,"feature-border"],["class","spacer",4,"ngIf"],["class","stats container",4,"ngIf"],[1,"stats","container"],[1,"stat"],["svgIcon","link"],["trans","",1,"text"],[1,"number"],["svgIcon","mouse"],["svgIcon","person"],["mat-raised-button","","trans","",3,"href","click"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r._UZ(1,"div",1),r.O4$(),r.TgZ(2,"svg",2),r._UZ(3,"path",3),r._UZ(4,"path",4),r.qZA(),r.kcU(),r.TgZ(5,"div",5),r._UZ(6,"material-navbar",6),r.TgZ(7,"div",7),r.TgZ(8,"h1",8),r._uU(9),r.qZA(),r.TgZ(10,"p",9),r._uU(11),r.qZA(),r.YNc(12,Rt,1,1,"new-link-form",10),r.TgZ(13,"div",11),r.YNc(14,Lt,2,2,"a",12),r.YNc(15,Zt,2,1,"button",13),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(16,"div",14),r._UZ(17,"ad-host",15),r.TgZ(18,"ul",16),r.YNc(19,Nt,6,3,"li",17),r.qZA(),r.qZA(),r._UZ(20,"div",18),r.TgZ(21,"ul",19),r.YNc(22,Ut,12,9,"ng-container",20),r.qZA(),r._UZ(23,"div",18),r.YNc(24,zt,3,3,"ng-container",21),r.TgZ(25,"div",22),r.TgZ(26,"div",14),r.TgZ(27,"h2",23),r._uU(28),r.qZA(),r.TgZ(29,"p",24),r._uU(30),r.qZA(),r.YNc(31,jt,2,2,"a",25),r.qZA(),r.qZA(),r._UZ(32,"app-footer",14)),2&t&&(r.Udp("background",e.overlayBackground),r.xp6(1),r.Udp("background-image","url("+e.content.headerImage+")")("opacity",e.content.headerImageOpacity),r.xp6(5),r.Q6J("transparent",!0)("container",!0)("menuPosition",e.settings.get("vebto.navbar.defaultPosition","homepage-navbar")),r.xp6(3),r.Oqu(e.content.headerTitle),r.xp6(2),r.Oqu(e.content.headerSubtitle),r.xp6(1),r.Q6J("ngIf",e.currentUser.hasPermission("links.create")&&e.settings.get("links.homepage_creation")),r.xp6(2),r.Q6J("ngIf",null==e.content||null==e.content.actions||null==e.content.actions.cta2?null:e.content.actions.cta2.label),r.xp6(1),r.Q6J("ngIf",null==e.content||null==e.content.actions||null==e.content.actions.cta2?null:e.content.actions.cta2.label),r.xp6(4),r.Q6J("ngForOf",e.content.primaryFeatures),r.xp6(3),r.Q6J("ngForOf",e.content.secondaryFeatures),r.xp6(2),r.Q6J("ngIf",e.settings.get("links.homepage_stats")),r.xp6(1),r.Udp("background-image","url("+e.content.footerImage+")"),r.xp6(3),r.Oqu(e.content.footerTitle),r.xp6(2),r.Oqu(e.content.footerSubtitle),r.xp6(1),r.Q6J("ngIf",null==e.content||null==e.content.actions||null==e.content.actions.cta2?null:e.content.actions.cta2.label))},directives:[_t.e,et.P,V.O5,bt.i,V.sg,vt.q,Pt,nt.zs,nt.lW,Ft.A,Mt.Hw],pipes:[V.Ov],styles:[".hero[_ngcontent-%COMP%]{text-align:center;position:relative;padding-bottom:140px}@media only screen and (max-width:768px){.hero[_ngcontent-%COMP%]{padding-bottom:30px}}.hero-content[_ngcontent-%COMP%]{position:relative;z-index:3}svg[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%}.wave-fill[_ngcontent-%COMP%]{fill:var(--be-background)}material-navbar[_ngcontent-%COMP%]{box-shadow:none;margin-bottom:40px}h1[_ngcontent-%COMP%]{font-size:3.6rem;margin:0 0 10px}.header-description[_ngcontent-%COMP%], h1[_ngcontent-%COMP%]{font-weight:400;text-shadow:1px 1px 5px rgba(0,0,0,.1)}.header-description[_ngcontent-%COMP%]{margin:0 auto;font-size:1.9rem;max-width:600px}new-link-form[_ngcontent-%COMP%]{margin-top:80px}.action-buttons[_ngcontent-%COMP%]{margin:50px 0}.get-started-button[_ngcontent-%COMP%]{min-width:130px;height:40px;line-height:40px;margin-right:5px;text-transform:uppercase}.inline-features[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-column-gap:20px;justify-content:space-between;margin-top:60px;text-align:center}@media only screen and (max-width:768px){.inline-features[_ngcontent-%COMP%]{display:block}.inline-features[_ngcontent-%COMP%]   .inline-feature[_ngcontent-%COMP%]{min-width:auto}}.inline-feature[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);border-radius:10px;padding:34px 26px;box-shadow:0 10px 30px rgba(0,0,0,.08)}.inline-feature[_ngcontent-%COMP%]   image-or-icon[_ngcontent-%COMP%]{display:block;width:150px;height:120px;margin:0 auto 30px}.inline-feature[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.8rem;margin-bottom:15px}.inline-feature[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.5rem;color:var(--be-secondary-text)}.spacer[_ngcontent-%COMP%]{display:block;border-bottom:1px solid var(--be-divider-lighter);margin-bottom:40px;margin-top:40px}.big-feature[_ngcontent-%COMP%]{display:flex;padding:15px 0}.big-feature.reverse[_ngcontent-%COMP%]{flex-direction:row-reverse}.big-feature[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:10px;width:580px;max-width:100%;margin-right:auto;box-shadow:0 0 80px 10px rgba(0,0,0,.08)}.big-feature[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{margin-left:30px;margin-right:auto;max-width:350px;padding-top:30px}.big-feature[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{text-transform:uppercase;margin:0 0 15px;letter-spacing:1px;font-weight:500;font-size:1.2rem;color:var(--be-secondary-text)}.big-feature[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:15px 0;font-size:3.1rem;font-weight:400}.big-feature[_ngcontent-%COMP%]   .feature-border[_ngcontent-%COMP%]{width:50px;height:2px;background-color:var(--be-primary-default)}.big-feature[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.5rem;margin:20px 0}@media only screen and (max-width:768px){.big-feature[_ngcontent-%COMP%]{display:block;padding:0 15px}.big-feature[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{margin-left:0}}.stats[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,-webkit-min-content);grid-template-columns:repeat(3,min-content);justify-content:space-between;margin:90px auto}.stats[_ngcontent-%COMP%]   .stat[_ngcontent-%COMP%]{display:flex;align-items:center}.stats[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{flex-shrink:0;width:44px;height:44px;color:var(--be-primary-default)}.stats[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{border-left:2px solid var(--be-divider-lighter);padding-left:25px;margin-left:25px}.stats[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:1.5rem;text-transform:uppercase;white-space:nowrap}.stats[_ngcontent-%COMP%]   .number[_ngcontent-%COMP%]{font-size:3rem;font-weight:500}@media only screen and (max-width:768px){.stats[_ngcontent-%COMP%]{display:none}}.bottom-cta[_ngcontent-%COMP%]{padding:70px 0;text-align:center;background-attachment:fixed;color:var(--be-accent-contrast);background-repeat:no-repeat;background-size:cover;background-color:#2b2b2b}.bottom-cta[_ngcontent-%COMP%], .bottom-cta[_ngcontent-%COMP%]   .be-container[_ngcontent-%COMP%]{position:relative}.bottom-cta[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:3.2rem;font-weight:300;margin:0 auto;max-width:600px}.bottom-cta[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.5rem;opacity:.73;margin:25px auto 45px}.bottom-cta[_ngcontent-%COMP%]   .mat-raised-button[_ngcontent-%COMP%]{min-width:185px;height:50px;line-height:50px;border-radius:30px;font-size:1.7rem;font-weight:500}@media only screen and (max-width:768px){.bottom-cta[_ngcontent-%COMP%]{display:none}}.ads-landing-top-host[_ngcontent-%COMP%]{margin-top:60px}.background-texture[_ngcontent-%COMP%]{background-color:#384c5c;background-size:cover;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%25' gradientTransform='rotate(240)'%3E%3Cstop offset='0' stop-color='%23314351'/%3E%3Cstop offset='1' stop-color='%23314351'/%3E%3C/linearGradient%3E%3Cpattern patternUnits='userSpaceOnUse' id='b' width='540' height='450' x='0' y='0' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.02'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect x='0' y='0' fill='url(%23b)' width='100%25' height='100%25'/%3E%3C/svg%3E\")}.background-texture[_ngcontent-%COMP%], .header-overlay[_ngcontent-%COMP%]{color:var(--be-accent-contrast)}.background-image[_ngcontent-%COMP%]{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;background-size:cover;background-repeat:no-repeat;background-position:50%}"],changeDetection:0}),t})();var Yt=n(87446);function Vt(t,e){if(1&t&&(r.TgZ(0,"p",14),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.Oqu(t.name)}}function Ht(t,e){if(1&t&&(r.TgZ(0,"p",14),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.Oqu(t.email)}}function Gt(t,e){if(1&t&&(r.TgZ(0,"p",14),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.Oqu(t.message)}}function Qt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",3),r.NdJ("ngSubmit",function(){return r.CHM(t),r.oxw().submitMessage()}),r.TgZ(1,"h1",4),r._uU(2,"Contact Us"),r.qZA(),r.TgZ(3,"p",4),r._uU(4,"Please use the form below to send us a message and we'll get back to you as soon as possible."),r.qZA(),r.TgZ(5,"div",5),r.TgZ(6,"label",6),r._uU(7,"Name"),r.qZA(),r._UZ(8,"input",7),r.YNc(9,Vt,2,1,"p",8),r.qZA(),r.TgZ(10,"div",5),r.TgZ(11,"label",9),r._uU(12,"Email"),r.qZA(),r._UZ(13,"input",10),r.YNc(14,Ht,2,1,"p",8),r.qZA(),r.TgZ(15,"div",5),r.TgZ(16,"label",11),r._uU(17,"Message"),r.qZA(),r._UZ(18,"textarea",12),r.YNc(19,Gt,2,1,"p",8),r.qZA(),r.TgZ(20,"button",13),r.ALo(21,"async"),r._uU(22,"Send"),r.qZA(),r.qZA()}if(2&t){const t=e.ngIf,n=r.oxw();r.Q6J("formGroup",n.form),r.xp6(9),r.Q6J("ngIf",t.name),r.xp6(5),r.Q6J("ngIf",t.email),r.xp6(5),r.Q6J("ngIf",t.message),r.xp6(1),r.Q6J("disabled",r.lcZ(21,5,n.loading$))}}let Jt=(()=>{class t{constructor(t,e,n,i,r){this.settings=t,this.http=e,this.toast=n,this.router=i,this.recaptcha=r,this.loading$=new Q.X(!1),this.form=new yt.cw({name:new yt.NI,email:new yt.NI,message:new yt.NI}),this.errors$=new Q.X({})}ngOnInit(){this.recaptcha.enabledFor("contact")&&this.recaptcha.load()}submitMessage(){return(0,X.mG)(this,void 0,void 0,function*(){if(this.loading$.next(!0),this.recaptcha.enabledFor("contact")&&!(yield this.recaptcha.verify("contact")))return this.toast.open("Could not verify you are human.");this.http.post("contact-page",this.form.value).pipe((0,kt.x)(()=>{this.loading$.next(!1)})).subscribe(()=>{this.errors$.next({}),this.toast.open("Your message has been submitted."),this.router.navigate(["/"])},t=>this.errors$.next(t.errors))})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36($.Z),r.Y36(Y.r),r.Y36(St.F),r.Y36(s.F0),r.Y36(Ot.K))},t.\u0275cmp=r.Xpm({type:t,selectors:[["contact"]],decls:4,vars:5,consts:[[3,"container","menuPosition"],[1,"form-container"],["class","many-inputs","ngNativeValidate","",3,"formGroup","ngSubmit",4,"ngIf"],["ngNativeValidate","",1,"many-inputs",3,"formGroup","ngSubmit"],["trans",""],[1,"input-container"],["for","name","trans",""],["type","text","id","name","formControlName","name","required",""],["class","error",4,"ngIf"],["for","email","trans",""],["type","email","id","email","formControlName","email","required",""],["for","message","trans",""],["id","message","formControlName","message","rows","10","required",""],["type","submit","mat-raised-button","","color","accent","trans","",3,"disabled"],[1,"error"]],template:function(t,e){1&t&&(r._UZ(0,"material-navbar",0),r.TgZ(1,"div",1),r.YNc(2,Qt,23,7,"form",2),r.ALo(3,"async"),r.qZA()),2&t&&(r.Q6J("container",!0)("menuPosition",e.settings.get("vebto.navbar.defaultPosition","custom-page-navbar")),r.xp6(2),r.Q6J("ngIf",r.lcZ(3,3,e.errors$)))},directives:[_t.e,V.O5,yt.JL,yt.sg,et.P,yt.Fj,yt.JJ,yt.u,yt.Q7,nt.lW],pipes:[V.Ov],styles:[".form-container[_ngcontent-%COMP%]{min-height:calc(100vh - 70px);background:var(--be-background-alternative);padding:25px;display:flex}form[_ngcontent-%COMP%]{background-color:var(--be-background);box-shadow:none;border:1px solid var(--be-divider-default);width:675px;max-width:100%;padding:25px;margin:auto}form[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-weight:300;margin:0}form[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:5px 0 35px}"],changeDetection:0}),t})();const Wt=new r.OlP("APP_CONFIG");var Kt=n(131);let Xt=(()=>{class t{constructor(t){this.injector=t,this.settings=this.injector.get($.Z),this.currentUser=this.injector.get(gt.I),this.i18n=this.injector.get(W.Z),this.injector.get(Wt).forEach(t=>this.settings.merge({vebto:t})),this.registerIcons()}bootstrap(t){return t||(t=window.bootstrapData),t?(this.handleData(t),new Promise(t=>t())):new Promise((t,e)=>{const n=encodeURIComponent(window.location.href);this.injector.get(Y.r).get("bootstrap-data?original_url="+n).subscribe(e=>{this.handleData(e.data),t()},t=>{console.log("bootstrap error",t),e()})})}handleData(t){const e=JSON.parse(atob(t));return this.settings.setMultiple(e.settings),e.i18n&&this.i18n.setLocalization(e.i18n),this.currentUser.init({guestsRole:e.guests_role,user:e.user}),this.data=e,this.settings.csrfToken=e.csrf_token,this.injector.get(Kt.f).registerThemes(this.data.themes),this.injector.get(ct.f).init(),e}registerIcons(){const t=this.settings.getAssetUrl("icons/merged.svg?v4");this.injector.get(Mt.jv).addSvgIconSet(this.injector.get(i.H7).bypassSecurityTrustResourceUrl(t))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.zs3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function te(t,e){1&t&&(r.TgZ(0,"div",11),r._uU(1,"Password does not match."),r.qZA())}let ee=(()=>{class t{constructor(t){this.http=t,this.passwordControl=new yt.NI,this.passwordError$=new Q.X(!1),this.passwordValid=new r.vpe(null)}submitPassword(){const t=Object.assign(Object.assign({},this.config),{password:this.passwordControl.value});this.http.post("password/check",t).subscribe(t=>{this.handlePasswordCheck(t.matches)},()=>{})}handlePasswordCheck(t){this.passwordError$.next(!t),t&&this.passwordValid.emit(this.passwordControl.value)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Y.r))},t.\u0275cmp=r.Xpm({type:t,selectors:[["request-password-panel"]],inputs:{config:"config"},outputs:{passwordValid:"passwordValid"},decls:15,vars:4,consts:[[1,"wrapper"],[1,"panel"],["svgIcon","password"],["ngNativeValidate","",1,"content",3,"ngSubmit"],["trans","",1,"message"],[1,"input-container"],["for","password","trans","",1,"hidden"],["type","password","id","password","placeholder","Password","trans-placeholder","","required","",3,"formControl"],[1,"button-container"],["class","error","trans","",4,"ngIf"],["type","submit","mat-raised-button","","color","accent","trans",""],["trans","",1,"error"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r._UZ(2,"mat-icon",2),r.TgZ(3,"form",3),r.NdJ("ngSubmit",function(){return e.submitPassword()}),r.TgZ(4,"div",4),r._uU(5,"The link you are trying to access is password protected."),r.qZA(),r.TgZ(6,"div",5),r.TgZ(7,"label",6),r._uU(8,"Password"),r.qZA(),r._UZ(9,"input",7),r.qZA(),r.TgZ(10,"div",8),r.YNc(11,te,2,0,"div",9),r.ALo(12,"async"),r.TgZ(13,"button",10),r._uU(14,"Enter"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&t&&(r.xp6(9),r.Q6J("formControl",e.passwordControl),r.xp6(2),r.Q6J("ngIf",r.lcZ(12,2,e.passwordError$)))},directives:[Mt.Hw,yt.JL,yt.F,et.P,yt.Fj,yt.Q7,yt.JJ,yt.oH,V.O5,nt.lW],pipes:[V.Ov],styles:[".wrapper[_ngcontent-%COMP%]{width:100vw;height:100vh;overflow:hidden;background-color:var(--be-background-alternative)}.panel[_ngcontent-%COMP%]{display:flex;background-color:var(--be-background);color:var(--be-text);border:1px solid var(--be-divider-default);padding:25px;border-radius:4px;position:absolute;top:0;left:0;right:0;bottom:0;width:500px;height:192px;max-width:90%;max-height:90%;margin:auto}.content[_ngcontent-%COMP%]{flex:1 1 auto}.message[_ngcontent-%COMP%]{margin-bottom:8px}.button-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:10px}.button-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:auto}.mat-icon[_ngcontent-%COMP%]{width:140px;height:140px;flex:0 0 140px;margin-right:10px;margin-left:-25px}"],changeDetection:0}),t})();var ne=n(87254),ie=n(47701);let re=(()=>{class t{constructor(){this.threshold=50}ngOnInit(){this.el||(this.el=new r.SBq(document)),this.zone.runOutsideAngular(()=>{this.scrollSub=(0,ne.R)(this.getScrollContainer(),"scroll",{capture:!0,passive:!0}).pipe((0,ie.b)(20)).subscribe(t=>this.onScroll(t.target))})}ngOnDestroy(){this.scrollSub&&this.scrollSub.unsubscribe()}getScrollContainer(){return this.el?this.el.nativeElement:document}onScroll(t){if(!t||t!==this.el.nativeElement||!this.canLoadMore()||this.isLoading())return;const e=parseInt(this.threshold),n=this.el&&void 0!==t.scrollTop;(n?t.scrollTop+t.offsetHeight:window.scrollY+window.innerHeight)>=(n?t.scrollHeight-e:document.documentElement.scrollHeight-e)&&this.zone.run(()=>{this.loadMoreItems()})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t}),t})();var se=n(99713),oe=n(16980),ae=n(88798),le=n(47210),ce=n(40985);function ue(t,e){if(1&t&&(r.TgZ(0,"p",9),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.group.description)}}function he(t,e){1&t&&(r.TgZ(0,"li",12),r._UZ(1,"skeleton",13),r._UZ(2,"skeleton",14),r._UZ(3,"skeleton",15),r.qZA())}const de=function(){return[1,2,3,4]};function pe(t,e){1&t&&(r.TgZ(0,"ul",10),r.YNc(1,he,4,0,"li",11),r.qZA()),2&t&&(r.Q6J("@fadeOut",void 0),r.xp6(1),r.Q6J("ngForOf",r.DdM(2,de)))}function fe(t,e){if(1&t&&(r.TgZ(0,"p",22),r._uU(1),r.qZA()),2&t){const t=r.oxw().$implicit;r.xp6(1),r.Oqu(t.description)}}function me(t,e){if(1&t&&(r.TgZ(0,"li",16),r.TgZ(1,"a",17),r.TgZ(2,"div",18),r._UZ(3,"img",19),r.ALo(4,"favicon"),r.TgZ(5,"span"),r._uU(6),r.qZA(),r.qZA(),r.TgZ(7,"div",20),r._uU(8),r.qZA(),r.YNc(9,fe,2,1,"p",21),r.qZA(),r.qZA()),2&t){const t=e.$implicit,n=r.oxw();r.xp6(1),r.Q6J("href",t.short_url,r.LSH),r.xp6(2),r.Q6J("src",r.lcZ(4,5,t.long_url),r.LSH),r.xp6(3),r.Oqu(n.removeProtocol(t.long_url)),r.xp6(2),r.Oqu(t.short_url),r.xp6(1),r.Q6J("ngIf",t.description)}}function ge(t,e){1&t&&(r.TgZ(0,"no-results-message",23),r.TgZ(1,"span",24),r._uU(2,"No links have been added to this group yet"),r.qZA(),r.qZA())}let _e=(()=>{class t extends re{constructor(t,e,n,i,r){super(),this.settings=t,this.route=e,this.linkGroups=n,this.zone=i,this.cd=r,this.loading$=new Q.X(!1)}ngOnInit(){super.ngOnInit(),this.loadMoreItems()}removeProtocol(t){return t.replace(/(^\w+:|^)\/\//,"")}canLoadMore(){return this.links.last_page>this.links.current_page}isLoading(){return this.loading$.value}loadMoreItems(){var t;this.loading$.next(!0),this.linkGroups.links(this.group.id,{page:(null===(t=this.links)||void 0===t?void 0:t.current_page)+1}).pipe((0,kt.x)(()=>this.loading$.next(!1))).subscribe(t=>{var e;this.links=Object.assign(Object.assign({},t.pagination),{data:[...(null===(e=this.links)||void 0===e?void 0:e.data)||[],...t.pagination.data]}),this.cd.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36($.Z),r.Y36(s.gz),r.Y36(oe.L),r.Y36(r.R0b),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["link-group-page"]],inputs:{group:"group"},features:[r.qOj],decls:13,vars:12,consts:[[3,"menuPosition","container"],[1,"be-container","page-container"],["class","group-description",4,"ngIf"],[1,"links-container"],["class","group-links skeleton-links unstyled-list",4,"ngIf"],[1,"group-links","real-links","unstyled-list"],["class","group-link",4,"ngFor","ngForOf"],["svgImage","share-link.svg",4,"ngIf"],[1,"be-container"],[1,"group-description"],[1,"group-links","skeleton-links","unstyled-list"],["class","group-link skeleton-link",4,"ngFor","ngForOf"],[1,"group-link","skeleton-link"],["variant","text",1,"long-url"],["variant","text",1,"short-url"],["variant","text",1,"link-description"],[1,"group-link"],["target","_blank",3,"href"],[1,"long-url"],["alt","Link favicon",1,"favicon-img",3,"src"],[1,"short-url"],["class","link-description",4,"ngIf"],[1,"link-description"],["svgImage","share-link.svg"],["primary-text","","trans",""]],template:function(t,e){1&t&&(r._UZ(0,"material-navbar",0),r.TgZ(1,"div",1),r.TgZ(2,"h1"),r._uU(3),r.qZA(),r.YNc(4,ue,2,1,"p",2),r.TgZ(5,"div",3),r.YNc(6,pe,2,3,"ul",4),r.ALo(7,"async"),r.TgZ(8,"ul",5),r.YNc(9,me,10,7,"li",6),r.qZA(),r.qZA(),r.YNc(10,ge,3,0,"no-results-message",7),r.ALo(11,"async"),r.qZA(),r._UZ(12,"app-footer",8)),2&t&&(r.Q6J("menuPosition",e.settings.get("vebto.navbar.defaultPosition"))("container",!0),r.xp6(3),r.Oqu(null==e.group?null:e.group.name),r.xp6(1),r.Q6J("ngIf",null==e.group?null:e.group.description),r.xp6(2),r.Q6J("ngIf",!e.links&&r.lcZ(7,8,e.loading$)),r.xp6(2),r.Q6J("@fadeIn",void 0),r.xp6(1),r.Q6J("ngForOf",null==e.links?null:e.links.data),r.xp6(1),r.Q6J("ngIf",e.links&&0===e.links.data.length&&!r.lcZ(11,10,e.loading$)))},directives:[_t.e,V.O5,V.sg,vt.q,ae._,le.U,et.P],pipes:[V.Ov,ce.K],styles:["[_nghost-%COMP%]{display:block;background:var(--be-background-alternative)}.page-container[_ngcontent-%COMP%]{padding-top:50px;min-height:calc(100vh - 201px)}h1[_ngcontent-%COMP%]{margin:0 0 25px}.group-description[_ngcontent-%COMP%]{margin-bottom:50px}.links-container[_ngcontent-%COMP%], .real-links[_ngcontent-%COMP%]{position:relative}.real-links[_ngcontent-%COMP%]{z-index:1}.group-link[_ngcontent-%COMP%]{background-color:var(--be-background);padding:20px;border-radius:4px;margin-bottom:20px;border:1px solid var(--be-divider-lighter)}.group-link[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:not(.skeleton-link){z-index:1}.group-link[_ngcontent-%COMP%]:hover:not(.skeleton-link){background:var(--be-accent-emphasis)}.group-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.favicon-img[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-right:5px}.long-url[_ngcontent-%COMP%]{font-weight:500;margin-bottom:3px}.short-url[_ngcontent-%COMP%]{font-size:1.3rem}.link-description[_ngcontent-%COMP%]{color:var(--be-secondary-text);margin:15px 0 0;font-size:1.3rem}loading-indicator[_ngcontent-%COMP%]{margin-top:50px}app-footer[_ngcontent-%COMP%]{padding:50px 5px;font-size:1.5rem;border-top:none;color:inherit}no-results-message[_ngcontent-%COMP%]{margin-top:120px}"],data:{animation:[(0,se.X$)("fadeIn",[(0,se.eR)(":enter",[(0,se.oB)({opacity:0}),(0,se.jt)("325ms ease-in",(0,se.oB)({opacity:1}))])]),(0,se.X$)("fadeOut",[(0,se.eR)(":leave",[(0,se.oB)({opacity:1,position:"absolute",left:"0",right:"0"}),(0,se.jt)("325ms ease-out",(0,se.oB)({opacity:0}))])])]},changeDetection:0}),t})();var be=n(24637);function ve(t){const e=new URL(t.long_url);return t.utm&&new URLSearchParams(t.utm).forEach((t,n)=>{e.searchParams.append(t,n)}),e.toString()}var ye=n(78671),we=n(34500);function xe(t,e){if(1&t&&(r.TgZ(0,"material-navbar",4),r._UZ(1,"share-link-btns",5),r.qZA()),2&t){const t=r.oxw();r.Q6J("showToggleButton",!1)("hideRightSideActions",!0),r.xp6(1),r.Q6J("link",t.link)("showCopyBtn",!0)}}function Ce(t,e){if(1&t&&r._UZ(0,"link-overlay",6),2&t){const t=r.oxw();r.Q6J("overlay",t.link.overlay)}}let ke=(()=>{class t{constructor(t){this.sanitizer=t}set link(t){this._link=t,this.safeUrl=this.sanitizer.bypassSecurityTrustResourceUrl(ve(this.link))}get link(){return this._link}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.H7))},t.\u0275cmp=r.Xpm({type:t,selectors:[["link-frame"]],inputs:{link:"link"},decls:4,vars:5,consts:[[3,"showToggleButton","hideRightSideActions",4,"ngIf"],["slot","ads.frame.top"],[3,"overlay",4,"ngIf"],[3,"src"],[3,"showToggleButton","hideRightSideActions"],[1,"push-right",3,"link","showCopyBtn"],[3,"overlay"]],template:function(t,e){1&t&&(r.YNc(0,xe,2,4,"material-navbar",0),r._UZ(1,"ad-host",1),r.YNc(2,Ce,1,1,"link-overlay",2),r._UZ(3,"iframe",3)),2&t&&(r.Q6J("ngIf","frame"===e.link.type),r.xp6(2),r.Q6J("ngIf","overlay"===e.link.type),r.xp6(1),r.ekj("full-height","overlay"===e.link.type),r.Q6J("src",e.safeUrl,r.uOi))},directives:[V.O5,bt.i,_t.e,ye.t,we.a],styles:["[_nghost-%COMP%]{display:block;overflow:hidden;width:100vw;height:100vh}iframe[_ngcontent-%COMP%]{border:none;width:100%;height:calc(100% - 70px)}iframe.full-height[_ngcontent-%COMP%]{height:100%}.ads-frame-top-host[_ngcontent-%COMP%]{margin-top:35px;margin-bottom:35px}"],changeDetection:0}),t})();var Ae=n(81110),Ee=n(33982);function Se(t,e){if(1&t&&(r.TgZ(0,"button",12),r.TgZ(1,"span",5),r._uU(2,"Redirect In"),r.qZA(),r._uU(3),r.ALo(4,"async"),r.qZA()),2&t){const t=r.oxw();r.xp6(3),r.hij(" ",r.lcZ(4,1,t.timeout$)," ")}}function Oe(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",13),r.NdJ("click",function(){return r.CHM(t),r.oxw().redirect()}),r._uU(1,"Go to link"),r.qZA()}}let Te=(()=>{class t{constructor(t){this.settings=t,this.timeout$=(0,Ae.H)(0,1e3).pipe((0,G.U)(t=>this.redirectTime()-t),(0,Ee.o)(t=>t>=0)),this.redirectTime()>0&&this.timeout$.subscribe(t=>{0===t&&this.redirect()})}redirect(){window.location.href=ve(this.link)}imgUrl(){return`${this.settings.getBaseUrl(!0)}/${this.link.hash}/img`}redirectTime(){return this.settings.get("links.redirect_time",10)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36($.Z))},t.\u0275cmp=r.Xpm({type:t,selectors:[["link-splash"]],inputs:{link:"link"},decls:19,vars:5,consts:[[1,"container"],["slot","ads.splash.top"],[1,"link-panel"],["alt","Link preview image",1,"link-image",3,"src"],[1,"info"],["trans",""],[1,"actions"],["mat-raised-button","","color","accent",4,"ngIf","ngIfElse"],["timeoutDone",""],["routerLink","/","mat-button","","trans",""],["trans","",1,"info-text"],["slot","ads.splash.bottom"],["mat-raised-button","","color","accent"],["mat-raised-button","","color","accent","trans","",3,"click"]],template:function(t,e){if(1&t&&(r._UZ(0,"material-navbar"),r.TgZ(1,"div",0),r._UZ(2,"ad-host",1),r.TgZ(3,"div",2),r._UZ(4,"img",3),r.TgZ(5,"div",4),r.TgZ(6,"h1",5),r._uU(7,"You are about to be redirected to another page."),r.qZA(),r.TgZ(8,"div",6),r.YNc(9,Se,5,3,"button",7),r.ALo(10,"async"),r.YNc(11,Oe,2,0,"ng-template",null,8,r.W1O),r.TgZ(13,"a",9),r._uU(14,"Take Me Back"),r.qZA(),r.qZA(),r.TgZ(15,"p",10),r._uU(16,"You are about to be redirected to another page. We are not responsible for the content of that page or the consequences it may have on you."),r.qZA(),r.qZA(),r.qZA(),r._UZ(17,"ad-host",11),r._UZ(18,"app-footer"),r.qZA()),2&t){const t=r.MAs(12);r.xp6(4),r.Q6J("src",e.imgUrl(),r.LSH),r.xp6(5),r.Q6J("ngIf",r.lcZ(10,3,e.timeout$)>0)("ngIfElse",t)}},directives:[_t.e,bt.i,et.P,V.O5,s.yS,nt.zs,vt.q,nt.lW],pipes:[V.Ov],styles:["[_nghost-%COMP%]{display:block;background-color:var(--be-background-alternative)}.container[_ngcontent-%COMP%]{display:block;padding-top:75px;height:calc(100vh - 70px)}.link-panel[_ngcontent-%COMP%]{display:flex;background-color:var(--be-background);padding:20px;border-radius:4px;margin-bottom:35px;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}@media screen and (max-width:768px){.link-panel[_ngcontent-%COMP%]{display:block}}h1[_ngcontent-%COMP%]{margin:0;font-weight:300}.link-image[_ngcontent-%COMP%]{border:1px solid var(--be-divider-default);margin-right:25px;width:320px;flex-shrink:0;border-radius:4px;max-width:100%;-o-object-fit:contain;object-fit:contain}.actions[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:25px;padding-bottom:25px;border-bottom:1px solid var(--be-divider-default)}.info-text[_ngcontent-%COMP%]{color:var(--be-secondary-text)}.ads-splash-top-host[_ngcontent-%COMP%]{margin-bottom:35px}.ads-splash-bottom-host[_ngcontent-%COMP%]{margin:35px 0}"],changeDetection:0}),t})();var Ie=n(89356);function De(t,e){if(1&t&&(r.TgZ(0,"button",9),r.TgZ(1,"span",10),r._uU(2,"Redirect In"),r.qZA(),r._uU(3),r.ALo(4,"async"),r.qZA()),2&t){const t=r.oxw(3);r.xp6(3),r.hij(" ",r.lcZ(4,1,t.timeout$)," ")}}function Pe(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){return r.CHM(t),r.oxw(3).redirect()}),r._uU(1,"Go to link"),r.qZA()}}function Fe(t,e){if(1&t&&(r.ynx(0),r.YNc(1,De,5,3,"button",7),r.YNc(2,Pe,2,0,"ng-template",null,8,r.W1O),r.BQk()),2&t){const t=e.ngIf,n=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t>1)("ngIfElse",n)}}function Me(t,e){if(1&t&&(r.TgZ(0,"material-navbar",3),r.TgZ(1,"div",4),r.YNc(2,Fe,4,2,"ng-container",5),r.ALo(3,"async"),r._UZ(4,"share-link-btns",6),r.qZA(),r.qZA()),2&t){const t=r.oxw();r.Q6J("showToggleButton",!1)("hideRightSideActions",!0),r.xp6(2),r.Q6J("ngIf",r.lcZ(3,5,t.timeout$)),r.xp6(2),r.Q6J("link",t.link)("showCopyBtn",!0)}}let Re=(()=>{class t{constructor(t){this.settings=t,this.timeout$=(0,Ae.H)(0,1e3).pipe((0,G.U)(t=>this.redirectTime()-t),(0,Ee.o)(t=>t>0)),this.redirectTime()>0&&this.timeout$.subscribe(t=>{0===t&&this.redirect()})}redirect(){window.location.href=ve(this.link)}redirectTime(){return this.settings.get("links.redirect_time",10)}shouldHideNav(){var t,e;return null===(e=null===(t=this.link)||void 0===t?void 0:t.custom_page)||void 0===e?void 0:e.hide_nav}}return t.\u0275fac=function(e){return new(e||t)(r.Y36($.Z))},t.\u0275cmp=r.Xpm({type:t,selectors:[["link-custom-page"]],inputs:{link:"link"},decls:3,vars:3,consts:[[3,"showToggleButton","hideRightSideActions",4,"ngIf"],["slot","ads.page.top"],[3,"page","showNavbar"],[3,"showToggleButton","hideRightSideActions"],[1,"link-actions-wrapper","push-right"],[4,"ngIf"],[3,"link","showCopyBtn"],["mat-flat-button","","color","accent",4,"ngIf","ngIfElse"],["timeoutDone",""],["mat-flat-button","","color","accent"],["trans",""],["mat-flat-button","","color","accent","trans","",3,"click"]],template:function(t,e){1&t&&(r.YNc(0,Me,5,7,"material-navbar",0),r._UZ(1,"ad-host",1),r._UZ(2,"custom-page",2)),2&t&&(r.Q6J("ngIf",!e.shouldHideNav()),r.xp6(2),r.Q6J("page",e.link.custom_page)("showNavbar",!1))},directives:[V.O5,bt.i,Ie.y,_t.e,ye.t,nt.lW,et.P],pipes:[V.Ov],styles:["custom-page[_ngcontent-%COMP%]{min-height:calc(100vh - 70px)}.ads-page-top-host[_ngcontent-%COMP%]{margin-top:35px}"],changeDetection:0}),t})(),Le=(()=>{class t{constructor(t){this.config=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36($.Z))},t.\u0275cmp=r.Xpm({type:t,selectors:[["not-found-page"]],decls:5,vars:0,consts:[["src","client/assets/images/404.png","alt",""],["trans",""],["routerLink","/","mat-raised-button","","color","accent","trans",""]],template:function(t,e){1&t&&(r._UZ(0,"img",0),r.TgZ(1,"h1",1),r._uU(2,"Opps! We can't find the page you're looking for."),r.qZA(),r.TgZ(3,"a",2),r._uU(4,"Home"),r.qZA())},directives:[et.P,s.yS,nt.zs],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100vh;color:#597996}img[_ngcontent-%COMP%]{display:block;margin:0 auto;height:auto}h1[_ngcontent-%COMP%], img[_ngcontent-%COMP%]{max-width:90%}h1[_ngcontent-%COMP%]{font-size:4rem;font-weight:300;margin-top:50px;text-align:center}.mat-raised-button.mat-accent[_ngcontent-%COMP%]{color:#fff;background-color:#597996;min-width:220px;line-height:46px;max-width:90%}"],changeDetection:0}),t})();const Ze=function(t,e){return{table:t,id:e}};function Ne(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"request-password-panel",3),r.NdJ("passwordValid",function(){return r.CHM(t),r.oxw(2).hidePasswordPanel()}),r.qZA()}if(2&t){const t=r.oxw(2);r.Q6J("config",r.WLB(1,Ze,t.getTableForLinkeable(t.linkeable),t.linkeable.id))}}function Be(t,e){if(1&t&&r._UZ(0,"link-group-page",8),2&t){const t=r.oxw(3);r.Q6J("group",t.linkeable)}}function Ue(t,e){if(1&t&&r._UZ(0,"biolink-page",9),2&t){const t=r.oxw(3);r.Q6J("biolink",t.linkeable)}}function qe(t,e){if(1&t&&r._UZ(0,"link-frame",12),2&t){const t=r.oxw(4);r.Q6J("link",t.linkeable)}}function ze(t,e){if(1&t&&r._UZ(0,"link-frame",12),2&t){const t=r.oxw(4);r.Q6J("link",t.linkeable)}}function je(t,e){if(1&t&&r._UZ(0,"link-splash",12),2&t){const t=r.oxw(4);r.Q6J("link",t.linkeable)}}function $e(t,e){if(1&t&&r._UZ(0,"link-custom-page",12),2&t){const t=r.oxw(4);r.Q6J("link",t.linkeable)}}function Ye(t,e){1&t&&r._UZ(0,"not-found-page")}function Ve(t,e){if(1&t&&(r.ynx(0),r.ynx(1,4),r.YNc(2,qe,1,1,"link-frame",10),r.YNc(3,ze,1,1,"link-frame",10),r.YNc(4,je,1,1,"link-splash",10),r.YNc(5,$e,1,1,"link-custom-page",10),r.YNc(6,Ye,1,0,"not-found-page",11),r.BQk(),r.BQk()),2&t){const t=r.oxw(3);r.xp6(1),r.Q6J("ngSwitch",t.linkeable.type),r.xp6(1),r.Q6J("ngSwitchCase","frame"),r.xp6(1),r.Q6J("ngSwitchCase","overlay"),r.xp6(1),r.Q6J("ngSwitchCase","splash"),r.xp6(1),r.Q6J("ngSwitchCase","page")}}function He(t,e){if(1&t&&(r.ynx(0,4),r.YNc(1,Be,1,1,"link-group-page",5),r.YNc(2,Ue,1,1,"biolink-page",6),r.YNc(3,Ve,7,5,"ng-container",7),r.BQk()),2&t){const t=r.oxw(2);r.Q6J("ngSwitch",t.linkeable.model_type),r.xp6(1),r.Q6J("ngSwitchCase","linkGroup"),r.xp6(1),r.Q6J("ngSwitchCase","biolink"),r.xp6(1),r.Q6J("ngSwitchCase","link")}}function Ge(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Ne,1,4,"request-password-panel",1),r.ALo(2,"async"),r.YNc(3,He,4,4,"ng-template",null,2,r.W1O),r.BQk()),2&t){const t=r.MAs(4),e=r.oxw();r.xp6(1),r.Q6J("ngIf",(null==e.linkeable?null:e.linkeable.has_password)&&!r.lcZ(2,2,e.passwordConfirmed$))("ngIfElse",t)}}function Qe(t,e){1&t&&r._UZ(0,"not-found-page")}let Je=(()=>{class t{constructor(t,e,n){this.bootstrapper=t,this.metaTags=e,this.cd=n,this.passwordConfirmed$=new Q.X(!1)}ngOnInit(){var t;if(null===(t=this.bootstrapper.data.linkeableResponse)||void 0===t?void 0:t.linkeable){const{linkeable:t,seo:e}=this.bootstrapper.data.linkeableResponse;this.linkeable=t,this.metaTags.latestMetaTags$.next(e)}this.cd.markForCheck()}hidePasswordPanel(){"link"===this.linkeable.model_type&&"direct"===this.linkeable.type?window.location.replace(this.linkeable.long_url):this.passwordConfirmed$.next(!0)}getTableForLinkeable(t){return"link"===t.model_type?"links":"link_groups"}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Xt),r.Y36(K),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["link-preview-host"]],decls:2,vars:2,consts:[[4,"ngIf"],[3,"config","passwordValid",4,"ngIf","ngIfElse"],["linkeablePreview",""],[3,"config","passwordValid"],[3,"ngSwitch"],[3,"group",4,"ngSwitchCase"],[3,"biolink",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"group"],[3,"biolink"],[3,"link",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"link"]],template:function(t,e){1&t&&(r.YNc(0,Ge,5,4,"ng-container",0),r.YNc(1,Qe,1,0,"not-found-page",0)),2&t&&(r.Q6J("ngIf",e.linkeable),r.xp6(1),r.Q6J("ngIf",!e.linkeable))},directives:[V.O5,ee,V.RF,V.n9,_e,be.v,V.ED,ke,Te,Re,Le],pipes:[V.Ov],styles:[""],changeDetection:0}),t})();var We=n(42300);const Ke=[{path:"loading",component:(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["loading-page"]],decls:1,vars:1,consts:[[1,"overlay",3,"isVisible"]],template:function(t,e){1&t&&r._UZ(0,"loading-indicator",0),2&t&&r.Q6J("isVisible",!0)},directives:[We.Q],styles:["loading-indicator.overlay[_ngcontent-%COMP%]{background-color:transparent}"],changeDetection:0}),t})()},{path:"**",pathMatch:"full",component:Le},{path:"404",pathMatch:"full",component:Le}];var Xe=n(71228);let tn=(()=>{class t{constructor(t,e,n,i,r){this.currentUser=t,this.auth=e,this.router=n,this.settings=i,this.listener=r}canActivate(t,e){return!!this.listener.active||!this.currentUser.isLoggedIn()||(this.router.navigate([this.auth.getRedirectUri()]),!1)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(gt.I),r.LFG(Xe.e),r.LFG(s.F0),r.LFG($.Z),r.LFG(ct.f))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const en=[{path:"",pathMatch:"full",component:$t,canActivate:[tn]},{path:"pricing",redirectTo:"billing/pricing"},{path:"link-groups/:slug",redirectTo:":slug"},{path:"dashboard",loadChildren:()=>n.e(285).then(n.bind(n,46285)).then(t=>t.DashboardModule),canLoad:[Yt.a]},{path:"admin",loadChildren:()=>n.e(302).then(n.bind(n,57302)).then(t=>t.AppAdminModule),canLoad:[Yt.a]},{path:"billing",loadChildren:()=>n.e(108).then(n.bind(n,85108)).then(t=>t.BillingModule)},{path:"api-docs",loadChildren:()=>n.e(764).then(n.bind(n,34764)).then(t=>t.ApiDocsModule)},{path:"contact",component:Jt},{path:"**",pathMatch:"full",component:Je,data:{willSetSeo:!0}},...Ke];let nn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.Bz.forChild(en)],s.Bz]}),t})();var rn=n(35944);const sn=function(){return["/register"]};function on(t,e){1&t&&(r.ynx(0),r.TgZ(1,"span",9),r._uU(2,"Don't have an account?"),r.qZA(),r._uU(3," "),r.TgZ(4,"a",10),r._uU(5,"Sign up."),r.qZA(),r.BQk()),2&t&&(r.xp6(4),r.Q6J("routerLink",r.DdM(1,sn)))}const an=function(){return["/login"]};function ln(t,e){1&t&&(r.ynx(0),r.TgZ(1,"span",9),r._uU(2,"Already have an account?"),r.qZA(),r._uU(3," "),r.TgZ(4,"a",11),r._uU(5,"Sign in."),r.qZA(),r.BQk()),2&t&&(r.xp6(4),r.Q6J("routerLink",r.DdM(1,an)))}const cn=function(){return["/"]},un=["*"];let hn=(()=>{class t{constructor(t,e,n,i){this.settings=t,this.theme=e,this.route=n,this.auth=i,this.infoRowTarget="signup"}ngOnInit(){this.route.snapshot.queryParams.email&&this.auth.forcedEmail$.next(this.route.snapshot.queryParams.email)}logoUrl(){return this.settings.get("branding.logo_"+(this.theme.isDarkMode()?"light":"dark"))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36($.Z),r.Y36(Kt.f),r.Y36(s.gz),r.Y36(Xe.e))},t.\u0275cmp=r.Xpm({type:t,selectors:[["auth-page"]],inputs:{infoRowTarget:"infoRowTarget"},ngContentSelectors:un,decls:12,vars:7,consts:[[1,"auth-page-content"],[1,"logo",3,"routerLink"],["alt","logo",3,"src"],[1,"auth-panel"],[1,"info-row"],[4,"ngIf"],[1,"custom-menu-container"],["routerLink","/",1,"copyright"],["position","auth-page-footer",3,"horizontal"],["trans",""],["trans","",1,"register-link",3,"routerLink"],["trans","",3,"routerLink"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r.TgZ(1,"a",1),r._UZ(2,"img",2),r.qZA(),r.TgZ(3,"div",3),r.Hsn(4),r.qZA(),r.TgZ(5,"div",4),r.YNc(6,on,6,2,"ng-container",5),r.YNc(7,ln,6,2,"ng-container",5),r.qZA(),r.qZA(),r.TgZ(8,"div",6),r.TgZ(9,"a",7),r._uU(10),r.qZA(),r._UZ(11,"custom-menu",8),r.qZA()),2&t&&(r.xp6(1),r.Q6J("routerLink",r.DdM(6,cn)),r.xp6(1),r.Q6J("src",e.logoUrl(),r.LSH),r.xp6(4),r.Q6J("ngIf","signup"===e.infoRowTarget&&!e.settings.get("registration.disable")),r.xp6(1),r.Q6J("ngIf","signin"===e.infoRowTarget),r.xp6(3),r.hij("\xa9 ",e.settings.get("branding.site_name"),""),r.xp6(1),r.Q6J("horizontal",!0))},directives:[s.yS,V.O5,rn.K,et.P],styles:[".be-dark-mode auth-page{background-image:none}.be-dark-mode auth-page .auth-panel{box-shadow:none}auth-page{display:flex;flex-direction:column;background-color:var(--be-background-alternative);min-height:100vh;padding-top:72px;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%23e2e9f1' fill-opacity='0.4' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 5.9V3.83A3 3 0 0 0 3.83 0H5.9zm294.2 0h2.07A3 3 0 0 0 304 3.83V5.9a5 5 0 0 1-3.9-5.9zm3.9 300.1v2.07a3 3 0 0 0-1.83 1.83h-2.07a5 5 0 0 1 3.9-3.9zM97 100a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-48 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 96a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-144a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm96 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM49 36a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-32 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM33 68a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 240a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm80-176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 48a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm112 176a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E\")}auth-page .header{font-size:2rem;margin-bottom:20px;opacity:.85}auth-page .input-container{position:relative}auth-page .input-container label{padding-bottom:8px;line-height:20px;color:inherit}auth-page .input-container .label-with-action{display:flex;align-items:center;padding-bottom:8px}auth-page .input-container .label-with-action label{padding-bottom:0}auth-page .input-container input{font-size:1.5rem;letter-spacing:.5px;height:44px;padding:6px 12px;background-color:var(--be-background);color:inherit}auth-page .input-container .error.big-error{font-size:1.4rem;font-weight:500;margin-top:12px}auth-page .input-container .error .mat-icon{width:12px;height:12px;margin-right:6px;transform:translateY(1.1px)}auth-page .many-inputs .input-container{margin-bottom:32px}auth-page .many-inputs .input-container:last-of-type{margin-bottom:0}auth-page .logo{display:block;width:100%;margin:0 auto 40px;min-height:41px;flex-shrink:0}auth-page .logo img{display:block;margin:auto;width:180px}auth-page .forgot-password{margin-left:auto}auth-page .remember-me{display:block;margin-top:32px}auth-page .primary-button{width:100%;line-height:48px;margin-top:32px;font-weight:500;font-size:1.6rem}auth-page .social-icons{margin-top:32px;text-align:center}auth-page .alternative-signin-method{display:block;margin-top:32px;text-align:center;font-weight:500;width:100%;color:#82b541}auth-page .alternative-signin-method .mat-icon{vertical-align:middle;margin-right:5px}auth-page .auth-panel{position:relative;width:90%;max-width:448px;padding:44px 44px 32px;background-color:var(--be-background);box-shadow:0 7px 14px 0 rgba(60,66,87,.12),0 3px 6px 0 rgba(0,0,0,.12);border-radius:4px;margin:0 auto}auth-page .info-row{margin-top:36px;text-align:center}auth-page .custom-menu-container{text-align:center;padding:42px 0 32px;flex-shrink:0;margin-top:auto;color:var(--be-secondary-text)}auth-page .copyright{padding:5px 15px;color:inherit}"],encapsulation:2,changeDetection:0}),t})();function dn(t,e){if(1&t&&(r.TgZ(0,"p",9),r._UZ(1,"mat-icon",10),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(3),r.Oqu(t.email)}}function pn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",1),r.NdJ("ngSubmit",function(){return r.CHM(t),r.oxw().sendPasswordResetLink()}),r.TgZ(1,"div",2),r._uU(2,"Enter your email address below and we will send you a link to reset or create your password."),r.qZA(),r.TgZ(3,"div",3),r.TgZ(4,"div",4),r.TgZ(5,"label",5),r._uU(6,"Email"),r.qZA(),r._UZ(7,"input",6),r.YNc(8,dn,4,1,"p",7),r.qZA(),r.TgZ(9,"button",8),r.ALo(10,"async"),r._uU(11,"Continue"),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=e.ngIf,n=r.oxw();r.Q6J("formGroup",n.form),r.xp6(8),r.Q6J("ngIf",t.email),r.xp6(1),r.Q6J("disabled",r.lcZ(10,3,n.loading$))}}let fn=(()=>{class t{constructor(t,e,n,i,r){this.auth=t,this.settings=e,this.toast=n,this.router=i,this.fb=r,this.loading$=new Q.X(!1),this.form=this.fb.group({email:[""]}),this.errors$=new Q.X({})}ngOnInit(){this.auth.forcedEmail$.pipe((0,o.h)(t=>!!t)).subscribe(t=>{this.form.get("email").setValue(t),this.form.get("email").disable()})}sendPasswordResetLink(){this.loading$.next(!0),this.auth.sendPasswordResetLink(this.form.value).subscribe(t=>{this.router.navigate(["/login"]).then(()=>{this.loading$.next(!1),this.toast.open(t.data)})},t=>{this.errors$.next(t.errors),this.loading$.next(!1)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Xe.e),r.Y36($.Z),r.Y36(St.F),r.Y36(s.F0),r.Y36(yt.qu))},t.\u0275cmp=r.Xpm({type:t,selectors:[["forgot-password"]],decls:3,vars:3,consts:[["ngNativeValidate","",3,"formGroup","ngSubmit",4,"ngIf"],["ngNativeValidate","",3,"formGroup","ngSubmit"],["trans","",1,"page-header"],[1,"page-content"],[1,"input-container"],["for","email","trans",""],["type","email","formControlName","email","id","email","required",""],["class","error big-error",4,"ngIf"],["mat-raised-button","","color","accent","type","submit","trans","",1,"primary-button",3,"disabled"],[1,"error","big-error"],["svgIcon","warning"]],template:function(t,e){1&t&&(r.TgZ(0,"auth-page"),r.YNc(1,pn,12,5,"form",0),r.ALo(2,"async"),r.qZA()),2&t&&(r.xp6(1),r.Q6J("ngIf",r.lcZ(2,1,e.errors$)))},directives:[hn,V.O5,yt.JL,yt.sg,et.P,yt.Fj,yt.JJ,yt.u,yt.Q7,nt.lW,Mt.Hw],pipes:[V.Ov],styles:[".page-header[_ngcontent-%COMP%]{margin-bottom:32px}"],changeDetection:0}),t})();var mn=n(92935),gn=n(55959);function _n(t,e){if(1&t&&(r.TgZ(0,"div",16),r._uU(1),r.qZA()),2&t){const t=r.oxw(2).ngIf;r.xp6(1),r.Oqu(t.email)}}function bn(t,e){if(1&t&&(r.TgZ(0,"div",11),r.TgZ(1,"label",12),r._uU(2,"Email Address"),r.qZA(),r._UZ(3,"input",13),r.YNc(4,_n,2,1,"div",14),r.TgZ(5,"p",15),r._uU(6,"We need your email address to create an account for you, please enter it above."),r.qZA(),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(4),r.Q6J("ngIf",t.email)}}function vn(t,e){if(1&t&&(r.TgZ(0,"div",16),r._uU(1),r.qZA()),2&t){const t=r.oxw(2).ngIf;r.xp6(1),r.Oqu(t.password)}}function yn(t,e){if(1&t&&(r.TgZ(0,"div",17),r.TgZ(1,"label",18),r._uU(2,"Password"),r.qZA(),r._UZ(3,"input",19),r.YNc(4,vn,2,1,"div",14),r.TgZ(5,"p",15),r._uU(6,"An account with this email address already exists, if you want to connect the two account's please enter existing accounts password above."),r.qZA(),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(4),r.Q6J("ngIf",t.password)}}function wn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",5),r.NdJ("ngSubmit",function(){return r.CHM(t),r.oxw().confirm()}),r.TgZ(1,"mat-dialog-content"),r.TgZ(2,"div",6),r.YNc(3,bn,7,1,"div",7),r.YNc(4,yn,7,1,"div",8),r.qZA(),r.qZA(),r.TgZ(5,"mat-dialog-actions"),r.TgZ(6,"button",9),r.NdJ("click",function(){return r.CHM(t),r.oxw().close()}),r._uU(7,"Cancel"),r.qZA(),r.TgZ(8,"button",10),r._uU(9,"Connect"),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("formGroup",t.form),r.xp6(3),r.Q6J("ngIf",t.shouldCredentialBeRequested("email")),r.xp6(1),r.Q6J("ngIf",t.shouldCredentialBeRequested("password"))}}let xn=(()=>{class t{constructor(t,e,n,i,r){this.dialogRef=t,this.data=e,this.zone=n,this.settings=i,this.fb=r,this.form=this.fb.group({email:[""],password:[""]}),this.errors$=new Q.X({}),this.onSubmit$=new gn.xQ}ngOnInit(){this.zone.run(()=>{this.credentialsToRequest=this.data.credentials})}shouldCredentialBeRequested(t){return this.credentialsToRequest.indexOf(t)>-1}confirm(){this.onSubmit$.next(Object.assign({},this.form.value))}close(){this.onSubmit$.complete(),this.dialogRef.close()}handleErrors(t){t.errors.email&&this.credentialsToRequest.push("password"),this.zone.run(()=>{this.errors$.next(t.errors)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(mn.so),r.Y36(mn.WI),r.Y36(r.R0b),r.Y36($.Z),r.Y36(yt.qu))},t.\u0275cmp=r.Xpm({type:t,selectors:[["request-extra-credentials-modal"]],decls:7,vars:3,consts:[[1,"modal-header"],["mat-dialog-title","","trans","",1,"modal-title"],["type","button","tabindex","-1",1,"close-button","no-style",3,"click"],["svgIcon","close"],["ngNativeValidate","",3,"formGroup","ngSubmit",4,"ngIf"],["ngNativeValidate","",3,"formGroup","ngSubmit"],[1,"many-inputs"],["class","input-container email-address-container",4,"ngIf"],["class","input-container password-container",4,"ngIf"],["type","button","mat-button","","trans","",3,"click"],["type","submit","mat-raised-button","","color","accent","trans",""],[1,"input-container","email-address-container"],["for","email","trans",""],["type","email","id","email","formControlName","email","required",""],["class","error",4,"ngIf"],["trans",""],[1,"error"],[1,"input-container","password-container"],["for","password","trans",""],["type","password","id","password","formControlName","password","required",""]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h2",1),r._uU(2,"Credentials Required"),r.qZA(),r.TgZ(3,"button",2),r.NdJ("click",function(){return e.close()}),r._UZ(4,"mat-icon",3),r.qZA(),r.qZA(),r.YNc(5,wn,10,3,"form",4),r.ALo(6,"async")),2&t&&(r.xp6(5),r.Q6J("ngIf",r.lcZ(6,1,e.errors$)))},directives:[mn.uh,et.P,Mt.Hw,V.O5,yt.JL,yt.sg,mn.xY,mn.H8,nt.lW,yt.Fj,yt.JJ,yt.u,yt.Q7],pipes:[V.Ov],styles:["[_nghost-%COMP%]{display:block;width:400px;max-width:100%}"],changeDetection:0}),t})();var Cn=n(24859);let kn=(()=>{class t{constructor(t,e,n,i,r,s,o,a){this.httpClient=t,this.currentUser=e,this.router=n,this.settings=i,this.toast=r,this.auth=s,this.i18n=o,this.modal=a,this.windowHeight=550,this.windowWidth=650,this.listenForMessageFromPopup()}loginWith(t){return this.openNewSocialAuthWindow("secure/auth/social/"+t+"/login")}connect(t){return this.openNewSocialAuthWindow("secure/auth/social/"+t+"/connect")}retrieveProfile(t){return this.openNewSocialAuthWindow("secure/auth/social/"+t+"/retrieve-profile")}disconnect(t){return this.httpClient.post("auth/social/"+t+"/disconnect")}socialLoginCallback(t,e=null){if(t)switch(t.toUpperCase()){case"SUCCESS":this.currentUser.assignCurrent(e.user),this.router.navigate([this.auth.getRedirectUri()]);break;case"SUCCESS_CONNECTED":this.resolve&&this.resolve(e.user);break;case"SUCCESS_PROFILE_RETRIEVE":this.resolve&&this.resolve(e.profile);break;case"ALREADY_LOGGED_IN":this.router.navigate([this.auth.getRedirectUri()]);break;case"REQUEST_EXTRA_CREDENTIALS":this.showRequestExtraCredentialsModal({credentials:e});break;case"ERROR":const t=e||this.i18n.t("An error occurred. Please try again later");this.toast.open(t,{duration:6e3})}}showRequestExtraCredentialsModal(t){this.extraCredentialsModal=this.modal.open(xn,t),this.extraCredentialsModal.componentInstance.onSubmit$.subscribe(t=>{t&&this.sendExtraCredentialsToBackend(t)})}sendExtraCredentialsToBackend(t){this.httpClient.post("auth/social/extra-credentials",t).subscribe(t=>{this.currentUser.assignCurrent(t.data),this.extraCredentialsModal.close(),this.router.navigate([this.auth.getRedirectUri()]).then(()=>{this.toast.open("Accounts connected")})},this.extraCredentialsModal.componentInstance.handleErrors.bind(this.extraCredentialsModal.componentInstance))}openNewSocialAuthWindow(t){const e=screen.width/2-this.windowWidth/2,n=screen.height/2-this.windowHeight/2;return new Promise(i=>{this.resolve=i,window.open(t,"Authenticate Account","menubar=0, location=0, toolbar=0, titlebar=0, status=0, scrollbars=1, width="+this.windowWidth+", height="+this.windowHeight+", left="+e+", top="+n)})}listenForMessageFromPopup(){window.addEventListener("message",t=>{"social-auth"===t.data.type&&-1!==this.settings.getBaseUrl().indexOf(t.origin)&&this.socialLoginCallback(t.data.status,t.data.callbackData)},!1)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(Y.r),r.LFG(gt.I),r.LFG(s.F0),r.LFG($.Z),r.LFG(St.F),r.LFG(Xe.e),r.LFG(W.Z),r.LFG(Cn.u))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var An=n(40994),En=n(24311),Sn=n(40450);function On(t,e){if(1&t&&(r.TgZ(0,"p",15),r._UZ(1,"mat-icon",16),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(3),r.Oqu(t.email)}}function Tn(t,e){if(1&t&&(r.TgZ(0,"p",15),r._UZ(1,"mat-icon",16),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(3),r.Oqu(t.password)}}function In(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",19),r.NdJ("click",function(){return r.CHM(t),r.oxw(3).socialAuth.loginWith("envato")}),r._UZ(1,"mat-icon",20),r.TgZ(2,"span",21),r._uU(3,"Sign in with Envato instead"),r.qZA(),r.qZA()}}function Dn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",26),r.NdJ("click",function(){return r.CHM(t),r.oxw(4).socialAuth.loginWith("facebook")}),r.ALo(1,"trans"),r._UZ(2,"mat-icon",27),r.qZA()}2&t&&r.Q6J("matTooltip",r.lcZ(1,1,"Login with facebook"))}function Pn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",28),r.NdJ("click",function(){return r.CHM(t),r.oxw(4).socialAuth.loginWith("google")}),r.ALo(1,"trans"),r._UZ(2,"mat-icon",29),r.qZA()}2&t&&r.Q6J("matTooltip",r.lcZ(1,1,"Login with google"))}function Fn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",30),r.NdJ("click",function(){return r.CHM(t),r.oxw(4).socialAuth.loginWith("twitter")}),r.ALo(1,"trans"),r._UZ(2,"mat-icon",31),r.qZA()}2&t&&r.Q6J("matTooltip",r.lcZ(1,1,"Login with twitter"))}function Mn(t,e){if(1&t&&(r.TgZ(0,"div",22),r.YNc(1,Dn,3,3,"button",23),r.YNc(2,Pn,3,3,"button",24),r.YNc(3,Fn,3,3,"button",25),r.qZA()),2&t){const t=r.oxw(3);r.xp6(1),r.Q6J("ngIf",t.settings.get("social.facebook.enable")),r.xp6(1),r.Q6J("ngIf",t.settings.get("social.google.enable")),r.xp6(1),r.Q6J("ngIf",t.settings.get("social.twitter.enable"))}}function Rn(t,e){if(1&t&&(r.ynx(0),r.YNc(1,In,4,0,"button",17),r.YNc(2,Mn,4,3,"ng-template",null,18,r.W1O),r.BQk()),2&t){const t=r.MAs(3),e=r.oxw(2);r.xp6(1),r.Q6J("ngIf",e.settings.get("social.envato.enable"))("ngIfElse",t)}}const Ln=function(t){return{siteName:t}},Zn=function(){return["/forgot-password"]};function Nn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",1),r.NdJ("ngSubmit",function(){return r.CHM(t),r.oxw().login()}),r.TgZ(1,"div",2),r._uU(2),r.qZA(),r.TgZ(3,"div",3),r.TgZ(4,"div",4),r.TgZ(5,"label",5),r._uU(6,"Email"),r.qZA(),r._UZ(7,"input",6),r.YNc(8,On,4,1,"p",7),r.qZA(),r.TgZ(9,"div",4),r.TgZ(10,"div",8),r.TgZ(11,"label",9),r._uU(12,"Password"),r.qZA(),r.TgZ(13,"a",10),r._uU(14,"Forgot your password?"),r.qZA(),r.qZA(),r._UZ(15,"input",11),r.YNc(16,Tn,4,1,"p",7),r.qZA(),r.qZA(),r.TgZ(17,"mat-checkbox",12),r._uU(18,"Stay signed in for a month"),r.qZA(),r.TgZ(19,"button",13),r.ALo(20,"async"),r._uU(21,"Continue"),r.qZA(),r.YNc(22,Rn,4,2,"ng-container",14),r.qZA()}if(2&t){const t=e.ngIf,n=r.oxw();r.Q6J("formGroup",n.form),r.xp6(1),r.Q6J("transValues",r.VKq(10,Ln,n.settings.get("branding.site_name"))),r.xp6(1),r.hij(" ",n.route.snapshot.data.message||"Sign in to your account"," "),r.xp6(6),r.Q6J("ngIf",t.email),r.xp6(5),r.Q6J("routerLink",r.DdM(12,Zn)),r.xp6(3),r.Q6J("ngIf",t.password),r.xp6(3),r.Q6J("disabled",r.lcZ(20,8,n.loading$)),r.xp6(3),r.Q6J("ngIf",!n.settings.get("registration.disable"))}}let Bn=(()=>{class t{constructor(t,e,n,i,r,s,o,a,l){this.auth=t,this.socialAuth=e,this.settings=n,this.route=i,this.router=r,this.user=s,this.bootstrapper=o,this.fb=a,this.toast=l,this.loading$=new Q.X(!1),this.form=this.fb.group({email:[""],password:[""],remember:[!0]}),this.errResponse$=new Q.X({}),this.hydrateModel()}ngOnInit(){this.auth.forcedEmail$.pipe((0,o.h)(t=>!!t)).subscribe(t=>{this.form.get("email").setValue(t),this.form.get("email").disable()})}login(){this.loading$.next(!0),this.auth.login(this.form.getRawValue()).subscribe(t=>{this.bootstrapper.bootstrap(t.data),this.router.navigate([this.auth.getRedirectUri()]).then(()=>{this.loading$.next(!1)})},t=>this.handleLoginError(t))}hydrateModel(){if(this.settings.get("common.site.demo"))if(this.settings.get("vebto.demo.email"))this.form.patchValue({email:this.settings.get("vebto.demo.email"),password:this.settings.get("vebto.demo.password")});else{let t=""+Math.floor(100*Math.random());t=("0000"+t).substr(-3,3),this.form.patchValue({email:"admin@demo"+t+".com",password:"admin"})}}handleLoginError(t){var e;this.loading$.next(!1),"validation.email_confirmed"===(null===(e=t.errors)||void 0===e?void 0:e.email)?this.toast.open("Please confirm your email address.",{action:"Resend Email",duration:6e3}).onAction().subscribe(()=>{this.loading$.next(!0),this.auth.resendEmailConfirmation(this.form.value.email).pipe((0,kt.x)(()=>this.loading$.next(!1))).subscribe(()=>{this.toast.open("Confirmation email sent.")})}):this.errResponse$.next(t.errors)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Xe.e),r.Y36(kn),r.Y36($.Z),r.Y36(s.gz),r.Y36(s.F0),r.Y36(gt.I),r.Y36(Xt),r.Y36(yt.qu),r.Y36(St.F))},t.\u0275cmp=r.Xpm({type:t,selectors:[["login"]],decls:3,vars:3,consts:[["ngNativeValidate","",3,"formGroup","ngSubmit",4,"ngIf"],["ngNativeValidate","",3,"formGroup","ngSubmit"],["trans","",1,"header",3,"transValues"],[1,"many-inputs"],[1,"input-container"],["for","login-email","trans",""],["type","email","formControlName","email","id","login-email","required",""],["class","error big-error",4,"ngIf"],[1,"label-with-action"],["for","login-password","trans",""],["tabindex","-1","trans","",1,"forgot-password",3,"routerLink"],["type","password","formControlName","password","id","login-password","required",""],["name","remember-me","color","accent","formControlName","remember","trans","",1,"remember-me"],["mat-raised-button","","color","accent","type","submit","trans","",1,"primary-button",3,"disabled"],[4,"ngIf"],[1,"error","big-error"],["svgIcon","warning"],["type","button","class","no-style alternative-signin-method",3,"click",4,"ngIf","ngIfElse"],["defaultSocialAuth",""],["type","button",1,"no-style","alternative-signin-method",3,"click"],["svgIcon","envato-custom"],["trans",""],[1,"social-icons","center"],["type","button","mat-icon-button","","class","social-icon no-style facebook",3,"matTooltip","click",4,"ngIf"],["type","button","mat-icon-button","","class","social-icon no-style google",3,"matTooltip","click",4,"ngIf"],["type","button","mat-icon-button","","class","social-icon no-style twitter",3,"matTooltip","click",4,"ngIf"],["type","button","mat-icon-button","",1,"social-icon","no-style","facebook",3,"matTooltip","click"],["svgIcon","facebook"],["type","button","mat-icon-button","",1,"social-icon","no-style","google",3,"matTooltip","click"],["svgIcon","google"],["type","button","mat-icon-button","",1,"social-icon","no-style","twitter",3,"matTooltip","click"],["svgIcon","twitter"]],template:function(t,e){1&t&&(r.TgZ(0,"auth-page"),r.YNc(1,Nn,23,13,"form",0),r.ALo(2,"async"),r.qZA()),2&t&&(r.xp6(1),r.Q6J("ngIf",r.lcZ(2,1,e.errResponse$)))},directives:[hn,V.O5,yt.JL,yt.sg,et.P,yt.Fj,yt.JJ,yt.u,yt.Q7,s.yS,An.oG,nt.lW,Mt.Hw,En.gM],pipes:[V.Ov,Sn.R],styles:[""],changeDetection:0}),t})();var Un=n(40694);function qn(t,e){if(1&t&&(r.TgZ(0,"p",17),r._UZ(1,"mat-icon",18),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(3),r.Oqu(t.email)}}function zn(t,e){if(1&t&&(r.TgZ(0,"p",17),r._UZ(1,"mat-icon",18),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(3),r.Oqu(t.password)}}function jn(t,e){if(1&t&&(r.TgZ(0,"p",17),r._UZ(1,"mat-icon",18),r.TgZ(2,"span"),r._uU(3),r.qZA(),r.qZA()),2&t){const t=r.oxw(2).ngIf;r.xp6(3),r.Oqu(t.purchase_code)}}function $n(t,e){if(1&t&&(r.TgZ(0,"div",5),r.TgZ(1,"label",19),r._uU(2,"Envato Purchase Code"),r.qZA(),r._UZ(3,"input",20),r.YNc(4,jn,4,1,"p",8),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(4),r.Q6J("ngIf",t.purchase_code)}}function Yn(t,e){if(1&t&&(r.TgZ(0,"a",26),r.TgZ(1,"strong"),r._uU(2),r.ALo(3,"trans"),r.qZA(),r.qZA()),2&t){const t=r.oxw().$implicit,e=r.oxw(3);r.Q6J("href","link"===t.type?t.action:e.settings.getBaseUrl()+"/"+t.action,r.LSH),r.xp6(2),r.Oqu(r.lcZ(3,2,t.label))}}function Vn(t,e){if(1&t&&(r.TgZ(0,"strong"),r._uU(1),r.ALo(2,"trans"),r.qZA()),2&t){const t=r.oxw().$implicit;r.xp6(1),r.Oqu(r.lcZ(2,1,t.label))}}function Hn(t,e){if(1&t&&(r.TgZ(0,"mat-checkbox",23),r.TgZ(1,"span",24),r._uU(2,"I accept the"),r.qZA(),r._uU(3," "),r.YNc(4,Yn,4,4,"a",25),r.YNc(5,Vn,3,3,"strong",16),r.qZA()),2&t){const t=e.$implicit;r.Q6J("formControlName",t.id),r.xp6(4),r.Q6J("ngIf",t.action),r.xp6(1),r.Q6J("ngIf",!t.action)}}function Gn(t,e){if(1&t&&(r.TgZ(0,"div",21),r.YNc(1,Hn,6,3,"mat-checkbox",22),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.Q6J("ngForOf",t.registerPolicies)}}function Qn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",29),r.NdJ("click",function(){return r.CHM(t),r.oxw(3).socialAuth.loginWith("envato")}),r._UZ(1,"mat-icon",30),r.TgZ(2,"span",24),r._uU(3,"Sign in with Envato instead"),r.qZA(),r.qZA()}}function Jn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",35),r.NdJ("click",function(){return r.CHM(t),r.oxw(4).socialAuth.loginWith("facebook")}),r.ALo(1,"trans"),r._UZ(2,"mat-icon",36),r.qZA()}2&t&&r.Q6J("matTooltip",r.lcZ(1,1,"Login with facebook"))}function Wn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",37),r.NdJ("click",function(){return r.CHM(t),r.oxw(4).socialAuth.loginWith("google")}),r.ALo(1,"trans"),r._UZ(2,"mat-icon",38),r.qZA()}2&t&&r.Q6J("matTooltip",r.lcZ(1,1,"Login with google"))}function Kn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",39),r.NdJ("click",function(){return r.CHM(t),r.oxw(4).socialAuth.loginWith("twitter")}),r.ALo(1,"trans"),r._UZ(2,"mat-icon",40),r.qZA()}2&t&&r.Q6J("matTooltip",r.lcZ(1,1,"Login with twitter"))}function Xn(t,e){if(1&t&&(r.TgZ(0,"div",31),r.YNc(1,Jn,3,3,"button",32),r.YNc(2,Wn,3,3,"button",33),r.YNc(3,Kn,3,3,"button",34),r.qZA()),2&t){const t=r.oxw(3);r.xp6(1),r.Q6J("ngIf",t.settings.get("social.facebook.enable")),r.xp6(1),r.Q6J("ngIf",t.settings.get("social.google.enable")),r.xp6(1),r.Q6J("ngIf",t.settings.get("social.twitter.enable"))}}function ti(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Qn,4,0,"button",27),r.YNc(2,Xn,4,3,"ng-template",null,28,r.W1O),r.BQk()),2&t){const t=r.MAs(3),e=r.oxw(2);r.xp6(1),r.Q6J("ngIf",e.settings.get("social.envato.enable"))("ngIfElse",t)}}const ei=function(t){return{siteName:t}};function ni(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",2),r.NdJ("ngSubmit",function(){return r.CHM(t),r.oxw().register()}),r.TgZ(1,"div",3),r._uU(2),r.qZA(),r.TgZ(3,"div",4),r.TgZ(4,"div",5),r.TgZ(5,"label",6),r._uU(6,"Email"),r.qZA(),r._UZ(7,"input",7),r.YNc(8,qn,4,1,"p",8),r.qZA(),r.TgZ(9,"div",5),r.TgZ(10,"label",9),r._uU(11,"Password"),r.qZA(),r._UZ(12,"input",10),r.YNc(13,zn,4,1,"p",8),r.qZA(),r.TgZ(14,"div",5),r.TgZ(15,"label",11),r._uU(16,"Confirm Password"),r.qZA(),r._UZ(17,"input",12),r.qZA(),r.YNc(18,$n,5,1,"div",13),r.qZA(),r.YNc(19,Gn,2,1,"div",14),r.TgZ(20,"button",15),r.ALo(21,"async"),r._uU(22,"Create Account"),r.qZA(),r.YNc(23,ti,4,2,"ng-container",16),r.qZA()}if(2&t){const t=e.ngIf,n=r.oxw();r.Q6J("formGroup",n.form),r.xp6(1),r.Q6J("transValues",r.VKq(11,ei,n.settings.get("branding.site_name"))),r.xp6(1),r.hij(" ",n.route.snapshot.data.message||"Create a new account"," "),r.xp6(6),r.Q6J("ngIf",t.email),r.xp6(5),r.Q6J("ngIf",t.password),r.xp6(5),r.Q6J("ngIf",n.settings.get("envato.enable")&&n.settings.get("envato.require_purchase_code")),r.xp6(1),r.Q6J("ngIf",n.registerPolicies.length),r.xp6(1),r.Q6J("disabled",r.lcZ(21,9,n.loading$)),r.xp6(3),r.Q6J("ngIf",!n.settings.get("registration.disable"))}}let ii=(()=>{class t{constructor(t,e,n,i,r,s,o,a,l,c){this.auth=t,this.socialAuth=e,this.settings=n,this.route=i,this.user=r,this.router=s,this.toast=o,this.bootstrapper=a,this.recaptcha=l,this.fb=c,this.loading$=new Q.X(!1),this.registerPolicies=[],this.form=this.fb.group({email:[""],password:[""],password_confirmation:[""],purchase_code:[""]}),this.errors$=new Q.X({})}ngOnInit(){this.registerPolicies=this.settings.getJson("register_policies",[]),this.registerPolicies.forEach(t=>{t.id=(0,Un.V)(t.label,"_"),this.form.addControl(t.id,new yt.NI(!1))}),this.recaptcha.enabledFor("registration")&&this.recaptcha.load(),this.auth.forcedEmail$.pipe((0,o.h)(t=>!!t)).subscribe(t=>{this.form.get("email").setValue(t),this.form.get("email").disable()})}register(){return(0,X.mG)(this,void 0,void 0,function*(){if(this.loading$.next(!0),this.recaptcha.enabledFor("registration")&&!(yield this.recaptcha.verify("registration")))return this.loading$.next(!1),this.toast.open("Could not verify you are human.");this.auth.register(this.form.getRawValue()).subscribe(t=>{"needs_email_verification"===t.status?this.router.navigate(["/login"]).then(()=>{this.loading$.next(!1),this.toast.open(t.message,{duration:12e3})}):(this.bootstrapper.bootstrap(t.bootstrapData),this.router.navigate([this.auth.getRedirectUri()]).then(()=>{this.loading$.next(!1),this.toast.open("Registered successfully.")}))},t=>{this.errors$.next(t.errors),this.loading$.next(!1)})})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Xe.e),r.Y36(kn),r.Y36($.Z),r.Y36(s.gz),r.Y36(gt.I),r.Y36(s.F0),r.Y36(St.F),r.Y36(Xt),r.Y36(Ot.K),r.Y36(yt.qu))},t.\u0275cmp=r.Xpm({type:t,selectors:[["register"]],decls:3,vars:3,consts:[["infoRowTarget","signin"],["ngNativeValidate","",3,"formGroup","ngSubmit",4,"ngIf"],["ngNativeValidate","",3,"formGroup","ngSubmit"],["trans","",1,"header",3,"transValues"],[1,"many-inputs"],[1,"input-container"],["for","email","trans",""],["type","email","formControlName","email","id","email","required",""],["class","error",4,"ngIf"],["for","register_password","trans",""],["type","password","formControlName","password","id","register_password","required",""],["for","register_password_confirmation","trans",""],["type","password","formControlName","password_confirmation","id","register_password_confirmation","required",""],["class","input-container",4,"ngIf"],["class","policies",4,"ngIf"],["mat-raised-button","","color","accent","type","submit","trans","",1,"primary-button",3,"disabled"],[4,"ngIf"],[1,"error"],["svgIcon","warning"],["for","purchase_code","trans",""],["type","text","formControlName","purchase_code","id","purchase_code","required",""],[1,"policies"],["name","remember-me","class","policy-checkbox","color","accent","required","","trans","",3,"formControlName",4,"ngFor","ngForOf"],["name","remember-me","color","accent","required","","trans","",1,"policy-checkbox",3,"formControlName"],["trans",""],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],["type","button","class","no-style alternative-signin-method",3,"click",4,"ngIf","ngIfElse"],["defaultSocialAuth",""],["type","button",1,"no-style","alternative-signin-method",3,"click"],["svgIcon","envato-custom"],[1,"social-icons","center"],["type","button","mat-icon-button","","class","social-icon no-style facebook",3,"matTooltip","click",4,"ngIf"],["type","button","mat-icon-button","","class","social-icon no-style google",3,"matTooltip","click",4,"ngIf"],["type","button","mat-icon-button","","class","social-icon no-style twitter",3,"matTooltip","click",4,"ngIf"],["type","button","mat-icon-button","",1,"social-icon","no-style","facebook",3,"matTooltip","click"],["svgIcon","facebook"],["type","button","mat-icon-button","",1,"social-icon","no-style","google",3,"matTooltip","click"],["svgIcon","google"],["type","button","mat-icon-button","",1,"social-icon","no-style","twitter",3,"matTooltip","click"],["svgIcon","twitter"]],template:function(t,e){1&t&&(r.TgZ(0,"auth-page",0),r.YNc(1,ni,24,13,"form",1),r.ALo(2,"async"),r.qZA()),2&t&&(r.xp6(1),r.Q6J("ngIf",r.lcZ(2,1,e.errors$)))},directives:[hn,V.O5,yt.JL,yt.sg,et.P,yt.Fj,yt.JJ,yt.u,yt.Q7,nt.lW,Mt.Hw,V.sg,An.oG,An.e_,En.gM],pipes:[V.Ov,Sn.R],styles:[".policies[_ngcontent-%COMP%]{margin-top:32px}.policy-checkbox[_ngcontent-%COMP%]{display:block;margin-bottom:3px}"],changeDetection:0}),t})();var ri=n(36957),si=n(36402);function oi(t,e){if(1&t&&(r.TgZ(0,"p",14),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.Oqu(t.email)}}function ai(t,e){if(1&t&&(r.TgZ(0,"p",15),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.Oqu(t.password)}}function li(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",1),r.NdJ("ngSubmit",function(){return r.CHM(t),r.oxw().resetPassword()}),r.TgZ(1,"div",2),r._uU(2,"Reset your account password"),r.qZA(),r.TgZ(3,"div",3),r.TgZ(4,"div",4),r.TgZ(5,"label",5),r._uU(6,"Email"),r.qZA(),r._UZ(7,"input",6),r.YNc(8,oi,2,1,"p",7),r.qZA(),r.TgZ(9,"div",4),r.TgZ(10,"label",8),r._uU(11,"New Password"),r.qZA(),r._UZ(12,"input",9),r.YNc(13,ai,2,1,"p",10),r.qZA(),r.TgZ(14,"div",4),r.TgZ(15,"label",11),r._uU(16,"Confirm New Password"),r.qZA(),r._UZ(17,"input",12),r.qZA(),r.qZA(),r.TgZ(18,"button",13),r.ALo(19,"async"),r._uU(20,"Reset Password"),r.qZA(),r.qZA()}if(2&t){const t=e.ngIf,n=r.oxw();r.Q6J("formGroup",n.form),r.xp6(8),r.Q6J("ngIf",t.email),r.xp6(5),r.Q6J("ngIf",t.password),r.xp6(5),r.Q6J("disabled",r.lcZ(19,4,n.loading$))}}const ci=[{path:"login",component:Bn,canActivate:[tn]},{path:"register",component:ii,canActivate:[tn,(()=>{class t{constructor(t,e,n){this.settings=t,this.router=e,this.localStorage=n}canActivate(t,e){return!(this.settings.get("registration.disable")&&!this.localStorage.get(ri.b)&&(this.router.navigate(["/login"]),1))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG($.Z),r.LFG(s.F0),r.LFG(si.m))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()]},{path:"forgot-password",component:fn,canActivate:[tn]},{path:"password/reset/:token",component:(()=>{class t{constructor(t,e,n,i,r,s,o){this.auth=t,this.settings=e,this.route=n,this.router=i,this.toast=r,this.currentUser=s,this.fb=o,this.loading$=new Q.X(!1),this.form=this.fb.group({email:[""],password:[""],password_confirmation:[""],token:[""]}),this.errors$=new Q.X({})}resetPassword(){this.loading$.next(!0),this.form.patchValue({token:this.route.snapshot.params.token}),this.auth.resetPassword(this.form.value).subscribe(t=>{this.currentUser.assignCurrent(t.data),this.router.navigate([this.auth.getRedirectUri()]).then(()=>{this.loading$.next(!1),this.toast.open("Your password has been reset.")})},t=>{this.errors$.next(t.errors),this.loading$.next(!1)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Xe.e),r.Y36($.Z),r.Y36(s.gz),r.Y36(s.F0),r.Y36(St.F),r.Y36(gt.I),r.Y36(yt.qu))},t.\u0275cmp=r.Xpm({type:t,selectors:[["reset-password"]],hostAttrs:[1,"auth-page"],decls:3,vars:3,consts:[["ngNativeValidate","",3,"formGroup","ngSubmit",4,"ngIf"],["ngNativeValidate","",3,"formGroup","ngSubmit"],["trans","",1,"header"],[1,"many-inputs"],[1,"input-container"],["for","email","trans",""],["type","email","formControlName","email","id","email","required",""],["class","error email-error",4,"ngIf"],["for","password","trans",""],["type","password","formControlName","password","id","password","required",""],["class","error password-error",4,"ngIf"],["for","password_confirmation","trans",""],["type","password","formControlName","password_confirmation","name","password_confirmation","id","password_confirmation","required",""],["mat-raised-button","","color","accent","type","submit","trans","",1,"primary-button",3,"disabled"],[1,"error","email-error"],[1,"error","password-error"]],template:function(t,e){1&t&&(r.TgZ(0,"auth-page"),r.YNc(1,li,21,6,"form",0),r.ALo(2,"async"),r.qZA()),2&t&&(r.xp6(1),r.Q6J("ngIf",r.lcZ(2,1,e.errors$)))},directives:[hn,V.O5,yt.JL,yt.sg,et.P,yt.Fj,yt.JJ,yt.u,yt.Q7,nt.lW],pipes:[V.Ov],styles:[""],changeDetection:0}),t})(),canActivate:[tn]},{path:"workspace/join/register",component:ii,data:{message:"To join your team on :siteName, create an account"}},{path:"workspace/join/login",component:Bn,data:{message:"To join your team on :siteName, login to your account"}}];let ui=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.Bz.forChild(ci)],s.Bz]}),t})();var hi=n(68400),di=n(99808),pi=n(29779);let fi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[ui,V.ez,yt.u5,yt.UX,s.Bz,di.p,hi.N,pi.N,mn.Is,Mt.Ps,nt.ot,En.AV,An.p9]]}),t})();var mi=n(73982),gi=n(3148),_i=n(34056),bi=n(62424),vi=n(25051);let yi=(()=>{class t{constructor(t,e,n,i,r){this.users=t,this.router=e,this.currentUser=n,this.values=i,this.auth=r}resolve(t){return(0,gi.D)([this.users.get(this.currentUser.get("id"),{with:["roles","social_profiles"]}).pipe((0,G.U)(t=>t.user)),this.values.get(["timezones","countries","localizations"])]).pipe((0,st.K)(()=>(this.router.navigate([this.auth.getRedirectUri()]),_i.E)),(0,mi.zg)(t=>t?(0,at.of)({user:t[0],selects:t[1]}):(this.router.navigate([this.auth.getRedirectUri()]),_i.E)))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(bi.Q),r.LFG(s.F0),r.LFG(gt.I),r.LFG(vi.l),r.LFG(Xe.e))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var wi=n(62147),xi=n(67139);const Ci=new r.OlP("ACCOUNT_SETTINGS_PANELS");var ki=n(4694);function Ai(t,e){if(1&t&&(r.TgZ(0,"div",12),r._uU(1),r.ALo(2,"async"),r.qZA()),2&t){const t=r.oxw(2);let e;r.xp6(1),r.Oqu(null==(e=r.lcZ(2,1,t.errors$))?null:e.tokenName)}}function Ei(t,e){if(1&t&&(r.TgZ(0,"div",9),r._UZ(1,"input",10),r.YNc(2,Ai,3,3,"div",11),r.ALo(3,"async"),r.qZA()),2&t){const t=r.oxw();let e;r.xp6(2),r.Q6J("ngIf",null==(e=r.lcZ(3,1,t.errors$))?null:e.tokenName)}}function Si(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"div",13),r.TgZ(2,"input",14),r.NdJ("click",function(){return r.CHM(t),r.oxw().focusInput()})("change",function(){return r.CHM(t),r.oxw().focusInput()}),r.ALo(3,"async"),r.qZA(),r.TgZ(4,"button",15),r.NdJ("click",function(){return r.CHM(t),r.oxw().copyLinkToClipboard()}),r._uU(5,"Copy"),r.qZA(),r.qZA(),r.TgZ(6,"p"),r._UZ(7,"mat-icon",16),r.TgZ(8,"span",17),r._uU(9,"Make sure to store this token in a safe place. After this dialog is closed, token will not be viewable anymore."),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.xp6(2),r.Q6J("value",r.lcZ(3,1,t.plainTextToken$))}}function Oi(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"button",18),r.NdJ("click",function(){return r.CHM(t),r.oxw().close()}),r._uU(2,"Cancel"),r.qZA(),r.TgZ(3,"button",19),r.ALo(4,"async"),r._uU(5,"create"),r.qZA(),r.BQk()}if(2&t){const t=r.oxw();r.xp6(3),r.Q6J("disabled",r.lcZ(4,1,t.loading$))}}function Ti(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",18),r.NdJ("click",function(){const e=r.CHM(t).ngIf;return r.oxw().close(e)}),r._uU(1,"Close"),r.qZA()}}let Ii=(()=>{class t{constructor(t,e,n){this.auth=t,this.dialogRef=e,this.toast=n,this.form=new yt.cw({name:new yt.NI("")}),this.errors$=new Q.X({}),this.loading$=new Q.X(!1),this.plainTextToken$=new Q.X(null),this.token$=new Q.X(null)}close(t){this.dialogRef.close(t)}confirm(){this.loading$.next(!0),this.auth.createAccessToken(this.form.value.name).subscribe(t=>{this.loading$.next(!1),this.plainTextToken$.next(t.plainTextToken),this.token$.next(t.token)},t=>{this.loading$.next(!1),this.errors$.next(t.errors)})}copyLinkToClipboard(){this.focusInput(),xt()(this.plainTextToken$.value)&&this.toast.open("Token copied to clipboard")}focusInput(){const t=document.getElementById("access-token-name");t.focus(),t.select()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Xe.e),r.Y36(mn.so),r.Y36(St.F))},t.\u0275cmp=r.Xpm({type:t,selectors:[["create-access-token-dialog"]],decls:16,vars:13,consts:[[1,"modal-header"],["mat-dialog-title","","trans",""],["type","button","mat-icon-button","","tabindex","-1",1,"close-button",3,"click"],["svgIcon","close"],["ngNativeValidate","",3,"formGroup","ngSubmit"],[1,"many-inputs"],["class","input-container",4,"ngIf"],[4,"ngIf"],["type","button","mat-button","","class","cancel-button","trans","",3,"click",4,"ngIf"],[1,"input-container"],["type","text","formControlName","name","placeholder","Enter a name...","trans-placeholder","","required","","min","3"],["class","error",4,"ngIf"],[1,"error"],[1,"input-container","plaintext-token-input-container"],["id","access-token-name","type","text","readonly","",3,"value","click","change"],["type","button","mat-flat-button","","color","accent","trans","",3,"click"],["svgIcon","warning",1,"warning-icon"],["trans",""],["type","button","mat-button","","trans","",1,"cancel-button",3,"click"],["type","submit","mat-raised-button","","color","accent","trans","",1,"submit-button",3,"disabled"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"h2",1),r._uU(2,"Create new token"),r.qZA(),r.TgZ(3,"button",2),r.NdJ("click",function(){return e.close()}),r._UZ(4,"mat-icon",3),r.qZA(),r.qZA(),r.TgZ(5,"form",4),r.NdJ("ngSubmit",function(){return e.confirm()}),r.TgZ(6,"mat-dialog-content",5),r.YNc(7,Ei,4,3,"div",6),r.ALo(8,"async"),r.YNc(9,Si,10,3,"div",7),r.ALo(10,"async"),r.qZA(),r.TgZ(11,"mat-dialog-actions"),r.YNc(12,Oi,6,3,"ng-container",7),r.ALo(13,"async"),r.YNc(14,Ti,2,0,"button",8),r.ALo(15,"async"),r.qZA(),r.qZA()),2&t&&(r.xp6(5),r.Q6J("formGroup",e.form),r.xp6(2),r.Q6J("ngIf",!r.lcZ(8,5,e.plainTextToken$)),r.xp6(2),r.Q6J("ngIf",r.lcZ(10,7,e.plainTextToken$)),r.xp6(3),r.Q6J("ngIf",!r.lcZ(13,9,e.plainTextToken$)),r.xp6(2),r.Q6J("ngIf",r.lcZ(15,11,e.token$)))},directives:[mn.uh,et.P,nt.lW,Mt.Hw,yt.JL,yt.sg,mn.xY,V.O5,mn.H8,yt.Fj,yt.JJ,yt.u,yt.Q7],pipes:[V.Ov],styles:["[_nghost-%COMP%]{display:block;width:400px;max-width:100%}.plaintext-token-input-container[_ngcontent-%COMP%]{display:flex}.plaintext-token-input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{flex:1 1 auto;border-top-right-radius:0;border-bottom-right-radius:0}.plaintext-token-input-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:88px;flex:0 0 88px;border-top-left-radius:0;border-bottom-left-radius:0}.warning-icon[_ngcontent-%COMP%]{color:#f44336;width:14px;height:14px;line-height:14px;margin-right:8px;vertical-align:text-top}"],changeDetection:0}),t})();var Di=n(340),Pi=n(70941),Fi=n(5084),Mi=n(71294),Ri=n(97070),Li=n(43295);function Zi(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"span",10),r._uU(2),r.qZA(),r.TgZ(3,"button",11),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).disconnectSocialAccount("envato")}),r._uU(4,"Disable"),r.qZA(),r.BQk()}if(2&t){const t=e.ngIf;r.xp6(2),r.Oqu(t)}}function Ni(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",12),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).connectSocialAccount("envato")}),r._uU(1,"Enable"),r.qZA()}}function Bi(t,e){if(1&t&&(r.TgZ(0,"div",4),r.TgZ(1,"div",5),r._UZ(2,"mat-icon",6),r.qZA(),r.TgZ(3,"div",7),r._uU(4,"Envato Account"),r.qZA(),r.YNc(5,Zi,5,1,"ng-container",8),r.YNc(6,Ni,2,0,"ng-template",null,9,r.W1O),r.qZA()),2&t){const t=r.MAs(7),e=r.oxw();r.xp6(5),r.Q6J("ngIf",e.getSocialAccountUsername("envato"))("ngIfElse",t)}}function Ui(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"span",10),r._uU(2),r.qZA(),r.TgZ(3,"button",11),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).disconnectSocialAccount("google")}),r._uU(4,"Disable"),r.qZA(),r.BQk()}if(2&t){const t=e.ngIf;r.xp6(2),r.Oqu(t)}}function qi(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",12),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).connectSocialAccount("google")}),r._uU(1,"Enable"),r.qZA()}}function zi(t,e){if(1&t&&(r.TgZ(0,"div",13),r.TgZ(1,"div",14),r._UZ(2,"mat-icon",15),r.qZA(),r.TgZ(3,"div",7),r._uU(4,"Google+ Account"),r.qZA(),r.YNc(5,Ui,5,1,"ng-container",8),r.YNc(6,qi,2,0,"ng-template",null,16,r.W1O),r.qZA()),2&t){const t=r.MAs(7),e=r.oxw();r.xp6(5),r.Q6J("ngIf",e.getSocialAccountUsername("google"))("ngIfElse",t)}}function ji(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"span",10),r._uU(2),r.qZA(),r.TgZ(3,"button",11),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).disconnectSocialAccount("facebook")}),r._uU(4,"Disable"),r.qZA(),r.BQk()}if(2&t){const t=e.ngIf;r.xp6(2),r.Oqu(t)}}function $i(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",12),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).connectSocialAccount("facebook")}),r._uU(1,"Enable"),r.qZA()}}function Yi(t,e){if(1&t&&(r.TgZ(0,"div",17),r.TgZ(1,"div",18),r._UZ(2,"mat-icon",19),r.qZA(),r.TgZ(3,"div",7),r._uU(4,"Facebook Account"),r.qZA(),r.YNc(5,ji,5,1,"ng-container",8),r.YNc(6,$i,2,0,"ng-template",null,20,r.W1O),r.qZA()),2&t){const t=r.MAs(7),e=r.oxw();r.xp6(5),r.Q6J("ngIf",e.getSocialAccountUsername("facebook"))("ngIfElse",t)}}function Vi(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"span",10),r._uU(2),r.qZA(),r.TgZ(3,"button",11),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).disconnectSocialAccount("twitter")}),r._uU(4,"Disable"),r.qZA(),r.BQk()}if(2&t){const t=e.ngIf;r.xp6(2),r.Oqu(t)}}function Hi(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",12),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).connectSocialAccount("twitter")}),r._uU(1,"Enable"),r.qZA()}}function Gi(t,e){if(1&t&&(r.TgZ(0,"div",21),r.TgZ(1,"div",22),r._UZ(2,"mat-icon",23),r.qZA(),r.TgZ(3,"div",7),r._uU(4,"Twitter Account"),r.qZA(),r.YNc(5,Vi,5,1,"ng-container",8),r.YNc(6,Hi,2,0,"ng-template",null,24,r.W1O),r.qZA()),2&t){const t=r.MAs(7),e=r.oxw();r.xp6(5),r.Q6J("ngIf",e.getSocialAccountUsername("twitter"))("ngIfElse",t)}}let Qi=(()=>{class t{constructor(t,e,n,i){this.social=t,this.toast=e,this.settings=n,this.cd=i}connectSocialAccount(t){this.social.connect(t).then(e=>{this.user.social_profiles=e.social_profiles,this.toast.open("Connected: "+t),this.cd.markForCheck()})}disconnectSocialAccount(t){this.social.disconnect(t).subscribe(()=>{this.toast.open("Disconnected: "+t);const e=this.user.social_profiles.findIndex(e=>e.service_name===t);this.user.social_profiles.splice(e,1),this.cd.markForCheck()})}getSocialAccountUsername(t){if(!this.user.social_profiles)return;const e=this.user.social_profiles.find(e=>e.service_name===t);return e&&e.username}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(kn),r.Y36(St.F),r.Y36($.Z),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["connect-social-accounts-panel"]],inputs:{user:"user"},decls:4,vars:4,consts:[["class","social-login-row envato-row",4,"ngIf"],["class","social-login-row google-row",4,"ngIf"],["class","social-login-row facebook-row",4,"ngIf"],["class","social-login-row twitter-row last",4,"ngIf"],[1,"social-login-row","envato-row"],[1,"icon-container","envato"],["svgIcon","envato-custom"],["trans","",1,"name"],[4,"ngIf","ngIfElse"],["envatoBlock",""],[1,"social-account-username"],["mat-raised-button","","color","accent","trans","",1,"button","primary","disable-button",3,"click"],["mat-raised-button","","color","accent","trans","",1,"button","primary","enable-button",3,"click"],[1,"social-login-row","google-row"],[1,"icon-container","google"],["svgIcon","google"],["googleBlock",""],[1,"social-login-row","facebook-row"],[1,"icon-container","facebook"],["svgIcon","facebook"],["facebookBlock",""],[1,"social-login-row","twitter-row","last"],[1,"icon-container","twitter"],["svgIcon","twitter"],["twitterBlock",""]],template:function(t,e){1&t&&(r.YNc(0,Bi,8,2,"div",0),r.YNc(1,zi,8,2,"div",1),r.YNc(2,Yi,8,2,"div",2),r.YNc(3,Gi,8,2,"div",3)),2&t&&(r.Q6J("ngIf",e.settings.get("social.envato.enable")),r.xp6(1),r.Q6J("ngIf",e.settings.get("social.google.enable")),r.xp6(1),r.Q6J("ngIf",e.settings.get("social.facebook.enable")),r.xp6(1),r.Q6J("ngIf",e.settings.get("social.twitter.enable")))},directives:[V.O5,Mt.Hw,et.P,nt.lW],styles:["[_nghost-%COMP%]{display:block}.social-login-row[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid var(--be-divider-default)}.social-login-row.last[_ngcontent-%COMP%]{border-bottom:none;margin-bottom:0}.social-login-row[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{display:inline-block;margin-left:15px;flex:1 1 auto}.social-login-row[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{margin-left:auto}.social-login-row[_ngcontent-%COMP%]   .button.disable-button[_ngcontent-%COMP%]{background-color:#f44336;border-color:#f44336}.social-account-username[_ngcontent-%COMP%]{margin-left:auto;margin-right:10px;color:var(--be-link);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:3px}.icon-container.facebook[_ngcontent-%COMP%]{color:#3b5998;background-color:#3b5998}.icon-container.facebook[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{background-color:#fff}.icon-container.twitter[_ngcontent-%COMP%]{background-color:#1da1f2;color:#fff}.icon-container.google[_ngcontent-%COMP%]{background-color:#d34836;color:#fff}.icon-container.envato[_ngcontent-%COMP%]{background-color:#82b541;color:#fff}"],changeDetection:0}),t})();var Ji=n(2406);const Wi=["extraPanelRef"];function Ki(t,e){if(1&t&&r._UZ(0,"material-navbar",2),2&t){const t=r.oxw();r.Q6J("menuPosition",t.settings.get("vebto.navbar.defaultPosition"))}}function Xi(t,e){if(1&t&&(r.ynx(0),r.TgZ(1,"button",50),r._UZ(2,"mat-icon",51),r.qZA(),r.TgZ(3,"mat-menu",null,52),r._UZ(5,"logged-in-user-menu"),r.qZA(),r.BQk()),2&t){const t=r.MAs(4);r.xp6(1),r.Q6J("matMenuTriggerFor",t)}}function tr(t,e){}function er(t,e){if(1&t&&(r.TgZ(0,"div",53),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.hij(" ",t.first_name," ")}}function nr(t,e){if(1&t&&(r.TgZ(0,"div",54),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.hij(" ",t.last_name," ")}}function ir(t,e){if(1&t&&(r.TgZ(0,"div",55),r.TgZ(1,"div",11),r._uU(2,"Manage Social Login"),r.qZA(),r.TgZ(3,"div",12),r.TgZ(4,"div",24),r._uU(5,"Enable or disable connected social services"),r.qZA(),r._UZ(6,"connect-social-accounts-panel",56),r.ALo(7,"async"),r.qZA(),r.qZA()),2&t){const t=r.oxw(2);r.xp6(6),r.Q6J("user",r.lcZ(7,1,t.initialUser$))}}function rr(t,e){if(1&t&&(r.TgZ(0,"div",68),r._uU(1),r.qZA()),2&t){const t=r.oxw(2).ngIf;r.xp6(1),r.hij(" ",t.current_password," ")}}function sr(t,e){if(1&t&&(r.TgZ(0,"div",13),r.TgZ(1,"label",65),r._uU(2,"Current Password"),r.qZA(),r._UZ(3,"input",66),r.YNc(4,rr,2,1,"div",67),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(4),r.Q6J("ngIf",t.current_password)}}function or(t,e){if(1&t&&(r.TgZ(0,"div",69),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.hij(" ",t.new_password," ")}}function ar(t,e){if(1&t&&(r.TgZ(0,"div",70),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.hij(" ",t.new_password_confirmation," ")}}function lr(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",57),r.NdJ("ngSubmit",function(){return r.CHM(t),r.oxw(2).changeUserPassword()}),r.TgZ(1,"div",11),r._uU(2,"Update Password"),r.qZA(),r.TgZ(3,"div",12),r.YNc(4,sr,5,1,"div",58),r.TgZ(5,"div",13),r.TgZ(6,"label",59),r._uU(7,"New Password"),r.qZA(),r._UZ(8,"input",60),r.YNc(9,or,2,1,"div",61),r.qZA(),r.TgZ(10,"div",13),r.TgZ(11,"label",62),r._uU(12,"Confirm Password"),r.qZA(),r._UZ(13,"input",63),r.YNc(14,ar,2,1,"div",64),r.qZA(),r.qZA(),r.TgZ(15,"div",27),r.TgZ(16,"button",28),r.ALo(17,"async"),r._uU(18," Update "),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=e.ngIf,n=r.oxw(2);r.Q6J("formGroup",n.passwordForm),r.xp6(4),r.Q6J("ngIf",n.currentUser.get("has_password")),r.xp6(5),r.Q6J("ngIf",t.new_password),r.xp6(5),r.Q6J("ngIf",t.new_password_confirmation),r.xp6(2),r.Q6J("disabled",r.lcZ(17,5,n.loading$))}}function cr(t,e){if(1&t&&(r.TgZ(0,"option",71),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t.language),r.xp6(1),r.hij(" ",t.name," ")}}function ur(t,e){if(1&t&&(r.TgZ(0,"div",72),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.hij(" ",t.language," ")}}function hr(t,e){if(1&t&&(r.TgZ(0,"option",71),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.s9C("value",t.code),r.xp6(1),r.hij(" ",t.name," ")}}function dr(t,e){if(1&t&&(r.TgZ(0,"div",73),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.hij(" ",t.country," ")}}function pr(t,e){if(1&t&&(r.TgZ(0,"option",71),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.Q6J("value",t.value),r.xp6(1),r.hij(" ",t.text," ")}}function fr(t,e){if(1&t&&(r.TgZ(0,"optgroup",74),r.YNc(1,pr,2,2,"option",34),r.qZA()),2&t){const t=e.$implicit;r.Q6J("label",t.key),r.xp6(1),r.Q6J("ngForOf",t.value)}}function mr(t,e){if(1&t&&(r.TgZ(0,"div",75),r._uU(1),r.qZA()),2&t){const t=r.oxw().ngIf;r.xp6(1),r.hij(" ",t.timezone," ")}}function gr(t,e){1&t&&(r.TgZ(0,"no-results-message",84),r.TgZ(1,"span",85),r._uU(2,"You have no personal access tokens yet"),r.qZA(),r.qZA())}function _r(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"li"),r.TgZ(1,"dl"),r.TgZ(2,"dt",49),r._uU(3,"Name"),r.qZA(),r.TgZ(4,"dd"),r._uU(5),r.qZA(),r.TgZ(6,"dt",49),r._uU(7,"Last Used"),r.qZA(),r.TgZ(8,"dd"),r._uU(9),r.ALo(10,"formattedDate"),r.qZA(),r.qZA(),r.TgZ(11,"button",45),r.NdJ("click",function(){const e=r.CHM(t).$implicit;return r.oxw(3).maybeDeleteToken(e)}),r._uU(12," Delete "),r.qZA(),r.qZA()}if(2&t){const t=e.$implicit;r.xp6(5),r.Oqu(t.name),r.xp6(4),r.hij(" ",t.last_used_at?r.lcZ(10,2,t.last_used_at):"-"," ")}}const br=function(){return[]};function vr(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",76),r.TgZ(1,"div",77),r.TgZ(2,"div",78),r._uU(3,"Manage API Access Tokens"),r.qZA(),r.TgZ(4,"a",79),r._uU(5,"Documentation"),r.qZA(),r.qZA(),r.TgZ(6,"div",12),r.YNc(7,gr,3,0,"no-results-message",80),r.ALo(8,"async"),r.TgZ(9,"ul",81),r.YNc(10,_r,13,4,"li",82),r.ALo(11,"async"),r.qZA(),r.qZA(),r.TgZ(12,"div",27),r.TgZ(13,"button",83),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).openCreateTokenDialog()}),r._uU(14," Create new token "),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=r.oxw(2);r.xp6(7),r.Q6J("ngIf",!(null!=r.lcZ(8,2,t.initialUser$).tokens&&r.lcZ(8,2,t.initialUser$).tokens.length)),r.xp6(3),r.Q6J("ngForOf",r.lcZ(11,4,t.initialUser$).tokens||r.DdM(6,br))}}function yr(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",3),r.TgZ(1,"h1",4),r.TgZ(2,"span",5),r._uU(3,"Account Settings"),r.qZA(),r.YNc(4,Xi,6,1,"ng-container",6),r.ALo(5,"async"),r.qZA(),r.TgZ(6,"div",7),r._uU(7," View and update your account details, profile and more. "),r.qZA(),r.TgZ(8,"div",8),r.YNc(9,tr,0,0,"ng-template",null,9,r.W1O),r.TgZ(11,"form",10),r.NdJ("ngSubmit",function(){return r.CHM(t),r.oxw().updateAccountSettings()}),r.TgZ(12,"div",11),r._uU(13,"Update Name or Profile Image"),r.qZA(),r.TgZ(14,"div",12),r.TgZ(15,"div",13),r.TgZ(16,"label",14),r._uU(17,"First Name"),r.qZA(),r._UZ(18,"input",15),r.YNc(19,er,2,1,"div",16),r.qZA(),r.TgZ(20,"div",13),r.TgZ(21,"label",17),r._uU(22,"Last Name"),r.qZA(),r._UZ(23,"input",18),r.YNc(24,nr,2,1,"div",19),r.qZA(),r.TgZ(25,"div",20),r.TgZ(26,"label",17),r._uU(27,"Profile image"),r.qZA(),r.TgZ(28,"div",21),r._UZ(29,"img",22),r.ALo(30,"async"),r.TgZ(31,"div",23),r.TgZ(32,"div",24),r._uU(33," For best results, upload a high resolution image. "),r.qZA(),r.TgZ(34,"button",25),r.NdJ("click",function(){return r.CHM(t),r.oxw().openAvatarUploadDialog()}),r._uU(35," Upload Image "),r.qZA(),r.TgZ(36,"button",26),r.NdJ("click",function(){return r.CHM(t),r.oxw().deleteAvatar()}),r._uU(37," Remove Image "),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(38,"div",27),r.TgZ(39,"button",28),r.ALo(40,"async"),r._uU(41," Save Changes "),r.qZA(),r.qZA(),r.qZA(),r.YNc(42,ir,8,3,"div",29),r.YNc(43,lr,19,7,"form",30),r.ALo(44,"async"),r.TgZ(45,"form",31),r.NdJ("ngSubmit",function(){return r.CHM(t),r.oxw().updateAccountSettings()}),r.TgZ(46,"div",11),r._uU(47,"Update Account Preferences"),r.qZA(),r.TgZ(48,"div",12),r.TgZ(49,"div",13),r.TgZ(50,"label",32),r._uU(51,"Language"),r.qZA(),r.TgZ(52,"select",33),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw().changeLanguage(e)}),r.YNc(53,cr,2,2,"option",34),r.qZA(),r.YNc(54,ur,2,1,"div",35),r.qZA(),r.TgZ(55,"div",13),r.TgZ(56,"label",36),r._uU(57,"Country"),r.qZA(),r.TgZ(58,"select",37),r.YNc(59,hr,2,2,"option",34),r.qZA(),r.YNc(60,dr,2,1,"div",38),r.qZA(),r.TgZ(61,"div",13),r.TgZ(62,"label",39),r._uU(63,"Timezone"),r.qZA(),r.TgZ(64,"select",40),r.YNc(65,fr,2,2,"optgroup",41),r.ALo(66,"keyvalue"),r.qZA(),r.YNc(67,mr,2,1,"div",42),r.qZA(),r.qZA(),r.TgZ(68,"div",27),r.TgZ(69,"button",28),r.ALo(70,"async"),r._uU(71," Save Changes "),r.qZA(),r.qZA(),r.qZA(),r.YNc(72,vr,15,7,"div",43),r.TgZ(73,"div",44),r.TgZ(74,"div",11),r._uU(75,"Danger Zone"),r.qZA(),r.TgZ(76,"div",12),r.TgZ(77,"button",45),r.NdJ("click",function(){return r.CHM(t),r.oxw().openConfirmAccountDeleteDialog()}),r._uU(78," Delete Account "),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(79,"div",46),r.TgZ(80,"button",47),r.NdJ("click",function(){return r.CHM(t),r.oxw().auth.logOut()}),r._UZ(81,"mat-icon",48),r.TgZ(82,"span",49),r._uU(83,"Logout"),r.qZA(),r.qZA(),r.qZA(),r.qZA()}if(2&t){const t=e.ngIf,n=r.oxw();r.xp6(4),r.Q6J("ngIf",r.lcZ(5,17,n.breakpoints.isMobile$)),r.xp6(7),r.Q6J("formGroup",n.userForm),r.xp6(8),r.Q6J("ngIf",t.first_name),r.xp6(5),r.Q6J("ngIf",t.last_name),r.xp6(5),r.Q6J("src",r.lcZ(30,19,n.avatar$),r.LSH),r.xp6(10),r.Q6J("disabled",r.lcZ(40,21,n.loading$)),r.xp6(3),r.Q6J("ngIf",n.settings.anySocialLoginEnabled()),r.xp6(1),r.Q6J("ngIf",r.lcZ(44,23,n.passwordErrors$)),r.xp6(2),r.Q6J("formGroup",n.userForm),r.xp6(8),r.Q6J("ngForOf",n.selects.localizations),r.xp6(1),r.Q6J("ngIf",t.language),r.xp6(5),r.Q6J("ngForOf",n.selects.countries),r.xp6(1),r.Q6J("ngIf",t.country),r.xp6(5),r.Q6J("ngForOf",r.lcZ(66,25,n.selects.timezones)),r.xp6(2),r.Q6J("ngIf",t.timezone),r.xp6(2),r.Q6J("disabled",r.lcZ(70,27,n.loading$)),r.xp6(3),r.Q6J("ngIf",n.apiEnabled())}}let wr=(()=>{class t{constructor(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f,m){this.settings=t,this.route=e,this.users=n,this.currentUser=i,this.toast=r,this.uploads=s,this.i18n=o,this.localizations=a,this.auth=l,this.avatarValidator=c,this.fb=u,this.componentFactoryResolver=h,this.breakpoints=d,this.cd=p,this.dialog=f,this.extraPanels=m,this.loading$=new Q.X(!1),this.avatar$=new Q.X(null),this.initialUser$=new Q.X(null),this.userErrors$=new Q.X({}),this.passwordErrors$=new Q.X({}),this.userForm=this.fb.group({first_name:[""],last_name:[""],language:[""],timezone:[""],country:[""]}),this.passwordForm=this.fb.group({current_password:[""],new_password:[""],new_password_confirmation:[""]}),this.selects={timezones:{},countries:[],localizations:[]}}ngOnInit(){this.route.data.subscribe(t=>{this.initialUser$.next(t.api.user),this.userForm.patchValue(t.api.user),this.avatar$.next(t.api.user.avatar),this.selects=t.api.selects})}ngAfterViewInit(){this.loadExtraPanels()}updateAccountSettings(){this.loading$.next(!0),this.users.update(this.currentUser.get("id"),this.userForm.value).pipe((0,kt.x)(()=>this.loading$.next(!1))).subscribe(()=>{this.toast.open("Account settings updated"),this.userErrors$.next({})},t=>this.userErrors$.next(t.errors))}openAvatarUploadDialog(){this.loading$.next(!0),(0,wi.r)({types:[xi.j.image]}).then(t=>{this.avatarValidator.validateWithToast(t[0]).failed||this.users.uploadAvatar(this.currentUser.get("id"),t).pipe((0,kt.x)(()=>this.loading$.next(!1))).subscribe(t=>{this.userForm.patchValue({avatar:t.user.avatar}),this.currentUser.set("avatar",t.user.avatar),this.avatar$.next(t.user.avatar),this.toast.open("Avatar updated")},t=>{const e=Object.keys(t.errors)[0];this.toast.open(t.errors[e])})})}deleteAvatar(){this.loading$.next(!0),this.users.deleteAvatar(this.currentUser.get("id")).pipe((0,kt.x)(()=>this.loading$.next(!1))).subscribe(t=>{this.userForm.patchValue({avatar:t.avatar}),this.currentUser.set("avatar",t.avatar),this.avatar$.next(t.avatar),this.toast.open("Avatar removed")})}changeUserPassword(){this.loading$.next(!0),this.users.changePassword(this.currentUser.get("id"),this.passwordForm.value).pipe((0,kt.x)(()=>this.loading$.next(!1))).subscribe(()=>{this.toast.open("Password updated"),this.passwordErrors$.next({}),this.passwordForm.reset(),this.currentUser.set("has_password",!0)},t=>this.passwordErrors$.next(t.errors))}changeLanguage(t){this.loading$.next(!0),this.localizations.get(t).pipe((0,kt.x)(()=>this.loading$.next(!1))).subscribe(t=>{this.i18n.setLocalization(t.localization)})}loadExtraPanels(){this.extraPanels&&this.extraPanels.length&&this.extraPanels.forEach(t=>{const e=this.componentFactoryResolver.resolveComponentFactory(t.component);this.extraPanelRef.clear(),this.extraPanelRef.createComponent(e).instance.user=this.initialUser$.value,this.cd.detectChanges()})}apiEnabled(){return this.settings.get("api.integrated")&&this.currentUser.hasPermission("api.access")}maybeDeleteToken(t){this.dialog.open(ki.z,{title:"Delete Access Token",body:"This token will be deleted immediately and permanently. Once deleted, it can no longer be used to make API requests.",bodyBold:"Do you want to delete the token?",ok:"Delete"}).beforeClosed().subscribe(e=>{e&&this.auth.revokeAccessToken(t.id).subscribe(()=>{this.initialUser$.next(Object.assign(Object.assign({},this.initialUser$.value),{tokens:this.initialUser$.value.tokens.filter(e=>e.id!==t.id)})),this.toast.open("Access token deleted")})})}openCreateTokenDialog(){this.dialog.open(Ii).afterClosed().subscribe(t=>{t&&this.initialUser$.next(Object.assign(Object.assign({},this.initialUser$.value),{tokens:[...this.initialUser$.value.tokens,t]}))})}openConfirmAccountDeleteDialog(){this.dialog.open(ki.z,{title:"Delete Account",body:"Your account will be deleted immediately and permanently. Once deleted, accounts can not be restored.",bodyBold:"Do you want to delete the account?",ok:"Delete"}).beforeClosed().subscribe(t=>{t&&this.users.delete([this.currentUser.get("id")],{deleteCurrentUser:!0}).subscribe(()=>{this.auth.logOut()})})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36($.Z),r.Y36(s.gz),r.Y36(bi.Q),r.Y36(gt.I),r.Y36(St.F),r.Y36(Di.f),r.Y36(W.Z),r.Y36(Pi.v),r.Y36(Xe.e),r.Y36(Fi.m),r.Y36(yt.qu),r.Y36(r._Vd),r.Y36(Mi.S),r.Y36(r.sBO),r.Y36(Cn.u),r.Y36(Ci,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["account-settings"]],viewQuery:function(t,e){if(1&t&&r.Gf(Wi,5,r.s_b),2&t){let t;r.iGM(t=r.CRH())&&(e.extraPanelRef=t.first)}},decls:3,vars:4,consts:[[3,"menuPosition",4,"ngIf"],["class","content container",4,"ngIf"],[3,"menuPosition"],[1,"content","container"],[1,"header"],["trans","",1,"header-text"],[4,"ngIf"],["trans","",1,"header-description"],[1,"panels"],["extraPanelRef",""],["id","test","ngNativeValidate","",1,"panel","account-settings-panel",3,"formGroup","ngSubmit"],["trans","",1,"panel-header"],[1,"panel-body"],[1,"input-container","input-inline"],["for","first_name","trans",""],["type","text","id","first_name","name","first_name","formControlName","first_name"],["class","error first-name-error",4,"ngIf"],["for","last_name","trans",""],["type","text","id","last_name","name","last_name","formControlName","last_name"],["class","error last-name-error",4,"ngIf"],[1,"input-container","input-inline","avatar-input-container"],[1,"avatar-input"],["alt","User avatar",3,"src"],[1,"avatar-actions-container"],["trans","",1,"info"],["type","button","mat-flat-button","","color","accent","trans","",1,"button","flat","avatar-upload-button",3,"click"],["type","button","mat-stroked-button","","color","warn","trans","",1,"avatar-remove-button",3,"click"],[1,"panel-footer"],["type","submit","mat-raised-button","","color","accent","trans","",3,"disabled"],["class","panel account-settings-panel social-login-panel",4,"ngIf"],["class","panel account-settings-panel change-password-panel","ngNativeValidate","",3,"formGroup","ngSubmit",4,"ngIf"],["ngNativeValidate","",1,"panel","account-settings-panel","preferences-panel",3,"formGroup","ngSubmit"],["for","language","trans",""],["name","language","id","language","formControlName","language",3,"ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["class","error language-error",4,"ngIf"],["for","country","trans",""],["name","country","id","country","formControlName","country"],["class","error country-error",4,"ngIf"],["for","timezone","trans",""],["name","timezone","id","timezone","formControlName","timezone"],[3,"label",4,"ngFor","ngForOf"],["class","error timezone-error",4,"ngIf"],["class","panel account-settings-panel api-panel",4,"ngIf"],[1,"panel","account-settings-panel"],["type","button","mat-raised-button","","color","warn","trans","",3,"click"],[1,"logout-button-container"],["mat-raised-button","","color","warn","type","button",1,"logout-button",3,"click"],["svgIcon","exit-to-app"],["trans",""],["mat-icon-button","",1,"mobile-toggle-button",3,"matMenuTriggerFor"],["svgIcon","settings"],["navSidebarMenu","matMenu"],[1,"error","first-name-error"],[1,"error","last-name-error"],[1,"panel","account-settings-panel","social-login-panel"],[3,"user"],["ngNativeValidate","",1,"panel","account-settings-panel","change-password-panel",3,"formGroup","ngSubmit"],["class","input-container input-inline",4,"ngIf"],["for","new_password","trans",""],["type","password","id","new_password","name","new_password","formControlName","new_password","required",""],["class","error new-password-error",4,"ngIf"],["for","new_password_confirmation","trans",""],["type","password","id","new_password_confirmation","name","new_password_confirmation","formControlName","new_password_confirmation","required",""],["class","error new-password-confirmation-error",4,"ngIf"],["for","current_password","trans",""],["type","password","id","current_password","name","current_password","formControlName","current_password","required",""],["class","error current-password-error",4,"ngIf"],[1,"error","current-password-error"],[1,"error","new-password-error"],[1,"error","new-password-confirmation-error"],[3,"value"],[1,"error","language-error"],[1,"error","country-error"],[3,"label"],[1,"error","timezone-error"],[1,"panel","account-settings-panel","api-panel"],[1,"panel-header"],["trans","",1,"panel-header-title"],["routerLink","/api-docs","target","_blank","trans","",1,"panel-header-action"],["svgImage","secure-data.svg",4,"ngIf"],[1,"unstyled-list"],[4,"ngFor","ngForOf"],["type","button","secondary-text","","mat-raised-button","","color","accent","trans","",3,"click"],["svgImage","secure-data.svg"],["primary-text","","trans",""]],template:function(t,e){1&t&&(r.YNc(0,Ki,1,1,"material-navbar",0),r.YNc(1,yr,84,29,"div",1),r.ALo(2,"async")),2&t&&(r.Q6J("ngIf",!e.settings.get("vebto.accountSettings.hideNavbar")),r.xp6(1),r.Q6J("ngIf",r.lcZ(2,2,e.userErrors$)))},directives:[V.O5,_t.e,et.P,yt.JL,yt.sg,yt.Fj,yt.JJ,yt.u,nt.lW,yt.EJ,V.sg,Mt.Hw,Ri.p6,Ri.VK,Li.F,Qi,yt.Q7,yt.YN,yt.Kr,s.yS,le.U],pipes:[V.Ov,V.Nd,Ji.l],styles:["[_nghost-%COMP%]{display:block;min-height:100vh;flex:1 1 auto;background-color:var(--be-background-alternative)}.content[_ngcontent-%COMP%]{margin:0 auto}.header[_ngcontent-%COMP%]{font-size:3.6rem;margin:25px 0 0;font-weight:400;display:flex;align-items:center}.header-description[_ngcontent-%COMP%]{font-size:1.6rem;margin-bottom:40px;color:var(--be-secondary-text)}.header-text[_ngcontent-%COMP%]{white-space:nowrap;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}.mobile-toggle-button[_ngcontent-%COMP%]{flex-shrink:0;margin-left:30px}.panels[_ngcontent-%COMP%]{width:820px;max-width:100%}  .account-settings-panel{border:1px solid var(--be-divider-default);border-radius:4px;padding:15px;background-color:var(--be-background);margin-bottom:25px}  .account-settings-panel .panel-header{display:flex;vertical-align:middle;background-color:transparent;font-size:1.8rem;font-weight:300;padding:0 0 10px;border-bottom:1px solid var(--be-divider-default)}  .account-settings-panel .panel-header-title{flex:1 1 auto}  .account-settings-panel .panel-header-action{font-size:1.5rem;display:block}  .account-settings-panel .panel-body{padding:25px 0 0}  .account-settings-panel .panel-footer{padding:10px 0 0;margin-top:35px;border-top:1px solid var(--be-divider-default);text-align:right}.input-inline[_ngcontent-%COMP%]{display:flex;margin-bottom:26px;align-items:center;position:relative}.input-inline[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{flex:0 0 30%;min-width:200px;line-height:42px;vertical-align:middle}.input-inline[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .input-inline[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{flex:1 1 auto;height:48px;border-radius:3px;border-color:var(--be-divider-default);background-color:var(--be-background)}.input-inline[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{text-transform:capitalize}.input-inline[_ngcontent-%COMP%]   .error[_ngcontent-%COMP%]{color:#f44336;font-size:1.3rem;position:absolute;bottom:-20px;right:0}.avatar-input[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.avatar-input[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{flex:0 0 90px;width:90px;height:90px;-o-object-fit:cover;object-fit:cover;margin-right:15px}.avatar-input[_ngcontent-%COMP%]   .avatar-actions-container[_ngcontent-%COMP%]{flex:1 1 auto;max-width:130px}.avatar-input[_ngcontent-%COMP%]   .avatar-actions-container[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{padding-top:5px;color:var(--be-secondary-text);font-size:1.2rem;margin-bottom:10px}.avatar-input[_ngcontent-%COMP%]   .avatar-actions-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:block;margin-bottom:10px}.social-login-panel[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{margin-bottom:35px}.logout-button-container[_ngcontent-%COMP%]{padding:20px 0 15px;display:none}.logout-button-container[_ngcontent-%COMP%]   .logout-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.api-input-container[_ngcontent-%COMP%]{border-top:1px solid var(--be-divider-lighter);padding-top:25px;margin-top:20px}.api-panel[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%], .api-panel[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{margin:0}.api-panel[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{font-weight:500;font-size:1.5rem;text-transform:capitalize}.api-panel[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin-bottom:10px}.api-panel[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{max-height:400px;overflow:auto}.api-panel[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:10px;padding-bottom:10px}.api-panel[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-of-type){border-bottom:1px solid var(--be-divider-default)}@media only screen and (max-width:1024px){.panel[_ngcontent-%COMP%]   .input-inline[_ngcontent-%COMP%]{display:block}.panel[_ngcontent-%COMP%]   .input-inline[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{line-height:normal}}@media only screen and (max-width:768px){.logout-button-container[_ngcontent-%COMP%], .panels[_ngcontent-%COMP%]{display:block}.panels[_ngcontent-%COMP%]   .panel[_ngcontent-%COMP%]{width:auto}.panels[_ngcontent-%COMP%]   .input-inline[_ngcontent-%COMP%]{display:block}.panels[_ngcontent-%COMP%]   .input-inline[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .panels[_ngcontent-%COMP%]   .input-inline[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:100%}}@media only screen and (max-width:375px){.social-account-username[_ngcontent-%COMP%]{display:none}}"],changeDetection:0}),t})();var xr=n(3162);const Cr=[{path:"account/settings",component:wr,resolve:{api:yi},canActivate:[Yt.a,xr.d],data:{name:"account-settings"}}];let kr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[s.Bz.forChild(Cr)],s.Bz]}),t})();var Ar=n(20673),Er=n(58666),Sr=n(50615),Or=n(57173);let Tr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[yi],imports:[[V.ez,yt.u5,yt.UX,Ar.l,kr,hi.N,Er.u,mn.Is,Sr.X,nt.ot,Mt.Ps,Ri.Tx,Or.Nh],kr]}),t})();var Ir=n(91921),Dr=n(8424),Pr=n(80022),Fr=function(t){return t.NoPermissions="You don't have required permissions to do that.",t}({});let Mr=(()=>{class t extends Pr.k{constructor(t,e,n,i,r,s,o){super(t,i),this.i18n=t,this.currentUser=e,this.router=n,this.toast=i,this.zone=r,this.settings=s,this.modal=o}handle403Error(t){this.currentUser.isLoggedIn()||t.message.includes("demo site")?this.showToast(t):this.router.navigate(["/login"])}showToast(t){const e={};t.action&&(e.action=t.action.label,e.duration=St.D),this.toast.open(t.message||Fr.NoPermissions,e).onAction().subscribe(()=>{this.router.navigateByUrl(t.action.action),this.modal.closeAll()})}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(W.Z),r.LFG(gt.I),r.LFG(s.F0),r.LFG(St.F),r.LFG(r.R0b),r.LFG($.Z),r.LFG(Cn.u))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Rr=n(40231),Lr=n.n(Rr);const Zr=["Uncaught (in promise): [object Object]","Uncaught (in promise): [object Undefined]","[object Object]",'{"isTrusted"\n true}',"Uncaught (in promise): ChunkLoadError: Loading chunk","Http failure response for","Http failure during parsing for","Non-Error exception captured with keys:","Uncaught (in promise): TypeError: Cannot read property 'setAttribute' of undefined","Uncaught (in promise): TypeError: Cannot read property 'getRng' of undefined","Cannot assign to read only property 'className' of object '[object SVGSVGElement]'",'The animation trigger "transform" has failed to build due to the following errors',"NotSupportedError: Failed to execute 'animate' on 'Element': Partial keyframes are not supported.","Cannot call method 'split' of undefined","Cannot call method 'trim' of undefined","undefined is not a function","has no method 'closest'","Object doesn't support property or method 'closest'","Object doesn't support property or method 'setPrototypeOf'","requestAnimationFrame is not defined","Object [object DOMWindow] has no method 'cancelAnimationFrame'","'block' member of ScrollIntoViewOptions 'center' is not a valid value for enumeration ScrollLogicalPosition.","Setting the playback rate is not enabled for this video."];class Nr extends r.qLn{constructor(t){super(),this.settings=t,this.installed=!1}handleError(t,e){t&&(super.handleError(t),this.installSentry()&&Rr.captureException(t.originalError||t,e))}installSentry(){return!!this.installed||!!this.settings.has("logging.sentry_public")&&(Rr.config(this.settings.get("logging.sentry_public"),{release:this.settings.get("version"),ignoreErrors:Zr}).install(),this.installed=!0)}}class Br extends Nr{constructor(t,e){super(t),this.settings=t,this.currentUser=e,this.setUserContext()}handleError(t){t&&"http"!==t.type&&super.handleError(t,{extra:{user:this.currentUser.getModel()}})}setUserContext(){this.currentUser.isLoggedIn()&&Lr().setUserContext({id:this.currentUser.get("id"),username:this.currentUser.get("display_name"),email:this.currentUser.get("email")})}}var Ur=n(42693),qr=n(66599);let zr=(()=>{class t{constructor(t){this.metaTags=t}intercept(t,e){return e.handle(t).pipe((0,qr.b)(t=>(t instanceof Ur.Zn&&t.body&&t.body.seo&&this.metaTags.latestMetaTags$.next(t.body.seo),t)))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(K))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const jr=[{provide:Wt,useValue:{environment:"production",assetsPrefix:null,auth:{redirectUri:"/",adminRedirectUri:"/"},accountSettings:{hideNavbar:!1},demo:{email:"admin@admin.com",password:"admin"},customPages:{hideNavbar:!1},translations:{public_disk_driver_description:"Where public uploads (like user avatars) should be stored."}},multi:!0},{provide:Pr.k,useClass:Mr},{provide:r.ip1,useFactory:function(t){return()=>t.bootstrap()},deps:[Xt],multi:!0},{provide:r.qLn,useFactory:function(t,e){return new Br(t,e)},deps:[$.Z,gt.I]},{provide:Ur.TP,useClass:zr,multi:!0}];var $r=n(12188);let Yr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[V.ez,Ar.l,yt.u5,yt.UX,hi.N,nt.ot]]}),t})();var Vr=n(63589),Hr=n(41816);let Gr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[V.ez,hi.N,s.Bz,nt.ot]]}),t})();const Qr={assetsPrefix:"client",navbar:{defaultPosition:"homepage-navbar",defaultColor:"primary",dropdownItems:[{route:"/dashboard",name:"Dashboard",icon:"link"}]},auth:{redirectUri:"/dashboard",adminRedirectUri:"/dashboard"},admin:{pages:[{name:"links",icon:"link",route:"links",permission:"links.view"},{name:"biolinks",icon:"instagram",route:"biolinks",permission:"biolinks.view"},{name:"link groups",icon:"copy-link",route:"link-groups",permission:"link_groups.view"},{name:"link overlays",icon:"tooltip",route:"link-overlays",permission:"link_overlays.view"},{name:"tracking pixels",icon:"tracking",route:"pixels",permission:"tracking_pixels.view"},{name:"custom domains",icon:"www",route:"custom-domains",permission:"custom_domains.view"}],analytics:{channels:[{name:"link reports",route:"/admin/analytics/links"},{name:"google analytics",route:"/admin/analytics/google"}]},ads:[{slot:"ads.splash.top",description:"Top of link splash page"},{slot:"ads.splash.bottom",description:"Bottom of link splash page"},{slot:"ads.dashboard.top",description:"Top of user dashboard page"},{slot:"ads.frame.top",description:"Top of link frame page"},{slot:"ads.landing.top",description:"Top of landing page"},{slot:"ads.page.top",description:"Top of custom link page"}]}};var Jr=n(95157),Wr=n(48865);let Kr=(()=>{class t{constructor(t,e,n){this.router=t,this.injector=e,this.activeSection=n}intercept(t,e){if(t.url.startsWith(Y.r.prefix)&&this.activeSection.dashboard){const n=this.injector.get(Jr.b);if(n.activeId$.value){const i=t.clone({headers:t.headers.set("Be-Workspace-Id",""+n.activeId$.value)});return e.handle(i)}}return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(s.F0),r.LFG(r.zs3),r.LFG(Wr.W))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();var Xr=n(45052),ts=n(13841);let es=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t,bootstrap:[ht]}),t.\u0275inj=r.cJS({providers:[...jr,{provide:Wt,useValue:Qr,multi:!0},{provide:Ur.TP,useClass:Kr,multi:!0}],imports:[[V.ez,i.b2,dt.PW,Ur.JF,s.Bz.forRoot([],{scrollPositionRestoration:"top",relativeLinkResolution:"legacy"}),fi,Tr,Ir.z,nn,Dr._,$r.v,Ar.l,Yr,hi.N,Hr.J,Gr,Sr.X,di.p,Xr.T,Mt.Ps,Vr.ZX,nt.ot,ts.LD,yt.UX,yt.u5]]}),t})();(0,r.G48)(),i.q6().bootstrapModule(es).catch(t=>console.error(t))},64762:function(t,e,n){"use strict";function i(t,e,n,i){return new(n||(n=Promise))(function(r,s){function o(t){try{l(i.next(t))}catch(e){s(e)}}function a(t){try{l(i.throw(t))}catch(e){s(e)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}l((i=i.apply(t,e||[])).next())})}n.d(e,{mG:function(){return i}})},64327:function(t){"use strict";t.exports=JSON.parse('["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afamilycompany","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","budapest","bugatti","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","duck","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glade","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","lk","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","qvc","racing","radio","raid","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","rmit","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiftcover","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","verm\xf6gensberater","verm\xf6gensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","\u03b5\u03bb","\u03b5\u03c5","\u0431\u0433","\u0431\u0435\u043b","\u0434\u0435\u0442\u0438","\u0435\u044e","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043a\u043e\u043c","\u043c\u043a\u0434","\u043c\u043e\u043d","\u043c\u043e\u0441\u043a\u0432\u0430","\u043e\u043d\u043b\u0430\u0439\u043d","\u043e\u0440\u0433","\u0440\u0443\u0441","\u0440\u0444","\u0441\u0430\u0439\u0442","\u0441\u0440\u0431","\u0443\u043a\u0440","\u049b\u0430\u0437","\u0570\u0561\u0575","\u05d9\u05e9\u05e8\u05d0\u05dc","\u05e7\u05d5\u05dd","\u0627\u0628\u0648\u0638\u0628\u064a","\u0627\u062a\u0635\u0627\u0644\u0627\u062a","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u0644\u0627\u0631\u062f\u0646","\u0627\u0644\u0628\u062d\u0631\u064a\u0646","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u0644\u0645\u063a\u0631\u0628","\u0627\u0645\u0627\u0631\u0627\u062a","\u0627\u06cc\u0631\u0627\u0646","\u0628\u0627\u0631\u062a","\u0628\u0627\u0632\u0627\u0631","\u0628\u064a\u062a\u0643","\u0628\u06be\u0627\u0631\u062a","\u062a\u0648\u0646\u0633","\u0633\u0648\u062f\u0627\u0646","\u0633\u0648\u0631\u064a\u0629","\u0634\u0628\u0643\u0629","\u0639\u0631\u0627\u0642","\u0639\u0631\u0628","\u0639\u0645\u0627\u0646","\u0641\u0644\u0633\u0637\u064a\u0646","\u0642\u0637\u0631","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0643\u0648\u0645","\u0645\u0635\u0631","\u0645\u0644\u064a\u0633\u064a\u0627","\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627","\u0645\u0648\u0642\u0639","\u0647\u0645\u0631\u0627\u0647","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u0680\u0627\u0631\u062a","\u0915\u0949\u092e","\u0928\u0947\u091f","\u092d\u093e\u0930\u0924","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u094b\u0924","\u0938\u0902\u0917\u0920\u0928","\u09ac\u09be\u0982\u09b2\u09be","\u09ad\u09be\u09b0\u09a4","\u09ad\u09be\u09f0\u09a4","\u0a2d\u0a3e\u0a30\u0a24","\u0aad\u0abe\u0ab0\u0aa4","\u0b2d\u0b3e\u0b30\u0b24","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0cad\u0cbe\u0cb0\u0ca4","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u0dbd\u0d82\u0d9a\u0dcf","\u0e04\u0e2d\u0e21","\u0e44\u0e17\u0e22","\u0ea5\u0eb2\u0ea7","\u10d2\u10d4","\u307f\u3093\u306a","\u30a2\u30de\u30be\u30f3","\u30af\u30e9\u30a6\u30c9","\u30b0\u30fc\u30b0\u30eb","\u30b3\u30e0","\u30b9\u30c8\u30a2","\u30bb\u30fc\u30eb","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u30dd\u30a4\u30f3\u30c8","\u4e16\u754c","\u4e2d\u4fe1","\u4e2d\u56fd","\u4e2d\u570b","\u4e2d\u6587\u7f51","\u4e9a\u9a6c\u900a","\u4f01\u4e1a","\u4f5b\u5c71","\u4fe1\u606f","\u5065\u5eb7","\u516b\u5366","\u516c\u53f8","\u516c\u76ca","\u53f0\u6e7e","\u53f0\u7063","\u5546\u57ce","\u5546\u5e97","\u5546\u6807","\u5609\u91cc","\u5609\u91cc\u5927\u9152\u5e97","\u5728\u7ebf","\u5927\u4f17\u6c7d\u8f66","\u5927\u62ff","\u5929\u4e3b\u6559","\u5a31\u4e50","\u5bb6\u96fb","\u5e7f\u4e1c","\u5fae\u535a","\u6148\u5584","\u6211\u7231\u4f60","\u624b\u673a","\u62db\u8058","\u653f\u52a1","\u653f\u5e9c","\u65b0\u52a0\u5761","\u65b0\u95fb","\u65f6\u5c1a","\u66f8\u7c4d","\u673a\u6784","\u6de1\u9a6c\u9521","\u6e38\u620f","\u6fb3\u9580","\u70b9\u770b","\u79fb\u52a8","\u7ec4\u7ec7\u673a\u6784","\u7f51\u5740","\u7f51\u5e97","\u7f51\u7ad9","\u7f51\u7edc","\u8054\u901a","\u8bfa\u57fa\u4e9a","\u8c37\u6b4c","\u8d2d\u7269","\u901a\u8ca9","\u96c6\u56e2","\u96fb\u8a0a\u76c8\u79d1","\u98de\u5229\u6d66","\u98df\u54c1","\u9910\u5385","\u9999\u683c\u91cc\u62c9","\u9999\u6e2f","\ub2f7\ub137","\ub2f7\ucef4","\uc0bc\uc131","\ud55c\uad6d"]')}},function(t){"use strict";t(t.s=882)}]);
//# sourceMappingURL=main-es2015.1035b1c7ce08794b31b0.js.map