(self.webpackChunkekonsulat_frontend_klient=self.webpackChunkekonsulat_frontend_klient||[]).push([[179],{98255:function(e){function t(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}t.keys=function(){return[]},t.resolve=t,t.id=98255,e.exports=t},99713:function(e,t,n){"use strict";n.d(t,{l3:function(){return s},_j:function(){return a},LC:function(){return o},ZN:function(){return y},jt:function(){return u},pV:function(){return v},F4:function(){return d},IO:function(){return g},vP:function(){return c},SB:function(){return f},oB:function(){return h},eR:function(){return p},X$:function(){return l},ZE:function(){return _},k1:function(){return b}});var i=n(41998),r=n(31112),a=function e(){(0,r.Z)(this,e)},o=function e(){(0,r.Z)(this,e)},s="*";function l(e,t){return{type:7,name:e,definitions:t,options:{}}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function h(e){return{type:6,styles:e,offset:null}}function f(e,t,n){return{type:0,name:e,styles:t,options:n}}function d(e){return{type:5,steps:e}}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function m(e){Promise.resolve(null).then(e)}var y=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,r.Z)(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return(0,i.Z)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;m(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),_=function(){function e(t){var n=this;(0,r.Z)(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,a=0,o=0,s=this.players.length;0==s?m(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++i==s&&n._onFinish()}),e.onDestroy(function(){++a==s&&n._onDestroy()}),e.onStart(function(){++o==s&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return(0,i.Z)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),b="!"},97388:function(e,t,n){"use strict";n.d(t,{rt:function(){return re},s1:function(){return z},$s:function(){return M},Qr:function(){return H},kH:function(){return J},mK:function(){return G},Em:function(){return x},tE:function(){return X},qV:function(){return j},qm:function(){return ie},Kd:function(){return V},X6:function(){return U},yG:function(){return Y}});var i=n(54568),r=n(61532),a=n(43620),o=n(28784),s=n(52250),l=n(31112),u=n(41998),c=n(61116),h=n(93820),f=n(55959),d=n(87570),p=n(40878),v=n(99235),g=n(66599),m=n(47701),y=n(43835),_=n(79996),b=n(90611),S=n(19861),k=n(93169),T=n(27853);function w(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var A="cdk-describedby-message-container",I="cdk-describedby-message",C="cdk-describedby-host",E=0,O=new Map,R=null,M=function(){var e=function(){function e(t){(0,l.Z)(this,e),this._document=t}return(0,u.Z)(e,[{key:"describe",value:function(e,t,n){if(this._canBeDescribed(e,t)){var i=L(t,n);"string"!=typeof t?(P(t),O.set(i,{messageElement:t,referenceCount:0})):O.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}}},{key:"removeDescription",value:function(e,t,n){if(t&&this._isElementNode(e)){var i=L(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){var r=O.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}R&&0===R.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[".concat(C,"]")),t=0;t-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return(0,u.Z)(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,g.b)(function(t){return e._pressedLetters.push(t)}),(0,m.b)(t),(0,y.h)(function(){return e._pressedLetters.length>0}),(0,_.U)(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),i=1;i0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case v.Mf:return void this.tabOut.next();case v.JH:if(this._vertical&&i){this.setNextItemActive();break}return;case v.LH:if(this._vertical&&i){this.setPreviousItemActive();break}return;case v.SV:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case v.oh:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case v.Sd:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case v.uR:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||(0,v.Vb)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=v.A&&n<=v.Z||n>=v.xE&&n<=v.aO)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof h.n_E?this._items.toArray():this._items}}]),e}(),z=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,l.Z)(this,n),t.apply(this,arguments)}return(0,u.Z)(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),(0,r.Z)((0,a.Z)(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(Z),x=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;return(0,l.Z)(this,n),(e=t.apply(this,arguments))._origin="program",e}return(0,u.Z)(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){(0,r.Z)((0,a.Z)(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(Z),N=function(){var e=function(){function e(t){(0,l.Z)(this,e),this._platform=t}return(0,u.Z)(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(t){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){if(-1===F(n))return!1;if(!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),r=F(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||D(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.LFG(k.t4))},e.\u0275prov=h.Yz7({factory:function(){return new e(h.LFG(k.t4))},token:e,providedIn:"root"}),e}();function D(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function F(e){if(!D(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var W=function(){function e(t,n,i,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];(0,l.Z)(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return(0,u.Z)(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]")),n=0;n=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,b.q)(1)).subscribe(e)}}]),e}(),j=function(){var e=function(){function e(t,n,i){(0,l.Z)(this,e),this._checker=t,this._ngZone=n,this._document=i}return(0,u.Z)(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new W(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.LFG(N),h.LFG(h.R0b),h.LFG(c.K0))},e.\u0275prov=h.Yz7({factory:function(){return new e(h.LFG(N),h.LFG(h.R0b),h.LFG(c.K0))},token:e,providedIn:"root"}),e}(),G=function(){var e=function(){function e(t,n,i){(0,l.Z)(this,e),this._elementRef=t,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return(0,u.Z)(e,[{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(e){this.focusTrap.enabled=(0,S.Ig)(e)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(e){this._autoCapture=(0,S.Ig)(e)}},{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"ngOnChanges",value:function(e){var t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}},{key:"_captureFocus",value:function(){this._previouslyFocusedElement=(0,k.ht)(),this.focusTrap.focusInitialElementWhenReady()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Y36(h.SBq),h.Y36(j),h.Y36(c.K0))},e.\u0275dir=h.lG2({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[h.TTD]}),e}();"undefined"!=typeof Element&∈var $=new h.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),B=new h.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),V=function(){var e=function(){function e(t,n,i,r){(0,l.Z)(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return(0,u.Z)(e,[{key:"announce",value:function(e){for(var t,n,i=this,r=this._defaultOptions,a=arguments.length,o=new Array(a>1?a-1:0),s=1;s1&&void 0!==arguments[1]&&arguments[1],n=(0,S.fI)(e);if(!this._platform.isBrowser||1!==n.nodeType)return(0,p.of)(null);var i=(0,k.kV)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;var a={checkChildren:t,subject:new f.xQ,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}},{key:"stopMonitoring",value:function(e){var t=(0,S.fI)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var r=this,a=(0,S.fI)(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(function(e){var n=(0,i.Z)(e,2);return r._originChanged(n[0],t,n[1])}):(this._setOriginForCurrentEventQueue(t),"function"==typeof a.focus&&a.focus(n))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout(function(){return t._origin=null},1))})}},{key:"_wasCausedByTouch",value:function(e){var t=Q(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);n&&(n.checkChildren||t===Q(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,q),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,q)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,q),e.addEventListener("mousedown",t._documentMousedownListener,q),e.addEventListener("touchstart",t._documentTouchstartListener,q),n.addEventListener("focus",t._windowFocusListener)})}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,q),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,q),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,q),i.removeEventListener("mousedown",this._documentMousedownListener,q),i.removeEventListener("touchstart",this._documentTouchstartListener,q),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,i){(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.LFG(h.R0b),h.LFG(k.t4),h.LFG(c.K0,8),h.LFG(K,8))},e.\u0275prov=h.Yz7({factory:function(){return new e(h.LFG(h.R0b),h.LFG(k.t4),h.LFG(c.K0,8),h.LFG(K,8))},token:e,providedIn:"root"}),e}();function Q(e){return e.composedPath?e.composedPath()[0]:e.target}var J=function(){var e=function(){function e(t,n){(0,l.Z)(this,e),this._elementRef=t,this._focusMonitor=n,this.cdkFocusChange=new h.vpe}return(0,u.Z)(e,[{key:"ngAfterViewInit",value:function(){var e=this,t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(t){return e.cdkFocusChange.emit(t)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Y36(h.SBq),h.Y36(X))},e.\u0275dir=h.lG2({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e}(),ee="cdk-high-contrast-black-on-white",te="cdk-high-contrast-white-on-black",ne="cdk-high-contrast-active",ie=function(){var e=function(){function e(t,n){(0,l.Z)(this,e),this._platform=t,this._document=n}return(0,u.Z)(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove(ne),e.remove(ee),e.remove(te),this._hasCheckedHighContrastMode=!0;var t=this.getHighContrastMode();1===t?(e.add(ne),e.add(ee)):2===t&&(e.add(ne),e.add(te))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.LFG(k.t4),h.LFG(c.K0))},e.\u0275prov=h.Yz7({factory:function(){return new e(h.LFG(k.t4),h.LFG(c.K0))},token:e,providedIn:"root"}),e}(),re=function(){var e=function e(t){(0,l.Z)(this,e),t._applyBodyHighContrastModeCssClasses()};return e.\u0275fac=function(t){return new(t||e)(h.LFG(ie))},e.\u0275mod=h.oAB({type:e}),e.\u0275inj=h.cJS({imports:[[k.ud,T.Q8]]}),e}()},94720:function(e,t,n){"use strict";n.d(t,{vT:function(){return u},Is:function(){return l}});var i=n(31112),r=n(41998),a=n(93820),o=n(61116),s=new a.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,a.f3M)(o.K0)}}),l=function(){var e=function(){function e(t){if((0,i.Z)(this,e),this.value="ltr",this.change=new a.vpe,t){var n=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===n||"rtl"===n?n:"ltr"}}return(0,r.Z)(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(s,8))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(s,8))},token:e,providedIn:"root"}),e}(),u=function(){var e=function e(){(0,i.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}()},58378:function(e,t,n){"use strict";n.d(t,{P3:function(){return d},Ov:function(){return v},A8:function(){return g},eX:function(){return p},k:function(){return m},Z9:function(){return f}});var i=n(72454),r=n(41998),a=n(28784),o=n(52250),s=n(31112),l=n(4710),u=n(40878),c=n(55959),h=n(93820);function f(e){return e&&"function"==typeof e.connect}var d=function(e){(0,a.Z)(n,function e(){(0,s.Z)(this,e)});var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this))._data=e,i}return(0,r.Z)(n,[{key:"connect",value:function(){return(0,l.b)(this._data)?this._data:(0,u.of)(this._data)}},{key:"disconnect",value:function(){}}]),n}(),p=function(){function e(){(0,s.Z)(this,e),this.viewCacheSize=20,this._viewCache=[]}return(0,r.Z)(e,[{key:"applyChanges",value:function(e,t,n,i,r){var a=this;e.forEachOperation(function(e,o,s){var l,u;null==e.previousIndex?u=(l=a._insertView(function(){return n(e,o,s)},s,t,i(e)))?1:0:null==s?(a._detachAndCacheView(o,t),u=3):(l=a._moveView(o,s,t,i(e)),u=2),r&&r({context:null==l?void 0:l.context,operation:u,record:e})})}},{key:"detach",value:function(){var e,t=(0,i.Z)(this._viewCache);try{for(t.s();!(e=t.n()).done;)e.value.destroy()}catch(n){t.e(n)}finally{t.f()}this._viewCache=[]}},{key:"_insertView",value:function(e,t,n,i){var r=this._insertViewFromCache(t,n);if(!r){var a=e();return n.createEmbeddedView(a.templateRef,a.context,a.index)}r.context.$implicit=i}},{key:"_detachAndCacheView",value:function(e,t){var n=t.detach(e);this._maybeCacheView(n,t)}},{key:"_moveView",value:function(e,t,n,i){var r=n.get(e);return n.move(r,t),r.context.$implicit=i,r}},{key:"_maybeCacheView",value:function(e,t){if(this._viewCache.length0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,s.Z)(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new c.xQ,i&&i.length&&(n?i.forEach(function(e){return t._markSelected(e)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return(0,r.Z)(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1?t-1:0),i=1;ithis.total&&this.destination.next(e)}}]),n}(p.L),m=n(90611),y=n(47701),_=n(79996),b=n(56238),S=n(25416),k=n(93169),T=new Set,w=function(){var e=function(){function e(t){(0,a.Z)(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):A}return(0,r.Z)(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!T.has(e))try{i||((i=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(i)),i.sheet&&(i.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),T.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(k.t4))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(k.t4))},token:e,providedIn:"root"}),e}();function A(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var I=function(){var e=function(){function e(t,n){(0,a.Z)(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new l.xQ}return(0,r.Z)(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return C((0,s.Eq)(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,n=C((0,s.Eq)(e)).map(function(e){return t._registerQuery(e).observable}),i=(0,u.aj)(n);return(i=(0,c.z)(i.pipe((0,m.q)(1)),i.pipe(function(e){return e.lift(new v(1))},(0,y.b)(0)))).pipe((0,_.U)(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var n=e.matches,i=e.query;t.matches=t.matches||n,t.breakpoints[i]=n}),t}))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),i={observable:new h.y(function(e){var i=function(n){return t._zone.run(function(){return e.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe((0,b.O)(n),(0,_.U)(function(t){return{query:e,matches:t.matches}}),(0,S.R)(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(w),o.LFG(o.R0b))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(w),o.LFG(o.R0b))},token:e,providedIn:"root"}),e}();function C(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}var E={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(e,t,n){"use strict";n.d(t,{wD:function(){return f},yq:function(){return h},Q8:function(){return d}});var i=n(31112),r=n(41998),a=n(19861),o=n(93820),s=n(48318),l=n(55959),u=n(47701),c=function(){var e=function(){function e(){(0,i.Z)(this,e)}return(0,r.Z)(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e}(),h=function(){var e=function(){function e(t){(0,i.Z)(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return(0,r.Z)(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach(function(t,n){return e._cleanupObserver(n)})}},{key:"observe",value:function(e){var t=this,n=(0,a.fI)(e);return new s.y(function(e){var i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}})}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new l.xQ,n=this._mutationObserverFactory.create(function(e){return t.next(e)});n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(c))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(c))},token:e,providedIn:"root"}),e}(),f=function(){var e=function(){function e(t,n,r){(0,i.Z)(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=r,this.event=new o.vpe,this._disabled=!1,this._currentSubscription=null}return(0,r.Z)(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,a.Ig)(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=(0,a.su)(e),this._subscribe()}},{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){e._currentSubscription=(e.debounce?t.pipe((0,u.b)(e.debounce)):t).subscribe(e.event)})}},{key:"_unsubscribe",value:function(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Y36(h),o.Y36(o.SBq),o.Y36(o.R0b))},e.\u0275dir=o.lG2({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e}(),d=function(){var e=function e(){(0,i.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[c]}),e}()},35333:function(e,t,n){"use strict";n.d(t,{pI:function(){return ae},xu:function(){return re},_G:function(){return H},aV:function(){return te},X_:function(){return z},Xj:function(){return G},U8:function(){return se}});var i=n(54568),r=n(72454),a=n(61532),o=n(43620),s=n(28784),l=n(52250),u=n(31112),c=n(41998),h=n(15693),f=n(93820),d=n(93169),p=n(94720),v=n(61116),g=n(19861),m=n(82151),y=n(55959),_=n(87570),b=n(31906),S=n(96673),k=function(){function e(t,n){(0,u.Z)(this,e),this.predicate=t,this.inclusive=n}return(0,c.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new T(e,this.predicate,this.inclusive))}}]),e}(),T=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,i,r){var a;return(0,u.Z)(this,n),(a=t.call(this,e)).predicate=i,a.inclusive=r,a.index=0,a}return(0,c.Z)(n,[{key:"_next",value:function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(e,t)}},{key:"nextOrComplete",value:function(e,t){var n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}]),n}(S.L),w=n(90611),A=n(25416),I=n(99235),C=(0,d.Mq)(),E=function(){function e(t,n){(0,u.Z)(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return(0,c.Z)(e,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=(0,g.HM)(-this._previousScrollPosition.left),e.style.top=(0,g.HM)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),C&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),C&&(t.scrollBehavior=i,n.scrollBehavior=r)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}]),e}(),O=function(){function e(t,n,i,r){var a=this;(0,u.Z)(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run(function(){return a._overlayRef.detach()})}}return(0,c.Z)(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),R=function(){function e(){(0,u.Z)(this,e)}return(0,c.Z)(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function M(e,t){return t.some(function(t){return e.bottomt.bottom||e.rightt.right})}function L(e,t){return t.some(function(t){return e.topt.bottom||e.leftt.right})}var P=function(){function e(t,n,i,r){(0,u.Z)(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return(0,c.Z)(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;M(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),Z=function(){var e=function e(t,n,i,r){var a=this;(0,u.Z)(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new R},this.close=function(e){return new O(a._scrollDispatcher,a._ngZone,a._viewportRuler,e)},this.block=function(){return new E(a._viewportRuler,a._document)},this.reposition=function(e){return new P(a._scrollDispatcher,a._viewportRuler,a._ngZone,e)},this._document=r};return e.\u0275fac=function(t){return new(t||e)(f.LFG(h.mF),f.LFG(h.rL),f.LFG(f.R0b),f.LFG(v.K0))},e.\u0275prov=f.Yz7({factory:function(){return new e(f.LFG(h.mF),f.LFG(h.rL),f.LFG(f.R0b),f.LFG(v.K0))},token:e,providedIn:"root"}),e}(),z=function e(t){if((0,u.Z)(this,e),this.scrollStrategy=new R,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.LFG(v.K0))},e.\u0275prov=f.Yz7({factory:function(){return new e(f.LFG(v.K0))},token:e,providedIn:"root"}),e}(),F=function(){var e=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var i;return(0,u.Z)(this,n),(i=t.call(this,e))._keydownListener=function(e){for(var t=i._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},i}return(0,c.Z)(n,[{key:"add",value:function(e){(0,a.Z)((0,o.Z)(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(D);return e.\u0275fac=function(t){return new(t||e)(f.LFG(v.K0))},e.\u0275prov=f.Yz7({factory:function(){return new e(f.LFG(v.K0))},token:e,providedIn:"root"}),e}(),W=function(){var e=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,i){var r;return(0,u.Z)(this,n),(r=t.call(this,e))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var a=n[i];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(t))break;a._outsidePointerEvents.next(e)}}},r}return(0,c.Z)(n,[{key:"add",value:function(e){if((0,a.Z)((0,o.Z)(n.prototype),"add",this).call(this,e),!this._isAttached){var t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var e=this._document.body;e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),n}(D);return e.\u0275fac=function(t){return new(t||e)(f.LFG(v.K0),f.LFG(d.t4))},e.\u0275prov=f.Yz7({factory:function(){return new e(f.LFG(v.K0),f.LFG(d.t4))},token:e,providedIn:"root"}),e}(),j=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),G=function(){var e=function(){function e(t,n){(0,u.Z)(this,e),this._platform=n,this._document=t}return(0,c.Z)(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e="cdk-overlay-container";if(this._platform.isBrowser||j)for(var t=this._document.querySelectorAll(".".concat(e,'[platform="server"], ')+".".concat(e,'[platform="test"]')),n=0;np&&(p=m,d=g)}}catch(y){v.e(y)}finally{v.f()}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&U(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(B),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+i,y:e.y+("center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height)}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=K(t),a=e.x,o=e.y,s=this._getOffset(i,"x"),l=this._getOffset(i,"y");s&&(a+=s),l&&(o+=l);var u=0-o,c=o+r.height-n.height,h=this._subtractOverflows(r.width,0-a,a+r.width-n.width),f=this._subtractOverflows(r.height,u,c),d=h*f;return{visibleArea:d,isCompletelyWithinViewport:r.width*r.height===d,fitsInViewportVertically:f===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,a=Y(this._overlayRef.getConfig().minHeight),o=Y(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=a&&a<=i)&&(e.fitsInViewportHorizontally||null!=o&&o<=r)}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,a=K(t),o=this._viewportRect,s=Math.max(e.x+a.width-o.width,0),l=Math.max(e.y+a.height-o.height,0),u=Math.max(o.top-n.top-e.y,0),c=Math.max(o.left-n.left-e.x,0);return this._previousPushAmount={x:i=a.width<=o.width?c||-s:e.xh&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-h/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)s=l.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)o=e.x,a=l.right-e.x;else{var f=Math.min(l.right-e.x+l.left,e.x),d=this._lastBoundingBoxSize.width;o=e.x-f,(a=2*f)>d&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.x-d/2)}return{top:i,left:o,bottom:r,right:s,width:a,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=(0,g.HM)(n.height),i.top=(0,g.HM)(n.top),i.bottom=(0,g.HM)(n.bottom),i.width=(0,g.HM)(n.width),i.left=(0,g.HM)(n.left),i.right=(0,g.HM)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=(0,g.HM)(r)),a&&(i.maxWidth=(0,g.HM)(a))}this._lastBoundingBoxSize=n,U(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){U(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){U(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){var o=this._viewportRuler.getViewportScrollPosition();U(n,this._getExactOverlayY(t,e,o)),U(n,this._getExactOverlayX(t,e,o))}else n.position="static";var s="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(s+="translateX(".concat(l,"px) ")),u&&(s+="translateY(".concat(u,"px)")),n.transform=s.trim(),a.maxHeight&&(i?n.maxHeight=(0,g.HM)(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=(0,g.HM)(a.maxWidth):r&&(n.maxWidth="")),U(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===e.overlayY?i.bottom="".concat(this._document.documentElement.clientHeight-(r.y+this._overlayRect.height),"px"):i.top=(0,g.HM)(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right="".concat(this._document.documentElement.clientWidth-(r.x+this._overlayRect.width),"px"):i.left=(0,g.HM)(r.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:L(e,n),isOriginOutsideView:M(e,n),isOverlayClipped:L(t,n),isOverlayOutsideView:M(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,a=n.maxWidth,o=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),l=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(X),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),J=function(){var e=function(){function e(t,n,i,r){(0,u.Z)(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return(0,c.Z)(e,[{key:"global",value:function(){return new Q}},{key:"connectedTo",value:function(e,t,n){return new q(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new H(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.LFG(h.rL),f.LFG(v.K0),f.LFG(d.t4),f.LFG(G))},e.\u0275prov=f.Yz7({factory:function(){return new e(f.LFG(h.rL),f.LFG(v.K0),f.LFG(d.t4),f.LFG(G))},token:e,providedIn:"root"}),e}(),ee=0,te=function(){var e=function(){function e(t,n,i,r,a,o,s,l,c,h,f){(0,u.Z)(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=o,this._ngZone=s,this._document=l,this._directionality=c,this._location=h,this._outsideClickDispatcher=f}return(0,c.Z)(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new z(e);return r.direction=r.direction||this._directionality.value,new $(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-".concat(ee++),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(f.z2F)),new m.u0(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.LFG(Z),f.LFG(G),f.LFG(f._Vd),f.LFG(J),f.LFG(F),f.LFG(f.zs3),f.LFG(f.R0b),f.LFG(v.K0),f.LFG(p.Is),f.LFG(v.Ye),f.LFG(W))},e.\u0275prov=f.Yz7({token:e,factory:e.\u0275fac}),e}(),ne=[{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"}],ie=new f.OlP("cdk-connected-overlay-scroll-strategy"),re=function(){var e=function e(t){(0,u.Z)(this,e),this.elementRef=t};return e.\u0275fac=function(t){return new(t||e)(f.Y36(f.SBq))},e.\u0275dir=f.lG2({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),ae=function(){var e=function(){function e(t,n,i,r,a){(0,u.Z)(this,e),this._overlay=t,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=_.w.EMPTY,this._attachSubscription=_.w.EMPTY,this._detachSubscription=_.w.EMPTY,this._positionSubscription=_.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new f.vpe,this.positionChange=new f.vpe,this.attach=new f.vpe,this.detach=new f.vpe,this.overlayKeydown=new f.vpe,this.overlayOutsideClick=new f.vpe,this._templatePortal=new m.UE(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return(0,c.Z)(e,[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=(0,g.Ig)(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=(0,g.Ig)(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=(0,g.Ig)(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=(0,g.Ig)(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=(0,g.Ig)(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=ne);var t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=t.detachments().subscribe(function(){return e.detach.emit()}),t.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),t.keyCode!==I.hY||e.disableClose||(0,I.Vb)(t)||(t.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(t){e.overlayOutsideClick.next(t)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new z({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map(function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}});return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}},{key:"_attachOverlay",value:function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new k(e,t))}}(function(){return e.positionChange.observers.length>0})).subscribe(function(t){e.positionChange.emit(t),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.Y36(te),f.Y36(f.Rgc),f.Y36(f.s_b),f.Y36(ie),f.Y36(p.Is,8))},e.\u0275dir=f.lG2({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[f.TTD]}),e}(),oe={provide:ie,deps:[te],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},se=function(){var e=function e(){(0,u.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=f.oAB({type:e}),e.\u0275inj=f.cJS({providers:[te,oe],imports:[[p.vT,m.eL,h.Cl],h.Cl]}),e}()},93169:function(e,t,n){"use strict";n.d(t,{t4:function(){return f},ud:function(){return d},ht:function(){return b},kV:function(){return _},_i:function(){return y},qK:function(){return v},i$:function(){return g},Mq:function(){return m}});var i,r=n(31112),a=n(93820),o=n(61116);try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(S){i=!1}var s,l,u,c,h,f=function(){var e=function e(t){(0,r.Z)(this,e),this._platformId=t,this.isBrowser=this._platformId?(0,o.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!i)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.Lbi))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(a.Lbi))},token:e,providedIn:"root"}),e}(),d=function(){var e=function e(){(0,r.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),p=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function v(){if(s)return s;if("object"!=typeof document||!document)return s=new Set(p);var e=document.createElement("input");return s=new Set(p.filter(function(t){return e.setAttribute("type",t),e.type===t}))}function g(e){return function(){if(null==l&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return l=!0}}))}finally{l=l||!1}return l}()?e:!!e.capture}function m(){if(null==c){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return c=!1;if("scrollBehavior"in document.documentElement.style)c=!0;else{var e=Element.prototype.scrollTo;c=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return c}function y(){if("object"!=typeof document||!document)return 0;if(null==u){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),u=0,0===e.scrollLeft&&(e.scrollLeft=1,u=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return u}function _(e){if(function(){if(null==h){var e="undefined"!=typeof document?document.head:null;h=!(!e||!e.createShadowRoot&&!e.attachShadow)}return h}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function b(){for(var e="undefined"!=typeof document&&document?document.activeElement:null;e&&e.shadowRoot;){var t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}},82151:function(e,t,n){"use strict";n.d(t,{en:function(){return g},Pl:function(){return y},C5:function(){return d},u0:function(){return m},eL:function(){return _},UE:function(){return p}});var i=n(71357),r=n(61532),a=n(43620),o=n(28784),s=n(52250),l=n(31112),u=n(41998),c=n(93820),h=n(61116),f=function(){function e(){(0,l.Z)(this,e)}return(0,u.Z)(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),d=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,r,a){var o;return(0,l.Z)(this,n),(o=t.call(this)).component=e,o.viewContainerRef=i,o.injector=r,o.componentFactoryResolver=a,o}return n}(f),p=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,r){var a;return(0,l.Z)(this,n),(a=t.call(this)).templateRef=e,a.viewContainerRef=i,a.context=r,a}return(0,u.Z)(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,(0,r.Z)((0,a.Z)(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,(0,r.Z)((0,a.Z)(n.prototype),"detach",this).call(this)}}]),n}(f),v=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e){var i;return(0,l.Z)(this,n),(i=t.call(this)).element=e instanceof c.SBq?e.nativeElement:e,i}return n}(f),g=function(){function e(){(0,l.Z)(this,e),this._isDisposed=!1,this.attachDomPortal=null}return(0,u.Z)(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof d?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof p?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof v?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),m=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,o,s,u,c){var h,f;return(0,l.Z)(this,n),(f=t.call(this)).outletElement=e,f._componentFactoryResolver=o,f._appRef=s,f._defaultInjector=u,f.attachDomPortal=function(e){var t=e.element,o=f._document.createComment("dom-portal");t.parentNode.insertBefore(o,t),f.outletElement.appendChild(t),f._attachedPortal=e,(0,r.Z)((h=(0,i.Z)(f),(0,a.Z)(n.prototype)),"setDisposeFn",h).call(h,function(){o.parentNode&&o.parentNode.replaceChild(t,o)})},f._document=c,f}return(0,u.Z)(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),i.detectChanges(),this.setDisposeFn(function(){var e=n.indexOf(i);-1!==e&&n.remove(e)}),this._attachedPortal=e,i}},{key:"dispose",value:function(){(0,r.Z)((0,a.Z)(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(g),y=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,o,s){var u,h;return(0,l.Z)(this,n),(h=t.call(this))._componentFactoryResolver=e,h._viewContainerRef=o,h._isInitialized=!1,h.attached=new c.vpe,h.attachDomPortal=function(e){var t=e.element,o=h._document.createComment("dom-portal");e.setAttachedHost((0,i.Z)(h)),t.parentNode.insertBefore(o,t),h._getRootNode().appendChild(t),h._attachedPortal=e,(0,r.Z)((u=(0,i.Z)(h),(0,a.Z)(n.prototype)),"setDisposeFn",u).call(u,function(){o.parentNode&&o.parentNode.replaceChild(t,o)})},h._document=s,h}return(0,u.Z)(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&(0,r.Z)((0,a.Z)(n.prototype),"detach",this).call(this),e&&(0,r.Z)((0,a.Z)(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){(0,r.Z)((0,a.Z)(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),(0,r.Z)((0,a.Z)(n.prototype),"setDisposeFn",this).call(this,function(){return o.destroy()}),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return(0,r.Z)((0,a.Z)(n.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(c.Y36(c._Vd),c.Y36(c.s_b),c.Y36(h.K0))},e.\u0275dir=c.lG2({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[c.qOj]}),e}(),_=function(){var e=function e(){(0,l.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({}),e}()},15693:function(e,t,n){"use strict";n.d(t,{ZD:function(){return y},mF:function(){return g},Cl:function(){return _},rL:function(){return m}}),n(54568),n(72454);n(61532),n(43620),n(28784),n(52250);var i=n(31112),r=n(41998),a=n(19861),o=n(93820),s=(n(8277),n(55959)),l=n(40878),u=n(48318),c=n(87254);n(92709),n(87570),n(4710),n(96673),n(98720);var h=n(30810),f=n(43835),d=(n(25416),n(56238),n(44689),n(93289),n(93169)),p=n(61116),v=n(94720);n(58378);var g=function(){var e=function(){function e(t,n,r){(0,i.Z)(this,e),this._ngZone=t,this._platform=n,this._scrolled=new s.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}return(0,r.Z)(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new u.y(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe((0,h.e)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):(0,l.of)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,f.h)(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=(0,a.fI)(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var t=e._getWindow();return(0,c.R)(t.document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(o.R0b),o.LFG(d.t4),o.LFG(p.K0,8))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(o.R0b),o.LFG(d.t4),o.LFG(p.K0,8))},token:e,providedIn:"root"}),e}(),m=function(){var e=function(){function e(t,n,r){var a=this;(0,i.Z)(this,e),this._platform=t,this._change=new s.xQ,this._changeListener=function(e){a._change.next(e)},this._document=r,n.runOutsideAngular(function(){if(t.isBrowser){var e=a._getWindow();e.addEventListener("resize",a._changeListener),e.addEventListener("orientationchange",a._changeListener)}a.change().subscribe(function(){return a._updateViewportSize()})})}return(0,r.Z)(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe((0,h.e)(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(d.t4),o.LFG(o.R0b),o.LFG(p.K0,8))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(d.t4),o.LFG(o.R0b),o.LFG(p.K0,8))},token:e,providedIn:"root"}),e}(),y=function(){var e=function e(){(0,i.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({}),e}(),_=function(){var e=function e(){(0,i.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[[v.vT,d.ud,y],v.vT,y]}),e}()},19861:function(e,t,n){"use strict";n.d(t,{Eq:function(){return l},Ig:function(){return a},HM:function(){return u},fI:function(){return c},su:function(){return o},du:function(){return h}});var i=n(72454),r=n(93820);function a(e){return null!=e&&"false"!=="".concat(e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return s(e)?Number(e):t}function s(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function l(e){return Array.isArray(e)?e:[e]}function u(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function c(e){return e instanceof r.SBq?e.nativeElement:e}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,n=[];if(null!=e){var r,a=Array.isArray(e)?e:"".concat(e).split(t),o=(0,i.Z)(a);try{for(o.s();!(r=o.n()).done;){var s=r.value,l="".concat(s).trim();l&&n.push(l)}}catch(u){o.e(u)}finally{o.f()}}return n}},61116:function(e,t,n){"use strict";n.d(t,{mr:function(){return I},Ov:function(){return Ze},ez:function(){return xe},K0:function(){return p},uU:function(){return ze},Do:function(){return E},V_:function(){return m},Ye:function(){return O},S$:function(){return w},mk:function(){return ye},sg:function(){return be},O5:function(){return ke},PC:function(){return Oe},RF:function(){return Ie},n9:function(){return Ce},ED:function(){return Ee},b0:function(){return C},lw:function(){return v},EM:function(){return We},JF:function(){return $e},NF:function(){return De},PM:function(){return Fe},w_:function(){return d},bD:function(){return Ne},q:function(){return h},Mx:function(){return me},HT:function(){return f}});var i=n(72454),r=n(54568),a=n(28784),o=n(52250),s=n(41998),l=n(31112),u=n(93820),c=null;function h(){return c}function f(e){c||(c=e)}var d=function e(){(0,l.Z)(this,e)},p=new u.OlP("DocumentToken"),v=function(){var e=function(){function e(){(0,l.Z)(this,e)}return(0,s.Z)(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,u.Yz7)({factory:g,token:e,providedIn:"platform"}),e}();function g(){return(0,u.LFG)(y)}var m=new u.OlP("Location Initialized"),y=function(){var e=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,l.Z)(this,n),(i=t.call(this))._doc=e,i._init(),i}return(0,s.Z)(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return h().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){var t=h().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),function(){return t.removeEventListener("popstate",e)}}},{key:"onHashChange",value:function(e){var t=h().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),function(){return t.removeEventListener("hashchange",e)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,n){_()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){_()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(e)}},{key:"getState",value:function(){return this._history.state}}]),n}(v);return e.\u0275fac=function(t){return new(t||e)(u.LFG(p))},e.\u0275prov=(0,u.Yz7)({factory:b,token:e,providedIn:"platform"}),e}();function _(){return!!window.history.pushState}function b(){return new y((0,u.LFG)(p))}function S(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function k(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function T(e){return e&&"?"!==e[0]?"?"+e:e}var w=function(){var e=function(){function e(){(0,l.Z)(this,e)}return(0,s.Z)(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,u.Yz7)({factory:A,token:e,providedIn:"root"}),e}();function A(e){var t=(0,u.LFG)(p).location;return new C((0,u.LFG)(v),t&&t.origin||"")}var I=new u.OlP("appBaseHref"),C=function(){var e=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e,i){var r;if((0,l.Z)(this,n),(r=t.call(this))._platformLocation=e,r._removeListenerFns=[],null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,r}return(0,s.Z)(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return S(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+T(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+T(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+T(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(w);return e.\u0275fac=function(t){return new(t||e)(u.LFG(v),u.LFG(I,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac}),e}(),E=function(){var e=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e,i){var r;return(0,l.Z)(this,n),(r=t.call(this))._platformLocation=e,r._baseHref="",r._removeListenerFns=[],null!=i&&(r._baseHref=i),r}return(0,s.Z)(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=S(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+T(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+T(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(w);return e.\u0275fac=function(t){return new(t||e)(u.LFG(v),u.LFG(I,8))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac}),e}(),O=function(){var e=function(){function e(t,n){var i=this;(0,l.Z)(this,e),this._subject=new u.vpe,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=k(M(r)),this._platformStrategy.onPopState(function(e){i._subject.emit({url:i.path(!0),pop:!0,state:e.state,type:e.type})})}return(0,s.Z)(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+T(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,M(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+T(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+T(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformStrategy).historyGo)||void 0===t||t.call(e,n)}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.LFG(w),u.LFG(v))},e.normalizeQueryParams=T,e.joinWithSlash=S,e.stripTrailingSlash=k,e.\u0275prov=(0,u.Yz7)({factory:R,token:e,providedIn:"root"}),e}();function R(){return new O((0,u.LFG)(w),(0,u.LFG)(v))}function M(e){return e.replace(/\/index.html$/,"")}var L=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),P=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),Z=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),z=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),x=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function N(e,t){return $((0,u.cg1)(e)[u.wAp.DateFormat],t)}function D(e,t){return $((0,u.cg1)(e)[u.wAp.TimeFormat],t)}function F(e,t){return $((0,u.cg1)(e)[u.wAp.DateTimeFormat],t)}function W(e,t){var n=(0,u.cg1)(e),i=n[u.wAp.NumberSymbols][t];if(void 0===i){if(t===x.CurrencyDecimal)return n[u.wAp.NumberSymbols][x.Decimal];if(t===x.CurrencyGroup)return n[u.wAp.NumberSymbols][x.Group]}return i}var j=u.kL8;function G(e){if(!e[u.wAp.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[u.wAp.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function $(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function B(e){var t=e.split(":"),n=(0,r.Z)(t,2);return{hours:+n[0],minutes:+n[1]}}var V=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,H={},U=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Y=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),K=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),q=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function X(e,t,n,i){var a=function(e){if(pe(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var t=e.split("-").map(function(e){return+e}),n=(0,r.Z)(t,3),i=n[1],a=n[2];return Q(n[0],(void 0===i?1:i)-1,void 0===a?1:a)}var o,s=parseFloat(e);if(!isNaN(e-s))return new Date(s);if(o=e.match(V))return function(e){var t=new Date(0),n=0,i=0,r=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var o=Number(e[4]||0)-n,s=Number(e[5]||0)-i,l=Number(e[6]||0),u=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return a.call(t,o,s,l,u),t}(o)}var l=new Date(e);if(!pe(l))throw new Error('Unable to convert "'.concat(e,'" into a date'));return l}(e);t=J(n,t)||t;for(var o,s=[];t;){if(!(o=U.exec(t))){s.push(t);break}var l=(s=s.concat(o.slice(1))).pop();if(!l)break;t=l}var u=a.getTimezoneOffset();i&&(u=de(i,u),a=function(e,t,n){var i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(de(t,i)-i))}(a,i));var c="";return s.forEach(function(e){var t=function(e){if(fe[e])return fe[e];var t;switch(e){case"G":case"GG":case"GGG":t=ae(q.Eras,Z.Abbreviated);break;case"GGGG":t=ae(q.Eras,Z.Wide);break;case"GGGGG":t=ae(q.Eras,Z.Narrow);break;case"y":t=ie(K.FullYear,1,0,!1,!0);break;case"yy":t=ie(K.FullYear,2,0,!0,!0);break;case"yyy":t=ie(K.FullYear,3,0,!1,!0);break;case"yyyy":t=ie(K.FullYear,4,0,!1,!0);break;case"Y":t=he(1);break;case"YY":t=he(2,!0);break;case"YYY":t=he(3);break;case"YYYY":t=he(4);break;case"M":case"L":t=ie(K.Month,1,1);break;case"MM":case"LL":t=ie(K.Month,2,1);break;case"MMM":t=ae(q.Months,Z.Abbreviated);break;case"MMMM":t=ae(q.Months,Z.Wide);break;case"MMMMM":t=ae(q.Months,Z.Narrow);break;case"LLL":t=ae(q.Months,Z.Abbreviated,P.Standalone);break;case"LLLL":t=ae(q.Months,Z.Wide,P.Standalone);break;case"LLLLL":t=ae(q.Months,Z.Narrow,P.Standalone);break;case"w":t=ce(1);break;case"ww":t=ce(2);break;case"W":t=ce(1,!0);break;case"d":t=ie(K.Date,1);break;case"dd":t=ie(K.Date,2);break;case"c":case"cc":t=ie(K.Day,1);break;case"ccc":t=ae(q.Days,Z.Abbreviated,P.Standalone);break;case"cccc":t=ae(q.Days,Z.Wide,P.Standalone);break;case"ccccc":t=ae(q.Days,Z.Narrow,P.Standalone);break;case"cccccc":t=ae(q.Days,Z.Short,P.Standalone);break;case"E":case"EE":case"EEE":t=ae(q.Days,Z.Abbreviated);break;case"EEEE":t=ae(q.Days,Z.Wide);break;case"EEEEE":t=ae(q.Days,Z.Narrow);break;case"EEEEEE":t=ae(q.Days,Z.Short);break;case"a":case"aa":case"aaa":t=ae(q.DayPeriods,Z.Abbreviated);break;case"aaaa":t=ae(q.DayPeriods,Z.Wide);break;case"aaaaa":t=ae(q.DayPeriods,Z.Narrow);break;case"b":case"bb":case"bbb":t=ae(q.DayPeriods,Z.Abbreviated,P.Standalone,!0);break;case"bbbb":t=ae(q.DayPeriods,Z.Wide,P.Standalone,!0);break;case"bbbbb":t=ae(q.DayPeriods,Z.Narrow,P.Standalone,!0);break;case"B":case"BB":case"BBB":t=ae(q.DayPeriods,Z.Abbreviated,P.Format,!0);break;case"BBBB":t=ae(q.DayPeriods,Z.Wide,P.Format,!0);break;case"BBBBB":t=ae(q.DayPeriods,Z.Narrow,P.Format,!0);break;case"h":t=ie(K.Hours,1,-12);break;case"hh":t=ie(K.Hours,2,-12);break;case"H":t=ie(K.Hours,1);break;case"HH":t=ie(K.Hours,2);break;case"m":t=ie(K.Minutes,1);break;case"mm":t=ie(K.Minutes,2);break;case"s":t=ie(K.Seconds,1);break;case"ss":t=ie(K.Seconds,2);break;case"S":t=ie(K.FractionalSeconds,1);break;case"SS":t=ie(K.FractionalSeconds,2);break;case"SSS":t=ie(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=se(Y.Short);break;case"ZZZZZ":t=se(Y.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=se(Y.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=se(Y.Long);break;default:return null}return fe[e]=t,t}(e);c+=t?t(a,n,u):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Q(e,t,n){var i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function J(e,t){var n=function(e){return(0,u.cg1)(e)[u.wAp.LocaleId]}(e);if(H[n]=H[n]||{},H[n][t])return H[n][t];var i="";switch(t){case"shortDate":i=N(e,z.Short);break;case"mediumDate":i=N(e,z.Medium);break;case"longDate":i=N(e,z.Long);break;case"fullDate":i=N(e,z.Full);break;case"shortTime":i=D(e,z.Short);break;case"mediumTime":i=D(e,z.Medium);break;case"longTime":i=D(e,z.Long);break;case"fullTime":i=D(e,z.Full);break;case"short":var r=J(e,"shortTime"),a=J(e,"shortDate");i=ee(F(e,z.Short),[r,a]);break;case"medium":var o=J(e,"mediumTime"),s=J(e,"mediumDate");i=ee(F(e,z.Medium),[o,s]);break;case"long":var l=J(e,"longTime"),c=J(e,"longDate");i=ee(F(e,z.Long),[l,c]);break;case"full":var h=J(e,"fullTime"),f=J(e,"fullDate");i=ee(F(e,z.Full),[h,f])}return i&&(H[n][t]=i),i}function ee(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,a="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,a=n));for(var o=String(e);o.length2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(a,o){var s=re(e,a);if((n>0||s>-n)&&(s+=n),e===K.Hours)0===s&&-12===n&&(s=12);else if(e===K.FractionalSeconds)return ne(s,t);var l=W(o,x.MinusSign);return te(s,t,l,i,r)}}function re(e,t){switch(e){case K.FullYear:return t.getFullYear();case K.Month:return t.getMonth();case K.Date:return t.getDate();case K.Hours:return t.getHours();case K.Minutes:return t.getMinutes();case K.Seconds:return t.getSeconds();case K.FractionalSeconds:return t.getMilliseconds();case K.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(r,a){return oe(r,a,e,t,n,i)}}function oe(e,t,n,i,a,o){switch(n){case q.Months:return function(e,t,n){var i=(0,u.cg1)(e),r=$([i[u.wAp.MonthsFormat],i[u.wAp.MonthsStandalone]],t);return $(r,n)}(t,a,i)[e.getMonth()];case q.Days:return function(e,t,n){var i=(0,u.cg1)(e),r=$([i[u.wAp.DaysFormat],i[u.wAp.DaysStandalone]],t);return $(r,n)}(t,a,i)[e.getDay()];case q.DayPeriods:var s=e.getHours(),l=e.getMinutes();if(o){var c=function(e){var t=(0,u.cg1)(e);return G(t),(t[u.wAp.ExtraData][2]||[]).map(function(e){return"string"==typeof e?B(e):[B(e[0]),B(e[1])]})}(t),h=function(e,t,n){var i=(0,u.cg1)(e);G(i);var r=$([i[u.wAp.ExtraData][0],i[u.wAp.ExtraData][1]],t)||[];return $(r,n)||[]}(t,a,i),f=c.findIndex(function(e){if(Array.isArray(e)){var t=(0,r.Z)(e,2),n=t[0],i=t[1],a=s>=n.hours&&l>=n.minutes,o=s0?Math.floor(r/60):Math.ceil(r/60);switch(e){case Y.Short:return(r>=0?"+":"")+te(o,2,a)+te(Math.abs(r%60),2,a);case Y.ShortGMT:return"GMT"+(r>=0?"+":"")+te(o,1,a);case Y.Long:return"GMT"+(r>=0?"+":"")+te(o,2,a)+":"+te(Math.abs(r%60),2,a);case Y.Extended:return 0===i?"Z":(r>=0?"+":"")+te(o,2,a)+":"+te(Math.abs(r%60),2,a);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function le(e){var t=Q(e,0,1).getDay();return Q(e,0,1+(t<=4?4:11)-t)}function ue(e){return Q(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r;if(t){var a=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,o=n.getDate();r=1+Math.floor((o+a)/7)}else{var s=ue(n),l=le(s.getFullYear()),u=s.getTime()-l.getTime();r=1+Math.round(u/6048e5)}return te(r,e,W(i,x.MinusSign))}}function he(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){return te(ue(n).getFullYear(),e,W(i,x.MinusSign),t)}}var fe={};function de(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function pe(e){return e instanceof Date&&!isNaN(e.valueOf())}var ve=function e(){(0,l.Z)(this,e)},ge=function(){var e=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,l.Z)(this,n),(i=t.call(this)).locale=e,i}return(0,s.Z)(n,[{key:"getPluralCategory",value:function(e,t){switch(j(t||this.locale)(e)){case L.Zero:return"zero";case L.One:return"one";case L.Two:return"two";case L.Few:return"few";case L.Many:return"many";default:return"other"}}}]),n}(ve);return e.\u0275fac=function(t){return new(t||e)(u.LFG(u.soG))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac}),e}();function me(e,t){t=encodeURIComponent(t);var n,a=(0,i.Z)(e.split(";"));try{for(a.s();!(n=a.n()).done;){var o=n.value,s=o.indexOf("="),l=-1==s?[o,""]:[o.slice(0,s),o.slice(s+1)],u=(0,r.Z)(l,2),c=u[1];if(u[0].trim()===t)return decodeURIComponent(c)}}catch(h){a.e(h)}finally{a.f()}return null}var ye=function(){var e=function(){function e(t,n,i,r){(0,l.Z)(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return(0,s.Z)(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&((0,u.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,u.AaK)(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(u.ZZ4),u.Y36(u.aQg),u.Y36(u.SBq),u.Y36(u.Qsj))},e.\u0275dir=u.lG2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),_e=function(){function e(t,n,i,r){(0,l.Z)(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return(0,s.Z)(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),be=function(){var e=function(){function e(t,n,i){(0,l.Z)(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return(0,s.Z)(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,i,r){if(null==e.previousIndex){var a=t._viewContainer.createEmbeddedView(t._template,new _e(null,t._ngForOf,-1,-1),null===r?void 0:r),o=new Se(e,a);n.push(o)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var l=new Se(e,s);n.push(l)}});for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return X(t,n,r||this.locale,i)}catch(a){throw Re(e,a.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(u.soG,16))},e.\u0275pipe=u.Yjl({name:"date",type:e,pure:!0}),e}(),xe=function(){var e=function e(){(0,l.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=u.oAB({type:e}),e.\u0275inj=u.cJS({providers:[{provide:ve,useClass:ge}]}),e}(),Ne="browser";function De(e){return e===Ne}function Fe(e){return"server"===e}var We=function(){var e=function e(){(0,l.Z)(this,e)};return e.\u0275prov=(0,u.Yz7)({token:e,providedIn:"root",factory:function(){return new je((0,u.LFG)(p),window)}}),e}(),je=function(){function e(t,n){(0,l.Z)(this,e),this.document=t,this.window=n,this.offset=function(){return[0,0]}}return(0,s.Z)(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=function(e,t){var n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow))for(var i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;r;){var a=r.shadowRoot;if(a){var o=a.getElementById(t)||a.querySelector('[name="'.concat(t,'"]'));if(o)return o}r=i.nextNode()}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"attemptFocus",value:function(e){return e.focus(),this.document.activeElement===e}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=Ge(this.window.history)||Ge(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),e}();function Ge(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var $e=function e(){(0,l.Z)(this,e)}},42693:function(e,t,n){"use strict";n.d(t,{TP:function(){return F},eN:function(){return N},JF:function(){return q},Zn:function(){return Z}});var i=n(28784),r=n(52250),a=n(54568),o=n(15121),s=n(41998),l=n(31112),u=n(61116),c=n(93820),h=n(40878),f=n(48318),d=n(436),p=n(43835),v=n(79996),g=function e(){(0,l.Z)(this,e)},m=function e(){(0,l.Z)(this,e)},y=function(){function e(t){var n=this;(0,l.Z)(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach(function(e){var t=e.indexOf(":");if(t>0){var i=e.slice(0,t),r=i.toLowerCase(),a=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(a):n.headers.set(r,[a])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))})}:this.headers=new Map}return(0,s.Z)(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,(0,o.Z)(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var a=this.headers.get(t);if(!a)return;0===(a=a.filter(function(e){return-1===r.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),_=function(){function e(){(0,l.Z)(this,e)}return(0,s.Z)(e,[{key:"encodeKey",value:function(e){return T(e)}},{key:"encodeValue",value:function(e){return T(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function b(e,t){var n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(e){var i=e.indexOf("="),r=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],o=(0,a.Z)(r,2),s=o[0],l=o[1],u=n.get(s)||[];u.push(l),n.set(s,u)}),n}var S=/%(\d[a-f0-9])/gi,k={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function T(e){return encodeURIComponent(e).replace(S,function(e,t){var n;return null!==(n=k[t])&&void 0!==n?n:e})}function w(e){return"".concat(e)}var A=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,l.Z)(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new _,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=b(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(e){var i=n.fromObject[e];t.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}return(0,s.Z)(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var i=e[n];Array.isArray(i)?i.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(w(t.value)),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(w(t.value));-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),I=function(){function e(){(0,l.Z)(this,e),this.map=new Map}return(0,s.Z)(e,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function C(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function E(e){return"undefined"!=typeof Blob&&e instanceof Blob}function O(e){return"undefined"!=typeof FormData&&e instanceof FormData}var R=function(){function e(t,n,i,r){var a;if((0,l.Z)(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params)),this.headers||(this.headers=new y),this.context||(this.context=new I),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},i=n.method||this.method,r=n.url||this.url,a=n.responseType||this.responseType,o=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,l=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,u=n.headers||this.headers,c=n.params||this.params,h=null!==(t=n.context)&&void 0!==t?t:this.context;return void 0!==n.setHeaders&&(u=Object.keys(n.setHeaders).reduce(function(e,t){return e.set(t,n.setHeaders[t])},u)),n.setParams&&(c=Object.keys(n.setParams).reduce(function(e,t){return e.set(t,n.setParams[t])},c)),new e(i,r,o,{params:c,headers:u,context:h,reportProgress:l,responseType:a,withCredentials:s})}}]),e}(),M=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),L=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";(0,l.Z)(this,e),this.headers=t.headers||new y,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},P=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,l.Z)(this,n),(e=t.call(this,i)).type=M.ResponseHeader,e}return(0,s.Z)(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(L),Z=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,l.Z)(this,n),(e=t.call(this,i)).type=M.Response,e.body=void 0!==i.body?i.body:null,e}return(0,s.Z)(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(L),z=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e){var i;return(0,l.Z)(this,n),(i=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),i.error=e.error||null,i}return n}(L);function x(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var N=function(){var e=function(){function e(t){(0,l.Z)(this,e),this.handler=t}return(0,s.Z)(e,[{key:"request",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof R)n=e;else{var a=void 0;a=r.headers instanceof y?r.headers:new y(r.headers);var o=void 0;r.params&&(o=r.params instanceof A?r.params:new A({fromObject:r.params})),n=new R(e,t,void 0!==r.body?r.body:null,{headers:a,context:r.context,params:o,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=(0,h.of)(n).pipe((0,d.b)(function(e){return i.handler.handle(e)}));if(e instanceof R||"events"===r.observe)return s;var l=s.pipe((0,p.h)(function(e){return e instanceof Z}));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe((0,v.U)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe((0,v.U)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe((0,v.U)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return l.pipe((0,v.U)(function(e){return e.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(r.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new A).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,x(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,x(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,x(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(g))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),D=function(){function e(t,n){(0,l.Z)(this,e),this.next=t,this.interceptor=n}return(0,s.Z)(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),F=new c.OlP("HTTP_INTERCEPTORS"),W=function(){var e=function(){function e(){(0,l.Z)(this,e)}return(0,s.Z)(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),j=/^\)\]\}',?\n/,G=function(){var e=function(){function e(t){(0,l.Z)(this,e),this.xhrFactory=t}return(0,s.Z)(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new f.y(function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(function(e,t){return i.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var a=e.responseType.toLowerCase();i.responseType="json"!==a?a:"text"}var o=e.serializeBody(),s=null,l=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new y(i.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new P({headers:r,status:t,statusText:n,url:a})},u=function(){var t=l(),r=t.headers,a=t.status,o=t.statusText,s=t.url,u=null;204!==a&&(u=void 0===i.response?i.responseText:i.response),0===a&&(a=u?200:0);var c=a>=200&&a<300;if("json"===e.responseType&&"string"==typeof u){var h=u;u=u.replace(j,"");try{u=""!==u?JSON.parse(u):null}catch(f){u=h,c&&(c=!1,u={error:f,text:u})}}c?(n.next(new Z({body:u,headers:r,status:a,statusText:o,url:s||void 0})),n.complete()):n.error(new z({error:u,headers:r,status:a,statusText:o,url:s||void 0}))},c=function(e){var t=l(),r=new z({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t.url||void 0});n.error(r)},h=!1,f=function(t){h||(n.next(l()),h=!0);var r={type:M.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},d=function(e){var t={type:M.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",u),i.addEventListener("error",c),i.addEventListener("timeout",c),i.addEventListener("abort",c),e.reportProgress&&(i.addEventListener("progress",f),null!==o&&i.upload&&i.upload.addEventListener("progress",d)),i.send(o),n.next({type:M.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("abort",c),i.removeEventListener("load",u),i.removeEventListener("timeout",c),e.reportProgress&&(i.removeEventListener("progress",f),null!==o&&i.upload&&i.upload.removeEventListener("progress",d)),i.readyState!==i.DONE&&i.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(u.JF))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),$=new c.OlP("XSRF_COOKIE_NAME"),B=new c.OlP("XSRF_HEADER_NAME"),V=function e(){(0,l.Z)(this,e)},H=function(){var e=function(){function e(t,n,i){(0,l.Z)(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return(0,s.Z)(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,u.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(u.K0),c.LFG(c.Lbi),c.LFG($))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),U=function(){var e=function(){function e(t,n){(0,l.Z)(this,e),this.tokenService=t,this.headerName=n}return(0,s.Z)(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(V),c.LFG(B))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Y=function(){var e=function(){function e(t,n){(0,l.Z)(this,e),this.backend=t,this.injector=n,this.chain=null}return(0,s.Z)(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(F,[]);this.chain=t.reduceRight(function(e,t){return new D(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(m),c.LFG(c.zs3))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),K=function(){var e=function(){function e(){(0,l.Z)(this,e)}return(0,s.Z)(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:U,useClass:W}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:$,useValue:t.cookieName}:[],t.headerName?{provide:B,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({providers:[U,{provide:F,useExisting:U,multi:!0},{provide:V,useClass:H},{provide:$,useValue:"XSRF-TOKEN"},{provide:B,useValue:"X-XSRF-TOKEN"}]}),e}(),q=function(){var e=function e(){(0,l.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({providers:[N,{provide:g,useClass:Y},G,{provide:m,useExisting:G}],imports:[[K.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},93820:function(e,t,n){"use strict";n.d(t,{deG:function(){return wn},tb:function(){return Eu},AFp:function(){return Tu},ip1:function(){return Su},CZH:function(){return ku},hGG:function(){return Tc},z2F:function(){return dc},sBO:function(){return bl},Sil:function(){return Fu},_Vd:function(){return Bs},EJc:function(){return Mu},SBq:function(){return Ys},qLn:function(){return Bi},vpe:function(){return tu},gxx:function(){return za},tBr:function(){return Yn},XFs:function(){return B},OlP:function(){return Tn},zs3:function(){return Xa},ZZ4:function(){return dl},aQg:function(){return vl},soG:function(){return Ru},YKP:function(){return Ol},v3s:function(){return vc},h0i:function(){return El},PXZ:function(){return oc},R0b:function(){return Gu},FiY:function(){return Kn},Lbi:function(){return Cu},g9A:function(){return Iu},n_E:function(){return iu},Qsj:function(){return Xs},FYo:function(){return qs},JOm:function(){return Ki},Tiy:function(){return Js},q3G:function(){return xi},tp0:function(){return qn},EAV:function(){return yc},Rgc:function(){return Al},dDg:function(){return Ku},DyG:function(){return An},GfV:function(){return el},s_b:function(){return Ml},ifc:function(){return q},eFA:function(){return lc},G48:function(){return ic},Gpc:function(){return C},f3M:function(){return Gn},X6Q:function(){return nc},_c5:function(){return Sc},VLi:function(){return Xu},c2e:function(){return Ou},zSh:function(){return Na},wAp:function(){return Os},vHH:function(){return R},EiD:function(){return Zi},mCW:function(){return mi},qzn:function(){return oi},JVY:function(){return li},pB0:function(){return fi},eBb:function(){return ci},L6k:function(){return ui},LAX:function(){return hi},cg1:function(){return Is},Tjo:function(){return bc},kL8:function(){return Cs},yhl:function(){return si},dqk:function(){return te},sIi:function(){return so},CqO:function(){return Eo},QGY:function(){return Io},F4k:function(){return Co},RDi:function(){return We},AaK:function(){return w},z3N:function(){return ai},qOj:function(){return Ja},TTD:function(){return Pe},_Bn:function(){return Ws},xp6:function(){return Dr},uIk:function(){return fo},Tol:function(){return ts},Gre:function(){return bs},ekj:function(){return Qo},Suo:function(){return vu},Xpm:function(){return fe},lG2:function(){return _e},Yz7:function(){return Z},cJS:function(){return z},oAB:function(){return ge},Yjl:function(){return be},Y36:function(){return mo},_UZ:function(){return ko},BQk:function(){return wo},ynx:function(){return To},qZA:function(){return So},TgZ:function(){return bo},EpF:function(){return Ao},n5z:function(){return yn},Ikx:function(){return Ss},LFG:function(){return jn},$8M:function(){return bn},NdJ:function(){return Oo},CRH:function(){return gu},kcU:function(){return Zt},O4$:function(){return Pt},oxw:function(){return Zo},ALo:function(){return Kl},lcZ:function(){return ql},xi3:function(){return Xl},Hsn:function(){return No},F$t:function(){return xo},Q6J:function(){return yo},s9C:function(){return Do},MGl:function(){return Fo},DdM:function(){return Vl},VKq:function(){return Hl},iGM:function(){return du},MAs:function(){return go},pYS:function(){return Ui},Jf7:function(){return Hi},CHM:function(){return at},oJD:function(){return Ni},LSH:function(){return Di},kYT:function(){return me},Akn:function(){return Jo},Udp:function(){return Xo},WFA:function(){return Ro},d8E:function(){return ks},YNc:function(){return vo},W1O:function(){return bu},_uU:function(){return ps},Oqu:function(){return vs},hij:function(){return gs},AsE:function(){return ms},lnq:function(){return ys},HOy:function(){return _s},Gf:function(){return pu}});var i=n(61532),r=n(43620),a=n(71357),o=n(54568);n(5587),n(56965),n(74414),n(32931),n(86874);var s=n(72454),l=n(15121),u=n(47145),c=n(87365);function h(e,t,n){return(h=(0,c.Z)()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&(0,u.Z)(r,n.prototype),r}).apply(null,arguments)}var f=n(41998),d=n(31112),p=n(28784),v=n(52250);function g(e){var t="function"==typeof Map?new Map:void 0;return(g=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return h(e,arguments,(0,r.Z)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,u.Z)(n,e)})(e)}var m=n(87570),y=n(55959),_=n(48318),b=n(31906),S=n(1055);function k(e){for(var t in e)if(e[t]===k)return t;throw Error("Could not find renamed property on target object.")}function T(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function w(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(w).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function A(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var I=k({__forward_ref__:k});function C(e){return e.__forward_ref__=C,e.toString=function(){return w(this())},e}function E(e){return O(e)?e():e}function O(e){return"function"==typeof e&&e.hasOwnProperty(I)&&e.__forward_ref__===C}var R=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(e,i){var r;return(0,d.Z)(this,n),(r=t.call(this,function(e,t){var n=e?"NG0".concat(e,": "):"";return"".concat(n).concat(t)}(e,i))).code=e,r}return n}(g(Error));function M(e){return"string"==typeof e?e:null==e?"":String(e)}function L(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():M(e)}function P(e,t){var n=t?" in ".concat(t):"";throw new R("201","No provider for ".concat(L(e)," found").concat(n))}function Z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function z(e){return{providers:e.providers||[],imports:e.imports||[]}}function x(e){return N(e,W)||N(e,G)}function N(e,t){return e.hasOwnProperty(t)?e[t]:null}function D(e){return e&&(e.hasOwnProperty(j)||e.hasOwnProperty($))?e[j]:null}var F,W=k({"\u0275prov":k}),j=k({"\u0275inj":k}),G=k({ngInjectableDef:k}),$=k({ngInjectorDef:k}),B=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function V(){return F}function H(e){var t=F;return F=e,t}function U(e,t,n){var i=x(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&B.Optional?null:void 0!==t?t:void P(w(e),"Injector")}function Y(e){return{toString:e}.toString()}var K=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),q=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),X="undefined"!=typeof globalThis&&globalThis,Q="undefined"!=typeof window&&window,J="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ee="undefined"!=typeof global&&global,te=X||ee||Q||J,ne={},ie=[],re=k({"\u0275cmp":k}),ae=k({"\u0275dir":k}),oe=k({"\u0275pipe":k}),se=k({"\u0275mod":k}),le=k({"\u0275loc":k}),ue=k({"\u0275fac":k}),ce=k({__NG_ELEMENT_ID__:k}),he=0;function fe(e){return Y(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===K.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ie,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||q.Emulated,id:"c",styles:e.styles||ie,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,a=e.pipes;return n.id+=he++,n.inputs=ye(e.inputs,t),n.outputs=ye(e.outputs),r&&r.forEach(function(e){return e(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(de)}:null,n.pipeDefs=a?function(){return("function"==typeof a?a():a).map(pe)}:null,n})}function de(e){return Se(e)||function(e){return e[ae]||null}(e)}function pe(e){return function(e){return e[oe]||null}(e)}var ve={};function ge(e){return Y(function(){var t={type:e.type,bootstrap:e.bootstrap||ie,declarations:e.declarations||ie,imports:e.imports||ie,exports:e.exports||ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ve[e.id]=e.type),t})}function me(e,t){return Y(function(){var n=ke(e,!0);n.declarations=t.declarations||ie,n.imports=t.imports||ie,n.exports=t.exports||ie})}function ye(e,t){if(null==e)return ne;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,t&&(t[r]=a)}return n}var _e=fe;function be(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Se(e){return e[re]||null}function ke(e,t){var n=e[se]||null;if(!n&&!0===t)throw new Error("Type ".concat(w(e)," does not have '\u0275mod' property."));return n}var Te=20,we=10;function Ae(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ie(e){return Array.isArray(e)&&!0===e[1]}function Ce(e){return 0!=(8&e.flags)}function Ee(e){return 2==(2&e.flags)}function Oe(e){return 1==(1&e.flags)}function Re(e){return null!==e.template}function Me(e,t){return e.hasOwnProperty(ue)?e[ue]:null}var Le=function(){function e(t,n,i){(0,d.Z)(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return(0,f.Z)(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Pe(){return Ze}function Ze(e){return e.type.prototype.ngOnChanges&&(e.setInput=xe),ze}function ze(){var e=Ne(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===ne)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function xe(e,t,n,i){var r=Ne(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ne,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],l=o[s];a[s]=new Le(l&&l.currentValue,t,o===ne),e[i]=t}function Ne(e){return e.__ngSimpleChanges__||null}Pe.ngInherit=!0;var De="http://www.w3.org/2000/svg",Fe=void 0;function We(e){Fe=e}function je(){return void 0!==Fe?Fe:"undefined"!=typeof document?document:void 0}function Ge(e){return!!e.listen}var $e={createRenderer:function(e,t){return je()}};function Be(e){for(;Array.isArray(e);)e=e[0];return e}function Ve(e,t){return Be(t[e])}function He(e,t){return Be(t[e.index])}function Ue(e,t){return e.data[t]}function Ye(e,t){return e[t]}function Ke(e,t){var n=t[e];return Ae(n)?n:n[0]}function qe(e){return 4==(4&e[2])}function Xe(e){return 128==(128&e[2])}function Qe(e,t){return null==t?null:e[t]}function Je(e){e[18]=0}function et(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var tt={lFrame:At(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function nt(){return tt.bindingsEnabled}function it(){return tt.lFrame.lView}function rt(){return tt.lFrame.tView}function at(e){return tt.lFrame.contextLView=e,e[8]}function ot(){for(var e=st();null!==e&&64===e.type;)e=e.parent;return e}function st(){return tt.lFrame.currentTNode}function lt(e,t){var n=tt.lFrame;n.currentTNode=e,n.isParent=t}function ut(){return tt.lFrame.isParent}function ct(){tt.lFrame.isParent=!1}function ht(){return tt.isInCheckNoChangesMode}function ft(e){tt.isInCheckNoChangesMode=e}function dt(){var e=tt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function pt(){return tt.lFrame.bindingIndex}function vt(){return tt.lFrame.bindingIndex++}function gt(e){var t=tt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function mt(e){tt.lFrame.currentDirectiveIndex=e}function yt(e){var t=tt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function _t(){return tt.lFrame.currentQueryIndex}function bt(e){tt.lFrame.currentQueryIndex=e}function St(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function kt(e,t,n){if(n&B.SkipSelf){for(var i=t,r=e;!(null!==(i=i.parent)||n&B.Host||null===(i=St(r))||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}var a=tt.lFrame=wt();return a.currentTNode=t,a.lView=e,!0}function Tt(e){var t=wt(),n=e[1];tt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function wt(){var e=tt.lFrame,t=null===e?null:e.child;return null===t?At(e):t}function At(e){var t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function It(){var e=tt.lFrame;return tt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ct=It;function Et(){var e=It();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ot(e){return(tt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,tt.lFrame.contextLView))[8]}function Rt(){return tt.lFrame.selectedIndex}function Mt(e){tt.lFrame.selectedIndex=e}function Lt(){var e=tt.lFrame;return Ue(e.tView,e.selectedIndex)}function Pt(){tt.lFrame.currentNamespace=De}function Zt(){tt.lFrame.currentNamespace=null}function zt(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[s]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t){e[2]+=2048;try{a.call(o)}finally{}}}else try{a.call(o)}finally{}}var jt=-1,Gt=function e(t,n,i){(0,d.Z)(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function $t(e,t,n){for(var i=Ge(e),r=0;rt){o=a-1;break}}}for(;a>16,i=t;n>0;)i=i[15],n--;return i}var Xt=!0;function Qt(e){var t=Xt;return Xt=e,t}var Jt=0;function en(e,t){var n=nn(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,tn(i.data,e),tn(t,null),tn(i.blueprint,null));var r=rn(e,t),a=e.injectorIndex;if(Yt(r))for(var o=Kt(r),s=qt(r,t),l=s[1].data,u=0;u<8;u++)t[a+u]=s[o+u]|l[o+u];return t[a+8]=r,a}function tn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function rn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,i=null,r=t;null!==r;){var a=r[1],o=a.type;if(null===(i=2===o?a.declTNode:1===o?r[6]:null))return jt;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return jt}function an(e,t,n){!function(e,t,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ce)&&(i=n[ce]),null==i&&(i=n[ce]=Jt++);var r=255&i;t.data[e+(r>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:B.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var a=pn(n);if("function"==typeof a){if(!kt(t,e,i))return i&B.Host?on(r,n,i):sn(t,n,i,r);try{var o=a(i);if(null!=o||i&B.Optional)return o;P(n)}finally{Ct()}}else if("number"==typeof a){var s=null,l=nn(e,t),u=jt,c=i&B.Host?t[16][6]:null;for((-1===l||i&B.SkipSelf)&&((u=-1===l?rn(e,t):t[l+8])!==jt&&gn(i,!1)?(s=t[1],l=Kt(u),t=qt(u,t)):l=-1);-1!==l;){var h=t[1];if(vn(a,l,h.data)){var f=hn(l,t,n,s,i,c);if(f!==un)return f}(u=t[l+8])!==jt&&gn(i,t[1].data[l+8]===c)&&vn(a,l,t)?(s=h,l=Kt(u),t=qt(u,t)):l=-1}}}return sn(t,n,i,r)}var un={};function cn(){return new mn(ot(),it())}function hn(e,t,n,i,r,a){var o=t[1],s=o.data[e+8],l=fn(s,o,n,null==i?Ee(s)&&Xt:i!=o&&0!=(3&s.type),r&B.Host&&a===s);return null!==l?dn(t,o,l,s):un}function fn(e,t,n,i,r){for(var a=e.providerIndexes,o=t.data,s=1048575&a,l=e.directiveStart,u=a>>20,c=r?s+u:e.directiveEnd,h=i?s:s+u;h=l&&f.type===n)return h}if(r){var d=o[l];if(d&&Re(d)&&d.type===n)return l}return null}function dn(e,t,n,i){var r=e[n],a=t.data;if(r instanceof Gt){var o=r;o.resolving&&function(e,t){throw new R("200","Circular dependency in DI detected for ".concat(e).concat(""))}(L(a[n]));var s=Qt(o.canSeeViewProviders);o.resolving=!0;var l=o.injectImpl?H(o.injectImpl):null;kt(e,i,B.Default);try{r=e[n]=o.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.type.prototype,r=i.ngOnInit,a=i.ngDoCheck;if(i.ngOnChanges){var o=Ze(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==l&&H(l),Qt(s),o.resolving=!1,Ct()}}return r}function pn(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(ce)?e[ce]:void 0;return"number"==typeof t?t>=0?255&t:cn:t}function vn(e,t,n){return!!(n[t+(e>>5)]&1<=e.length?e.push(n):e.splice(t,0,n)}function On(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Rn(e,t){for(var n=[],i=0;i=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function Ln(e,t){var n=Pn(e,t);if(n>=0)return e[1|n]}function Pn(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var a=i+(r-i>>1),o=e[a<<1];if(t===o)return a<<1;o>t?r=a:i=a+1}return~(r<<1)}(e,t)}var Zn={},zn=/\n/gm,xn="__source",Nn=k({provide:String,useValue:k}),Dn=void 0;function Fn(e){var t=Dn;return Dn=e,t}function Wn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B.Default;if(void 0===Dn)throw new Error("inject() must be called from an injection context");return null===Dn?U(e,void 0,t):Dn.get(e,t&B.Optional?null:void 0,t)}function jn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B.Default;return(V()||Wn)(E(e),t)}var Gn=jn;function $n(e){for(var t=[],n=0;n3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=w(t);if(Array.isArray(t))r=t.map(w).join(" -> ");else if("object"==typeof t){var a=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):w(s)))}r="{".concat(a.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(zn,"\n "))}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}var Hn,Un,Yn=Bn(kn("Inject",function(e){return{token:e}}),-1),Kn=Bn(kn("Optional"),8),qn=Bn(kn("SkipSelf"),4);function Xn(e){var t;return(null===(t=function(){if(void 0===Hn&&(Hn=null,te.trustedTypes))try{Hn=te.trustedTypes.createPolicy("angular",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(t){}return Hn}())||void 0===t?void 0:t.createHTML(e))||e}function Qn(e){var t;return(null===(t=function(){if(void 0===Un&&(Un=null,te.trustedTypes))try{Un=te.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(t){}return Un}())||void 0===t?void 0:t.createHTML(e))||e}var Jn=function(){function e(t){(0,d.Z)(this,e),this.changingThisBreaksApplicationSecurity=t}return(0,f.Z)(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),e}(),ei=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,f.Z)(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(Jn),ti=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,f.Z)(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(Jn),ni=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,f.Z)(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(Jn),ii=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,f.Z)(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(Jn),ri=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,f.Z)(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(Jn);function ai(e){return e instanceof Jn?e.changingThisBreaksApplicationSecurity:e}function oi(e,t){var n=si(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===t}function si(e){return e instanceof Jn&&e.getTypeName()||null}function li(e){return new ei(e)}function ui(e){return new ti(e)}function ci(e){return new ni(e)}function hi(e){return new ii(e)}function fi(e){return new ri(e)}var di=function(){function e(t){(0,d.Z)(this,e),this.inertDocumentHelper=t}return(0,f.Z)(e,[{key:"getInertBodyElement",value:function(e){e=""+e;try{var t=(new window.DOMParser).parseFromString(Xn(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(n){return null}}}]),e}(),pi=function(){function e(t){if((0,d.Z)(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return(0,f.Z)(e,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Xn(e),t;var n=this.inertDocument.createElement("body");return n.innerHTML=Xn(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Ai.hasOwnProperty(t)&&!Si.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(Pi(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),Mi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Li=/([^\#-~ |!])/g;function Pi(e){return e.replace(/&/g,"&").replace(Mi,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Li,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function Zi(e,t){var n=null;try{bi=bi||function(e){var t=new pi(e);return function(){try{return!!(new window.DOMParser).parseFromString(Xn(""),"text/html")}catch(e){return!1}}()?new di(t):t}(e);var i=t?String(t):"";n=bi.getInertBodyElement(i);var r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=bi.getInertBodyElement(i)}while(i!==a);return Xn((new Ri).sanitizeChildren(zi(n)||n))}finally{if(n)for(var o=zi(n)||n;o.firstChild;)o.removeChild(o.firstChild)}}function zi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var xi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function Ni(e){var t=Fi();return t?Qn(t.sanitize(xi.HTML,e)||""):oi(e,"HTML")?Qn(ai(e)):Zi(je(),M(e))}function Di(e){var t=Fi();return t?t.sanitize(xi.URL,e)||"":oi(e,"URL")?ai(e):mi(M(e))}function Fi(){var e=it();return e&&e[12]}function Wi(e,t){e.__ngContext__=t}function ji(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Gi(e){return e.ngOriginalError}function $i(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&(e[i-1][4]=r[4]);var o=On(e,we+t);br(r[1],n=r,n[11],2,null,null),n[0]=null,n[6]=null;var s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function or(e,t){if(!(256&t[2])){var n=t[11];Ge(n)&&n.destroyNode&&br(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return sr(e[1],e);for(;t;){var n=null;if(Ae(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Ae(t)&&sr(t[1],t),t=t[3];null===t&&(t=e),Ae(t)&&sr(t[1],t),n=t&&t[4]}t=n}}(t)}}function sr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i=0?i[r=u]():i[r=-u].unsubscribe(),a+=2}else{var c=i[r=n[a+1]];n[a].call(c)}if(null!==i){for(var h=r+1;ha?"":r[c+1].toLowerCase();var f=8&i?h:null;if(f&&-1!==Ar(f,u,0)||2&i&&u!==h){if(Mr(i))return!1;o=!0}}}}else{if(!o&&!Mr(i)&&!Mr(l))return!1;if(o&&Mr(l))continue;o=!1,i=l|1&i}}return Mr(i)||o}function Mr(e){return 0==(1&e)}function Lr(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var a=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||Mr(o)||(t+=zr(a,r),r=""),i=o,a=a||!Mr(i);n++}return""!==r&&(t+=zr(a,r)),t}var Nr={};function Dr(e){Fr(rt(),it(),Rt()+e,ht())}function Fr(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&xt(t,r,n)}else{var a=e.preOrderHooks;null!==a&&Nt(t,a,0,n)}Mt(n)}function Wr(e,t){return e<<17|t<<2}function jr(e){return e>>17&32767}function Gr(e){return 2|e}function $r(e){return(131068&e)>>2}function Br(e,t){return-131069&e|t<<2}function Vr(e){return 1|e}function Hr(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;iTe&&Fr(e,t,Te,ht()),n(i,r)}finally{Mt(a)}}function ea(e,t,n){if(Ce(t))for(var i=t.directiveEnd,r=t.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:He,i=t.localNames;if(null!==i)for(var r=t.index+1,a=0;a0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=l&&s.push(l),s.push(i,r,o)}}function ca(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function ha(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function fa(e,t,n){if(n){if(t.exportAs)for(var i=0;i0&&ba(n)}}function ba(e){for(var t=Qi(e);null!==t;t=Ji(t))for(var n=we;n0&&ba(i)}var a=e[1].components;if(null!==a)for(var o=0;o0&&ba(s)}}function Sa(e,t){var n=Ke(t,e),i=n[1];!function(e,t){for(var n=t.length;n1&&void 0!==arguments[1]?arguments[1]:Zn;if(t===Zn){var n=new Error("NullInjectorError: No provider for ".concat(w(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),Na=new Tn("Set Injector scope."),Da={},Fa={},Wa=void 0;function ja(){return void 0===Wa&&(Wa=new xa),Wa}function Ga(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new $a(e,n,t||ja(),i)}var $a=function(){function e(t,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;(0,d.Z)(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&Cn(n,function(e){return r.processProvider(e,t,n)}),Cn([t],function(e){return r.processInjectorType(e,[],o)}),this.records.set(za,Ha(void 0,this));var s=this.records.get(Na);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof t?null:w(t))}return(0,f.Z)(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:B.Default;this.assertNotDestroyed();var i=Fn(this),r=H(void 0);try{if(!(n&B.SkipSelf)){var a=this.records.get(e);if(void 0===a){var o=Ka(e)&&x(e);a=o&&this.injectableDefInScope(o)?Ha(Ba(e),Da):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}var s=n&B.Self?ja():this.parent;return s.get(e,t=n&B.Optional&&t===Zn?null:t)}catch(u){if("NullInjectorError"===u.name){var l=u.ngTempTokenPath=u.ngTempTokenPath||[];if(l.unshift(w(e)),i)throw u;return Vn(u,e,"R3InjectorError",this.source)}throw u}finally{H(r),Fn(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(w(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=E(e)))return!1;var r=D(e),a=null==r&&e.ngModule||void 0,o=void 0===a?e:a,s=-1!==n.indexOf(o);if(void 0!==a&&(r=D(a)),null==r)return!1;if(null!=r.imports&&!s){var l;n.push(o);try{Cn(r.imports,function(e){i.processInjectorType(e,t,n)&&(void 0===l&&(l=[]),l.push(e))})}finally{}if(void 0!==l)for(var u=function(e){var t=l[e],n=t.ngModule,r=t.providers;Cn(r,function(e){return i.processProvider(e,n,r||ie)})},c=0;c0){var n=Rn(t,"?");throw new Error("Can't resolve all parameters for ".concat(w(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[W]||e[G]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Va(e,t,n){var i,r=void 0;if(Ya(e)){var a=E(e);return Me(a)||Ba(a)}if(Ua(e))r=function(){return E(e.useValue)};else if((i=e)&&i.useFactory)r=function(){return e.useFactory.apply(e,(0,l.Z)($n(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))r=function(){return jn(E(e.useExisting))};else{var o=E(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Me(o)||Ba(o);r=function(){return h(o,(0,l.Z)($n(e.deps)))}}return r}function Ha(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Ua(e){return null!==e&&"object"==typeof e&&Nn in e}function Ya(e){return"function"==typeof e}function Ka(e){return"function"==typeof e||"object"==typeof e&&e instanceof Tn}var qa=function(e,t,n){return function(e){var t=Ga(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return t._resolveInjectorDefTypes(),t}({name:n},t,e,n)},Xa=function(){var e=function(){function e(){(0,d.Z)(this,e)}return(0,f.Z)(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?qa(e,t,""):qa(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Zn,e.NULL=new xa,e.\u0275prov=Z({token:e,providedIn:"any",factory:function(){return jn(za)}}),e.__NG_ELEMENT_ID__=-1,e}();function Qa(e,t){zt(ji(e)[1],ot())}function Ja(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,i=[e];t;){var r=void 0;if(Re(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var a=e;a.inputs=eo(e.inputs),a.declaredInputs=eo(e.declaredInputs),a.outputs=eo(e.outputs);var o=r.hostBindings;o&&io(e,o);var s=r.viewQuery,l=r.contentQueries;if(s&&to(e,s),l&&no(e,l),T(e.inputs,r.inputs),T(e.declaredInputs,r.declaredInputs),T(e.outputs,r.outputs),Re(r)&&r.data.animation){var u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var h=0;h=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Ht(r.hostAttrs,n=Ht(n,r.hostAttrs))}}(i)}function eo(e){return e===ne?{}:e===ie?[]:e}function to(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function no(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function io(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var ro=null;function ao(){if(!ro){var e=te.Symbol;if(e&&e.iterator)ro=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:B.Default,n=it();if(null===n)return jn(e,t);var i=ot();return ln(i,n,E(e),t)}function yo(e,t,n){var i=it();return co(i,vt(),t)&&sa(rt(),Lt(),i,e,t,i[11],n,!1),yo}function _o(e,t,n,i,r){var a=r?"class":"style";La(e,n,t.inputs[a],a,i)}function bo(e,t,n,i){var r=it(),a=rt(),o=Te+e,s=r[11],l=r[o]=ir(s,t,tt.lFrame.currentNamespace),u=a.firstCreatePass?function(e,t,n,i,r,a,o){var s=t.consts,l=Yr(t,e,2,r,Qe(s,a));return la(t,n,l,Qe(s,o)),null!==l.attrs&&Za(l,l.attrs,!1),null!==l.mergedAttrs&&Za(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(o,a,r,0,t,n,i):a.data[o];lt(u,!0);var c=u.mergedAttrs;null!==c&&$t(s,l,c);var h=u.classes;null!==h&&wr(s,l,h);var f=u.styles;null!==f&&Tr(s,l,f),64!=(64&u.flags)&&vr(a,r,l,u),0===tt.lFrame.elementDepthCount&&Wi(l,r),tt.lFrame.elementDepthCount++,Oe(u)&&(ta(a,r,u),ea(a,u,r)),null!==i&&na(r,u)}function So(){var e=ot();ut()?ct():lt(e=e.parent,!1);var t=e;tt.lFrame.elementDepthCount--;var n=rt();n.firstCreatePass&&(zt(n,e),Ce(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&_o(n,t,it(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&_o(n,t,it(),t.stylesWithoutHost,!1)}function ko(e,t,n,i){bo(e,t,n,i),So()}function To(e,t,n){var i=it(),r=rt(),a=e+Te,o=r.firstCreatePass?function(e,t,n,i,r){var a=t.consts,o=Qe(a,i),s=Yr(t,e,8,"ng-container",o);return null!==o&&Za(s,o,!0),la(t,n,s,Qe(a,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(a,r,i,t,n):r.data[a];lt(o,!0);var s=i[a]=i[11].createComment("");vr(r,i,s,o),Wi(s,i),Oe(o)&&(ta(r,i,o),ea(r,o,i)),null!=n&&na(i,o)}function wo(){var e=ot(),t=rt();ut()?ct():lt(e=e.parent,!1),t.firstCreatePass&&(zt(t,e),Ce(e)&&t.queries.elementEnd(e))}function Ao(){return it()}function Io(e){return!!e&&"function"==typeof e.then}function Co(e){return!!e&&"function"==typeof e.subscribe}var Eo=Co;function Oo(e,t,n,i){var r=it(),a=rt(),o=ot();return Mo(a,r,r[11],o,e,t,!!n,i),Oo}function Ro(e,t){var n=ot(),i=it(),r=rt();return Mo(r,i,Ra(yt(r.data),n,i),n,e,t,!1),Ro}function Mo(e,t,n,i,r,a,o,s){var l=Oe(i),u=e.firstCreatePass&&Oa(e),c=Ea(t),h=!0;if(3&i.type||s){var f=He(i,t),d=s?s(f):f,p=c.length,v=s?function(e){return s(Be(e[i.index]))}:i.index;if(Ge(n)){var g=null;if(!s&&l&&(g=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var a=0;al?s[l]:null}"string"==typeof o&&(a+=2)}return null}(e,t,r,i.index)),null!==g)(g.__ngLastListenerFn__||g).__ngNextListenerFn__=a,g.__ngLastListenerFn__=a,h=!1;else{a=Po(i,t,0,a,!1);var m=n.listen(d,r,a);c.push(a,m),u&&u.push(r,v,p,p+1)}}else a=Po(i,t,0,a,!0),d.addEventListener(r,a,o),c.push(a),u&&u.push(r,v,p,o)}else a=Po(i,t,0,a,!1);var y,_=i.outputs;if(h&&null!==_&&(y=_[r])){var b=y.length;if(b)for(var S=0;S0&&void 0!==arguments[0]?arguments[0]:1;return Ot(e)}function zo(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=it(),r=rt(),a=Yr(r,Te+e,16,null,n||null);null===a.projection&&(a.projection=t),ct(),64!=(64&a.flags)&&Sr(r,i,a)}function Do(e,t,n){return Fo(e,"",t,"",n),Do}function Fo(e,t,n,i,r){var a=it(),o=po(a,t,n,i);return o!==Nr&&sa(rt(),Lt(),a,e,o,a[11],r,!1),Fo}function Wo(e,t,n,i,r){for(var a=e[n+1],o=null===t,s=i?jr(a):$r(a),l=!1;0!==s&&(!1===l||o);){var u=e[s+1];jo(e[s],t)&&(l=!0,e[s+1]=i?Vr(u):Gr(u)),s=i?jr(u):$r(u)}l&&(e[n+1]=i?Gr(a):Vr(a))}function jo(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Pn(e,t)>=0}var Go={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $o(e){return e.substring(Go.key,Go.keyEnd)}function Bo(e){return e.substring(Go.value,Go.valueEnd)}function Vo(e,t){var n=Go.textEnd;return n===t?-1:(t=Go.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,Go.key=t,n),Yo(e,t,n))}function Ho(e,t){var n=Go.textEnd,i=Go.key=Yo(e,t,n);return n===i?-1:(i=Go.keyEnd=function(e,t,n){for(var i;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=Ko(e,i,n),i=Go.value=Yo(e,i,n),i=Go.valueEnd=function(e,t,n){for(var i=-1,r=-1,a=-1,o=t,s=o;o32&&(s=o),a=r,r=i,i=-33&l}return s}(e,i,n),Ko(e,i,n))}function Uo(e){Go.key=0,Go.keyEnd=0,Go.value=0,Go.valueEnd=0,Go.textEnd=e.length}function Yo(e,t,n){for(;t=0;n=Ho(t,n))us(e,$o(t),Bo(t))}function ts(e){rs(Mn,ns,e,!0)}function ns(e,t){for(var n=function(e){return Uo(e),Vo(e,Yo(e,0,Go.textEnd))}(t);n>=0;n=Vo(t,n))Mn(e,$o(t),!0)}function is(e,t,n,i){var r=it(),a=rt(),o=gt(2);a.firstUpdatePass&&os(a,e,o,i),t!==Nr&&co(r,o,t)&&cs(a,a.data[Rt()],r,r[11],e,r[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=w(ai(e)))),e}(t,n),i,o)}function rs(e,t,n,i){var r=rt(),a=gt(2);r.firstUpdatePass&&os(r,null,a,i);var o=it();if(n!==Nr&&co(o,a,n)){var s=r.data[Rt()];if(ds(s,i)&&!as(r,a)){var l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(n=A(l,n||"")),_o(r,s,o,n,i)}else!function(e,t,n,i,r,a,o,s){r===Nr&&(r=ie);for(var l=0,u=0,c=0=e.expandoStartIndex}function os(e,t,n,i){var r=e.data;if(null===r[n+1]){var a=r[Rt()],o=as(e,n);ds(a,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){var r=yt(e),a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=ls(n=ss(null,e,t,n,i),t.attrs,i),a=null);else{var o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=ss(r,e,t,n,i),null===a){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==$r(i))return e[jr(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[jr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=ls(s=ss(null,e,t,s[1],i),t.attrs,i))}else a=function(e,t,n){for(var i=void 0,r=t.directiveEnd,a=1+t.directiveStylingLast;a0)&&(c=!0):u=n,r)if(0!==l){var h=jr(e[s+1]);e[i+1]=Wr(h,s),0!==h&&(e[h+1]=Br(e[h+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=Wr(s,0),0!==s&&(e[s+1]=Br(e[s+1],i)),s=i;else e[i+1]=Wr(l,0),0===s?s=i:e[l+1]=Br(e[l+1],i),l=i;c&&(e[i+1]=Gr(e[i+1])),Wo(e,u,i,!0),Wo(e,u,i,!1),function(e,t,n,i,r){var a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Pn(a,t)>=0&&(n[i+1]=Vr(n[i+1]))}(t,u,e,i,a),o=Wr(s,l),a?t.classBindings=o:t.styleBindings=o}(r,a,t,n,o,i)}}function ss(e,t,n,i,r){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var l=e[r],u=Array.isArray(l),c=u?l[1]:l,h=null===c,f=n[r+1];f===Nr&&(f=h?ie:void 0);var d=h?Ln(f,i):c===i?f:void 0;if(u&&!fs(d)&&(d=Ln(l,i)),fs(d)&&(s=d,o))return s;var p=e[r+1];r=o?jr(p):$r(p)}if(null!==t){var v=a?t.residualClasses:t.residualStyles;null!=v&&(s=Ln(v,i))}return s}function fs(e){return void 0!==e}function ds(e,t){return 0!=(e.flags&(t?16:32))}function ps(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=it(),i=rt(),r=e+Te,a=i.firstCreatePass?Yr(i,r,1,t,null):i.data[r],o=n[r]=nr(n[11],t);vr(i,n,o,a),lt(a,!1)}function vs(e){return gs("",e,""),vs}function gs(e,t,n){var i=it(),r=po(i,e,t,n);return r!==Nr&&Pa(i,Rt(),r),gs}function ms(e,t,n,i,r){var a=it(),o=function(e,t,n,i,r,a){var o=ho(e,pt(),n,r);return gt(2),o?t+M(n)+i+M(r)+a:Nr}(a,e,t,n,i,r);return o!==Nr&&Pa(a,Rt(),o),ms}function ys(e,t,n,i,r,a,o){var s=it(),l=function(e,t,n,i,r,a,o,s){var l=function(e,t,n,i,r){var a=ho(e,t,n,i);return co(e,t+2,r)||a}(e,pt(),n,r,o);return gt(3),l?t+M(n)+i+M(r)+a+M(o)+s:Nr}(s,e,t,n,i,r,a,o);return l!==Nr&&Pa(s,Rt(),l),ys}function _s(e,t,n,i,r,a,o,s,l){var u=it(),c=function(e,t,n,i,r,a,o,s,l,u){var c=function(e,t,n,i,r,a){var o=ho(e,t,n,i);return ho(e,t+2,r,a)||o}(e,pt(),n,r,o,l);return gt(4),c?t+M(n)+i+M(r)+a+M(o)+s+M(l)+u:Nr}(u,e,t,n,i,r,a,o,s,l);return c!==Nr&&Pa(u,Rt(),c),_s}function bs(e,t,n){rs(Mn,ns,po(it(),e,t,n),!0)}function Ss(e,t,n){var i=it();return co(i,vt(),t)&&sa(rt(),Lt(),i,e,t,i[11],n,!0),Ss}function ks(e,t,n){var i=it();if(co(i,vt(),t)){var r=rt(),a=Lt();sa(r,a,i,e,t,Ra(yt(r.data),a,i),n,!0)}return ks}var Ts=void 0,ws=["en",[["a","p"],["AM","PM"],Ts],[["AM","PM"],Ts,Ts],[["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"]],Ts,[["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"]],Ts,[["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}",Ts,"{1} 'at' {0}",Ts],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],As={};function Is(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Es(t);if(n)return n;var i=t.split("-")[0];if(n=Es(i))return n;if("en"===i)return ws;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function Cs(e){return Is(e)[Os.PluralCase]}function Es(e){return e in As||(As[e]=te.ng&&te.ng.common&&te.ng.common.locales&&te.ng.common.locales[e]),As[e]}var Os=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({}),Rs="en-US";function Ms(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: ".concat(e)+" [Expected=> ".concat(null," ").concat("!="," ").concat(t," <=Actual]"))}(n,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function Ls(e,t,n){var i=rt();if(i.firstCreatePass){var r=Re(e);Ps(n,i.data,i.blueprint,r,!0),Ps(t,i.data,i.blueprint,r,!1)}}function Ps(e,t,n,i,r){if(e=E(e),Array.isArray(e))for(var a=0;a>20;if(Ya(e)||!e.multi){var p=new Gt(u,r,mo),v=xs(l,t,r?h:h+d,f);-1===v?(an(en(c,s),o,l),Zs(o,e,t.length),t.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[v]=p,s[v]=p)}else{var g=xs(l,t,h+d,f),m=xs(l,t,h,h+d),y=m>=0&&n[m];if(r&&!y||!r&&!(g>=0&&n[g])){an(en(c,s),o,l);var _=function(e,t,n,i,r){var a=new Gt(e,n,mo);return a.multi=[],a.index=t,a.componentProviders=0,zs(a,r,i&&!n),a}(r?Ds:Ns,n.length,r,i,u);!r&&y&&(n[m].providerFactory=_),Zs(o,e,t.length,0),t.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(_),s.push(_)}else Zs(o,e,g>-1?g:m,zs(n[r?m:g],u,!r&&i));!r&&i&&y&&n[m].componentProviders++}}}function Zs(e,t,n,i){var r=Ya(t);if(r||t.useClass){var a=(t.useClass||t).prototype.ngOnDestroy;if(a){var o=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=o.indexOf(n);-1===s?o.push(n,[i,a]):o[s+1].push(i,a)}else o.push(n,a)}}}function zs(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function xs(e,t,n,i){for(var r=n;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return Ls(n,i?i(e):e,t)}}}var js=function e(){(0,d.Z)(this,e)},Gs=function e(){(0,d.Z)(this,e)},$s=function(){function e(){(0,d.Z)(this,e)}return(0,f.Z)(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(w(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),Bs=function(){var e=function e(){(0,d.Z)(this,e)};return e.NULL=new $s,e}();function Vs(){}function Hs(e,t){return new Ys(He(e,t))}var Us=function(){return Hs(ot(),it())},Ys=function(){var e=function e(t){(0,d.Z)(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=Us,e}();function Ks(e){return e instanceof Ys?e.nativeElement:e}var qs=function e(){(0,d.Z)(this,e)},Xs=function(){var e=function e(){(0,d.Z)(this,e)};return e.__NG_ELEMENT_ID__=function(){return Qs()},e}(),Qs=function(){var e=it(),t=Ke(ot().index,e);return function(e){return e[11]}(Ae(t)?t:e)},Js=function(){var e=function e(){(0,d.Z)(this,e)};return e.\u0275prov=Z({token:e,providedIn:"root",factory:function(){return null}}),e}(),el=function e(t){(0,d.Z)(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},tl=new el("12.2.7"),nl=function(){function e(){(0,d.Z)(this,e)}return(0,f.Z)(e,[{key:"supports",value:function(e){return so(e)}},{key:"create",value:function(e){return new rl(e)}}]),e}(),il=function(e,t){return t},rl=function(){function e(t){(0,d.Z)(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||il}return(0,f.Z)(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var a=!n||t&&t.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==n;){var a=t[n.index];if(null!==a&&i.push(Be(a)),Ie(a))for(var o=we;o-1&&(ar(e,n),On(t,n))}this._attachedToViewContainer=!1}or(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){aa(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){Ta(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){wa(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){ft(!0);try{wa(e,t,n)}finally{ft(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,br(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),yl=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(e){var i;return(0,d.Z)(this,n),(i=t.call(this,e))._view=e,i}return(0,f.Z)(n,[{key:"detectChanges",value:function(){Aa(this._view)}},{key:"checkNoChanges",value:function(){!function(e){ft(!0);try{Aa(e)}finally{ft(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(ml),_l=function(e){return function(e,t,n){if(Ee(e)&&!n){var i=Ke(e.index,t);return new ml(i,i)}return 47&e.type?new ml(t[16],t):null}(ot(),it(),16==(16&e))},bl=function(){var e=function e(){(0,d.Z)(this,e)};return e.__NG_ELEMENT_ID__=_l,e}(),Sl=[new ul],kl=new dl([new nl]),Tl=new vl(Sl),wl=function(){return Cl(ot(),it())},Al=function(){var e=function e(){(0,d.Z)(this,e)};return e.__NG_ELEMENT_ID__=wl,e}(),Il=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(e,i,r){var a;return(0,d.Z)(this,n),(a=t.call(this))._declarationLView=e,a._declarationTContainer=i,a.elementRef=r,a}return(0,f.Z)(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Ur(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),qr(t,n,e),new ml(n)}}]),n}(Al);function Cl(e,t){return 4&e.type?new Il(t,e,Hs(e,t)):null}var El=function e(){(0,d.Z)(this,e)},Ol=function e(){(0,d.Z)(this,e)},Rl=function(){return zl(ot(),it())},Ml=function(){var e=function e(){(0,d.Z)(this,e)};return e.__NG_ELEMENT_ID__=Rl,e}(),Ll=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(e,i,r){var a;return(0,d.Z)(this,n),(a=t.call(this))._lContainer=e,a._hostTNode=i,a._hostLView=r,a}return(0,f.Z)(n,[{key:"element",get:function(){return Hs(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new mn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=rn(this._hostTNode,this._hostLView);if(Yt(e)){var t=qt(e,this._hostLView),n=Kt(e);return new mn(t[1].data[n+8],t)}return new mn(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=Pl(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-we}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var a=n||this.parentInjector;if(!r&&null==e.ngModule&&a){var o=a.get(El,null);o&&(r=o)}var s=e.create(a,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,i=n[1];if(Ie(n[3])){var r=this.indexOf(e);if(-1!==r)this.detach(r);else{var a=n[3],o=new Ll(a,a[6],a[3]);o.detach(o.indexOf(e))}}var s=this._adjustIndex(t),l=this._lContainer;!function(e,t,n,i){var r=we+i,a=n.length;i>0&&(n[r-1][4]=t),i1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(Ml);function Pl(e){return e[8]}function Zl(e){return e[8]||(e[8]=[])}function zl(e,t){var n,i=t[e.index];if(Ie(i))n=i;else{var r;if(8&e.type)r=Be(i);else{var a=t[11];r=a.createComment("");var o=He(e,t);ur(a,fr(a,o),r,function(e,t){return Ge(e)?e.nextSibling(t):t.nextSibling}(a,o),!1)}t[e.index]=n=ya(i,t,r,e),ka(t,n)}return new Ll(n,e,t)}var xl={},Nl=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(e){var i;return(0,d.Z)(this,n),(i=t.call(this)).ngModule=e,i}return(0,f.Z)(n,[{key:"resolveComponentFactory",value:function(e){var t=Se(e);return new Wl(t,this.ngModule)}}]),n}(Bs);function Dl(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Fl=new Tn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Vi}}),Wl=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(e,i){var r;return(0,d.Z)(this,n),(r=t.call(this)).componentDef=e,r.ngModule=i,r.componentType=e.type,r.selector=e.selectors.map(xr).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!i,r}return(0,f.Z)(n,[{key:"inputs",get:function(){return Dl(this.componentDef.inputs)}},{key:"outputs",get:function(){return Dl(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,i){var r,a,o=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,r){var a=e.get(n,xl,r);return a!==xl||i===xl?a:t.get(n,i,r)}}}(e,i.injector):e,s=o.get(qs,$e),l=o.get(Js,null),u=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Ge(e))return e.selectRootElement(t,n===q.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(u,n,this.componentDef.encapsulation):ir(s.createRenderer(null,this.componentDef),c,function(e){var t=e.toLowerCase();return"svg"===t?De:"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:Vi,clean:Ca,playerHandler:null,flags:0},p=ra(0,null,null,1,0,null,null,null,null,null),v=Ur(null,p,d,f,null,null,s,u,l,o);Tt(v);try{var g=function(e,t,n,i,r,a){var o=n[1];n[20]=e;var s=Yr(o,20,2,"#host",null),l=s.mergedAttrs=t.hostAttrs;null!==l&&(Za(s,l,!0),null!==e&&($t(r,e,l),null!==s.classes&&wr(r,e,s.classes),null!==s.styles&&Tr(r,e,s.styles)));var u=i.createRenderer(e,t),c=Ur(n,ia(t),null,t.onPush?64:16,n[20],s,i,u,null,null);return o.firstCreatePass&&(an(en(s,n),o,t.type),ha(o,s),da(s,n.length,1)),ka(n,c),n[20]=c}(h,this.componentDef,v,s,u);if(h)if(n)$t(u,h,["ng-version",tl.full]);else{var m=function(e){for(var t=[],n=[],i=1,r=2;i0&&wr(u,h,_.join(" "))}if(a=Ue(p,Te),void 0!==t)for(var b=a.projection=[],S=0;S1&&void 0!==arguments[1]?arguments[1]:Xa.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:B.Default;return e===Xa||e===El||e===za?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(El),Bl=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(e){var i,r,a;return(0,d.Z)(this,n),(i=t.call(this)).moduleType=e,null!==ke(e)&&(r=e,a=new Set,function e(t){var n=ke(t,!0),i=n.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(w(t)," vs ").concat(w(t.name)))}(i,Gl.get(i),t),Gl.set(i,t));var r,o=Yi(n.imports),l=(0,s.Z)(o);try{for(l.s();!(r=l.n()).done;){var u=r.value;a.has(u)||(a.add(u),e(u))}}catch(c){l.e(c)}finally{l.f()}}(r)),i}return(0,f.Z)(n,[{key:"create",value:function(e){return new $l(this.moduleType,e)}}]),n}(Ol);function Vl(e,t,n){var i=dt()+e,r=it();return r[i]===Nr?uo(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function Hl(e,t,n,i){return Yl(it(),dt(),e,t,n,i)}function Ul(e,t){var n=e[t];return n===Nr?void 0:n}function Yl(e,t,n,i,r,a){var o=t+n;return co(e,o,r)?uo(e,o+1,a?i.call(a,r):i(r)):Ul(e,o+1)}function Kl(e,t){var n,i=rt(),r=e+Te;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new R("302","The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var a=n.factory||(n.factory=Me(n.type)),o=H(mo);try{var s=Qt(!1),l=a();return Qt(s),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(i,it(),r,l),l}finally{H(o)}}function ql(e,t,n){var i=e+Te,r=it(),a=Ye(r,i);return Jl(r,Ql(r,i)?Yl(r,dt(),t,a.transform,n,a):a.transform(n))}function Xl(e,t,n,i){var r=e+Te,a=it(),o=Ye(a,r);return Jl(a,Ql(a,r)?function(e,t,n,i,r,a,o){var s=t+n;return ho(e,s,r,a)?uo(e,s+2,o?i.call(o,r,a):i(r,a)):Ul(e,s+2)}(a,dt(),t,o.transform,n,i,o):o.transform(n,i))}function Ql(e,t){return e[1].data[t].pure}function Jl(e,t){return oo.isWrapped(t)&&(t=oo.unwrap(t),e[pt()]=Nr),t}function eu(e){return function(t){setTimeout(e,void 0,t)}}var tu=function(e){(0,p.Z)(n,e);var t=(0,v.Z)(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,d.Z)(this,n),(e=t.call(this)).__isAsync=i,e}return(0,f.Z)(n,[{key:"emit",value:function(e){(0,i.Z)((0,r.Z)(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,a){var o,s,l,u=e,c=t||function(){return null},h=a;if(e&&"object"==typeof e){var f=e;u=null===(o=f.next)||void 0===o?void 0:o.bind(f),c=null===(s=f.error)||void 0===s?void 0:s.bind(f),h=null===(l=f.complete)||void 0===l?void 0:l.bind(f)}this.__isAsync&&(c=eu(c),u&&(u=eu(u)),h&&(h=eu(h)));var d=(0,i.Z)((0,r.Z)(n.prototype),"subscribe",this).call(this,{next:u,error:c,complete:h});return e instanceof m.w&&e.add(d),d}}]),n}(y.xQ);function nu(){return this._results[ao()]()}var iu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(0,d.Z)(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=ao(),i=e.prototype;i[n]||(i[n]=nu)}return(0,f.Z)(e,[{key:"changes",get:function(){return this._changes||(this._changes=new tu)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){var n=this;n.dirty=!1;var i=In(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];(0,d.Z)(this,e),this.queries=t}return(0,f.Z)(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],a=0;a2&&void 0!==arguments[2]?arguments[2]:null;(0,d.Z)(this,e),this.predicate=t,this.flags=n,this.read=i},su=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(0,d.Z)(this,e),this.queries=t}return(0,f.Z)(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;(0,d.Z)(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return(0,f.Z)(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i0)i.push(o[s/2]);else{for(var u=a[s+1],c=t[-l],h=we;h0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(e){return e.timeoutId!==r}),e(i._didWork,i.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(jn(Gu))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e}(),qu=function(){var e=function(){function e(){(0,d.Z)(this,e),this._applications=new Map,Ju.addToWindow(this)}return(0,f.Z)(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Ju.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e}();function Xu(e){Ju=e}var Qu,Ju=new(function(){function e(){(0,d.Z)(this,e)}return(0,f.Z)(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),ec=!0,tc=!1;function nc(){return tc=!0,ec}function ic(){if(tc)throw new Error("Cannot enable prod mode after platform setup.");ec=!1}var rc=function(e,t,n){var i=new Bl(n);return Promise.resolve(i)},ac=new Tn("AllowMultipleToken"),oc=function e(t,n){(0,d.Z)(this,e),this.name=t,this.token=n};function sc(e){if(Qu&&!Qu.destroyed&&!Qu.injector.get(ac,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Qu=e.get(hc);var t=e.get(Iu,null);return t&&t.forEach(function(e){return e()}),Qu}function lc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(t),r=new Tn(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=cc();if(!a||a.injector.get(ac,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var o=n.concat(t).concat({provide:r,useValue:!0},{provide:Na,useValue:"platform"});sc(Xa.create({providers:o,name:i}))}return uc(r)}}function uc(e){var t=cc();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function cc(){return Qu&&!Qu.destroyed?Qu:null}var hc=function(){var e=function(){function e(t){(0,d.Z)(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return(0,f.Z)(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,a=(i={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===(n=t?t.ngZone:void 0)?new Yu:("zone.js"===n?void 0:n)||new Gu({enableLongStackTrace:nc(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})),o=[{provide:Gu,useValue:a}];return a.run(function(){var t=Xa.create({providers:o,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(Bi,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(function(){var e=a.onError.subscribe({next:function(e){i.handleError(e)}});n.onDestroy(function(){pc(r._modules,n),e.unsubscribe()})}),function(e,t,i){try{var a=((o=n.injector.get(ku)).runInitializers(),o.donePromise.then(function(){return Ms(n.injector.get(Ru,Rs)||Rs),r._moduleDoBootstrap(n),n}));return Io(a)?a.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):a}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var o}(i,a)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=fc({},n);return rc(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,i)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(dc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(w(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(jn(Xa))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e}();function fc(e,t){return Array.isArray(t)?t.reduce(fc,e):Object.assign(Object.assign({},e),t)}var dc=function(){var e=function(){function e(t,n,i,r,a){var o=this;(0,d.Z)(this,e),this._zone=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){o._zone.run(function(){o.tick()})}});var s=new _.y(function(e){o._stable=o._zone.isStable&&!o._zone.hasPendingMacrotasks&&!o._zone.hasPendingMicrotasks,o._zone.runOutsideAngular(function(){e.next(o._stable),e.complete()})}),l=new _.y(function(e){var t;o._zone.runOutsideAngular(function(){t=o._zone.onStable.subscribe(function(){Gu.assertNotInAngularZone(),ju(function(){o._stable||o._zone.hasPendingMacrotasks||o._zone.hasPendingMicrotasks||(o._stable=!0,e.next(!0))})})});var n=o._zone.onUnstable.subscribe(function(){Gu.assertInAngularZone(),o._stable&&(o._stable=!1,o._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=(0,b.T)(s,l.pipe((0,S.B)()))}return(0,f.Z)(e,[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Gs?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(El),a=n.create(Xa.NULL,[],t||n.selector,r),o=a.location.nativeElement,s=a.injector.get(Ku,null),l=s&&a.injector.get(qu);return s&&l&&l.registerApplication(o,s),a.onDestroy(function(){i.detachView(a.hostView),pc(i.components,a),l&&l.unregisterApplication(o)}),this._loadComponent(a),a}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=(0,s.Z)(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(i){n.e(i)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;pc(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Eu,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(jn(Gu),jn(Xa),jn(Bi),jn(Bs),jn(ku))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e}();function pc(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var vc=function e(){(0,d.Z)(this,e)},gc=function e(){(0,d.Z)(this,e)},mc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},yc=function(){var e=function(){function e(t,n){(0,d.Z)(this,e),this._compiler=t,this._config=n||mc}return(0,f.Z)(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,i=e.split("#"),r=(0,o.Z)(i,2),a=r[0],s=r[1];return void 0===s&&(s="default"),n(98255)(a).then(function(e){return e[s]}).then(function(e){return _c(e,a,s)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=e.split("#"),i=(0,o.Z)(t,2),r=i[0],a=i[1],s="NgFactory";return void 0===a&&(a="default",s=""),n(98255)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[a+s]}).then(function(e){return _c(e,r,a)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(jn(Fu),jn(gc,8))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e}();function _c(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var bc=function(e){return null},Sc=lc(null,"core",[{provide:Cu,useValue:"unknown"},{provide:hc,deps:[Xa]},{provide:qu,deps:[]},{provide:Ou,deps:[]}]),kc=[{provide:dc,useClass:dc,deps:[Gu,Xa,Bi,Bs,ku]},{provide:Fl,deps:[Gu],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:ku,useClass:ku,deps:[[new Kn,Su]]},{provide:Fu,useClass:Fu,deps:[]},wu,{provide:dl,useFactory:function(){return kl},deps:[]},{provide:vl,useFactory:function(){return Tl},deps:[]},{provide:Ru,useFactory:function(e){return Ms(e=e||"undefined"!=typeof $localize&&$localize.locale||Rs),e},deps:[[new Yn(Ru),new Kn,new qn]]},{provide:Mu,useValue:"USD"}],Tc=function(){var e=function e(t){(0,d.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)(jn(dc))},e.\u0275mod=ge({type:e}),e.\u0275inj=z({providers:kc}),e}()},31041:function(e,t,n){"use strict";n.d(t,{Wl:function(){return _},Zs:function(){return ut},gN:function(){return Q},Fj:function(){return k},on:function(){return ht},Oe:function(){return Ce},CE:function(){return Ye},qu:function(){return bt},NI:function(){return Ae},oH:function(){return Ge},u:function(){return Xe},cw:function(){return Ie},sg:function(){return Be},u5:function(){return mt},nD:function(){return dt},Cf:function(){return A},JU:function(){return m},a5:function(){return J},JJ:function(){return te},JL:function(){return ne},F:function(){return Re},On:function(){return Ze},YN:function(){return tt},c5:function(){return vt},_:function(){return Fe},UX:function(){return yt},Q7:function(){return lt},EJ:function(){return et},kI:function(){return E},_Y:function(){return ze},Kr:function(){return at}});var i=n(71357),r=n(72454),a=n(15121),o=n(28784),s=n(52250),l=n(31112),u=n(41998),c=n(93820),h=n(61116),f=n(19764),d=n(3148),p=n(79996),v=function(){var e=function(){function e(t,n){(0,l.Z)(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return(0,u.Z)(e,[{key:"setProperty",value:function(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"setDisabledState",value:function(e){this.setProperty("disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(c.Qsj),c.Y36(c.SBq))},e.\u0275dir=c.lG2({type:e}),e}(),g=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,l.Z)(this,n),t.apply(this,arguments)}return n}(v);return e.\u0275fac=function(){var t;return function(n){return(t||(t=c.n5z(e)))(n||e)}}(),e.\u0275dir=c.lG2({type:e,features:[c.qOj]}),e}(),m=new c.OlP("NgValueAccessor"),y={provide:m,useExisting:(0,c.Gpc)(function(){return _}),multi:!0},_=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,l.Z)(this,n),t.apply(this,arguments)}return(0,u.Z)(n,[{key:"writeValue",value:function(e){this.setProperty("checked",e)}}]),n}(g);return e.\u0275fac=function(){var t;return function(n){return(t||(t=c.n5z(e)))(n||e)}}(),e.\u0275dir=c.lG2({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&c.NdJ("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[c._Bn([y]),c.qOj]}),e}(),b={provide:m,useExisting:(0,c.Gpc)(function(){return k}),multi:!0},S=new c.OlP("CompositionEventMode"),k=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,r){var a,o;return(0,l.Z)(this,n),(a=t.call(this,e,i))._compositionMode=r,a._composing=!1,null==a._compositionMode&&(a._compositionMode=(o=(0,h.q)()?(0,h.q)().getUserAgent():"",!/android (\d+)/.test(o.toLowerCase()))),a}return(0,u.Z)(n,[{key:"writeValue",value:function(e){this.setProperty("value",null==e?"":e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),n}(v);return e.\u0275fac=function(t){return new(t||e)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(S,8))},e.\u0275dir=c.lG2({type:e,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(e,t){1&e&&c.NdJ("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[c._Bn([b]),c.qOj]}),e}();function T(e){return null==e||0===e.length}function w(e){return null!=e&&"number"==typeof e.length}var A=new c.OlP("NgValidators"),I=new c.OlP("NgAsyncValidators"),C=/^(?=.{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])?)*$/,E=function(){function e(){(0,l.Z)(this,e)}return(0,u.Z)(e,null,[{key:"min",value:function(e){return t=e,function(e){if(T(e.value)||T(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null};var t}},{key:"required",value:function(e){return O(e)}},{key:"requiredTrue",value:function(e){return R(e)}},{key:"email",value:function(e){return M(e)}},{key:"minLength",value:function(e){return t=e,function(e){return T(e.value)||!w(e.value)?null:e.value.lengthe?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}function P(e){return e?("string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),function(e){if(T(e.value))return null;var i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}):Z;var t,n}function Z(e){return null}function z(e){return null!=e}function x(e){var t=(0,c.QGY)(e)?(0,f.D)(e):e;return(0,c.CqO)(t),t}function N(e){var t={};return e.forEach(function(e){t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function D(e,t){return t.map(function(t){return t(e)})}function F(e){return e.map(function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}})}function W(e){if(!e)return null;var t=e.filter(z);return 0==t.length?null:function(e){return N(D(e,t))}}function j(e){return null!=e?W(F(e)):null}function G(e){if(!e)return null;var t=e.filter(z);return 0==t.length?null:function(e){var n=D(e,t).map(x);return(0,d.D)(n).pipe((0,p.U)(N))}}function $(e){return null!=e?G(F(e)):null}function B(e,t){return null===e?[t]:Array.isArray(e)?[].concat((0,a.Z)(e),[t]):[e,t]}function V(e){return e._rawValidators}function H(e){return e._rawAsyncValidators}function U(e){return e?Array.isArray(e)?e:[e]:[]}function Y(e,t){return Array.isArray(e)?e.includes(t):e===t}function K(e,t){var n=U(t);return U(e).forEach(function(e){Y(n,e)||n.push(e)}),n}function q(e,t){return U(t).filter(function(t){return!Y(e,t)})}var X=function(){var e=function(){function e(){(0,l.Z)(this,e),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return(0,u.Z)(e,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=j(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=$(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.lG2({type:e}),e}(),Q=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,l.Z)(this,n),t.apply(this,arguments)}return(0,u.Z)(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(X);return e.\u0275fac=function(){var t;return function(n){return(t||(t=c.n5z(e)))(n||e)}}(),e.\u0275dir=c.lG2({type:e,features:[c.qOj]}),e}(),J=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;return(0,l.Z)(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e}return n}(X),ee=function(){function e(t){(0,l.Z)(this,e),this._cd=t}return(0,u.Z)(e,[{key:"is",value:function(e){var t,n,i;return"submitted"===e?!!(null===(t=this._cd)||void 0===t?void 0:t.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[e])}}]),e}(),te=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e){return(0,l.Z)(this,n),t.call(this,e)}return n}(ee);return e.\u0275fac=function(t){return new(t||e)(c.Y36(J,2))},e.\u0275dir=c.lG2({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&c.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[c.qOj]}),e}(),ne=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e){return(0,l.Z)(this,n),t.call(this,e)}return n}(ee);return e.\u0275fac=function(t){return new(t||e)(c.Y36(Q,10))},e.\u0275dir=c.lG2({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&c.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[c.qOj]}),e}();function ie(e,t){return[].concat((0,a.Z)(t.path),[e])}function re(e,t){se(e,t),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ue(e,t)})}(e,t),function(e,t){var n=function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(function(){e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ue(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){var n=function(e){t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(function(){e._unregisterOnDisabledChange(n)})}}(e,t)}function ae(e,t){var n=function(){};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),le(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function oe(e,t){e.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function se(e,t){var n=V(e);null!==t.validator?e.setValidators(B(n,t.validator)):"function"==typeof n&&e.setValidators([n]);var i=H(e);null!==t.asyncValidator?e.setAsyncValidators(B(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);var r=function(){return e.updateValueAndValidity()};oe(t._rawValidators,r),oe(t._rawAsyncValidators,r)}function le(e,t){var n=!1;if(null!==e){if(null!==t.validator){var i=V(e);if(Array.isArray(i)&&i.length>0){var r=i.filter(function(e){return e!==t.validator});r.length!==i.length&&(n=!0,e.setValidators(r))}}if(null!==t.asyncValidator){var a=H(e);if(Array.isArray(a)&&a.length>0){var o=a.filter(function(e){return e!==t.asyncValidator});o.length!==a.length&&(n=!0,e.setAsyncValidators(o))}}}var s=function(){};return oe(t._rawValidators,s),oe(t._rawAsyncValidators,s),n}function ue(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ce(e,t){se(e,t)}function he(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function fe(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function de(e,t){if(!t)return null;Array.isArray(t);var n=void 0,i=void 0,r=void 0;return t.forEach(function(e){e.constructor===k?n=e:Object.getPrototypeOf(e.constructor)===g?i=e:r=e}),r||i||n||null}function pe(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var ve="VALID",ge="INVALID",me="PENDING",ye="DISABLED";function _e(e){return(Te(e)?e.validators:e)||null}function be(e){return Array.isArray(e)?j(e):e||null}function Se(e,t){return(Te(t)?t.asyncValidators:e)||null}function ke(e){return Array.isArray(e)?$(e):e||null}function Te(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var we=function(){function e(t,n){(0,l.Z)(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=be(this._rawValidators),this._composedAsyncValidatorFn=ke(this._rawAsyncValidators)}return(0,u.Z)(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===ve}},{key:"invalid",get:function(){return this.status===ge}},{key:"pending",get:function(){return this.status==me}},{key:"disabled",get:function(){return this.status===ye}},{key:"enabled",get:function(){return this.status!==ye}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=be(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=ke(e)}},{key:"addValidators",value:function(e){this.setValidators(K(e,this._rawValidators))}},{key:"addAsyncValidators",value:function(e){this.setAsyncValidators(K(e,this._rawAsyncValidators))}},{key:"removeValidators",value:function(e){this.setValidators(q(e,this._rawValidators))}},{key:"removeAsyncValidators",value:function(e){this.setAsyncValidators(q(e,this._rawAsyncValidators))}},{key:"hasValidator",value:function(e){return Y(this._rawValidators,e)}},{key:"hasAsyncValidator",value:function(e){return Y(this._rawAsyncValidators,e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=me,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status=ye,this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status=ve,this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==ve&&this.status!==me||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?ye:ve}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status=me,this._hasOwnPendingAsyncValidator=!0;var n=x(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach(function(e){i=i instanceof Ie?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof Ce&&i.at(e)||null}),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new c.vpe,this.statusChanges=new c.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?ye:this.errors?ge:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(me)?me:this._anyControlsHaveStatus(ge)?ge:ve}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){Te(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),Ae=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return(0,l.Z)(this,n),(e=t.call(this,_e(r),Se(a,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!e.asyncValidator}),e}return(0,u.Z)(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){pe(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){pe(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(we),Ie=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,r){var a;return(0,l.Z)(this,n),(a=t.call(this,_e(i),Se(r,i))).controls=e,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!!a.asyncValidator}),a}return(0,u.Z)(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(Object.keys(e).forEach(function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof Ae?t.value:t.getRawValue(),e})}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach(function(n){var i=t.controls[n];i&&e(i,n)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(we),Ce=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,r){var a;return(0,l.Z)(this,n),(a=t.call(this,_e(i),Se(r,i))).controls=e,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!!a.asyncValidator}),a}return(0,u.Z)(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach(function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(e.forEach(function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map(function(e){return e instanceof Ae?e.value:e.getRawValue()})}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=(0,r.Z)(this.controls);try{for(t.s();!(e=t.n()).done;)if(e.value.enabled)return!1}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),n}(we),Ee={provide:Q,useExisting:(0,c.Gpc)(function(){return Re})},Oe=function(){return Promise.resolve(null)}(),Re=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i){var r;return(0,l.Z)(this,n),(r=t.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new c.vpe,r.form=new Ie({},j(e),$(i)),r}return(0,u.Z)(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;Oe.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),re(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;Oe.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),pe(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;Oe.then(function(){var n=t._findContainer(e.path),i=new Ie({});ce(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;Oe.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;Oe.then(function(){n.form.get(e.path).setValue(t)})}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,fe(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}]),n}(Q);return e.\u0275fac=function(t){return new(t||e)(c.Y36(A,10),c.Y36(I,10))},e.\u0275dir=c.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&c.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([Ee]),c.qOj]}),e}(),Me=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,l.Z)(this,n),t.apply(this,arguments)}return(0,u.Z)(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return ie(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}}]),n}(Q);return e.\u0275fac=function(){var t;return function(n){return(t||(t=c.n5z(e)))(n||e)}}(),e.\u0275dir=c.lG2({type:e,features:[c.qOj]}),e}(),Le={provide:J,useExisting:(0,c.Gpc)(function(){return Ze})},Pe=function(){return Promise.resolve(null)}(),Ze=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,r,a,o){var s;return(0,l.Z)(this,n),(s=t.call(this)).control=new Ae,s._registered=!1,s.update=new c.vpe,s._parent=e,s._setValidators(r),s._setAsyncValidators(a),s.valueAccessor=de((0,i.Z)(s),o),s}return(0,u.Z)(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),he(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?ie(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){re(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(e){var t=this;Pe.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;Pe.then(function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()})}}]),n}(J);return e.\u0275fac=function(t){return new(t||e)(c.Y36(Q,9),c.Y36(A,10),c.Y36(I,10),c.Y36(m,10))},e.\u0275dir=c.lG2({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[c._Bn([Le]),c.qOj,c.TTD]}),e}(),ze=function(){var e=function e(){(0,l.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),xe={provide:m,useExisting:(0,c.Gpc)(function(){return Fe}),multi:!0},Ne=function(){var e=function e(){(0,l.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({}),e}(),De=function(){var e=function(){function e(){(0,l.Z)(this,e),this._accessors=[]}return(0,u.Z)(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,c.Yz7)({factory:function(){return new e},token:e,providedIn:Ne}),e}(),Fe=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,r,a){var o;return(0,l.Z)(this,n),(o=t.call(this,e,i))._registry=r,o._injector=a,o.onChange=function(){},o}return(0,u.Z)(n,[{key:"ngOnInit",value:function(){this._control=this._injector.get(J),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this.setProperty("checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"_checkName",value:function(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(De),c.Y36(c.zs3))},e.\u0275dir=c.lG2({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&c.NdJ("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[c._Bn([xe]),c.qOj]}),e}(),We=new c.OlP("NgModelWithFormControlWarning"),je={provide:J,useExisting:(0,c.Gpc)(function(){return Ge})},Ge=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,r,a,o){var s;return(0,l.Z)(this,n),(s=t.call(this))._ngModelWarningConfig=o,s.update=new c.vpe,s._ngModelWarningSent=!1,s._setValidators(e),s._setAsyncValidators(r),s.valueAccessor=de((0,i.Z)(s),a),s}return(0,u.Z)(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){if(this._isControlChanged(e)){var t=e.form.previousValue;t&&ae(t,this),re(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}he(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&ae(this.form,this)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}}]),n}(J);return e.\u0275fac=function(t){return new(t||e)(c.Y36(A,10),c.Y36(I,10),c.Y36(m,10),c.Y36(We,8))},e.\u0275dir=c.lG2({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[c._Bn([je]),c.qOj,c.TTD]}),e._ngModelWarningSentOnce=!1,e}(),$e={provide:Q,useExisting:(0,c.Gpc)(function(){return Be})},Be=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i){var r;return(0,l.Z)(this,n),(r=t.call(this)).validators=e,r.asyncValidators=i,r.submitted=!1,r._onCollectionChange=function(){return r._updateDomValue()},r.directives=[],r.form=null,r.ngSubmit=new c.vpe,r._setValidators(e),r._setAsyncValidators(i),r}return(0,u.Z)(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(le(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return re(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){ae(e.control||null,e),pe(this.directives,e)}},{key:"addFormGroup",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormGroup",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormArray",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,fe(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach(function(t){var n=t.control,i=e.form.get(t.path);n!==i&&(ae(n||null,t),i instanceof Ae&&(re(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(e){var t=this.form.get(e.path);ce(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(e){if(this.form){var t=this.form.get(e.path);t&&function(e,t){return le(e,t)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){se(this.form,this),this._oldForm&&le(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(Q);return e.\u0275fac=function(t){return new(t||e)(c.Y36(A,10),c.Y36(I,10))},e.\u0275dir=c.lG2({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&c.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c._Bn([$e]),c.qOj,c.TTD]}),e}(),Ve={provide:Q,useExisting:(0,c.Gpc)(function(){return He})},He=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,r){var a;return(0,l.Z)(this,n),(a=t.call(this))._parent=e,a._setValidators(i),a._setAsyncValidators(r),a}return(0,u.Z)(n,[{key:"_checkParentType",value:function(){Ke(this._parent)}}]),n}(Me);return e.\u0275fac=function(t){return new(t||e)(c.Y36(Q,13),c.Y36(A,10),c.Y36(I,10))},e.\u0275dir=c.lG2({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[c._Bn([Ve]),c.qOj]}),e}(),Ue={provide:Q,useExisting:(0,c.Gpc)(function(){return Ye})},Ye=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,r){var a;return(0,l.Z)(this,n),(a=t.call(this))._parent=e,a._setValidators(i),a._setAsyncValidators(r),a}return(0,u.Z)(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return ie(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"_checkParentType",value:function(){Ke(this._parent)}}]),n}(Q);return e.\u0275fac=function(t){return new(t||e)(c.Y36(Q,13),c.Y36(A,10),c.Y36(I,10))},e.\u0275dir=c.lG2({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[c._Bn([Ue]),c.qOj]}),e}();function Ke(e){return!(e instanceof He||e instanceof Be||e instanceof Ye)}var qe={provide:J,useExisting:(0,c.Gpc)(function(){return Xe})},Xe=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,r,a,o,s){var u;return(0,l.Z)(this,n),(u=t.call(this))._ngModelWarningConfig=s,u._added=!1,u.update=new c.vpe,u._ngModelWarningSent=!1,u._parent=e,u._setValidators(r),u._setAsyncValidators(a),u.valueAccessor=de((0,i.Z)(u),o),u}return(0,u.Z)(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),he(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"path",get:function(){return ie(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),n}(J);return e.\u0275fac=function(t){return new(t||e)(c.Y36(Q,13),c.Y36(A,10),c.Y36(I,10),c.Y36(m,10),c.Y36(We,8))},e.\u0275dir=c.lG2({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[c._Bn([qe]),c.qOj,c.TTD]}),e._ngModelWarningSentOnce=!1,e}(),Qe={provide:m,useExisting:(0,c.Gpc)(function(){return et}),multi:!0};function Je(e,t){return null==e?"".concat(t):(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var et=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;return(0,l.Z)(this,n),(e=t.apply(this,arguments))._optionMap=new Map,e._idCounter=0,e._compareWith=Object.is,e}return(0,u.Z)(n,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this.setProperty("selectedIndex",-1);var n=Je(t,e);this.setProperty("value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var i=[];if(void 0!==n.selectedOptions)for(var r=n.selectedOptions,a=0;a1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),i=null,r=null,a=void 0;return null!=t&&(_t(t)?(i=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,a=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new Ie(n,{asyncValidators:r,updateOn:a,validators:i})}},{key:"control",value:function(e,t,n){return new Ae(e,t,n)}},{key:"array",value:function(e,t,n){var i=this,r=e.map(function(e){return i._createControl(e)});return new Ce(r,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach(function(i){n[i]=t._createControl(e[i])}),n}},{key:"_createControl",value:function(e){return e instanceof Ae||e instanceof Ie||e instanceof Ce?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,c.Yz7)({factory:function(){return new e},token:e,providedIn:yt}),e}()},84369:function(e,t,n){"use strict";n.d(t,{zs:function(){return y},lW:function(){return m},ot:function(){return _}});var i=n(72454),r=n(41998),a=n(28784),o=n(52250),s=n(31112),l=n(87064),u=n(26136),c=n(93820),h=n(97388),f=["mat-button",""],d=["*"],p=".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",v=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],g=(0,l.pj)((0,l.Id)((0,l.Kr)(function e(t){(0,s.Z)(this,e),this._elementRef=t}))),m=function(){var e=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e,r,a){var o;(0,s.Z)(this,n),(o=t.call(this,e))._focusMonitor=r,o._animationMode=a,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var l,u=(0,i.Z)(v);try{for(u.s();!(l=u.n()).done;){var c=l.value;o._hasHostAttributes(c)&&o._getHostElement().classList.add(c)}}catch(h){u.e(h)}finally{u.f()}return e.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return(0,r.Z)(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:0;return function(e){(0,i.Z)(s,e);var n=(0,r.Z)(s);function s(){var e;(0,o.Z)(this,s);for(var i=arguments.length,r=new Array(i),a=0;a0?n:e}}]),e}(),M=new s.OlP("mat-date-formats"),L=function(){var e=function(){function e(){(0,o.Z)(this,e)}return(0,a.Z)(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Yz7({factory:function(){return new e},token:e,providedIn:"root"}),e}(),P=function(){var e=function e(){(0,o.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.lG2({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e}();function Z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";e.changes.pipe((0,v.O)(e)).subscribe(function(e){var i=e.length;z(t,"".concat(n,"-2-line"),!1),z(t,"".concat(n,"-3-line"),!1),z(t,"".concat(n,"-multi-line"),!1),2===i||3===i?z(t,"".concat(n,"-").concat(i,"-line"),!0):i>3&&z(t,"".concat(n,"-multi-line"),!0)})}function z(e,t,n){var i=e.nativeElement.classList;n?i.add(t):i.remove(t)}var x=function(){var e=function e(){(0,o.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[T],T]}),e}(),N=function(){function e(t,n,i){(0,o.Z)(this,e),this._renderer=t,this.element=n,this.config=i,this.state=3}return(0,a.Z)(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),D={enterDuration:450,exitDuration:400},F=(0,p.i$)({passive:!0}),W=["mousedown","touchstart"],j=["mouseup","mouseleave","touchend","touchcancel"],G=function(){function e(t,n,i,r){(0,o.Z)(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=(0,f.fI)(i))}return(0,a.Z)(e,[{key:"fadeInRipple",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},D),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var o=i.radius||B(e,t,r),s=e-r.left,l=t-r.top,u=a.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left="".concat(s-o,"px"),c.style.top="".concat(l-o,"px"),c.style.height="".concat(2*o,"px"),c.style.width="".concat(2*o,"px"),null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration="".concat(u,"ms"),this._containerElement.appendChild(c),$(c),c.style.transform="scale(1)";var h=new N(this,c,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var e=h===n._mostRecentTransientRipple;h.state=1,i.persistent||e&&n._isPointerDown||h.fadeOut()},u),h}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},D),e.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=(0,f.fI)(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(W))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(j),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=(0,l.X6)(e),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,F)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(W.forEach(function(t){e._triggerElement.removeEventListener(t,e,F)}),this._pointerUpEventsRegistered&&j.forEach(function(t){e._triggerElement.removeEventListener(t,e,F)}))}}]),e}();function $(e){window.getComputedStyle(e).getPropertyValue("opacity")}function B(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}var V=new s.OlP("mat-ripple-global-options"),H=function(){var e=function(){function e(t,n,i,r,a){(0,o.Z)(this,e),this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new G(this,n,t,i)}return(0,a.Z)(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(p.t4),s.Y36(V,8),s.Y36(g.Qb,8))},e.\u0275dir=s.lG2({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&s.ekj("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),U=function(){var e=function e(){(0,o.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[T,p.ud],T]}),e}(),Y=function(){var e=function e(t){(0,o.Z)(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1};return e.\u0275fac=function(t){return new(t||e)(s.Y36(g.Qb,8))},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&s.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e}(),K=function(){var e=function e(){(0,o.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[T]]}),e}(),q=new s.OlP("MAT_OPTION_PARENT_COMPONENT"),X=w(function e(){(0,o.Z)(this,e)}),Q=0,J=function(){var e=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e){var i,r;return(0,o.Z)(this,n),(i=t.call(this))._labelId="mat-optgroup-label-".concat(Q++),i._inert=null!==(r=null==e?void 0:e.inertGroups)&&void 0!==r&&r,i}return n}(X);return e.\u0275fac=function(t){return new(t||e)(s.Y36(q,8))},e.\u0275dir=s.lG2({type:e,inputs:{label:"label"},features:[s.qOj]}),e}(),ee=new s.OlP("MatOptgroup"),te=0,ne=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,o.Z)(this,e),this.source=t,this.isUserInput=n},ie=function(){var e=function(){function e(t,n,i,r){(0,o.Z)(this,e),this._element=t,this._changeDetectorRef=n,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(te++),this.onSelectionChange=new s.vpe,this._stateChanges=new d.xQ}return(0,a.Z)(e,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=(0,f.Ig)(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){e.keyCode!==m.K5&&e.keyCode!==m.L_||(0,m.Vb)(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new ne(this,e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(void 0),s.Y36(J))},e.\u0275dir=s.lG2({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),re=function(){var e=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e,i,r,a){return(0,o.Z)(this,n),t.call(this,e,i,r,a)}return n}(ie);return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(q,8),s.Y36(ee,8))},e.\u0275cmp=s.Xpm({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&s.NdJ("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(s.Ikx("id",t.id),s.uIk("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),s.ekj("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[s.qOj],ngContentSelectors:b,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(s.F$t(),s.YNc(0,y,1,2,"mat-pseudo-checkbox",0),s.TgZ(1,"span",1),s.Hsn(2),s.qZA(),s.YNc(3,_,2,1,"span",2),s._UZ(4,"div",3)),2&e&&(s.Q6J("ngIf",t.multiple),s.xp6(3),s.Q6J("ngIf",t.group&&t.group._inert),s.xp6(1),s.Q6J("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[h.O5,H,Y],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}();function ae(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),a=0,o=0;on+i?Math.max(0,e-i+t):n}var se=function(){var e=function e(){(0,o.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[U,h.ez,T,K]]}),e}()},92935:function(e,t,n){"use strict";n.d(t,{WI:function(){return M},uw:function(){return x},H8:function(){return j},ZT:function(){return D},xY:function(){return W},Is:function(){return $},so:function(){return O},uh:function(){return F}});var i=n(41998),r=n(28784),a=n(52250),o=n(31112),s=n(35333),l=n(82151),u=n(93820),c=n(87064),h=n(94720),f=n(61116),d=n(55959),p=n(31450),v=n(40878),g=n(43835),m=n(90611),y=n(56238),_=n(93169),b=n(99713),S=n(99235),k=n(97388);function T(e,t){}var w=function e(){(0,o.Z)(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},A={dialogContainer:(0,b.X$)("dialogContainer",[(0,b.SB)("void, exit",(0,b.oB)({opacity:0,transform:"scale(0.7)"})),(0,b.SB)("enter",(0,b.oB)({transform:"none"})),(0,b.eR)("* => enter",(0,b.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,b.oB)({transform:"none",opacity:1}))),(0,b.eR)("* => void, * => exit",(0,b.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,b.oB)({opacity:0})))])},I=function(){var e=function(e){(0,r.Z)(n,e);var t=(0,a.Z)(n);function n(e,i,r,a,s,l){var c;return(0,o.Z)(this,n),(c=t.call(this))._elementRef=e,c._focusTrapFactory=i,c._changeDetectorRef=r,c._config=s,c._focusMonitor=l,c._animationStateChanged=new u.vpe,c._elementFocusedBeforeDialogWasOpened=null,c._closeInteractionType=null,c.attachDomPortal=function(e){return c._portalOutlet.hasAttached(),c._portalOutlet.attachDomPortal(e)},c._ariaLabelledBy=s.ariaLabelledBy||null,c._document=a,c}return(0,i.Z)(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=(0,_.ht)(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,_.ht)())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=(0,_.ht)();return e===t||e.contains(t)}}]),n}(l.en);return e.\u0275fac=function(t){return new(t||e)(u.Y36(u.SBq),u.Y36(k.qV),u.Y36(u.sBO),u.Y36(f.K0,8),u.Y36(w),u.Y36(k.tE))},e.\u0275dir=u.lG2({type:e,viewQuery:function(e,t){var n;1&e&&u.Gf(l.Pl,7),2&e&&u.iGM(n=u.CRH())&&(t._portalOutlet=n.first)},features:[u.qOj]}),e}(),C=function(){var e=function(e){(0,r.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;return(0,o.Z)(this,n),(e=t.apply(this,arguments))._state="enter",e}return(0,i.Z)(n,[{key:"_onAnimationDone",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(I);return e.\u0275fac=function(){var t;return function(n){return(t||(t=u.n5z(e)))(n||e)}}(),e.\u0275cmp=u.Xpm({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&u.WFA("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(u.Ikx("id",t._id),u.uIk("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),u.d8E("@dialogContainer",t._state))},features:[u.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&u.YNc(0,T,0,0,"ng-template",0)},directives:[l.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:[A.dialogContainer]}}),e}(),E=0,O=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(E++);(0,o.Z)(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new d.xQ,this._afterClosed=new d.xQ,this._beforeClosed=new d.xQ,this._state=0,n._id=r,n._animationStateChanged.pipe((0,g.h)(function(e){return"opened"===e.state}),(0,m.q)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe((0,g.h)(function(e){return"closed"===e.state}),(0,m.q)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),t.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),t.keydownEvents().pipe((0,g.h)(function(e){return e.keyCode===S.hY&&!i.disableClose&&!(0,S.Vb)(e)})).subscribe(function(e){e.preventDefault(),R(i,"keyboard")}),t.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():R(i,"mouse")})}return(0,i.Z)(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe((0,g.h)(function(e){return"closing"===e.state}),(0,m.q)(1)).subscribe(function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function R(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}var M=new u.OlP("MatDialogData"),L=new u.OlP("mat-dialog-default-options"),P=new u.OlP("mat-dialog-scroll-strategy"),Z={provide:P,deps:[s.aV],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},z=function(){var e=function(){function e(t,n,i,r,a,s,l,u,c){var h=this;(0,o.Z)(this,e),this._overlay=t,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=a,this._dialogRefConstructor=l,this._dialogContainerType=u,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new d.xQ,this._afterOpenedAtThisLevel=new d.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,p.P)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe((0,y.O)(void 0))}),this._scrollStrategy=s}return(0,i.Z)(e,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new w)).id&&this.getDialogById(t.id);var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),a=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe(function(){return n._removeOpenDialog(a)}),this.afterOpened.next(a),r._initializeWithAttachedContent(),a}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find(function(t){return t.id===e})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new s.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}},{key:"_attachDialogContainer",value:function(e,t){var n=u.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:w,useValue:t}]}),i=new l.C5(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,i){var r=new this._dialogRefConstructor(n,t,i.id);if(e instanceof u.Rgc)t.attachTemplatePortal(new l.UE(e,null,{$implicit:i.data,dialogRef:r}));else{var a=this._createInjector(i,r,t),o=t.attachComponentPortal(new l.C5(e,i.viewContainerRef,a));r.componentInstance=o.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(h.Is,null)||r.push({provide:h.Is,useValue:{value:e.direction,change:(0,v.of)()}}),u.zs3.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(s.aV),u.Y36(u.zs3),u.Y36(void 0),u.Y36(void 0),u.Y36(s.Xj),u.Y36(void 0),u.Y36(u.DyG),u.Y36(u.DyG),u.Y36(u.OlP))},e.\u0275dir=u.lG2({type:e}),e}(),x=function(){var e=function(e){(0,r.Z)(n,e);var t=(0,a.Z)(n);function n(e,i,r,a,s,l,u){return(0,o.Z)(this,n),t.call(this,e,i,a,l,u,s,O,C,M)}return n}(z);return e.\u0275fac=function(t){return new(t||e)(u.LFG(s.aV),u.LFG(u.zs3),u.LFG(f.Ye,8),u.LFG(L,8),u.LFG(P),u.LFG(e,12),u.LFG(s.Xj))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac}),e}(),N=0,D=function(){var e=function(){function e(t,n,i){(0,o.Z)(this,e),this.dialogRef=t,this._elementRef=n,this._dialog=i,this.type="button"}return(0,i.Z)(e,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=G(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(e){var t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}},{key:"_onButtonClick",value:function(e){R(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(O,8),u.Y36(u.SBq),u.Y36(x))},e.\u0275dir=u.lG2({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&u.NdJ("click",function(e){return t._onButtonClick(e)}),2&e&&u.uIk("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[u.TTD]}),e}(),F=function(){var e=function(){function e(t,n,i){(0,o.Z)(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-".concat(N++)}return(0,i.Z)(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=G(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(O,8),u.Y36(u.SBq),u.Y36(x))},e.\u0275dir=u.lG2({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&u.Ikx("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),W=function(){var e=function e(){(0,o.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=u.lG2({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}(),j=function(){var e=function e(){(0,o.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=u.lG2({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e}();function G(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(function(e){return e.id===n.id}):null}var $=function(){var e=function e(){(0,o.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=u.oAB({type:e}),e.\u0275inj=u.cJS({providers:[x,Z],imports:[[s.U8,l.eL,c.BQ],c.BQ]}),e}()},13070:function(e,t,n){"use strict";n.d(t,{G_:function(){return ie},o2:function(){return ne},TO:function(){return G},KE:function(){return re},Eo:function(){return B},lN:function(){return ae},bx:function(){return U},hX:function(){return Y},qo:function(){return X},R9:function(){return J}});var i=n(15121),r=n(41998),a=n(28784),o=n(52250),s=n(31112),l=n(27853),u=n(61116),c=n(93820),h=n(87064),f=n(19861),d=n(55959),p=n(31906),v=n(87254),g=n(56238),m=n(25416),y=n(90611),_=n(99713),b=n(26136),S=n(94720),k=n(93169),T=["underline"],w=["connectionContainer"],A=["inputContainer"],I=["label"];function C(e,t){1&e&&(c.ynx(0),c.TgZ(1,"div",14),c._UZ(2,"div",15),c._UZ(3,"div",16),c._UZ(4,"div",17),c.qZA(),c.TgZ(5,"div",18),c._UZ(6,"div",15),c._UZ(7,"div",16),c._UZ(8,"div",17),c.qZA(),c.BQk())}function E(e,t){1&e&&(c.TgZ(0,"div",19),c.Hsn(1,1),c.qZA())}function O(e,t){if(1&e&&(c.ynx(0),c.Hsn(1,2),c.TgZ(2,"span"),c._uU(3),c.qZA(),c.BQk()),2&e){var n=c.oxw(2);c.xp6(3),c.Oqu(n._control.placeholder)}}function R(e,t){1&e&&c.Hsn(0,3,["*ngSwitchCase","true"])}function M(e,t){1&e&&(c.TgZ(0,"span",23),c._uU(1," *"),c.qZA())}function L(e,t){if(1&e){var n=c.EpF();c.TgZ(0,"label",20,21),c.NdJ("cdkObserveContent",function(){return c.CHM(n),c.oxw().updateOutlineGap()}),c.YNc(2,O,4,1,"ng-container",12),c.YNc(3,R,1,0,"ng-content",12),c.YNc(4,M,2,0,"span",22),c.qZA()}if(2&e){var i=c.oxw();c.ekj("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),c.Q6J("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),c.uIk("for",i._control.id)("aria-owns",i._control.id),c.xp6(2),c.Q6J("ngSwitchCase",!1),c.xp6(1),c.Q6J("ngSwitchCase",!0),c.xp6(1),c.Q6J("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function P(e,t){1&e&&(c.TgZ(0,"div",24),c.Hsn(1,4),c.qZA())}function Z(e,t){if(1&e&&(c.TgZ(0,"div",25,26),c._UZ(2,"span",27),c.qZA()),2&e){var n=c.oxw();c.xp6(2),c.ekj("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function z(e,t){if(1&e&&(c.TgZ(0,"div"),c.Hsn(1,5),c.qZA()),2&e){var n=c.oxw();c.Q6J("@transitionMessages",n._subscriptAnimationState)}}function x(e,t){if(1&e&&(c.TgZ(0,"div",31),c._uU(1),c.qZA()),2&e){var n=c.oxw(2);c.Q6J("id",n._hintLabelId),c.xp6(1),c.Oqu(n.hintLabel)}}function N(e,t){if(1&e&&(c.TgZ(0,"div",28),c.YNc(1,x,2,2,"div",29),c.Hsn(2,6),c._UZ(3,"div",30),c.Hsn(4,7),c.qZA()),2&e){var n=c.oxw();c.Q6J("@transitionMessages",n._subscriptAnimationState),c.xp6(1),c.Q6J("ngIf",n.hintLabel)}}var D=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],F=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],W=0,j=new c.OlP("MatError"),G=function(){var e=function e(t,n){(0,s.Z)(this,e),this.id="mat-error-".concat(W++),t||n.nativeElement.setAttribute("aria-live","polite")};return e.\u0275fac=function(t){return new(t||e)(c.$8M("aria-live"),c.Y36(c.SBq))},e.\u0275dir=c.lG2({type:e,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&c.uIk("id",t.id)},inputs:{id:"id"},features:[c._Bn([{provide:j,useExisting:e}])]}),e}(),$={transitionMessages:(0,_.X$)("transitionMessages",[(0,_.SB)("enter",(0,_.oB)({opacity:1,transform:"translateY(0%)"})),(0,_.eR)("void => enter",[(0,_.oB)({opacity:0,transform:"translateY(-5px)"}),(0,_.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},B=function(){var e=function e(){(0,s.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.lG2({type:e}),e}(),V=0,H=new c.OlP("MatHint"),U=function(){var e=function e(){(0,s.Z)(this,e),this.align="start",this.id="mat-hint-".concat(V++)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.lG2({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(c.uIk("id",t.id)("align",null),c.ekj("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[c._Bn([{provide:H,useExisting:e}])]}),e}(),Y=function(){var e=function e(){(0,s.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.lG2({type:e,selectors:[["mat-label"]]}),e}(),K=function(){var e=function e(){(0,s.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.lG2({type:e,selectors:[["mat-placeholder"]]}),e}(),q=new c.OlP("MatPrefix"),X=function(){var e=function e(){(0,s.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.lG2({type:e,selectors:[["","matPrefix",""]],features:[c._Bn([{provide:q,useExisting:e}])]}),e}(),Q=new c.OlP("MatSuffix"),J=function(){var e=function e(){(0,s.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.lG2({type:e,selectors:[["","matSuffix",""]],features:[c._Bn([{provide:Q,useExisting:e}])]}),e}(),ee=0,te=(0,h.pj)(function e(t){(0,s.Z)(this,e),this._elementRef=t},"primary"),ne=new c.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ie=new c.OlP("MatFormField"),re=function(){var e=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e,i,r,a,o,l,u,c){var h;return(0,s.Z)(this,n),(h=t.call(this,e))._elementRef=e,h._changeDetectorRef=i,h._dir=a,h._defaults=o,h._platform=l,h._ngZone=u,h._outlineGapCalculationNeededImmediately=!1,h._outlineGapCalculationNeededOnStable=!1,h._destroyed=new d.xQ,h._showAlwaysAnimate=!1,h._subscriptAnimationState="",h._hintLabel="",h._hintLabelId="mat-hint-".concat(ee++),h._labelId="mat-form-field-label-".concat(ee++),h.floatLabel=h._getDefaultFloatLabelState(),h._animationsEnabled="NoopAnimations"!==c,h.appearance=o&&o.appearance?o.appearance:"legacy",h._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,h}return(0,r.Z)(n,[{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=(0,f.Ig)(e)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe((0,g.O)(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe((0,m.R)(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe((0,m.R)(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),(0,p.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,g.O)(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,g.O)(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,m.R)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,v.R)(this._label.nativeElement,"transitionend").pipe((0,y.q)(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,(0,i.Z)(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,n=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push.apply(e,(0,i.Z)(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(o),l=e.children,u=this._getStartEnd(l[0].getBoundingClientRect()),c=0,h=0;h0?.75*c+10:0}for(var f=0;f1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(l.q3G.RESOURCE_URL,e);if(!n)throw I(e);var i=this._cachedIconsByUrl.get(n);return i?(0,f.of)(R(i)):this._loadSvgIconFromConfig(new E(e,null)).pipe((0,g.b)(function(e){return t._cachedIconsByUrl.set(n,e)}),(0,m.U)(function(e){return R(e)}))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=M(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(t,e))return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(0,d._)(A(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgText?(0,f.of)(R(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe((0,m.U)(function(e){return R(e)}))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,i=this._extractIconWithNameFromAnySet(e,t);if(i)return(0,f.of)(i);var r=t.filter(function(e){return!e.svgText}).map(function(e){return n._loadSvgIconSetFromConfig(e).pipe((0,y.K)(function(t){var i=n._sanitizer.sanitize(l.q3G.RESOURCE_URL,e.url),r="Loading icon set URL: ".concat(i," failed: ").concat(t.message);return n._errorHandler.handleError(new Error(r)),(0,f.of)(null)}))});return(0,p.D)(r).pipe((0,m.U)(function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw A(e);return i}))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgText&&i.svgText.indexOf(e)>-1){var r=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(r,e,i.options);if(a)return a}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchIcon(e).pipe((0,g.b)(function(t){return e.svgText=t}),(0,m.U)(function(){return t._svgElementFromConfig(e)}))}},{key:"_loadSvgIconSetFromConfig",value:function(e){return e.svgText?(0,f.of)(null):this._fetchIcon(e).pipe((0,g.b)(function(t){return e.svgText=t}))}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var i=e.querySelector('[id="'.concat(t,'"]'));if(!i)return null;var 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);var a=this._svgElementFromString("");return a.appendChild(r),this._setSvgAttributes(a,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error(" tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString(""),n=e.attributes,i=0;i void",(0,M.IO)("@transformPanel",[(0,M.pV)()],{optional:!0}))]),transformPanel:(0,M.X$)("transformPanel",[(0,M.SB)("void",(0,M.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,M.SB)("showing",(0,M.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,M.SB)("showing-multiple",(0,M.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,M.eR)("void => *",(0,M.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,M.eR)("* => void",(0,M.jt)("100ms 25ms linear",(0,M.oB)({opacity:0})))])},B=0,V=256,H=new d.OlP("mat-select-scroll-strategy"),U=new d.OlP("MAT_SELECT_CONFIG"),Y={provide:H,deps:[h.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},K=function e(t,n){(0,c.Z)(this,e),this.source=t,this.value=n},q=(0,p.Kr)((0,p.sb)((0,p.Id)((0,p.FD)(function e(t,n,i,r,a){(0,c.Z)(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=a})))),X=new d.OlP("MatSelectTrigger"),Q=function(){var e=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i,r,o,l,u,h,f,p,v,g,m,y,_){var b,O,R,M;return(0,c.Z)(this,n),(b=t.call(this,l,o,h,f,v))._viewportRuler=e,b._changeDetectorRef=i,b._ngZone=r,b._dir=u,b._parentFormField=p,b.ngControl=v,b._liveAnnouncer=y,b._defaultOptions=_,b._panelOpen=!1,b._compareWith=function(e,t){return e===t},b._uid="mat-select-".concat(B++),b._triggerAriaLabelledBy=null,b._destroy=new S.xQ,b._onChange=function(){},b._onTouched=function(){},b._valueId="mat-select-value-".concat(B++),b._panelDoneAnimatingStream=new S.xQ,b._overlayPanelClass=(null===(O=b._defaultOptions)||void 0===O?void 0:O.overlayPanelClass)||"",b._focused=!1,b.controlType="mat-select",b._required=!1,b._multiple=!1,b._disableOptionCentering=null!==(M=null===(R=b._defaultOptions)||void 0===R?void 0:R.disableOptionCentering)&&void 0!==M&&M,b.ariaLabel="",b.optionSelectionChanges=(0,k.P)(function(){var e=b.options;return e?e.changes.pipe((0,w.O)(e),(0,A.w)(function(){return T.T.apply(void 0,(0,a.Z)(e.map(function(e){return e.onSelectionChange})))})):b._ngZone.onStable.pipe((0,I.q)(1),(0,A.w)(function(){return b.optionSelectionChanges}))}),b.openedChange=new d.vpe,b._openedStream=b.openedChange.pipe((0,C.h)(function(e){return e}),(0,E.U)(function(){})),b._closedStream=b.openedChange.pipe((0,C.h)(function(e){return!e}),(0,E.U)(function(){})),b.selectionChange=new d.vpe,b.valueChange=new d.vpe,b.ngControl&&(b.ngControl.valueAccessor=(0,s.Z)(b)),null!=(null==_?void 0:_.typeaheadDebounceInterval)&&(b._typeaheadDebounceInterval=_.typeaheadDebounceInterval),b._scrollStrategyFactory=m,b._scrollStrategy=b._scrollStrategyFactory(),b.tabIndex=parseInt(g)||0,b.id=b.id,b}return(0,o.Z)(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=(0,y.Ig)(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=(0,y.Ig)(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=(0,y.Ig)(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=(0,y.su)(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new _.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,O.x)(),(0,R.R)(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe((0,R.R)(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe((0,w.O)(null),(0,R.R)(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=t===b.JH||t===b.LH||t===b.oh||t===b.SV,i=t===b.K5||t===b.L_,r=this._keyManager;if(!r.isTyping()&&i&&!(0,b.Vb)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var a=this.selected;r.onKeydown(e);var o=this.selected;o&&a!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=n===b.JH||n===b.LH,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||n!==b.K5&&n!==b.L_||!t.activeItem||(0,b.Vb)(e))if(!r&&this._multiple&&n===b.A&&e.ctrlKey){e.preventDefault();var a=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(a?e.select():e.deselect())})}else{var o=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==o&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this._overlayDir.positionChange.pipe((0,I.q)(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this._selectionModel.selected.forEach(function(e){return e.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(e){return t._selectValue(e)}),this._sortValues();else{var n=this._selectValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find(function(n){if(t._selectionModel.isSelected(n))return!1;try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new m.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,R.R)(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe((0,R.R)(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,t=(0,T.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,R.R)(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),T.T.apply(void 0,(0,a.Z)(this.options.map(function(e){return e._stateChanges}))).pipe((0,R.R)(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),n}(q);return e.\u0275fac=function(t){return new(t||e)(d.Y36(g.rL),d.Y36(d.sBO),d.Y36(d.R0b),d.Y36(p.rD),d.Y36(d.SBq),d.Y36(L.Is,8),d.Y36(P.F,8),d.Y36(P.sg,8),d.Y36(v.G_,8),d.Y36(P.a5,10),d.$8M("tabindex"),d.Y36(H),d.Y36(m.Kd),d.Y36(U,8))},e.\u0275dir=d.lG2({type:e,viewQuery:function(e,t){var n;1&e&&(d.Gf(Z,5),d.Gf(z,5),d.Gf(h.pI,5)),2&e&&(d.iGM(n=d.CRH())&&(t.trigger=n.first),d.iGM(n=d.CRH())&&(t.panel=n.first),d.iGM(n=d.CRH())&&(t._overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[d.qOj,d.TTD]}),e}(),J=function(){var e=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;return(0,c.Z)(this,n),(e=t.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return(0,o.Z)(n,[{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"ngOnInit",value:function(){var e=this;(0,i.Z)((0,r.Z)(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe((0,R.R)(this._destroy)).subscribe(function(){e.panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var e=this;(0,i.Z)((0,r.Z)(n.prototype),"_canOpen",this).call(this)&&((0,i.Z)((0,r.Z)(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(function(){e._triggerFontSize&&e._overlayDir.overlayRef&&e._overlayDir.overlayRef.overlayElement&&(e._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(e){var t=(0,p.CB)(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=(0,p.jH)((e+t)*n,n,this.panel.nativeElement.scrollTop,V)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),(0,i.Z)((0,r.Z)(n.prototype),"_panelDoneAnimating",this).call(this,e)}},{key:"_getChangeEvent",value:function(e){return new K(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var a=this._selectionModel.selected[0]||this.options.first;e=a&&a.group?32:16}i||(e*=-1);var o=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);o>0?e+=o+8:s>0&&(e-=s+8),this._overlayDir.offsetX=Math.round(e),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,r=this._getItemHeight(),a=(r-this._triggerRect.height)/2,o=Math.floor(V/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-V)%r):t-r/2,Math.round(-1*i-a))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*t,V)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>i?this._adjustPanelDown(a,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,V),r=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=(0,p.CB)(e,this.options,this.optionGroups);var a=i/2;this._scrollTop=this._calculateOverlayScroll(e,a,r),this._offsetY=this._calculateOverlayOffsetY(e,a,r),this._checkOverlayWithinViewport(r)}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2,n=Math.abs(this._offsetY)-t+e/2;return"50% ".concat(n,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(Q);return e.\u0275fac=function(){var t;return function(n){return(t||(t=d.n5z(e)))(n||e)}}(),e.\u0275cmp=d.Xpm({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;1&e&&(d.Suo(n,X,5),d.Suo(n,p.ey,5),d.Suo(n,p.K7,5)),2&e&&(d.iGM(i=d.CRH())&&(t.customTrigger=i.first),d.iGM(i=d.CRH())&&(t.options=i),d.iGM(i=d.CRH())&&(t.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&d.NdJ("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(d.uIk("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),d.ekj("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d._Bn([{provide:v.Eo,useExisting:e},{provide:p.HF,useExisting:e}]),d.qOj],ngContentSelectors:G,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(d.F$t(j),d.TgZ(0,"div",0,1),d.NdJ("click",function(){return t.toggle()}),d.TgZ(3,"div",2),d.YNc(4,x,2,1,"span",3),d.YNc(5,F,3,2,"span",4),d.qZA(),d.TgZ(6,"div",5),d._UZ(7,"div",6),d.qZA(),d.qZA(),d.YNc(8,W,4,14,"ng-template",7),d.NdJ("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var n=d.MAs(1);d.uIk("aria-owns",t.panelOpen?t.id+"-panel":null),d.xp6(3),d.Q6J("ngSwitch",t.empty),d.uIk("id",t._valueId),d.xp6(1),d.Q6J("ngSwitchCase",!0),d.xp6(1),d.Q6J("ngSwitchCase",!1),d.xp6(3),d.Q6J("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[h.xu,f.RF,f.n9,h.pI,f.ED,f.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:[$.transformPanelWrap,$.transformPanel]},changeDetection:0}),e}(),ee=function(){var e=function e(){(0,c.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d.oAB({type:e}),e.\u0275inj=d.cJS({providers:[Y],imports:[[f.ez,h.U8,p.Ng,p.BQ],g.ZD,v.lN,p.Ng,p.BQ]}),e}()},63589:function(e,t,n){"use strict";n.d(t,{qD:function(){return k},ux:function(){return M},ZX:function(){return O},OX:function(){return A}});var i=n(28784),r=n(52250),a=n(41998),o=n(31112),s=n(35333),l=n(82151),u=n(61116),c=n(93820),h=n(87064),f=n(84369),d=n(55959),p=n(90611),v=n(25416),g=n(99713),m=n(97388),y=n(68494),_=n(93169);function b(e,t){if(1&e){var n=c.EpF();c.TgZ(0,"div",1),c.TgZ(1,"button",2),c.NdJ("click",function(){return c.CHM(n),c.oxw().action()}),c._uU(2),c.qZA(),c.qZA()}if(2&e){var i=c.oxw();c.xp6(2),c.Oqu(i.data.action)}}function S(e,t){}var k=new c.OlP("MatSnackBarData"),T=function e(){(0,o.Z)(this,e),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"},w=Math.pow(2,31)-1,A=function(){function e(t,n){var i=this;(0,o.Z)(this,e),this._overlayRef=n,this._afterDismissed=new d.xQ,this._afterOpened=new d.xQ,this._onAction=new d.xQ,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(function(){return i.dismiss()}),t._onExit.subscribe(function(){return i._finishDismiss()})}return(0,a.Z)(e,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(e){var t=this;this._durationTimeoutId=setTimeout(function(){return t.dismiss()},Math.min(e,w))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction}}]),e}(),I=function(){var e=function(){function e(t,n){(0,o.Z)(this,e),this.snackBarRef=t,this.data=n}return(0,a.Z)(e,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(A),c.Y36(k))},e.\u0275cmp=c.Xpm({type:e,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(e,t){1&e&&(c.TgZ(0,"span"),c._uU(1),c.qZA(),c.YNc(2,b,3,1,"div",0)),2&e&&(c.xp6(1),c.Oqu(t.data.message),c.xp6(1),c.Q6J("ngIf",t.hasAction))},directives:[u.O5,f.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}),e}(),C={snackBarState:(0,g.X$)("state",[(0,g.SB)("void, hidden",(0,g.oB)({transform:"scale(0.8)",opacity:0})),(0,g.SB)("visible",(0,g.oB)({transform:"scale(1)",opacity:1})),(0,g.eR)("* => visible",(0,g.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,g.eR)("* => void, * => hidden",(0,g.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,g.oB)({opacity:0})))])},E=function(){var e=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e,i,r,a,s){var l;return(0,o.Z)(this,n),(l=t.call(this))._ngZone=e,l._elementRef=i,l._changeDetectorRef=r,l._platform=a,l.snackBarConfig=s,l._announceDelay=150,l._destroyed=!1,l._onAnnounce=new d.xQ,l._onExit=new d.xQ,l._onEnter=new d.xQ,l._animationState="void",l.attachDomPortal=function(e){return l._assertNotAttached(),l._applySnackBarClasses(),l._portalOutlet.attachDomPortal(e)},l._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",l._platform.FIREFOX&&("polite"===l._live&&(l._role="status"),"assertive"===l._live&&(l._role="alert")),l}return(0,a.Z)(n,[{key:"attachComponentPortal",value:function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}},{key:"onAnimationEnd",value:function(e){var t=e.toState;if(("void"===t&&"void"!==e.fromState||"hidden"===t)&&this._completeExit(),"visible"===t){var n=this._onEnter;this._ngZone.run(function(){n.next(),n.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var e=this;this._ngZone.onMicrotaskEmpty.pipe((0,p.q)(1)).subscribe(function(){e._onExit.next(),e._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(function(t){return e.classList.add(t)}):e.classList.add(t)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var e=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){e._announceTimeoutId=setTimeout(function(){var t=e._elementRef.nativeElement.querySelector("[aria-hidden]"),n=e._elementRef.nativeElement.querySelector("[aria-live]");if(t&&n){var i=null;e._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(i=document.activeElement),t.removeAttribute("aria-hidden"),n.appendChild(t),null==i||i.focus(),e._onAnnounce.next(),e._onAnnounce.complete()}},e._announceDelay)})}}]),n}(l.en);return e.\u0275fac=function(t){return new(t||e)(c.Y36(c.R0b),c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(_.t4),c.Y36(T))},e.\u0275cmp=c.Xpm({type:e,selectors:[["snack-bar-container"]],viewQuery:function(e,t){var n;1&e&&c.Gf(l.Pl,7),2&e&&c.iGM(n=c.CRH())&&(t._portalOutlet=n.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,t){1&e&&c.WFA("@state.done",function(e){return t.onAnimationEnd(e)}),2&e&&c.d8E("@state",t._animationState)},features:[c.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,t){1&e&&(c.TgZ(0,"div",0),c.YNc(1,S,0,0,"ng-template",1),c.qZA(),c._UZ(2,"div")),2&e&&(c.xp6(2),c.uIk("aria-live",t._live)("role",t._role))},directives:[l.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]}}),e}(),O=function(){var e=function e(){(0,o.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[s.U8,l.eL,u.ez,f.ot,h.BQ],h.BQ]}),e}(),R=new c.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new T}}),M=function(){var e=function(){function e(t,n,i,r,a,s){(0,o.Z)(this,e),this._overlay=t,this._live=n,this._injector=i,this._breakpointObserver=r,this._parentSnackBar=a,this._defaultConfig=s,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=I,this.snackBarContainerComponent=E,this.handsetCssClass="mat-snack-bar-handset"}return(0,a.Z)(e,[{key:"_openedSnackBarRef",get:function(){var e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}},{key:"openFromComponent",value:function(e,t){return this._attach(e,t)}},{key:"openFromTemplate",value:function(e,t){return this._attach(e,t)}},{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:e,action:t},i.announcementMessage===e&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(e,t){var n=c.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:T,useValue:t}]}),i=new l.C5(this.snackBarContainerComponent,t.viewContainerRef,n),r=e.attach(i);return r.instance.snackBarConfig=t,r.instance}},{key:"_attach",value:function(e,t){var n=this,i=Object.assign(Object.assign(Object.assign({},new T),this._defaultConfig),t),r=this._createOverlay(i),a=this._attachSnackBarContainer(r,i),o=new A(a,r);if(e instanceof c.Rgc){var s=new l.UE(e,null,{$implicit:i.data,snackBarRef:o});o.instance=a.attachTemplatePortal(s)}else{var u=this._createInjector(i,o),h=new l.C5(e,void 0,u),f=a.attachComponentPortal(h);o.instance=f.instance}return this._breakpointObserver.observe(y.u3.HandsetPortrait).pipe((0,v.R)(r.detachments())).subscribe(function(e){var t=r.overlayElement.classList;e.matches?t.add(n.handsetCssClass):t.remove(n.handsetCssClass)}),i.announcementMessage&&a._onAnnounce.subscribe(function(){n._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(o,i),this._openedSnackBarRef=o,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(e,t){var n=this;e.afterDismissed().subscribe(function(){n._openedSnackBarRef==e&&(n._openedSnackBarRef=null),t.announcementMessage&&n._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe(function(){return e._dismissAfter(t.duration)})}},{key:"_createOverlay",value:function(e){var t=new s.X_;t.direction=e.direction;var n=this._overlay.position().global(),i="rtl"===e.direction,r="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!i||"end"===e.horizontalPosition&&i,a=!r&&"center"!==e.horizontalPosition;return r?n.left("0"):a?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)}},{key:"_createInjector",value:function(e,t){return c.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:A,useValue:t},{provide:k,useValue:e.data}]})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(s.aV),c.LFG(m.Kd),c.LFG(c.zs3),c.LFG(y.Yg),c.LFG(e,12),c.LFG(R))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(s.aV),c.LFG(m.Kd),c.LFG(c.gxx),c.LFG(y.Yg),c.LFG(e,12),c.LFG(R))},token:e,providedIn:O}),e}()},24311:function(e,t,n){"use strict";n.d(t,{gM:function(){return M},AV:function(){return Z}});var i=n(28784),r=n(52250),a=n(54568),o=n(31112),s=n(41998),l=n(35333),u=n(97388),c=n(61116),h=n(93820),f=n(87064),d=n(15693),p=n(19861),v=n(99235),g=n(68494),m=n(93169),y=n(82151),_=n(55959),b=n(25416),S=n(90611),k=n(99713),T=n(94720),w={tooltipState:(0,k.X$)("state",[(0,k.SB)("initial, void, hidden",(0,k.oB)({opacity:0,transform:"scale(0)"})),(0,k.SB)("visible",(0,k.oB)({transform:"scale(1)"})),(0,k.eR)("* => visible",(0,k.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,k.F4)([(0,k.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,k.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,k.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,k.eR)("* => hidden",(0,k.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,k.oB)({opacity:0})))])},A="tooltip-panel",I=(0,m.i$)({passive:!0}),C=new h.OlP("mat-tooltip-scroll-strategy"),E={provide:C,deps:[l.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},O=new h.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),R=function(){var e=function(){function e(t,n,i,r,a,s,l,u,c,h,f,d){var p=this;(0,o.Z)(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=a,this._platform=s,this._ariaDescriber=l,this._focusMonitor=u,this._dir=h,this._defaultOptions=f,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new _.xQ,this._handleKeydown=function(e){p._isTooltipVisible()&&e.keyCode===v.hY&&!(0,v.Vb)(e)&&(e.preventDefault(),e.stopPropagation(),p._ngZone.run(function(){return p.hide(0)}))},this._scrollStrategy=c,this._document=d,f&&(f.position&&(this.position=f.position),f.touchGestures&&(this.touchGestures=f.touchGestures)),h.change.pipe((0,b.R)(this._destroyed)).subscribe(function(){p._overlayRef&&p._updatePosition(p._overlayRef)}),a.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",p._handleKeydown)})}return(0,s.Z)(e,[{key:"position",get:function(){return this._position},set:function(e){var t;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(t=this._tooltipInstance)||void 0===t||t.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=(0,p.Ig)(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,b.R)(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(t){var n=(0,a.Z)(t,2);e.removeEventListener(n[0],n[1],I)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new y.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,b.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return n.positionChanges.pipe((0,b.R)(this._destroyed)).subscribe(function(t){e._updateCurrentPositionClass(t.connectionPair),e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run(function(){return e.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"".concat(this._cssClassPrefix,"-").concat(A),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,b.R)(this._destroyed)).subscribe(function(){return e._detach()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(e){var t=e.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();t.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}},{key:"_addOffset",value:function(e){return e}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?e={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={originX:"end",originY:"center"});var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?e={overlayX:"center",overlayY:"bottom"}:"below"==n?e={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={overlayX:"start",overlayY:"center"});var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,S.q)(1),(0,b.R)(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_updateCurrentPositionClass",value:function(e){var t,n=e.overlayY,i=e.originX;if((t="center"===n?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===n&&"top"===e.originY?"above":"below")!==this._currentPosition){var r=this._overlayRef;if(r){var a="".concat(this._cssClassPrefix,"-").concat(A,"-");r.removePanelClass(a+this._currentPosition),r.addPanelClass(a+t)}this._currentPosition=t}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){e._setupPointerExitEventsIfNeeded(),e.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var e,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return t.hide()}],["wheel",function(e){return t._wheelListener(e)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(e=this._passiveListeners).push.apply(e,n)}}},{key:"_addListeners",value:function(e){var t=this;e.forEach(function(e){var n=(0,a.Z)(e,2);t._elementRef.nativeElement.addEventListener(n[0],n[1],I)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=this._document.elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Y36(l.aV),h.Y36(h.SBq),h.Y36(d.mF),h.Y36(h.s_b),h.Y36(h.R0b),h.Y36(m.t4),h.Y36(u.$s),h.Y36(u.tE),h.Y36(void 0),h.Y36(T.Is),h.Y36(void 0),h.Y36(c.K0))},e.\u0275dir=h.lG2({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e}(),M=function(){var e=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e,i,r,a,s,l,u,c,h,f,d,p){var v;return(0,o.Z)(this,n),(v=t.call(this,e,i,r,a,s,l,u,c,h,f,d,p))._tooltipComponent=P,v}return n}(R);return e.\u0275fac=function(t){return new(t||e)(h.Y36(l.aV),h.Y36(h.SBq),h.Y36(d.mF),h.Y36(h.s_b),h.Y36(h.R0b),h.Y36(m.t4),h.Y36(u.$s),h.Y36(u.tE),h.Y36(C),h.Y36(T.Is,8),h.Y36(O,8),h.Y36(c.K0))},e.\u0275dir=h.lG2({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[h.qOj]}),e}(),L=function(){var e=function(){function e(t){(0,o.Z)(this,e),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new _.xQ}return(0,s.Z)(e,[{key:"show",value:function(e){var t=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){t._visibility="visible",t._showTimeoutId=void 0,t._markForCheck()},e)}},{key:"hide",value:function(e){var t=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){t._visibility="hidden",t._hideTimeoutId=void 0,t._markForCheck()},e)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Y36(h.sBO))},e.\u0275dir=h.lG2({type:e}),e}(),P=function(){var e=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e,i){var r;return(0,o.Z)(this,n),(r=t.call(this,e))._breakpointObserver=i,r._isHandset=r._breakpointObserver.observe(g.u3.Handset),r}return n}(L);return e.\u0275fac=function(t){return new(t||e)(h.Y36(h.sBO),h.Y36(g.Yg))},e.\u0275cmp=h.Xpm({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&h.NdJ("click",function(){return t._handleBodyInteraction()},!1,h.pYS)("auxclick",function(){return t._handleBodyInteraction()},!1,h.pYS),2&e&&h.Udp("zoom","visible"===t._visibility?1:null)},features:[h.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;1&e&&(h.TgZ(0,"div",0),h.NdJ("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),h.ALo(1,"async"),h._uU(2),h.qZA()),2&e&&(h.ekj("mat-tooltip-handset",null==(n=h.lcZ(1,5,t._isHandset))?null:n.matches),h.Q6J("ngClass",t.tooltipClass)("@state",t._visibility),h.xp6(2),h.Oqu(t.message))},directives:[c.mk],pipes:[c.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:[w.tooltipState]},changeDetection:0}),e}(),Z=function(){var e=function e(){(0,o.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=h.oAB({type:e}),e.\u0275inj=h.cJS({providers:[E],imports:[[u.rt,c.ez,l.U8,f.BQ],f.BQ,d.ZD]}),e}()},26136:function(e,t,n){"use strict";n.d(t,{Qb:function(){return Yt},PW:function(){return Qt}});var i=n(54568),r=n(31112),a=n(41998),o=n(28784),s=n(52250),l=n(93820),u=n(99624),c=n(99713),h=n(61532),f=n(43620),d=n(72454),p=n(15121);function v(){return"undefined"!=typeof window&&void 0!==window.document}function g(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function m(e){switch(e.length){case 0:return new c.ZN;case 1:return e[0];default:return new c.ZE(e)}}function y(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=[],s=[],l=-1,u=null;if(i.forEach(function(e){var n=e.offset,i=n==l,h=i&&u||{};Object.keys(e).forEach(function(n){var i=n,s=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,o),s){case c.k1:s=r[n];break;case c.l3:s=a[n];break;default:s=t.normalizeStyleValue(n,i,s,o)}h[i]=s}),i||s.push(h),u=h,l=n}),o.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(o.join(h)))}return s}function _(e,t,n,i){switch(t){case"start":e.onStart(function(){return i(n&&b(n,"start",e))});break;case"done":e.onDone(function(){return i(n&&b(n,"done",e))});break;case"destroy":e.onDestroy(function(){return i(n&&b(n,"destroy",e))})}}function b(e,t,n){var i=n.totalTime,r=S(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),a=e._data;return null!=a&&(r._data=a),r}function S(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function k(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function T(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var w=function(e,t){return!1},A=function(e,t){return!1},I=function(e,t,n){return[]},C=g();(C||"undefined"!=typeof Element)&&(w=v()?function(e,t){for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:function(e,t){return e.contains(t)},A=function(){if(C||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:A}(),I=function(e,t,n){var i=[];if(n)for(var r=e.querySelectorAll(t),a=0;a1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else H(e,n);return n}function Y(e,t,n){return n?t+":"+n+";":""}function K(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var a=r[1],o=r[2],s=r[3];t.push(fe(a,s)),"<"!=o[0]||a==ue&&s==ue||t.push(fe(s,a))}(e,r,i)}):r.push(n),r),animation:a,queryCount:t.queryCount,depCount:t.depCount,options:_e(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return se(n,e,t)}),options:_e(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,a=e.steps.map(function(e){t.currentTime=i;var a=se(n,e,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:a,options:_e(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return be(V(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=be(0,0,"");return r.dynamic=!0,r.strValue=i,r}return be((n=n||V(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:(0,c.oB)({});if(5==r.type)n=this.visitKeyframes(r,t);else{var a=e.styles,o=!1;if(!a){o=!0;var s={};i.easing&&(s.easing=i.easing),a=(0,c.oB)(s)}t.currentTime+=i.duration+i.delay;var l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==c.l3?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var i=!1,r=null;return n.forEach(function(e){if(ye(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var a in t)if(t[a].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,a=t.currentTime;i&&a>0&&(a-=i.duration+i.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(i){if(n._driver.validateStyleProperty(i)){var o,s,l,u=t.collectedStyles[t.currentQuerySelector],c=u[i],h=!0;c&&(a!=r&&a>=c.startTime&&r<=c.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(c.startTime,'ms" and "').concat(c.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(a,'ms" and "').concat(r,'ms"')),h=!1),a=c.startTime),h&&(u[i]={startTime:a,endTime:r}),t.options&&(o=t.errors,s=t.options.params||{},(l=ee(e[i])).length&&l.forEach(function(e){s.hasOwnProperty(e)||o.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,a=[],o=!1,s=!1,l=0,u=e.steps.map(function(e){var i=n._makeStyleAst(e,t),u=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(ye(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(ye(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),c=0;return null!=u&&(r++,c=i.offset=u),s=s||c<0||c>1,o=o||c0&&r0?r==f?1:h*r:a[r],s=o*v;t.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=o,i.styles.push(e)}),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:se(this,Q(e.animation),t),options:_e(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:_e(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:_e(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var a=function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return e==de});return t&&(e=e.replace(pe,"")),[e=e.replace(/@\*/g,W).replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,G),t]}(e.selector),o=(0,i.Z)(a,2),s=o[0],l=o[1];t.currentQuerySelector=n.length?n+" "+s:s,k(t.collectedStyles,t.currentQuerySelector,{});var u=se(this,Q(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:l,animation:u,originalSelector:e.selector,options:_e(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:V(e.timings,t.errors,!0);return{type:12,animation:se(this,Q(e.animation),t),timings:n,options:null}}}]),e}(),me=function e(t){(0,r.Z)(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function ye(e){return!Array.isArray(e)&&"object"==typeof e}function _e(e){var t;return e?(e=H(e)).params&&(e.params=(t=e.params)?H(t):null):e={},e}function be(e,t,n){return{duration:e,delay:t,easing:n}}function Se(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var ke=function(){function e(){(0,r.Z)(this,e),this._map=new Map}return(0,a.Z)(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,(0,p.Z)(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),Te=new RegExp(":enter","g"),we=new RegExp(":leave","g");function Ae(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new Ie).buildKeyframes(e,t,n,i,r,a,o,s,l,u)}var Ie=function(){function e(){(0,r.Z)(this,e)}return(0,a.Z)(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,a,o,s,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new ke;var c=new Ee(e,t,l,i,r,u,[]);c.options=s,c.currentTimeline.setStyles([a],null,c.errors,s),se(this,n,c);var h=c.timelines.filter(function(e){return e.containsAnimation()});if(h.length&&Object.keys(o).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([o],null,c.errors,s)}return h.length?h.map(function(e){return e.buildKeyframes()}):[Se(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?$(n.duration):null,a=null!=n.delay?$(n.delay):null;return 0!==r&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,r,a);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),se(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,a=e.options;if(a&&(a.params||a.delay)&&((r=t.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Ce);var o=$(a.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(function(e){return se(n,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,a=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(function(o){var s=t.createSubContext(e.options);a&&s.delayNextStep(a),se(n,o,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return V(t.params?te(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,a=t.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(function(e){a.forwardTime((e.offset||0)*r),a.setStyles(e.styles,e.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},a=r.delay?$(r.delay):0;a&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ce);var o=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach(function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);a&&s.delayNextStep(a),i===t.element&&(l=s.currentTimeline),se(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),s=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;se(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}]),e}(),Ce={},Ee=function(){function e(t,n,i,a,o,s,l,u){(0,r.Z)(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=a,this._leaveClassName=o,this.errors=s,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ce,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new Oe(this._driver,n,0),l.push(this.currentTimeline)}return(0,a.Z)(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=$(i.duration)),null!=i.delay&&(r.delay=$(i.delay));var a=i.params;if(a){var o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach(function(e){t&&o.hasOwnProperty(e)||(o[e]=te(a[e],o,n.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,a=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=Ce,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new Re(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,r,a){var o=[];if(i&&o.push(this.element),e.length>0){e=(e=e.replace(Te,"."+this._enterClassName)).replace(we,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),o.push.apply(o,(0,p.Z)(s))}return r||0!=o.length||a.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),o}}]),e}(),Oe=function(){function e(t,n,i,a){(0,r.Z)(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=a,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return(0,a.Z)(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||c.l3,t._currentKeyframe[e]=c.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var a=i&&i.params||{},o=function(e,t){var n,i={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){i[e]=c.l3}):U(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(o).forEach(function(e){var t=te(o[e],a,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:c.l3),r._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(a,o){var s=U(a,!0);Object.keys(s).forEach(function(e){var i=s[e];i==c.k1?t.add(e):i==c.l3&&n.add(e)}),i||(s.offset=o/e.duration),r.push(s)});var a=t.size?ne(t.values()):[],o=n.size?ne(n.values()):[];if(i){var s=r[0],l=H(s);s.offset=0,l.offset=1,r=[s,l]}return Se(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}}]),e}(),Re=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,a,o,s,l){var u,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return(0,r.Z)(this,n),(u=t.call(this,e,i,l.delay)).keyframes=a,u.preStyleProps=o,u.postStyleProps=s,u._stretchStartingKeyframe=c,u.timings={duration:l.duration,delay:l.delay,easing:l.easing},u}return(0,a.Z)(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var a=[],o=i+n,s=n/o,l=U(e[0],!1);l.offset=0,a.push(l);var u=U(e[0],!1);u.offset=Me(s),a.push(u);for(var c=e.length-1,h=1;h<=c;h++){var f=U(e[h],!1);f.offset=Me((n+f.offset*i)/o),a.push(f)}i=o,n=0,r="",e=a}return Se(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(Oe);function Me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var Le=function e(){(0,r.Z)(this,e)},Pe=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"normalizePropertyName",value:function(e,t){return re(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",a=n.toString().trim();if(Ze[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return a+r}}]),n}(Le),Ze=function(){return 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(","),t={},e.forEach(function(e){return t[e]=!0}),t;var e,t}();function ze(e,t,n,i,r,a,o,s,l,u,c,h,f){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:f}}var xe={},Ne=function(){function e(t,n,i){(0,r.Z)(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return(0,a.Z)(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some(function(e){return e(t,n,i,r)})}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],a=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):a}},{key:"build",value:function(e,t,n,i,r,a,o,s,l,u){var c=[],h=this.ast.options&&this.ast.options.params||xe,f=this.buildStyles(n,o&&o.params||xe,c),d=s&&s.params||xe,p=this.buildStyles(i,d,c),v=new Set,g=new Map,m=new Map,y="void"===i,_={params:Object.assign(Object.assign({},h),d)},b=u?[]:Ae(e,t,this.ast.animation,r,a,f,p,_,l,c),S=0;if(b.forEach(function(e){S=Math.max(e.duration+e.delay,S)}),c.length)return ze(t,this._triggerName,n,i,y,f,p,[],[],g,m,S,c);b.forEach(function(e){var n=e.element,i=k(g,n,{});e.preStyleProps.forEach(function(e){return i[e]=!0});var r=k(m,n,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),n!==t&&v.add(n)});var T=ne(v.values());return ze(t,this._triggerName,n,i,y,f,p,b,T,g,m,S)}}]),e}(),De=function(){function e(t,n,i){(0,r.Z)(this,e),this.styles=t,this.defaultParams=n,this.normalizer=i}return(0,a.Z)(e,[{key:"buildStyles",value:function(e,t){var n=this,i={},r=H(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var a=e;Object.keys(a).forEach(function(e){var o=a[e];o.length>1&&(o=te(o,r,t));var s=n.normalizer.normalizePropertyName(e,t);o=n.normalizer.normalizeStyleValue(e,s,o,t),i[s]=o})}}),i}}]),e}(),Fe=function(){function e(t,n,i){var a=this;(0,r.Z)(this,e),this.name=t,this.ast=n,this._normalizer=i,this.transitionFactories=[],this.states={},n.states.forEach(function(e){a.states[e.name]=new De(e.style,e.options&&e.options.params||{},i)}),We(this.states,"true","1"),We(this.states,"false","0"),n.transitions.forEach(function(e){a.transitionFactories.push(new Ne(t,e,a.states))}),this.fallbackTransition=new Ne(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return(0,a.Z)(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find(function(r){return r.match(e,t,n,i)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function We(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var je=new ke,Ge=function(){function e(t,n,i){(0,r.Z)(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return(0,a.Z)(e,[{key:"register",value:function(e,t){var n=[],i=ve(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=y(this._driver,this._normalizer,i,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],o=this._animations[e],s=new Map;if(o?(n=Ae(this._driver,t,o,N,D,{},{},r,je,a)).forEach(function(e){var t=k(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=i._driver.computeStyle(t,n,c.l3)})});var l=n.map(function(e){var t=s.get(e.element);return i._buildPlayer(e,{},t)}),u=m(l);return this._playersById[e]=u,u.onDestroy(function(){return i.destroy(e)}),this.players.push(u),u}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,i){var r=S(t,"","","");return _(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),$e="ng-animate-queued",Be="ng-animate-disabled",Ve=".ng-animate-disabled",He="ng-star-inserted",Ue=[],Ye={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ke={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qe=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,r.Z)(this,e),this.namespaceId=n;var i=t&&t.hasOwnProperty("value"),a=i?t.value:t;if(this.value=nt(a),i){var o=H(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return(0,a.Z)(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}}}]),e}(),Xe="void",Qe=new qe(Xe),Je=function(){function e(t,n,i){(0,r.Z)(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,st(n,this._hostClassName)}return(0,a.Z)(e,[{key:"listen",value:function(e,t,n,i){var r,a=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var o=k(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};o.push(s);var l=k(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(st(e,F),st(e,"ng-trigger-"+t),l[t]=Qe),function(){a._engine.afterFlush(function(){var e=o.indexOf(s);e>=0&&o.splice(e,1),a._triggers[t]||delete l[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this._getTrigger(t),o=new tt(this.id,t,e),s=this._engine.statesByElement.get(e);s||(st(e,F),st(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new qe(n,this.id),c=n&&n.hasOwnProperty("value");!c&&l&&u.absorbOptions(l.options),s[t]=u,l||(l=Qe);var h=u.value===Xe;if(h||l.value!==u.value){var f=k(this._engine.playersByElement,e,[]);f.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var d=a.matchTransition(l.value,u.value,e,u.params),p=!1;if(!d){if(!r)return;d=a.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:o,isFallbackTransition:p}),p||(st(e,$e),o.onStart(function(){lt(e,$e)})),o.onDone(function(){var t=i.players.indexOf(o);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}}),this.players.push(o),f.push(o),o}if(!ht(l.params,u.params)){var v=[],g=a.matchStyles(l.value,l.params,v),m=a.matchStyles(u.value,u.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(function(){X(e,g),q(e,m)})}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(t,n){delete t[e]}),this._elementListeners.forEach(function(n,i){t._elementListeners.set(i,n.filter(function(t){return t.name!=e}))})}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(e){return e.destroy()}),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,i=this._engine.driver.query(e,W,!0);i.forEach(function(e){if(!e.__ng_removed){var i=n._engine.fetchNamespacesByElement(e);i.size?i.forEach(function(n){return n.triggerLeaveAnimation(e,t,!1,!0)}):n.clearElementCache(e)}}),this._engine.afterFlushAnimationsDone(function(){return i.forEach(function(e){return n.clearElementCache(e)})})}},{key:"triggerLeaveAnimation",value:function(e,t,n,i){var r=this,a=this._engine.statesByElement.get(e);if(a){var o=[];if(Object.keys(a).forEach(function(t){if(r._triggers[t]){var n=r.trigger(e,t,Xe,i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&m(o).onDone(function(){return r._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(n&&i){var r=new Set;n.forEach(function(n){var a=n.name;if(!r.has(a)){r.add(a);var o=t._triggers[a].fallbackTransition,s=i[a]||Qe,l=new qe(Xe),u=new tt(t.id,a,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:a,transition:o,fromState:s,toState:l,player:u,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var n=this,i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var r=!1;if(i.totalAnimations){var a=i.players.length?i.playersByQueriedElement.get(e):[];if(a&&a.length)r=!0;else for(var o=e;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==Ye||(i.afterFlush(function(){return n.clearElementCache(e)}),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){st(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach(function(i){var r=i.player;if(!r.destroyed){var a=i.element,o=t._elementListeners.get(a);o&&o.forEach(function(t){if(t.name==i.triggerName){var n=S(a,i.triggerName,i.fromState.value,i.toState.value);n._data=e,_(i.player,t.phase,n,t.callback)}}),r.markedForDestroy?t._engine.afterFlush(function(){r.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(e,n){var i=e.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:t._engine.driver.containsElement(e.element,n.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(e){return e.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find(function(t){return t.element===e})||t}}]),e}(),et=function(){function e(t,n,i){(0,r.Z)(this,e),this.bodyNode=t,this.driver=n,this._normalizer=i,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=function(e,t){}}return(0,a.Z)(e,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(t){t.queued&&e.push(t)})}),e}},{key:"createNamespace",value:function(e,t){var n=new Je(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(a,1)}if(e){var o=this._fetchNamespace(e);o&&o.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),st(e,Be)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),lt(e,Be))}},{key:"removeNode",value:function(e,t,n,i){if(it(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return it(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,W,!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,G,!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return m(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Ye,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,Ve)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Ve,!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;R--)this._namespaceList[R].drainQueuedTransitions(t).forEach(function(e){var t=e.player,a=e.element;if(E.push(t),n.collectedEnterElements.length){var c=a.__ng_removed;if(c&&c.setForMove)return void t.destroy()}var h=!f||!n.driver.containsElement(f,a),d=I.get(a),p=g.get(a),v=n._buildInstruction(e,i,p,d,h);if(v.errors&&v.errors.length)O.push(v);else{if(h)return t.onStart(function(){return X(a,v.fromStyles)}),t.onDestroy(function(){return q(a,v.toStyles)}),void r.push(t);if(e.isFallbackTransition)return t.onStart(function(){return X(a,v.fromStyles)}),t.onDestroy(function(){return q(a,v.toStyles)}),void r.push(t);v.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(a,v.timelines),o.push({instruction:v,player:t,element:a}),v.queriedElements.forEach(function(e){return k(s,e,[]).push(t)}),v.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var i=l.get(t);i||l.set(t,i=new Set),n.forEach(function(e){return i.add(e)})}}),v.postStyleProps.forEach(function(e,t){var n=Object.keys(e),i=u.get(t);i||u.set(t,i=new Set),n.forEach(function(e){return i.add(e)})})}});if(O.length){var M=[];O.forEach(function(e){M.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return M.push("- ".concat(e,"\n"))})}),E.forEach(function(e){return e.destroy()}),this.reportError(M)}var L=new Map,P=new Map;o.forEach(function(e){var t=e.element;i.has(t)&&(P.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,L))}),r.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){k(L,t,[]).push(e),e.destroy()})});var Z=_.filter(function(e){return ft(e,l,u)}),z=new Map;at(z,this.driver,S,u,c.l3).forEach(function(e){ft(e,l,u)&&Z.push(e)});var x=new Map;v.forEach(function(e,t){at(x,n.driver,new Set(e),l,c.k1)}),Z.forEach(function(e){var t=z.get(e),n=x.get(e);z.set(e,Object.assign(Object.assign({},t),n))});var F=[],W=[],j={};o.forEach(function(e){var t=e.element,o=e.player,s=e.instruction;if(i.has(t)){if(h.has(t))return o.onDestroy(function(){return q(t,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var l=j;if(P.size>1){for(var u=t,c=[];u=u.parentNode;){var f=P.get(u);if(f){l=f;break}c.push(u)}c.forEach(function(e){return P.set(e,l)})}var d=n._buildAnimation(o.namespaceId,s,L,a,x,z);if(o.setRealPlayer(d),l===j)F.push(o);else{var p=n.playersByElement.get(l);p&&p.length&&(o.parentPlayer=m(p)),r.push(o)}}else X(t,s.fromStyles),o.onDestroy(function(){return q(t,s.toStyles)}),W.push(o),h.has(t)&&r.push(o)}),W.forEach(function(e){var t=a.get(e.element);if(t&&t.length){var n=m(t);e.setRealPlayer(n)}}),r.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var $=0;$<_.length;$++){var B=_[$],V=B.__ng_removed;if(lt(B,D),!V||!V.hasAnimation){var H=[];if(s.size){var U=s.get(B);U&&U.length&&H.push.apply(H,(0,p.Z)(U));for(var Y=this.driver.query(B,G,!0),K=0;K0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new c.ZN(e.duration,e.delay)}}]),e}(),tt=function(){function e(t,n,i){(0,r.Z)(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new c.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return(0,a.Z)(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return _(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){k(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function nt(e){return null!=e?e:null}function it(e){return e&&1===e.nodeType}function rt(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function at(e,t,n,i,r){var a=[];n.forEach(function(e){return a.push(rt(e))});var o=[];i.forEach(function(n,i){var a={};n.forEach(function(e){var n=a[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Ke,o.push(i))}),e.set(i,a)});var s=0;return n.forEach(function(e){return rt(e,a[s++])}),o}function ot(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var i=new Set(t),r=new Map;function a(e){if(!e)return 1;var t=r.get(e);if(t)return t;var o=e.parentNode;return t=n.has(o)?o:i.has(o)?1:a(o),r.set(e,t),t}return t.forEach(function(e){var t=a(e);1!==t&&n.get(t).push(e)}),n}function st(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function lt(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function ut(e,t,n){m(n).onDone(function(){return e.processLeaveNode(t)})}function ct(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function pt(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=gt(t[0]),t.length>1&&(i=gt(t[t.length-1]))):t&&(n=gt(t)),n||i?new vt(e,n,i):null}var vt=function(){var e=function(){function e(t,n,i){(0,r.Z)(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var a=e.initialStylesByElement.get(t);a||e.initialStylesByElement.set(t,a={}),this._initialStyles=a}return(0,a.Z)(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&q(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(q(this._element,this._initialStyles),this._endStyles&&(q(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),q(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function gt(e){for(var t=null,n=Object.keys(e),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),wt(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(i=Tt(n=It(e=this._element,"").split(","),t))>=0&&(n.splice(i,1),At(e,"",n.join(","))))}}]),e}();function St(e,t,n){At(e,"PlayState",n,kt(e,t))}function kt(e,t){var n=It(e,"");return n.indexOf(",")>0?Tt(n.split(","),t):Tt([n],t)}function Tt(e,t){for(var n=0;n=0)return n;return-1}function wt(e,t,n){n?e.removeEventListener(_t,t):e.addEventListener(_t,t)}function At(e,t,n,i){var r=yt+t;if(null!=i){var a=e.style[r];if(a.length){var o=a.split(",");o[i]=n,n=o.join(",")}}e.style[r]=n}function It(e,t){return e.style[yt+t]||""}var Ct=function(){function e(t,n,i,a,o,s,l,u){(0,r.Z)(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=a,this._delay=o,this._finalStyles=l,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=a+o,this._buildStyler()}return(0,a.Z)(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new bt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:le(e.element,i))})}this.currentSnapshot=t}}]),e}(),Et=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i){var a;return(0,r.Z)(this,n),(a=t.call(this)).element=e,a._startingStyles={},a.__initialized=!1,a._styles=Z(i),a}return(0,a.Z)(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),(0,h.Z)((0,f.Z)(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),(0,h.Z)((0,f.Z)(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,(0,h.Z)((0,f.Z)(n.prototype),"destroy",this).call(this))}}]),n}(c.ZN),Ot="gen_css_kf_",Rt=function(){function e(){(0,r.Z)(this,e),this._count=0}return(0,a.Z)(e,[{key:"validateStyleProperty",value:function(e){return R(e)}},{key:"matchesElement",value:function(e,t){return M(e,t)}},{key:"containsElement",value:function(e,t){return L(e,t)}},{key:"query",value:function(e,t,n){return P(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return Z(e)});var i="@keyframes ".concat(t," {\n"),r="";n.forEach(function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}}),i+="".concat(r,"}\n")}),i+="}\n";var a=document.createElement("style");return a.textContent=i,a}},{key:"animate",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=a.filter(function(e){return e instanceof Ct}),s={};ae(n,i)&&o.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var l=Lt(t=oe(e,t,s));if(0==n)return new Et(e,l);var u="".concat(Ot).concat(this._count++),c=this.buildKeyframeElement(e,u,t),h=Mt(e);h.appendChild(c);var f=pt(e,t),d=new Ct(e,t,u,n,i,r,l,f);return d.onDestroy(function(){return Pt(c)}),d}}]),e}();function Mt(e){var t,n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head}function Lt(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}function Pt(e){e.parentNode.removeChild(e)}var Zt=function(){function e(t,n,i,a){(0,r.Z)(this,e),this.element=t,this.keyframes=n,this.options=i,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return(0,a.Z)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:le(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),zt=function(){function e(){(0,r.Z)(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(xt().toString()),this._cssKeyframesDriver=new Rt}return(0,a.Z)(e,[{key:"validateStyleProperty",value:function(e){return R(e)}},{key:"matchesElement",value:function(e,t){return M(e,t)}},{key:"containsElement",value:function(e,t){return L(e,t)}},{key:"query",value:function(e,t,n){return P(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0,s=!o&&!this._isNativeImpl;if(s)return this._cssKeyframesDriver.animate(e,t,n,i,r,a);var l=0==i?"both":"forwards",u={duration:n,delay:i,fill:l};r&&(u.easing=r);var c={},h=a.filter(function(e){return e instanceof Zt});ae(n,i)&&h.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return c[e]=t[e]})});var f=pt(e,t=oe(e,t=t.map(function(e){return U(e,!1)}),c));return new Zt(e,t,u,f)}}]),e}();function xt(){return v()&&Element.prototype.animate||{}}var Nt=n(61116),Dt=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i){var a;return(0,r.Z)(this,n),(a=t.call(this))._nextAnimationId=0,a._renderer=e.createRenderer(i.body,{id:"0",encapsulation:l.ifc.None,styles:[],data:{animation:[]}}),a}return(0,a.Z)(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?(0,c.vP)(e):e;return jt(this._renderer,null,t,"register",[n]),new Ft(t,this._renderer)}}]),n}(c._j);return e.\u0275fac=function(t){return new(t||e)(l.LFG(l.FYo),l.LFG(Nt.K0))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac}),e}(),Ft=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i){var a;return(0,r.Z)(this,n),(a=t.call(this))._id=e,a._renderer=i,a}return(0,a.Z)(n,[{key:"create",value:function(e,t){return new Wt(this._id,e,t||{},this._renderer)}}]),n}(c.LC),Wt=function(){function e(t,n,i,a){(0,r.Z)(this,e),this.id=t,this.element=n,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return(0,a.Z)(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&e3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,i){this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){t.charAt(0)==Gt&&t==$t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),Ht=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,a,o){var s;return(0,r.Z)(this,n),(s=t.call(this,i,a,o)).factory=e,s.namespaceId=i,s}return(0,a.Z)(n,[{key:"setProperty",value:function(e,t,n){t.charAt(0)==Gt?"."==t.charAt(1)&&t==$t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var r,a,o=this;if(t.charAt(0)==Gt){var s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),l=t.substr(1),u="";if(l.charAt(0)!=Gt){var c=(a=(r=l).indexOf("."),[r.substring(0,a),r.substr(a+1)]),h=(0,i.Z)(c,2);l=h[0],u=h[1]}return this.engine.listen(this.namespaceId,s,l,u,function(e){o.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}]),n}(Vt),Ut=function(){var e=function(e){(0,o.Z)(n,e);var t=(0,s.Z)(n);function n(e,i,a){return(0,r.Z)(this,n),t.call(this,e.body,i,a)}return(0,a.Z)(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(dt);return e.\u0275fac=function(t){return new(t||e)(l.LFG(Nt.K0),l.LFG(x),l.LFG(Le))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac}),e}(),Yt=new l.OlP("AnimationModuleType"),Kt=[{provide:c._j,useClass:Dt},{provide:Le,useFactory:function(){return new Pe}},{provide:dt,useClass:Ut},{provide:l.FYo,useFactory:function(e,t,n){return new Bt(e,t,n)},deps:[u.se,dt,l.R0b]}],qt=[{provide:x,useFactory:function(){return"function"==typeof xt()?new zt:new Rt}},{provide:Yt,useValue:"BrowserAnimations"}].concat(Kt),Xt=[{provide:x,useClass:z},{provide:Yt,useValue:"NoopAnimations"}].concat(Kt),Qt=function(){var e=function(){function e(){(0,r.Z)(this,e)}return(0,a.Z)(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:t.disableAnimations?Xt:qt}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l.oAB({type:e}),e.\u0275inj=l.cJS({providers:qt,imports:[u.b2]}),e}()},99624:function(e,t,n){"use strict";n.d(t,{b2:function(){return H},H7:function(){return j},Dx:function(){return Y},q6:function(){return B},se:function(){return M}});var i,r=n(61532),a=n(43620),o=n(41998),s=n(31112),l=n(28784),u=n(52250),c=n(61116),h=n(93820),f=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(){return(0,s.Z)(this,n),t.apply(this,arguments)}return(0,o.Z)(n,[{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){e.parentNode&&e.parentNode.removeChild(e)}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getBaseHref",value:function(e){var t=(d=d||document.querySelector("base"))?d.getAttribute("href"):null;return null==t?null:function(e){(i=i||document.createElement("a")).setAttribute("href",e);var t=i.pathname;return"/"===t.charAt(0)?t:"/".concat(t)}(t)}},{key:"resetBaseElement",value:function(){d=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(e){return(0,c.Mx)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){(0,c.HT)(new n)}}]),n}(function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;return(0,s.Z)(this,n),(e=t.apply(this,arguments)).supportsDOMEvents=!0,e}return n}(c.w_)),d=null,p=new h.OlP("TRANSITION_ID"),v=[{provide:h.ip1,useFactory:function(e,t,n){return function(){n.get(h.CZH).donePromise.then(function(){for(var n=(0,c.q)(),i=t.querySelectorAll('style[ng-transition="'.concat(e,'"]')),r=0;r1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},h.dqk.getAllAngularTestabilities=function(){return e.getAllTestabilities()},h.dqk.getAllAngularRootElements=function(){return e.getAllRootElements()},h.dqk.frameworkStabilizers||(h.dqk.frameworkStabilizers=[]),h.dqk.frameworkStabilizers.push(function(e){var t=h.dqk.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach(function(e){e.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?(0,c.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){(0,h.VLi)(new e)}}]),e}(),m=function(){var e=function(){function e(){(0,s.Z)(this,e)}return(0,o.Z)(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=h.Yz7({token:e,factory:e.\u0275fac}),e}(),y=new h.OlP("EventManagerPlugins"),_=function(){var e=function(){function e(t,n){var i=this;(0,s.Z)(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=i}),this._plugins=t.slice().reverse()}return(0,o.Z)(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i-1&&(t.splice(n,1),a+=e+".")}),a+=r,0!=t.length||0===r.length)return null;var o={};return o.domEventName=i,o.fullKey=a,o}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&D.hasOwnProperty(t)&&(t=D[t]))}return N[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),x.forEach(function(i){i!=n&&(0,F[i])(e)&&(t+=i+".")}),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded(function(){return t(r)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(h.LFG(c.K0))},e.\u0275prov=h.Yz7({token:e,factory:e.\u0275fac}),e}(),j=function(){var e=function e(){(0,s.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,h.Yz7)({factory:function(){return(0,h.LFG)($)},token:e,providedIn:"root"}),e}();function G(e){return new $(e.get(c.K0))}var $=function(){var e=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this))._doc=e,i}return(0,o.Z)(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case h.q3G.NONE:return t;case h.q3G.HTML:return(0,h.qzn)(t,"HTML")?(0,h.z3N)(t):(0,h.EiD)(this._doc,String(t)).toString();case h.q3G.STYLE:return(0,h.qzn)(t,"Style")?(0,h.z3N)(t):t;case h.q3G.SCRIPT:if((0,h.qzn)(t,"Script"))return(0,h.z3N)(t);throw new Error("unsafe value used in a script context");case h.q3G.URL:return(0,h.yhl)(t),(0,h.qzn)(t,"URL")?(0,h.z3N)(t):(0,h.mCW)(String(t));case h.q3G.RESOURCE_URL:if((0,h.qzn)(t,"ResourceURL"))return(0,h.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return(0,h.JVY)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return(0,h.L6k)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return(0,h.eBb)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return(0,h.LAX)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return(0,h.pB0)(e)}}]),n}(j);return e.\u0275fac=function(t){return new(t||e)(h.LFG(c.K0))},e.\u0275prov=(0,h.Yz7)({factory:function(){return G((0,h.LFG)(h.gxx))},token:e,providedIn:"root"}),e}(),B=(0,h.eFA)(h._c5,"browser",[{provide:h.Lbi,useValue:c.bD},{provide:h.g9A,useValue:function(){f.makeCurrent(),g.init()},multi:!0},{provide:c.K0,useFactory:function(){return(0,h.RDi)(document),document},deps:[]}]),V=[[],{provide:h.zSh,useValue:"root"},{provide:h.qLn,useFactory:function(){return new h.qLn},deps:[]},{provide:y,useClass:z,multi:!0,deps:[c.K0,h.R0b,h.Lbi]},{provide:y,useClass:W,multi:!0,deps:[c.K0]},[],{provide:M,useClass:M,deps:[_,k,h.AFp]},{provide:h.FYo,useExisting:M},{provide:S,useExisting:k},{provide:k,useClass:k,deps:[c.K0]},{provide:h.dDg,useClass:h.dDg,deps:[h.R0b]},{provide:_,useClass:_,deps:[y,h.R0b]},{provide:c.JF,useClass:m,deps:[]},[]],H=function(){var e=function(){function e(t){if((0,s.Z)(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return(0,o.Z)(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:h.AFp,useValue:t.appId},{provide:p,useExisting:h.AFp},v]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.LFG(e,12))},e.\u0275mod=h.oAB({type:e}),e.\u0275inj=h.cJS({providers:V,imports:[c.ez,h.hGG]}),e}();function U(){return new Y((0,h.LFG)(c.K0))}var Y=function(){var e=function(){function e(t){(0,s.Z)(this,e),this._doc=t}return(0,o.Z)(e,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.LFG(c.K0))},e.\u0275prov=(0,h.Yz7)({factory:U,token:e,providedIn:"root"}),e}();"undefined"!=typeof window&&window},63337:function(e,t,n){"use strict";n.d(t,{gz:function(){return ot},gk:function(){return ne},m2:function(){return te},Q3:function(){return ie},OD:function(){return ee},F0:function(){return zn},Od:function(){return jn},yS:function(){return Fn},Bz:function(){return Jn},lC:function(){return Gn}});var i=n(5587),r=n(71357),a=n(72454),o=n(15121),s=n(41998),l=n(28784),u=n(52250),c=n(31112),h=n(61116),f=n(93820),d=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),p=n(19764),v=n(40878),g=n(78512),m=n(3080),y=n(48318),_=n(47930),b=n(31450),S=n(70653),k=n(42875),T=n(55959),w=n(96673);function A(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new I(e,t,n))}}var I=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,c.Z)(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return(0,s.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new C(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),C=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i,r,a){var o;return(0,c.Z)(this,n),(o=t.call(this,e)).accumulator=i,o._seed=r,o.hasSeed=a,o.index=0,o}return(0,s.Z)(n,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}}]),n}(w.L),E=n(43835),O=n(98402);function R(e){return function(t){return 0===e?(0,S.c)():t.lift(new M(e))}}var M=function(){function e(t){if((0,c.Z)(this,e),this.total=t,this.total<0)throw new O.W}return(0,s.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new L(e,this.total))}}]),e}(),L=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i){var r;return(0,c.Z)(this,n),(r=t.call(this,e)).total=i,r.ring=new Array,r.count=0,r}return(0,s.Z)(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:x;return function(t){return t.lift(new Z(e))}}var Z=function(){function e(t){(0,c.Z)(this,e),this.errorFactory=t}return(0,s.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new z(e,this.errorFactory))}}]),e}(),z=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i){var r;return(0,c.Z)(this,n),(r=t.call(this,e)).errorFactory=i,r.hasValue=!1,r}return(0,s.Z)(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(w.L);function x(){return new d}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new D(e))}}var D=function(){function e(t){(0,c.Z)(this,e),this.defaultValue=t}return(0,s.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new F(e,this.defaultValue))}}]),e}(),F=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i){var r;return(0,c.Z)(this,n),(r=t.call(this,e)).defaultValue=i,r.isEmpty=!0,r}return(0,s.Z)(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(w.L),W=n(13392),j=n(90611);function G(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?(0,E.h)(function(t,n){return e(t,n,i)}):W.y,(0,j.q)(1),n?N(t):P(function(){return new d}))}}var $=n(79996),B=n(44689),V=n(56238),H=n(47727),U=n(436),Y=n(73982),K=n(66599),q=n(21564),X=n(11520),Q=n(97471),J=function e(t,n){(0,c.Z)(this,e),this.id=t,this.url=n},ee=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return(0,c.Z)(this,n),(r=t.call(this,e,i)).navigationTrigger=a,r.restoredState=o,r}return(0,s.Z)(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(J),te=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i,r){var a;return(0,c.Z)(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a}return(0,s.Z)(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(J),ne=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i,r){var a;return(0,c.Z)(this,n),(a=t.call(this,e,i)).reason=r,a}return(0,s.Z)(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(J),ie=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i,r){var a;return(0,c.Z)(this,n),(a=t.call(this,e,i)).error=r,a}return(0,s.Z)(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(J),re=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i,r,a){var o;return(0,c.Z)(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return(0,s.Z)(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),ae=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i,r,a){var o;return(0,c.Z)(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return(0,s.Z)(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),oe=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i,r,a,o){var s;return(0,c.Z)(this,n),(s=t.call(this,e,i)).urlAfterRedirects=r,s.state=a,s.shouldActivate=o,s}return(0,s.Z)(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(J),se=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i,r,a){var o;return(0,c.Z)(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return(0,s.Z)(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),le=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i,r,a){var o;return(0,c.Z)(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return(0,s.Z)(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(J),ue=function(){function e(t){(0,c.Z)(this,e),this.route=t}return(0,s.Z)(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),ce=function(){function e(t){(0,c.Z)(this,e),this.route=t}return(0,s.Z)(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),he=function(){function e(t){(0,c.Z)(this,e),this.snapshot=t}return(0,s.Z)(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),fe=function(){function e(t){(0,c.Z)(this,e),this.snapshot=t}return(0,s.Z)(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),de=function(){function e(t){(0,c.Z)(this,e),this.snapshot=t}return(0,s.Z)(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),pe=function(){function e(t){(0,c.Z)(this,e),this.snapshot=t}return(0,s.Z)(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ve=function(){function e(t,n,i){(0,c.Z)(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return(0,s.Z)(e,[{key:"toString",value:function(){var e=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(e,"')")}}]),e}(),ge="primary",me=function(){function e(t){(0,c.Z)(this,e),this.params=t||{}}return(0,s.Z)(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function ye(e){return new me(e)}function _e(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function be(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length0?e[e.length-1]:null}function Ae(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Ie(e){return(0,f.CqO)(e)?e:(0,f.QGY)(e)?(0,p.D)(Promise.resolve(e)):(0,v.of)(e)}var Ce={exact:function e(t,n,i){if(!xe(t.segments,n.segments))return!1;if(!Le(t.segments,n.segments,i))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r],i))return!1}return!0},subset:Re},Ee={exact:function(e,t){return Se(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return ke(e[n],t[n])})},ignored:function(){return!0}};function Oe(e,t,n){return Ce[n.paths](e.root,t.root,n.matrixParams)&&Ee[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Re(e,t,n){return Me(e,t,t.segments,n)}function Me(e,t,n,i){if(e.segments.length>n.length){var r=e.segments.slice(0,n.length);return!!xe(r,n)&&!t.hasChildren()&&!!Le(r,n,i)}if(e.segments.length===n.length){if(!xe(e.segments,n))return!1;if(!Le(e.segments,n,i))return!1;for(var a in t.children){if(!e.children[a])return!1;if(!Re(e.children[a],t.children[a],i))return!1}return!0}var o=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!xe(e.segments,o)&&!!Le(e.segments,o,i)&&!!e.children.primary&&Me(e.children.primary,t,s,i)}function Le(e,t,n){return t.every(function(t,i){return Ee[n](e[i].parameters,t.parameters)})}var Pe=function(){function e(t,n,i){(0,c.Z)(this,e),this.root=t,this.queryParams=n,this.fragment=i}return(0,s.Z)(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ye(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Fe.serialize(this)}}]),e}(),Ze=function(){function e(t,n){var i=this;(0,c.Z)(this,e),this.segments=t,this.children=n,this.parent=null,Ae(n,function(e,t){return e.parent=i})}return(0,s.Z)(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return We(this)}}]),e}(),ze=function(){function e(t,n){(0,c.Z)(this,e),this.path=t,this.parameters=n}return(0,s.Z)(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=ye(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Ue(this)}}]),e}();function xe(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}var Ne=function e(){(0,c.Z)(this,e)},De=function(){function e(){(0,c.Z)(this,e)}return(0,s.Z)(e,[{key:"parse",value:function(e){var t=new Qe(e);return new Pe(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t,n,i="/".concat(je(e.root,!0)),r=(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return"".concat($e(e),"=").concat($e(t))}).join("&"):"".concat($e(e),"=").concat($e(n))}).filter(function(e){return!!e})).length?"?".concat(n.join("&")):""),a="string"==typeof e.fragment?"#".concat(encodeURI(e.fragment)):"";return"".concat(i).concat(r).concat(a)}}]),e}(),Fe=new De;function We(e){return e.segments.map(function(e){return Ue(e)}).join("/")}function je(e,t){if(!e.hasChildren())return We(e);if(t){var n=e.children.primary?je(e.children.primary,!1):"",i=[];return Ae(e.children,function(e,t){t!==ge&&i.push("".concat(t,":").concat(je(e,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(e,t){var n=[];return Ae(e.children,function(e,i){i===ge&&(n=n.concat(t(e,i)))}),Ae(e.children,function(e,i){i!==ge&&(n=n.concat(t(e,i)))}),n}(e,function(t,n){return n===ge?[je(e.children.primary,!1)]:["".concat(n,":").concat(je(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat(We(e),"/").concat(r[0]):"".concat(We(e),"/(").concat(r.join("//"),")")}function Ge(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $e(e){return Ge(e).replace(/%3B/gi,";")}function Be(e){return Ge(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ve(e){return decodeURIComponent(e)}function He(e){return Ve(e.replace(/\+/g,"%20"))}function Ue(e){return"".concat(Be(e.path)).concat((t=e.parameters,Object.keys(t).map(function(e){return";".concat(Be(e),"=").concat(Be(t[e]))}).join("")));var t}var Ye=/^[^\/()?;=#]+/;function Ke(e){var t=e.match(Ye);return t?t[0]:""}var qe=/^[^=?&#]+/,Xe=/^[^?&#]+/,Qe=function(){function e(t){(0,c.Z)(this,e),this.url=t,this.remaining=t}return(0,s.Z)(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ze([],{}):new Ze([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Ze(e,t)),n}},{key:"parseSegment",value:function(){var e=Ke(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new ze(Ve(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Ke(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=Ke(this.remaining);i&&this.capture(n=i)}e[Ve(t)]=Ve(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(qe);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(Xe);return t?t[0]:""}(this.remaining);i&&this.capture(n=i)}var r=He(t),a=He(n);if(e.hasOwnProperty(r)){var o=e[r];Array.isArray(o)||(e[r]=o=[o]),o.push(a)}else e[r]=a}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ke(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=ge);var a=this.parseChildren();t[r]=1===Object.keys(a).length?a.primary:new Ze([],a),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),Je=function(){function e(t){(0,c.Z)(this,e),this._root=t}return(0,s.Z)(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=et(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=et(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=tt(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})}},{key:"pathFromRoot",value:function(e){return tt(e,this._root).map(function(e){return e.value})}}]),e}();function et(e,t){if(e===t.value)return t;var n,i=(0,a.Z)(t.children);try{for(i.s();!(n=i.n()).done;){var r=et(e,n.value);if(r)return r}}catch(o){i.e(o)}finally{i.f()}return null}function tt(e,t){if(e===t.value)return[t];var n,i=(0,a.Z)(t.children);try{for(i.s();!(n=i.n()).done;){var r=tt(e,n.value);if(r.length)return r.unshift(t),r}}catch(o){i.e(o)}finally{i.f()}return[]}var nt=function(){function e(t,n){(0,c.Z)(this,e),this.value=t,this.children=n}return(0,s.Z)(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function it(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var rt=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i){var a;return(0,c.Z)(this,n),(a=t.call(this,e)).snapshot=i,ht((0,r.Z)(a),e),a}return(0,s.Z)(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Je);function at(e,t){var n=function(e,t){var n=new ut([],{},{},"",{},ge,t,null,e.root,-1,{});return new ct("",new nt(n,[]))}(e,t),i=new g.X([new ze("",{})]),r=new g.X({}),a=new g.X({}),o=new g.X({}),s=new g.X(""),l=new ot(i,r,o,s,a,ge,t,n.root);return l.snapshot=n.root,new rt(new nt(l,[]),n)}var ot=function(){function e(t,n,i,r,a,o,s,l){(0,c.Z)(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=l}return(0,s.Z)(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,$.U)(function(e){return ye(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,$.U)(function(e){return ye(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function st(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}return lt(n.slice(i))}function lt(e){return e.reduce(function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}var ut=function(){function e(t,n,i,r,a,o,s,l,u,h,f){(0,c.Z)(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=h,this._resolve=f}return(0,s.Z)(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=ye(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ye(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var e=this.url.map(function(e){return e.toString()}).join("/"),t=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(e,"', path:'").concat(t,"')")}}]),e}(),ct=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e,i){var a;return(0,c.Z)(this,n),(a=t.call(this,i)).url=e,ht((0,r.Z)(a),i),a}return(0,s.Z)(n,[{key:"toString",value:function(){return ft(this._root)}}]),n}(Je);function ht(e,t){t.value._routerState=e,t.children.forEach(function(t){return ht(e,t)})}function ft(e){var t=e.children.length>0?" { ".concat(e.children.map(ft).join(", ")," } "):"";return"".concat(e.value).concat(t)}function dt(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Se(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Se(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;nr;){if(a-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new Tt(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(a,t,e),l=s.processChildren?At(s.segmentGroup,s.index,a.commands):wt(s.segmentGroup,s.index,a.commands);return bt(s.segmentGroup,l,t,i,r)}function yt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function _t(e){return"object"==typeof e&&null!=e&&e.outlets}function bt(e,t,n,i,r){var a={};return i&&Ae(i,function(e,t){a[t]=Array.isArray(e)?e.map(function(e){return"".concat(e)}):"".concat(e)}),new Pe(n.root===e?t:St(n.root,e,t),a,r)}function St(e,t,n){var i={};return Ae(e.children,function(e,r){i[r]=e===t?n:St(e,t,n)}),new Ze(e.segments,i)}var kt=function(){function e(t,n,i){if((0,c.Z)(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=i,t&&i.length>0&&yt(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(_t);if(r&&r!==we(i))throw new Error("{outlets:{}} has to be the last command")}return(0,s.Z)(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),Tt=function e(t,n,i){(0,c.Z)(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i};function wt(e,t,n){if(e||(e=new Ze([],{})),0===e.segments.length&&e.hasChildren())return At(e,t,n);var i=function(e,t,n){for(var i=0,r=t,a={match:!1,pathIndex:0,commandIndex:0};r=n.length)return a;var o=e.segments[r],s=n[i];if(_t(s))break;var l="".concat(s),u=i0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!Ot(l,u,o))return a;i+=2}else{if(!Ot(l,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0)?Object.assign({},Bt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(t.matcher||be)(n,e,t);if(!r)return Object.assign({},Bt);var a={};Ae(r.posParams,function(e,t){a[t]=e.path});var o=r.consumed.length>0?Object.assign(Object.assign({},a),r.consumed[r.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Ht(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&Kt(e,n,i)){var a=new Ze(t,Yt(e,t,i,new Ze(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&qt(e,n,i)){var o=new Ze(e.segments,Ut(e,t,n,i,e.children,r));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}var s=new Ze(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Ut(e,t,n,i,r,o){var s,l={},u=(0,a.Z)(i);try{for(u.s();!(s=u.n()).done;){var c=s.value;if(Xt(e,n,c)&&!r[Gt(c)]){var h=new Ze([],{});h._sourceSegment=e,h._segmentIndexShift="legacy"===o?e.segments.length:t.length,l[Gt(c)]=h}}}catch(f){u.e(f)}finally{u.f()}return Object.assign(Object.assign({},r),l)}function Yt(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var o,s=(0,a.Z)(n);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(""===l.path&&Gt(l)!==ge){var u=new Ze([],{});u._sourceSegment=e,u._segmentIndexShift=t.length,r[Gt(l)]=u}}}catch(c){s.e(c)}finally{s.f()}return r}function Kt(e,t,n){return n.some(function(n){return Xt(e,t,n)&&Gt(n)!==ge})}function qt(e,t,n){return n.some(function(n){return Xt(e,t,n)})}function Xt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Qt(e,t,n,i){return!!(Gt(e)===i||i!==ge&&Xt(t,n,e))&&("**"===e.path||Vt(t,e,n).matched)}function Jt(e,t,n){return 0===t.length&&!e.children[n]}var en=function e(t){(0,c.Z)(this,e),this.segmentGroup=t||null},tn=function e(t){(0,c.Z)(this,e),this.urlTree=t};function nn(e){return new y.y(function(t){return t.error(new en(e))})}function rn(e){return new y.y(function(t){return t.error(new tn(e))})}function an(e){return new y.y(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var on=function(){function e(t,n,i,r,a){(0,c.Z)(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=a,this.allowRedirects=!0,this.ngModule=t.get(f.h0i)}return(0,s.Z)(e,[{key:"apply",value:function(){var e=this,t=Ht(this.urlTree.root,[],[],this.config).segmentGroup,n=new Ze(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,ge).pipe((0,$.U)(function(t){return e.createUrlTree(sn(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe((0,H.K)(function(t){if(t instanceof tn)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof en)throw e.noMatchError(t);throw t}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,ge).pipe((0,$.U)(function(n){return t.createUrlTree(sn(n),e.queryParams,e.fragment)})).pipe((0,H.K)(function(e){if(e instanceof en)throw t.noMatchError(e);throw e}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var r=e.segments.length>0?new Ze([],(0,i.Z)({},ge,e)):e;return new Pe(r,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe((0,$.U)(function(e){return new Ze([],e)})):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){for(var i=this,r=[],a=0,o=Object.keys(n.children);a=2;return function(i){return i.pipe(e?(0,E.h)(function(t,n){return e(t,n,i)}):W.y,R(1),n?N(t):P(function(){return new d}))}}())}},{key:"expandSegment",value:function(e,t,n,i,r,a){var o=this;return(0,p.D)(n).pipe((0,U.b)(function(s){return o.expandSegmentAgainstRoute(e,t,n,s,i,r,a).pipe((0,H.K)(function(e){if(e instanceof en)return(0,v.of)(null);throw e}))}),G(function(e){return!!e}),(0,H.K)(function(e,n){if(e instanceof d||"EmptyError"===e.name){if(Jt(t,i,r))return(0,v.of)(new Ze([],{}));throw new en(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,a,o){return Qt(i,t,r,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,a):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a):nn(t):nn(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?rn(a):this.lineralizeSegments(n,a).pipe((0,Y.zg)(function(n){var a=new Ze(n,{});return r.expandSegment(e,a,t,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){var o=this,s=Vt(t,i,r),l=s.consumedSegments,u=s.lastChild,c=s.positionalParamSegments;if(!s.matched)return nn(t);var h=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?rn(h):this.lineralizeSegments(i,h).pipe((0,Y.zg)(function(i){return o.expandSegment(e,t,n,i.concat(r.slice(u)),a,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i,r){var a=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,v.of)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe((0,$.U)(function(e){return n._loadedConfig=e,new Ze(i,{})})):(0,v.of)(new Ze(i,{}));var o=Vt(t,n,i),s=o.consumedSegments,l=o.lastChild;if(!o.matched)return nn(t);var u=i.slice(l);return this.getChildConfig(e,n,i).pipe((0,Y.zg)(function(e){var i=e.module,o=e.routes,l=Ht(t,s,u,o),c=l.segmentGroup,h=l.slicedSegments,f=new Ze(c.segments,c.children);if(0===h.length&&f.hasChildren())return a.expandChildren(i,o,f).pipe((0,$.U)(function(e){return new Ze(s,e)}));if(0===o.length&&0===h.length)return(0,v.of)(new Ze(s,{}));var d=Gt(n)===r;return a.expandSegment(i,f,o,h,d?ge:r,!0).pipe((0,$.U)(function(e){return new Ze(s.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?(0,v.of)(new Lt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,v.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe((0,Y.zg)(function(n){return n?i.configLoader.load(e.injector,t).pipe((0,$.U)(function(e){return t._loadedConfig=e,e})):function(e){return new y.y(function(t){return t.error(_e("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(t)})):(0,v.of)(new Lt([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var i=this,r=t.canLoad;if(!r||0===r.length)return(0,v.of)(!0);var a=r.map(function(i){var r,a=e.get(i);if(function(e){return e&&Pt(e.canLoad)}(a))r=a.canLoad(t,n);else{if(!Pt(a))throw new Error("Invalid CanLoad guard");r=a(t,n)}return Ie(r)});return(0,v.of)(a).pipe(xt(),(0,K.b)(function(e){if(Zt(e)){var t=_e('Redirecting to "'.concat(i.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),(0,$.U)(function(e){return!0===e}))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,v.of)(n);if(i.numberOfChildren>1||!i.children.primary)return an(e.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new Pe(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Ae(e,function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,a=this.createSegments(e,t.segments,n,i),o={};return Ae(t.children,function(t,a){o[a]=r.createSegmentGroup(e,t,n,i)}),new Ze(a,o)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)})}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,r=(0,a.Z)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(i),o;i++}}catch(s){r.e(s)}finally{r.f()}return e}}]),e}();function sn(e){for(var t={},n=0,i=Object.keys(e.children);n0||a.hasChildren())&&(t[r]=a)}return function(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Ze(e.segments.concat(t.segments),t.children)}return e}(new Ze(e.segments,t))}var ln=function e(t){(0,c.Z)(this,e),this.path=t,this.route=this.path[this.path.length-1]},un=function e(t,n){(0,c.Z)(this,e),this.component=t,this.route=n};function cn(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function hn(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=it(t);return e.children.forEach(function(e){fn(e,a[e.value.outlet],n,i.concat([e.value]),r),delete a[e.value.outlet]}),Ae(a,function(e,t){return pn(e,n.getContext(t),r)}),r}function fn(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=e.value,o=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){var l=dn(o,a,a.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new ln(i)):(a.data=o.data,a._resolvedData=o._resolvedData),hn(e,t,a.component?s?s.children:null:n,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new un(s.outlet.component,o))}else o&&pn(t,s,r),r.canActivateChecks.push(new ln(i)),hn(e,null,a.component?s?s.children:null:n,i,r);return r}function dn(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!xe(e.url,t.url);case"pathParamsOrQueryParamsChange":return!xe(e.url,t.url)||!Se(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pt(e,t)||!Se(e.queryParams,t.queryParams);case"paramsChange":default:return!pt(e,t)}}function pn(e,t,n){var i=it(e),r=e.value;Ae(i,function(e,i){pn(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new un(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var vn=function e(){(0,c.Z)(this,e)};function gn(e){return new y.y(function(t){return t.error(e)})}var mn=function(){function e(t,n,i,r,a,o){(0,c.Z)(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return(0,s.Z)(e,[{key:"recognize",value:function(){var e=Ht(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,ge);if(null===t)return null;var n=new ut([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ge,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new nt(n,t),r=new ct(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=st(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){for(var n=[],i=0,r=Object.keys(t.children);i0?we(n).parameters:{};r=new ut(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Sn(e),Gt(e),e.component,e,_n(t),bn(t)+n.length,kn(e))}else{var l=Vt(t,e,n);if(!l.matched)return null;a=l.consumedSegments,o=n.slice(l.lastChild),r=new ut(a,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Sn(e),Gt(e),e.component,e,_n(t),bn(t)+a.length,kn(e))}var u=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),c=Ht(t,a,o,u.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),h=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(u,h);return null===d?null:[new nt(r,d)]}if(0===u.length&&0===f.length)return[new nt(r,[])];var p=Gt(e)===i,v=this.processSegment(u,h,f,p?ge:i);return null===v?null:[new nt(r,v)]}}]),e}();function yn(e){var t,n=[],i=new Set,r=(0,a.Z)(e);try{var s=function(){var e=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(e))return n.push(e),"continue";var r,a=n.find(function(t){return e.value.routeConfig===t.value.routeConfig});void 0!==a?((r=a.children).push.apply(r,(0,o.Z)(e.children)),i.add(a)):n.push(e)};for(r.s();!(t=r.n()).done;)s()}catch(f){r.e(f)}finally{r.f()}var l,u=(0,a.Z)(i);try{for(u.s();!(l=u.n()).done;){var c=l.value,h=yn(c.children);n.push(new nt(c.value,h))}}catch(f){u.e(f)}finally{u.f()}return n.filter(function(e){return!i.has(e)})}function _n(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function bn(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Sn(e){return e.data||{}}function kn(e){return e.resolve||{}}function Tn(e){return(0,B.w)(function(t){var n=e(t);return n?(0,p.D)(n).pipe((0,$.U)(function(){return t})):(0,v.of)(t)})}var wn=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(){return(0,c.Z)(this,n),t.apply(this,arguments)}return n}(function(){function e(){(0,c.Z)(this,e)}return(0,s.Z)(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),An=new f.OlP("ROUTES"),In=function(){function e(t,n,i,r){(0,c.Z)(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return(0,s.Z)(e,[{key:"load",value:function(e,t){var n=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var i=this.loadModuleFactory(t.loadChildren).pipe((0,$.U)(function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r=i.create(e);return new Lt(Te(r.injector.get(An,void 0,f.XFs.Self|f.XFs.Optional)).map(jt),r)}),(0,H.K)(function(e){throw t._loader$=void 0,e}));return t._loader$=new k.c(i,function(){return new T.xQ}).pipe((0,q.x)()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?(0,p.D)(this.loader.load(e)):Ie(e()).pipe((0,Y.zg)(function(e){return e instanceof f.YKP?(0,v.of)(e):(0,p.D)(t.compiler.compileModuleAsync(e))}))}}]),e}(),Cn=function e(){(0,c.Z)(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new En,this.attachRef=null},En=function(){function e(){(0,c.Z)(this,e),this.contexts=new Map}return(0,s.Z)(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new Cn,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),On=function(){function e(){(0,c.Z)(this,e)}return(0,s.Z)(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Rn(e){throw e}function Mn(e,t,n){return t.parse("/")}function Ln(e,t){return(0,v.of)(null)}var Pn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Zn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},zn=function(){var e=function(){function e(t,n,i,r,a,o,s,l){var u=this;(0,c.Z)(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new T.xQ,this.errorHandler=Rn,this.malformedUriErrorHandler=Mn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ln,afterPreactivation:Ln},this.urlHandlingStrategy=new On,this.routeReuseStrategy=new wn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=a.get(f.h0i),this.console=a.get(f.c2e);var h=a.get(f.R0b);this.isNgZoneEnabled=h instanceof f.R0b&&f.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new Pe(new Ze([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new In(o,s,function(e){return u.triggerEvent(new ue(e))},function(e){return u.triggerEvent(new ce(e))}),this.routerState=at(this.currentUrlTree,this.rootComponentType),this.transitions=new g.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return(0,s.Z)(e,[{key:"browserPageId",get:function(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}},{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe((0,E.h)(function(e){return 0!==e.id}),(0,$.U)(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),(0,B.w)(function(e){var i,r,a,o=!1,s=!1;return(0,v.of)(e).pipe((0,K.b)(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,B.w)(function(e){var i,r,a,o,s=t.browserUrlTree.toString(),l=!t.navigated||e.extractedUrl.toString()!==s||s!==t.currentUrlTree.toString();if(("reload"===t.onSameUrlNavigation||l)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Nn(e.source)&&(t.browserUrlTree=e.extractedUrl),(0,v.of)(e).pipe((0,B.w)(function(e){var i=t.transitions.getValue();return n.next(new ee(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?S.E:Promise.resolve(e)}),(i=t.ngModule.injector,r=t.configLoader,a=t.urlSerializer,o=t.config,(0,B.w)(function(e){return function(e,t,n,i,r){return new on(e,t,n,i,r).apply()}(i,r,a,e.extractedUrl,o).pipe((0,$.U)(function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})}))})),(0,K.b)(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,n,i,r,a){return(0,Y.zg)(function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var o=new mn(e,t,n,i,r,a).recognize();return null===o?gn(new vn):(0,v.of)(o)}catch(s){return gn(s)}}(e,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,t.serializeUrl(o)),r,a).pipe((0,$.U)(function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})}));var o})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),(0,K.b)(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,e),t.browserUrlTree=e.urlAfterRedirects);var i=new re(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)}));if(l&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.extractedUrl,c=e.source,h=e.restoredState,f=e.extras,d=new ee(e.id,t.serializeUrl(u),c,h);n.next(d);var p=at(u,t.rootComponentType).snapshot;return(0,v.of)(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:u,extras:Object.assign(Object.assign({},f),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),S.E}),Tn(function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),(0,K.b)(function(e){var n=new ae(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,$.U)(function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,i=e.currentSnapshot,r=t.rootContexts,a=n._root,hn(a,i?i._root:null,r,[a.value]))});var n,i,r,a}),function(e,t){return(0,Y.zg)(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,a=n.guards,o=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===o.length?(0,v.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return(0,p.D)(e).pipe((0,Y.zg)(function(e){return function(e,t,n,i,r){var a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!a||0===a.length)return(0,v.of)(!0);var o=a.map(function(a){var o,s=cn(a,t,r);if(function(e){return e&&Pt(e.canDeactivate)}(s))o=Ie(s.canDeactivate(e,t,n,i));else{if(!Pt(s))throw new Error("Invalid CanDeactivate guard");o=Ie(s(e,t,n,i))}return o.pipe(G())});return(0,v.of)(o).pipe(xt())}(e.component,e.route,n,t,i)}),G(function(e){return!0!==e},!0))}(s,i,r,e).pipe((0,Y.zg)(function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return(0,p.D)(t).pipe((0,U.b)(function(t){return(0,_.z)(function(e,t){return null!==e&&t&&t(new he(e)),(0,v.of)(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new de(e)),(0,v.of)(!0)}(t.route,i),function(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return(0,b.P)(function(){var r=t.guards.map(function(r){var a,o=cn(r,t.node,n);if(function(e){return e&&Pt(e.canActivateChild)}(o))a=Ie(o.canActivateChild(i,e));else{if(!Pt(o))throw new Error("Invalid CanActivateChild guard");a=Ie(o(i,e))}return a.pipe(G())});return(0,v.of)(r).pipe(xt())})});return(0,v.of)(r).pipe(xt())}(e,t.path,n),function(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return(0,v.of)(!0);var r=i.map(function(i){return(0,b.P)(function(){var r,a=cn(i,t,n);if(function(e){return e&&Pt(e.canActivate)}(a))r=Ie(a.canActivate(t,e));else{if(!Pt(a))throw new Error("Invalid CanActivate guard");r=Ie(a(t,e))}return r.pipe(G())})});return(0,v.of)(r).pipe(xt())}(e,t.route,n))}),G(function(e){return!0!==e},!0))}(i,o,e,t):(0,v.of)(n)}),(0,$.U)(function(e){return Object.assign(Object.assign({},n),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),(0,K.b)(function(e){if(Zt(e.guardsResult)){var n=_e('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}var i=new oe(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(i)}),(0,E.h)(function(e){return!!e.guardsResult||(t.restoreHistory(e),t.cancelNavigationTransition(e,""),!1)}),Tn(function(e){if(e.guards.canActivateChecks.length)return(0,v.of)(e).pipe((0,K.b)(function(e){var n=new se(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,B.w)(function(e){var n,i,r=!1;return(0,v.of)(e).pipe((n=t.paramsInheritanceStrategy,i=t.ngModule.injector,(0,Y.zg)(function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;if(!r.length)return(0,v.of)(e);var a=0;return(0,p.D)(r).pipe((0,U.b)(function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return(0,v.of)({});var a={};return(0,p.D)(r).pipe((0,Y.zg)(function(r){return function(e,t,n,i){var r=cn(e,t,i);return Ie(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe((0,K.b)(function(e){a[r]=e}))}),R(1),(0,Y.zg)(function(){return Object.keys(a).length===r.length?(0,v.of)(a):S.E}))}(e._resolve,e,t,i).pipe((0,$.U)(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),st(e,n).resolve),null}))}(e.route,t,n,i)}),(0,K.b)(function(){return a++}),R(1),(0,Y.zg)(function(t){return a===r.length?(0,v.of)(e):S.E}))})),(0,K.b)({next:function(){return r=!0},complete:function(){r||(t.restoreHistory(e),t.cancelNavigationTransition(e,"At least one route resolver didn't emit any value."))}}))}),(0,K.b)(function(e){var n=new le(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}))}),Tn(function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),(0,$.U)(function(e){var n,i,r,a=(r=vt(t.routeReuseStrategy,(n=e.targetSnapshot)._root,(i=e.currentRouterState)?i._root:void 0),new rt(r,n));return Object.assign(Object.assign({},e),{targetRouterState:a})}),(0,K.b)(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,e),t.browserUrlTree=e.urlAfterRedirects)}),(i=t.rootContexts,r=t.routeReuseStrategy,a=function(e){return t.triggerEvent(e)},(0,$.U)(function(e){return new Rt(r,e.targetRouterState,e.currentRouterState,a).activate(i),e})),(0,K.b)({next:function(){o=!0},complete:function(){o=!0}}),(0,X.x)(function(){if(!o&&!s){var n="Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId);"replace"===t.canceledNavigationResolution?(t.restoreHistory(e),t.cancelNavigationTransition(e,n)):t.cancelNavigationTransition(e,n)}t.currentNavigation=null}),(0,H.K)(function(i){if(s=!0,(l=i)&&l.ngNavigationCancelingError){var r=Zt(i.url);r||(t.navigated=!0,t.restoreHistory(e,!0));var a=new ne(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(a),r?setTimeout(function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree),r={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy||Nn(e.source)};t.scheduleNavigation(n,"imperative",null,r,{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.restoreHistory(e,!0);var o=new ie(e.id,t.serializeUrl(e.extractedUrl),i);n.next(o);try{e.resolve(t.errorHandler(i))}catch(u){e.reject(u)}}var l;return S.E}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout(function(){var t=n.source,i=n.state,r=n.urlTree,a={replaceUrl:!0};if(i){var o=Object.assign({},i);delete o.navigationId,delete o.\u0275routerPageId,0!==Object.keys(o).length&&(a.state=o)}e.scheduleNavigation(r,t,i,a)},0),e.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){Dt(e),this.config=e.map(jt),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,r=t.fragment,a=t.queryParamsHandling,o=t.preserveFragment,s=n||this.routerState.root,l=o?this.currentUrlTree.fragment:r,u=null;switch(a){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}return null!==u&&(u=this.removeEmptyProps(u)),mt(s,this.currentUrlTree,e,u,null!=l?l:null)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=Zt(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return xn(e),this.navigateByUrl(this.createUrlTree(e,t),t)}},{key:"serializeUrl",value:function(e){return this.urlSerializer.serialize(e)}},{key:"parseUrl",value:function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}},{key:"isActive",value:function(e,t){var n;if(n=!0===t?Object.assign({},Pn):!1===t?Object.assign({},Zn):t,Zt(e))return Oe(this.currentUrlTree,e,n);var i=this.parseUrl(e);return Oe(this.currentUrlTree,i,n)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce(function(t,n){var i=e[n];return null!=i&&(t[n]=i),t},{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe(function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.currentPageId=t.targetPageId,e.events.next(new te(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,t.resolve(!0)},function(t){e.console.warn("Unhandled Navigation Error: ".concat(t))})}},{key:"scheduleNavigation",value:function(e,t,n,i,r){var a,o;if(this.disposed)return Promise.resolve(!1);var s,l,u,c=this.getTransition(),h=Nn(t)&&c&&!Nn(c.source),f=(this.lastSuccessfulId===c.id||this.currentNavigation?c.rawUrl:c.urlAfterRedirects).toString()===e.toString();if(h&&f)return Promise.resolve(!0);r?(s=r.resolve,l=r.reject,u=r.promise):u=new Promise(function(e,t){s=e,l=t});var d,p=++this.navigationId;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),d=n&&n.\u0275routerPageId?n.\u0275routerPageId:i.replaceUrl||i.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(o=this.browserPageId)&&void 0!==o?o:0)+1):d=0,this.setTransition({id:p,targetPageId:d,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:s,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(function(e){return Promise.reject(e)})}},{key:"setBrowserUrl",value:function(e,t){var n=this.urlSerializer.serialize(e),i=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(n)||t.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}},{key:"restoreHistory",value:function(e){var t,n,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var r=this.currentPageId-e.targetPageId,a="popstate"===e.source||"eager"===this.urlUpdateStrategy||this.currentUrlTree===(null===(t=this.currentNavigation)||void 0===t?void 0:t.finalUrl);a&&0!==r?this.location.historyGo(r):this.currentUrlTree===(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(e,t){var n=new ne(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(n),e.resolve(!1)}},{key:"generateNgRouterState",value:function(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,"\u0275routerPageId":t}:{navigationId:e}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.LFG(f.DyG),f.LFG(Ne),f.LFG(En),f.LFG(h.Ye),f.LFG(f.zs3),f.LFG(f.v3s),f.LFG(f.Sil),f.LFG(void 0))},e.\u0275prov=f.Yz7({token:e,factory:e.\u0275fac}),e}();function xn(e){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:{};(0,c.Z)(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return(0,s.Z)(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof ee?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof te&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof ve&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new ve(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.LFG(zn),f.LFG(h.EM),f.LFG(void 0))},e.\u0275prov=f.Yz7({token:e,factory:e.\u0275fac}),e}(),Kn=new f.OlP("ROUTER_CONFIGURATION"),qn=new f.OlP("ROUTER_FORROOT_GUARD"),Xn=[h.Ye,{provide:Ne,useClass:De},{provide:zn,useFactory:function(e,t,n,i,r,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,c=new zn(null,e,t,n,i,r,a,Te(o));return l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),ri(s,c),s.enableTracing&&c.events.subscribe(function(e){var t,n;null===(t=console.group)||void 0===t||t.call(console,"Router Event: ".concat(e.constructor.name)),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)}),c},deps:[Ne,En,h.Ye,f.zs3,f.v3s,f.Sil,An,Kn,[function e(){(0,c.Z)(this,e)},new f.FiY],[function e(){(0,c.Z)(this,e)},new f.FiY]]},En,{provide:ot,useFactory:function(e){return e.routerState.root},deps:[zn]},{provide:f.v3s,useClass:f.EAV},Un,Hn,Vn,{provide:Kn,useValue:{enableTracing:!1}}];function Qn(){return new f.PXZ("Router",zn)}var Jn=function(){var e=function(){function e(t,n){(0,c.Z)(this,e)}return(0,s.Z)(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Xn,ii(t),{provide:qn,useFactory:ni,deps:[[zn,new f.FiY,new f.tp0]]},{provide:Kn,useValue:n||{}},{provide:h.S$,useFactory:ti,deps:[h.lw,[new f.tBr(h.mr),new f.FiY],Kn]},{provide:Yn,useFactory:ei,deps:[zn,h.EM,Kn]},{provide:Bn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Hn},{provide:f.PXZ,multi:!0,useFactory:Qn},[ai,{provide:f.ip1,multi:!0,useFactory:oi,deps:[ai]},{provide:li,useFactory:si,deps:[ai]},{provide:f.tb,multi:!0,useExisting:li}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[ii(t)]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.LFG(qn,8),f.LFG(zn,8))},e.\u0275mod=f.oAB({type:e}),e.\u0275inj=f.cJS({}),e}();function ei(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Yn(e,t,n)}function ti(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new h.Do(e,t):new h.b0(e,t)}function ni(e){return"guarded"}function ii(e){return[{provide:f.deG,multi:!0,useValue:e},{provide:An,multi:!0,useValue:e}]}function ri(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}var ai=function(){var e=function(){function e(t){(0,c.Z)(this,e),this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new T.xQ}return(0,s.Z)(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(h.V_,Promise.resolve(null)).then(function(){if(e.destroyed)return Promise.resolve(!0);var t=null,n=new Promise(function(e){return t=e}),i=e.injector.get(zn),r=e.injector.get(Kn);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return e.initNavigation?(0,v.of)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()):t(!0),n})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Kn),n=this.injector.get(Un),i=this.injector.get(Yn),r=this.injector.get(zn),a=this.injector.get(f.z2F);e===a.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.LFG(f.zs3))},e.\u0275prov=f.Yz7({token:e,factory:e.\u0275fac}),e}();function oi(e){return e.appInitializer.bind(e)}function si(e){return e.bootstrapListener.bind(e)}var li=new f.OlP("Router Initializer")},34602:function(e,t,n){"use strict";n.d(t,{N:function(){return l}});var i=n(54568),r=n(31112),a=n(41998),o=n(93820),s=n(61116),l=function(){var e=function(){function e(t,n){(0,r.Z)(this,e),this.document=t,this.platformId=n,this.documentIsAccessible=(0,s.NF)(this.platformId)}return(0,a.Z)(e,[{key:"check",value:function(t){return!!this.documentIsAccessible&&(t=encodeURIComponent(t),e.getCookieRegExp(t).test(this.document.cookie))}},{key:"get",value:function(t){if(this.documentIsAccessible&&this.check(t)){t=encodeURIComponent(t);var n=e.getCookieRegExp(t).exec(this.document.cookie);return n[1]?e.safeDecodeURIComponent(n[1]):""}return""}},{key:"getAll",value:function(){if(!this.documentIsAccessible)return{};var t={},n=this.document;return n.cookie&&""!==n.cookie&&n.cookie.split(";").forEach(function(n){var r=n.split("="),a=(0,i.Z)(r,2),o=a[1];t[e.safeDecodeURIComponent(a[0].replace(/^ /,""))]=e.safeDecodeURIComponent(o)}),t}},{key:"set",value:function(e,t,n,i,r,a,o){if(this.documentIsAccessible)if("number"==typeof n||n instanceof Date||i||r||a||o)this.set(e,t,{expires:n,path:i,domain:r,secure:a,sameSite:o||"Lax"});else{var s=encodeURIComponent(e)+"="+encodeURIComponent(t)+";",l=n||{};l.expires&&(s+="number"==typeof l.expires?"expires="+new Date((new Date).getTime()+1e3*l.expires*60*60*24).toUTCString()+";":"expires="+l.expires.toUTCString()+";"),l.path&&(s+="path="+l.path+";"),l.domain&&(s+="domain="+l.domain+";"),!1===l.secure&&"None"===l.sameSite&&(l.secure=!0,console.warn("[ngx-cookie-service] Cookie ".concat(e," was forced with secure flag because sameSite=None.")+"More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130")),l.secure&&(s+="secure;"),l.sameSite||(l.sameSite="Lax"),this.document.cookie=s+="sameSite="+l.sameSite+";"}}},{key:"delete",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Lax";if(this.documentIsAccessible){var a=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:a,path:t,domain:n,secure:i,sameSite:r})}}},{key:"deleteAll",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Lax";if(this.documentIsAccessible){var r=this.getAll();for(var a in r)r.hasOwnProperty(a)&&this.delete(a,e,t,n,i)}}}],[{key:"getCookieRegExp",value:function(e){var t=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}},{key:"safeDecodeURIComponent",value:function(e){try{return decodeURIComponent(e)}catch(t){return e}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(s.K0),o.LFG(o.Lbi))},e.\u0275prov=o.Yz7({factory:function(){return new e(o.LFG(s.K0),o.LFG(o.Lbi))},token:e,providedIn:"root"}),e}()},78512:function(e,t,n){"use strict";n.d(t,{X:function(){return h}});var i=n(31112),r=n(41998),a=n(61532),o=n(43620),s=n(28784),l=n(52250),u=n(55959),c=n(13895),h=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,i.Z)(this,n),(r=t.call(this))._value=e,r}return(0,r.Z)(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var t=(0,a.Z)((0,o.Z)(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new c.N;return this._value}},{key:"next",value:function(e){(0,a.Z)((0,o.Z)(n.prototype),"next",this).call(this,this._value=e)}}]),n}(u.xQ)},3103:function(e,t,n){"use strict";n.d(t,{P:function(){return l}});var i=n(31112),r=n(41998),a=n(70653),o=n(40878),s=n(31225),l=function(){var e=function(){function e(t,n,r){(0,i.Z)(this,e),this.kind=t,this.value=n,this.error=r,this.hasValue="N"===t}return(0,r.Z)(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,o.of)(this.value);case"E":return(0,s._)(this.error);case"C":return(0,a.c)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},48318:function(e,t,n){"use strict";n.d(t,{y:function(){return f}});var i=n(31112),r=n(41998),a=n(96673),o=n(55331),s=n(57498),l=n(56197),u=n(13392);function c(e){return 0===e.length?u.y:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}var h=n(51484),f=function(){var e=function(){function e(t){(0,i.Z)(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return(0,r.Z)(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var i=this.operator,r=function(e,t,n){if(e){if(e instanceof a.L)return e;if(e[o.b])return e[o.b]()}return e||t||n?new a.L(e,t,n):new a.L(s.c)}(e,t,n);if(r.add(i?i.call(r,this.source):this.source||h.v.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),h.v.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){h.v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof a.L?t:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=d(t))(function(t,i){var r;r=n.subscribe(function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}},i,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:l.L,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n4&&void 0!==arguments[4]?arguments[4]:new h(e,n,i);if(!r.closed)return t instanceof d.y?t.subscribe(r):(0,f.s)(t)(r)}var v=n(99342),g={};function m(){for(var e=arguments.length,t=new Array(e),n=0;n1?Array.prototype.slice.call(arguments):e)},i,n)})}function u(e,t,n,i,r){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var o=e;e.addEventListener(t,n,r),a=function(){return o.removeEventListener(t,n,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),a=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var l=e;e.addListener(t,n),a=function(){return l.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c1&&"number"==typeof s[s.length-1]&&(e=s.pop())):"number"==typeof u&&(e=s.pop()),null===t&&1===s.length&&s[0]instanceof i.y?s[0]:(0,a.J)(e)((0,o.n)(s,t))}},40878:function(e,t,n){"use strict";n.d(t,{of:function(){return o}});var i=n(76163),r=n(99342),a=n(62570);function o(){for(var e=arguments.length,t=new Array(e),n=0;n=0}var s=n(76163);function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=-1;return o(t)?a=Number(t)<1?1:Number(t):(0,s.K)(t)&&(n=t),(0,s.K)(n)||(n=r.P),new i.y(function(t){var i=o(e)?e:+e-n.now();return n.schedule(u,i,{index:0,period:a,subscriber:t})})}function u(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}},30810:function(e,t,n){"use strict";n.d(t,{e:function(){return d}});var i=n(48569),r=n(28784),a=n(52250),o=n(31112),s=n(41998),l=n(36882);function u(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(t){(0,o.Z)(this,e),this.durationSelector=t}return(0,s.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.durationSelector))}}]),e}(),h=function(e){(0,r.Z)(n,e);var t=(0,a.Z)(n);function n(e,i){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).durationSelector=i,r.hasValue=!1,r}return(0,s.Z)(n,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(i){return this.destination.error(i)}var n=(0,l.ft)(t,new l.IY(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(l.Ds),f=n(62132);function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.P;return u(function(){return(0,f.H)(e,t)})}},47727:function(e,t,n){"use strict";n.d(t,{K:function(){return c}});var i=n(61532),r=n(43620),a=n(28784),o=n(52250),s=n(31112),l=n(41998),u=n(36882);function c(e){return function(t){var n=new h(e),i=t.lift(n);return n.caught=i}}var h=function(){function e(t){(0,s.Z)(this,e),this.selector=t}return(0,l.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new f(e,this.selector,this.caught))}}]),e}(),f=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e,i,r){var a;return(0,s.Z)(this,n),(a=t.call(this,e)).selector=i,a.caught=r,a}return(0,l.Z)(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(s){return void(0,i.Z)((0,r.Z)(n.prototype),"error",this).call(this,s)}this._unsubscribeAndRecycle();var a=new u.IY(this);this.add(a);var o=(0,u.ft)(t,a);o!==a&&this.add(o)}}}]),n}(u.Ds)},436:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var i=n(73982);function r(e,t){return(0,i.zg)(e,t,1)}},47701:function(e,t,n){"use strict";n.d(t,{b:function(){return u}});var i=n(28784),r=n(52250),a=n(31112),o=n(41998),s=n(96673),l=n(48569);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.P;return function(n){return n.lift(new c(e,t))}}var c=function(){function e(t,n){(0,a.Z)(this,e),this.dueTime=t,this.scheduler=n}return(0,o.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.dueTime,this.scheduler))}}]),e}(),h=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e,i,r){var o;return(0,a.Z)(this,n),(o=t.call(this,e)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return(0,o.Z)(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(f,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(s.L);function f(e){e.debouncedNext()}},98720:function(e,t,n){"use strict";n.d(t,{x:function(){return l}});var i=n(28784),r=n(52250),a=n(31112),o=n(41998),s=n(96673);function l(e,t){return function(n){return n.lift(new u(e,t))}}var u=function(){function e(t,n){(0,a.Z)(this,e),this.compare=t,this.keySelector=n}return(0,o.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.compare,this.keySelector))}}]),e}(),c=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e,i,r){var o;return(0,a.Z)(this,n),(o=t.call(this,e)).keySelector=r,o.hasKey=!1,"function"==typeof i&&(o.compare=i),o}return(0,o.Z)(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}]),n}(s.L)},43835:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var i=n(28784),r=n(52250),a=n(31112),o=n(41998),s=n(96673);function l(e,t){return function(n){return n.lift(new u(e,t))}}var u=function(){function e(t,n){(0,a.Z)(this,e),this.predicate=t,this.thisArg=n}return(0,o.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.predicate,this.thisArg))}}]),e}(),c=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e,i,r){var o;return(0,a.Z)(this,n),(o=t.call(this,e)).predicate=i,o.thisArg=r,o.count=0,o}return(0,o.Z)(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(s.L)},11520:function(e,t,n){"use strict";n.d(t,{x:function(){return u}});var i=n(28784),r=n(52250),a=n(31112),o=n(41998),s=n(96673),l=n(87570);function u(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(t){(0,a.Z)(this,e),this.callback=t}return(0,o.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.callback))}}]),e}(),h=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e,i){var r;return(0,a.Z)(this,n),(r=t.call(this,e)).add(new l.w(i)),r}return n}(s.L)},79996:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var i=n(71357),r=n(28784),a=n(52250),o=n(31112),s=n(41998),l=n(96673);function u(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new c(e,t))}}var c=function(){function e(t,n){(0,o.Z)(this,e),this.project=t,this.thisArg=n}return(0,s.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.project,this.thisArg))}}]),e}(),h=function(e){(0,r.Z)(n,e);var t=(0,a.Z)(n);function n(e,r,a){var s;return(0,o.Z)(this,n),(s=t.call(this,e)).project=r,s.count=0,s.thisArg=a||(0,i.Z)(s),s}return(0,s.Z)(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(l.L)},97471:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var i=n(73982),r=n(13392);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,i.zg)(r.y,e)}},73982:function(e,t,n){"use strict";n.d(t,{zg:function(){return c}});var i=n(28784),r=n(52250),a=n(31112),o=n(41998),s=n(79996),l=n(19764),u=n(36882);function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(c(function(n,i){return(0,l.D)(e(n,i)).pipe((0,s.U)(function(e,r){return t(n,e,i,r)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new h(e,n))})}var h=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;(0,a.Z)(this,e),this.project=t,this.concurrent=n}return(0,o.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new f(e,this.project,this.concurrent))}}]),e}(),f=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return(0,a.Z)(this,n),(r=t.call(this,e)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return(0,o.Z)(n,[{key:"_next",value:function(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(u.Ds)},21564:function(e,t,n){"use strict";n.d(t,{x:function(){return l}});var i=n(28784),r=n(52250),a=n(31112),o=n(41998),s=n(96673);function l(){return function(e){return e.lift(new u(e))}}var u=function(){function e(t){(0,a.Z)(this,e),this.connectable=t}return(0,o.Z)(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new c(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),c=function(e){(0,i.Z)(n,e);var t=(0,r.Z)(n);function n(e,i){var r;return(0,a.Z)(this,n),(r=t.call(this,e)).connectable=i,r}return(0,o.Z)(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(s.L)},1055:function(e,t,n){"use strict";n.d(t,{B:function(){return s}}),n(31112),n(41998);var i=n(42875),r=n(21564),a=n(55959);function o(){return new a.xQ}function s(){return function(e){return(0,r.x)()((t=o,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,i.N);return r.source=e,r.subjectFactory=n,r})(e));var t}}},93289:function(e,t,n){"use strict";n.d(t,{d:function(){return S}});var i=n(31112),r=n(41998),a=n(61532),o=n(43620),s=n(28784),l=n(52250),u=n(55959),c=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r){var a;return(0,i.Z)(this,n),(a=t.call(this,e,r)).scheduler=e,a.work=r,a}return(0,r.Z)(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?(0,a.Z)((0,o.Z)(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?(0,a.Z)((0,o.Z)(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?(0,a.Z)((0,o.Z)(n.prototype),"requestAsyncId",this).call(this,e,t,i):e.flush(this)}}]),n}(n(8277).o),h=new(function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,i.Z)(this,n),t.apply(this,arguments)}return n}(n(91098).v))(c),f=n(87570),d=n(96673),p=n(3103),v=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r){var a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,i.Z)(this,n),(a=t.call(this,e)).scheduler=r,a.delay=o,a}return(0,r.Z)(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new g(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(p.P.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(p.P.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(p.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){e.notification.observe(e.destination),this.unsubscribe()}}]),n}(d.L),g=function e(t,n){(0,i.Z)(this,e),this.notification=t,this.destination=n},m=n(13895),y=n(19291),_=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return(0,i.Z)(this,n),(e=t.call(this)).scheduler=o,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=r<1?1:r,e._windowTime=a<1?1:a,a===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return(0,r.Z)(n,[{key:"nextInfiniteTimeWindow",value:function(e){if(!this.isStopped){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}(0,a.Z)((0,o.Z)(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this.isStopped||(this._events.push(new b(this._getNow(),e)),this._trimBufferThenGetEvents()),(0,a.Z)((0,o.Z)(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,a=i.length;if(this.closed)throw new m.N;if(this.isStopped||this.hasError?t=f.w.EMPTY:(this.observers.push(e),t=new y.W(this,e)),r&&e.add(e=new v(e,r)),n)for(var o=0;ot&&(a=Math.max(a,r-t)),a>0&&i.splice(0,a),i}}]),n}(u.xQ),b=function e(t,n){(0,i.Z)(this,e),this.time=t,this.value=n};function S(e,t,n){var i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,i=e.bufferSize,r=void 0===i?Number.POSITIVE_INFINITY:i,a=e.windowTime,o=void 0===a?Number.POSITIVE_INFINITY:a,s=e.refCount,l=e.scheduler,u=0,c=!1,h=!1;return function(e){var i;u++,!t||c?(c=!1,t=new _(r,o,l),i=t.subscribe(this),n=e.subscribe({next:function(e){t.next(e)},error:function(e){c=!0,t.error(e)},complete:function(){h=!0,n=void 0,t.complete()}}),h&&(n=void 0)):i=t.subscribe(this),this.add(function(){u--,i.unsubscribe(),i=void 0,n&&!h&&s&&0===u&&(n.unsubscribe(),n=void 0,t=void 0)})}}(i))}}},56238:function(e,t,n){"use strict";n.d(t,{O:function(){return a}});var i=n(47930),r=n(76163);function a(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e,r){return(0,i.Z)(this,n),t.call(this)}return(0,r.Z)(n,[{key:"schedule",value:function(e){return this}}]),n}(n(87570).w))},91098:function(e,t,n){"use strict";n.d(t,{v:function(){return h}});var i=n(31112),r=n(41998),a=n(71357),o=n(61532),s=n(43620),l=n(28784),u=n(52250),c=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;(0,i.Z)(this,e),this.SchedulerAction=t,this.now=n}return(0,r.Z)(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),h=function(e){(0,l.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.now;return(0,i.Z)(this,n),(r=t.call(this,e,function(){return n.delegate&&n.delegate!==(0,a.Z)(r)?n.delegate.now():o()})).actions=[],r.active=!1,r.scheduled=void 0,r}return(0,r.Z)(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,i):(0,o.Z)((0,s.Z)(n.prototype),"schedule",this).call(this,e,t,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(c)},92709:function(e,t,n){"use strict";n.d(t,{E:function(){return g}});var i=n(31112),r=n(41998),a=n(61532),o=n(43620),s=n(28784),l=n(52250),u=1,c=function(){return Promise.resolve()}(),h={};function f(e){return e in h&&(delete h[e],!0)}var d=function(e){var t=u++;return h[t]=!0,c.then(function(){return f(t)&&e()}),t},p=function(e){f(e)},v=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e,r){var a;return(0,i.Z)(this,n),(a=t.call(this,e,r)).scheduler=e,a.work=r,a}return(0,r.Z)(n,[{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?(0,a.Z)((0,o.Z)(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=d(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return(0,a.Z)((0,o.Z)(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(p(t),e.scheduled=void 0)}}]),n}(n(8277).o),g=new(function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,i.Z)(this,n),t.apply(this,arguments)}return(0,r.Z)(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i ' before it. E.g. @jsonMember(() => Foo)",a='Make sure that you have both "experimentalDecorators" and "emitDecoratorMetadata" enabled in your tsconfig.json';function o(e){return-1!==[Date,Number,String,Boolean].indexOf(e)}function s(e){return-1!==[Float32Array,Float64Array,Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array].indexOf(e)}function l(e,t){return"string"!=typeof e||function(e,t){var n=t===String||t===ArrayBuffer||t===DataView,i=e.length>=2&&'"'===e[0]&&'"'===e[e.length-1];if(t===Date){var r=!isNaN(Number(e.trim()));return!i&&!r}return n&&!i}(e,t)?e:JSON.parse(e)}function u(e,t){return e===t||e.prototype instanceof t}function c(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1?t-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{};return function(n,s){var u,c="@jsonArrayMember on ".concat((0,i.$0)(n.constructor),".").concat(String(s)),h=(0,o.JD)(e,c),f=null==t.dimensions?1:t.dimensions;if(!isNaN(f)&&f<1)(0,i.H)("".concat(c,": 'dimensions' option must be at least 1."));else{var d=i.df?Reflect.getMetadata("design:type",n,s):null;null==d||d===Array||d===Object?(0,r.d3)(n,s,{type:function(){return l((0,o._k)(h()),f)},emitDefaultValue:t.emitDefaultValue,isRequired:t.isRequired,options:(0,a.M3)(t),key:s.toString(),name:null!==(u=t.name)&&void 0!==u?u:s.toString(),deserializer:t.deserializer,serializer:t.serializer}):(0,i.H)("".concat(c,": property is not an Array. ").concat(i.AZ))}}}function l(e,t){for(var n=new o.GJ(e),i=1;i-1}).reduce(function(t,n){return t[n]=e[n],t},{});return Object.keys(t).length>0?t:void 0}function a(e,t){return null!=t&&null!=t[e]?t[e]:function(e){switch(e){case"preserveNull":return!1}return null}(e)}function o(e,t){return null==t?e:Object.assign(Object.assign({},e),t)}},43519:function(e,t,n){"use strict";n.d(t,{r5:function(){return z}});var i=n(31112),r=n(41998),a=n(56056),o=n(82519),s=n(46623),l=n(51790);function u(e,t){if(null!=e.__type)return t.get(e.__type)}var c=function(){function e(){(0,i.Z)(this,e),this.typeResolver=u,this.errorHandler=a.H,this.deserializationStrategy=new Map([[l.IK.ctor,a.yR],[Number,p],[String,p],[Boolean,p],[Date,_],[ArrayBuffer,b],[DataView,S],[Array,g],[Set,m],[Map,y],[Float32Array,T],[Float64Array,T],[Uint8Array,w],[Uint8ClampedArray,w],[Uint16Array,w],[Uint32Array,w]])}return(0,r.Z)(e,[{key:"setDeserializationStrategy",value:function(e,t){this.deserializationStrategy.set(e,t)}},{key:"setNameResolver",value:function(e){this.nameResolver=e}},{key:"setTypeResolver",value:function(e){if("function"!=typeof e)throw new TypeError("'typeResolverCallback' is not a function.");this.typeResolver=e}},{key:"getTypeResolver",value:function(){return this.typeResolver}},{key:"setErrorHandler",value:function(e){if("function"!=typeof e)throw new TypeError("'errorHandlerCallback' is not a function.");this.errorHandler=e}},{key:"getErrorHandler",value:function(){return this.errorHandler}},{key:"convertSingleValue",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"object",r=arguments.length>4?arguments[4]:void 0;if(this.retrievePreserveNull(r)&&null===e)return null;if((0,a.Jf)(e)){var o=this.deserializationStrategy.get(t.ctor);if(void 0!==o)return o(e,t,n,i,this,r);if("object"==typeof e)return v(e,t,n,i,this);var s="Could not deserialize '".concat(i,"'; don't know how to deserialize type");t.hasFriendlyName()&&(s+=" '".concat(t.ctor.name,"'")),this.errorHandler(new TypeError("".concat(s,".")))}}},{key:"instantiateType",value:function(e){return new e}},{key:"mergeKnownTypes",value:function(){for(var e=this,t=new Map,n=arguments.length,i=new Array(n),r=0;r2&&void 0!==arguments[2]?arguments[2]:"object",i=arguments.length>3?arguments[3]:void 0;if(this.retrievePreserveNull(i)&&null===e)return null;if((0,a.Jf)(e))if((0,a.V9)(e,t.ctor)){var r=this.serializationStrategy.get(t.ctor);if(void 0!==r)return r(e,t,n,this,i);if("object"==typeof e)return E(e,t,0,this);var o="Could not serialize '".concat(n,"'; don't know how to serialize type");t.hasFriendlyName()&&(o+=" '".concat(t.ctor.name,"'")),this.errorHandler(new TypeError("".concat(o,".")))}else{var s=(0,a.$0)(t.ctor),l=(0,a.$0)(e.constructor);this.errorHandler(new TypeError("Could not serialize '".concat(n,"': expected '").concat(s,"',")+" got '".concat(l,"'.")))}}}]),e}();function E(e,t,n,i,r){var l,u,c=i.getTypeHintEmitter();if(void 0===(l=o.WR.getFromConstructor(e.constructor!==t.ctor&&e instanceof t.ctor?e.constructor:t.ctor)))u=Object.assign({},e);else{var h=l.beforeSerializationMethodName;null!=h&&("function"==typeof e[h]?e[h]():"function"==typeof e.constructor[h]?e.constructor[h]():i.getErrorHandler()(new TypeError("beforeSerialization callback '"+"".concat((0,a.$0)(l.classType),".").concat(h)+"' is not a method.")));var f=l;u={};var d=(0,s.JH)(i.options,f.options);null!=f.typeHintEmitter&&(c=f.typeHintEmitter),f.dataMembers.forEach(function(t){var n,r=(0,s.JH)(d,t.options);if(null!=t.serializer)n=t.serializer(e[t.key]);else{if(null==t.type)throw new TypeError("Could not serialize ".concat(t.name,", there is")+" no constructor nor serialization function to use.");n=i.convertSingleValue(e[t.key],t.type(),"".concat((0,a.$0)(f.classType),".").concat(t.key),r)}(i.retrievePreserveNull(r)&&null===n||(0,a.Jf)(n))&&(u[t.name]=n)})}return c(u,e,t.ctor,l),u}function O(e,t,n,i,r){if(!(t instanceof l.GJ))throw new TypeError("Could not serialize ".concat(n," as Array: incorrect TypeDescriptor detected, please")+" use proper annotation or function for this type");if(null==t.elementType)throw new TypeError("Could not serialize ".concat(n," as Array: missing element type definition."));return e.forEach(function(e,o){if(!(i.retrievePreserveNull(r)&&null===e||(0,a.V9)(e,t.elementType.ctor))){var s=(0,a.$0)(t.elementType.ctor),l=e&&(0,a.$0)(e.constructor);throw new TypeError("Could not serialize ".concat(n,"[").concat(o,"]:")+" expected '".concat(s,"', got '").concat(l,"'."))}}),e.map(function(e,a){return i.convertSingleValue(e,t.elementType,"".concat(n,"[").concat(a,"]"),r)})}function R(e,t,n,i,r){if(!(t instanceof l.do))throw new TypeError("Could not serialize ".concat(n," as Set: incorrect TypeDescriptor detected, please")+" use proper annotation or function for this type");if(null==t.elementType)throw new TypeError("Could not serialize ".concat(n," as Set: missing element type definition."));n+="[]";var o=[];return e.forEach(function(e){var s=i.convertSingleValue(e,t.elementType,n,r);(0,a.Jf)(e)&&!(0,a.Jf)(s)||o.push(s)}),o}function M(e,t,n,i,r){if(!(t instanceof l.br))throw new TypeError("Could not serialize ".concat(n," as Map: incorrect TypeDescriptor detected, please")+" use proper annotation or function for this type");if(null==t.valueType)throw new TypeError("Could not serialize ".concat(n," as Map: missing value type definition."));if(null==t.keyType)throw new TypeError("Could not serialize ".concat(n," as Map: missing key type definition."));var o="".concat(n,"[].key"),s="".concat(n,"[].value"),u=t.getCompleteOptions().shape,c=1===u?{}:[],h=i.retrievePreserveNull(r);return e.forEach(function(e,n){var l={key:i.convertSingleValue(n,t.keyType,o,r),value:i.convertSingleValue(e,t.valueType,s,r)},f=(0,a.Jf)(l.key),d=null===l.value&&h||(0,a.Jf)(l.value);f&&d&&(1===u?c[l.key]=l.value:c.push(l))}),c}function L(e){return Array.from(e)}function P(e){return Array.from(new Uint16Array(e)).map(function(e){return String.fromCharCode(e)}).join("")}function Z(e){return P(e.buffer)}var z=function(){function e(t,n){(0,i.Z)(this,e),this.serializer=new C,this.deserializer=new c,this.globalKnownTypes=[],this.indent=0;var r=o.WR.getFromConstructor(t);if(void 0===r||!r.isExplicitlyMarked&&!r.isHandledWithoutAnnotation)throw new TypeError("The TypedJSON root data type must have the @jsonObject decorator used.");this.nameResolver=function(e){return(0,a.$0)(e)},this.rootConstructor=t,this.errorHandler=function(e){return(0,a.H)(e)},this.config(n)}return(0,r.Z)(e,[{key:"config",value:function(t){var n=this;null!=(t=Object.assign(Object.assign({},e._globalConfig),t)).knownTypes&&null!=e._globalConfig.knownTypes&&(t.knownTypes=Array.from(new Set(t.knownTypes.concat(e._globalConfig.knownTypes))));var i=(0,s.M3)(t);this.serializer.options=i,this.deserializer.options=i,null!=t.errorHandler&&(this.errorHandler=t.errorHandler,this.deserializer.setErrorHandler(t.errorHandler),this.serializer.setErrorHandler(t.errorHandler)),null!=t.replacer&&(this.replacer=t.replacer),null!=t.typeResolver&&this.deserializer.setTypeResolver(t.typeResolver),null!=t.typeHintEmitter&&this.serializer.setTypeHintEmitter(t.typeHintEmitter),null!=t.indent&&(this.indent=t.indent),null!=t.mappedTypes&&t.mappedTypes.forEach(function(e,t){n.setSerializationStrategies(t,e)}),null!=t.nameResolver&&(this.nameResolver=t.nameResolver,this.deserializer.setNameResolver(t.nameResolver)),null!=t.knownTypes&&(t.knownTypes.forEach(function(e,t){null==e&&(0,a.KE)("TypedJSON.config: 'knownTypes' contains an undefined/null value"+" (element ".concat(t,")."))}),this.globalKnownTypes=t.knownTypes)}},{key:"mapType",value:function(e,t){this.setSerializationStrategies(e,t)}},{key:"parse",value:function(e){var t,n=this,i=(0,a.W0)(e,this.rootConstructor),r=o.WR.getFromConstructor(this.rootConstructor),s=new Map;this.globalKnownTypes.filter(function(e){return e}).forEach(function(e){s.set(n.nameResolver(e),e)}),void 0!==r&&(r.processDeferredKnownTypes(),r.knownTypes.forEach(function(e){s.set(n.nameResolver(e),e)}));try{t=this.deserializer.convertSingleValue(i,(0,l._k)(this.rootConstructor),s)}catch(u){this.errorHandler(u)}return t}},{key:"parseAsArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=(0,a.W0)(e,Array);return this.deserializer.convertSingleValue(n,(0,A.r)((0,l._k)(this.rootConstructor),t),this._mapKnownTypes(this.globalKnownTypes))}},{key:"parseAsSet",value:function(e){var t=(0,a.W0)(e,Set);return this.deserializer.convertSingleValue(t,(0,l.zc)(this.rootConstructor),this._mapKnownTypes(this.globalKnownTypes))}},{key:"parseAsMap",value:function(e,t){var n=(0,a.W0)(e,Map);return this.deserializer.convertSingleValue(n,(0,l.mY)(t,this.rootConstructor),this._mapKnownTypes(this.globalKnownTypes))}},{key:"toPlainJson",value:function(e){try{return this.serializer.convertSingleValue(e,(0,l._k)(this.rootConstructor))}catch(t){this.errorHandler(t)}}},{key:"toPlainArray",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;try{return this.serializer.convertSingleValue(e,(0,A.r)((0,l._k)(this.rootConstructor),t))}catch(n){this.errorHandler(n)}}},{key:"toPlainSet",value:function(e){try{return this.serializer.convertSingleValue(e,(0,l.zc)(this.rootConstructor))}catch(t){this.errorHandler(t)}}},{key:"toPlainMap",value:function(e,t){try{return this.serializer.convertSingleValue(e,(0,l.mY)(t,this.rootConstructor))}catch(n){this.errorHandler(n)}}},{key:"stringify",value:function(e){var t=this.toPlainJson(e);return void 0===t?"":JSON.stringify(t,this.replacer,this.indent)}},{key:"stringifyAsArray",value:function(e,t){return JSON.stringify(this.toPlainArray(e,t),this.replacer,this.indent)}},{key:"stringifyAsSet",value:function(e){return JSON.stringify(this.toPlainSet(e),this.replacer,this.indent)}},{key:"stringifyAsMap",value:function(e,t){return JSON.stringify(this.toPlainMap(e,t),this.replacer,this.indent)}},{key:"_mapKnownTypes",value:function(e){var t=this,n=new Map;return e.filter(function(e){return e}).forEach(function(e){return n.set(t.nameResolver(e),e)}),n}},{key:"setSerializationStrategies",value:function(e,t){null!=t.deserializer&&this.deserializer.setDeserializationStrategy(e,function(e){return t.deserializer(e)}),null!=t.serializer&&this.serializer.setSerializationStrategy(e,function(e){return t.serializer(e)})}}],[{key:"parse",value:function(t,n,i){return new e(n,i).parse(t)}},{key:"parseAsArray",value:function(t,n,i,r){return new e(n,i).parseAsArray(t,r)}},{key:"parseAsSet",value:function(t,n,i){return new e(n,i).parseAsSet(t)}},{key:"parseAsMap",value:function(t,n,i,r){return new e(i,r).parseAsMap(t,n)}},{key:"toPlainJson",value:function(t,n,i){return new e(n,i).toPlainJson(t)}},{key:"toPlainArray",value:function(t,n,i,r){return new e(n,r).toPlainArray(t,i)}},{key:"toPlainSet",value:function(t,n,i){return new e(n,i).toPlainSet(t)}},{key:"toPlainMap",value:function(t,n,i,r){return new e(i,r).toPlainMap(t,n)}},{key:"stringify",value:function(t,n,i){return new e(n,i).stringify(t)}},{key:"stringifyAsArray",value:function(t,n,i,r){return new e(n,r).stringifyAsArray(t,i)}},{key:"stringifyAsSet",value:function(t,n,i){return new e(n,i).stringifyAsSet(t)}},{key:"stringifyAsMap",value:function(t,n,i,r){return new e(i,r).stringifyAsMap(t,n)}},{key:"setGlobalConfig",value:function(e){Object.assign(this._globalConfig,e)}},{key:"mapType",value:function(e,t){null==this._globalConfig.mappedTypes&&(this._globalConfig.mappedTypes=new Map),this._globalConfig.mappedTypes.set(e,t)}}]),e}();z._globalConfig={}},51790:function(e,t,n){"use strict";n.d(t,{eh:function(){return c},h2:function(){return h},GJ:function(){return d},do:function(){return p},zc:function(){return v},br:function(){return g},mY:function(){return m},IK:function(){return y},nW:function(){return _},p3:function(){return b},_k:function(){return S},JD:function(){return k}});var i=n(61532),r=n(43620),a=n(28784),o=n(52250),s=n(31112),l=n(41998),u=n(56056),c=function(){function e(t){(0,s.Z)(this,e),this.ctor=t}return(0,l.Z)(e,[{key:"getTypes",value:function(){return[this.ctor]}},{key:"hasFriendlyName",value:function(){return"Object"!==this.ctor.name}}]),e}(),h=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){return(0,s.Z)(this,n),t.call(this,e)}return n}(c),f=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){return(0,s.Z)(this,n),t.call(this,e)}return n}(c),d=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this,Array)).elementType=e,i}return(0,l.Z)(n,[{key:"getTypes",value:function(){return(0,i.Z)((0,r.Z)(n.prototype),"getTypes",this).call(this).concat(this.elementType.getTypes())}}]),n}(f),p=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e){var i;return(0,s.Z)(this,n),(i=t.call(this,Set)).elementType=e,i}return(0,l.Z)(n,[{key:"getTypes",value:function(){return(0,i.Z)((0,r.Z)(n.prototype),"getTypes",this).call(this).concat(this.elementType.getTypes())}}]),n}(f);function v(e){return new p(S(e))}var g=function(e){(0,a.Z)(n,e);var t=(0,o.Z)(n);function n(e,i,r){var a;return(0,s.Z)(this,n),(a=t.call(this,Map)).keyType=e,a.valueType=i,a.options=r,a}return(0,l.Z)(n,[{key:"getTypes",value:function(){return(0,i.Z)((0,r.Z)(n.prototype),"getTypes",this).call(this).concat(this.keyType.getTypes(),this.valueType.getTypes())}},{key:"getCompleteOptions",value:function(){var e,t;return{shape:null!==(t=null===(e=this.options)||void 0===e?void 0:e.shape)&&void 0!==t?t:0}}}]),n}(f);function m(e,t,n){return new g(S(e),S(t),n)}var y=new h(function(){});function _(e){return null!=e&&("function"==typeof e||e instanceof c)}function b(e){return"function"==typeof e&&""===e.name}function S(e){return e instanceof c?e:new h(e)}function k(e,t){if(null==e)throw new Error("No type given on ".concat(t,". ").concat(u.Vf));return b(e)?e:function(){return e}}},69213:function(e,t,n){"use strict";n.d(t,{_:function(){return h}});var i=n(90751),r=n(98663),a=n(93289),o=n(79996),s=n(43519),l=n(93820),u=n(42693),c=n(52318),h=function(){function e(e,t){this.http=e,this.configService=t}return Object.defineProperty(e.prototype,"API_HOST_URL",{get:function(){return this.configService.config.apiUrl},enumerable:!1,configurable:!0}),e.prototype.getTranslateByCodesList=function(e,t){(null==e||0===e||isNaN(e))&&(e=1);var n=this.API_HOST_URL+"/"+r._.TRANSLATES.LIST+"/"+String(e);return this.http.post(n,t).pipe(this.mapToModelsArray(i.T)).pipe((0,a.d)())},e.prototype.mapToModelsArray=function(e){return function(t){return t.pipe((0,o.U)(function(t){return s.r5.parseAsArray(t,e)}))}},e.\u0275fac=function(t){return new(t||e)(l.LFG(u.eN),l.LFG(c.E))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},31047:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var i={INSTITUTION_ID:"{INSTITUTION_ID}",LANGUAGE_ID:"{LANGUAGE_ID}",LOCALIZATION_ID:"{id_lokalizacji}",NUMBER_OF_VISITORS:"{liczba_osob}",GU_ID:"{GU_ID}",FORM_CODE:"{FORM_CODE}",REGION_ID:"{REGION_ID}",DISTRICT_ID:"{DISTRICT_ID}",SERVICE_ID:"{SERVICE_ID}",DICTIONARY_CODE:"{DICTIONARY_CODE}"}},569:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var i=function(e){return e[e.NATIONAL_VISA=1]="NATIONAL_VISA",e[e.CULTURE=3]="CULTURE",e[e.PASSPORT=4]="PASSPORT",e[e.LEGAL=5]="LEGAL",e[e.CITIZENSHIP=6]="CITIZENSHIP",e[e.POLES_CARD=7]="POLES_CARD",e[e.SCHENGEN_VISA=8]="SCHENGEN_VISA",e[e.MRG_BIALORUS=12]="MRG_BIALORUS",e[e.MRG_UKRAINE=13]="MRG_UKRAINE",e[e.MRG_RUSSIA=14]="MRG_RUSSIA",e}({})},64909:function(e,t,n){"use strict";n.d(t,{$:function(){return l}});var i=n(64762),r=n(63264),a=n(1244),o=n(38477),s=function(e){return e.LAST_NAME="nazwisko",e.FIRST_NAME="imie",e.EMAIL="email",e.PREFIX="prefix",e.PHONE="telefon",e.ARRIVAL_DATE="dataWjazdu",e.DEPARTURE_DATE="dataWyjazdu",e.TRAVEL_DOCUMENT_NUMBER="nrDokumentuPodrozy",e.TRAVEL_DOCUMENT_TYPE="rodzajDokumentuPodrozy",e.OTHER_TRAVEL_DOCUMENT="innyDokumentPodrozy",e.WORK_PERMISSION="zezwolenieNaPrace",e}({}),l=function(){function e(){}var t;return t=e,e.fromPartial=function(e){return Object.assign(new t,e)},(0,i.gn)([(0,r.R)({name:s.LAST_NAME}),(0,i.w6)("design:type",String)],e.prototype,"lastName",void 0),(0,i.gn)([(0,r.R)({name:s.FIRST_NAME}),(0,i.w6)("design:type",String)],e.prototype,"firstName",void 0),(0,i.gn)([(0,r.R)({name:s.EMAIL}),(0,i.w6)("design:type",String)],e.prototype,"email",void 0),(0,i.gn)([(0,r.R)({name:s.PREFIX}),(0,i.w6)("design:type",String)],e.prototype,"prefix",void 0),(0,i.gn)([(0,r.R)({name:s.PHONE}),(0,i.w6)("design:type",String)],e.prototype,"phone",void 0),(0,i.gn)([(0,r.R)({name:s.ARRIVAL_DATE}),(0,i.w6)("design:type",String)],e.prototype,"arrivalDate",void 0),(0,i.gn)([(0,r.R)({name:s.DEPARTURE_DATE}),(0,i.w6)("design:type",String)],e.prototype,"departureDate",void 0),(0,i.gn)([(0,r.R)({name:s.TRAVEL_DOCUMENT_NUMBER}),(0,i.w6)("design:type",String)],e.prototype,"travelDocumentNumber",void 0),(0,i.gn)([(0,r.R)({name:s.TRAVEL_DOCUMENT_TYPE}),(0,i.w6)("design:type",Number)],e.prototype,"travelDocumentType",void 0),(0,i.gn)([(0,r.R)({name:s.OTHER_TRAVEL_DOCUMENT}),(0,i.w6)("design:type",String)],e.prototype,"otherTravelDocument",void 0),(0,i.gn)([(0,r.R)({name:s.WORK_PERMISSION}),(0,i.w6)("design:type",o.U)],e.prototype,"workPermission",void 0),t=(0,i.gn)([(0,a.O)()],e)}()},38477:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var i=n(64762),r=n(63264),a=n(1244),o=function(e){return e.WORK_DOCUMENT_TYPE="rodzaj",e.WORK_DOCUMENT_NUMBER="numer",e.DATE_OF_ISSUE="wydanyDnia",e.DATE_OF_EXPIRY="waznyDo",e.ISSUED_BY="wydanyPrzez",e}({}),s=function(){function e(){}var t;return t=e,e.fromPartial=function(e){return Object.assign(new t,e)},(0,i.gn)([(0,r.R)({name:o.WORK_DOCUMENT_TYPE}),(0,i.w6)("design:type",String)],e.prototype,"workDocumentType",void 0),(0,i.gn)([(0,r.R)({name:o.WORK_DOCUMENT_NUMBER}),(0,i.w6)("design:type",String)],e.prototype,"workDocumentNumber",void 0),(0,i.gn)([(0,r.R)({name:o.DATE_OF_ISSUE}),(0,i.w6)("design:type",String)],e.prototype,"dateOfIssue",void 0),(0,i.gn)([(0,r.R)({name:o.DATE_OF_EXPIRY}),(0,i.w6)("design:type",String)],e.prototype,"dateOfExpire",void 0),(0,i.gn)([(0,r.R)({name:o.ISSUED_BY}),(0,i.w6)("design:type",String)],e.prototype,"issuedBy",void 0),t=(0,i.gn)([(0,a.O)()],e)}()},40875:function(e,t,n){"use strict";n.d(t,{Y:function(){return d}});var i=n(64762),r=n(63264),a=n(1244),o=function(e){return e.NATIONAL_VISA="wizaKrajowa",e.NATIONAL_VISA_FILL="wizaKrajowa_WYPELNIJ",e.SCHENGEN_VISA="wizaSchengen",e.SCHENGEN_VISA_FILL="wizaSchengen_WYPELNIJ",e.MRG_BELARUS="mrgBialorus",e.MRG_BELARUS_FILL="mrgBialorus_WYPELNIJ",e.MRG_UKRAINE="mrgUkraina",e.MRG_UKRAINE_FILL="mrgUkraina_WYPELNIJ",e.MRG_RUSSIA="mrgRosja",e.MRG_RUSSIA_FILL="mrgRosja_WYPELNIJ",e.PASSPORT="paszportowe",e.LEGAL="prawne",e.CITIZENSHIP="obywatelskie",e.POLISH_CARD="kartaPolaka",e}({}),s=function(){function e(){}return(0,i.gn)([(0,r.R)({name:o.NATIONAL_VISA}),(0,i.w6)("design:type",Boolean)],e.prototype,"nationalVisa",void 0),(0,i.gn)([(0,r.R)({name:o.NATIONAL_VISA_FILL}),(0,i.w6)("design:type",Boolean)],e.prototype,"nationalVisaFill",void 0),(0,i.gn)([(0,r.R)({name:o.SCHENGEN_VISA}),(0,i.w6)("design:type",Boolean)],e.prototype,"schengenVisa",void 0),(0,i.gn)([(0,r.R)({name:o.SCHENGEN_VISA_FILL}),(0,i.w6)("design:type",Boolean)],e.prototype,"schengenVisaFill",void 0),(0,i.gn)([(0,r.R)({name:o.MRG_BELARUS}),(0,i.w6)("design:type",Boolean)],e.prototype,"mrgBialorus",void 0),(0,i.gn)([(0,r.R)({name:o.MRG_BELARUS_FILL}),(0,i.w6)("design:type",Boolean)],e.prototype,"mrgBialorusFill",void 0),(0,i.gn)([(0,r.R)({name:o.MRG_UKRAINE}),(0,i.w6)("design:type",Boolean)],e.prototype,"mrgUkraine",void 0),(0,i.gn)([(0,r.R)({name:o.MRG_UKRAINE_FILL}),(0,i.w6)("design:type",Boolean)],e.prototype,"mrgUkraineFill",void 0),(0,i.gn)([(0,r.R)({name:o.MRG_RUSSIA}),(0,i.w6)("design:type",Boolean)],e.prototype,"mrgRussia",void 0),(0,i.gn)([(0,r.R)({name:o.MRG_RUSSIA_FILL}),(0,i.w6)("design:type",Boolean)],e.prototype,"mrgRussiaFill",void 0),(0,i.gn)([(0,r.R)({name:o.PASSPORT}),(0,i.w6)("design:type",Boolean)],e.prototype,"passport",void 0),(0,i.gn)([(0,r.R)({name:o.LEGAL}),(0,i.w6)("design:type",Boolean)],e.prototype,"legal",void 0),(0,i.gn)([(0,r.R)({name:o.CITIZENSHIP}),(0,i.w6)("design:type",Boolean)],e.prototype,"citizenship",void 0),(0,i.gn)([(0,r.R)({name:o.POLISH_CARD}),(0,i.w6)("design:type",Boolean)],e.prototype,"polishCard",void 0),(0,i.gn)([(0,a.O)()],e)}(),l=function(e){return e.CONSUL_MEETING="spotkanieZKonsulem",e.PASSPORT_MATTERS="sprawyPaszportowe",e.LEGAL_MATTERS="sprawyPrawne",e.CITIZENSHIP_MATTERS="sprawyObywatelskie",e.POLES_CARD="kartaPolaka",e}({}),u=function(){function e(){}return(0,i.gn)([(0,r.R)({name:l.CONSUL_MEETING}),(0,i.w6)("design:type",String)],e.prototype,"consulMeeting",void 0),(0,i.gn)([(0,r.R)({name:l.PASSPORT_MATTERS}),(0,i.w6)("design:type",String)],e.prototype,"passportMatters",void 0),(0,i.gn)([(0,r.R)({name:l.LEGAL_MATTERS}),(0,i.w6)("design:type",String)],e.prototype,"legalMatters",void 0),(0,i.gn)([(0,r.R)({name:l.CITIZENSHIP_MATTERS}),(0,i.w6)("design:type",String)],e.prototype,"citizenshipMatters",void 0),(0,i.gn)([(0,r.R)({name:l.POLES_CARD}),(0,i.w6)("design:type",String)],e.prototype,"polesCard",void 0),(0,i.gn)([(0,a.O)()],e)}(),c=function(e){return e.ADDRESS11="adres11",e.ADDRESS12="adres12",e.ADDRESS21="adres21",e.ADDRESS22="adres22",e.LOCALIZED_ADDRESS="localizedAddress",e}({}),h=function(){function e(){}return(0,i.gn)([(0,r.R)({name:c.ADDRESS11}),(0,i.w6)("design:type",String)],e.prototype,"address11",void 0),(0,i.gn)([(0,r.R)({name:c.ADDRESS12}),(0,i.w6)("design:type",String)],e.prototype,"address12",void 0),(0,i.gn)([(0,r.R)({name:c.ADDRESS21}),(0,i.w6)("design:type",String)],e.prototype,"address21",void 0),(0,i.gn)([(0,r.R)({name:c.ADDRESS22}),(0,i.w6)("design:type",String)],e.prototype,"address22",void 0),(0,i.gn)([(0,r.R)({name:c.LOCALIZED_ADDRESS}),(0,i.w6)("design:type",String)],e.prototype,"localizedAddress",void 0),(0,i.gn)([(0,a.O)()],e)}(),f=function(e){return e.COUNTRY_NAME="nazwaKraju",e.NAME="nazwaPlacowki",e.AVAILABLE_SERVICES="dostepneUslugi",e.INFORMATION="informacje",e.INSTITUTION_ADDRESS="adresPlacowki",e.EMAILS="emaile",e}({}),d=function(){function e(){}return(0,i.gn)([(0,r.R)({name:f.NAME}),(0,i.w6)("design:type",String)],e.prototype,"name",void 0),(0,i.gn)([(0,r.R)({name:f.COUNTRY_NAME}),(0,i.w6)("design:type",String)],e.prototype,"countryName",void 0),(0,i.gn)([(0,r.R)({name:f.INFORMATION}),(0,i.w6)("design:type",String)],e.prototype,"information",void 0),(0,i.gn)([(0,r.R)({name:f.AVAILABLE_SERVICES}),(0,i.w6)("design:type",s)],e.prototype,"availableServices",void 0),(0,i.gn)([(0,r.R)({name:f.INSTITUTION_ADDRESS}),(0,i.w6)("design:type",h)],e.prototype,"institutionAddress",void 0),(0,i.gn)([(0,r.R)({name:f.EMAILS}),(0,i.w6)("design:type",u)],e.prototype,"emails",void 0),(0,i.gn)([(0,a.O)()],e)}()},27484:function(e,t,n){"use strict";n.d(t,{P:function(){return s}});var i=n(64762),r=n(63264),a=n(1244),o=function(e){return e.ADDRESS11="adres11",e.ADDRESS12="adres12",e}({}),s=function(){function e(){}var t;return t=e,e.fromPartial=function(e){return Object.assign(new t,e)},(0,i.gn)([(0,r.R)({name:o.ADDRESS11}),(0,i.w6)("design:type",String)],e.prototype,"address11",void 0),(0,i.gn)([(0,r.R)({name:o.ADDRESS12}),(0,i.w6)("design:type",String)],e.prototype,"address12",void 0),t=(0,i.gn)([(0,a.O)()],e)}()},26930:function(e,t,n){"use strict";n.d(t,{W:function(){return l}});var i=n(64762),r=n(63264),a=n(1244),o=n(27484),s=function(e){return e.ID="id",e.NAME="nazwa",e.ADDRESS="adres",e}({}),l=function(){function e(){}return(0,i.gn)([(0,r.R)({name:s.ID}),(0,i.w6)("design:type",Number)],e.prototype,"id",void 0),(0,i.gn)([(0,r.R)({name:s.NAME}),(0,i.w6)("design:type",String)],e.prototype,"name",void 0),(0,i.gn)([(0,r.R)({name:s.ADDRESS}),(0,i.w6)("design:type",o.P)],e.prototype,"address",void 0),(0,i.gn)([(0,a.O)()],e)}()},54211:function(e,t,n){"use strict";n.d(t,{L:function(){return l}});var i=n(64762),r=n(63264),a=n(1244),o=n(27484),s=function(e){return e.VISIT_DAY="dzienWizyty",e.VISIT_TIME="godzinaWizyty",e.TIME="czas",e.TICKET="bilet",e.RESERVATION_DATE_TYPE="rodzajTerminu",e.LOCALIZATION_ID="idLokalizacji",e.LOCALIZATION_ADDRESS="adres",e.NUMBER_OF_VISITORS="liczbaOsob",e}({}),l=function(){function e(){}return(0,i.gn)([(0,r.R)({name:s.VISIT_DAY}),(0,i.w6)("design:type",String)],e.prototype,"visitDay",void 0),(0,i.gn)([(0,r.R)({name:s.VISIT_TIME}),(0,i.w6)("design:type",String)],e.prototype,"visitTime",void 0),(0,i.gn)([(0,r.R)({name:s.TIME}),(0,i.w6)("design:type",Date)],e.prototype,"time",void 0),(0,i.gn)([(0,r.R)({name:s.TICKET}),(0,i.w6)("design:type",String)],e.prototype,"ticket",void 0),(0,i.gn)([(0,r.R)({name:s.RESERVATION_DATE_TYPE}),(0,i.w6)("design:type",String)],e.prototype,"reservationDateType",void 0),(0,i.gn)([(0,r.R)({name:s.LOCALIZATION_ID}),(0,i.w6)("design:type",Number)],e.prototype,"localizationId",void 0),(0,i.gn)([(0,r.R)({name:s.LOCALIZATION_ADDRESS}),(0,i.w6)("design:type",o.P)],e.prototype,"localizationAddress",void 0),(0,i.gn)([(0,r.R)({name:s.NUMBER_OF_VISITORS}),(0,i.w6)("design:type",Number)],e.prototype,"numberOfVisitors",void 0),(0,i.gn)([(0,a.O)()],e)}()},93735:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var i=n(64762),r=n(63264),a=n(1244),o=function(e){return e.IS_RESERVATION_TIME_EXCEEDED="przekroczonyCzasRezerwacji",e.IS_FORM_ALREADY_SUBMITTED="juzZlozonoFormularz",e.IS_WORK_DOCUMENT_EXPIRED_DATE="zbytKrotaDataWaznosciDokumentuPraca",e.IS_DOCUMENTS_NON_COMPLIANCE="niezgodnoscDokumentuPodrozyZDokumentemPraca",e.IS_WORK_DOCUMENT_REPEATED="powtorzenieDokumentuPraca",e.HOURS_FOR_FORM_ACTIVATION="liczbaGodzinNaAktywacjeWnioskuWstepnego",e}({}),s=function(){function e(){}return(0,i.gn)([(0,r.R)({name:o.IS_RESERVATION_TIME_EXCEEDED}),(0,i.w6)("design:type",Boolean)],e.prototype,"isReservationTimeExceeded",void 0),(0,i.gn)([(0,r.R)({name:o.IS_FORM_ALREADY_SUBMITTED}),(0,i.w6)("design:type",Boolean)],e.prototype,"isFormAlreadySubmitted",void 0),(0,i.gn)([(0,r.R)({name:o.IS_FORM_ALREADY_SUBMITTED}),(0,i.w6)("design:type",Boolean)],e.prototype,"isWorkDocumentExpiredDate",void 0),(0,i.gn)([(0,r.R)({name:o.IS_DOCUMENTS_NON_COMPLIANCE}),(0,i.w6)("design:type",Boolean)],e.prototype,"isDocumentsNonCompliance",void 0),(0,i.gn)([(0,r.R)({name:o.IS_WORK_DOCUMENT_REPEATED}),(0,i.w6)("design:type",Boolean)],e.prototype,"isWorkDocumentRepeated",void 0),(0,i.gn)([(0,r.R)({name:o.HOURS_FOR_FORM_ACTIVATION}),(0,i.w6)("design:type",Number)],e.prototype,"hoursForFormActivation",void 0),(0,i.gn)([(0,a.O)()],e)}()},69151:function(e,t,n){"use strict";n.d(t,{x:function(){return s}});var i=n(64762),r=n(63264),a=n(1244),o=function(e){return e.TICKET="bilet",e}({}),s=function(){function e(){}return(0,i.gn)([(0,r.R)({name:o.TICKET}),(0,i.w6)("design:type",String)],e.prototype,"ticket",void 0),(0,i.gn)([(0,a.O)()],e)}()},90751:function(e,t,n){"use strict";n.d(t,{T:function(){return c}});var i=n(64762),r=n(63264),a=n(91908),o=n(1244),s=function(e){return e.CODE="kod",e.TEXT="tekst",e}({}),l=function(){function e(){}return(0,i.gn)([(0,r.R)({name:s.CODE}),(0,i.w6)("design:type",String)],e.prototype,"code",void 0),(0,i.gn)([(0,r.R)({name:s.TEXT}),(0,i.w6)("design:type",String)],e.prototype,"text",void 0),(0,i.gn)([(0,o.O)()],e)}(),u=function(e){return e.CODE="kod",e.TRANSLATES="tlumaczenia",e}({}),c=function(){function e(){}return(0,i.gn)([(0,r.R)({name:u.CODE}),(0,i.w6)("design:type",String)],e.prototype,"code",void 0),(0,i.gn)([(0,a.g)(l,{name:u.TRANSLATES}),(0,i.w6)("design:type",Array)],e.prototype,"translates",void 0),(0,i.gn)([(0,o.O)()],e)}()},71702:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(64762),r=n(27484),a=n(63264),o=n(1244),s=function(e){return e.VISIT_DAY="dzienWizyty",e.TIME="czas",e.TICKET="bilet",e.LOCALIZATION_ID="idLokalizacji",e.LOCALIZATION_ADDRESS="adres",e}({}),l=function(){function e(){}var t;return t=e,e.fromPartial=function(e){return Object.assign(new t,e)},(0,i.gn)([(0,a.R)({name:s.VISIT_DAY}),(0,i.w6)("design:type",String)],e.prototype,"visitDay",void 0),(0,i.gn)([(0,a.R)({name:s.TIME}),(0,i.w6)("design:type",Date)],e.prototype,"time",void 0),(0,i.gn)([(0,a.R)({name:s.TICKET}),(0,i.w6)("design:type",String)],e.prototype,"ticket",void 0),(0,i.gn)([(0,a.R)({name:s.LOCALIZATION_ID}),(0,i.w6)("design:type",Number)],e.prototype,"localizationId",void 0),(0,i.gn)([(0,a.R)({name:s.LOCALIZATION_ADDRESS}),(0,i.w6)("design:type",r.P)],e.prototype,"localizationAddress",void 0),t=(0,i.gn)([(0,o.O)()],e)}()},82863:function(e,t,n){"use strict";n.d(t,{p:function(){return v}});var i=n(64762),r=n(63264),a=n(91908),o=n(1244),s=n(26930),l=function(e){return e.DATE="data",e.TIME_FROM="godzinaOd",e.TIME_TO="godzinaDo",e}({}),u=function(){function e(){}return(0,i.gn)([(0,r.R)({name:l.DATE}),(0,i.w6)("design:type",String)],e.prototype,"date",void 0),(0,i.gn)([(0,r.R)({name:l.TIME_FROM}),(0,i.w6)("design:type",String)],e.prototype,"timeFrom",void 0),(0,i.gn)([(0,r.R)({name:l.TIME_TO}),(0,i.w6)("design:type",String)],e.prototype,"timeTo",void 0),(0,i.gn)([(0,o.O)()],e)}(),c=function(e){return e.DATE_FROM="dataOd",e.DATE_TO="dataDo",e}({}),h=function(){function e(){}return(0,i.gn)([(0,r.R)({name:c.DATE_FROM}),(0,i.w6)("design:type",String)],e.prototype,"dateFrom",void 0),(0,i.gn)([(0,r.R)({name:c.DATE_TO}),(0,i.w6)("design:type",String)],e.prototype,"dateTo",void 0),(0,i.gn)([(0,o.O)()],e)}(),f=function(e){return e.LOCALIZATION_ID="idLokalizacji",e.RANDOM_DATE="dataLosowania",e.NEAREST_RANDOM_DAYS_WITHOUT_TIME="najblizszeLosowanieDniBezGodzin",e.NEAREST_RANDOM_DAYS_WITH_TIME="najblizszeLosowanieDniZGodzinami",e}({}),d=function(){function e(){}return(0,i.gn)([(0,r.R)({name:f.LOCALIZATION_ID}),(0,i.w6)("design:type",Number)],e.prototype,"localizationId",void 0),(0,i.gn)([(0,r.R)({name:f.RANDOM_DATE}),(0,i.w6)("design:type",String)],e.prototype,"randomDate",void 0),(0,i.gn)([(0,r.R)({name:f.NEAREST_RANDOM_DAYS_WITHOUT_TIME}),(0,i.w6)("design:type",h)],e.prototype,"nearestRandomDaysWithoutTime",void 0),(0,i.gn)([(0,a.g)(u,{name:f.NEAREST_RANDOM_DAYS_WITH_TIME}),(0,i.w6)("design:type",Array)],e.prototype,"nearestRandomDaysWithTime",void 0),(0,i.gn)([(0,o.O)()],e)}(),p=function(e){return e.ID="id",e.NAME="nazwa",e.LOCALIZATIONS="lokalizacje",e.RESERVATION_NO_AVAILABLE_DATES="rezerwacja_BrakDostepnychTerminow",e.SERVICE_WITH_RANDOM_DATES="uslugaZLosowaniem",e.RANDOM_DATES_IN_LOCALIZATIONS="losowaniaWLokalizacjach",e.SERVICE_WITH_VERIFICATION="uslugaZWeryfikacja",e}({}),v=function(){function e(){}return(0,i.gn)([(0,r.R)({name:p.ID}),(0,i.w6)("design:type",Number)],e.prototype,"id",void 0),(0,i.gn)([(0,r.R)({name:p.NAME}),(0,i.w6)("design:type",String)],e.prototype,"name",void 0),(0,i.gn)([(0,r.R)({name:p.RESERVATION_NO_AVAILABLE_DATES}),(0,i.w6)("design:type",String)],e.prototype,"reservationNoAvailableDates",void 0),(0,i.gn)([(0,r.R)({name:p.SERVICE_WITH_RANDOM_DATES}),(0,i.w6)("design:type",Boolean)],e.prototype,"serviceWithRandomDates",void 0),(0,i.gn)([(0,a.g)(d,{name:p.RANDOM_DATES_IN_LOCALIZATIONS}),(0,i.w6)("design:type",Array)],e.prototype,"randomDatesInLocalizations",void 0),(0,i.gn)([(0,r.R)({name:p.SERVICE_WITH_VERIFICATION}),(0,i.w6)("design:type",Boolean)],e.prototype,"serviceWithVerification",void 0),(0,i.gn)([(0,a.g)(s.W,{name:p.LOCALIZATIONS}),(0,i.w6)("design:type",Array)],e.prototype,"localizations",void 0),(0,i.gn)([(0,o.O)()],e)}()},52318:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var i=n(66599),r=n(93820),a=n(42693),o=function(){function e(e){this.httpClient=e,this._config=null}return Object.defineProperty(e.prototype,"config",{get:function(){if(null===this._config)throw new Error("Konfiguracja nie jest zainicjalizowana!");return this._config},enumerable:!1,configurable:!0}),e.prototype.inicjalizuj=function(){var e=this;return this.httpClient.get("./assets/config.json").pipe((0,i.b)(function(t){return e._config=t}))},e.\u0275fac=function(t){return new(t||e)(r.LFG(a.eN))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},12398:function(e,t,n){"use strict";n.d(t,{I:function(){return u}});var i=n(61116),r=n(42693),a=n(63337),o=n(31041),s=n(75425),l=n(93820),u=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l.oAB({type:e}),e.\u0275inj=l.cJS({imports:[[i.ez,r.JF,a.Bz,o.u5,s.m]]}),e}()},20346:function(e,t,n){"use strict";n.d(t,{I:function(){return r},C:function(){return a}});var i=n(812),r="/"+i.pn+"/"+i.Hi,a="/"+i.pn+"/"+i.$q},78317:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var i=n(53918),r=n(94571),a=n(93820),o=function(){function e(e){this.translateService=e,this.DOSTEPNOSC_TRANSLATION_AREA_CODE="DOSTEPNOSC",this.Gwiazdka$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate(this.DOSTEPNOSC_TRANSLATION_AREA_CODE,"Gwiazdka")),this.IkonaTyp_Alert$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate(this.DOSTEPNOSC_TRANSLATION_AREA_CODE,"IkonaTyp_Alert")),this.IkonaTyp_Informacja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate(this.DOSTEPNOSC_TRANSLATION_AREA_CODE,"IkonaTyp_Informacja")),this.IkonaTyp_Potrwierdzenie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate(this.DOSTEPNOSC_TRANSLATION_AREA_CODE,"IkonaTyp_Potrwierdzenie")),this.SkipLink_PrzejdzDoMenu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate(this.DOSTEPNOSC_TRANSLATION_AREA_CODE,"SkipLink_PrzejdzDoMenu")),this.SkipLink_PrzejdzDoStopki$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate(this.DOSTEPNOSC_TRANSLATION_AREA_CODE,"SkipLink_PrzejdzDoStopki")),this.SkipLink_PrzejdzDoZawartosci$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate(this.DOSTEPNOSC_TRANSLATION_AREA_CODE,"SkipLink_PrzejdzDoZawartosci")),this.ZablokowanoPolaUslugaLokalizacja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate(this.DOSTEPNOSC_TRANSLATION_AREA_CODE,"ZablokowanoPolaUslugaLokalizacja"))}return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.s))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},48987:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var i=n(53918),r=n(94571),a=n(93820),o=function(){function e(e){this.translateService=e,this.GLOWNA_Czcionka$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","GLOWNA_Czcionka")),this.GLOWNA_DataModyfikacji$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_DataModyfikacji")),this.GLOWNA_DeklaracjaDostepnosci$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_DeklaracjaDostepnosci")),this.GLOWNA_Dostepnosc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","GLOWNA_Dostepnosc")),this.GLOWNA_HerbPolski$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_HerbPolski")),this.GLOWNA_Kontakt$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_Kontakt")),this.GLOWNA_Kontrast$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","GLOWNA_Kontrast")),this.GLOWNA_KlauzulaRODO$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_KlauzulaRODO")),this.GLOWNA_Kraj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_Kraj")),this.GLOWNA_Menu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_Menu")),this.GLOWNA_NumerWersji$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_NumerWersji")),this.GLOWNA_Odstepy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","GLOWNA_Odstepy$")),this.GLOWNA_Opis$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_Opis")),this.GLOWNA_Placowka$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_Placowka")),this.GLOWNA_Regulamin$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_Regulamin")),this.GLOWNA_StronaGlowna$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_StronaGlowna")),this.GLOWNA_Tytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_Tytul")),this.GLOWNA_WersjaJezykowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","GLOWNA_WersjaJezykowa")),this.INFORMACYJNE_NowaKarta$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","INFORMACYJNE_NowaKarta")),this.INFORMACYJNE_WizytyPaszportowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","INFORMACYJNE_WizytyPaszportowe")),this.INFORMACYJNE_WizytyPrawne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","INFORMACYJNE_WizytyPrawne")),this.MENU_DyzuryKonsularne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_DyzuryKonsularne")),this.MENU_InformacjeZObszarow$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_InformacjeZObszarow")),this.MENU_InformacjeZObszarow_KartaPolaka$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_InformacjeZObszarow_KartaPolaka")),this.MENU_InformacjeZObszarow_MRG$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_InformacjeZObszarow_MRG")),this.MENU_InformacjeZObszarow_Obywatelski$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_InformacjeZObszarow_Obywatelski")),this.MENU_InformacjeZObszarow_Paszportowy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_InformacjeZObszarow_Paszportowy")),this.MENU_InformacjeZObszarow_Prawny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_InformacjeZObszarow_Prawny")),this.MENU_InformacjeZObszarow_Wizowy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_InformacjeZObszarow_Wizowy")),this.MENU_MRG$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_MRG")),this.MENU_MRG_ZarejestrujFormularz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_MRG_ZarejestrujFormularz")),this.MENU_PlacowkiZagraniczne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_PlacowkiZagraniczne")),this.MENU_PlikiDoPobrania$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_PlikiDoPobrania")),this.MENU_Podroze$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_Podroze")),this.MENU_Wiza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_Wiza")),this.MENU_WizaKrajowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_WizaKrajowa")),this.MENU_WizaSchengen$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_WizaSchengen")),this.MENU_Wizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_Wizyty")),this.MENU_WizytyFormularzeDoPobrania$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_WizytyFormularzeDoPobrania")),this.MENU_WizytyKartaPolaka$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_WizytyKartaPolaka")),this.MENU_WizytyObywatelskie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_WizytyObywatelskie")),this.MENU_WizytyPaszportowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_WizytyPaszportowe")),this.MENU_WizytyPrawne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("EKONSULAT","MENU_WizytyPrawne"))}return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.s))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},44573:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var i=n(53918),r=n(94571),a=n(93820),o=function(){function e(e){this.translateService=e,this.lbl_Zezwolenie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","lbl_Zezwolenie")),this.MRG_lblAdresZamieszkania$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblAdresZamieszkania")),this.MRG_lblDaneOsobowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblDaneOsobowe")),this.MRG_lblDaneOsobyOdwiedzanej$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblDaneOsobyOdwiedzanej")),this.MRG_lblDanePodrozne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblDanePodrozne")),this.MRG_lblDataUrodzenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblDataUrodzenia")),this.MRG_lblEmail$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblEmail")),this.MRG_lblImie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblImie")),this.MRG_lblInfoPodNaglowkiemFormularza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblInfoPodNaglowkiemFormularza")),this.MRG_lblKodPocztowy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblKodPocztowy")),this.MRG_lblMiejscowosc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblMiejscowosc")),this.MRG_lblNaglowek1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblNaglowek1")),this.MRG_lblNazwiskoNazwa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblNazwiskoNazwa")),this.MRG_lblNrTel$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblNrTel")),this.MRG_lblPlec$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblPlec")),this.MRG_rblPlec_F$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_rblPlec_F")),this.MRG_rblPlec_M$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_rblPlec_M")),this.MRG_lblPowiat$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblPowiat")),this.MRG_lblUlica$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblUlica")),this.MRG_lblWojewodztwo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lblWojewodztwo")),this.MRG_lbl1Nazwisko$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl1Nazwisko")),this.MRG_lbl2NazwiskoRodowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl2NazwiskoRodowe")),this.MRG_lbl3Imiona$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl3Imiona")),this.MRG_lbl4MiejsceUrodzenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl4MiejsceUrodzenia")),this.MRG_lbl5NumerPaszportu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl5NumerPaszportu")),this.MRG_lbl5Obywatelstwo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl5Obywatelstwo")),this.MRG_lbl7WydanyPrzez$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl7WydanyPrzez")),this.MRG_lbl8WydanyDnia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl8WydanyDnia")),this.MRG_lbl9WaznyDo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl9WaznyDo")),this.MRG_lbl10OdDnia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl10OdDnia")),this.MRG_lbl11CelPodrozy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl11CelPodrozy")),this.MRG_rbl11_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_rbl11_1")),this.MRG_rbl11_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_rbl11_2")),this.MRG_rbl11_3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_rbl11_3")),this.MRG_rbl11_4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_rbl11_4")),this.MRG_rbl11_5$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_rbl11_5")),this.MRG_rbl11_6$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_rbl11_6")),this.MRG_rbl11_7$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_rbl11_7")),this.MRG_rbl11_8$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_rbl11_8")),this.MRG_lbl12uzasadnienie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl12uzasadnienie")),this.MRG_lbl14InneZezwolenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl14InneZezwolenia")),this.MRG_lbl14SeriaNumer$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl14SeriaNumer")),this.MRG_lbl14OrganWydajacy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl14OrganWydajacy")),this.MRG_lbl14DataWydania$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl14DataWydania")),this.MRG_lbl14DataWaznosci$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl14DataWaznosci")),this.MRG_lbl15Uniewaznienie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl15Uniewaznienie")),this.MRG_chk16Oswiadczenie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_chk16Oswiadczenie")),this.Formularz_Osoba$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","Formularz_Osoba")),this.MRG_lbl13Gmina$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_lbl13Gmina")),this.MRG_NieprawidlowaWartosc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_NieprawidlowaWartosc")),this.MRG_Walidacja_DataWydaniaDokumentu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_Walidacja_DataWydaniaDokumentu")),this.MRG_Walidacja_MinIloscDniZamieszkania$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","MRG_Walidacja_MinIloscDniZamieszkania")),this.tooltip_DodajOsobeLubFirme$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","tooltip_DodajOsobeLubFirme")),this.tooltip_DodajZezwolenie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","tooltip_DodajZezwolenie")),this.tooltip_UsunOsobeLubFirme$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","tooltip_UsunOsobeLubFirme")),this.tooltip_UsunZezwolenie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_MRG","tooltip_UsunZezwolenie"))}return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.s))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},78781:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var i=n(53918),r=n(94571),a=n(93820),o=function(){function e(e){this.translateService=e,this.DaneOpiekuna1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","DaneOpiekuna1")),this.DaneOpiekuna2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","DaneOpiekuna2")),this.Walidacja_BlednyDokumentPodrozyWydanyPrzez$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","Walidacja_BlednyDokumentPodrozyWydanyPrzez")),this.Walidacja_BlednaIloscDni$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","Walidacja_BlednaIloscDni")),this.Walidacja_BlednyNumerDowodu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","Walidacja_BlednyNumerDowodu")),this.Walidacja_BlednyNumerInnyDokumentPodrozy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","Walidacja_BlednyNumerInnyDokumentPodrozy")),this.Walidacja_SchengenBlednaIloscDni$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","Walidacja_SchengenBlednaIloscDni")),this.Walidacja_NieprawidlowaWartosc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_NieprawidlowaWartosc")),this.WS_Adress_Tytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_Adress_Tytul")),this.WS_bezterminowo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_bezterminowo")),this.WS_cmdAdd42Dzieci$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_cmdAdd42Dzieci")),this.WS_DaneDokumentuPraca$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_DaneDokumentuPraca")),this.WS_DaneDokumentuPracaTytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_DaneDokumentuPracaTytul")),this.WS_EMAIL_AktywacjaWnioskuWstepnegoNaglowek$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_EMAIL_AktywacjaWnioskuWstepnegoNaglowek")),this.WS_EtykietaPolaGwiazki$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_EtykietaPolaGwiazki")),this.WS_InneDane_Tytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_InneDane_Tytul")),this.WS_lblDaneObywatelaUE$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblDaneObywatelaUE")),this.WS_lblDaneOsobowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lblDaneOsobowe")),this.WS_lblDaneOsobowe2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblDaneOsobowe")),this.WS_lblDaneOsobyPrzyjmujacej$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lblDaneOsobyPrzyjmujacej")),this.WS_lblDanePaszportowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lblDanePaszportowe")),this.WS_lblDanePaszportowe2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblDanePaszportowe")),this.WS_lblDanePodrozne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblDanePodrozne")),this.WS_lblDanePokrywajacegoKoszty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblDanePokrywajacegoKoszty")),this.WS_lblDaneWnioskodawcy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblDaneWnioskodawcy")),this.WS_lblDataWaznosci$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblDataWaznosci")),this.WS_lblDataWydania$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblDataWydania")),this.WS_lblInfoPotwierdzenie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblInfoPotwierdzenie")),this.WS_lblNaglowek1WizaKrajowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblNaglowek1WizaKrajowa")),this.WS_lblNaglowek1WizaKrajowaWstepny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblNaglowek1WizaKrajowaWstepny")),this.WS_lblNumerDokumentuPraca$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblNumerDokumentuPraca")),this.WS_lblRodzajDokumentuPraca$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblRodzajDokumentuPraca")),this.WS_lblWalidacjaKonsultacjaInfo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblWalidacjaKonsultacjaInfo")),this.WS_lblWydanyPrzez$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblWydanyPrzez")),this.WS_lblWniosekKomentarz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblWniosekKomentarz")),this.WS_lblWypelnienieInfo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblWypelnienieInfo")),this.WS_lblWypelnijZarejestruj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblWypelnijZarejestruj")),this.WS_lbl1Nazwisko$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl1Nazwisko")),this.WS_lbl2Imiona$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl2Imiona")),this.WS_lbl2NazwiskoRodowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl2NazwiskoRodowe")),this.WS_lbl3Email$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl3Email")),this.WS_lbl3Imiona$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl3Imiona")),this.WS_lbl4DataUrodzin$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl4DataUrodzin")),this.WS_lbl4Prefiks$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl4Prefiks")),this.WS_lbl5Numer$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl5Numer")),this.WS_lbl5NumerDowodu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl5NumerDowodu")),this.WS_lbl6aMiejsceUrodzenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl6aMiejsceUrodzenia")),this.WS_lbl6bKrajUrodzenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl6bKrajUrodzenia")),this.WS_lbl6DataWjazduWizaKrajowaWstepny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl6DataWjazduWizaKrajowaWstepny")),this.WS_lbl7DataWyjazduWizaKrajowaWstepny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl7DataWyjazduWizaKrajowaWstepny")),this.WS_lbl7ObecneObywatelstwo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl7ObecneObywatelstwo")),this.WS_lbl8NumerPaszportu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl8NumerPaszportu")),this.WS_lbl8PierwotneObywatelstwo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl8PierwotneObywatelstwo")),this.WS_lbl9Plec$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl9Plec")),this.WS_lbl9RodzajPaszportu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl9RodzajPaszportu")),this.WS_lbl10Obywatelstwo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl10Obywatelstwo")),this.WS_lbl10Opiekun$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl10Opiekun")),this.WS_lbl10StanCywilny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl10StanCywilny")),this.WS_lbl13RodzajPaszportu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl13RodzajPaszportu")),this.WS_lbl13RodzajPaszportuInny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl13RodzajPaszportuInny")),this.WS_lbl14NumerPaszportu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl14NumerPaszportu")),this.WS_lbl15WydanyPrzez$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl15WydanyPrzez")),this.WS_lbl16WydanyDnia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl16WydanyDnia")),this.WS_lbl17WaznyDo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl17WaznyDo")),this.WS_lbl18aNumer$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl18aNumer")),this.WS_lbl18bDataWaznosci$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl18bDataWaznosci")),this.WS_lbl18DataWaznosci$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl18DataWaznosci")),this.WS_lbl19WykonywanyZawod$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl19WykonywanyZawod")),this.WS_lbl20Email$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl20Email")),this.WS_lbl20Nazwa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl20Nazwa")),this.WS_lbl20NumerFax$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl20NumerFax")),this.WS_lbl20PrefiksFax$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl20PrefiksFax")),this.WS_lbl20bPanstwo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl20bPanstwo")),this.WS_lbl20cStanProwincja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl20cStanProwincja")),this.WS_lbl20dMiejscowosc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl20dMiejscowosc")),this.WS_lbl20eKodPocztowy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl20eKodPocztowy")),this.WS_lbl20fAdres$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl20fAdres")),this.WS_lbl20gPrefix$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl20gPrefix")),this.WS_lbl20hTelefon$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl20hTelefon")),this.WS_lbl20Pracodawca$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl20Pracodawca")),this.WS_rbl20_PRA$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl20_PRA")),this.WS_rbl20_UCZ$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl20_UCZ")),this.WS_lbl21KrajDocelowy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl21KrajDocelowy")),this.WS_lbl23PierwszyWjazd$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl23PierwszyWjazd")),this.WS_lbl24IloscWjazdow$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl24IloscWjazdow")),this.WS_lbl25OkresPobytu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl25OkresPobytu")),this.WS_lbl25WnioskowanaNa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl25WnioskowanaNa")),this.WS_lbl25dniWizaKrajowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl25dniWizaKrajowa")),this.WS_lbl25dniWizaSchengen$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl25dniWizaSchengen")),this.WS_lbl26InneWizyWizaKrajowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl26InneWizyWizaKrajowa")),this.WS_lbl26InneWizyWizaSchengen$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl26InneWizyWizaSchengen")),this.WS_rbl26_Tak$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl26_Tak")),this.WS_rbl26_Nie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl26_Nie")),this.WS_lbl26Od$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl26Od")),this.WS_lbl26Do$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl26Do")),this.WS_lbl27Odciski$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl27Odciski")),this.WS_lbl27WydanePrzez$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl27WydanePrzez")),this.WS_lbl27WazneOd$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl27WazneOd")),this.WS_lbl27WazneDo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl27WazneDo")),this.WS_lbl27_Tak$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl27_Tak")),this.WS_lbl27_Nie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl27_Nie")),this.WS_btn28_wiecej$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_btn28_wiecej")),this.WS_lbl28ZezwolenieNaWjazd$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl28ZezwolenieNaWjazd")),this.WS_lbl29CelPodrozy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl29CelPodrozy")),this.WS_lbl29CelPodrozyInny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl29CelPodrozyInny")),this.WS_lbl30DataWjazduWizaKrajowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl30DataWjazduWizaKrajowa")),this.WS_lbl30DataWjazduWizaSchengen$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl30DataWjazduWizaSchengen")),this.WS_lbl31DataWyjazduWizaKrajowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl31DataWyjazduWizaKrajowa")),this.WS_lbl31DataWyjazduWizaSchengen$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl31DataWyjazduWizaSchengen")),this.WS_lbl32Nazwa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl32Nazwa")),this.WS_lbl34DaneZezwoleniaNaPrace$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl34DaneZezwoleniaNaPrace")),this.WS_lbl34Adres$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34Adres")),this.WS_lbl34Email$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34Email")),this.WS_lbl34fax$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34fax")),this.WS_lbl34Imie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34Imie")),this.WS_lbl34Kod$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34Kod")),this.WS_lbl34Miejscowosc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34Miejscowosc")),this.WS_lbl34Nazwisko$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34Nazwisko")),this.WS_lbl34NumerDomu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34NumerDomu")),this.WS_lbl34NumerLokalu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34NumerLokalu")),this.WS_lbl34Panstwo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34Panstwo")),this.WS_lbl34prefiksfax$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34prefiksfax")),this.WS_lbl34prefikstel$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34prefikstel")),this.WS_lbl34Rodzaj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34Rodzaj")),this.WS_lbl34tel$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl34tel")),this.WS_lbl35DaneObywatelaUE$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl35DaneObywatelaUE")),this.WS_lbl35KtoPokrywaKoszty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl35KtoPokrywaKoszty")),this.WS_rbl35_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl35_1")),this.WS_rbl35_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl35_2")),this.WS_lbl35a_inny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl35a_inny")),this.WS_lbl35a_okreslony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl35a_okreslony")),this.WS_rb36GotowkaWizaKrajowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rb36GotowkaWizaKrajowa")),this.WS_lbl36PokrycieKosztow$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl36PokrycieKosztow")),this.WS_rb36Ubezpieczenie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rb36Ubezpieczenie")),this.WS_rb36Czeki$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rb36Czeki")),this.WS_rb36Karty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rb36Karty")),this.WS_rb36Zakwaterowanie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rb36Zakwaterowanie")),this.WS_rb36Transport$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rb36Transport")),this.WS_rb36PokrywaKoszty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rb36PokrywaKoszty")),this.WS_rb36Inne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rb36Inne")),this.WS_lbl42Imie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl42Imie")),this.WS_lbl42Nazwisko$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl42Nazwisko")),this.WS_lbl43Nazwisko$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl43Nazwisko")),this.WS_lbl43Imie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl43Imie")),this.WS_lbl43DataUrodzenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl43DataUrodzenia")),this.WS_lbl43Paszport$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl43Paszport")),this.WS_lbl43Obywatelstwo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl43Obywatelstwo")),this.WS_lbl43Pokrewienstwo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl43Pokrewienstwo")),this.WS_rbl43_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl43_1")),this.WS_rbl43_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl43_2")),this.WS_rbl43_3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl43_3")),this.WS_rbl43_4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl43_4")),this.WS_chk44Oswiadczenie1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_chk44Oswiadczenie1")),this.WS_chk44Oswiadczenie2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_chk44Oswiadczenie2")),this.WS_chk44Oswiadczenie3WizaSchengen$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_chk44Oswiadczenie3WizaSchengen")),this.WS_chk44Oswiadczenie3WizaKrajowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_chk44Oswiadczenie3WizaKrajowa")),this.WS_lbl45Adres$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl45Adres")),this.WS_lbl45AdresZamieszkania$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl45AdresZamieszkania")),this.WS_lbl45Kod$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl45Kod")),this.WS_lbl45Miejscowosc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl45Miejscowosc")),this.WS_lbl45Panstwo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl45Panstwo")),this.WS_lbl45StanProwincja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl45StanProwincja")),this.WS_lbl46Prefiks$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl46Prefiks")),this.WS_lbl46Numer$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_lbl46Numer")),this.WS_LINK_Bledny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_LINK_Bledny")),this.WS_LINK_BrakWolnychTerminow$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_LINK_BrakWolnychTerminow")),this.WS_LINK_CzekajNaWeryfikacje$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_LINK_CzekajNaWeryfikacje")),this.WS_LINK_FormularzPelnyJuzWypelniony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_LINK_FormularzPelnyJuzWypelniony")),this.WS_LINK_JuzWykorzystany$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_LINK_JuzWykorzystany")),this.WS_LINK_PoAktywacji$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_LINK_PoAktywacji")),this.WS_LINK_WybierzTerminIWypelnFormularzPelny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_LINK_WybierzTerminIWypelnFormularzPelny")),this.WS_LINK_WypelnFormularzPelny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_LINK_WypelnFormularzPelny")),this.WS_niedotyczy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_niedotyczy")),this.WS_rbl9_M$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl9_M")),this.WS_rbl9_F$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl9_F")),this.WS_rbl10_KP$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl10_KP")),this.WS_rbl10_ZZ$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl10_ZZ")),this.WS_rbl10_SP$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl10_SP")),this.WS_rbl10_RR$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl10_RR")),this.WS_rbl10_WW$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl10_WW")),this.WS_rbl10_IN$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl10_IN")),this.WS_rbl13_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl13_1")),this.WS_rbl13_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl13_2")),this.WS_rbl13_3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl13_3")),this.WS_rbl13_4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl13_4")),this.WS_rbl13_5$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl13_5")),this.WS_rbl13_6$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl13_6")),this.WS_rbl18_Nie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl18_Nie")),this.WS_rbl18_Tak$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl18_Tak")),this.WS_rbl24_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl24_1")),this.WS_rbl24_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl24_2")),this.WS_rbl24_3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl24_3")),this.WS_rbl29_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_1")),this.WS_rbl29_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_2")),this.WS_rbl29_3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_3")),this.WS_rbl29_4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_4")),this.WS_rbl29_5$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_5")),this.WS_rbl29_6$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_6")),this.WS_rbl29_7$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_7")),this.WS_rbl29_8$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_8")),this.WS_rbl29_9$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_9")),this.WS_rbl29_10$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_10")),this.WS_rbl29_11$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rbl29_11")),this.WS_lbl34DaneOsobyWizaSchengen$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl34DaneOsobyWizaSchengen")),this.WS_lbl34DaneOsobyWizaKrajowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl34DaneOsobyWizaKrajowa")),this.WS_rbl34_0$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl34_0")),this.WS_rbl34_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA","WS_rbl34_1")),this.WS_rb36GotowkaWizaSchengen$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_rb36GotowkaWizaSchengen")),this.WS_WypelnijWstepnyFormularz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_WypelnijWstepnyFormularz")),this.WS_lbl6DataWjazduWizaSchengenWstepny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl6DataWjazduWizaSchengenWstepny")),this.WS_lbl7DataWyjazduWizaSchengenWstepny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl7DataWyjazduWizaSchengenWstepny")),this.WS_lblNaglowek1WizaSchengenWstepny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblNaglowek1WizaSchengenWstepny")),this.WS_lblNaglowek1WizaSchengen$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblNaglowek1WizaSchengen")),this.WS_lblKomentarzGwiazdka$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lblKomentarzGwiazdka")),this.WS_lbl17EmailFormat$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZA_2","WS_lbl17EmailFormat"))}return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.s))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},93779:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var i=n(53918),r=n(94571),a=n(93820),o=function(){function e(e){this.translateService=e,this.BladWalidacji_NieMoznaDokonacWykluczenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","BladWalidacji_NieMoznaDokonacWykluczenia")),this.BladWalidacji_DataUrodzeniaPESEL$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","BladWalidacji_DataUrodzeniaPESEL")),this.BladWalidacji_ZduplikowanyNumerPESEL$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","BladWalidacji_ZduplikowanyNumerPESEL")),this.BledyNaFormularzu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","BledyNaFormularzu")),this.CzySprawaDotyczyOsobyRejestrujacej$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","CzySprawaDotyczyOsobyRejestrujacej")),this.TytulStrony_NieukonczonaRezerwacja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","TytulStrony_NieukonczonaRezerwacja")),this.TytulStrony_RegulaminListyOczekujacych$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","TytulStrony_RegulaminListyOczekujacych")),this.WZ_AkceptacjaWizyty_Potwierdzenie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_AkceptacjaWizyty_Potwierdzenie")),this.WZ_AkceptacjaWizyty_Przypomnienie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_AkceptacjaWizyty_Przypomnienie")),this.WZ_Anulowanie1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_Anulowanie1")),this.WZ_Anulowanie2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_Anulowanie2")),this.WZ_BrakRezerwacji$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_BrakRezerwacji")),this.WZ_CzasMinal$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_CzasMinal")),this.WZ_DuplikowaneAktyUrodzenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_DuplikowaneAktyUrodzenia")),this.WZ_DuplikowanePESELE$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_DuplikowanePESELE")),this.WZ_Dziekujemy_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_Dziekujemy_1")),this.WZ_Dziekujemy_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_Dziekujemy_2")),this.WZ_DziekujemyZaZapisNaLiscieOczekujacych$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_DziekujemyZaZapisNaLiscieOczekujacych")),this.WZ_DziekujemyZaAkceptacjeWizyty_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_DziekujemyZaAkceptacjeWizyty_1")),this.WZ_DziekujemyZaAkceptacjeWizyty_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_DziekujemyZaAkceptacjeWizyty_2")),this.WZ_DziekujemyZaOdwolanieWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_DziekujemyZaOdwolanieWizyty")),this.WZ_DziekujemyZaPotwierdzenieWizyty_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_DziekujemyZaPotwierdzenieWizyty_1")),this.WZ_DziekujemyZaPotwierdzenieWizyty_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_DziekujemyZaPotwierdzenieWizyty_2")),this.WZ_EMAIL_AdresKonsulatu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_EMAIL_AdresKonsulatu")),this.WZ_EMAIL_Potwierdzenie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_EMAIL_Potwierdzenie")),this.WZ_EMAIL_TerminWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_EMAIL_TerminWizyty")),this.WZ_Godzina$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_Godzina")),this.WZ_InfoPobraniePotwierdzenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_InfoPobraniePotwierdzenia")),this.WZ_lblAdres$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblAdres")),this.WZ_lblAnulowanieWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblAnulowanieWizyty")),this.WZ_lblAnulujWizyte$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblAnulujWizyte")),this.WZ_lblDaneKontaktoweNaglowek$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblDaneKontaktoweNaglowek")),this.WZ_lblDaneOpiekuna$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblDaneOpiekuna")),this.WZ_lblDaneOsobowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblDaneOsobowe")),this.WZ_lblDanePaszportowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblDanePaszportowe")),this.WZ_lblDataNieprawidlowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblDataNieprawidlowa")),this.WZ_lblDataUrodzenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblDataUrodzenia")),this.WZ_lblDziecko$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblDziecko")),this.WZ_lblEmail$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblEmail")),this.WZ_lblImiona$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblImiona")),this.WZ_lblKod$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblKod")),this.WZ_lblKodFormularza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblKodFormularza")),this.WZ_lblKontakt$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblKontakt")),this.WZ_lblNieOdnalezionoWizytyDoOdwolania$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblNieOdnalezionoWizytyDoOdwolania")),this.WZ_lblMalzonek$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblMalzonek")),this.WZ_lblNaglowek$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblNaglowek")),this.WZ_lblNaglowek4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblNaglowek4")),this.WZ_lblNazwisko$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblNazwisko")),this.WZ_lblnazwiskoRodoweMatki$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblnazwiskoRodoweMatki")),this.WZ_lblNumerAktuUrodzenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblNumerAktuUrodzenia")),this.WZ_lblNumerFormularza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblNumerFormularza")),this.WZ_lblOdwolajWizyte$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblOdwolajWizyte")),this.WZ_lblOpiekunImie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblOpiekunImie")),this.WZ_lblOpiekunNazwisko$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblOpiekunNazwisko")),this.WZ_lblPESEL$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblPESEL")),this.WZ_lblPonizej5lat$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblPonizej5lat")),this.WZ_lblPowrot$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblPowrot")),this.WZ_lblPrefiks$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblPrefiks")),this.WZ_lblRejestrujacy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblRejestrujacy")),this.WZ_lblRezerwacjaTerminu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblRezerwacjaTerminu")),this.WZ_lblRezerwacjaTerminuOsob$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblRezerwacjaTerminuOsob")),this.WZ_lblRodzajeWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblRodzajeWizyty")),this.WZ_lblTelefon$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblTelefon")),this.WZ_lblUwagi$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblUwagi")),this.WZ_lblWizytaDotyczy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblWizytaDotyczy")),this.WZ_lblWizytaZostalaOdwolana$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblWizytaZostalaOdwolana")),this.WZ_NieprawidlowaWartosc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_NieprawidlowaWartosc")),this.WZ_NieprawidlowyPESELData$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_NieprawidlowyPESELData")),this.WZ_PDF_Email$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PDF_Email")),this.WZ_Pobierz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_Pobierz")),this.WZ_PoleWymagane$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PoleWymagane")),this.WZ_PotwierdzLubOdwolajWizyteSMS$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PotwierdzLubOdwolajWizyteSMS")),this.WZ_lblPotwierdzWizyte$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_lblPotwierdzWizyte")),this.WZ_PotwierdzenieWizytySMS_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PotwierdzenieWizytySMS_1")),this.WZ_PotwierdzenieWizytySMS_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PotwierdzenieWizytySMS_2")),this.WZ_PowtorzenieDecyzja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PowtorzenieDecyzja")),this.WZ_PowtorzenieDecyzjaKomunikat$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PowtorzenieDecyzjaKomunikat")),this.WZ_PowtorzenieDecyzjaWykluczenieZAktualnego$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PowtorzenieDecyzjaWykluczenieZAktualnego")),this.WZ_PowtorzenieDecyzjaWykluczenieZeWczesniejszego$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PowtorzenieDecyzjaWykluczenieZeWczesniejszego")),this.WZ_PowtorzenieOsoby$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PowtorzenieOsoby")),this.WZ_ProszeCzekacNaTermin$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_ProszeCzekacNaTermin")),this.WZ_PrzyciskAnuluj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_PrzyciskAnuluj")),this.WZ_rblWizytaDotyczy_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_rblWizytaDotyczy_1")),this.WZ_rblWizytaDotyczy_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_rblWizytaDotyczy_2")),this.WZ_rblWizytaDotyczy_3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_rblWizytaDotyczy_3")),this.WZ_rblWizytaDotyczy_4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_rblWizytaDotyczy_4")),this.WZ_rblWizytaDotyczy_5$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_rblWizytaDotyczy_5")),this.WZ_rblWizytaDotyczy_6$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_rblWizytaDotyczy_6")),this.WZ_rblWizytaDotyczy_7$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_rblWizytaDotyczy_7")),this.WZ_rblWizytaDotyczy_8$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_rblWizytaDotyczy_8")),this.WZ_TerminJuzZaakceptowany$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_TerminJuzZaakceptowany")),this.WZ_TerminJuzOdrzucony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_TerminJuzOdrzucony")),this.WZ_TerminJuzOdwolany$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_TerminJuzOdwolany")),this.WZ_TerminJuzPotwierdzony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_TerminJuzPotwierdzony")),this.WZ_TerminOdrzucony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_TerminOdrzucony")),this.WZ_UmowSieNaWizytePaszportowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_UmowSieNaWizytePaszportowa")),this.WZ_WizytyInformacjeGlowna$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_WizytyInformacjeGlowna")),this.WZ_WybranyTerminNiedostepny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_WybranyTerminNiedostepny")),this.WZ_ZaakceptujLubAnulujWizyteSMS$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_ZaakceptujLubAnulujWizyteSMS")),this.WZ_Zapisz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_Zapisz")),this.WZ_ZlyKod$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA_PASZPORTOWA","WZ_ZlyKod"))}return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.s))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},68372:function(e,t,n){"use strict";n.d(t,{O:function(){return o}});var i=n(53918),r=n(94571),a=n(93820),o=function(){function e(e){this.translateService=e,this.WZ_AnulujWizyte$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_AnulujWizyte")),this.WZ_Godzina$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_Godzina")),this.WZ_lblDaneOsobowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblDaneOsobowe")),this.WZ_lblDataUrodzenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblDataUrodzenia")),this.WZ_lblEmail$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblEmail")),this.WZ_lblImiona$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblImiona")),this.WZ_lblKontakt$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblKontakt")),this.WZ_lblNaglowek$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblNaglowek")),this.WZ_lblNazwisko$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblNazwisko")),this.WZ_lblNrIdentyfikacyjny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblNrIdentyfikacyjny")),this.WZ_lblNrIdentyfikacyjnyDlaBialorusi$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblNrIdentyfikacyjnyDlaBialorusi")),this.WZ_lblNrPaszportu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblNrPaszportu")),this.WZ_lblNrTelefonu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblNrTelefonu")),this.WZ_lblPlec$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblPlec")),this.WZ_lblUwagi$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_lblUwagi")),this.WZ_NieprawidlowaWartosc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_NieprawidlowaWartosc")),this.WZ_PDF_Email$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_PDF_Email")),this.WZ_PoleWymagane$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("FORM_WIZYTA","WZ_PoleWymagane"))}return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.s))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},32956:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var i=n(53918),r=n(94571),a=n(93820),o=function(){function e(e){this.translateService=e,this.AdresEmail_PodpowiedzTekstowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","AdresEmail_PodpowiedzTekstowa")),this.BledyWalidacjiFormularza_Tresc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BledyWalidacjiFormularza_Tresc")),this.BledyWalidacjiFormularza_Tytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BledyWalidacjiFormularza_Tytul")),this.BREADCRUMBS_Formularz_Glowny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Formularz_Glowny")),this.BREADCRUMBS_MRG_Wypelnij_Formularz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_MRG_Wypelnij_Formularz")),this.BREADCRUMBS_Potwierdzenie_Rejestracji_Wniosku_Wizowego$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Potwierdzenie_Rejestracji_Wniosku_Wizowego")),this.BREADCRUMBS_Potwierdzenie_Wyslania_Wniosku_Wizowego$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Potwierdzenie_Wyslania_Wniosku_Wizowego")),this.BREADCRUMBS_Potwierdzenie_Wyslania_Formularza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Potwierdzenie_Wyslania_Formularza")),this.BREADCRUMBS_PotwierdzenieZlozeniaFormularzaMrg$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_PotwierdzenieZlozeniaFormularzaMrg")),this.BREADCRUMBS_Rezerwacja_Terminow$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Rezerwacja_Terminow")),this.BREADCRUMBS_Terminy_Losowania$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Terminy_Losowania")),this.BREADCRUMBS_Wiza_Krajowa_Potwierdzenie_Zlozenia_Formularza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Wiza_Krajowa_Potwierdzenie_Zlozenia_Formularza")),this.BREADCRUMBS_Wiza_Krajowa_Rejestracja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Wiza_Krajowa_Rejestracja")),this.BREADCRUMBS_Wiza_Krajowa_Wypelnij_Formularz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Wiza_Krajowa_Wypelnij_Formularz")),this.BREADCRUMBS_Wiza_Schengen_Potwierdzenie_Zlozenia_Formularza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Wiza_Schengen_Potwierdzenie_Zlozenia_Formularza")),this.BREADCRUMBS_Wiza_Schengen_Rejestracja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Wiza_Schengen_Rejestracja")),this.BREADCRUMBS_Wiza_Schengen_Wypelnij_Formularz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Wiza_Schengen_Wypelnij_Formularz")),this.BREADCRUMBS_Wynik_Weryfikacji_Formularza_Wstepnego$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","BREADCRUMBS_Wynik_Weryfikacji_Formularza_Wstepnego")),this.Captcha$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Captcha")),this.Dalej$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Dalej")),this.Dane_Adresowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Dane_Adresowe")),this.Default_MRGKrok1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Default_MRGKrok1")),this.Default_MRGKrok2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Default_MRGKrok2")),this.Default_MRGKrok3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Default_MRGKrok3")),this.Default_TekstNaStart$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Default_TekstNaStart")),this.Default_wiecej$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Default_wiecej")),this.Default_WizaKrok1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Default_WizaKrok1")),this.Default_WizaKrok2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Default_WizaKrok2")),this.Default_WizaKrok3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Default_WizaKrok3")),this.Default_WizytyKrok1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Default_WizytyKrok1")),this.DeklaracjaDostepnosci_Tytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","DeklaracjaDostepnosci_Tytul")),this.Default_WizytyKrok2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Default_WizytyKrok2")),this.DoPobrania_brakPlikow$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","DoPobrania_brakPlikow")),this.DoPobrania_lblInfo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","DoPobrania_lblInfo")),this.EMAIL$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","EMAIL")),this.EMAIL_Karta_Polaka$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","EMAIL_Karta_Polaka")),this.EMAIL_Spotkanie_Z_Konsulem$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","EMAIL_Spotkanie_Z_Konsulem")),this.EMAIL_Sprawy_Obywatelskie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","EMAIL_Sprawy_Obywatelskie")),this.EMAIL_Sprawy_Paszportowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","EMAIL_Sprawy_Paszportowe")),this.EMAIL_Sprawy_Prawne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","EMAIL_Sprawy_Prawne")),this.ErrorMessage_ZbytDuzaIloscZnakowWPolu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ErrorMessage_ZbytDuzaIloscZnakowWPolu")),this.Formularz2_cmdAnulujOperacje$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Formularz2_cmdAnulujOperacje")),this.Formularz2_cmdGlowna$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Formularz2_cmdGlowna")),this.Formularz2_cmdPopraw$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Formularz2_cmdPopraw")),this.Formularz2_cmdZakoncz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Formularz2_cmdZakoncz")),this.Formularz2_cmdZakonczRejestruj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Formularz2_cmdZakonczRejestruj")),this.Formularz2_cmdZapisz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Formularz2_cmdZapisz")),this.FunkcjonalnoscNieobslugiwanaWWybranejWersjiJezykowej$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","FunkcjonalnoscNieobslugiwanaWWybranejWersjiJezykowej")),this.GLOWNA_Odstepy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","GLOWNA_Odstepy")),this.Godziny_btnPrzypisz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_btnPrzypisz")),this.Godziny_btnWydrukuj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_btnWydrukuj")),this.Godziny_gvColumns0$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_gvColumns0")),this.Godziny_gvColumns1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_gvColumns1")),this.Godziny_gvColumns2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_gvColumns2")),this.Godziny_gvColumns3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_gvColumns3")),this.Godziny_gvColumns4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_gvColumns4")),this.Godziny_LP$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_LP")),this.Godziny_PrzypiszNaDate$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_PrzypiszNaDate")),this.Godziny_txtDataDo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_txtDataDo")),this.Godziny_txtDataOd$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_txtDataOd")),this.Godziny_TytulPDF$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_TytulPDF")),this.Godziny_Usluga$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Godziny_Usluga")),this.GrupowyZmianaHasla_cmdZapisz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","GrupowyZmianaHasla_cmdZapisz")),this.GrupowyZmianaHasla_lblNoweHaslo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","GrupowyZmianaHasla_lblNoweHaslo")),this.GrupowyZmianaHasla_lblNoweHasloPotwierdz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","GrupowyZmianaHasla_lblNoweHasloPotwierdz")),this.GrupowyZmianaHasla_lblObecneHaslo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","GrupowyZmianaHasla_lblObecneHaslo")),this.Ikona_Menu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Ikona_Menu")),this.InfoPolitykaCookies$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","InfoPolitykaCookies")),this.IntGrDefault_TekstNaStart$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","IntGrDefault_TekstNaStart")),this.IntGrMaster_lbWyloguj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","IntGrMaster_lbWyloguj")),this.KlauzulaRODO_Tytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","KlauzulaRODO_Tytul")),this.KartaPolaka_RezerwacjaWizyty_TytulStrony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","KartaPolaka_RezerwacjaWizyty_TytulStrony")),this.Krajowe_lblDanePlacowki_fax$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Krajowe_lblDanePlacowki_fax")),this.Krajowe_lblDanePlacowki_tel$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Krajowe_lblDanePlacowki_tel")),this.Krajowe_lblWybierzPlacowke$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Krajowe_lblWybierzPlacowke")),this.Krajowe_lblWybierzPlacowkeInformacje$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Krajowe_lblWybierzPlacowkeInformacje")),this.lbl_Rozumiem$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","lbl_Rozumiem")),this.Limity_cmdSzukaj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Limity_cmdSzukaj")),this.Limity_gvColumns0$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Limity_gvColumns0")),this.Limity_gvColumns1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Limity_gvColumns1")),this.Limity_gvColumns2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Limity_gvColumns2")),this.Limity_gvColumns3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Limity_gvColumns3")),this.Limity_rodzajUslugi$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Limity_rodzajUslugi")),this.Limity_txtDataDo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Limity_txtDataDo")),this.Limity_txtDataOd$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Limity_txtDataOd")),this.Logowanie_btnLogowanie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Logowanie_btnLogowanie")),this.Logowanie_lblHaslo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Logowanie_lblHaslo")),this.Logowanie_lblLogin$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Logowanie_lblLogin")),this.Logowanie_LogowanieInfo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Logowanie_LogowanieInfo")),this.Logowanie_LogowanieLabel$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Logowanie_LogowanieLabel")),this.Master_hlDoPobrania$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlDoPobrania")),this.Master_hlFormularzMRG$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlFormularzMRG")),this.Master_hlLimity$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlLimity")),this.Master_hlLinki$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlLinki")),this.Master_hlLogowanie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlLogowanie")),this.Master_hlMRG$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlMRG")),this.Master_hlNotaPrawna$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlNotaPrawna")),this.Master_hlOpiekaZarejestruj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlOpiekaZarejestruj")),this.Master_hlStronaGlowna$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlStronaGlowna")),this.Master_hlUslugaStatus$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlUslugaStatus")),this.Master_hlWiza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWiza")),this.Master_hlWizaKrajowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWizaKrajowa")),this.Master_hlWizaShengen$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWizaShengen")),this.Master_hlWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWizyty")),this.Master_hlWizyty_1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWizyty_1")),this.Master_hlWizyty_2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWizyty_2")),this.Master_hlWizyty_3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWizyty_3")),this.Master_hlWizyty_4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWizyty_4")),this.Master_hlWizyty_5$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWizyty_5")),this.Master_hlWybory$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWybory")),this.Master_hlWypelnij$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWypelnij")),this.Master_hlWypelnijBezRejestracji$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlWypelnijBezRejestracji")),this.Master_hlZlozone$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlZlozone")),this.Master_hlZmianaHasla$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_hlZmianaHasla")),this.Master_lblModyfikacja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_lblModyfikacja")),this.Master_lblStopka$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_lblStopka")),this.Master_lblWersjaJezykowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_lblWersjaJezykowa")),this.Master_lbWyloguj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Master_lbWyloguj")),this.MRG_RezerwacjaWizyty_TytulStrony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","MRG_RezerwacjaWizyty_TytulStrony")),this.MRG_lblTekstNaStart$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","MRG_lblTekstNaStart")),this.Menu_Uslug$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Menu_Uslug")),this.NacisnieciePrzyciskuWstecz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","NacisnieciePrzyciskuWstecz")),this.NajblizszeLosowanie_Dni$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","NajblizszeLosowanie_Dni")),this.NajblizszeLosowanie_Godziny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","NajblizszeLosowanie_Godziny")),this.NajblizszeLosowanie_Info$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","NajblizszeLosowanie_Info")),this.Nie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Nie")),this.NotaPrawna_DeklaracjaDostepnosci$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","NotaPrawna_DeklaracjaDostepnosci")),this.NotaPrawna_KlauzulaRODO$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","NotaPrawna_KlauzulaRODO")),this.NotaPrawna_TekstNaStart$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","NotaPrawna_TekstNaStart")),this.Placowki_cmdListaFormularzy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Placowki_cmdListaFormularzy")),this.Placowki_cmdRejestruj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Placowki_cmdRejestruj")),this.Placowki_cmdWypelnij$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Placowki_cmdWypelnij")),this.Placowki_lbInfoKrajowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Placowki_lbInfoKrajowe")),this.Placowki_lbInfoPlacowki$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Placowki_lbInfoPlacowki")),this.Podsumowanie_btnPobierz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Podsumowanie_btnPobierz")),this.Podsumowanie_btnPokaz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Podsumowanie_btnPokaz")),this.Podsumowanie_btnPowrot$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Podsumowanie_btnPowrot")),this.Podsumowanie_lblInfo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Podsumowanie_lblInfo")),this.Podsumowanie_lblInfo2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Podsumowanie_lblInfo2")),this.Podsumowanie_lblInfo2OdroczonaGeneracjaPDF$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Podsumowanie_lblInfo2OdroczonaGeneracjaPDF")),this.Podsumowanie_lblInfoOdroczonaGeneracjaPDF$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Podsumowanie_lblInfoOdroczonaGeneracjaPDF")),this.Podsumowanie_lblInfoOdroczonaGeneracjaPDF_MRG$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Podsumowanie_lblInfoOdroczonaGeneracjaPDF_MRG")),this.Podsumowanie_lblInfoWypelnienieWnioskuPelnegoLosowanie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Podsumowanie_lblInfoWypelnienieWnioskuPelnegoLosowanie")),this.PodsumowanieWstepne_lblInfo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","PodsumowanieWstepne_lblInfo")),this.PodsumowanieWstepne_lblInfoLinkAktywacyjny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","PodsumowanieWstepne_lblInfoLinkAktywacyjny")),this.PodsumowanieWstepne_lblInfoSpam$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","PodsumowanieWstepne_lblInfoSpam")),this.Podtytul_Aplikacji$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Podtytul_Aplikacji")),this.Powrot_Do_Aplikacji$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Powrot_Do_Aplikacji")),this.PrzekroczonaMaksymalnaIloscJednoczesnychRejestracji$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","PrzekroczonaMaksymalnaIloscJednoczesnychRejestracji")),this.Przewin_Do_Gory$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Przewin_Do_Gory")),this.Rejestracja_cControlText$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rejestracja_cControlText")),this.Rejestracja_cmdRejestruj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rejestracja_cmdRejestruj")),this.Rezerwacja_DataWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_DataWizyty")),this.Rezerwacja_Godzina$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Godzina")),this.Rezerwacja_GodzinaWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_GodzinaWizyty")),this.Rezerwacja_InfoKrok1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_InfoKrok1")),this.Rezerwacja_InfoKrok2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_InfoKrok2")),this.Rezerwacja_InfoKrok3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_InfoKrok3")),this.Rezerwacja_InfoKrok4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_InfoKrok4")),this.Rezerwacja_Komentarz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Komentarz")),this.Rezerwacja_Kraj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Kraj")),this.Rezerwacja_Kraj_Hint$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Kraj_Hint")),this.Rezerwacja_Lokalizacja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Lokalizacja")),this.Rezerwacja_LokalizacjaPaszportowa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_LokalizacjaPaszportowa")),this.Rezerwacja_MiejsceWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_MiejsceWizyty")),this.Rezerwacja_Placowka$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Placowka")),this.Rezerwacja_Placowka_Hint$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Placowka_Hint")),this.Rezerwacja_PobierzTerminy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_PobierzTerminy")),this.Rezerwacja_PozostalyCzas$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_PozostalyCzas")),this.Rezerwacja_Rodzaj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Rodzaj")),this.Rezerwacja_Termin$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Termin")),this.Rezerwacja_TerminWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_TerminWizyty")),this.Rezerwacja_Tytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Tytul")),this.Rezerwacja_Weryfikacja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_Weryfikacja")),this.Rezerwacja_ZapisNaListeOczekujacych$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_ZapisNaListeOczekujacych")),this.Rezerwacja_ZarezerwujTermin$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Rezerwacja_ZarezerwujTermin")),this.RezerwacjaKartaPolaka_InfoKrok3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaKartaPolaka_InfoKrok3")),this.RezerwacjaLosowanie_Info$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaLosowanie_Info")),this.RezerwacjaLosowanieWeryfikacja_Info$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaLosowanieWeryfikacja_Info")),this.RezerwacjaMRG_InfoKrok1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaMRG_InfoKrok1")),this.RezerwacjaMRG_InfoKrok2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaMRG_InfoKrok2")),this.RezerwacjaMRG_InfoKrok3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaMRG_InfoKrok3")),this.RezerwacjaMRG_InfoKrok4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaMRG_InfoKrok4")),this.RezerwacjaWIZYTY_InfoKrok1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaWIZYTY_InfoKrok1")),this.RezerwacjaWIZYTY_InfoKrok2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaWIZYTY_InfoKrok2")),this.RezerwacjaWIZYTY_InfoKrok3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaWIZYTY_InfoKrok3")),this.RezerwacjaWIZYTY_InfoKrok4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","RezerwacjaWIZYTY_InfoKrok4")),this.SprawyObywatelskie_RezerwacjaWizyty_TytulStrony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","SprawyObywatelskie_RezerwacjaWizyty_TytulStrony")),this.SprawyPaszportowe_RezerwacjaWizyty_TytulStrony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","SprawyPaszportowe_RezerwacjaWizyty_TytulStrony")),this.SprawyPrawne_RezerwacjaWizyty_TytulStrony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","SprawyPrawne_RezerwacjaWizyty_TytulStrony")),this.StronaGlowna_WybierzKraj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","StronaGlowna_WybierzKraj")),this.StronaGlowna_WybierzKonsulat$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","StronaGlowna_WybierzKonsulat")),this.Szczegoly_Placowki_Komunikat$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Szczegoly_Placowki_Komunikat")),this.Szczegoly_Placowki_Tytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Szczegoly_Placowki_Tytul")),this.Tak$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Tak")),this.TekstNaStart_Tytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","TekstNaStart_Tytul")),this.Tytul_Aplikacji$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Tytul_Aplikacji")),this.TytulStrony_PotwierdzenieWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","TytulStrony_PotwierdzenieWizyty")),this.TytulStrony_PotwierdzenieZlozeniaFormularza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","TytulStrony_PotwierdzenieZlozeniaFormularza")),this.WizaKrajowa_RezerwacjaWizyty_TytulStrony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","WizaKrajowa_RezerwacjaWizyty_TytulStrony")),this.WizaSchengen_RezerwacjaWizyty_TytulStrony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","WizaSchengen_RezerwacjaWizyty_TytulStrony")),this.Wiza_btnPokazInformacje$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wiza_btnPokazInformacje")),this.Wiza_lblWybierzKraj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wiza_lblWybierzKraj")),this.Wiza_lblWybierzKrajIPlacowke$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wiza_lblWybierzKrajIPlacowke")),this.Wiza_TekstNaStart$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wiza_TekstNaStart")),this.Wizy_AnulujWniosek$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wizy_AnulujWniosek")),this.Wizyty_cmdRejestruj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wizyty_cmdRejestruj")),this.Wizyty_ddlPlacowkiWybierz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wizyty_ddlPlacowkiWybierz")),this.Wizyty_TekstNaStart$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wizyty_TekstNaStart")),this.Wpisz_Nazwe_Kraju$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wpisz_Nazwe_Kraju")),this.Wpisz_Nazwe_Kraju_Dostepnosc_Etykieta$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wpisz_Nazwe_Kraju_Dostepnosc_Etykieta")),this.Wyszukiwarka_Krajow$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wyszukiwarka_Krajow")),this.WypelnijZarejestruj_cmdWypelnij$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","WypelnijZarejestruj_cmdWypelnij")),this.WypelnijZarejestruj_cmdZarejestruj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","WypelnijZarejestruj_cmdZarejestruj")),this.WypelnijZarejestruj_ddlPlacowkiWybierz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","WypelnijZarejestruj_ddlPlacowkiWybierz")),this.WypelnijZarejestruj_lblPlacowka$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","WypelnijZarejestruj_lblPlacowka")),this.WypelnijZarejestruj_lblWersje$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","WypelnijZarejestruj_lblWersje")),this.WypelnijZarejestruj_TekstNaStart$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","WypelnijZarejestruj_TekstNaStart")),this.Wyczysc_Pole_Edycyjne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Wyczysc_Pole_Edycyjne")),this.Zablokowany_LimitZJednegoIPPrzekroczony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Zablokowany_LimitZJednegoIPPrzekroczony")),this.Zablokowany_ProbaZmianyDanychFormularza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Zablokowany_ProbaZmianyDanychFormularza")),this.Zablokowany_TekstNaStart$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Zablokowany_TekstNaStart")),this.Zablokowany_ZbytSzybkaRejestracja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Zablokowany_ZbytSzybkaRejestracja")),this.Zamknij$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Zamknij")),this.ZlozoneFormularze_Brak$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_Brak")),this.ZlozoneFormularze_cmdSzukaj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_cmdSzukaj")),this.ZlozoneFormularze_gvColumns0$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_gvColumns0")),this.ZlozoneFormularze_gvColumns1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_gvColumns1")),this.ZlozoneFormularze_gvColumns2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_gvColumns2")),this.ZlozoneFormularze_gvColumns3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_gvColumns3")),this.ZlozoneFormularze_gvColumns4$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_gvColumns4")),this.ZlozoneFormularze_gvColumns5$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_gvColumns5")),this.ZlozoneFormularze_lblDataZlozenia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_lblDataZlozenia")),this.ZlozoneFormularze_txtDataDo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_txtDataDo")),this.ZlozoneFormularze_txtDataOd$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","ZlozoneFormularze_txtDataOd")),this.Znajdz_Kraj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("InformacjeStatyczne","Znajdz_Kraj"))}return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.s))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},54852:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var i=n(53918),r=n(94571),a=n(93820),o=function(){function e(e){this.translateService=e,this.BLAD_404$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BLAD_404")),this.BLAD_404_Tresc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BLAD_404_Tresc")),this.BLAD_LinkNieaktualny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BLAD_LinkNieaktualny")),this.BLAD_LinkNieaktualny_Tresc$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BLAD_LinkNieaktualny_Tresc")),this.BLAD_BladOgolny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BLAD_BladOgolny")),this.BLAD_NieprawidlowyIdentyfikator$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BLAD_NieprawidlowyIdentyfikator")),this.BladCaptcha$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladCaptcha")),this.BladSerwera400$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladSerwera400")),this.BladSerwera404$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladSerwera404")),this.BladSerweraOgolny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladSerweraOgolny")),this.BladSieciowy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladSieciowy")),this.BladWalidacji_DataOdMusiBycMniejszaDatyDo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_DataOdMusiBycMniejszaDatyDo")),this.BladWalidacji_DataDoMusiBycWiekszaDatyOd$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_DataDoMusiBycWiekszaDatyOd")),this.BladWalidacji_DataMusiBycMniejszaOdDzisiejszej$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_DataMusiBycMniejszaOdDzisiejszej")),this.BladWalidacji_DataMusiBycWiekszaOdDzisiejszej$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_DataMusiBycWiekszaOdDzisiejszej")),this.BladWalidacji_IloscZnakow$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_IloscZnakow")),this.BladWalidacji_NieprawidloweZnaki1$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_NieprawidloweZnaki1")),this.BladWalidacji_NieprawidloweZnaki2$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_NieprawidloweZnaki2")),this.BladWalidacji_NieprawidloweZnaki3$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_NieprawidloweZnaki3")),this.BladWalidacji_NumerTelefonu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_NumerTelefonu")),this.BladWalidacji_PoleWymagane$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_PoleWymagane")),this.BladWalidacji_PrefiksTelefonu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_PrefiksTelefonu")),this.BladWalidacji_Imie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_Imie")),this.BladWalidacji_Nazwa$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_Nazwa")),this.BladWalidacji_Nazwisko$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_Nazwisko")),this.BladWalidacji_NumerFax$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_NumerFax")),this.BladWalidacji_PrefiksFax$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","BladWalidacji_PrefiksFax")),this.CzyAnulowac$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","CzyAnulowac")),this.CzyChceszSieWylogowac$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","CzyChceszSieWylogowac")),this.DaneZostanaUsuniete$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","DaneZostanaUsuniete")),this.Formularz2_BlednieWypelnionePola$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Formularz2_BlednieWypelnionePola")),this.Formularz2_JuzZlozonoFormularz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Formularz2_JuzZlozonoFormularz")),this.Formularz2_RegEx_BledneDane$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Formularz2_RegEx_BledneDane")),this.Formularz2_WygaslaSesja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Formularz2_WygaslaSesja")),this.JavaScriptLubCookieWylaczone$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","JavaScriptLubCookieWylaczone")),this.KodBledu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","KodBledu")),this.Logowanie_blad$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Logowanie_blad")),this.Logowanie_BrakLoginuHasla$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Logowanie_BrakLoginuHasla")),this.Placowki_BrakPlacowki$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Placowki_BrakPlacowki")),this.ProszeCzekac$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","ProszeCzekac")),this.PrzekroczonyCzasBezczynnosci$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","PrzekroczonyCzasBezczynnosci")),this.PrzekroczonyCzasRezerwacji$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","PrzekroczonyCzasRezerwacji")),this.Rejestracja_brakDni$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rejestracja_brakDni")),this.Rejestracja_lblErrorPrzekroczonyLimit$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rejestracja_lblErrorPrzekroczonyLimit")),this.Rejestracja_lblErrorWeryfikacja$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rejestracja_lblErrorWeryfikacja")),this.Rejestracja_lblErrorWyborDaty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rejestracja_lblErrorWyborDaty")),this.Rezerwacja_CzyAkceptujeszRegulaminListyOczekujacych$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rezerwacja_CzyAkceptujeszRegulaminListyOczekujacych")),this.Rezerwacja_ListaOczekujacychPelna$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rezerwacja_ListaOczekujacychPelna")),this.Rezerwacja_BrakDostepnychTerminow$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rezerwacja_BrakDostepnychTerminow")),this.Rezerwacja_BrakTerminow$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rezerwacja_BrakTerminow")),this.Rezerwacja_CzasMinal$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rezerwacja_CzasMinal")),this.Rezerwacja_CzyKontynuowacNieukonczona$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rezerwacja_CzyKontynuowacNieukonczona")),this.Rezerwacja_CzyZapisacNaListeOczekujacych$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rezerwacja_CzyZapisacNaListeOczekujacych")),this.Rezerwacja_TerminNiedostepny$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rezerwacja_TerminNiedostepny")),this.Rezerwacja_WykrytoNieukonczona$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rezerwacja_WykrytoNieukonczona")),this.Rezerwacja_WykrytoPrzeterminowana$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Rezerwacja_WykrytoPrzeterminowana")),this.RezerwacjaTerminu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","RezerwacjaTerminu")),this.RezerwacjeUzupelniajace_NieWybranoTermin$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","RezerwacjeUzupelniajace_NieWybranoTermin")),this.SesjaWygasla$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","SesjaWygasla")),this.SesjaWygaslaFormularz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","SesjaWygaslaFormularz")),this.SerwerObciazony$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","SerwerObciazony")),this.WeryfikacjaCaptcha$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","WeryfikacjaCaptcha")),this.WewnetrznyBladSerwera$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","WewnetrznyBladSerwera")),this.Wiza_Rezerwuj$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Wiza_Rezerwuj")),this.Walidacja_NieprawidlowaData$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Walidacja_NieprawidlowaData")),this.Wizyty_BrakDni$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Wizyty_BrakDni")),this.Wizyty_BrakWizyt$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Wizyty_BrakWizyt")),this.Wizyty_JuzZlozonoFormularz$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Wizyty_JuzZlozonoFormularz")),this.Wizyty_lblErrorWyborDaty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Wizyty_lblErrorWyborDaty")),this.Wizyty_NiezgodnoscDokumentuPodrozyZDokumentemPraca$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Wizyty_NiezgodnoscDokumentuPodrozyZDokumentemPraca")),this.Wizyty_PowtorzenieDokumentuPraca$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Wizyty_PowtorzenieDokumentuPraca")),this.Wizyty_ZbytKrotkaDataWaznosciDokumentuPraca$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Wizyty_ZbytKrotaDataWaznosciDokumentuPraca")),this.WypelnijZarejestruj_brakPlacowki$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","WypelnijZarejestruj_brakPlacowki")),this.Zgoda_RODO$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","Zgoda_RODO")),this.ZmianaHasla_BrakNowegoHasla$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","ZmianaHasla_BrakNowegoHasla")),this.ZmianaHasla_BrakObecnegoHasla$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","ZmianaHasla_BrakObecnegoHasla")),this.ZmianaHasla_NieprawidloweObecneHaslo$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","ZmianaHasla_NieprawidloweObecneHaslo")),this.ZmianaHasla_NoweRozne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","ZmianaHasla_NoweRozne")),this.ZmianaHasla_ObecneInoweIdentyczne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","ZmianaHasla_ObecneInoweIdentyczne")),this.ZmianaHasla_OK$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","ZmianaHasla_OK")),this.ZmianaHasla_TakieJakLogin$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","ZmianaHasla_TakieJakLogin")),this.ZmianaHas\u0142a_Blad$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("Komunikaty","ZmianaHas\u0142a_Blad"))}return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.s))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},97465:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var i=n(53918),r=n(94571),a=n(93820),o=function(){function e(e){this.translateService=e,this.AnulowanieWniosku$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","AnulowanieWniosku")),this.InformacjeKP$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","InformacjeKP")),this.InformacjeMRG$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","InformacjeMRG")),this.InformacjeObywatelskie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","InformacjeObywatelskie")),this.InformacjePaszportowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","InformacjePaszportowe")),this.InformacjePrawne$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","InformacjePrawne")),this.InformacjeWizowe$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","InformacjeWizowe")),this.Limity$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","Limity")),this.Logowanie$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","Logowanie")),this.MRGTytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","MRGTytul")),this.PlikiDoSciagniecia$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","PlikiDoSciagniecia")),this.PotwierdzanieTerminuKolejkowego$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","PotwierdzanieTerminuKolejkowego")),this.PropozycjaTerminuKolejkowego$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","PropozycjaTerminuKolejkowego")),this.Regulamin$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","Regulamin")),this.RejestracjaPodrozy$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","RejestracjaPodrozy")),this.RejestracjaWnioskuMRG$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","RejestracjaWnioskuMRG")),this.RejestracjaWnioskuWiza$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","RejestracjaWnioskuWiza")),this.RejestracjaWnioskuWizyty$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","RejestracjaWnioskuWizyty")),this.RezerwacjaTerminu$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","RezerwacjaTerminu")),this.StronaGlownaOpis$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","StronaGlownaOpis")),this.StronaGlownaTytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","StronaGlownaTytul")),this.WizaOpis$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","WizaOpis")),this.WizaTytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","WizaTytul")),this.WizytaTytul$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","WizytaTytul")),this.ZlozoneFormularze$=this.translateService.selectedLanguageTranslates$.pipe(i.e.translate("MapaStrony","ZlozoneFormularze"))}return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.s))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},2444:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var i=["EKONSULAT","InformacjeStatyczne","MapaStrony","Komunikaty","FORM_WIZYTA_PASZPORTOWA","FORM_WIZYTA","FORM_WIZA","FORM_WIZA_2","FORM_WIZYTA_PRAWNA","FORM_MRG","FORM_KARTA_POLAKA","DOSTEPNOSC"]},18409:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var i=n(79996),r=n(93820),a=n(8010),o=function(){function e(e){this.languageIdContextService=e}return e.prototype.inicializeLanguages=function(e){var t=this;this.languages=e,this.selectedLanguage$=this.languageIdContextService.currentLanguageId$.pipe((0,i.U)(function(e){return t.languages.find(function(t){return t.id===e})})),this.selectedLanguageName$=this.selectedLanguage$.pipe((0,i.U)(function(e){return e.uiCulture.split("-")[0]}))},e.prototype.getSelectedLanguageUiCulture=function(){var e=this;return this.languages.filter(function(t){return t.id===e.languageIdContextService.getContext()})[0].uiCulture},e.\u0275fac=function(t){return new(t||e)(r.LFG(a.X))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},34528:function(e,t,n){"use strict";n.d(t,{P:function(){return a}});var i=n(55959),r=n(93820),a=function(){function e(){this.refreshSidebarSource$=new i.xQ,this.refreshSidebar$=this.refreshSidebarSource$.asObservable(),this.removeSidebarSource$=new i.xQ,this.removeSidebar$=this.removeSidebarSource$.asObservable()}return e.prototype.refreshSidebar=function(){this.refreshSidebarSource$.next()},e.prototype.removeSidebar=function(){this.removeSidebarSource$.next()},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}()},20171:function(e,t,n){"use strict";n.d(t,{P:function(){return b}});var i=n(48987),r=n(68372),a=n(32956),o=n(11318),s=n(40878),l=n(79996),u=n(49045),c='\n\nionicons-v5-l\n\n\t\n\n\n\n\n\n\n\n\n\n\n\n',h='\n\nionicons-v5-l\n\n\t\n\n\n\n\n\n\n\n\n\n\n',f='\n\nionicons-v5-l\n\n\t\n\n\n\n\n\n\n\n\n\n\n\n',d='\n\nionicons-v5-l\n\n\t\n\n\n\n\n\t\n\n\n',p='\n\nionicons-v5-l\n\n\t\n\n\n\n\n\t\n\n\n',v='\n\nionicons-v5-l\n\n\t\n\n\n\n\n\t\n\n\n',g='\n\n\n\tionicons-v5-l\n\t\n\t\t\n\t\n\t\n\t\n\t\n\t\t\n\t\n\n\n\t\n\t\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n',m='\n\n\n\tionicons-v5-l\n\t\n\t\t\n\t\n\t\n\t\n\t\n\t\t\n\t\n\n\n\t\n\t\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n',y='\n\n\n\tionicons-v5-l\n\t\n\t\t\n\t\n\t\n\t\n\t\n\t\t\n\t\n\n\n\t\n\t\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n',_=n(93820),b=function(){function e(e,t,n,i,r){this.tlumaczenia_InformacjeStatyczne=e,this.tlumaczenia_FORM_WIZYTA=t,this.tlumaczenia_EKONSULAT=n,this.institutionContextService=i,this.routingPath=r}return e.prototype.getSidebar=function(){return this.institutionId=this.institutionContextService.getContextId(),(0,s.of)([{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWiza$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&(e.nationalVisa||e.nationalVisaFill||e.schengenVisa||e.schengenVisaFill)}))},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWizaKrajowa$,this.tlumaczenia_InformacjeStatyczne.Master_hlWypelnij$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.nationalVisa})),iconSource:p,activeLinkIconSource:v,iconSourceContrast:d,routerLink:this.routingPath.getNationalVisaReservationAppointment(this.institutionId)},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWizaKrajowa$,this.tlumaczenia_InformacjeStatyczne.Master_hlWypelnijBezRejestracji$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.nationalVisaFill})),iconSource:p,activeLinkIconSource:v,iconSourceContrast:d,routerLink:this.routingPath.getNationalVisaFormWithoutRegistration(this.institutionId)},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWizaShengen$,this.tlumaczenia_InformacjeStatyczne.Master_hlWypelnij$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.schengenVisa})),iconSource:m,activeLinkIconSource:y,iconSourceContrast:g,routerLink:this.routingPath.getSchengenVisaReservationAppointment(this.institutionId)},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWizaShengen$,this.tlumaczenia_InformacjeStatyczne.Master_hlWypelnijBezRejestracji$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.schengenVisaFill})),iconSource:m,activeLinkIconSource:y,iconSourceContrast:g,routerLink:this.routingPath.getSchengenVisaFormWithoutRegistration(this.institutionId)},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWizyty$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&(e.passport||e.legal||e.citizenship||e.polishCard)})),hasDivider:!0},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWizyty_2$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.passport})),iconSource:'\n\nionicons-v5-h\n\n\n',activeLinkIconSource:'\n\nionicons-v5-h\n\n\n',iconSourceContrast:'\n\nionicons-v5-h\n\n\n',routerLink:this.routingPath.getPassportAppointment(this.institutionId)},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWizyty_3$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.legal})),iconSource:'\n\n\n\n\n\n\n\t\n\t\t\n\t\n\n',activeLinkIconSource:'\n\n\n\n\n\n\n\t\n\t\t\n\t\n\n',iconSourceContrast:'\n\n\n\n\n\n\n\t\n\t\t\n\t\n\n',routerLink:this.routingPath.getLegalMattersReservationAppointment(this.institutionId)},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWizyty_4$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.citizenship})),iconSource:'\n\nionicons-v5-j\n\n\n\n',activeLinkIconSource:'\n\nionicons-v5-j\n\n\n\n',iconSourceContrast:'\n\nionicons-v5-j\n\n\n\n',routerLink:this.routingPath.getCitizenshipMattersReservationAppointment(this.institutionId)},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWizyty_5$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.polishCard})),iconSource:'\n\n\n\n\n\n\n',activeLinkIconSource:'\n\n\n\n\n\n',iconSourceContrast:'\n\n\n\n\n\n',routerLink:this.routingPath.getPolesCardReservationAppointment(this.institutionId)},{labels:[this.tlumaczenia_FORM_WIZYTA.WZ_AnulujWizyte$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&(e.passport||e.legal||e.citizenship||e.polishCard)})),iconSource:'\n\n\n\n\t\n\n',activeLinkIconSource:'\n\n\n\n\t\n\n',iconSourceContrast:'\n\n\n\n\t\n\n',routerLink:this.routingPath.getCancelVisit(this.institutionId)},{labels:[this.tlumaczenia_EKONSULAT.MENU_MRG$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&(e.mrgBialorus||e.mrgBialorusFill||e.mrgUkraine||e.mrgUkraineFill||e.mrgRussia||e.mrgRussiaFill)}))},{labels:[this.tlumaczenia_EKONSULAT.MENU_MRG_ZarejestrujFormularz$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.mrgBialorus})),iconSource:h,activeLinkIconSource:f,iconSourceContrast:c,routerLink:this.routingPath.getSmallBorderTrafficReservationAppointment(this.institutionId)},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWypelnijBezRejestracji$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.mrgBialorusFill})),iconSource:h,activeLinkIconSource:f,iconSourceContrast:c,routerLink:this.routingPath.getMRGFormWithoutRegistration(this.institutionId)},{labels:[this.tlumaczenia_EKONSULAT.MENU_MRG_ZarejestrujFormularz$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.mrgUkraine})),iconSource:h,activeLinkIconSource:f,iconSourceContrast:c,routerLink:this.routingPath.getSmallBorderTrafficReservationAppointment(this.institutionId)},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWypelnijBezRejestracji$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.mrgUkraineFill})),iconSource:h,activeLinkIconSource:f,iconSourceContrast:c,routerLink:this.routingPath.getMRGFormWithoutRegistration(this.institutionId)},{labels:[this.tlumaczenia_EKONSULAT.MENU_MRG_ZarejestrujFormularz$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.mrgRussia})),iconSource:h,activeLinkIconSource:f,iconSourceContrast:c,routerLink:this.routingPath.getSmallBorderTrafficReservationAppointment(this.institutionId)},{labels:[this.tlumaczenia_InformacjeStatyczne.Master_hlWypelnijBezRejestracji$],isVisible:this.institutionContextService.currentInstitution$.pipe((0,l.U)(function(e){return null==e?void 0:e.availableServices}),(0,l.U)(function(e){return!!e&&e.mrgRussiaFill})),iconSource:h,activeLinkIconSource:f,iconSourceContrast:c,routerLink:this.routingPath.getMRGFormWithoutRegistration(this.institutionId)}])},e.prototype.removeSidebar=function(){return(0,s.of)([])},e.\u0275fac=function(t){return new(t||e)(_.LFG(a.X),_.LFG(r.O),_.LFG(i.M),_.LFG(u.M),_.LFG(o.Q))},e.\u0275prov=_.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},94571:function(e,t,n){"use strict";n.d(t,{s:function(){return h}});var i=n(64762),r=n(90751),a=function(){return function(e,t){this.languageId=e,this.areaTranslates=t}}(),o=n(78512),s=n(3080),l=n(79996),u=n(93820),c=n(8010),h=function(){function e(e){this.languageIdContextService=e,this.translateAreasLanguages=new o.X([]),this.selectedLanguageTranslates$=(0,s.aj)([this.languageIdContextService.currentLanguageId$,this.translateAreasLanguages.asObservable()]).pipe((0,l.U)(function(e){var t,n=(0,i.CR)(e,2),r=n[0];return null===(t=n[1].find(function(e){return e.languageId===r}))||void 0===t?void 0:t.areaTranslates}))}return e.prototype.addAllTranslates=function(e,t){var n=this;t.forEach(function(t){n.addTranslates(e,t.code,t.translates)})},e.prototype.addTranslates=function(e,t,n){var i=this.translateAreasLanguages.getValue();null==i.find(function(t){return t.languageId===e})&&i.push(new a(e,[]));var o=i.find(function(t){return t.languageId===e});null==(null==o?void 0:o.areaTranslates.find(function(e){return e.code===t}))&&o.areaTranslates.push(Object.assign(new r.T,{code:t,translates:n})),this.translateAreasLanguages.next(i)},e.\u0275fac=function(t){return new(t||e)(u.LFG(c.X))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},87462:function(e,t,n){"use strict";n.d(t,{s:function(){return i},R:function(){return r}});var i="breadcrumb",r="title"},60378:function(e,t,n){"use strict";n.d(t,{k:function(){return i},P:function(){return r}});var i="institutionId",r="guid"},812:function(e,t,n){"use strict";n.d(t,{Dx:function(){return i},pn:function(){return r},Hi:function(){return a},$q:function(){return o},rq:function(){return s},T$:function(){return l},me:function(){return u},PR:function(){return c},Yc:function(){return h},S1:function(){return f},I9:function(){return d},MC:function(){return p},pI:function(){return v},Y6:function(){return g},_Q:function(){return m},a2:function(){return y},Gg:function(){return _},Gi:function(){return b},R2:function(){return S},vx:function(){return k},Cs:function(){return T},SV:function(){return w},l3:function(){return A},GL:function(){return I},RY:function(){return C},Lc:function(){return E},At:function(){return O},AL:function(){return R},hD:function(){return M},S8:function(){return L},jB:function(){return P},T2:function(){return Z},th:function(){return z},Hv:function(){return x},$T:function(){return N},A5:function(){return D},K1:function(){return F},Vn:function(){return W},Ri:function(){return j},AE:function(){return G},cB:function(){return $},hp:function(){return B},ZE:function(){return V},RB:function(){return H},$b:function(){return U}});var i="/",r="blad",a="nie-istnieje",o="link-starej-wersji",s="przerwa-serwisowa",l="wcag",u="placowki",c="wizyty",h="formularz",f="wiza-krajowa-formularz-bez-rejestracji",d="maly-ruch-graniczny-formularz-bez-rejestracji",p="wiza-schengen-formularz-bez-rejestracji",v="sprawy-paszportowe",g="kontynuacja-rezerwacji-terminu",m="przeterminowana-rezerwacja",y="regulamin-listy-oczekujacych",_="rezerwacja-terminu",b="potwierdzenie-rezerwacji-terminu",S="akceptacja-proponowanego-terminu-kolejkowego",k="odrzucenie-proponowanego-terminu-kolejkowego",T="potwierdzenie-wizyty",w="odwolanie-wizyty",A="propozycja-terminu-kolejkowego-sms",I="potwierdzanie-terminu-sms",C="rodo",E="deklaracja-dostepnosci",O="regulamin",R="wiza-krajowa",M="weryfikacja-obrazkowa",L="rezerwacja-wizyty",P="wiza-schengen",Z="losowanie-terminow",z="rejestracja",x="wstepny-formularz",N="sprawy-prawne",D="sprawy-obywatelskie",F="potwierdzenie-rejestracji-wniosku-wizowego",W="wynik-weryfikacji",j="wynik-rejestracji",G="nowy",$="po-weryfikacji",B="potwierdzenie-wyslania-formularza",V="anulowanie-wizyty",H="maly-ruch-graniczny",U="karta-polaka"},11318:function(e,t,n){"use strict";n.d(t,{Q:function(){return o}});var i=n(20346),r=n(812),a=n(93820),o=function(){function e(){}return e.prototype.getApp=function(){return[r.Dx]},e.prototype.getServiceInterrupted=function(){return[r.Dx,r.rq]},e.prototype.getNotFoundPage=function(){return[r.Dx,i.I]},e.prototype.getInstitutionDetails=function(e){return[r.Dx,r.me,String(e)]},e.prototype.getWcag=function(){return[r.Dx,r.T$]},e.prototype.getRodo=function(){return[r.Dx,r.RY]},e.prototype.getDeclarationOfAvailability=function(){return[r.Dx,r.Lc]},e.prototype.getRegulations=function(){return[r.Dx,r.At]},e.prototype.getPassportAppointment=function(e){return[r.Dx,r.me,String(e),r.pI]},e.prototype.getPassportAppointmentReservation=function(e){return[r.Dx,r.me,String(e),r.pI,r.PR,r.Yc]},e.prototype.getPassportAppointmentReservationOngoing=function(e){return[r.Dx,r.me,String(e),r.pI,r.PR,r.Y6]},e.prototype.getPassportAppointmentReservationExpired=function(e){return[r.Dx,r.me,String(e),r.pI,r.PR,r._Q]},e.prototype.getPassportMatters=function(e){return[r.Dx,r.me,String(e),r.pI,r.Yc]},e.prototype.getReservationConfirmation=function(e){return[r.Dx,r.me,String(e),r.pI,r.Gg,r.Gi]},e.prototype.getWaitingListRegulations=function(e){return[r.Dx,r.me,String(e),r.pI,r.a2]},e.prototype.getNationalVisaReservationAppointment=function(e){return[r.Dx,r.me,String(e),r.AL]},e.prototype.getNationalVisaForm=function(e){return[r.Dx,r.me,String(e),r.AL,r.Yc,r.AE]},e.prototype.getNationalVisaFormWithoutRegistration=function(e){return[r.Dx,r.me,String(e),r.S1]},e.prototype.getNationalVisaWithoutReservationConfirmation=function(e){return[r.Dx,r.me,String(e),r.S1,r.hp]},e.prototype.getNationalVisaReservationConfirmation=function(e){return[r.Dx,r.me,String(e),r.AL,r.Gg,r.Gi]},e.prototype.getNationalVisaRandomDates=function(e){return[r.Dx,r.me,String(e),r.AL,r.T2]},e.prototype.getNationalVisaInitialForm=function(e){return[r.Dx,r.me,String(e),r.AL,r.th,r.Hv]},e.prototype.getNationalVisaInitialFormRegistrationConfirmation=function(e){return[r.Dx,r.me,String(e),r.AL,r.th,r.K1]},e.prototype.getNationalVisaEditForm=function(e){return[r.Dx,r.me,String(e),r.AL,r.Yc,r.cB]},e.prototype.getSchengenVisaReservationAppointment=function(e){return[r.Dx,r.me,String(e),r.jB]},e.prototype.getSchengenVisaRandomDates=function(e){return[r.Dx,r.me,String(e),r.jB,r.T2]},e.prototype.getSchengenVisaForm=function(e){return[r.Dx,r.me,String(e),r.jB,r.Yc,r.AE]},e.prototype.getSchengenVisaFormWithoutRegistration=function(e){return[r.Dx,r.me,String(e),r.MC]},e.prototype.getSchengenVisaReservationConfirmation=function(e){return[r.Dx,r.me,String(e),r.jB,r.Gg,r.Gi]},e.prototype.getSchengenVisaWithoutReservationConfirmation=function(e){return[r.Dx,r.me,String(e),r.MC,r.hp]},e.prototype.getSchengenVisaInitialForm=function(e){return[r.Dx,r.me,String(e),r.jB,r.th,r.Hv]},e.prototype.getSchengenVisaInitialFormRegistrationConfirmation=function(e){return[r.Dx,r.me,String(e),r.jB,r.th,r.K1]},e.prototype.getSchengenVisaEditForm=function(e){return[r.Dx,r.me,String(e),r.jB,r.Yc,r.cB]},e.prototype.getLegalMattersReservationAppointment=function(e){return[r.Dx,r.me,String(e),r.$T]},e.prototype.getLegalMattersForm=function(e){return[r.Dx,r.me,String(e),r.$T,r.Yc]},e.prototype.getLegalMattersReservationConfirmation=function(e){return[r.Dx,r.me,String(e),r.$T,r.Gg,r.Gi]},e.prototype.getCitizenshipMattersReservationAppointment=function(e){return[r.Dx,r.me,String(e),r.A5]},e.prototype.getCitizenshipMattersForm=function(e){return[r.Dx,r.me,String(e),r.A5,r.Yc]},e.prototype.getCitizenshipMattersReservationConfirmation=function(e){return[r.Dx,r.me,String(e),r.A5,r.Gg,r.Gi]},e.prototype.getPolesCardReservationAppointment=function(e){return[r.Dx,r.me,String(e),r.$b]},e.prototype.getPolesCardMattersForm=function(e){return[r.Dx,r.me,String(e),r.$b,r.Yc]},e.prototype.getPolesCardReservationConfirmation=function(e){return[r.Dx,r.me,String(e),r.$b,r.Gg,r.Gi]},e.prototype.getCancelVisit=function(e){return[r.Dx,r.me,String(e),r.ZE]},e.prototype.getSmallBorderTrafficReservationAppointment=function(e){return[r.Dx,r.me,String(e),r.RB]},e.prototype.getSmallBorderTrafficForm=function(e){return[r.Dx,r.me,String(e),r.RB,r.Yc,r.AE]},e.prototype.getMRGReservationConfirmation=function(e){return[r.Dx,r.me,String(e),r.RB,r.Gg,r.Gi]},e.prototype.getMRGFormWithoutRegistration=function(e){return[r.Dx,r.me,String(e),r.I9]},e.prototype.getMRGFormWithoutRegistrationConfirmation=function(e){return[r.Dx,r.me,String(e),r.I9,r.Gi]},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}()},49045:function(e,t,n){"use strict";n.d(t,{M:function(){return h}});var i=n(569),r=n(40875),a=n(46885),o=n(36129),s=n(78512),l=n(11957),u=n(93820),c=n(583),h=function(){function e(e,t){this.storage=e,this.visaReservationDataContext=t,this.INSTITUTION_CONTEXT_STORAGE_KEY="INSTITUTION_CONTEXT_DATA",this.INSTITUTION_ID_CONTEXT_STORAGE_KEY="INSTITUTION_ID",this.initializeContext()}return e.prototype.clearAllContext=function(){this.visaReservationDataContext.clearContext(a.B.SCHENGEN),this.visaReservationDataContext.clearRandomDatesContext(a.B.SCHENGEN),this.visaReservationDataContext.clearInitialDataContext(a.B.SCHENGEN),this.visaReservationDataContext.clearContext(a.B.NATIONAL),this.visaReservationDataContext.clearRandomDatesContext(a.B.NATIONAL),this.visaReservationDataContext.clearInitialDataContext(a.B.NATIONAL),this.clearContextId(),this.clearContext()},e.prototype.clearContextId=function(){this.storage.removeItem(this.INSTITUTION_ID_CONTEXT_STORAGE_KEY)},e.prototype.getContext=function(){return this.currentInstitutionSource$.getValue()},e.prototype.getContextId=function(){return Number(this.storage.getItem(this.INSTITUTION_ID_CONTEXT_STORAGE_KEY))},e.prototype.clearContext=function(){this.updatedCurrentContext(null),this.removeContextFromStorage()},e.prototype.getAvailableMRGServiceType=function(){var e,t=null===(e=this.getContext())||void 0===e?void 0:e.availableServices;if(t)return t.mrgBialorus||t.mrgBialorusFill?i.U.MRG_BIALORUS:t.mrgUkraine||t.mrgUkraineFill?i.U.MRG_UKRAINE:t.mrgRussia||t.mrgRussiaFill?i.U.MRG_RUSSIA:void 0},e.prototype.setContext=function(e){this.updatedCurrentContext(e),this.saveContextInStorage(e)},e.prototype.setContextId=function(e){this.storage.setItem(this.INSTITUTION_ID_CONTEXT_STORAGE_KEY,String(e))},e.prototype.getContextFromStorage=function(){var e=this.storage.getItem(this.INSTITUTION_CONTEXT_STORAGE_KEY);return e&&o.A.parse(e,r.Y)},e.prototype.initializeContext=function(){var e=this.getContextFromStorage();this.currentInstitutionSource$=new s.X(e),this.currentInstitution$=this.currentInstitutionSource$.asObservable(),this.currentInstitutionNameSource$=new s.X(null==e?void 0:e.name),this.currentInstitutionName$=this.currentInstitutionNameSource$.asObservable(),this.updatedCurrentContext(e)},e.prototype.saveContextInStorage=function(e){var t=o.A.stringify(e,r.Y);this.storage.setItem(this.INSTITUTION_CONTEXT_STORAGE_KEY,t)},e.prototype.removeContextFromStorage=function(){this.storage.removeItem(this.INSTITUTION_CONTEXT_STORAGE_KEY)},e.prototype.updatedCurrentContext=function(e){this.currentInstitutionSource$.next(e),this.currentInstitutionNameSource$.next(null==e?void 0:e.name)},e.\u0275fac=function(t){return new(t||e)(u.LFG(c.n),u.LFG(l.i))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},8010:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var i=n(78512),r=n(93820),a=n(583),o=function(){function e(e){this.storage=e,this.LANGUAGE_ID_STORAGE_KEY="LANGUAGE_ID",this.initializeContext()}return e.prototype.getContext=function(){return this.currentLanguageIdSource$.getValue()},e.prototype.clearContext=function(){this.updatedCurrentContext(null),this.removeContextFromStorage()},e.prototype.setContext=function(e){this.updatedCurrentContext(e),this.saveContextInStorage(e)},e.prototype.initializeContext=function(){var e=this.getContextFromStorage()||1;this.currentLanguageIdSource$=new i.X(e),this.currentLanguageId$=this.currentLanguageIdSource$.asObservable(),this.updatedCurrentContext(e)},e.prototype.getContextFromStorage=function(){var e=this.storage.getItem(this.LANGUAGE_ID_STORAGE_KEY);return e&&Number(e)},e.prototype.saveContextInStorage=function(e){this.storage.setItem(this.LANGUAGE_ID_STORAGE_KEY,String(e))},e.prototype.removeContextFromStorage=function(){this.storage.removeItem(this.LANGUAGE_ID_STORAGE_KEY)},e.prototype.updatedCurrentContext=function(e){this.currentLanguageIdSource$.next(e)},e.\u0275fac=function(t){return new(t||e)(r.LFG(a.n))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},36395:function(e,t,n){"use strict";n.d(t,{D:function(){return u}});var i=n(54211),r=n(36129),a=n(78512),o=n(79996),s=n(93820),l=n(583),u=function(){function e(e){var t=this;this.storage=e,this.RESERVATION_DATA_CONTEXT_STORAGE_KEY="RESERVATION_DATA_CONTEXT",this.PASSPORT_MATTER_RESERVATION_INSTITUTION_ID_CONTEXT_STORAGE_KEY="PASSPORT_MATTER_RESERVATION_INSTITUTION_ID",this.timeLeftMs=new a.X(0),this.timeLeftMs$=this.timeLeftMs.asObservable(),this.timeLeftDate$=this.timeLeftMs$.pipe((0,o.U)(function(e){return new Date(e)})),this.initializeContext(),setInterval(function(){t.refreshTime()},100)}return e.prototype.clearPassportMatterContextInstitutionId=function(){this.storage.removeItem(this.PASSPORT_MATTER_RESERVATION_INSTITUTION_ID_CONTEXT_STORAGE_KEY)},e.prototype.getContextFromStorage=function(){var e=this.storage.getItem(this.RESERVATION_DATA_CONTEXT_STORAGE_KEY);return e?e&&r.A.parse(e,i.L):null},e.prototype.getPassportMatterContextInstitutionId=function(){return Number(this.storage.getItem(this.PASSPORT_MATTER_RESERVATION_INSTITUTION_ID_CONTEXT_STORAGE_KEY))},e.prototype.setPassportMatterContextInstitutionId=function(e){this.storage.setItem(this.PASSPORT_MATTER_RESERVATION_INSTITUTION_ID_CONTEXT_STORAGE_KEY,String(e))},e.prototype.initializeContext=function(){this.reservationData=this.getContextFromStorage()},e.prototype.clearContext=function(){this.storage.removeItem(this.RESERVATION_DATA_CONTEXT_STORAGE_KEY),this.reservationData=null},e.prototype.saveContextInStorage=function(e){var t=r.A.stringify(e,i.L);this.storage.setItem(this.RESERVATION_DATA_CONTEXT_STORAGE_KEY,t),this.initializeContext()},e.prototype.calculateTimeLeftMS=function(){return this.reservationData.time.getTime()+18e5-(new Date).getTime()},e.prototype.refreshTime=function(){if(this.reservationData){var e=this.calculateTimeLeftMS();e<0&&(e=0),this.timeLeftMs.next(e)}else this.timeLeftMs.next(0)},e.\u0275fac=function(t){return new(t||e)(s.LFG(l.n))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},50801:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});var i=n(78512),r=n(93820),a=function(){function e(){this.timerSource$=new i.X(null),this.timer$=this.timerSource$.asObservable()}return e.prototype.clearContext=function(){this.updatedCurrentContext(null)},e.prototype.setTimerVisibility=function(e){this.updatedCurrentContext(e)},e.prototype.updatedCurrentContext=function(e){this.timerSource$.next(e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}()},11957:function(e,t,n){"use strict";n.d(t,{i:function(){return f}});var i=n(82863),r=n(93735),a=n(69151),o=n(36129),s=n(71702),l=n(46885),u=n(64909),c=n(93820),h=n(583),f=function(){function e(e){this.storage=e,this.NV_RESERVATION_DATA_CONTEXT_STORAGE_KEY="NV_RESERVATION_DATA_CONTEXT",this.NV_RANDOM_DATES_CONTEXT_STORAGE_KEY="NV_RANDOM_DATES",this.NV_PRE_BOOKING_RESPONSE_KEY="NV_PRE_BOOKING_RESPONSE_KEY",this.NV_INITIAL_DATA_CONTEXT_STORAGE_KEY="NV_INITIAL_DATA_CONTEXT",this.SCHENGEN_RESERVATION_DATA_CONTEXT_STORAGE_KEY="SCHENGEN_RESERVATION_DATA_CONTEXT",this.SCHENGEN_RANDOM_DATES_CONTEXT_STORAGE_KEY="SCHENGEN_RANDOM_DATES",this.SCHENGEN_PRE_BOOKING_RESPONSE_KEY="SCHENGEN_PRE_BOOKING_RESPONSE_KEY",this.SCHENGEN_INITIAL_DATA_CONTEXT_STORAGE_KEY="SCHENGEN_INITIAL_DATA_CONTEXT"}return e.prototype.clearContext=function(e){this.storage.removeItem(e===l.B.NATIONAL?this.NV_RESERVATION_DATA_CONTEXT_STORAGE_KEY:this.SCHENGEN_RESERVATION_DATA_CONTEXT_STORAGE_KEY)},e.prototype.clearRandomDatesContext=function(e){this.storage.removeItem(e===l.B.NATIONAL?this.NV_RANDOM_DATES_CONTEXT_STORAGE_KEY:this.SCHENGEN_RANDOM_DATES_CONTEXT_STORAGE_KEY)},e.prototype.getContextFromStorage=function(e){var t=this.storage.getItem(e===l.B.NATIONAL?this.NV_RESERVATION_DATA_CONTEXT_STORAGE_KEY:this.SCHENGEN_RESERVATION_DATA_CONTEXT_STORAGE_KEY);return t?t&&o.A.parse(t,s.Z):null},e.prototype.saveContextInStorage=function(e,t){var n=t===l.B.NATIONAL?this.NV_RESERVATION_DATA_CONTEXT_STORAGE_KEY:this.SCHENGEN_RESERVATION_DATA_CONTEXT_STORAGE_KEY,i=o.A.stringify(e,s.Z);this.storage.setItem(n,i)},e.prototype.clearInitialDataContext=function(e){this.storage.removeItem(e===l.B.NATIONAL?this.NV_INITIAL_DATA_CONTEXT_STORAGE_KEY:this.SCHENGEN_INITIAL_DATA_CONTEXT_STORAGE_KEY)},e.prototype.getInitialFormDetailsContext=function(e){var t=this.storage.getItem(e===l.B.NATIONAL?this.NV_INITIAL_DATA_CONTEXT_STORAGE_KEY:this.SCHENGEN_INITIAL_DATA_CONTEXT_STORAGE_KEY);return t?t&&o.A.parse(t,u.$):null},e.prototype.saveInitialFormDetailsContext=function(e,t){var n=t===l.B.NATIONAL?this.NV_INITIAL_DATA_CONTEXT_STORAGE_KEY:this.SCHENGEN_INITIAL_DATA_CONTEXT_STORAGE_KEY,i=o.A.stringify(e,u.$);this.storage.setItem(n,i)},e.prototype.getRandomDatesContextFromStorage=function(e){var t=this.storage.getItem(e===l.B.NATIONAL?this.NV_RANDOM_DATES_CONTEXT_STORAGE_KEY:this.SCHENGEN_RANDOM_DATES_CONTEXT_STORAGE_KEY);return t?t&&o.A.parse(t,i.p):null},e.prototype.saveRandomDatesContextInStorage=function(e,t){var n=t===l.B.NATIONAL?this.NV_RANDOM_DATES_CONTEXT_STORAGE_KEY:this.SCHENGEN_RANDOM_DATES_CONTEXT_STORAGE_KEY,r=o.A.stringify(e,i.p);this.storage.setItem(n,r)},e.prototype.getTicketContext=function(e){var t=this.storage.getItem(e===l.B.NATIONAL?this.NV_RESERVATION_DATA_CONTEXT_STORAGE_KEY:this.SCHENGEN_RESERVATION_DATA_CONTEXT_STORAGE_KEY);return t?t&&o.A.parse(t,a.x):null},e.prototype.saveTicketContext=function(e,t){var n=t===l.B.NATIONAL?this.NV_RESERVATION_DATA_CONTEXT_STORAGE_KEY:this.SCHENGEN_RESERVATION_DATA_CONTEXT_STORAGE_KEY,i=o.A.stringify(e,a.x);this.storage.setItem(n,i)},e.prototype.clearPreBookingResponseContext=function(e){this.storage.removeItem(e===l.B.NATIONAL?this.NV_PRE_BOOKING_RESPONSE_KEY:this.SCHENGEN_PRE_BOOKING_RESPONSE_KEY)},e.prototype.getPreBookingResponseContext=function(e){var t=this.storage.getItem(e===l.B.NATIONAL?this.NV_PRE_BOOKING_RESPONSE_KEY:this.SCHENGEN_PRE_BOOKING_RESPONSE_KEY);return t?t&&o.A.parse(t,r.k):null},e.prototype.savePreBookingResponseContext=function(e,t){var n=t===l.B.NATIONAL?this.NV_PRE_BOOKING_RESPONSE_KEY:this.SCHENGEN_PRE_BOOKING_RESPONSE_KEY,i=o.A.stringify(e,r.k);this.storage.setItem(n,i)},e.\u0275fac=function(t){return new(t||e)(c.LFG(h.n))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},27653:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var i=n(61116),r=n(93820),a=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez]]}),e}()},83430:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});var i=function(e){return e.MAIN_PAGE="mainPage",e.INSTITUTION_DETAILS="institutionDetails",e.PASSPORT_MATTERS="passportMatters",e.LEGAL_MATTERS="legalMatters",e.CITIZENSHIP_MATTERS="citizenshipMatters",e.POLES_CARD="polesCard",e.RODO="rodo",e.REGULATIONS="regulations",e.DECLARATION_OF_AVAILABILITY="declarationOfAvailability",e.NATIONAL_VISA="nationalVisa",e.SCHENGEN_VISA="schengenVisa",e.BOOKING_DATES="bookingDates",e.RANDOM_DATES="randomDates",e.MAIN_FORM="mainForm",e.INITIAL_FORM="initialForm",e.SEND_INITIAL_FORM_CONFIRMATION="sendInitialFormConfirmation",e.REGISTRATION_CONFIRMATION="registrationConfirmation",e.VERIFICATION_RESULT="verificationResult",e.NATIONAL_VISA_MAIN_FORM_WITHOUT_REGISTRATION="nationalVisaMainFormWithoutRegistration",e.VISA_CONFIRMATION="visaConfirmation",e.NATIONAL_VISA_WITHOUT_REGISTRATION_CONFIRMATION="nationalVisaWithoutRegistrationConfirmation",e.CANCEL_VISIT="cancelVisit",e.SMALL_BORDER_TRAFFIC="smallBorderTraffic",e.MRG_FORM_WITHOUT_REGISTRATION="mrgFormWithoutRegistration",e.MRG_REGISTRATION_CONFIRMATION="mrgRegistrationConfirmation",e.SCHENGEN_VISA_FORM_WITHOUT_REGISTRATION="schengenVisaFormWithoutRegistration",e.SCHENGEN_VISA_WITHOUT_REGISTRATION_CONFIRMATION="schengenVisaWithoutRegistrationConfirmation",e}({})},68679:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});var i=n(93820),r=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-divider"]],decls:0,vars:0,template:function(e,t){},styles:["[_nghost-%COMP%]{display:block;height:.0625rem;width:100%;background-color:#b7b7b7}"]}),e}()},97829:function(e,t,n){"use strict";n.d(t,{x:function(){return a}});var i=n(61116),r=n(93820),a=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez]]}),e}()},84238:function(e,t,n){"use strict";n.d(t,{P:function(){return s}});var i=n(93820),r=n(84369),a=n(24311),o=n(77307),s=function(){function e(){this.disabled=!1,this.onClick=new i.vpe}return e.prototype.handleClick=function(){this.onClick.emit()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-form-icon"]],inputs:{iconName:"iconName",tooltip:"tooltip",ariaLabel:"ariaLabel",disabled:"disabled"},outputs:{onClick:"onClick"},decls:4,vars:4,consts:[[1,"d-flex","align-items-center"],["type","button","mat-mini-fab","",3,"matTooltip","disabled","click"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.TgZ(1,"button",1),i.NdJ("click",function(){return t.handleClick()}),i.TgZ(2,"mat-icon"),i._uU(3),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.xp6(1),i.Q6J("matTooltip",t.tooltip)("disabled",t.disabled),i.uIk("aria-label",t.ariaLabel),i.xp6(2),i.Oqu(t.iconName))},directives:[r.lW,a.gM,o.Hw],styles:[""]}),e}()},35983:function(e,t,n){"use strict";n.d(t,{x:function(){return l}});var i=n(61116),r=n(84369),a=n(77307),o=n(24311),s=n(93820),l=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[i.ez,r.ot,a.Ps,o.AV]]}),e}()},2153:function(e,t,n){"use strict";n.d(t,{F:function(){return a}});var i=n(61116),r=n(93820),a=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez]]}),e}()},61170:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var i=function(e){return e.REQUIRED="required",e.MASK_MISMATCH="mask",e.REQUIRED_TRUE="requiredTrue",e.INVALID_EMAIL="invalidEmail",e.AT_LEAST_ONE="atLeastOne",e.INVALID_PESEL="invalidPesel",e.INVALID_DATE="invalidDate",e.SHOULD_BE_PAST_DATE="shouldBePastDate",e.SHOULD_BE_FUTURE_DATE="shouldBeFutureDate",e.INVALID_FIRST_NAME="invalidFirstName",e.INVALID_LAST_NAME="invalidLastName",e.INVALID_FIRST_NAME_MRG="invalidFirstNameMrg",e.INVALID_LAST_NAME_MRG="invalidLastNameMrg",e.INVALID_NAME="invalidName",e.INVALID_ZIP_CODE="invalidZipCode",e.INVALID_PHONE_NUMBER="invalidPhoneNumber",e.INVALID_LATIN_SYMBOLS="invlidLatinSymbols",e.INVALID_LATIN_AND_PUNCTUATION_SYMBOLS="invalidLatinAndPunctuationSymbols",e.MAT_DATEPICKER_MIN="matDatepickerMin",e.MAT_DATEPICKER_MAX="matDatepickerMax",e.INVALID_INTEGER="invalidInteger",e.VALUE_SHOULD_BE_BETWEEN="shouldBeBetween",e.SHOULD_BE_LESS_OR_EQUAL="shouldBeLessOrEqual",e.MAT_DATEPICKER_PARSE="matDatepickerParse",e.INVALID_LENGTH="invalidLength",e.INVALID_DOCUMENT_NUMBER="invalidDocumentNumber",e.INVALID_BY_WHO_GIVEN="invalidByWhoGiven",e}({})},31421:function(e,t,n){"use strict";n.d(t,{b:function(){return y}});var i=n(44573),r=n(78781),a=n(93779),o=n(68372),s=n(32956),l=n(54852),u=n(40878),c=function(e){return e.COMMON="BLAD_BladOgolny$",e.REQUIRED="required",e.REQUIRED_TRUE="requiredTrue",e.INVALID_EMAIL="invalidEmail",e.AT_LEAST_ONE="atLeastOne",e.INVALID_PESEL="invalidPesel",e.INVALID_DATE="invalidDate",e.INVALID_NAME="invalidName",e.INVALID_FIRST_NAME="invalidFirstName",e.INVALID_LAST_NAME="invalidLastName",e.INVALID_FIRST_NAME_MRG="invalidFirstNameMrg",e.INVALID_LAST_NAME_MRG="invalidLastNameMrg",e.SHOULD_BE_PAST_DATE="shouldBePastDate",e.SHOULD_BE_FUTURE_DATE="shouldBeFutureDate",e.MAT_DATEPICKER_MIN="matDatepickerMin",e.MAT_DATEPICKER_MAX="matDatepickerMax",e.INVALID_INTEGER="invalidInteger",e.MASK_MISMATCH="maskMismatch",e.VALUE_SHOULD_BE_BETWEEN="shouldBeBetween",e.SHOULD_BE_LESS_OR_EQUAL="shouldBeLessOrEquel",e.INVALID_PHONE_NUMBER="invalidPhoneNumber",e.INVALID_DOCUMENT_NUMBER="invalidDocumentNumber",e.INVALID_BY_WHO_GIVEN="invalidByWhoGiven",e.INVALID_LATIN_AND_PUNCTUATION_SYMBOLS="invalidLatinAndPunctuationSymbols",e.INVALID_ZIP_CODE="invalidZipCode",e.INVALID_LENGTH="invalidLength",e}({}),h=n(61170),f=n(64762),d=function(e){function t(t){return void 0===t&&(t="Unknown validation error exception."),e.call(this,t)||this}return(0,f.ZT)(t,e),t}(function(e){function t(t){return void 0===t&&(t="Unknown exception."),e.call(this,t)||this}return(0,f.ZT)(t,e),t}(Error)),p=function(){function e(e){void 0===e&&(e=c.COMMON),this.description=e}return e.prototype.messageCode=function(){return this.description},e.prototype.message=function(){return this.description},e}(),v=n(95564),g=function(){function e(){}return e.prototype.getValidationErrorMessage=function(e,t){switch(e){case h.x.INVALID_LATIN_SYMBOLS:return new p(v.c.invalidLatinSymbolsValidationError)}return null},e.prototype.getValidationError=function(e,t){switch(e){case h.x.REQUIRED:case h.x.AT_LEAST_ONE:return new p(c.REQUIRED);case h.x.REQUIRED_TRUE:return new p(c.REQUIRED_TRUE);case h.x.INVALID_EMAIL:return new p(c.INVALID_EMAIL);case h.x.INVALID_PESEL:return new p(c.INVALID_PESEL);case h.x.INVALID_NAME:return new p(c.INVALID_NAME);case h.x.INVALID_FIRST_NAME:return new p(c.INVALID_FIRST_NAME);case h.x.INVALID_LAST_NAME:return new p(c.INVALID_LAST_NAME);case h.x.INVALID_FIRST_NAME_MRG:return new p(c.INVALID_FIRST_NAME_MRG);case h.x.INVALID_LAST_NAME_MRG:return new p(c.INVALID_LAST_NAME_MRG);case h.x.INVALID_DOCUMENT_NUMBER:return new p(c.INVALID_DOCUMENT_NUMBER);case h.x.INVALID_BY_WHO_GIVEN:return new p(c.INVALID_BY_WHO_GIVEN);case h.x.INVALID_DATE:case h.x.MAT_DATEPICKER_PARSE:return new p(c.INVALID_DATE);case h.x.SHOULD_BE_PAST_DATE:return new p(c.SHOULD_BE_PAST_DATE);case h.x.SHOULD_BE_FUTURE_DATE:return new p(c.SHOULD_BE_FUTURE_DATE);case h.x.MAT_DATEPICKER_MIN:return new p(c.MAT_DATEPICKER_MIN);case h.x.MAT_DATEPICKER_MAX:return new p(c.MAT_DATEPICKER_MAX);case h.x.INVALID_INTEGER:if(t.availableChars)return new p(c.INVALID_INTEGER);case h.x.MASK_MISMATCH:return new p(c.MASK_MISMATCH);case h.x.VALUE_SHOULD_BE_BETWEEN:return new p(c.VALUE_SHOULD_BE_BETWEEN);case h.x.SHOULD_BE_LESS_OR_EQUAL:return new p(c.SHOULD_BE_LESS_OR_EQUAL);case h.x.INVALID_PHONE_NUMBER:return new p(c.INVALID_PHONE_NUMBER);case h.x.INVALID_LATIN_AND_PUNCTUATION_SYMBOLS:return new p(c.INVALID_LATIN_AND_PUNCTUATION_SYMBOLS);case h.x.INVALID_ZIP_CODE:return new p(c.INVALID_ZIP_CODE);case h.x.INVALID_LENGTH:return new p(c.INVALID_LENGTH);default:throw new d('Unknown validation error exception for key: "'+e+'".')}},e}(),m=n(93820),y=function(){function e(e,t,n,i,r,a){this.tlumaczeniaFORMWIZYTAPASZPORTOWAService=e,this.tlumaczeniaFORMWIZYTAService=t,this.tlumaczeniaKomunikatyService=n,this.tlumaczeniaFormMrgService=i,this.tlumaczeniaFormWizaKrajowaService=r,this.tlumaczeniaInformacjeStatyczneService=a,this.factory=new g}return e.prototype.transform=function(e){var t,n,i=Object.keys(e)[0],r=null===(t=this.factory.getValidationErrorMessage(i,e[i]))||void 0===t?void 0:t.message();return r?(0,u.of)(r):this.getMessageTranslate(null===(n=this.factory.getValidationError(i,e[i]))||void 0===n?void 0:n.messageCode())},e.prototype.getMessageTranslate=function(e){switch(e){case c.REQUIRED:case c.REQUIRED_TRUE:case c.AT_LEAST_ONE:return this.tlumaczeniaKomunikatyService.BladWalidacji_PoleWymagane$;case c.INVALID_EMAIL:return this.tlumaczeniaInformacjeStatyczneService.AdresEmail_PodpowiedzTekstowa$;case c.INVALID_DOCUMENT_NUMBER:return this.tlumaczeniaFormWizaKrajowaService.Walidacja_BlednyNumerDowodu$;case c.INVALID_BY_WHO_GIVEN:return this.tlumaczeniaFormWizaKrajowaService.Walidacja_BlednyDokumentPodrozyWydanyPrzez$;case c.INVALID_PESEL:return this.tlumaczeniaFORMWIZYTAPASZPORTOWAService.WZ_NieprawidlowyPESELData$;case c.INVALID_NAME:return this.tlumaczeniaKomunikatyService.BladWalidacji_Nazwa$;case c.INVALID_FIRST_NAME:return this.tlumaczeniaKomunikatyService.BladWalidacji_Imie$;case c.INVALID_LAST_NAME:return this.tlumaczeniaKomunikatyService.BladWalidacji_Nazwisko$;case c.INVALID_FIRST_NAME_MRG:case c.INVALID_LAST_NAME_MRG:return this.tlumaczeniaKomunikatyService.BladWalidacji_NieprawidloweZnaki3$;case c.INVALID_INTEGER:return this.tlumaczeniaFORMWIZYTAService.WZ_NieprawidlowaWartosc$;case c.INVALID_LENGTH:return this.tlumaczeniaKomunikatyService.BladWalidacji_IloscZnakow$;case c.SHOULD_BE_PAST_DATE:return this.tlumaczeniaKomunikatyService.BladWalidacji_DataMusiBycMniejszaOdDzisiejszej$;case c.SHOULD_BE_FUTURE_DATE:return this.tlumaczeniaKomunikatyService.BladWalidacji_DataMusiBycWiekszaOdDzisiejszej$;case c.MAT_DATEPICKER_MIN:return this.tlumaczeniaKomunikatyService.BladWalidacji_DataDoMusiBycWiekszaDatyOd$;case c.MAT_DATEPICKER_MAX:return this.tlumaczeniaKomunikatyService.BladWalidacji_DataOdMusiBycMniejszaDatyDo$;case c.INVALID_DATE:return this.tlumaczeniaKomunikatyService.Walidacja_NieprawidlowaData$;case c.MASK_MISMATCH:return this.tlumaczeniaFormMrgService.MRG_NieprawidlowaWartosc$;case c.VALUE_SHOULD_BE_BETWEEN:return this.tlumaczeniaFormWizaKrajowaService.Walidacja_BlednaIloscDni$;case c.SHOULD_BE_LESS_OR_EQUAL:return this.tlumaczeniaFormWizaKrajowaService.Walidacja_SchengenBlednaIloscDni$;case c.INVALID_PHONE_NUMBER:return this.tlumaczeniaKomunikatyService.BladWalidacji_NumerTelefonu$;case c.INVALID_LATIN_AND_PUNCTUATION_SYMBOLS:return this.tlumaczeniaKomunikatyService.BladWalidacji_NieprawidloweZnaki2$;case c.INVALID_ZIP_CODE:return this.tlumaczeniaKomunikatyService.BladWalidacji_NieprawidloweZnaki1$}},e.\u0275fac=function(t){return new(t||e)(m.Y36(a.I,16),m.Y36(o.O,16),m.Y36(l.g,16),m.Y36(i.k,16),m.Y36(r.d,16),m.Y36(s.X,16))},e.\u0275pipe=m.Yjl({name:"controlValidationError",type:e,pure:!0}),e}()},36477:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(93820),r=function(){function e(){}return Object.defineProperty(e.prototype,"controlAriaLabel",{get:function(){return this.ariaLabel?this.ariaLabel:this.label},enumerable:!1,configurable:!0}),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-control-abstract"]],inputs:{ariaLabel:"ariaLabel",label:"label",hint:"hint",control:"control",required:"required"},decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"div")},encapsulation:2}),e}()},89474:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var i=function(e){return e.AUTOCOMPLETE="autocomplete",e.DATE="date",e.EMAIL="email",e.NUMBER="number",e.TEL="tel",e.TEXT="text",e.TIME="time",e.RADIO="radio",e.SELECT="select",e.TEXTAREA="textarea",e.CHECKBOX_GROUP="checkbox-group",e.CHECKBOX="checkbox",e}({})},90281:function(e,t,n){"use strict";n.d(t,{K:function(){return v}});var i=n(64762),r=n(93820),a=n(36477),o=n(61116),s=n(7436),l=n(31041),u=n(13070),c=n(31421);function h(e,t){if(1&e&&(r.TgZ(0,"mat-label",4),r._uU(1),r.qZA()),2&e){var n=t.ngIf,i=r.oxw();r.ekj("asterix",i.required),r.xp6(1),r.hij(" ",n,"\n")}}function f(e,t){if(1&e&&(r.TgZ(0,"span",7),r._uU(1),r.qZA()),2&e){var n=r.oxw().$implicit,i=r.oxw();r.xp6(1),r.Oqu(i.optionAriaLabelFn(n))}}function d(e,t){if(1&e&&(r.TgZ(0,"div"),r.TgZ(1,"mat-radio-button",5),r.YNc(2,f,2,1,"span",6),r.TgZ(3,"span"),r._uU(4),r.qZA(),r.qZA(),r.qZA()),2&e){var n=t.$implicit,i=r.oxw();r.ekj("horizontal",i.horizontal),r.xp6(1),r.Q6J("value",i.optionValueFn(n)),r.xp6(1),r.Q6J("ngIf",!!i.optionAriaLabelFn(n)),r.xp6(1),r.uIk("aria-hidden",!!i.optionAriaLabelFn(n)),r.xp6(1),r.Oqu(i.optionLabelFn(n))}}function p(e,t){if(1&e&&(r.TgZ(0,"mat-error",8),r._uU(1),r.ALo(2,"async"),r.ALo(3,"controlValidationError"),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Oqu(r.lcZ(2,1,r.lcZ(3,3,n.errors)))}}var v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.optionAriaLabelFn=function(){return null},t.horizontal=!0,t.change=new r.vpe,t.onFocusOut=new r.vpe,t}return(0,i.ZT)(t,e),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control.errors},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showErrors",{get:function(){return!!this.control.errors&&this.control.dirty&&this.control.touched},enumerable:!1,configurable:!0}),t.prototype.onChange=function(e){this.change.emit(e)},t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["app-radio-control"]],inputs:{options:"options",optionValueFn:"optionValueFn",optionLabelFn:"optionLabelFn",optionAriaLabelFn:"optionAriaLabelFn",horizontal:"horizontal"},outputs:{change:"change",onFocusOut:"onFocusOut"},features:[r.qOj],decls:7,vars:12,consts:[["class","radio-control-label",3,"asterix",4,"ngIf"],[3,"formControl","required","change","focusout"],[3,"horizontal",4,"ngFor","ngForOf"],["class","dark-theme-background",4,"ngIf"],[1,"radio-control-label"],[3,"value"],["class","sr-only",4,"ngIf"],[1,"sr-only"],[1,"dark-theme-background"]],template:function(e,t){1&e&&(r.YNc(0,h,2,3,"mat-label",0),r.ALo(1,"async"),r.TgZ(2,"div"),r.TgZ(3,"mat-radio-group",1),r.NdJ("change",function(e){return t.onChange(e)})("focusout",function(){return t.onFocusOut.emit()}),r.ALo(4,"async"),r.YNc(5,d,5,6,"div",2),r.qZA(),r.YNc(6,p,4,5,"mat-error",3),r.qZA()),2&e&&(r.Q6J("ngIf",r.lcZ(1,8,t.label)),r.xp6(2),r.Udp("padding-left",1,"em"),r.xp6(1),r.Q6J("formControl",t.control)("required",t.required),r.uIk("aria-label",!!t.controlAriaLabel&&r.lcZ(4,10,t.controlAriaLabel)),r.xp6(2),r.Q6J("ngForOf",t.options),r.xp6(1),r.Q6J("ngIf",t.showErrors))},directives:[o.O5,s.VQ,l.JJ,l.oH,l.Q7,o.sg,u.hX,s.U0,u.TO],pipes:[o.Ov,c.b],styles:['[_nghost-%COMP%]{display:inline-block;margin:0 0 1rem}[_nghost-%COMP%] .radio-control-label[_ngcontent-%COMP%]{margin:0 0 .25rem;display:block}[_nghost-%COMP%] mat-error[_ngcontent-%COMP%]{font-size:.75rem;color:#b00020}.asterix[_ngcontent-%COMP%]:after{content:"*";color:#b00020}']}),t}(a.A)},27436:function(e,t,n){"use strict";n.d(t,{h:function(){return c}});var i=n(61116),r=n(31041),a=n(13070),o=n(7436),s=n(13841),l=n(2153),u=n(93820),c=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=u.oAB({type:e}),e.\u0275inj=u.cJS({imports:[[i.ez,r.UX,a.lN,o.Fk,s.LD,l.F]]}),e}()},30066:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var i=n(64762),r=n(93820),a=n(13841),o=n(36477),s=n(13070),l=n(31041),u=n(61116),c=n(87064),h=n(31421);function f(e,t){if(1&e&&(r.TgZ(0,"mat-option",4),r._uU(1),r._UZ(2,"br"),r.qZA()),2&e){var n=r.oxw();r.Q6J("value",null),r.xp6(1),r.Oqu(n.nullableSign)}}function d(e,t){if(1&e&&(r.TgZ(0,"mat-option",4),r._uU(1),r.qZA()),2&e){var n=t.$implicit,i=r.oxw();r.Q6J("value",i.optionValueFn(n)),r.xp6(1),r.hij(" ",i.optionLabelFn(n)," ")}}function p(e,t){if(1&e&&(r.TgZ(0,"mat-hint"),r._uU(1),r.qZA()),2&e){var n=t.ngIf;r.xp6(1),r.hij(" ",n," ")}}function v(e,t){if(1&e&&(r.TgZ(0,"mat-error"),r._uU(1),r.ALo(2,"async"),r.ALo(3,"controlValidationError"),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Oqu(r.lcZ(2,1,r.lcZ(3,3,n.errors)))}}var g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.multiple=!1,t.nullable=!1,t.focusOut=new r.vpe,t.selectionChange=new r.vpe,t}return(0,i.ZT)(t,e),Object.defineProperty(t.prototype,"errors",{get:function(){return this.getControl().errors},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showErrors",{get:function(){return!!this.getControl().errors},enumerable:!1,configurable:!0}),t.prototype.getControl=function(){return this.matSelect.ngControl.control},t.prototype.onFocusOut=function(){this.focusOut.emit()},t.prototype.onSelectionChange=function(e){this.selectionChange.emit(e)},t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["app-select-control"]],viewQuery:function(e,t){var n;1&e&&r.Gf(a.gD,7,a.gD),2&e&&r.iGM(n=r.CRH())&&(t.matSelect=n.first)},inputs:{options:"options",multiple:"multiple",optionLabelFn:"optionLabelFn",optionValueFn:"optionValueFn",nullable:"nullable",nullableSign:"nullableSign"},outputs:{focusOut:"focusOut",selectionChange:"selectionChange"},features:[r.qOj],decls:11,vars:17,consts:[[3,"formControl","required","multiple","selectionChange","focusout"],[3,"value",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"]],template:function(e,t){1&e&&(r.TgZ(0,"mat-label"),r._uU(1),r.ALo(2,"async"),r.qZA(),r.TgZ(3,"mat-form-field"),r.TgZ(4,"mat-select",0),r.NdJ("selectionChange",function(e){return t.onSelectionChange(e)})("focusout",function(){return t.onFocusOut()}),r.ALo(5,"async"),r.YNc(6,f,3,2,"mat-option",1),r.YNc(7,d,2,2,"mat-option",2),r.qZA(),r.YNc(8,p,2,1,"mat-hint",3),r.ALo(9,"async"),r.YNc(10,v,4,5,"mat-error",3),r.qZA()),2&e&&(r.ekj("asterix",t.required),r.xp6(1),r.Oqu(r.lcZ(2,11,t.label)),r.xp6(3),r.Q6J("formControl",t.control)("required",t.required)("multiple",t.multiple),r.uIk("aria-label",!!t.controlAriaLabel&&r.lcZ(5,13,t.controlAriaLabel)),r.xp6(2),r.Q6J("ngIf",t.nullable),r.xp6(1),r.Q6J("ngForOf",t.options),r.xp6(1),r.Q6J("ngIf",r.lcZ(9,15,t.hint)),r.xp6(2),r.Q6J("ngIf",t.showErrors))},directives:[s.hX,s.KE,a.gD,l.JJ,l.oH,l.Q7,u.O5,u.sg,c.ey,s.bx,s.TO],pipes:[u.Ov,h.b],styles:['.asterix[_ngcontent-%COMP%]:after{content:"*";color:#b00020}']}),t}(o.A)},79557:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var i=n(61116),r=n(31041),a=n(13070),o=n(13841),s=n(2153),l=n(93820),u=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l.oAB({type:e}),e.\u0275inj=l.cJS({providers:[{provide:a.o2,useValue:{appearance:"outline"}}],imports:[[i.ez,r.UX,a.lN,o.LD,s.F]]}),e}()},26962:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var i=function(e){return e.BLACK_YELLOW="BLACK_YELLOW",e.DEFAULT="DEFAULT",e}({})},46885:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var i=function(e){return e.NATIONAL="NATIONAL",e.SCHENGEN="SCHENGEN",e}({})},36129:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(43519),r=function(){function e(){}return e.stringify=function(e,t){return i.r5.stringify(e,t)},e.parse=function(e,t){return i.r5.parse(e,t)},e.plainJSON=function(e,t){return i.r5.toPlainJson(e,t)},e}()},90554:function(e,t,n){"use strict";n.d(t,{q:function(){return i},P:function(){return r}});var i=function(){var e=document.createElement("div");e.id="live-announcer-element",e.setAttribute("role","alert"),e.setAttribute("aria-live","assertive"),e.classList.add("sr-only"),document.body.appendChild(e)},r=function(e){var t=document.querySelector("#live-announcer-element");t&&(t.innerHTML=e,setTimeout(function(){return t.innerHTML=""},1500))}},53918:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var i=n(79996),r=n(47727),a=function(){function e(){}return e.translate=function(e,t){return function(n){return n.pipe((0,i.U)(function(t){var n;return null===(n=null==t?void 0:t.find(function(t){return t.code===e}))||void 0===n?void 0:n.translates}),(0,i.U)(function(e){var n;return null===(n=null==e?void 0:e.find(function(e){return e.code===t}))||void 0===n?void 0:n.text}),(0,i.U)(function(e){return null!==e?e:"Brak t\u0142umaczenia"}),(0,r.K)(function(e){return"B\u0142\u0105d t\u0142umaczenia"}))}},e}()},18704:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var i=function(e){return e.MAIN_PAGE_TITLE="mainPageTitle",e}({})},91939:function(e,t,n){"use strict";n.d(t,{s:function(){return a}});var i=n(93820),r=n(99624),a=function(){function e(e){this.sanitizer=e}return e.prototype.transform=function(e,t){switch(t){case"html":return e?this.sanitizer.bypassSecurityTrustHtml(e):"";case"style":return this.sanitizer.bypassSecurityTrustStyle(e);case"script":return this.sanitizer.bypassSecurityTrustScript(e);case"url":return this.sanitizer.bypassSecurityTrustUrl(e);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(e);default:throw new Error("Invalid safe type specified: "+t)}},e.\u0275fac=function(t){return new(t||e)(i.Y36(r.H7,16))},e.\u0275pipe=i.Yjl({name:"blockSanitizer",type:e,pure:!0}),e}()},12231:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var i=n(61116),r=n(93820),a=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez]]}),e}()},36830:function(e,t,n){"use strict";n.d(t,{F:function(){return v}});var i=function(e){return e.LARGE_INTERVAL="large-interval",e}({}),r=function(e){return e.LARGE_INTERVAL="large-interval",e}({}),a=n(78512),o="FONT_SIZE",s="CONTRAST_TYPE",l="INTERVAL",u=function(e){return e.HTML_FONT_NORMAL="html-font-normal",e.HTML_FONT_BIG="html-font-big",e.HTML_FONT_LARGE="html-font-large",e}({}),c=function(e){return e.NORMAL="NORMAL",e.BIG="BIG",e.LARGE="LARGE",e}({}),h=function(e){return e.BLACK_YELLOW="black-yellow",e}({}),f=n(26962),d=n(93820),p=n(583),v=function(){function e(e){this.storage=e,this.initializeTheme()}return e.prototype.changeFontSize=function(){var e=document.querySelector("html");switch(this.storage.getItem(o)){case c.NORMAL:this.storage.setItem(o,c.BIG),this.toggleHtmlClass([u.HTML_FONT_NORMAL,u.HTML_FONT_LARGE],u.HTML_FONT_BIG,e);break;case c.BIG:this.storage.setItem(o,c.LARGE),this.toggleHtmlClass([u.HTML_FONT_NORMAL,u.HTML_FONT_BIG],u.HTML_FONT_LARGE,e);break;default:this.storage.setItem(o,c.NORMAL),this.toggleHtmlClass([u.HTML_FONT_BIG,u.HTML_FONT_LARGE],u.HTML_FONT_NORMAL,e)}},e.prototype.changeTheme=function(){var e=document.querySelector("body");switch(this.storage.getItem(s)){case s:this.storage.removeItem(s),e.classList.remove(h.BLACK_YELLOW);break;case"":case null:case void 0:this.storage.setItem(s,f.J.BLACK_YELLOW),e.classList.add(h.BLACK_YELLOW);break;default:this.storage.removeItem(s),e.classList.remove(h.BLACK_YELLOW)}this.updatedCurrentTheme()},e.prototype.changeInterval=function(){var e=document.querySelector("body");switch(this.storage.getItem(l)){case r.LARGE_INTERVAL:this.storage.removeItem(l),e.classList.remove(i.LARGE_INTERVAL);break;case"":case null:case void 0:this.storage.setItem(l,r.LARGE_INTERVAL),e.classList.add(i.LARGE_INTERVAL);break;default:this.storage.removeItem(l),e.classList.remove(i.LARGE_INTERVAL)}},e.prototype.toggleHtmlClass=function(e,t,n){e&&t&&(e.forEach(function(e){n.classList.remove(e)}),n.classList.add(t))},e.prototype.setInitialFontSize=function(){var e=document.querySelector("html");if(e){var t=this.storage.getItem(o);switch(t||this.storage.setItem(o,c.NORMAL),t){case c.BIG:e.classList.add(u.HTML_FONT_BIG);break;case c.LARGE:e.classList.add(u.HTML_FONT_LARGE);break;default:e.classList.add(u.HTML_FONT_NORMAL)}}},e.prototype.setPageContrast=function(){var e=document.querySelector("body");e&&this.storage.getItem(s)===f.J.BLACK_YELLOW&&e.classList.add(h.BLACK_YELLOW)},e.prototype.initializeTheme=function(){var e=this.storage.getItem(s);this.currentThemeSource$=new a.X(e===f.J.BLACK_YELLOW?f.J.BLACK_YELLOW:f.J.DEFAULT),this.currentTheme$=this.currentThemeSource$.asObservable()},e.prototype.updatedCurrentTheme=function(){var e=this.storage.getItem(s);this.currentThemeSource$.next(e===f.J.BLACK_YELLOW?f.J.BLACK_YELLOW:f.J.DEFAULT)},e.\u0275fac=function(t){return new(t||e)(d.LFG(p.n))},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},75425:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var i=n(61116),r=n(93820),a=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez]]}),e}()},95564:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var i={invalidEmail:"Adres email nie spe\u0142nia warunk\xf3w walidacji.",invalidLength:"Maksymalna ilo\u015b\u0107 znak\xf3w to: {maxLength}.",shouldBePastDate:"Nale\u017cy poda\u0107 dat\u0119 z przesz\u0142o\u015bci.",formNumber:"Numer formularza: ",formCode:"Kod formularza",invalidLatinSymbolsValidationError:"Dopuszczalne tylko wielkie i ma\u0142e litery alfabetu \u0142aci\u0144skiego, my\u015blnik i spacja",fontSizeTooltip:"Powi\u0119kszenie tekstu",contrastTooltip:"Tryb kontrastowy",registrationStatuses:{confirmed:"Gratuluj\u0119, Tw\xf3j formularz zosta\u0142 przekazany do dalszego przetwarzania. Wkr\xf3tce dostaniesz na podany adres e-mail informacj\u0119 o wyniku jego walidacji."}}},583:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});var i=n(93820),r=function(){function e(){}return e.prototype.clear=function(){localStorage.clear()},e.prototype.getItem=function(e){return localStorage.getItem(e)},e.prototype.key=function(e){return localStorage.key(e)},e.prototype.removeItem=function(e){localStorage.removeItem(e)},e.prototype.setItem=function(e,t){localStorage.setItem(e,t)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}()},28375:function(e,t,n){"use strict";n.d(t,{V:function(){return l}});var i=n(78512),r=n(79996),a=n(93820),o=n(52318),s=n(583),l=function(){function e(e,t){var n=this;this.configService=e,this.storageService=t,this.pozostalyCzasMs=new i.X(null),this.pozostalyCzasMs$=this.pozostalyCzasMs.asObservable(),this.pozostalyCzasDate$=this.pozostalyCzasMs$.pipe((0,r.U)(function(e){return new Date(e)})),this.daneRezerwacji=this.pobierz(),setInterval(function(){n.odswiezPozostalyCzas()},100)}return e.prototype.pobierz=function(){var e=this.storageService.getItem("przerwanaRezerwacja");if(!e)return null;var t=JSON.parse(e);return t&&(t.czas=new Date(t.czas)),t.czas.getTime()+108e3*this.configService.config.CzasPrzechowywaniaRezerwacjiWPrzegladarceKlienta-(new Date).getTime()<0?(this.zapomnijRezerwacje(),null):t},e.prototype.zapomnijRezerwacje=function(){this.storageService.removeItem("przerwanaRezerwacja"),this.daneRezerwacji=null},e.prototype.zapamietajRezerwacje=function(e){this.storageService.setItem("przerwanaRezerwacja",JSON.stringify(e)),this.daneRezerwacji=e},e.prototype.odswiezPozostalyCzas=function(){if(this.daneRezerwacji){var e=this.pozostalyCzasRezerwacjiMS();e<0&&(e=0),this.pozostalyCzasMs.next(e)}else this.pozostalyCzasMs.next(null)},e.prototype.pozostalyCzasRezerwacjiMS=function(){return this.daneRezerwacji.czas.getTime()+18e5-(new Date).getTime()},e.\u0275fac=function(t){return new(t||e)(a.LFG(o.E),a.LFG(s.n))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},98663:function(e,t,n){"use strict";n.d(t,{_:function(){return o},N:function(){return a}});var i=n(64762),r=n(31047),a={production:!0},o=(0,i.pi)((0,i.pi)({},{CONFIGURATION:{VALIDATION:{MRG:{MIN_RESIDENCE_DAYS:"api/konfiguracja/uslugi-mrg/walidacje"}}},DICTIONARIES:{ENTRIES:"api/"+r.y.DICTIONARY_CODE,COUNTRIES:"api/slownikiekonsulat/kraje/"+r.y.LANGUAGE_ID,PROFESSIONS:"api/slownikiekonsulat/zawody/"+r.y.LANGUAGE_ID,CITIZENSHIPS:"api/slownikiekonsulat/obywatelstwa/"+r.y.LANGUAGE_ID,REGIONS:"api/slowniki-mrg/wojewodztwa/"+r.y.SERVICE_ID,DISTRICTS:"api/slowniki-mrg/powiaty/"+r.y.SERVICE_ID+"/"+r.y.REGION_ID,CITIES:"api/slowniki-mrg/miejscowosci/"+r.y.SERVICE_ID+"/"+r.y.DISTRICT_ID,COMMUNITIES:"api/slowniki-mrg/gminy/"+r.y.SERVICE_ID+"/"+r.y.DISTRICT_ID,POLISH_ADM_UNITS_FOR_BELARUS:"api/slowniki-mrg/jednostki-administracyjne-strefy-przygranicznej-z-bialorusia",POLISH_ADM_UNITS_FOR_UKRAINE:"api/slowniki-mrg/jednostki-administracyjne-strefy-przygranicznej-z-ukraina"},LANGUAGES:{LIST:"api/konfiguracja/portal/wersje-jezykowe"},TRANSLATES:{LIST:"api/konfiguracja/portal/tlumaczenia-obszarow"},COUNTRIES:{LIST:"api/konfiguracja/placowki/placowki-w-krajach/"+r.y.LANGUAGE_ID,REGIONS:"api/wojewodstwa/"+r.y.LANGUAGE_ID+"/"+r.y.INSTITUTION_ID},DASHBOARD_INFO_CARD:{LIST:"api/konfiguracja/portal/panele-informacyjne/"+r.y.LANGUAGE_ID},INSTITUTIONS:{LIST:"api/konfiguracja/placowki",DETAILS:"api/konfiguracja/placowki/dane-placowki/"+r.y.LANGUAGE_ID+"/"+r.y.INSTITUTION_ID},PASSPORT_MATTERS:{VISITS:{CREATE_REGULAR:"api/formularze/dane-paszportowy/zwykly",CREATE_QUEUE:"api/formularze/dane-paszportowy/kolejkowy",DOWNLOAD_PDF:"api/formularze/pdf-paszportowy/"+r.y.GU_ID},BOOKING:{ACCEPT_QUEUE_DATES:"api/rezerwacja-wizyt-paszportowych/akceptuj-termin-kolejkowy/"+r.y.GU_ID,REJECT_QUEUE_DATES:"api/rezerwacja-wizyt-paszportowych/odrzuc-termin-kolejkowy/"+r.y.GU_ID,CANCEL_VISIT:"api/rezerwacja-wizyt-paszportowych/odwolaj-wizyte/"+r.y.GU_ID,CONFIRM_VISIT:"api/rezerwacja-wizyt-paszportowych/potwierdz-wizyte/"+r.y.GU_ID,VISIT_DETAILS_SMS:"api/rezerwacja-wizyt-paszportowych/dane-wizyty-sms/"+r.y.GU_ID,CONFIRM_VISIT_SMS:"api/rezerwacja-wizyt-paszportowych/potwierdz-wizyte-sms/"+r.y.GU_ID+"/"+r.y.FORM_CODE,CANCEL_VISIT_SMS:"api/rezerwacja-wizyt-paszportowych/anuluj-wizyte-sms/"+r.y.GU_ID+"/"+r.y.FORM_CODE}},PASSPORT_APPOINTMENT_RESERVATIONS:{SERVICE_DATA:"api/konfiguracja/uslugi-paszportowe/"+r.y.INSTITUTION_ID+"/"+r.y.LANGUAGE_ID,AVAILABLE_VISIT_DATES:"api/rezerwacja-wizyt-paszportowych/terminy/"+r.y.LOCALIZATION_ID+"/"+r.y.NUMBER_OF_VISITORS,MAKE_RESERVATION:"api/rezerwacja-wizyt-paszportowych/rezerwacje",ADD_TO_WAITING_LIST:"api/rezerwacja-wizyt-paszportowych/lista-oczekujacych"},NATIONAL_VISA:{APPOINTMENT_RESERVATION:{SERVICES:"api/konfiguracja/uslugi-wizowe/krajowe/"+r.y.INSTITUTION_ID+"/"+r.y.LANGUAGE_ID,AVAILABLE_VISIT_DAYS:"api/rezerwacja-wizyt-wizowych/terminy/"+r.y.LOCALIZATION_ID,MAKE_RESERVATION:"api/rezerwacja-wizyt-wizowych/rezerwacje"},PRE_BOOKING:{MAKE_PRE_BOOKING:"api/rezerwacja-wizyt-wizowych/rezerwacje-wstepne/"+r.y.LOCALIZATION_ID+"/"+r.y.LANGUAGE_ID,SAVE_PRE_BOOKING:"api/formularze/dane-wizowy/wstepny",VERIFICATION:"api/formularze/dane-wizowy/obsluz-link/"+r.y.GU_ID,ADDITIONAL_BOOKING:"api/rezerwacja-wizyt-wizowych/rezerwacje-uzupelniajace"},VISITS:{CREATE:"api/formularze/dane-wizowy/zapisz-krajowa"}},SCHENGEN_VISA:{APPOINTMENT_RESERVATION:{SERVICES:"api/konfiguracja/uslugi-wizowe/schengen/"+r.y.INSTITUTION_ID+"/"+r.y.LANGUAGE_ID},VISITS:{CREATE:"api/formularze/dane-wizowy/zapisz-schengen"}},PDF_VISA:{DOWNLOAD:"api/formularze/pdf-wizowe"},CITIZENSHIP_MATTERS_APPOINTMENT_RESERVATIONS:{SERVICE_DATA:"api/konfiguracja/uslugi-obywatelskie/"+r.y.INSTITUTION_ID+"/"+r.y.LANGUAGE_ID,AVAILABLE_VISIT_DATES:"api/rezerwacja-wizyt-obywatelskich/terminy/"+r.y.LOCALIZATION_ID,MAKE_RESERVATION:"api/rezerwacja-wizyt-obywatelskich/rezerwacje"},CITIZENSHIP_MATTERS:{FORM_CONFIRMATION:"api/formularze/dane-obywatelski",DOWNLOAD_PDF:"api/formularze/pdf-obywatelski/"+r.y.GU_ID},LEGAL_MATTERS_APPOINTMENT_RESERVATIONS:{SERVICE_DATA:"api/konfiguracja/uslugi-prawne/"+r.y.INSTITUTION_ID+"/"+r.y.LANGUAGE_ID,AVAILABLE_VISIT_DATES:"api/rezerwacja-wizyt-prawnych/terminy/"+r.y.LOCALIZATION_ID,MAKE_RESERVATION:"api/rezerwacja-wizyt-prawnych/rezerwacje"},LEGAL_MATTERS:{FORM_CONFIRMATION:"api/formularze/dane-prawny",DOWNLOAD_PDF:"api/formularze/pdf-prawny/"+r.y.GU_ID},POLES_CARD_APPOINTMENT_RESERVATIONS:{SERVICE_DATA:"api/konfiguracja/uslugi-karta-polaka/"+r.y.INSTITUTION_ID+"/"+r.y.LANGUAGE_ID,AVAILABLE_VISIT_DATES:"api/rezerwacja-wizyt-karta-polaka/terminy/"+r.y.LOCALIZATION_ID,MAKE_RESERVATION:"api/rezerwacja-wizyt-karta-polaka/rezerwacje"},POLES_CARD:{FORM_CONFIRMATION:"api/formularze/dane-karta-polaka",DOWNLOAD_PDF:"api/formularze/pdf-karta-polaka/"+r.y.GU_ID},MRG_APPOINTMENT_RESERVATIONS:{SERVICE_DATA:"api/konfiguracja/uslugi-mrg/"+r.y.SERVICE_ID+"/"+r.y.INSTITUTION_ID+"/"+r.y.LANGUAGE_ID,AVAILABLE_VISIT_DATES:"api/rezerwacja-wizyt-mrg/terminy/"+r.y.LOCALIZATION_ID,MAKE_RESERVATION:"api/rezerwacja-wizyt-mrg/rezerwacje"},MRG:{SAVE:"api/formularze/dane-mrg",DOWNLOAD_PDF:"api/formularze/pdf-mrg/"+r.y.GU_ID,DOWNLOAD_PDF_WITHOUT_REGISTRATION:"api/formularze/pdf-mrg"},CANCEL_VISIT:{PASSPORT:"api/rezerwacja-wizyt-paszportowych/anuluj-wizyte",LEGAL:"api/rezerwacja-wizyt-prawnych/anuluj-wizyte"}}),{})},30019:function(e,t,n){"use strict";var i=n(99624),r=n(93820),a=n(64762),o=n(42693),s=n(31041),l=n(26136),u=n(63337),c=n(63264),h=n(1244),f=function(e){return e.ID="id",e.NAME="nazwa",e.CODE="uiCulture",e}({}),d=function(){function e(){}return(0,a.gn)([(0,c.R)({name:f.ID}),(0,a.w6)("design:type",Number)],e.prototype,"id",void 0),(0,a.gn)([(0,c.R)({name:f.NAME}),(0,a.w6)("design:type",String)],e.prototype,"nazwa",void 0),(0,a.gn)([(0,c.R)({name:f.CODE}),(0,a.w6)("design:type",String)],e.prototype,"uiCulture",void 0),(0,a.gn)([(0,h.O)()],e)}(),p=n(98663),v=n(79996),g=n(43519),m=n(52318),y=function(){function e(e,t){this.http=e,this.configService=t}return Object.defineProperty(e.prototype,"API_HOST_URL",{get:function(){return this.configService.config.apiUrl},enumerable:!1,configurable:!0}),e.prototype.getAllActiveLanguages=function(){return this.http.get(this.API_HOST_URL+"/"+p._.LANGUAGES.LIST).pipe(this.mapToModelsArray(d))},e.prototype.mapToModelsArray=function(e){return function(t){return t.pipe((0,v.U)(function(t){return g.r5.parseAsArray(t,e)}))}},e.\u0275fac=function(t){return new(t||e)(r.LFG(o.eN),r.LFG(m.E))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),_=n(69213),b=n(31225),S=n(47727),k=n(78512),T=function(){function e(){this.loadingSubject=new k.X(!1),this.loading$=this.loadingSubject.asObservable()}return e.prototype.loadingOn=function(){this.loadingSubject.next(!0)},e.prototype.loadingOff=function(){this.loadingSubject.next(!1)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}(),w=function(){function e(e){this.loadingService=e,this.requestsCounter=0}return e.prototype.intercept=function(e,t){var n=this;return this.requestsCounter++,this.loadingService.loadingOn(),t.handle(e).pipe((0,v.U)(function(e){return e instanceof o.Zn&&n.checkLastRequestAndHideSpinner(),e}),(0,S.K)(function(e){return n.checkLastRequestAndHideSpinner(),(0,b._)(e)}))},e.prototype.checkLastRequestAndHideSpinner=function(){this.requestsCounter--,0===this.requestsCounter&&this.loadingService.loadingOff()},e.\u0275fac=function(t){return new(t||e)(r.LFG(T))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),A=n(31112),I=n(41998);function C(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var E=n(15121),O=n(61116),R=n(55959),M=n(40878),L=n(62132),P=n(3080),Z=n(48318),z=n(90611),x=n(66599),N=n(56238),D=n(44689),F=n(93289),W=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,A.Z)(this,e),this.config=n,this.state={action:null,value:0,initialValue:0},this.requests=null,this.disabled=!1,this.stream$=new R.xQ,this._value$=null,this.timer$=function(e){var n=(0,M.of)(e);switch(e.action){case"start":case"increment":case"set":"start"===e.action&&0===t.config.latencyThreshold&&0===e.value&&(e.value=e.initialValue),t.requests>0&&(n=(0,L.H)(t.config.latencyThreshold,250).pipe((0,v.U)(function(n){return Object.assign(Object.assign({},e),{value:0===n?t.state.value||e.initialValue:t._increment()})})));break;case"complete":case"stop":n=0===e.value?(0,M.of)(Object.assign({},e)):(0,L.H)(0,500).pipe((0,z.q)(2),(0,v.U)(function(e){return{value:0===e?100:0}}))}return n.pipe((0,v.U)(function(e){return Object.assign(Object.assign({},e),{action:"set"})}),(0,x.b)(function(e){return t.next(e,!1)}))},this.config=Object.assign({latencyThreshold:0},n)}return(0,I.Z)(e,[{key:"value$",get:function(){var e=this;return this._value$?this._value$:this._value$=this.stream$.asObservable().pipe((0,N.O)(this.state),(0,D.w)(function(t){return e.timer$(t)}),(0,F.d)(),(0,v.U)(function(e){return e.value}))}},{key:"start",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;this.disabled||this.next({action:"start",initialValue:e})}},{key:"stop",value:function(){this.next({action:"stop"})}},{key:"complete",value:function(){this.next({action:"complete"})}},{key:"disable",value:function(){this.disabled=!0}},{key:"set",value:function(e){this.next({action:"set",value:e})}},{key:"increment",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.next({action:"increment",value:e})}},{key:"next",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];switch(e.action){case"start":this.requests=(this.requests||0)+1;break;case"complete":if(this.requests=(this.requests||1)-1,this.requests>0)return;break;case"stop":this.requests=0;break;case"increment":e.value=this._increment(e.value)}this.state=Object.assign(Object.assign(Object.assign({},this.state),{action:null}),e),t&&this.stream$.next(this.state)}},{key:"_increment",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.state.value;return t>=99&&(e=0),0===e&&(e=t>=0&&t<25?3*Math.random()+3:t>=25&&t<65?3*Math.random():t>=65&&t<90?2*Math.random():t>=90&&t<99?.5:0),e+t}}]),e}(),j=new r.OlP("LOADING_BAR_CONFIG"),G=function(){var e=function(){function e(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;(0,A.Z)(this,e),this.platformId=t,this.config=i,this.zone=r,this.refs={},this.streams$=new R.xQ,this.value$=this.streams$.asObservable().pipe((0,N.O)(null),(0,D.w)(function(){return P.aj.apply(void 0,(0,E.Z)(Object.keys(n.refs).map(function(e){return n.refs[e].value$})))}),$(this.zone),(0,v.U)(function(e){return Math.max.apply(Math,[0].concat((0,E.Z)(e)))}))}return(0,I.Z)(e,[{key:"progress$",get:function(){return this.value$}},{key:"start",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;this.useRef().start(e)}},{key:"set",value:function(e){this.useRef().set(e)}},{key:"increment",value:function(e){this.useRef().increment(e)}},{key:"complete",value:function(){this.useRef().complete()}},{key:"stop",value:function(){this.useRef().stop()}},{key:"useRef",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return this.refs[e]||(this.refs[e]=new W(this.config),this.streams$.next(),(0,O.NF)(this.platformId)||this.refs[e].disable()),this.refs[e]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.Lbi),r.LFG(j,8),r.LFG(r.R0b,8))},e.\u0275prov=(0,r.Yz7)({factory:function(){return new e((0,r.LFG)(r.Lbi),(0,r.LFG)(j,8),(0,r.LFG)(r.R0b,8))},token:e,providedIn:"root"}),e=(0,a.gn)([(0,a.fM)(0,(0,r.tBr)(r.Lbi)),(0,a.fM)(1,(0,r.FiY)()),(0,a.fM)(1,(0,r.tBr)(j)),(0,a.fM)(2,(0,r.FiY)()),(0,a.w6)("design:paramtypes",[Object,Object,r.R0b])],e)}();function $(e){return e?function(t){return new Z.y(function(n){return t.subscribe(function(t){return e.run(function(){return n.next(t)})},function(t){return e.run(function(){return n.error(t)})},function(){return e.run(function(){return n.complete()})})})}:function(e){return e}}var B=function(){var e=function e(){(0,A.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez]]}),e}(),V=n(11520),H=function(){var e=function(){function e(t){(0,A.Z)(this,e),this.loader=t}return(0,I.Z)(e,[{key:"intercept",value:function(e,t){if(e.headers.has("ignoreLoadingBar"))return t.handle(e.clone({headers:e.headers.delete("ignoreLoadingBar")}));var n=!1,i=this.loader.useRef("http");return t.handle(e).pipe((0,x.b)(function(){n||(i.start(),n=!0)}),(0,V.x)(function(){return n&&i.complete()}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(G))},e.\u0275prov=r.Yz7({token:e,factory:function(t){return e.\u0275fac(t)}}),e=function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([C("design:paramtypes",[G])],e)}(),U=function(){var e=function e(){(0,A.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[{provide:o.TP,useClass:H,multi:!0}],imports:[[o.JF,B],o.JF,B]}),e}();function Y(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}var K=function(){var e=function(){function e(t,n){var i=this;(0,A.Z)(this,e);var r=n.useRef("router");t.events.subscribe(function(e){var n=i.getCurrentNavigationState(t);n&&n.ignoreLoadingBar||(e instanceof u.OD&&r.start(),(e instanceof u.Q3||e instanceof u.m2||e instanceof u.gk)&&r.complete())})}return(0,I.Z)(e,[{key:"getCurrentNavigationState",value:function(e){var t=e.getCurrentNavigation&&e.getCurrentNavigation();return t&&t.extras?t.extras.state:{}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(u.F0),r.LFG(G))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[u.Bz,B],u.Bz,B]}),e=function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}([Y("design:paramtypes",[u.F0,G])],e)}(),q=n(92935),X=n(84369),Q=n(27653),J=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,q.Is,X.ot,Q.n]]}),e}(),ee=n(28784),te=n(52250),ne=n(87064),ie=n(19861),re=n(93169);function ae(e,t){if(1&e&&(r.O4$(),r._UZ(0,"circle",3)),2&e){var n=r.oxw();r.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+n._spinnerAnimationLabel)("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),r.uIk("r",n._getCircleRadius())}}function oe(e,t){if(1&e&&(r.O4$(),r._UZ(0,"circle",3)),2&e){var n=r.oxw();r.Udp("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),r.uIk("r",n._getCircleRadius())}}function se(e,t){if(1&e&&(r.O4$(),r._UZ(0,"circle",3)),2&e){var n=r.oxw();r.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+n._spinnerAnimationLabel)("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),r.uIk("r",n._getCircleRadius())}}function le(e,t){if(1&e&&(r.O4$(),r._UZ(0,"circle",3)),2&e){var n=r.oxw();r.Udp("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),r.uIk("r",n._getCircleRadius())}}var ue=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor;stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n",ce=(0,ne.pj)(function e(t){(0,A.Z)(this,e),this._elementRef=t},"primary"),he=new r.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),fe=function(){var e=function(e){(0,ee.Z)(n,e);var t=(0,te.Z)(n);function n(e,i,r,a,o){var s;(0,A.Z)(this,n),(s=t.call(this,e))._elementRef=e,s._document=r,s._diameter=100,s._value=0,s._fallbackAnimation=!1,s.mode="determinate";var l=n._diameters;return s._spinnerAnimationLabel=s._getSpinnerAnimationLabel(),l.has(r.head)||l.set(r.head,new Set([100])),s._fallbackAnimation=i.EDGE||i.TRIDENT,s._noopAnimations="NoopAnimations"===a&&!!o&&!o._forceAnimations,o&&(o.diameter&&(s.diameter=o.diameter),o.strokeWidth&&(s.strokeWidth=o.strokeWidth)),s}return(0,I.Z)(n,[{key:"diameter",get:function(){return this._diameter},set:function(e){this._diameter=(0,ie.su)(e),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(e){this._strokeWidth=(0,ie.su)(e)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(e){this._value=Math.max(0,Math.min(100,(0,ie.su)(e)))}},{key:"ngOnInit",value:function(){var e=this._elementRef.nativeElement;this._styleRoot=(0,re.kV)(e)||this._document.head,this._attachStyleNode();var t="mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation");e.classList.add(t)}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var e=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(e," ").concat(e)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_attachStyleNode",value:function(){var e=this._styleRoot,t=this._diameter,i=n._diameters,r=i.get(e);if(!r||!r.has(t)){var a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),e.appendChild(a),r||(r=new Set,i.set(e,r)),r.add(t)}}},{key:"_getAnimationText",value:function(){var e=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,"".concat(.95*e)).replace(/END_VALUE/g,"".concat(.2*e)).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),n}(ce);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(re.t4),r.Y36(O.K0,8),r.Y36(l.Qb,8),r.Y36(he))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(e,t){2&e&&(r.uIk("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),r.Udp("width",t.diameter,"px")("height",t.diameter,"px"),r.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[r.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(r.O4$(),r.TgZ(0,"svg",0),r.YNc(1,ae,1,9,"circle",1),r.YNc(2,oe,1,7,"circle",2),r.qZA()),2&e&&(r.Udp("width",t.diameter,"px")("height",t.diameter,"px"),r.Q6J("ngSwitch","indeterminate"===t.mode),r.uIk("viewBox",t._getViewBox()),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngSwitchCase",!1))},directives:[O.RF,O.n9],styles:[ue],encapsulation:2,changeDetection:0}),e._diameters=new WeakMap,e}(),de=function(){var e=function(e){(0,ee.Z)(n,e);var t=(0,te.Z)(n);function n(e,i,r,a,o){var s;return(0,A.Z)(this,n),(s=t.call(this,e,i,r,a,o)).mode="indeterminate",s}return n}(fe);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(re.t4),r.Y36(O.K0,8),r.Y36(l.Qb,8),r.Y36(he))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(r.Udp("width",t.diameter,"px")("height",t.diameter,"px"),r.ekj("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[r.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(r.O4$(),r.TgZ(0,"svg",0),r.YNc(1,se,1,9,"circle",1),r.YNc(2,le,1,7,"circle",2),r.qZA()),2&e&&(r.Udp("width",t.diameter,"px")("height",t.diameter,"px"),r.Q6J("ngSwitch","indeterminate"===t.mode),r.uIk("viewBox",t._getViewBox()),r.xp6(1),r.Q6J("ngSwitchCase",!0),r.xp6(1),r.Q6J("ngSwitchCase",!1))},directives:[O.RF,O.n9],styles:[ue],encapsulation:2,changeDetection:0}),e}(),pe=function(){var e=function e(){(0,A.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[ne.BQ,O.ez],ne.BQ]}),e}(),ve=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,pe]]}),e}(),ge=n(63589),me=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[ge.ux],imports:[[O.ez,ge.ZX]]}),e}(),ye=n(34602),_e=n(20346),be=n(11318),Se=function(){function e(e,t,n){this.configService=e,this.routingPath=t,this.router=n}return e.prototype.canActivate=function(e,t){return!this.configService.config.PrzerwaSerwisowa||this.getServiceInterruptedUrlTree()},e.prototype.canLoad=function(e,t){return!this.configService.config.PrzerwaSerwisowa||this.getServiceInterruptedUrlTree()},e.prototype.getServiceInterruptedUrlTree=function(){return this.router.createUrlTree(this.routingPath.getServiceInterrupted())},e.\u0275fac=function(t){return new(t||e)(r.LFG(m.E),r.LFG(be.Q),r.LFG(u.F0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),ke=function(){function e(e,t,n){this.configService=e,this.routingPath=t,this.router=n}return e.prototype.canLoad=function(e,t){return!!this.configService.config.PrzerwaSerwisowa||this.getAppUrlTree()},e.prototype.getAppUrlTree=function(){return this.router.createUrlTree(this.routingPath.getApp())},e.\u0275fac=function(t){return new(t||e)(r.LFG(m.E),r.LFG(be.Q),r.LFG(u.F0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Te=n(32956),we=n(60378),Ae=n(87462),Ie=n(48987),Ce=n(78781),Ee=n(68372),Oe=n(97465),Re=n(83430),Me=n(18704),Le=n(49045),Pe=function(){function e(e,t,n,i,r,a,o,s,l){this.activatedRoute=e,this.router=t,this.titleService=n,this.tlumaczeniaInformacjeStatyczneService=i,this.tlumaczeniaEKONSULATService=r,this.tlumaczeniaFormWizaKrajowaService=a,this.tlumaczenia_FORM_WIZYTA=o,this.tlumaczeniaMapaStronyService=s,this.institutionContextService=l}return e.prototype.getLabel=function(e){switch(e){case Me.e.MAIN_PAGE_TITLE:return(0,M.of)("System Zdalnej Rejestracji");case Re.s.MAIN_PAGE:return this.tlumaczeniaMapaStronyService.StronaGlownaTytul$;case Re.s.INSTITUTION_DETAILS:return this.institutionContextService.currentInstitutionName$;case Re.s.PASSPORT_MATTERS:return this.tlumaczeniaInformacjeStatyczneService.Master_hlWizyty_2$;case Re.s.RODO:return this.tlumaczeniaEKONSULATService.GLOWNA_KlauzulaRODO$;case Re.s.REGULATIONS:return this.tlumaczeniaEKONSULATService.GLOWNA_Regulamin$;case Re.s.DECLARATION_OF_AVAILABILITY:return this.tlumaczeniaEKONSULATService.GLOWNA_DeklaracjaDostepnosci$;case Re.s.NATIONAL_VISA:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Wiza_Krajowa_Rejestracja$;case Re.s.VISA_CONFIRMATION:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Potwierdzenie_Wyslania_Formularza$;case Re.s.NATIONAL_VISA_MAIN_FORM_WITHOUT_REGISTRATION:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Wiza_Krajowa_Wypelnij_Formularz$;case Re.s.NATIONAL_VISA_WITHOUT_REGISTRATION_CONFIRMATION:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Wiza_Krajowa_Potwierdzenie_Zlozenia_Formularza$;case Re.s.SCHENGEN_VISA:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Wiza_Schengen_Rejestracja$;case Re.s.BOOKING_DATES:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Rezerwacja_Terminow$;case Re.s.RANDOM_DATES:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Terminy_Losowania$;case Re.s.MAIN_FORM:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Formularz_Glowny$;case Re.s.INITIAL_FORM:return this.tlumaczeniaMapaStronyService.RejestracjaWnioskuWiza$;case Re.s.LEGAL_MATTERS:return this.tlumaczeniaInformacjeStatyczneService.Master_hlWizyty_3$;case Re.s.SEND_INITIAL_FORM_CONFIRMATION:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Potwierdzenie_Rejestracji_Wniosku_Wizowego$;case Re.s.REGISTRATION_CONFIRMATION:return this.tlumaczeniaFormWizaKrajowaService.WS_EMAIL_AktywacjaWnioskuWstepnegoNaglowek$;case Re.s.VERIFICATION_RESULT:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Wynik_Weryfikacji_Formularza_Wstepnego$;case Re.s.CITIZENSHIP_MATTERS:return this.tlumaczeniaInformacjeStatyczneService.Master_hlWizyty_4$;case Re.s.CANCEL_VISIT:return this.tlumaczenia_FORM_WIZYTA.WZ_AnulujWizyte$;case Re.s.SMALL_BORDER_TRAFFIC:return this.tlumaczeniaInformacjeStatyczneService.Master_hlFormularzMRG$;case Re.s.MRG_FORM_WITHOUT_REGISTRATION:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_MRG_Wypelnij_Formularz$;case Re.s.MRG_REGISTRATION_CONFIRMATION:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_PotwierdzenieZlozeniaFormularzaMrg$;case Re.s.SCHENGEN_VISA_FORM_WITHOUT_REGISTRATION:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Wiza_Schengen_Wypelnij_Formularz$;case Re.s.SCHENGEN_VISA_WITHOUT_REGISTRATION_CONFIRMATION:return this.tlumaczeniaInformacjeStatyczneService.BREADCRUMBS_Wiza_Schengen_Potwierdzenie_Zlozenia_Formularza$;case Re.s.POLES_CARD:return this.tlumaczeniaInformacjeStatyczneService.Master_hlWizyty_5$}},e.\u0275fac=function(t){return new(t||e)(r.LFG(u.gz),r.LFG(u.F0),r.LFG(i.Dx),r.LFG(Te.X),r.LFG(Ie.M),r.LFG(Ce.d),r.LFG(Ee.O),r.LFG(Oe.i),r.LFG(Le.M))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Ze=n(31906),ze=n(43835),xe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breadcrumbsSource$=new k.X([]),t}return(0,a.ZT)(t,e),t.prototype.breadcrumbs=function(){return(0,Ze.T)(this.breadcrumbsSource$.asObservable(),this.breadcrumbsFromInitialization(),this.breadcrumbsFromRouterNavigation())},t.prototype.rebuild=function(){this.breadcrumbsSource$.next(this.createBreadcrumbs(this.activatedRoute))},t.prototype.breadcrumbsFromInitialization=function(){return(0,M.of)(this.createBreadcrumbs(this.activatedRoute))},t.prototype.breadcrumbsFromRouterNavigation=function(){var e=this;return this.router.events.pipe((0,ze.h)(function(e){return e instanceof u.m2}),(0,v.U)(function(){return e.createBreadcrumbs(e.activatedRoute)}))},t.prototype.createBreadcrumbs=function(e,t,n){var i=this;void 0===t&&(t=""),void 0===n&&(n=[]);var r=e.children;return 0===r.length||r.forEach(function(e){var r=e.snapshot.url.map(function(e){return e.path}).join("/");""!==r&&(t+="/"+r);var a=e.snapshot.data[Ae.s];return a&&n.push({label:i.getLabel(a),url:t}),i.createBreadcrumbs(e,t,n)}),n},t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(Pe),Ne=function(e){return e.FOOTER="footer",e.MAIN_CONTENT="main-content",e.MENU="menu",e}({}),De=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.titleSegmentsSource$=new k.X([]),t}return(0,a.ZT)(t,e),t.prototype.setTitle=function(e){var t=this,n=[];e.forEach(function(e){e.subscribe(function(e){n.unshift(e),t.titleService.setTitle(n.join(" | "))})})},t.prototype.title=function(){return(0,Ze.T)(this.titleSegmentsSource$.asObservable(),this.titleFromInitialization(),this.titleFromRouterNavigation())},t.prototype.titleFromInitialization=function(){return(0,M.of)(this.createTitle(this.activatedRoute))},t.prototype.titleFromRouterNavigation=function(){var e=this;return this.router.events.pipe((0,ze.h)(function(e){return e instanceof u.m2}),(0,v.U)(function(){return e.createTitle(e.activatedRoute)}))},t.prototype.createTitle=function(e,t,n){var i=this;void 0===t&&(t=""),void 0===n&&(n=[]);var r=e.children;return 0===r.length||r.forEach(function(e){var r=e.snapshot.url.map(function(e){return e.path}).join("/");""!==r&&(t+="/"+r);var a=e.snapshot.data[Ae.R];return a&&n.push(i.getLabel(a)),i.createTitle(e,t,n)}),n},t.\u0275fac=function(){var e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(Pe),Fe=n(87570),We=n(20171),je=n(36830),Ge=n(54568),$e=n(71357),Be=n(97388),Ve=n(99235),He=n(92709),Ue=n(25416),Ye=n(48569);function Ke(e){return e instanceof Date&&!isNaN(+e)}var qe=n(96673),Xe=n(3103);function Qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ye.P,n=Ke(e),i=n?+e-t.now():Math.abs(e);return function(e){return e.lift(new Je(i,t))}}var Je=function(){function e(t,n){(0,A.Z)(this,e),this.delay=t,this.scheduler=n}return(0,I.Z)(e,[{key:"call",value:function(e,t){return t.subscribe(new et(e,this.delay,this.scheduler))}}]),e}(),et=function(e){(0,ee.Z)(n,e);var t=(0,te.Z)(n);function n(e,i,r){var a;return(0,A.Z)(this,n),(a=t.call(this,e)).delay=i,a.scheduler=r,a.queue=[],a.active=!1,a.errored=!1,a}return(0,I.Z)(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new tt(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(Xe.P.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(Xe.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-i.now());this.schedule(e,a)}else this.unsubscribe(),t.active=!1}}]),n}(qe.L),tt=function e(t,n){(0,A.Z)(this,e),this.time=t,this.notification=n},nt=n(99713),it=n(82151),rt=n(35333),at=n(15693),ot=n(94720),st=["mat-menu-item",""],lt=["*"];function ut(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",0),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw()._handleKeydown(e)})("click",function(){return r.CHM(n),r.oxw().closed.emit("click")})("@transformMenu.start",function(e){return r.CHM(n),r.oxw()._onAnimationStart(e)})("@transformMenu.done",function(e){return r.CHM(n),r.oxw()._onAnimationDone(e)}),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.qZA()}if(2&e){var i=r.oxw();r.Q6J("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),r.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var ct={transformMenu:(0,nt.X$)("transformMenu",[(0,nt.SB)("void",(0,nt.oB)({opacity:0,transform:"scale(0.8)"})),(0,nt.eR)("void => enter",(0,nt.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,nt.oB)({opacity:1,transform:"scale(1)"}))),(0,nt.eR)("* => void",(0,nt.jt)("100ms 25ms linear",(0,nt.oB)({opacity:0})))]),fadeInItems:(0,nt.X$)("fadeInItems",[(0,nt.SB)("showing",(0,nt.oB)({opacity:1})),(0,nt.eR)("void => *",[(0,nt.oB)({opacity:0}),(0,nt.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ht=new r.OlP("MatMenuContent"),ft=new r.OlP("MAT_MENU_PANEL"),dt=(0,ne.Kr)((0,ne.Id)(function e(){(0,A.Z)(this,e)})),pt=function(){var e=function(e){(0,ee.Z)(n,e);var t=(0,te.Z)(n);function n(e,i,r,a){var o;return(0,A.Z)(this,n),(o=t.call(this))._elementRef=e,o._focusMonitor=r,o._parentMenu=a,o.role="menuitem",o._hovered=new R.xQ,o._focused=new R.xQ,o._highlighted=!1,o._triggersSubmenu=!1,a&&a.addItem&&a.addItem((0,$e.Z)(o)),o}return(0,I.Z)(n,[{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var e,t,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe((0,z.q)(1)).subscribe(function(){return e._focusFirstItem(t)}):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t=Math.min(4+e,24),n="mat-elevation-z".concat(t),i=Object.keys(this._classList).find(function(e){return e.startsWith("mat-elevation-z")});i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe((0,N.O)(this._allItems)).subscribe(function(t){e._directDescendantItems.reset(t.filter(function(t){return t._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(vt))},e.\u0275dir=r.lG2({type:e,contentQueries:function(e,t,n){var i;1&e&&(r.Suo(n,ht,5),r.Suo(n,pt,5),r.Suo(n,pt,4)),2&e&&(r.iGM(i=r.CRH())&&(t.lazyContent=i.first),r.iGM(i=r.CRH())&&(t._allItems=i),r.iGM(i=r.CRH())&&(t.items=i))},viewQuery:function(e,t){var n;1&e&&r.Gf(r.Rgc,5),2&e&&r.iGM(n=r.CRH())&&(t.templateRef=n.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),yt=function(){var e=function(e){(0,ee.Z)(n,e);var t=(0,te.Z)(n);function n(e,i,r){return(0,A.Z)(this,n),t.call(this,e,i,r)}return n}(mt);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(vt))},e.\u0275cmp=r.Xpm({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&r.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[r._Bn([{provide:ft,useExisting:e}]),r.qOj],ngContentSelectors:lt,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(r.F$t(),r.YNc(0,ut,3,6,"ng-template"))},directives:[O.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:[ct.transformMenu,ct.fadeInItems]},changeDetection:0}),e}(),_t=new r.OlP("mat-menu-scroll-strategy"),bt={provide:_t,deps:[rt.aV],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},St=(0,re.i$)({passive:!0}),kt=function(){var e=function(){function e(t,n,i,a,o,s,l,u){var c=this;(0,A.Z)(this,e),this._overlay=t,this._element=n,this._viewContainerRef=i,this._menuItemInstance=s,this._dir=l,this._focusMonitor=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Fe.w.EMPTY,this._hoverSubscription=Fe.w.EMPTY,this._menuCloseSubscription=Fe.w.EMPTY,this._handleTouchStart=function(e){(0,Be.yG)(e)||(c._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new r.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=o instanceof mt?o:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,St),s&&(s._triggersSubmenu=this.triggersSubmenu())}return(0,I.Z)(e,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(e){t._destroyMenu(e),"click"!==e&&"tab"!==e||!t._parentMaterialMenu||t._parentMaterialMenu.closed.emit(e)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,St),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof mt&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"updatePosition",value:function(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}},{key:"_destroyMenu",value:function(e){var t=this;if(this._overlayRef&&this.menuOpen){var n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,n instanceof mt?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe((0,ze.h)(function(e){return"void"===e.toState}),(0,z.q)(1),(0,Ue.R)(n.lazyContent._attached)).subscribe({next:function(){return n.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new rt.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(e){var t=(0,Ge.Z)("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=t[0],i=t[1],r=(0,Ge.Z)("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),a=r[0],o=r[1],s=a,l=o,u=n,c=i,h=0;this.triggersSubmenu()?(c=n="before"===this.menu.xPosition?"start":"end",i=u="end"===n?"start":"end",h="bottom"===a?8:-8):this.menu.overlapTrigger||(s="top"===a?"bottom":"top",l="top"===o?"bottom":"top"),e.withPositions([{originX:n,originY:s,overlayX:u,overlayY:a,offsetY:h},{originX:i,originY:s,overlayX:c,overlayY:a,offsetY:h},{originX:n,originY:l,overlayX:u,overlayY:o,offsetY:-h},{originX:i,originY:l,overlayX:c,overlayY:o,offsetY:-h}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,M.of)(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,ze.h)(function(t){return t!==e._menuItemInstance}),(0,ze.h)(function(){return e._menuOpen})):(0,M.of)();return(0,Ze.T)(t,i,r,n)}},{key:"_handleMousedown",value:function(e){(0,Be.X6)(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;t!==Ve.K5&&t!==Ve.L_||(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===Ve.SV&&"ltr"===this.dir||t===Ve.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,ze.h)(function(t){return t===e._menuItemInstance&&!t.disabled}),Qe(0,He.E)).subscribe(function(){e._openedBy="mouse",e.menu instanceof mt&&e.menu._isAnimating?e.menu._animationDone.pipe((0,z.q)(1),Qe(0,He.E),(0,Ue.R)(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new it.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(rt.aV),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(_t),r.Y36(ft,8),r.Y36(pt,10),r.Y36(ot.Is,8),r.Y36(Be.tE))},e.\u0275dir=r.lG2({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&r.NdJ("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&r.uIk("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),Tt=function(){var e=function e(){(0,A.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[bt],imports:[ne.BQ]}),e}(),wt=function(){var e=function e(){(0,A.Z)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[bt],imports:[[O.ez,ne.BQ,ne.si,rt.U8,Tt],at.ZD,ne.BQ,Tt]}),e}(),At=n(90554),It=n(95564),Ct=n(24311),Et=function(){function e(e,t){this.tlumaczeniaEKONSULATService=e,this.tlumaczeniaInformacjeStatyczneService=t,this.fontSizeClick=new r.vpe,this.brightnessClick=new r.vpe,this.intervalClick=new r.vpe,this.accessibilityClick=new r.vpe,this.texts=It.c}return e.prototype.handleFontSizeClick=function(){this.fontSizeClick.emit()},e.prototype.handleBrightnessClick=function(){this.brightnessClick.emit()},e.prototype.handleIntervalClick=function(){this.intervalClick.emit()},e.prototype.onButtonMouseEnter=function(e){e&&e.message&&(0,At.P)(e.message)},e.\u0275fac=function(t){return new(t||e)(r.Y36(Ie.M),r.Y36(Te.X))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-wcag-buttons"]],outputs:{fontSizeClick:"fontSizeClick",brightnessClick:"brightnessClick",intervalClick:"intervalClick",accessibilityClick:"accessibilityClick"},decls:16,vars:18,consts:[[1,"wcag-buttons"],["mat-button","",3,"matTooltip","click","mouseenter"],["fontSizeTooltip","matTooltip"],["src","../../../../assets/images/icons/font-size.svg",1,"wcag-buttons__image",3,"alt"],["contrastTooltip","matTooltip"],["src","../../../../assets/images/icons/contrast.svg",1,"wcag-buttons__image",3,"alt"],["intervalTooltip","matTooltip"],["src","../../../../assets/images/icons/letter-space.svg",1,"wcag-buttons__image",3,"alt"]],template:function(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",0),r.TgZ(1,"button",1,2),r.NdJ("click",function(){return t.handleFontSizeClick()})("mouseenter",function(){r.CHM(n);var e=r.MAs(2);return t.onButtonMouseEnter(e)}),r.ALo(3,"async"),r._UZ(4,"img",3),r.ALo(5,"async"),r.qZA(),r.TgZ(6,"button",1,4),r.NdJ("click",function(){return t.handleBrightnessClick()})("mouseenter",function(){r.CHM(n);var e=r.MAs(7);return t.onButtonMouseEnter(e)}),r.ALo(8,"async"),r._UZ(9,"img",5),r.ALo(10,"async"),r.qZA(),r.TgZ(11,"button",1,6),r.NdJ("click",function(){return t.handleIntervalClick()})("mouseenter",function(){r.CHM(n);var e=r.MAs(12);return t.onButtonMouseEnter(e)}),r.ALo(13,"async"),r._UZ(14,"img",7),r.ALo(15,"async"),r.qZA(),r.qZA()}2&e&&(r.xp6(1),r.Q6J("matTooltip",r.lcZ(3,6,t.tlumaczeniaEKONSULATService.GLOWNA_Czcionka$)||t.texts.fontSizeTooltip),r.xp6(3),r.Q6J("alt",r.lcZ(5,8,t.tlumaczeniaEKONSULATService.GLOWNA_Czcionka$)||t.texts.fontSizeTooltip),r.xp6(2),r.Q6J("matTooltip",r.lcZ(8,10,t.tlumaczeniaEKONSULATService.GLOWNA_Kontrast$)||t.texts.contrastTooltip),r.xp6(3),r.Q6J("alt",r.lcZ(10,12,t.tlumaczeniaEKONSULATService.GLOWNA_Kontrast$)||t.texts.contrastTooltip),r.xp6(2),r.Q6J("matTooltip",r.lcZ(13,14,t.tlumaczeniaInformacjeStatyczneService.GLOWNA_Odstepy$)),r.xp6(3),r.Q6J("alt",r.lcZ(15,16,t.tlumaczeniaInformacjeStatyczneService.GLOWNA_Odstepy$)))},directives:[X.lW,Ct.gM],pipes:[O.Ov],styles:[".wcag-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:.25rem}.wcag-buttons[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .wcag-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:0;margin-bottom:.25rem;padding:0}@media (min-width:992px){.wcag-buttons[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .wcag-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:2.5rem;height:2.5rem;margin-right:2.5rem;margin-bottom:0}}.wcag-buttons__image[_ngcontent-%COMP%]{width:1.5rem;height:100%}@media (min-width:992px){.wcag-buttons__image[_ngcontent-%COMP%]{width:2.5rem}.wcag-buttons[_ngcontent-%COMP%]{display:block}}"]}),e}(),Ot=n(77307);function Rt(e,t){1&e&&(r.ynx(0),r.TgZ(1,"mat-icon",8),r._uU(2,"home"),r.qZA(),r.BQk())}function Mt(e,t){1&e&&(r.TgZ(0,"span",9),r._uU(1,">"),r.qZA())}function Lt(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Rt,3,0,"ng-container",5),r.TgZ(2,"a",6),r._uU(3),r.ALo(4,"async"),r.qZA(),r.YNc(5,Mt,2,0,"span",7),r.BQk()),2&e){var n=r.oxw(),i=n.index,a=n.$implicit,o=r.oxw();r.xp6(1),r.Q6J("ngIf",!i),r.xp6(1),r.Q6J("routerLink",a.url),r.uIk("aria-current",i===o.breadcrumbs.length-1?"step":null),r.xp6(1),r.hij(" ",r.lcZ(4,5,a.label)," "),r.xp6(2),r.Q6J("ngIf",o.breadcrumbs.length-1!==i)}}function Pt(e,t){1&e&&(r.ynx(0),r.TgZ(1,"mat-icon"),r._uU(2,"home"),r.qZA(),r.BQk())}function Zt(e,t){1&e&&(r.TgZ(0,"span",9),r._uU(1,">"),r.qZA())}function zt(e,t){if(1&e&&(r.YNc(0,Pt,3,0,"ng-container",5),r.TgZ(1,"span"),r._uU(2),r.ALo(3,"async"),r.qZA(),r.YNc(4,Zt,2,0,"span",7)),2&e){var n=r.oxw(),i=n.index,a=n.$implicit,o=r.oxw();r.Q6J("ngIf",!i),r.xp6(1),r.uIk("aria-current",i===o.breadcrumbs.length-1?"step":null),r.xp6(1),r.Oqu(r.lcZ(3,4,a.label)),r.xp6(2),r.Q6J("ngIf",o.breadcrumbs.length-1!==i)}}function xt(e,t){if(1&e&&(r.TgZ(0,"li",2),r.YNc(1,Lt,6,7,"ng-container",3),r.YNc(2,zt,5,6,"ng-template",null,4,r.W1O),r.qZA()),2&e){var n=t.$implicit,i=r.MAs(3),a=r.oxw();r.xp6(1),r.Q6J("ngIf",n!==a.lastBreadcrumb)("ngIfElse",i)}}var Nt=function(){function e(){}return Object.defineProperty(e.prototype,"lastBreadcrumb",{get:function(){return this.breadcrumbs[this.breadcrumbs.length-1]},enumerable:!1,configurable:!0}),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-breadcrumbs"]],inputs:{breadcrumbs:"breadcrumbs"},decls:3,vars:1,consts:[[1,"breadcrumbs"],["class","breadcrumbs__item",4,"ngFor","ngForOf"],[1,"breadcrumbs__item"],[4,"ngIf","ngIfElse"],["active",""],[4,"ngIf"],[3,"routerLink"],["aria-hidden","true","class","separator",4,"ngIf"],[1,"link-icon"],["aria-hidden","true",1,"separator"]],template:function(e,t){1&e&&(r.TgZ(0,"nav"),r.TgZ(1,"ol",0),r.YNc(2,xt,4,2,"li",1),r.qZA(),r.qZA()),2&e&&(r.xp6(2),r.Q6J("ngForOf",t.breadcrumbs))},directives:[O.sg,O.O5,u.yS,Ot.Hw],pipes:[O.Ov],styles:[".breadcrumbs[_ngcontent-%COMP%]{padding:.25rem 0;list-style:none;display:flex;flex-direction:row;margin-bottom:0;flex-wrap:wrap;align-items:center}.breadcrumbs__item[_ngcontent-%COMP%], .breadcrumbs__item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:.875rem;line-height:1rem;display:flex;align-items:center;margin:2px;padding:0}.breadcrumbs__item[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]:not(.link-icon), .breadcrumbs__item[_ngcontent-%COMP%] a[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]:not(.link-icon), .breadcrumbs__item[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .breadcrumbs__item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#1b1b1b}.breadcrumbs__item[_ngcontent-%COMP%]:focus, .breadcrumbs__item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus{border:none;outline:2px solid #000}.breadcrumbs__item[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%], .breadcrumbs__item[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem;color:#1b1b1b}"]}),e}(),Dt=n(68679),Ft=n(91939);function Wt(e,t){if(1&e&&(r._UZ(0,"span",12),r.ALo(1,"blockSanitizer"),r.ALo(2,"blockSanitizer")),2&e){var n=r.oxw(3).$implicit,i=r.oxw();r.Q6J("innerHTML",i.router.isActive(n.routerLink.join("/").substring(1),!1)?r.xi3(1,1,n.activeLinkIconSource,"html"):r.xi3(2,4,n.iconSource,"html"),r.oJD)}}function jt(e,t){if(1&e&&(r._UZ(0,"span",13),r.ALo(1,"blockSanitizer"),r.ALo(2,"blockSanitizer")),2&e){var n=r.oxw(3).$implicit,i=r.oxw();r.Q6J("innerHTML",i.router.isActive(n.routerLink.join("/").substring(1),!1)?r.xi3(1,1,n.iconSourceContrast,"html"):r.xi3(2,4,n.activeLinkIconSource,"html"),r.oJD)}}function Gt(e,t){if(1&e&&(r.ynx(0),r._uU(1),r.ALo(2,"async"),r.BQk()),2&e){var n=t.$implicit;r.xp6(1),r.hij(" ",r.lcZ(2,1,n),"\xa0 ")}}function $t(e,t){if(1&e){var n=r.EpF();r.ynx(0),r.TgZ(1,"a",8),r.NdJ("click",function(){r.CHM(n);var e=r.oxw(2).$implicit;return r.oxw().selectedRoute=e.routerLink})("keydown.enter",function(){r.CHM(n);var e=r.oxw(2).$implicit;return r.oxw().selectedRoute=e.routerLink})("keydown.shift.tab",function(e){return e.stopPropagation()})("keydown.tab",function(e){return e.stopPropagation()}),r.TgZ(2,"span"),r.YNc(3,Wt,3,7,"span",9),r.YNc(4,jt,3,7,"span",10),r.TgZ(5,"span",11),r.YNc(6,Gt,3,3,"ng-container",3),r.qZA(),r.qZA(),r.qZA(),r.BQk()}if(2&e){var i=r.oxw(2).$implicit;r.xp6(1),r.Q6J("routerLink",i.routerLink),r.xp6(2),r.Q6J("ngIf",!!i.iconSource&&!!i.activeLinkIconSource),r.xp6(1),r.Q6J("ngIf",!!i.iconSourceContrast&&!!i.activeLinkIconSource),r.xp6(2),r.Q6J("ngForOf",i.labels)}}function Bt(e,t){1&e&&(r.ynx(0),r._UZ(1,"app-divider"),r.BQk())}function Vt(e,t){if(1&e&&(r.ynx(0),r.TgZ(1,"span",17),r._uU(2),r.ALo(3,"async"),r.qZA(),r.BQk()),2&e){var n=t.$implicit;r.xp6(2),r.hij("",r.lcZ(3,1,n),"\xa0")}}var Ht=function(e){return{"mt-16":e}};function Ut(e,t){if(1&e&&(r.TgZ(0,"div",14),r.YNc(1,Bt,2,0,"ng-container",15),r.TgZ(2,"span",16),r.YNc(3,Vt,4,3,"ng-container",3),r.qZA(),r.qZA()),2&e){var n=r.oxw(2).$implicit;r.xp6(1),r.Q6J("ngIf",n.hasDivider),r.xp6(1),r.Tol(r.VKq(4,Ht,n.hasDivider)),r.xp6(1),r.Q6J("ngForOf",n.labels)}}function Yt(e,t){if(1&e&&(r.TgZ(0,"li",5),r.YNc(1,$t,7,4,"ng-container",6),r.YNc(2,Ut,4,6,"ng-template",null,7,r.W1O),r.qZA()),2&e){var n=r.MAs(3),i=r.oxw().$implicit;r.xp6(1),r.Q6J("ngIf",i.routerLink||i.url)("ngIfElse",n)}}function Kt(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Yt,4,2,"li",4),r.ALo(2,"async"),r.BQk()),2&e){var n=t.$implicit;r.xp6(1),r.Q6J("ngIf",r.lcZ(2,1,n.isVisible))}}var qt=function(){function e(e,t){this.router=e,this.tlumaczeniaInformacjeStatyczneService=t}return e.\u0275fac=function(t){return new(t||e)(r.Y36(u.F0),r.Y36(Te.X))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-sidebar"]],inputs:{menu:"menu"},decls:4,vars:1,consts:[[1,"home-layout__sidebar"],["role","application",1,"sidebar__nav"],["id","menu","role","menu",1,"sidebar__nav-list","list"],[4,"ngFor","ngForOf"],["role","menuitem",4,"ngIf"],["role","menuitem"],[4,"ngIf","ngIfElse"],["simpleLabel",""],["routerLinkActive","active",1,"sidebar__nav-link",3,"routerLink","click","keydown.enter","keydown.shift.tab","keydown.tab"],["aria-hidden","true","class","sidebar__nav-icon",3,"innerHTML",4,"ngIf"],["aria-hidden","true","class","sidebar__nav-icon-contrast",3,"innerHTML",4,"ngIf"],[1,"font-size-14"],["aria-hidden","true",1,"sidebar__nav-icon",3,"innerHTML"],["aria-hidden","true",1,"sidebar__nav-icon-contrast",3,"innerHTML"],[1,"d-flex","flex-column","w-100","px-16"],[4,"ngIf"],[1,"font-weight-bold"],[1,"sidebar__nav-link","static-label"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"ul",2),r.YNc(3,Kt,3,3,"ng-container",3),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(3),r.Q6J("ngForOf",t.menu))},directives:[O.sg,O.O5,u.yS,u.Od,Dt.X],pipes:[O.Ov,Ft.s],styles:[".sidebar__nav[_ngcontent-%COMP%]{width:100%;height:100%;padding-top:0;padding-bottom:0;padding-left:1rem;margin-top:0;display:flex;flex-direction:column}.sidebar__nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:0}@media (min-width:992px){.sidebar__nav[_ngcontent-%COMP%]{width:268px;padding-left:0}}.sidebar__nav-list[_ngcontent-%COMP%]{padding:0;list-style:none}.sidebar__nav-icon[_ngcontent-%COMP%], .sidebar__nav-icon-contrast[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}.sidebar__nav-link[_ngcontent-%COMP%]{text-decoration:none;display:flex;width:100%;flex-direction:row;padding:.25rem .75rem;font-size:1rem}.sidebar__nav-link[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{padding:.25rem}.sidebar__nav-link[_ngcontent-%COMP%]:focus{border:none;outline:none}.sidebar__nav-link[_ngcontent-%COMP%]:focus > span[_ngcontent-%COMP%]{border-width:.125rem;border-style:solid;border-radius:.3125rem}"]}),e}(),Xt=n(36395),Qt=function(){function e(e,t){this.tlumaczeniaInformacjeStatyczneService=e,this.reservationDataContextService=t}return e.\u0275fac=function(t){return new(t||e)(r.Y36(Te.X),r.Y36(Xt.D))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-countdown-timer"]],decls:8,vars:9,consts:[[1,"timer"],[1,"timer__label"],[1,"timer__countdown"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r._uU(2),r.ALo(3,"async"),r.qZA(),r.TgZ(4,"div",2),r._uU(5),r.ALo(6,"date"),r.ALo(7,"async"),r.qZA(),r.qZA()),2&e&&(r.xp6(2),r.hij("",r.lcZ(3,2,t.tlumaczeniaInformacjeStatyczneService.Rezerwacja_PozostalyCzas$),":\xa0"),r.xp6(3),r.Oqu(r.xi3(6,4,r.lcZ(7,7,t.reservationDataContextService.timeLeftDate$),"mm:ss")))},pipes:[O.Ov,O.uU],styles:[".timer[_ngcontent-%COMP%]{display:flex;align-items:center}.timer__label[_ngcontent-%COMP%]{color:#333;display:none}@media (min-width:992px){.timer__label[_ngcontent-%COMP%]{display:flex}}.timer__countdown[_ngcontent-%COMP%]{margin-left:2rem;font-size:1rem;font-weight:700;padding:4px 8px;border:1px solid #ccc}"]}),e}(),Jt=n(89474),en=n(2444),tn=n(94571),nn=n(90281),rn=function(){function e(e,t,n){this.dialogRef=e,this.data=t,this.tlumaczeniaInformacjeStatyczneService=n,this.form=new s.cw({})}return e.prototype.onRadioChange=function(e){this.languageId=e.value},e.prototype.saveLanguage=function(){this.languageId||(this.languageId=this.data.control.value),this.dialogRef.close(this.languageId)},e.\u0275fac=function(t){return new(t||e)(r.Y36(q.so),r.Y36(q.WI),r.Y36(Te.X))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-language-select-dialog"]],decls:11,vars:13,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"formGroup"],[3,"ngClass","optionLabelFn","optionValueFn","options","control","change"],["mat-dialog-actions",""],[1,"d-flex","justify-content-center","w-100"],["mat-button","","cdkFocusInitial","",1,"mat-primary","round",3,"mat-dialog-close","click","keydown.enter"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r._uU(1),r.ALo(2,"async"),r.qZA(),r.TgZ(3,"div",1),r.TgZ(4,"form",2),r.TgZ(5,"app-radio-control",3),r.NdJ("change",function(e){return t.onRadioChange(e)}),r.qZA(),r.qZA(),r.qZA(),r.TgZ(6,"div",4),r.TgZ(7,"div",5),r.TgZ(8,"button",6),r.NdJ("click",function(){return t.saveLanguage()})("keydown.enter",function(){return t.saveLanguage()}),r._uU(9),r.ALo(10,"async"),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(1),r.Oqu(r.lcZ(2,9,t.data.label)),r.xp6(3),r.Q6J("formGroup",t.form),r.xp6(1),r.Q6J("ngClass",t.data.cssClass)("optionLabelFn",t.data.optionLabelFn)("optionValueFn",t.data.optionValueFn)("options",t.data.options)("control",t.data.control),r.xp6(3),r.Q6J("mat-dialog-close",t.languageId),r.xp6(1),r.hij(" ",r.lcZ(10,11,t.tlumaczeniaInformacjeStatyczneService.Formularz2_cmdZakoncz$)," "))},directives:[q.uh,q.xY,s._Y,s.JL,s.sg,nn.K,O.mk,q.H8,X.lW,q.ZT],pipes:[O.Ov],styles:[""]}),e}(),an=n(8010),on=n(18409),sn=function(){function e(){}return e.prototype.detectMobile=function(){return window.innerWidth<992},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}(),ln=n(30066);function un(e,t){if(1&e&&(r.TgZ(0,"div",6),r.TgZ(1,"div"),r._uU(2),r.ALo(3,"async"),r.qZA(),r.qZA()),2&e){var n=r.oxw(2);r.xp6(2),r.Oqu(r.lcZ(3,1,n.definition.label))}}function cn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",2),r.TgZ(1,"div",3),r.YNc(2,un,4,3,"div",4),r.TgZ(3,"div"),r.TgZ(4,"app-select-control",5),r.NdJ("selectionChange",function(e){return r.CHM(n),r.oxw().onSelectionChange(e)}),r.qZA(),r.qZA(),r.qZA(),r.qZA()}if(2&e){var i=r.oxw();r.xp6(2),r.Q6J("ngIf",i.definition.label),r.xp6(2),r.Q6J("ngClass",i.definition.cssClass)("options",i.definition.options)("control",i.definition.control)("optionLabelFn",i.definition.optionLabelFn)("optionValueFn",i.definition.optionValueFn)("ariaLabel",i.definition.label)}}function hn(e,t){if(1&e){var n=r.EpF();r.ynx(0),r.TgZ(1,"button",7),r.NdJ("click",function(){return r.CHM(n),r.oxw().showDialog()}),r.ALo(2,"async"),r.TgZ(3,"mat-icon"),r._uU(4,"language"),r.qZA(),r.qZA(),r.BQk()}if(2&e){var i=r.oxw();r.xp6(1),r.uIk("aria-label",r.lcZ(2,1,i.tlumaczenia_EKONSULAT.GLOWNA_WersjaJezykowa$))}}var fn=function(){function e(e,t,n,i,r,a,o,s,l,u){this.tlumaczenia_EKONSULAT=e,this.dialog=t,this.formBuilder=n,this.languageIdContext=i,this.languageService=r,this.translateApiService=a,this.translateService=o,this.deviceDetectService=s,this.routingPath=l,this.router=u,this.isMobileView=!1,this.subscriptions=new Fe.w}return e.prototype.ngOnInit=function(){var e=this;this.getScreenSize(),this.subscriptions.add(this.languageIdContext.currentLanguageId$.pipe((0,z.q)(1)).subscribe(function(t){return e.buildLanguageSelect(t)}))},e.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},e.prototype.onSelectionChange=function(e){var t=Number(e.value);this.setNewLanguage(t)},e.prototype.showDialog=function(){var e=this,t=this.dialog.open(rn,{width:"250px",data:this.definition});this.subscriptions.add(t.afterClosed().subscribe(function(t){t&&e.setNewLanguage(t)}))},e.prototype.buildLanguageSelect=function(e){this.definition={type:Jt.y.SELECT,label:this.tlumaczenia_EKONSULAT.GLOWNA_WersjaJezykowa$,control:this.formBuilder.control(e),options:this.prepareSelectOptions(),optionLabelFn:function(e){return e.description},optionValueFn:function(e){return e.value.id}}},e.prototype.prepareSelectOptions=function(){return this.languageService.languages.map(function(e){return{description:e.nazwa,value:e}})},e.prototype.setNewLanguage=function(e){var t=this;this.translateApiService.getTranslateByCodesList(e,en.k).subscribe(function(n){t.languageIdContext.setContext(e),t.translateService.addAllTranslates(e,n),window.hcaptcha=void 0,t.navigateToApp()})},e.prototype.getScreenSize=function(){this.isMobileView=this.deviceDetectService.detectMobile()},e.prototype.navigateToApp=function(){this.router.navigate(this.routingPath.getApp())},e.\u0275fac=function(t){return new(t||e)(r.Y36(Ie.M),r.Y36(q.uw),r.Y36(s.qu),r.Y36(an.X),r.Y36(on.T),r.Y36(_._),r.Y36(tn.s),r.Y36(sn),r.Y36(be.Q),r.Y36(u.F0))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-language-select"]],hostBindings:function(e,t){1&e&&r.NdJ("resize",function(e){return t.getScreenSize(e)},!1,r.Jf7)},decls:2,vars:2,consts:[["class","language-select",4,"ngIf"],[4,"ngIf"],[1,"language-select"],[1,"d-flex","select-language"],["class","d-none d-lg-flex flex-column justify-content-center me-8 select-language__label",4,"ngIf"],[3,"ngClass","options","control","optionLabelFn","optionValueFn","ariaLabel","selectionChange"],[1,"d-none","d-lg-flex","flex-column","justify-content-center","me-8","select-language__label"],["mat-button","",1,"language-btn",3,"click"]],template:function(e,t){1&e&&(r.YNc(0,cn,5,7,"div",0),r.YNc(1,hn,5,3,"ng-container",1)),2&e&&(r.Q6J("ngIf",t.definition&&!t.isMobileView),r.xp6(1),r.Q6J("ngIf",t.isMobileView))},directives:[O.O5,ln.Z,O.mk,X.lW,Ot.Hw],pipes:[O.Ov],styles:[".select-language__label[_ngcontent-%COMP%]{color:#1b1b1b}.language-select[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0}.language-select[_ngcontent-%COMP%] .mat-form-field-wrapper .mat-form-field-subscript-wrapper{margin-top:0}.language-select[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-infix{padding:.25rem 0;border-top-width:.5rem}.language-select[_ngcontent-%COMP%] .mat-form-field-appearance-outline div.mat-select-arrow-wrapper{transform:translateY(-5%)}.language-select[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-outline-end, .language-select[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-outline-gap, .language-select[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:0!important}button.language-btn.mat-button[_ngcontent-%COMP%]{padding:.75rem}button.language-btn.mat-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;font-size:1.5rem}"]}),e}();function dn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",14),r.TgZ(1,"div",15),r.TgZ(2,"button",16),r.NdJ("click",function(){return r.CHM(n),r.oxw().onMenuOpen()})("kepress.enter",function(){return r.CHM(n),r.oxw().onMenuOpen()}),r.ALo(3,"async"),r._UZ(4,"span",17),r.qZA(),r.TgZ(5,"mat-menu",18,19),r._UZ(7,"app-sidebar",20),r.qZA(),r.qZA(),r.TgZ(8,"div",21),r._UZ(9,"span",17),r.TgZ(10,"span",22),r._uU(11),r.ALo(12,"async"),r.qZA(),r.qZA(),r.qZA()}if(2&e){var i=r.MAs(6),a=r.oxw();r.xp6(2),r.Q6J("matMenuTriggerFor",i),r.uIk("aria-label",r.lcZ(3,4,a.tlumaczeniaEKONSULATService.GLOWNA_Menu$)||"Menu"),r.xp6(5),r.Q6J("menu",a.hamburgerMenu),r.xp6(4),r.Oqu(r.lcZ(12,6,a.tlumaczeniaInformacjeStatyczneService.Menu_Uslug$))}}function pn(e,t){1&e&&(r.TgZ(0,"div"),r._UZ(1,"app-countdown-timer"),r.qZA())}function vn(e,t){1&e&&(r.TgZ(0,"div",23),r._UZ(1,"app-language-select"),r.qZA())}var gn=function(e){return{"menu-width-margin":e}},mn=function(){function e(e,t,n,i,r,a){this.changeStylesService=e,this.routingPathService=t,this.router=n,this.tlumaczeniaEKONSULATService=i,this.tlumaczeniaInformacjeStatyczneService=r,this.elementRef=a}return Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this.elementRef.nativeElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientHeight",{get:function(){return this.nativeElement.getBoundingClientRect().height},enumerable:!1,configurable:!0}),e.prototype.appUrl=function(){return this.routingPathService.getApp()},e.prototype.handleFontSizeClick=function(){this.changeStylesService.changeFontSize()},e.prototype.handleBrightnessClick=function(){this.changeStylesService.changeTheme()},e.prototype.handleIntervalClick=function(){this.changeStylesService.changeInterval()},e.prototype.handleAccessibilityClick=function(){this.router.navigate(this.routingPathService.getWcag())},e.prototype.onMenuOpen=function(){setTimeout(function(){var e=document.querySelector(".mat-menu-content #"+Ne.MENU+" a");e&&e.focus()},500)},e.prototype.setFocus=function(e,t){e&&e.altKey&&e.shiftKey&&"Digit1"===e.code&&t.focus()},e.\u0275fac=function(t){return new(t||e)(r.Y36(je.F),r.Y36(be.Q),r.Y36(u.F0),r.Y36(Ie.M),r.Y36(Te.X),r.Y36(r.SBq))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-home-layout-header"]],viewQuery:function(e,t){var n;1&e&&r.Gf(kt,5),2&e&&r.iGM(n=r.CRH())&&(t.sidebarMenu=n.first)},inputs:{breadcrumbs:"breadcrumbs",hamburgerMenu:"hamburgerMenu",canChangeLanguage:"canChangeLanguage",canShowMenu:"canShowMenu",canShowTimer:"canShowTimer",herbSrc:"herbSrc"},decls:21,vars:21,consts:[[1,"header"],[1,"top-bar"],[1,"top-bar__govpl"],[3,"src","alt"],[1,"w-100","d-flex","justify-content-between"],[1,"top-bar__title"],[1,"d-flex","align-items-center"],["isAuthorized","false",3,"fontSizeClick","brightnessClick","intervalClick","accessibilityClick"],[1,"yellow-bar"],["class","menu-top-bar",4,"ngIf"],[1,"header-info"],[3,"breadcrumbs"],[4,"ngIf"],["class","language-select-container",4,"ngIf"],[1,"menu-top-bar"],[1,"d-lg-none","me-8"],["mat-button","",1,"hamburger-btn",3,"matMenuTriggerFor","click","kepress.enter"],[1,"menu-icon"],["xPosition","before",1,"hamburger-menu-panel"],["sidebarMenu","matMenu"],[3,"menu"],[1,"menu-icon-wrapper"],[1,"ms-8"],[1,"language-select-container"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r._UZ(3,"img",3),r.ALo(4,"async"),r.qZA(),r.TgZ(5,"div",4),r.TgZ(6,"div",5),r._uU(7),r.ALo(8,"async"),r.qZA(),r.TgZ(9,"div",6),r.TgZ(10,"app-wcag-buttons",7),r.NdJ("fontSizeClick",function(){return t.handleFontSizeClick()})("brightnessClick",function(){return t.handleBrightnessClick()})("intervalClick",function(){return t.handleIntervalClick()})("accessibilityClick",function(){return t.handleAccessibilityClick()}),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.TgZ(11,"div",8),r.YNc(12,dn,13,8,"div",9),r.ALo(13,"async"),r.TgZ(14,"div",10),r.ALo(15,"async"),r.TgZ(16,"div"),r._UZ(17,"app-breadcrumbs",11),r.qZA(),r.YNc(18,pn,2,0,"div",12),r.ALo(19,"async"),r.YNc(20,vn,2,0,"div",13),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(3),r.Q6J("src",t.herbSrc,r.LSH)("alt",r.lcZ(4,9,t.tlumaczeniaEKONSULATService.GLOWNA_HerbPolski$)),r.xp6(4),r.hij(" ",r.lcZ(8,11,t.tlumaczeniaEKONSULATService.GLOWNA_Tytul$)||"Serwis Ministerstwa Spraw Zagranicznych Rzeczypospolitej Polskiej"," "),r.xp6(5),r.Q6J("ngIf",r.lcZ(13,13,t.canShowMenu)),r.xp6(2),r.Tol(r.VKq(19,gn,!r.lcZ(15,15,t.canShowMenu))),r.xp6(3),r.Q6J("breadcrumbs",t.breadcrumbs),r.xp6(1),r.Q6J("ngIf",r.lcZ(19,17,t.canShowTimer)),r.xp6(2),r.Q6J("ngIf",t.canChangeLanguage))},directives:[Et,O.O5,Nt,X.lW,kt,yt,qt,Qt,fn],pipes:[O.Ov],styles:['.header[_ngcontent-%COMP%] .top-bar[_ngcontent-%COMP%]{padding:1rem 0;display:flex}.header[_ngcontent-%COMP%] .top-bar__govpl[_ngcontent-%COMP%]{min-width:auto;width:auto;margin-left:16px;margin-right:16px;display:flex;align-items:center;justify-content:center}@media (min-width:992px){.header[_ngcontent-%COMP%] .top-bar__govpl[_ngcontent-%COMP%]{min-width:16.75rem;width:16.75rem;margin-left:0;margin-right:0}}.header[_ngcontent-%COMP%] .top-bar__govpl[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:2.9375rem}.header[_ngcontent-%COMP%] .top-bar__title[_ngcontent-%COMP%]{display:flex;align-items:center;flex-grow:1;font-size:.875rem}.header[_ngcontent-%COMP%] .top-bar__title[_ngcontent-%COMP%]:before{content:"";flex:0 0 2px;height:100%;background-color:#d5233f;margin-right:1rem}@media (min-width:992px){.header[_ngcontent-%COMP%] .top-bar__title[_ngcontent-%COMP%]:before{margin-right:1.8125rem}}.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%]{display:flex;width:100%;position:relative;min-height:2.5rem}.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%] .menu-top-bar[_ngcontent-%COMP%]{min-width:auto}@media (min-width:992px){.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%] .menu-top-bar[_ngcontent-%COMP%]{min-width:16.75rem}}.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%] .menu-top-bar[_ngcontent-%COMP%] .mat-button.hamburger-btn[_ngcontent-%COMP%]{padding:.5rem}.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%] .menu-top-bar[_ngcontent-%COMP%] .menu-icon-wrapper[_ngcontent-%COMP%]{padding:.5rem;display:none;color:#fff;align-items:center;font-size:1rem}@media (min-width:992px){.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%] .menu-top-bar[_ngcontent-%COMP%] .menu-icon-wrapper[_ngcontent-%COMP%]{display:flex}}.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%] .menu-top-bar[_ngcontent-%COMP%] .menu-icon[_ngcontent-%COMP%]{background:url(menu.91fc0a5befe2914040c0.svg);width:1.875rem;height:1.875rem}.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%] .header-info[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0 0 0 1rem;margin-left:0;font-size:.875rem}@media (min-width:992px){.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%] .header-info[_ngcontent-%COMP%]{padding:.25rem 1rem .25rem 3rem}}.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%] .header-info.menu-width-margin[_ngcontent-%COMP%]{margin-left:0}@media (min-width:992px){.header[_ngcontent-%COMP%] .yellow-bar[_ngcontent-%COMP%] .header-info.menu-width-margin[_ngcontent-%COMP%]{margin-left:268px}}']}),e}(),yn=n(34528),_n=n(50801),bn={UKNOWN:"Unknown"},Sn={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:bn.UKNOWN},kn={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel|Mobile; rv:49.0|Mobile; ALCATEL 4052R; rv:48.0/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},Tn={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n SHV-E230S|SHW-M180K|SHW-M180L|SM-T865|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T385M|SM-P585M|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n SM-P601|SM-P605|SM-P615|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T500|SM-T330|\n SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-P585Y"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n B8000|B8080)(-|)(FL|F|HV|H|)|TB-X606F|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L|TB-8504F"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,Honeywell:/RT10A/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},wn={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",MAC:"Macintosh",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:bn.UKNOWN,HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",HONEYWELL:"Honeywell",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone",MI_SE_9:"Mi SE 9"},An=[wn.PS4,wn.CHROME_BOOK,wn.MAC,wn.DELL,wn.ASUS,wn.UNKNOWN],In={WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:bn.UKNOWN},Cn={WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_11_0:"mac-os-x-11-0",MACOSX_16:"mac-os-x-16",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",ANDROID_9:"android-9",UNKNOWN:bn.UKNOWN.toLowerCase()},En={WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},On=Object.assign(Object.assign(Object.assign(Object.assign({},kn),Tn),En),{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/,MI_SE_9:/\bXiaomi\b/,MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]}}),Rn={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,MACOSX_16:/(Mac OS X 10.16)/,MACOSX_11_0:{or:[/11_0 like Mac OS X/,/Mac OS X 11/]},iOS:/(iPhone OS\s*[0-9_]+)/,ANDROID_9:/(Android 9)/},Mn={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},Ln=function(e,t){return e[t]=Rn[t],e},Pn=Object.keys(Rn).reduce(Ln,{}),Zn=function(e,t){return e[Sn[t]]=Mn[t],e},zn=Object.keys(Mn).reduce(Zn,{}),xn=Object.freeze({__proto__:null,GENERAL:bn,BROWSERS:Sn,MOBILES_RE:kn,TABLETS_RE:Tn,DEVICES:wn,DESKTOP_DEVICES:An,OS:In,OS_VERSIONS:Cn,OS_RE:En,BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:On,OS_VERSIONS_RE_MAP:Rn,BROWSER_VERSIONS_RE_MAP:Mn,OS_VERSIONS_RE:Pn,BROWSER_VERSIONS_RE:zn,"\u02750":Ln,"\u02751":Zn}),Nn=function(){function e(){(0,A.Z)(this,e)}return(0,I.Z)(e,[{key:"test",value:function(e,t){var n=this;return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.test(e):t&&Array.isArray(t.and)?t.and.every(function(t){return n.test(e,t)}):t&&Array.isArray(t.or)?t.or.some(function(t){return n.test(e,t)}):!(!t||!t.not||this.test(e,t.not))}},{key:"exec",value:function(e,t){var n=this;return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.exec(e):t&&Array.isArray(t)?t.reduce(function(t,i){return t||n.exec(e,i)},null):null}}]),e}(),Dn=function(e){return e.Mobile="mobile",e.Tablet="tablet",e.Desktop="desktop",e.Unknown="unknown",e}({}),Fn=function(e){return e.Portrait="portrait",e.Landscape="landscape",e}({}),Wn="iPad",jn=function(){var e=function(){function e(t){(0,A.Z)(this,e),this.platformId=t,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new Nn,this.deviceType="",this.orientation="",(0,O.NF)(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}return(0,I.Z)(e,[{key:"setDeviceInfo",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;t!==this.userAgent&&(this.userAgent=t);var n=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(n.forEach(function(n){e[n.prop]=Object.keys(xn[n.const]).reduce(function(i,r){return"device"===xn[n.const][r]&&(0,O.NF)(e.platformId)&&(e.reTree.test(e.userAgent,Tn.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(i[xn[n.const][r]]=Wn,Object):(i[xn[n.const][r]]=e.reTree.test(t,xn["".concat(n.const,"_RE")][r]),i)},{})}),n.forEach(function(t){e[t.prop]=Object.keys(xn[t.const]).map(function(e){return xn[t.const][e]}).reduce(function(n,i){return"device"===t.prop&&n===xn[t.const].ANDROID?e[t.prop][i]?i:n:n===xn[t.const].UNKNOWN&&e[t.prop][i]?i:n},xn[t.const].UNKNOWN)}),this.browser_version="0",this.browser!==Sn.UNKNOWN){var i=zn[this.browser],r=this.reTree.exec(t,i);r&&(this.browser_version=r[1])}this.orientation="undefined"!=typeof window&&window.matchMedia?window.matchMedia("(orientation: landscape)").matches?Fn.Landscape:Fn.Portrait:bn.UKNOWN,this.deviceType=this.isTablet()?Dn.Tablet:this.isMobile(this.userAgent)?Dn.Mobile:this.isDesktop(this.userAgent)?Dn.Desktop:Dn.Unknown}},{key:"getDeviceInfo",value:function(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version,deviceType:this.deviceType,orientation:this.orientation}}},{key:"isMobile",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;if(this.isTablet(t))return!1;var n=Object.keys(kn).find(function(n){return e.reTree.test(t,kn[n])});return!!n}},{key:"isTablet",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;if((0,O.NF)(this.platformId)&&(this.reTree.test(this.userAgent,Tn.iPad)||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))return!0;var n=Object.keys(Tn).find(function(n){return!!e.reTree.test(t,Tn[n])});return!!n}},{key:"isDesktop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;return(this.device!==wn.UNKNOWN||!this.isMobile(e)&&!this.isTablet(e))&&An.indexOf(this.device)>-1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.Lbi))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.Lbi))},token:e,providedIn:"root"}),e}(),Gn=(n(40875),n(78317)),$n=["accessibilityNav"],Bn=["goToContentItem"],Vn=["goToMenuItem"],Hn=["goToFooterItem"],Un=function(){return["/"]};function Yn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"li"),r.TgZ(1,"a",5),r.NdJ("focusout",function(){return r.CHM(n),r.oxw().hideElement()})("keydown.enter",function(){r.CHM(n);var e=r.oxw();return e.goTo(e.SkipLinkAnchors.MENU)})("click",function(){r.CHM(n);var e=r.oxw();return e.goTo(e.SkipLinkAnchors.MENU)})("focus",function(){return r.CHM(n),r.oxw().showGoToMenuElement()}),r._uU(2),r.ALo(3,"async"),r.qZA(),r.qZA()}if(2&e){var i=r.oxw();r.xp6(1),r.Q6J("routerLink",r.DdM(4,Un)),r.xp6(1),r.hij(" ",r.lcZ(3,2,i.tlumaczeniaDostepnoscService.SkipLink_PrzejdzDoMenu$)," ")}}var Kn=function(){function e(e){this.tlumaczeniaDostepnoscService=e,this.SkipLinkAnchors=Ne,this.showMobileMenu=new r.vpe}return e.prototype.goTo=function(e){"#"+e===window.location.hash&&(window.location.hash=""),e===Ne.MENU&&this.showMobileMenu.emit(),window.location.hash=e,this.hideElement()},e.prototype.hideElement=function(){this.setAccessibilityNavTop("-1000px")},e.prototype.showGoToContentElement=function(){this.goToContentItem&&this.setAccessibilityZIndex(this.goToContentItem,"9999"),this.goToMenuItem&&this.setAccessibilityZIndex(this.goToMenuItem,"-1"),this.goToFooterItem&&this.setAccessibilityZIndex(this.goToFooterItem,"-1"),this.setAccessibilityNavTop("0")},e.prototype.showGoToMenuElement=function(){this.goToMenuItem&&this.setAccessibilityZIndex(this.goToMenuItem,"9999"),this.goToContentItem&&this.setAccessibilityZIndex(this.goToContentItem,"-1"),this.goToFooterItem&&this.setAccessibilityZIndex(this.goToFooterItem,"-1"),this.setAccessibilityNavTop("0")},e.prototype.showGoToFooterElement=function(){this.goToFooterItem&&this.setAccessibilityZIndex(this.goToFooterItem,"9999"),this.goToMenuItem&&this.setAccessibilityZIndex(this.goToMenuItem,"-1"),this.goToContentItem&&this.setAccessibilityZIndex(this.goToContentItem,"-1"),this.setAccessibilityNavTop("0")},e.prototype.setAccessibilityNavTop=function(e){this.accessibilityNav&&this.accessibilityNav.nativeElement&&this.accessibilityNav.nativeElement.style&&(this.accessibilityNav.nativeElement.style.top=e)},e.prototype.setAccessibilityZIndex=function(e,t){e&&e.nativeElement&&e.nativeElement.style&&(e.nativeElement.style.zIndex=t)},e.\u0275fac=function(t){return new(t||e)(r.Y36(Gn.p))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-skip-links"]],viewQuery:function(e,t){if(1&e&&(r.Gf($n,7),r.Gf(Bn,7),r.Gf(Vn,7),r.Gf(Hn,7)),2&e){var n=void 0;r.iGM(n=r.CRH())&&(t.accessibilityNav=n.first),r.iGM(n=r.CRH())&&(t.goToContentItem=n.first),r.iGM(n=r.CRH())&&(t.goToMenuItem=n.first),r.iGM(n=r.CRH())&&(t.goToFooterItem=n.first)}},inputs:{currentInstitution:"currentInstitution"},outputs:{showMobileMenu:"showMobileMenu"},decls:17,vars:11,consts:[["role","application"],[1,"quick-access-nav"],["accessibilityNav",""],[1,"list"],["goToContentItem",""],[3,"routerLink","focusout","keydown.enter","click","focus"],["goToMenuItem",""],[4,"ngIf"],["goToFooterItem",""]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"nav",1,2),r.TgZ(3,"ul",3),r.TgZ(4,"li",null,4),r.TgZ(6,"a",5),r.NdJ("focusout",function(){return t.hideElement()})("keydown.enter",function(){return t.goTo(t.SkipLinkAnchors.MAIN_CONTENT)})("click",function(){return t.goTo(t.SkipLinkAnchors.MAIN_CONTENT)})("focus",function(){return t.showGoToContentElement()}),r._uU(7),r.ALo(8,"async"),r.qZA(),r.qZA(),r.ynx(9,null,6),r.YNc(11,Yn,4,5,"li",7),r.BQk(),r.TgZ(12,"li",null,8),r.TgZ(14,"a",5),r.NdJ("focusout",function(){return t.hideElement()})("keydown.enter",function(){return t.goTo(t.SkipLinkAnchors.FOOTER)})("click",function(){return t.goTo(t.SkipLinkAnchors.FOOTER)})("focus",function(){return t.showGoToFooterElement()}),r._uU(15),r.ALo(16,"async"),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(6),r.Q6J("routerLink",r.DdM(9,Un)),r.xp6(1),r.hij(" ",r.lcZ(8,5,t.tlumaczeniaDostepnoscService.SkipLink_PrzejdzDoZawartosci$)," "),r.xp6(4),r.Q6J("ngIf",t.currentInstitution),r.xp6(3),r.Q6J("routerLink",r.DdM(10,Un)),r.xp6(1),r.hij(" ",r.lcZ(16,7,t.tlumaczeniaDostepnoscService.SkipLink_PrzejdzDoStopki$)," "))},directives:[u.yS,O.O5],pipes:[O.Ov],styles:[".quick-access-nav[_ngcontent-%COMP%]{position:absolute;top:-1000px;left:0;width:100%;z-index:1000}.quick-access-nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none;box-shadow:2px 5px 5px -2px rgba(0,0,0,.38)}.quick-access-nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:absolute;width:100%;text-align:center}.quick-access-nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block;margin:.2rem auto;padding:.3rem 3rem;font-size:1rem}"]}),e}();function qn(e,t){if(1&e&&(r.TgZ(0,"a",1),r.ALo(1,"async"),r._UZ(2,"img",2),r.ALo(3,"async"),r.ALo(4,"async"),r.TgZ(5,"span",3),r._uU(6),r.ALo(7,"async"),r.qZA(),r.qZA()),2&e){var n=r.oxw();r.Q6J("href",r.lcZ(1,4,n.link),r.LSH),r.xp6(2),r.Q6J("src",r.lcZ(3,6,n.image),r.LSH),r.uIk("alt",r.lcZ(4,8,n.label)||"Banner"),r.xp6(4),r.Oqu(r.lcZ(7,10,n.tlumaczeniaEKONSULATService.INFORMACYJNE_NowaKarta$)||"Otwarcie w nowej karcie")}}var Xn=function(){function e(e){this.tlumaczeniaEKONSULATService=e}return e.\u0275fac=function(t){return new(t||e)(r.Y36(Ie.M))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-banner"]],inputs:{image:"image",isVisible:"isVisible",label:"label",link:"link"},decls:2,vars:3,consts:[["target","_blank",3,"routerLink","href",4,"ngIf"],["target","_blank",3,"routerLink","href"],[3,"src"],[1,"sr-only"]],template:function(e,t){1&e&&(r.YNc(0,qn,8,12,"a",0),r.ALo(1,"async")),2&e&&r.Q6J("ngIf",r.lcZ(1,1,t.isVisible))},directives:[O.O5],pipes:[O.Ov],styles:["img[_ngcontent-%COMP%]{max-width:100%;height:auto}"]}),e}();function Qn(e,t){if(1&e&&(r.ynx(0),r.TgZ(1,"a",5),r._uU(2),r.qZA(),r.BQk()),2&e){var n=t.ngIf,i=r.oxw();r.xp6(1),r.Q6J("routerLink",i.REGULATIONS_ROUTER_LINK),r.xp6(1),r.Oqu(n)}}function Jn(e,t){if(1&e&&(r.ynx(0),r.TgZ(1,"a",5),r._uU(2),r.qZA(),r.BQk()),2&e){var n=t.ngIf,i=r.oxw();r.xp6(1),r.Q6J("routerLink",i.RODO_ROUTER_LINK),r.xp6(1),r.Oqu(n)}}function ei(e,t){if(1&e&&(r.ynx(0),r.TgZ(1,"a",5),r._uU(2),r.qZA(),r.BQk()),2&e){var n=t.ngIf,i=r.oxw();r.xp6(1),r.Q6J("routerLink",i.DECLARATION_OF_AVAILABILITY_ROUTER_LINK),r.xp6(1),r.Oqu(n)}}var ti=function(){function e(e,t){this.tlumaczeniaEKONSULATService=e,this.routingPath=t,this.RODO_ROUTER_LINK=this.routingPath.getRodo(),this.REGULATIONS_ROUTER_LINK=this.routingPath.getRegulations(),this.DECLARATION_OF_AVAILABILITY_ROUTER_LINK=this.routingPath.getDeclarationOfAvailability()}return e.\u0275fac=function(t){return new(t||e)(r.Y36(Ie.M),r.Y36(be.Q))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-home-layout-footer"]],inputs:{bannerImage:"bannerImage",bannerLabel:"bannerLabel",bannerLink:"bannerLink",isBannerVisible:"isBannerVisible"},decls:11,vars:13,consts:[["role","banner",1,"banner"],[3,"image","label","link","isVisible"],["id","footer",1,"footer","pt-16"],[1,"footer__bar"],[4,"ngIf"],[1,"footer__bar__item",3,"routerLink"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r._UZ(1,"app-banner",1),r.qZA(),r.TgZ(2,"div",2),r.TgZ(3,"div",3),r.TgZ(4,"div"),r.YNc(5,Qn,3,2,"ng-container",4),r.ALo(6,"async"),r.YNc(7,Jn,3,2,"ng-container",4),r.ALo(8,"async"),r.YNc(9,ei,3,2,"ng-container",4),r.ALo(10,"async"),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(1),r.Q6J("image",t.bannerImage)("label",t.bannerLabel)("link",t.bannerLink)("isVisible",t.isBannerVisible),r.xp6(4),r.Q6J("ngIf",r.lcZ(6,7,t.tlumaczeniaEKONSULATService.GLOWNA_Regulamin$)),r.xp6(2),r.Q6J("ngIf",r.lcZ(8,9,t.tlumaczeniaEKONSULATService.GLOWNA_KlauzulaRODO$)),r.xp6(2),r.Q6J("ngIf",r.lcZ(10,11,t.tlumaczeniaEKONSULATService.GLOWNA_DeklaracjaDostepnosci$)))},directives:[Xn,O.O5,u.yS],pipes:[O.Ov],styles:[".banner[_ngcontent-%COMP%]{padding:0 1rem;margin-bottom:4rem;margin-left:0}@media (min-width:992px){.banner[_ngcontent-%COMP%]{padding:0 1rem 0 3rem;margin-left:268px}}.footer[_ngcontent-%COMP%]{border-top:2px solid #b00020}.footer__bar[_ngcontent-%COMP%]{display:flex;align-items:center;padding:.25rem 1rem .5rem;margin-left:0;font-size:1.125rem}@media (min-width:992px){.footer__bar[_ngcontent-%COMP%]{padding:3rem 2rem 3rem 3rem;margin-left:268px}}.footer__bar__item[_ngcontent-%COMP%]{margin-right:0;margin-top:.5rem;margin-bottom:.5rem;display:block}@media (min-width:992px){.footer__bar__item[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;margin-right:3.5rem;display:inline}}"]}),e}();function ni(e,t){if(1&e&&(r.TgZ(0,"div",1),r._UZ(1,"mat-spinner",2),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("mode",n.mode)("value",n.value)}}var ii=function(){function e(e){this.loadingService=e,this.mode="indeterminate",this.value=50}return e.\u0275fac=function(t){return new(t||e)(r.Y36(T))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-loading"]],decls:2,vars:3,consts:[["role","presentation","aria-hidden","true","class","loader",4,"ngIf"],["role","presentation","aria-hidden","true",1,"loader"],[3,"mode","value"]],template:function(e,t){1&e&&(r.YNc(0,ni,2,2,"div",0),r.ALo(1,"async")),2&e&&r.Q6J("ngIf",r.lcZ(1,1,t.loadingService.loading$))},directives:[O.O5,de],pipes:[O.Ov],styles:[""]}),e}(),ri=n(84238),ai=function(e){return{top:e}};function oi(e,t){if(1&e&&(r.ynx(0),r.TgZ(1,"aside",11),r._UZ(2,"app-sidebar",12),r.qZA(),r.BQk()),2&e){var n=r.oxw();r.xp6(1),r.Akn(r.VKq(3,ai,n.headerHeight)),r.xp6(1),r.Q6J("menu",n.sidebar)}}function si(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",13),r.TgZ(1,"app-form-icon",14),r.NdJ("onClick",function(){return r.CHM(n),r.oxw().goUp()}),r.ALo(2,"async"),r.ALo(3,"async"),r.qZA(),r.qZA()}if(2&e){var i=r.oxw();r.xp6(1),r.Q6J("ariaLabel",r.lcZ(2,2,i.tlumaczeniaInformacjeStatyczneService.Przewin_Do_Gory$))("tooltip",r.lcZ(3,4,i.tlumaczeniaInformacjeStatyczneService.Przewin_Do_Gory$))}}var li=function(){function e(e,t,n,i,r,a,o,s,l,u,c,h,f,d,p){this.tlumaczeniaInformacjeStatyczneService=e,this.configService=t,this.languageSevice=n,this.sidebarService=i,this.breadcrumbsService=r,this.pageTitleService=a,this.layoutService=o,this.router=s,this.activatedRoute=l,this.routingPath=u,this.cd=c,this.institutionContextService=h,this.timerContextService=f,this.deviceService=d,this.deviceDetectService=p,this.sidebar=[],this.breadcrumbs=[],this.isIE=!1,this.isScrollIcon=!1,this.subscriptions=new Fe.w,this.IE_NAME="IE"}return e.prototype.ngOnInit=function(){this.listenToBreadcrumbsChange(),this.listenToPageTitleChange(),this.listenToSidebarMenuItemsChange(),this.listenToChangeLanguagePossibility(),this.listenToCanShowTimerPossibility(),this.getBanner(),this.initializeChangeLanguagePossibility(),this.initializeSidebarMenuItems(),this.listenToChangeLanguage()},Object.defineProperty(e.prototype,"headerHeight",{get:function(){return this.headerComponent.clientHeight+"px"},enumerable:!1,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;this.isIEBrowser()?(this.isIE=!0,this.herbSrc="../../../../../assets/images/herb_polski.png"):this.herbSrc="../../../../../assets/images/Herb_Polski.svg",this.headerComponent.sidebarMenu&&this.subscriptions.add(this.headerComponent.sidebarMenu.menuOpened.subscribe(function(){e.setMenuAutoFocus()}))},e.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},e.prototype.goUp=function(){window.scrollTo(0,0)},e.prototype.onShowMobileMenu=function(){var e=this.headerComponent.sidebarMenu;e&&this.deviceDetectService.detectMobile()&&(e.openMenu(),this.setMenuAutoFocus())},e.prototype.fillLink=function(e){return!e||e.endsWith("/")?e:e+"/"},e.prototype.getBanner=function(){var e=this;this.bannerImage$=this.languageSevice.selectedLanguage$.pipe((0,v.U)(function(e){return null==e?void 0:e.uiCulture.split("-")[0]}),(0,v.U)(function(t){return e.fillLink(e.configService.config.BannerImagesMainURL)+e.getBannerImage(t)})),this.isBannerVisible$=this.languageSevice.selectedLanguage$.pipe((0,v.U)(function(e){return null==e?void 0:e.uiCulture.split("-")[0]}),(0,v.U)(function(t){return e.isBannerVisible(t)})),this.bannerLink$=this.languageSevice.selectedLanguage$.pipe((0,v.U)(function(e){return null==e?void 0:e.uiCulture.split("-")[0]}),(0,v.U)(function(t){return e.fillLink(e.configService.config.BannerLinkMain)+e.getLink(t)}))},e.prototype.getBannerImage=function(e){var t=this.configService.config.BannerImagesWersjeJezykowe.split(";").find(function(t){return t.split(",")[0]===e});return t?t.split(",")[1]:null},e.prototype.getBannerLink=function(e){var t=this.configService.config.BannerLinkWersjeJezykowe.split(";").find(function(t){return t.split(",")[0]===e});return t?t.split(",")[1]:null},e.prototype.getLink=function(e){var t=this.configService.config.BannerLinkWersjeJezykowe.split(";").find(function(t){return t.split(",")[0]===e});return t?t.split(",")[1]:null},e.prototype.initializeSidebarMenuItems=function(){var e=this;this.sidebarService.getSidebar().subscribe(function(t){e.sidebar=t,e.cd.detectChanges()})},e.prototype.isBannerVisible=function(e){return!!(this.configService.config.BannerImagesMainURL&&this.configService.config.BannerLinkMain&&this.getBannerImage(e)&&this.getBannerLink(e))},e.prototype.isIEBrowser=function(){return this.deviceService.getDeviceInfo().browser===this.IE_NAME},e.prototype.listenToBreadcrumbsChange=function(){var e=this;this.subscriptions.add(this.breadcrumbsService.breadcrumbs().subscribe(function(t){e.breadcrumbs=t}))},e.prototype.listenToCanShowTimerPossibility=function(){var e=this;this.canShowTimer=this.timerContextService.timer$,this.subscriptions.add(this.canShowTimer.subscribe(function(){return e.cd.detectChanges()}))},e.prototype.listenToChangeLanguage=function(){this.subscriptions.add(this.languageSevice.selectedLanguageName$.subscribe(function(e){document.documentElement.lang=e}))},e.prototype.listenToChangeLanguagePossibility=function(){var e=this;this.subscriptions.add(this.router.events.pipe((0,ze.h)(function(e){return e instanceof u.m2})).pipe((0,v.U)(function(){return e.rootRoute(e.activatedRoute)})).pipe((0,ze.h)(function(e){return"primary"===e.outlet})).pipe((0,v.U)(function(t){return e.isChangeLanguagePossibility(t)})).subscribe(function(t){return e.canChangeLanguage=t}))},e.prototype.onWindowScroll=function(){this.isScrollIcon=!!window.pageYOffset},e.prototype.rootRoute=function(e){for(;e.firstChild;)e=e.firstChild;return e},e.prototype.initializeChangeLanguagePossibility=function(){this.canChangeLanguage=this.isChangeLanguagePossibility(this.rootRoute(this.activatedRoute))},e.prototype.isChangeLanguagePossibility=function(e){var t=this.router.url,n=Number(e.snapshot.paramMap.get(we.k));return t===this.router.createUrlTree(this.routingPath.getApp()).toString()||t===this.router.createUrlTree(this.routingPath.getInstitutionDetails(n)).toString()||t===this.router.createUrlTree(this.routingPath.getPassportAppointmentReservation(n)).toString()||t===this.router.createUrlTree(this.routingPath.getPassportAppointmentReservationOngoing(n)).toString()},e.prototype.listenToPageTitleChange=function(){var e=this;this.subscriptions.add(this.pageTitleService.title().subscribe(function(t){e.pageTitleService.setTitle(t)}))},e.prototype.listenToSidebarMenuItemsChange=function(){var e=this;this.subscriptions.add(this.layoutService.refreshSidebar$.subscribe(function(){return e.initializeSidebarMenuItems()})),this.subscriptions.add(this.layoutService.removeSidebar$.subscribe(function(){return e.sidebar=[]}))},e.prototype.setMenuAutoFocus=function(){setTimeout(function(){var e=document.querySelector(".mat-menu-content #"+Ne.MENU+" a");e&&e.focus()},500)},e.prototype.onScroll=function(){this.onWindowScroll()},e.\u0275fac=function(t){return new(t||e)(r.Y36(Te.X),r.Y36(m.E),r.Y36(on.T),r.Y36(We.P),r.Y36(xe),r.Y36(De),r.Y36(yn.P),r.Y36(u.F0),r.Y36(u.gz),r.Y36(be.Q),r.Y36(r.sBO),r.Y36(Le.M),r.Y36(_n.u),r.Y36(jn),r.Y36(sn))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-home-layout"]],viewQuery:function(e,t){var n;1&e&&r.Gf(mn,7),2&e&&r.iGM(n=r.CRH())&&(t.headerComponent=n.first)},hostBindings:function(e,t){1&e&&r.NdJ("scroll",function(e){return t.onScroll(e)},!1,r.Jf7)},decls:15,vars:19,consts:[[3,"currentInstitution","showMobileMenu"],[1,"home-layout"],[1,"home-layout__header"],[3,"canChangeLanguage","canShowMenu","canShowTimer","hamburgerMenu","breadcrumbs","herbSrc"],[1,"content-flex"],[4,"ngIf"],[1,"home-layout__body"],["id","main-content"],[1,"footer-flex"],[3,"bannerImage","bannerLink","bannerLabel","isBannerVisible"],["class","go-up-button",4,"ngIf"],[1,"home-layout__sidebar"],[3,"menu"],[1,"go-up-button"],["iconName","expand_less",3,"ariaLabel","tooltip","onClick"]],template:function(e,t){1&e&&(r.TgZ(0,"app-skip-links",0),r.NdJ("showMobileMenu",function(){return t.onShowMobileMenu()}),r.ALo(1,"async"),r.qZA(),r.TgZ(2,"div",1),r.TgZ(3,"header",2),r._UZ(4,"app-home-layout-header",3),r.qZA(),r.TgZ(5,"main",4),r.YNc(6,oi,3,5,"ng-container",5),r.ALo(7,"async"),r.TgZ(8,"div",6),r.TgZ(9,"div",7),r._UZ(10,"router-outlet"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(11,"footer",8),r._UZ(12,"app-home-layout-footer",9),r.qZA(),r.qZA(),r._UZ(13,"app-loading"),r.YNc(14,si,4,6,"div",10)),2&e&&(r.Q6J("currentInstitution",r.lcZ(1,15,t.institutionContextService.currentInstitution$)),r.xp6(4),r.Q6J("canChangeLanguage",t.canChangeLanguage)("canShowMenu",t.institutionContextService.currentInstitution$)("canShowTimer",t.canShowTimer)("hamburgerMenu",t.sidebar)("breadcrumbs",t.breadcrumbs)("herbSrc",t.herbSrc),r.xp6(2),r.Q6J("ngIf",r.lcZ(7,17,t.institutionContextService.currentInstitution$)),r.xp6(3),r.ekj("ieMode",t.isIE),r.xp6(3),r.Q6J("bannerImage",t.bannerImage$)("bannerLink",t.bannerLink$)("bannerLabel",t.bannerLabel$)("isBannerVisible",t.isBannerVisible$),r.xp6(2),r.Q6J("ngIf",t.isScrollIcon))},directives:[Kn,mn,O.O5,u.lC,ti,ii,qt,ri.P],pipes:[O.Ov],styles:[".home-layout[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:99vh}.home-layout__header[_ngcontent-%COMP%]{width:100%}@media (min-width:992px){.home-layout__header[_ngcontent-%COMP%]{z-index:2;top:0}}.home-layout[_ngcontent-%COMP%] .content-flex[_ngcontent-%COMP%]{flex:1 0 auto;display:flex}.home-layout[_ngcontent-%COMP%] .footer-flex[_ngcontent-%COMP%]{flex:0 0 auto}.home-layout__sidebar[_ngcontent-%COMP%]{display:none}@media (min-width:992px){.home-layout__sidebar[_ngcontent-%COMP%]{display:block;align-self:flex-start;z-index:1}}.home-layout__body[_ngcontent-%COMP%]{flex:auto;padding:0;box-shadow:inset 7px 0 7px -7px rgba(0,0,0,.4)}"]}),e}(),ui=n(812),ci=[{path:ui.rq,canLoad:[ke],loadChildren:function(){return n.e(6706).then(n.bind(n,36706)).then(function(e){return e.ServiceInterruptionModule})}},{path:"",component:li,canActivate:[Se],canLoad:[Se],loadChildren:function(){return n.e(5425).then(n.bind(n,95425)).then(function(e){return e.DashboardModule})}},{path:ui.pn,component:li,canActivate:[Se],canLoad:[Se],loadChildren:function(){return n.e(51).then(n.bind(n,90051)).then(function(e){return e.ErrorModule})}},{path:"uslugi-paszportowe",component:li,canActivate:[Se],canLoad:[Se],loadChildren:function(){return Promise.all([n.e(8592),n.e(5410)]).then(n.bind(n,25410)).then(function(e){return e.UslugiPaszportoweModule})}},{path:"Wiza/LinkPage.aspx",redirectTo:_e.C},{path:"**",redirectTo:_e.I}],hi=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[u.Bz.forRoot(ci,{paramsInheritanceStrategy:"always",enableTracing:!1,relativeLinkResolution:"legacy",onSameUrlNavigation:"reload"})],u.Bz]}),e}(),fi=n(28375),di=function(){function e(e,t){this.changeStylesService=e,this.daneRezerwacjiService=t}return e.prototype.ngAfterViewInit=function(){this.changeStylesService.setInitialFontSize(),this.changeStylesService.setPageContrast(),(0,At.q)()},e.\u0275fac=function(t){return new(t||e)(r.Y36(je.F),r.Y36(fi.V))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(e,t){1&e&&r._UZ(0,"router-outlet")},directives:[u.lC],encapsulation:2}),e}(),pi=n(12398),vi=n(27436),gi=n(97829),mi=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,vi.h,s.UX,q.Is,X.ot,gi.x]]}),e}(),yi=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez]]}),e}(),_i=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,u.Bz,yi]]}),e}(),bi=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,X.ot,Ct.AV]]}),e}(),Si=n(79557),ki=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,Si.F,X.ot,Ot.Ps]]}),e}(),Ti=n(12231),wi=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,u.Bz,gi.x,Ti.D]]}),e}(),Ai=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez]]}),e}(),Ii=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,u.Bz,Ot.Ps]]}),e}(),Ci=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,u.Bz,bi,ki,wt,X.ot,wi,Ai,Ii]]}),e}(),Ei=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,u.Bz]]}),e}(),Oi=n(35983),Ri=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[O.ez,u.Bz,_i,Ci,wi,Ei,ve,Oi.x]]}),e}(),Mi=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e,bootstrap:[di]}),e.\u0275inj=r.cJS({providers:[{provide:r.ip1,multi:!0,deps:[m.E,y,_._,tn.s,an.X,on.T],useFactory:Li},ye.N,{provide:o.TP,useClass:w,multi:!0}],imports:[[i.b2,s.u5,hi,u.Bz,pi.I,Ri,U,K,l.PW,me,J,mi,ve]]}),e}();function Li(e,t,n,i,r,o){var s=this,l=e.inicjalizuj().pipe((0,D.w)(function(e){return(0,P.aj)(e.PrzerwaSerwisowa?[(0,M.of)(null),(0,M.of)(null)]:[t.getAllActiveLanguages(),n.getTranslateByCodesList(r.getContext(),en.k)])}));return function(){return l.toPromise().then(function(e){var t=(0,a.CR)(e,2),n=t[0],l=t[1];return(0,a.mG)(s,void 0,void 0,function(){return(0,a.Jh)(this,function(e){return n&&l&&(o.inicializeLanguages(n),i.addAllTranslates(r.getContext(),l)),[2]})})})}}var Pi=[{provide:"BASE_URL",useFactory:function(){return document.getElementsByTagName("base")[0].href},deps:[]}];p.N.production&&(0,r.G48)(),i.q6(Pi).bootstrapModule(Mi).catch(function(e){return console.log(e)})},29536:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},52250:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(43620),r=n(87365);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=n(71357);function s(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?(0,o.Z)(e):t}function l(e){var t=(0,r.Z)();return function(){var n,r=(0,i.Z)(e);if(t){var a=(0,i.Z)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return s(this,n)}}},5587:function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return i}})},61532:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(43620);function r(e,t,n){return(r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,i.Z)(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(n):a.value}})(e,t,n||e)}},43620:function(e,t,n){"use strict";function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return i}})},28784:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(47145);function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&(0,i.Z)(e,t)}},87365:function(e,t,n){"use strict";function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}n.d(t,{Z:function(){return i}})},74414:function(e,t,n){"use strict";function i(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return i}})},86874:function(e,t,n){"use strict";function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return i}})},47145:function(e,t,n){"use strict";function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return i}})},54568:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(56965),r=n(32931),a=n(86874);function o(e,t){return(0,i.Z)(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(l){s=!0,r=l}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return a}}(e,t)||(0,r.Z)(e,t)||(0,a.Z)()}},15121:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(29536),r=n(74414),a=n(32931);function o(e){return function(e){if(Array.isArray(e))return(0,i.Z)(e)}(e)||(0,r.Z)(e)||(0,a.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},32931:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(29536);function r(e,t){if(e){if("string"==typeof e)return(0,i.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,i.Z)(e,t):void 0}}},64762:function(e,t,n){"use strict";n.d(t,{ZT:function(){return r},pi:function(){return a},gn:function(){return o},fM:function(){return s},w6:function(){return l},mG:function(){return u},Jh:function(){return c},XA:function(){return h},CR:function(){return f},ev:function(){return d}});var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}function s(e,t){return function(n,i){t(n,i,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,i){return new(n||(n=Promise))(function(r,a){function o(e){try{l(i.next(e))}catch(t){a(t)}}function s(e){try{l(i.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((i=i.apply(e,t||[])).next())})}function c(e,t){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function d(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r