'+django.gettext("Remember that UDS Plugin is required in order for this service to be launched")+"
",5e3);var e=document.getElementById("hiddenUdsLauncherIFrame");if(null===e){var n=document.createElement("div");n.id="testID",n.innerHTML='',document.body.appendChild(n),e=document.getElementById("hiddenUdsLauncherIFrame")}e.contentWindow.location.href=t},t.prototype.launchURL=function(e){var n=this;if("udsa://"===e.substring(0,7)){var r=e.split("//")[1].split("/");this.api.enabler(r[0],r[1]).subscribe((function(t){void 0!==t.error&&""!==t.error?n.api.gui.alert(django.gettext("Error launching service"),t.error):("https:"===window.location.protocol&&(t.url=t.url.replace("uds://","udss://")),n.doLaunch(t.url))}))}else null!==t.transportsWindow&&t.transportsWindow.close(),t.transportsWindow=window.open(e,"uds_transport_window")},t}();return t.transportsWindow=null,t}()},fDlF:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"c",(function(){return gt})),n.d(e,"g",(function(){return bt})),n.d(e,"e",(function(){return x})),n.d(e,"b",(function(){return Kt})),n.d(e,"d",(function(){return le})),n.d(e,"f",(function(){return ce})),n.d(e,"h",(function(){return he}));var r=n("GS7A");function i(){return"undefined"!=typeof process}function o(t){switch(t.length){case 0:return new r.d;case 1:return t[0];default:return new r.o(t)}}function a(t,e,n,i,o,a){void 0===o&&(o={}),void 0===a&&(a={});var s=[],l=[],u=-1,c=null;if(i.forEach((function(t){var n=t.offset,i=n==u,h=i&&c||{};Object.keys(t).forEach((function(n){var i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),l){case r.p:l=o[n];break;case r.a:l=a[n];break;default:l=e.normalizeStyleValue(n,i,l,s)}h[i]=l})),i||l.push(h),c=h,u=n})),s.length){throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "))}return l}function s(t,e,n,r){switch(e){case"start":t.onStart((function(){return r(n&&l(n,"start",t))}));break;case"done":t.onDone((function(){return r(n&&l(n,"done",t))}));break;case"destroy":t.onDestroy((function(){return r(n&&l(n,"destroy",t))}))}}function l(t,e,n){var r=n.totalTime,i=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function u(t,e,n,r,i,o,a){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function c(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function h(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var p=function(t,e){return!1},d=function(t,e){return!1},f=function(t,e,n){return[]},m=i();(m||"undefined"!=typeof Element)&&(p=function(t,e){return t.contains(e)},d=function(){if(m||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])}:d}(),f=function(t,e,n){var r=[];if(n)r.push.apply(r,__spread(t.querySelectorAll(e)));else{var i=t.querySelector(e);i&&r.push(i)}return r});var g=null,b=!1;function y(t){g||(g=("undefined"!=typeof document?document.body:null)||{},b=!!g.style&&"WebkitAppearance"in g.style);var e=!0;return g.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in g.style)&&b&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in g.style),e}var v=d,_=p,w=f;function C(t){var e={};return Object.keys(t).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]})),e}var x=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,i,o,a,s){return void 0===a&&(a=[]),new r.d(n,i)},t}(),O=function(){var t=function(){};return t.NOOP=new x,t}(),S=1e3;function E(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:k(parseFloat(e[1]),e[2])}function k(t,e){switch(e){case"s":return t*S;default:return t}}function D(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=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 "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=k(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=k(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else r=t;if(!n){var u=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function I(t,e){return void 0===e&&(e={}),Object.keys(t).forEach((function(n){e[n]=t[n]})),e}function T(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else I(t,n);return n}function P(t,e,n){return n?e+":"+n+";":""}function A(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],a=i[2],s=i[3];e.push(Q(o,s)),"<"!=a[0]||o==W&&s==W||e.push(Q(s,o))}(t,i,r)})):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return q(n,t,e)})),options:et(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map((function(t){e.currentTime=r;var o=q(n,t,e);return i=Math.max(i,e.currentTime),o}));return e.currentTime=i,{type:3,steps:o,options:et(t.options)}},t.prototype.visitAnimate=function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return nt(D(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var i=nt(0,0,"");return i.dynamic=!0,i.strValue=r,i}return nt((n=n||D(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var o=t.styles?t.styles:Object(r.l)({});if(5==o.type)n=this.visitKeyframes(o,e);else{var a=t.styles,s=!1;if(!a){s=!0;var l={};i.easing&&(l.easing=i.easing),a=Object(r.l)(l)}e.currentTime+=i.duration+i.delay;var u=this.visitStyle(a,e);u.isEmptyStep=s,n=u}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(t){"string"==typeof t?t==r.a?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)})):n.push(t.styles);var i=!1,o=null;return n.forEach((function(t){if(tt(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(var r in e)if(e[r].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a,s,l,u,c,h=e.collectedStyles[e.currentQuerySelector],p=h[r],d=!0;p&&(o!=i&&o>=p.startTime&&i<=p.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+p.startTime+'ms" and "'+p.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),d=!1),o=p.startTime),d&&(h[r]={startTime:o,endTime:i}),e.options&&(a=t[r],s=e.options,l=e.errors,u=s.params||{},(c=L(a)).length&&c.forEach((function(t){u.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")})))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')}))}))},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,l=0,u=t.steps.map((function(t){var r=n._makeStyleAst(t,e),u=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach((function(t){if(tt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if(tt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),s=s||c<0||c>1,a=a||c0&&i0?i==p?1:h*i:o[i],s=a*m;e.currentTime=d+f.delay+s,f.duration=s,n._validateStyleAst(t,e),t.offset=a,r.styles.push(t)})),r},t.prototype.visitReference=function(t,e){return{type:8,animation:q(this,M(t.animation),e),options:et(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:et(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:et(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=__read(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(Z,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(t){return".ng-trigger-"+t.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),o=i[0],a=i[1];e.currentQuerySelector=n.length?n+" "+o:o,c(e.collectedStyles,e.currentQuerySelector,{});var s=q(this,M(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:et(t.options)}},t.prototype.visitStagger=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"}:D(t.timings,e.errors,!0);return{type:12,animation:q(this,M(t.animation),e),timings:n,options:null}},t}(),$=function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function tt(t){return!Array.isArray(t)&&"object"==typeof t}function et(t){var e;return t?(t=I(t)).params&&(t.params=(e=t.params)?I(e):null):t={},t}function nt(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var it=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,__spread(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),ot=new RegExp(":enter","g"),at=new RegExp(":leave","g");function st(t,e,n,r,i,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new lt).buildKeyframes(t,e,n,r,i,o,a,s,l,u)}var lt=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,a,s,l,u){void 0===u&&(u=[]),l=l||new it;var c=new ct(t,e,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),q(this,n,c);var h=c.timelines.filter((function(t){return t.containsAnimation()}));if(h.length&&Object.keys(a).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,c.errors,s)}return h.length?h.map((function(t){return t.buildKeyframes()})):[rt(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?E(n.duration):null,o=null!=n.delay?E(n.delay):null;return 0!==i&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)})),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),q(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ut);var a=E(o.delay);i.delayNextStep(a)}t.steps.length&&(t.steps.forEach((function(t){return q(n,t,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?E(t.options.delay):0;t.steps.forEach((function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),q(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return D(e.params?F(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?E(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ut);var a=r,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;var l=null;s.forEach((function(r,i){e.currentQueryIndex=i;var s=e.createSubContext(t.options,r);o&&s.delayNextStep(o),r===e.element&&(l=s.currentTimeline),q(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;q(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),ut={},ct=function(){function t(t,e,n,r,i,o,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ut,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new ht(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=E(r.duration)),null!=r.delay&&(i.delay=E(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(t){e&&a.hasOwnProperty(t)||(a[t]=F(o[t],a,n.errors))}))}}},t.prototype._copyOptions=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},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||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},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=ut,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new pt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(at,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,__spread(s))}return i||0!=a.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),ht=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=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},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=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))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||r.a,e._currentKeyframe[t]=r.a})),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,i){var o=this;e&&(this._previousKeyframe.easing=e);var a=i&&i.params||{},s=function(t,e){var n,i={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){i[t]=r.a})):T(t,!1,i)})),i}(t,this._globalTimelineStyles);Object.keys(s).forEach((function(t){var e=F(s[t],a,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:r.a),o._updateStyle(t,e)}))},t.prototype.applyStylesToKeyframe=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])})))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach((function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)}))},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach((function(a,s){var l=T(a,!0);Object.keys(l).forEach((function(t){var i=l[t];i==r.p?e.add(t):i==r.a&&n.add(t)})),i||(l.offset=s/t.duration),o.push(l)}));var a=e.size?V(e.values()):[],s=n.size?V(n.values()):[];if(i){var l=o[0],u=I(l);l.offset=0,u.offset=1,o=[l,u]}return rt(this.element,o,a,s,this.duration,this.startTime,this.easing,!1)},t}(),pt=function(t){function e(e,n,r,i,o,a,s){void 0===s&&(s=!1);var l=this;return(l=t.call(this,e,n,a.delay)||this).element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=s,l.timings={duration:a.duration,delay:a.delay,easing:a.easing},l}return __extends(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,l=T(t[0],!1);l.offset=0,o.push(l);var u=T(t[0],!1);u.offset=dt(s),o.push(u);for(var c=t.length-1,h=1;h<=c;h++){var p=T(t[h],!1);p.offset=dt((n+p.offset*r)/a),o.push(p)}r=a,n=0,i="",t=o}return rt(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(ht);function dt(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var ft,mt,gt=function(){},bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.normalizePropertyName=function(t,e){return z(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(yt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(gt),yt=(ft="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(","),mt={},ft.forEach((function(t){return mt[t]=!0})),mt);function vt(t,e,n,r,i,o,a,s,l,u,c,h,p){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:p}}var _t={},wt=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,i){return t.some((function(t){return t(e,n,r,i)}))}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,o,a,s,l,u){var h=[],p=this.ast.options&&this.ast.options.params||_t,d=this.buildStyles(n,a&&a.params||_t,h),f=s&&s.params||_t,m=this.buildStyles(r,f,h),g=new Set,b=new Map,y=new Map,v="void"===r,_={params:Object.assign({},p,f)},w=u?[]:st(t,e,this.ast.animation,i,o,d,m,_,l,h),C=0;if(w.forEach((function(t){C=Math.max(t.duration+t.delay,C)})),h.length)return vt(e,this._triggerName,n,r,v,d,m,[],[],b,y,C,h);w.forEach((function(t){var n=t.element,r=c(b,n,{});t.preStyleProps.forEach((function(t){return r[t]=!0}));var i=c(y,n,{});t.postStyleProps.forEach((function(t){return i[t]=!0})),n!==e&&g.add(n)}));var x=V(g.values());return vt(e,this._triggerName,n,r,v,d,m,w,x,b,y,C)},t}(),Ct=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=I(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 i=t;Object.keys(i).forEach((function(t){var o=i[t];o.length>1&&(o=F(o,r,e)),n[t]=o}))}})),n},t}(),xt=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach((function(t){n.states[t.name]=new Ct(t.style,t.options&&t.options.params||{})})),Ot(this.states,"true","1"),Ot(this.states,"false","0"),e.transitions.forEach((function(e){n.transitionFactories.push(new wt(t,e,n.states))})),this.fallbackTransition=new wt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find((function(i){return i.match(t,e,n,r)}))||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function Ot(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var St=new it,Et=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=X(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=a(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var i=this;void 0===n&&(n={});var a,s=[],l=this._animations[t],u=new Map;if(l?(a=st(this._driver,e,l,"ng-enter","ng-leave",{},{},n,St,s)).forEach((function(t){var e=c(u,t.element,{});t.postStyleProps.forEach((function(t){return e[t]=null}))})):(s.push("The requested animation doesn't exist or has already been destroyed"),a=[]),s.length)throw new Error("Unable to create the animation due to the following errors: "+s.join("\n"));u.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=i._driver.computeStyle(e,n,r.a)}))}));var h=o(a.map((function(t){var e=u.get(t.element);return i._buildPlayer(t,{},e)})));return this._playersById[t]=h,h.onDestroy((function(){return i.destroy(t)})),this.players.push(h),h},t.prototype.destroy=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)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=u(e,"","","");return s(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),kt=[],Dt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},It={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tt="__ng_removed",Pt=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n,r=t&&t.hasOwnProperty("value");if(this.value=null!=(n=r?t.value:t)?n:null,r){var i=I(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=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}(),At=new Pt("void"),jt=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,zt(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=c(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var l=c(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(zt(t,"ng-trigger"),zt(t,"ng-trigger-"+e),l[e]=At),function(){o._engine.afterFlush((function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete l[e]}))}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),a=new Mt(this.id,e,t),s=this._engine.statesByElement.get(t);s||(zt(t,"ng-trigger"),zt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new Pt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=At),"void"===u.value||l.value!==u.value){var h=c(this._engine.playersByElement,t,[]);h.forEach((function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()}));var p=o.matchTransition(l.value,u.value,t,u.params),d=!1;if(!p){if(!r)return;p=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(zt(t,"ng-animate-queued"),a.onStart((function(){Ht(t,"ng-animate-queued")}))),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),h.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(e)}))}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),zt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ht(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,r){if(Nt(e)){var i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[Tt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return Nt(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach((function(t){return e.destroyActiveAnimationsForElement(t)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach((function(t){return e.finishActiveQueriedAnimationOnElement(t)}))},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))},t.prototype.whenRenderingDone=function(){var t=this;return new Promise((function(e){if(t.players.length)return o(t.players).onDone((function(){return e()}));e()}))},t.prototype.processLeaveNode=function(t){var e=this,n=t[Tt];if(n&&n.setForRemoval){if(t[Tt]=Dt,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach((function(t){e.markElementAsDisabled(t,!1)}))},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;k--)this._namespaceList[k].drainQueuedTransitions(e).forEach((function(t){var e=t.player,r=t.element;if(S.push(e),n.collectedEnterElements.length){var o=r[Tt];if(o&&o.setForMove)return void e.destroy()}var s=!f||!n.driver.containsElement(f,r),d=x.get(r),m=b.get(r),g=n._buildInstruction(t,i,m,d,s);if(!g.errors||!g.errors.length)return s?(e.onStart((function(){return R(r,g.fromStyles)})),e.onDestroy((function(){return j(r,g.toStyles)})),void a.push(e)):t.isFallbackTransition?(e.onStart((function(){return R(r,g.fromStyles)})),e.onDestroy((function(){return j(r,g.toStyles)})),void a.push(e)):(g.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),i.append(r,g.timelines),l.push({instruction:g,player:e,element:r}),g.queriedElements.forEach((function(t){return c(u,t,[]).push(e)})),g.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var r=h.get(e);r||h.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))}})),void g.postStyleProps.forEach((function(t,e){var n=Object.keys(t),r=p.get(e);r||p.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))})));E.push(g)}));if(E.length){var D=[];E.forEach((function(t){D.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach((function(t){return D.push("- "+t+"\n")}))})),S.forEach((function(t){return t.destroy()})),this.reportError(D)}var I=new Map,T=new Map;l.forEach((function(t){var e=t.element;i.has(e)&&(T.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,I))})),a.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){c(I,e,[]).push(t),t.destroy()}))}));var P=v.filter((function(t){return qt(t,h,p)})),A=new Map;Ft(A,this.driver,w,p,r.a).forEach((function(t){qt(t,h,p)&&P.push(t)}));var M=new Map;g.forEach((function(t,e){Ft(M,n.driver,new Set(t),h,r.p)})),P.forEach((function(t){var e=A.get(t),n=M.get(t);A.set(t,Object.assign({},e,n))}));var N=[],L=[],F={};l.forEach((function(t){var e=t.element,r=t.player,l=t.instruction;if(i.has(e)){if(d.has(e))return r.onDestroy((function(){return j(e,l.toStyles)})),r.disabled=!0,r.overrideTotalTime(l.totalTime),void a.push(r);var u=F;if(T.size>1){for(var c=e,h=[];c=c.parentNode;){var p=T.get(c);if(p){u=p;break}h.push(c)}h.forEach((function(t){return T.set(t,u)}))}var f=n._buildAnimation(r.namespaceId,l,I,s,M,A);if(r.setRealPlayer(f),u===F)N.push(r);else{var m=n.playersByElement.get(u);m&&m.length&&(r.parentPlayer=o(m)),a.push(r)}}else R(e,l.fromStyles),r.onDestroy((function(){return j(e,l.toStyles)})),L.push(r),d.has(e)&&a.push(r)})),L.forEach((function(t){var e=s.get(t.element);if(e&&e.length){var n=o(e);t.setRealPlayer(n)}})),a.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var V=0;V0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.d(t.duration,t.delay)},t}(),Mt=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return s(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=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()}))},t.prototype._queueEvent=function(t,e){c(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function Nt(t){return t&&1===t.nodeType}function Lt(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Ft(t,e,n,r,i){var o=[];n.forEach((function(t){return o.push(Lt(t))}));var a=[];r.forEach((function(n,r){var o={};n.forEach((function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r[Tt]=It,a.push(r))})),t.set(r,o)}));var s=0;return n.forEach((function(t){return Lt(t,o[s++])})),a}function Vt(t,e){var n=new Map;if(t.forEach((function(t){return n.set(t,[])})),0==e.length)return n;var r=new Set(e),i=new Map;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var o=i.get(e);if(o)return o;var a=e.parentNode;return o=n.has(a)?a:r.has(a)?1:t(a),i.set(e,o),o}(t);1!==e&&n.get(e).push(t)})),n}var Bt="$$classes";function zt(t,e){if(t.classList)t.classList.add(e);else{var n=t[Bt];n||(n=t[Bt]={}),n[e]=!0}}function Ht(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Bt];n&&delete n[e]}}function Ut(t,e,n){o(n).onDone((function(){return t.processLeaveNode(e)}))}function qt(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach((function(t){return i.add(t)})):e.set(t,r),n.delete(t),!0}var Kt=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Rt(t,e,n),this._timelineEngine=new Et(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=X(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(t,e){return new xt(t,e)}(r,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,r,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=__read(h(n),2),o=i[0],a=i[1];this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=__read(h(n),2),a=o[0],s=o[1];return this._timelineEngine.listen(a,e,s,i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function Wt(t,e){var n=null,r=null;return Array.isArray(e)&&e.length?(n=Yt(e[0]),e.length>1&&(r=Yt(e[e.length-1]))):e&&(n=Yt(e)),n||r?new Gt(t,n,r):null}var Gt=function(){var t=function(){function t(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}return t.prototype.start=function(){this._state<1&&(this._startStyles&&j(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(j(this._element,this._initialStyles),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),j(this._element,this._initialStyles),this._state=3)},t}();return t.initialStylesByElement=new WeakMap,t}();function Yt(t){for(var e=null,n=Object.keys(t),r=0;r=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),ne(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._element,e=this._name,n=ie(t,"").split(","),(r=ee(n,e))>=0&&(n.splice(r,1),re(t,"",n.join(","))))},t}();function $t(t,e,n){re(t,"PlayState",n,te(t,e))}function te(t,e){var n=ie(t,"");return n.indexOf(",")>0?ee(n.split(","),e):ee([n],e)}function ee(t,e){for(var n=0;n=0)return n;return-1}function ne(t,e,n){n?t.removeEventListener(Xt,e):t.addEventListener(Xt,e)}function re(t,e,n,r){var i=Zt+e;if(null!=r){var o=t.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}t.style[i]=n}function ie(t,e){return t.style[Zt+e]}var oe="linear",ae=function(){function t(t,e,n,r,i,o,a,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||oe,this.totalTime=r+i,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=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=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new Jt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:K(t.element,r))}))}this.currentSnapshot=e},t}(),se=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).element=e,r._startingStyles={},r.__initialized=!1,r._styles=C(n),r}return __extends(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,t.prototype.destroy.call(this))},e}(r.d),le=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map((function(t){return C(t)}));var r="@keyframes "+e+" {\n",i="";n.forEach((function(t){i=" ";var e=parseFloat(t.offset);r+=""+i+100*e+"% {\n",i+=" ",Object.keys(t).forEach((function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+e+": "+n+";\n")}})),r+=i+"}\n"})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},t.prototype.animate=function(t,e,n,r,i,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter((function(t){return t instanceof ae})),l={};H(n,r)&&s.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return l[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=U(t,e,l));if(0==n)return new se(t,u);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);var p=Wt(t,e),d=new ae(t,e,c,n,r,i,u,p);return d.onDestroy((function(){var t;(t=h).parentNode.removeChild(t)})),d},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),ue=function(){function t(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=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()}))}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=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()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:K(t.element,n))})),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),ce=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(pe().toString()),this._cssKeyframesDriver=new le}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,i,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var l={},u=o.filter((function(t){return t instanceof ue}));H(n,r)&&u.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return l[t]=e[t]}))}));var c=Wt(t,e=U(t,e=e.map((function(t){return T(t,!1)})),l));return new ue(t,e,s,c)},t}();function he(){return"function"==typeof pe()}function pe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("2fFW"),i=n("NJ4a"),o={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete:function(){}}},hOhj:function(t,e,n){"use strict";var r=n("8Y7J"),i=(n("KCVW"),n("XNiG")),o=n("LRne"),a=n("HDdC"),s=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var l=n("VRyK"),u=(n("/uUt"),n("3UWI")),c=n("pLZG");n("1G5W"),n("JX91"),n("7o/Q"),n("eIep"),n("quSY"),n("WMd4"),n("9ppp"),n("Ylt2");var h=n("/HVE");n("8bJo"),n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return b}));var p,d,f=((p=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new i.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((function(){return e._scrolled.next(t)})))},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?new a.a((function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Object(u.a)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Object(o.a)()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,n){return t.deregister(n)})),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(c.a)((function(t){return!t||n.indexOf(t)>-1})))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach((function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)})),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Object(s.a)(window.document,"scroll").subscribe((function(){return t._scrolled.next()}))}))},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new p(Object(r.Rb)(r.x),Object(r.Rb)(h.a))},token:p,providedIn:"root"}),p),m=function(){},g=((d=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular((function(){n._change=t.isBrowser?Object(l.a)(Object(s.a)(window,"resize"),Object(s.a)(window,"orientationchange")):Object(o.a)(),n._invalidateCache=n.change().subscribe((function(){return n._updateViewportSize()}))}))}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(Object(u.a)(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new d(Object(r.Rb)(h.a),Object(r.Rb)(r.x))},token:d,providedIn:"root"}),d),b={provide:g,deps:[[new r.y,new r.H,g],h.a,r.x],useFactory:function(t,e,n){return t||new g(e,n)}}},iInd:function(t,e,n){"use strict";var r=n("SVse"),i=n("8Y7J"),o=n("LRne"),a=n("Cfvw"),s=n("XNiG"),l=n("9ppp"),u=function(t){function e(e){var n=this;return(n=t.call(this)||this)._value=e,n}return __extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(s.a),c=n("HDdC"),h=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}(),p=n("itXk"),d=n("NXyV"),f=n("EY2u"),m=n("lJxs"),g=n("0EUg"),b=n("pLZG"),y=n("7o/Q"),v=n("4I5i");function _(t){return function(e){return 0===t?Object(f.b)():e.lift(new w(t))}}var w=function(){function t(t){if(this.total=t,this.total<0)throw new v.a}return t.prototype.call=function(t,e){return e.subscribe(new C(t,this.total))},t}(),C=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.ring=new Array,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(t?Object(b.a)((function(e,n){return t(e,n,r)})):T.a,_(1),n?k(e):x((function(){return new h})))}}var A=n("l7GE"),j=n("51Dv"),R=n("ZUHj");function M(t){return function(e){var n=new N(t),r=e.lift(n);return n.caught=r}}var N=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new L(t,this.selector,this.caught))},t}(),L=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this).selector=n,i.caught=r,i}return __extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(i){return void t.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var r=new j.a(this,void 0,void 0);this.add(r),Object(R.a)(this,n,void 0,void 0,r)}},e}(A.a),F=n("IzEk");function V(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(b.a)((function(e,n){return t(e,n,r)})):T.a,Object(F.a)(1),n?k(e):x((function(){return new h})))}}var B=n("5+tZ"),z=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new H(t,this.predicate,this.thisArg,this.source))},t}(),H=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e)||this).predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return __extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(y.a),U=n("eIep"),q=n("JX91");function K(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new W(t,e,n))}}var W=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new G(t,this.accumulator,this.seed,this.hasSeed))},t}(),G=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e)||this).accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return __extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(y.a),Y=n("bOdf"),Q=n("mCNh"),Z=n("vkgz"),X=n("quSY"),J=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new $(t,this.callback))},t}(),$=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).add(new X.a(n)),r}return __extends(e,t),e}(y.a),tt=n("bHdf"),et=n("cUpR");n.d(e,"C",(function(){return vt})),n.d(e,"s",(function(){return Rn})),n.d(e,"z",(function(){return qn})),n.d(e,"u",(function(){return Fn})),n.d(e,"A",(function(){return Kn})),n.d(e,"B",(function(){return Wn})),n.d(e,"w",(function(){return Bn})),n.d(e,"v",(function(){return Vn})),n.d(e,"y",(function(){return Un})),n.d(e,"t",(function(){return Nn})),n.d(e,"x",(function(){return Hn})),n.d(e,"D",(function(){return An})),n.d(e,"l",(function(){return wn})),n.d(e,"m",(function(){return Cn})),n.d(e,"o",(function(){return En})),n.d(e,"j",(function(){return hn})),n.d(e,"k",(function(){return _n})),n.d(e,"i",(function(){return dn})),n.d(e,"g",(function(){return jn})),n.d(e,"h",(function(){return Gn})),n.d(e,"n",(function(){return Ln})),n.d(e,"b",(function(){return Sn})),n.d(e,"d",(function(){return Tn})),n.d(e,"e",(function(){return In})),n.d(e,"f",(function(){return Dn})),n.d(e,"p",(function(){return Pn})),n.d(e,"a",(function(){return ce})),n.d(e,"q",(function(){return mn})),n.d(e,"c",(function(){return Ut})),n.d(e,"r",(function(){return Ht}));var nt=function(t,e){this.id=t,this.url=e},rt=function(t){function e(e,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=this;return(o=t.call(this,e,n)||this).navigationTrigger=r,o.restoredState=i,o}return __extends(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(nt),it=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).urlAfterRedirects=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(nt),ot=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).reason=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(nt),at=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).error=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(nt),st=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),lt=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),ut=function(t){function e(e,n,r,i,o){var a=this;return(a=t.call(this,e,n)||this).urlAfterRedirects=r,a.state=i,a.shouldActivate=o,a}return __extends(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(nt),ct=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),ht=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),pt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),dt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),ft=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),mt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),gt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),bt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),yt=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),vt=function(){},_t="primary",wt=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Ct(t){return new wt(t)}var xt="ngNavigationCancelingError";function Ot(t){var e=Error("NavigationCancelingError: "+t);return e[xt]=!0,e}function St(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function Rt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Mt(t){return Object(i.xb)(t)?t:Object(i.yb)(t)?Object(a.a)(Promise.resolve(t)):Object(o.a)(t)}function Nt(t,e,n){return n?function(t,e){return Pt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Bt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return e[n]===t[n]}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Bt(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Bt(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!t(n.children[o],r.children[o]))return!1}return!0}var a=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!Bt(n.segments,a)&&!!n.children[_t]&&e(n.children[_t],r,s)}(e,n,n.segments)}(t.root,e.root)}var Lt=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return qt.serialize(this)},t}(),Ft=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Rt(e,(function(t,e){return t.parent=n}))}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Kt(this)},t}(),Vt=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Xt(this)},t}();function Bt(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function zt(t,e){var n=[];return Rt(t.children,(function(t,r){r===_t&&(n=n.concat(e(t,r)))})),Rt(t.children,(function(t,r){r!==_t&&(n=n.concat(e(t,r)))})),n}var Ht=function(){},Ut=function(){function t(){}return t.prototype.parse=function(t){var e=new ne(t);return new Lt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n,r;return"/"+function t(e,n){if(!e.hasChildren())return Kt(e);if(n){var r=e.children[_t]?t(e.children[_t],!1):"",i=[];return Rt(e.children,(function(e,n){n!==_t&&i.push(n+":"+t(e,!1))})),i.length>0?r+"("+i.join("//")+")":r}var o=zt(e,(function(n,r){return r===_t?[t(e.children[_t],!1)]:[r+":"+t(n,!1)]}));return Kt(e)+"/("+o.join("//")+")"}(t.root,!0)+(n=t.queryParams,(r=Object.keys(n).map((function(t){var e=n[t];return Array.isArray(e)?e.map((function(e){return Gt(t)+"="+Gt(e)})).join("&"):Gt(t)+"="+Gt(e)}))).length?"?"+r.join("&"):"")+("string"==typeof t.fragment?"#"+(e=t.fragment,encodeURI(e)):"")},t}(),qt=new Ut;function Kt(t){return t.segments.map((function(t){return Xt(t)})).join("/")}function Wt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gt(t){return Wt(t).replace(/%3B/gi,";")}function Yt(t){return Wt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qt(t){return decodeURIComponent(t)}function Zt(t){return Qt(t.replace(/\+/g,"%20"))}function Xt(t){return""+Yt(t.path)+(e=t.parameters,Object.keys(e).map((function(t){return";"+Yt(t)+"="+Yt(e[t])})).join(""));var e}var Jt=/^[^\/()?;=#]+/;function $t(t){var e=t.match(Jt);return e?e[0]:""}var te=/^[^=?]+/,ee=/^[^?]+/,ne=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ft([],{}):new Ft([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=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[_t]=new Ft(t,e)),n},t.prototype.parseSegment=function(){var t=$t(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Vt(Qt(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=$t(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=$t(this.remaining);r&&this.capture(n=r)}t[Qt(e)]=Qt(n)}},t.prototype.parseQueryParam=function(t){var e=function(t){var e=t.match(te);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(ee);return e?e[0]:""}(this.remaining);r&&this.capture(n=r)}var i=Zt(e),o=Zt(n);if(t.hasOwnProperty(i)){var a=t[i];Array.isArray(a)||(t[i]=a=[a]),a.push(o)}else t[i]=o}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=$t(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=_t);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[_t]:new Ft([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),re=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=ie(t,this._root);return e?e.children.map((function(t){return t.value})):[]},t.prototype.firstChild=function(t){var e=ie(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=oe(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))},t.prototype.pathFromRoot=function(t){return oe(t,this._root).map((function(t){return t.value}))},t}();function ie(t,e){var n,r;if(t===e.value)return e;try{for(var i=__values(e.children),o=i.next();!o.done;o=i.next()){var a=ie(t,o.value);if(a)return a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}function oe(t,e){var n,r;if(t===e.value)return[e];try{for(var i=__values(e.children),o=i.next();!o.done;o=i.next()){var a=oe(t,o.value);if(a.length)return a.unshift(e),a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return[]}var ae=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function se(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var le=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).snapshot=n,fe(r,e),r}return __extends(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(re);function ue(t,e){var n=function(t,e){var n=new pe([],{},{},"",{},_t,e,null,t.root,-1,{});return new de("",new ae(n,[]))}(t,e),r=new u([new Vt("",{})]),i=new u({}),o=new u({}),a=new u({}),s=new u(""),l=new ce(r,i,a,s,o,_t,e,n.root);return l.snapshot=n.root,new le(new ae(l,[]),n)}var ce=function(){function t(t,e,n,r,i,o,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(m.a)((function(t){return Ct(t)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)((function(t){return Ct(t)})))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function he(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(t){return t.reduce((function(t,e){return{params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var pe=function(){function t(t,e,n,r,i,o,a,s,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Ct(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map((function(t){return t.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),de=function(t){function e(e,n){var r=this;return(r=t.call(this,n)||this).url=e,fe(r,n),r}return __extends(e,t),e.prototype.toString=function(){return me(this._root)},e}(re);function fe(t,e){e.value._routerState=t,e.children.forEach((function(e){return fe(t,e)}))}function me(t){var e=t.children.length>0?" { "+t.children.map(me).join(", ")+" } ":"";return""+t.value+e}function ge(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Pt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Pt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&ye(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==jt(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),we=function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n};function Ce(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[_t]:""+t}function xe(t,e,n){if(t||(t=new Ft([],{})),0===t.segments.length&&t.hasChildren())return Oe(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var a=t.segments[i],s=Ce(n[r]),l=r0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!De(s,l,a))return o;r+=2}else{if(!De(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new Ft([],((r={})[_t]=t,r)):t;return new Lt(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(m.a)((function(t){return new Ft([],t)}))):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Object(o.a)({});var a=[],s=[],l={};return Rt(n,(function(n,i){var o,u,c=(o=i,u=n,r.expandSegmentGroup(t,e,u,o)).pipe(Object(m.a)((function(t){return l[i]=t})));i===_t?a.push(c):s.push(c)})),o.a.apply(null,a.concat(s)).pipe(Object(g.a)(),P(),Object(m.a)((function(){return l})))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,i,a){var s=this;return Object(o.a).apply(void 0,__spread(n)).pipe(Object(m.a)((function(l){return s.expandSegmentAgainstRoute(t,e,n,l,r,i,a).pipe(M((function(t){if(t instanceof je)return Object(o.a)(null);throw t})))})),Object(g.a)(),V((function(t){return!!t})),M((function(t,n){if(t instanceof h||"EmptyError"===t.name){if(s.noLeftoversInUrl(e,r,i))return Object(o.a)(new Ft([],{}));throw new je(e)}throw t})))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,a){return He(r)!==o?Me(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Me(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ne(o):this.lineralizeSegments(n,o).pipe(Object(B.a)((function(n){var o=new Ft(n,{});return i.expandSegment(t,o,e,n,r,!1)})))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var a=this,s=Ve(e,r,i),l=s.matched,u=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!l)return Me(e);var p=this.applyRedirectCommands(u,r.redirectTo,h);return r.redirectTo.startsWith("/")?Ne(p):this.lineralizeSegments(r,p).pipe(Object(B.a)((function(r){return a.expandSegment(t,e,n,r.concat(i.slice(c)),o,!1)})))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(m.a)((function(t){return n._loadedConfig=t,new Ft(r,{})}))):Object(o.a)(new Ft(r,{}));var a=Ve(e,n,r),s=a.matched,l=a.consumedSegments,u=a.lastChild;if(!s)return Me(e);var c=r.slice(u);return this.getChildConfig(t,n,r).pipe(Object(B.a)((function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some((function(n){return ze(t,e,n)&&He(n)!==_t}))}(t,n,r)?{segmentGroup:Be(new Ft(e,function(t,e){var n,r,i={};i[_t]=e;try{for(var o=__values(t),a=o.next();!a.done;a=o.next()){var s=a.value;""===s.path&&He(s)!==_t&&(i[He(s)]=new Ft([],{}))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new Ft(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return ze(t,e,n)}))}(t,n,r)?{segmentGroup:Be(new Ft(t.segments,function(t,e,n,r){var i,o,a={};try{for(var s=__values(n),l=s.next();!l.done;l=s.next()){var u=l.value;ze(t,e,u)&&!r[He(u)]&&(a[He(u)]=new Ft([],{}))}}catch(c){i={error:c}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return Object.assign({},r,a)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,l,c,r),s=a.segmentGroup,u=a.slicedSegments;return 0===u.length&&s.hasChildren()?i.expandChildren(n,r,s).pipe(Object(m.a)((function(t){return new Ft(l,t)}))):0===r.length&&0===u.length?Object(o.a)(new Ft(l,{})):i.expandSegment(n,s,r,u,_t,!0).pipe(Object(m.a)((function(t){return new Ft(l.concat(t.segments),t.children)})))})))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Object(o.a)(new Et(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):function(t,e,n){var r,i=e.canLoad;return i&&0!==i.length?Object(a.a)(i).pipe(Object(m.a)((function(r){var i,o=t.get(r);if(function(t){return t&&Pe(t.canLoad)}(o))i=o.canLoad(e,n);else{if(!Pe(o))throw new Error("Invalid CanLoad guard");i=o(e,n)}return Mt(i)}))).pipe(Object(g.a)(),(r=function(t){return!0===t},function(t){return t.lift(new z(r,void 0,t))})):Object(o.a)(!0)}(t.injector,e,n).pipe(Object(B.a)((function(n){return n?r.configLoader.load(t.injector,e).pipe(Object(m.a)((function(t){return e._loadedConfig=t,t}))):function(t){return new c.a((function(e){return e.error(Ot("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))}))}(e)}))):Object(o.a)(new Et([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children[_t])return Le(t.redirectTo);r=r.children[_t]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new Lt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Rt(t,(function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t})),n},t.prototype.createSegmentGroup=function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),a={};return Rt(e.children,(function(e,o){a[o]=i.createSegmentGroup(t,e,n,r)})),new Ft(o,a)},t.prototype.createSegments=function(t,e,n,r){var i=this;return e.map((function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)}))},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,i=0;try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.path===t.path)return e.splice(i),s;i++}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return t},t}();function Ve(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||St)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Be(t){if(1===t.numberOfChildren&&t.children[_t]){var e=t.children[_t];return new Ft(t.segments.concat(e.segments),e.children)}return t}function ze(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function He(t){return t.outlet||_t}var Ue=function(t){this.path=t,this.route=this.path[this.path.length-1]},qe=function(t,e){this.component=t,this.route=e};function Ke(t,e,n){var r=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(r?r.module.injector:n).get(t)}function We(t,e,n){var r=se(t),i=t.value;Rt(r,(function(t,r){We(t,i.component?e?e.children.getContext(r):null:e,n)})),n.canDeactivateChecks.push(new qe(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var Ge=Symbol("INITIAL_VALUE");function Ye(){return Object(U.a)((function(t){return Object(p.a).apply(void 0,__spread(t.map((function(t){return t.pipe(Object(F.a)(1),Object(q.a)(Ge))})))).pipe(K((function(t,e){var n=!1;return e.reduce((function(t,r,i){if(t!==Ge)return t;if(r===Ge&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||Ae(r))return r}return t}),t)}),Ge),Object(b.a)((function(t){return t!==Ge})),Object(m.a)((function(t){return Ae(t)?t:!0===t})),Object(F.a)(1))}))}function Qe(t,e){return null!==t&&e&&e(new gt(t)),Object(o.a)(!0)}function Ze(t,e){return null!==t&&e&&e(new ft(t)),Object(o.a)(!0)}function Xe(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);var i=r.map((function(r){return Object(d.a)((function(){var i,o=Ke(r,e,n);if(function(t){return t&&Pe(t.canActivate)}(o))i=Mt(o.canActivate(e,t));else{if(!Pe(o))throw new Error("Invalid CanActivate guard");i=Mt(o(e,t))}return i.pipe(V())}))}));return Object(o.a)(i).pipe(Ye())}function Je(t,e,n){var r=e[e.length-1],i=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 Object(d.a)((function(){var i=e.guards.map((function(i){var o,a=Ke(i,e.node,n);if(function(t){return t&&Pe(t.canActivateChild)}(a))o=Mt(a.canActivateChild(r,t));else{if(!Pe(a))throw new Error("Invalid CanActivateChild guard");o=Mt(a(r,t))}return o.pipe(V())}));return Object(o.a)(i).pipe(Ye())}))}));return Object(o.a)(i).pipe(Ye())}var $e=function(){},tn=function(){function t(t,e,n,r,i,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=rn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,_t),n=new pe([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},_t,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ae(n,e),i=new de(this.url,r);return this.inheritParamsAndData(i._root),Object(o.a)(i)}catch(a){return new c.a((function(t){return t.error(a)}))}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=he(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,i=zt(e,(function(e,n){return r.processSegmentGroup(t,e,n)}));return n={},i.forEach((function(t){var e=n[t.value.outlet];if(e){var r=e.url.map((function(t){return t.toString()})).join("/"),i=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[t.value.outlet]=t.value})),i.sort((function(t,e){return t.value.outlet===_t?-1:e.value.outlet===_t?1:t.value.outlet.localeCompare(e.value.outlet)})),i},t.prototype.processSegment=function(t,e,n,r){var i,o;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;try{return this.processSegmentAgainstRoute(l,e,n,r)}catch(u){if(!(u instanceof $e))throw u}}}catch(c){i={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new $e},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new $e;if((t.outlet||_t)!==r)throw new $e;var i,o=[],a=[];if("**"===t.path){var s=n.length>0?jt(n).parameters:{};i=new pe(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sn(t),r,t.component,t,en(e),nn(e)+n.length,ln(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new $e;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||St)(n,t,e);if(!r)throw new $e;var i={};Rt(r.posParams,(function(t,e){i[e]=t.path}));var o=r.consumed.length>0?Object.assign({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(e,t,n);o=l.consumedSegments,a=n.slice(l.lastChild),i=new pe(o,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sn(t),r,t.component,t,en(e),nn(e)+o.length,ln(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=rn(e,o,a,u,this.relativeLinkResolution),h=c.segmentGroup,p=c.slicedSegments;if(0===p.length&&h.hasChildren()){var d=this.processChildren(u,h);return[new ae(i,d)]}if(0===u.length&&0===p.length)return[new ae(i,[])];var f=this.processSegment(u,h,p,_t);return[new ae(i,f)]},t}();function en(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function nn(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 rn(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some((function(n){return on(t,e,n)&&an(n)!==_t}))}(t,n,r)){var o=new Ft(e,function(t,e,n,r){var i,o,a={};a[_t]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var s=__values(n),l=s.next();!l.done;l=s.next()){var u=l.value;if(""===u.path&&an(u)!==_t){var c=new Ft([],{});c._sourceSegment=t,c._segmentIndexShift=e.length,a[an(u)]=c}}}catch(h){i={error:h}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a}(t,e,r,new Ft(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return on(t,e,n)}))}(t,n,r)){var a=new Ft(t.segments,function(t,e,n,r,i,o){var a,s,l={};try{for(var u=__values(r),c=u.next();!c.done;c=u.next()){var h=c.value;if(on(t,n,h)&&!i[an(h)]){var p=new Ft([],{});p._sourceSegment=t,p._segmentIndexShift="legacy"===o?t.segments.length:e.length,l[an(h)]=p}}}catch(d){a={error:d}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}return Object.assign({},i,l)}(t,e,n,r,t.children,i));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var s=new Ft(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function on(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function an(t){return t.outlet||_t}function sn(t){return t.data||{}}function ln(t){return t.resolve||{}}function un(t,e,n,r){var i=Ke(t,e,r);return Mt(i.resolve?i.resolve(e,n):i(e,n))}function cn(t){return function(e){return e.pipe(Object(U.a)((function(e){var n=t(e);return n?Object(a.a)(n).pipe(Object(m.a)((function(){return e}))):Object(a.a)([e])})))}}var hn=function(){},pn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),dn=new i.o("ROUTES"),fn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(m.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Et(At(i.injector.get(dn)).map(Tt),i)})))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(a.a)(this.loader.load(t)):Mt(t()).pipe(Object(B.a)((function(t){return t instanceof i.t?Object(o.a)(t):Object(a.a)(e.compiler.compileModuleAsync(t))})))},t}(),mn=function(){},gn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function bn(t){throw t}function yn(t,e,n){return e.parse("/")}function vn(t,e){return Object(o.a)(null)}var _n=function(){function t(t,e,n,r,o,a,l,c){var h=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new s.a,this.errorHandler=bn,this.malformedUriErrorHandler=yn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:vn,afterPreactivation:vn},this.urlHandlingStrategy=new gn,this.routeReuseStrategy=new pn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.v),this.console=o.get(i.ab);var p=o.get(i.x);this.isNgZoneEnabled=p instanceof i.x,this.resetConfig(c),this.currentUrlTree=new Lt(new Ft([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new fn(a,l,(function(t){return h.triggerEvent(new pt(t))}),(function(t){return h.triggerEvent(new dt(t))})),this.routerState=ue(this.currentUrlTree,this.rootComponentType),this.transitions=new u({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Object(b.a)((function(t){return 0!==t.id})),Object(m.a)((function(t){return Object.assign({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),Object(U.a)((function(t){var r,i,s,l=!1,c=!1;return Object(o.a)(t).pipe(Object(Z.a)((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}})),Object(U.a)((function(t){var r,i,a,s,l=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||l)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(U.a)((function(t){var r=e.transitions.getValue();return n.next(new rt(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?f.a:[t]})),Object(U.a)((function(t){return Promise.resolve(t)})),(r=e.ngModule.injector,i=e.configLoader,a=e.urlSerializer,s=e.config,function(t){return t.pipe(Object(U.a)((function(t){return function(t,e,n,r,i){return new Fe(t,e,n,r,i).apply()}(r,i,a,t.extractedUrl,s).pipe(Object(m.a)((function(e){return Object.assign({},t,{urlAfterRedirects:e})})))})))}),Object(Z.a)((function(t){e.currentNavigation=Object.assign({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})})),function(t,n,r,i,o){return function(r){return r.pipe(Object(B.a)((function(r){return function(t,e,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new tn(t,e,n,r,i,o).recognize()}(t,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,e.serializeUrl(a)),i,o).pipe(Object(m.a)((function(t){return Object.assign({},r,{targetSnapshot:t})})));var a})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(Z.a)((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Object(Z.a)((function(t){var r=new st(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)})));if(l&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.id,c=t.extractedUrl,h=t.source,p=t.restoredState,d=t.extras,g=new rt(u,e.serializeUrl(c),h,p);n.next(g);var b=ue(c,e.rootComponentType).snapshot;return Object(o.a)(Object.assign({},t,{targetSnapshot:b,urlAfterRedirects:c,extras:Object.assign({},d,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),f.a})),cn((function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,l=a.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})})),Object(Z.a)((function(t){var n=new lt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Object(m.a)((function(t){return Object.assign({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,i=e.rootContexts,o=n._root,function t(e,n,r,i,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var a=se(n);return e.children.forEach((function(e){!function(e,n,r,i,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var a=e.value,s=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Bt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Bt(t.url,e.url)||!Pt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!be(t,e)||!Pt(t.queryParams,e.queryParams);case"paramsChange":default:return!be(t,e)}}(s,a,a.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Ue(i)):(a.data=s.data,a._resolvedData=s._resolvedData),t(e,n,a.component?l?l.children:null:r,i,o),u&&o.canDeactivateChecks.push(new qe(l&&l.outlet&&l.outlet.component||null,s))}else s&&We(n,l,o),o.canActivateChecks.push(new Ue(i)),t(e,null,a.component?l?l.children:null:r,i,o)}(e,a[e.value.outlet],r,i.concat([e.value]),o),delete a[e.value.outlet]})),Rt(a,(function(t,e){return We(t,r.getContext(e),o)})),o}(o,r?r._root:null,i,[o.value]))});var n,r,i,o})),(i=e.ngModule.injector,s=function(t){return e.triggerEvent(t)},function(t){return t.pipe(Object(B.a)((function(t){var e=t.targetSnapshot,n=t.currentSnapshot,r=t.guards,l=r.canActivateChecks,u=r.canDeactivateChecks;return 0===u.length&&0===l.length?Object(o.a)(Object.assign({},t,{guardsResult:!0})):function(t,e,n,r){return Object(a.a)(t).pipe(Object(B.a)((function(t){return function(t,e,n,r,i){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(o.a)(!0);var s=a.map((function(o){var a,s=Ke(o,e,i);if(function(t){return t&&Pe(t.canDeactivate)}(s))a=Mt(s.canDeactivate(t,e,n,r));else{if(!Pe(s))throw new Error("Invalid CanDeactivate guard");a=Mt(s(t,e,n,r))}return a.pipe(V())}));return Object(o.a)(s).pipe(Ye())}(t.component,t.route,n,e,r)})),V((function(t){return!0!==t}),!0))}(u,e,n,i).pipe(Object(B.a)((function(t){return t&&"boolean"==typeof t?function(t,e,n,r){return Object(a.a)(e).pipe(Object(Y.a)((function(e){return Object(a.a)([Ze(e.route.parent,r),Qe(e.route,r),Je(t,e.path,n),Xe(t,e.route,n)]).pipe(Object(g.a)(),V((function(t){return!0!==t}),!0))})),V((function(t){return!0!==t}),!0))}(e,l,i,s):Object(o.a)(t)})),Object(m.a)((function(e){return Object.assign({},t,{guardsResult:e})})))})))}),Object(Z.a)((function(t){if(Ae(t.guardsResult)){var n=Ot('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}})),Object(Z.a)((function(t){var n=new ut(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),Object(b.a)((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new ot(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0})),cn((function(t){if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(Z.a)((function(t){var n=new ct(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),function(t,e){return function(n){return n.pipe(Object(B.a)((function(n){var r=n.targetSnapshot,i=n.guards.canActivateChecks;return i.length?Object(a.a)(i).pipe(Object(Y.a)((function(n){return function(t,e,n,r){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return Object(o.a)({});if(1===i.length){var s=i[0];return un(t[s],e,n,r).pipe(Object(m.a)((function(t){var e;return(e={})[s]=t,e})))}var l={};return Object(a.a)(i).pipe(Object(B.a)((function(i){return un(t[i],e,n,r).pipe(Object(m.a)((function(t){return l[i]=t,t})))}))).pipe(P(),Object(m.a)((function(){return l})))}(t._resolve,t,e,r).pipe(Object(m.a)((function(e){return t._resolvedData=e,t.data=Object.assign({},t.data,he(t,n).resolve),null})))}(n.route,r,t,e)})),function(t,e){return arguments.length>=2?function(n){return Object(Q.a)(K(t,e),_(1),k(e))(n)}:function(e){return Object(Q.a)(K((function(e,n,r){return t(e,n,r+1)})),_(1))(e)}}((function(t,e){return t})),Object(m.a)((function(t){return n}))):Object(o.a)(n)})))}}(e.paramsInheritanceStrategy,e.ngModule.injector),Object(Z.a)((function(t){var n=new ht(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})))})),cn((function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,l=a.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})})),Object(m.a)((function(t){var n,r,i,o,a=(n=e.routeReuseStrategy,r=t.targetSnapshot,i=t.currentRouterState,o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var i=function(e,n,r){return n.children.map((function(n){var i,o;try{for(var a=__values(r.children),s=a.next();!s.done;s=a.next()){var l=s.value;if(e.shouldReuseRoute(l.value.snapshot,n.value))return t(e,n,l)}}catch(u){i={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return t(e,n)}))}(e,n,r);return new ae(l,i)}var o=e.retrieve(n.value);if(o){var a=o.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;ri;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new we(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),s=a.processChildren?Oe(a.segmentGroup,a.index,o.commands):xe(a.segmentGroup,a.index,o.commands);return ve(a.segmentGroup,s,e,r,i)}(u,this.currentUrlTree,t,h,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Object(i.V)()&&this.isNgZoneEnabled&&!i.x.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Ae(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e=0&&t-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._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var r=e[n];r===t||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},t.prototype._closeDialogs=function(t){for(var e=t.length;e--;)t[e].close()},t}(),O=0,S=function(){function t(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}return t.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=I(this._elementRef,this._dialog.openDialogs))},t.prototype.ngOnChanges=function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)},t}(),E=function(){function t(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+O++}return t.prototype.ngOnInit=function(){var t=this;this._dialogRef||(this._dialogRef=I(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)}))},t}(),k=function(){},D=function(){};function I(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}var T=function(){}},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("7o/Q"),i=n("KqfI"),o=n("n6bG");function a(t,e,n){return function(r){return r.lift(new s(t,e,n))}}var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))},t}(),l=function(t){function e(e,n,r,a){var s=this;return(s=t.call(this,e)||this)._tapNext=i.a,s._tapError=i.a,s._tapComplete=i.a,s._tapError=r||i.a,s._tapComplete=a||i.a,Object(o.a)(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||i.a,s._tapError=n.error||i.a,s._tapComplete=n.complete||i.a),s}return __extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(r.a)},wlNb:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(t){this.user=t.user,this.role=t.role,this.admin=t.admin}return Object.defineProperty(t.prototype,"isStaff",{get:function(){return"staff"===this.role},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAdmin",{get:function(){return this.isStaff&&this.admin},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLogged",{get:function(){return null!=this.user},enumerable:!0,configurable:!0}),t}()},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("HDdC"),i=n("DH7j"),o=n("n6bG"),a=n("lJxs");function s(t,e,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?s(t,e,n).pipe(Object(a.a)((function(t){return Object(i.a)(t)?l.apply(void 0,__spread(t)):l(t)}))):new r.a((function(r){!function t(e,n,r,i,o){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,r,o),a=function(){return s.removeEventListener(n,r,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,r),a=function(){return l.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,r),a=function(){return u.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c1?Array.prototype.slice.call(arguments):t)}),r,n)}))}},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function a(t,e){return e?Object(o.a)(t,e):new r.a(Object(i.a)(t))}},"z+Ro":function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return r}))},zMNK:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"g",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return p}));var r=n("8Y7J");function i(){throw Error("Host already has a portal attached")}var o=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&i(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),a=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this).component=e,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=i,o}return __extends(e,t),e}(o),s=function(t){function e(e,n,r){var i=this;return(i=t.call(this)||this).templateRef=e,i.viewContainerRef=n,i.context=r,i}return __extends(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(o),l=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&i(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof a?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof s?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),u=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this).outletElement=e,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return __extends(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn((function(){return e.destroy()}))):(e=r.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)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context);return r.detectChanges(),r.rootNodes.forEach((function(t){return e.outletElement.appendChild(t)})),this.setDisposeFn((function(){var t=n.indexOf(r);-1!==t&&n.remove(t)})),r},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(l),c=function(t){function e(e,n){var i=this;return(i=t.call(this)||this)._componentFactoryResolver=e,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new r.m,i}return __extends(e,t),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&t.prototype.detach.call(this),e&&t.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){t.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=n.createComponent(r,n.length,e.injector||n.injector);return t.prototype.setDisposeFn.call(this,(function(){return i.destroy()})),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i},e.prototype.attachTemplatePortal=function(e){var n=this;e.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return t.prototype.setDisposeFn.call(this,(function(){return n._viewContainerRef.clear()})),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r},e}(l),h=function(){},p=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)},t}()},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("8Y7J"),i=n("AytR"),o=function(){},a=function(){function t(){this.title="uds"}return t.prototype.ngOnInit=function(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})},t}(),s=n("iInd"),l=r.pb({encapsulation:2,styles:[],data:{}});function u(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.qb(1,212992,null,0,s.o,[s.b,r.N,r.j,[8,null],r.h],null,null)],(function(t,e){t(e,1,0)}),null)}var c=r.nb("ng-component",s.C,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"ng-component",[],null,null,null,u,l)),r.qb(1,49152,null,0,s.C,[],null,null)],null,null)}),{},{},[]),h=n("GS7A"),p=n("zMNK"),d=n("XNiG"),f=n("quSY"),m=n("VRyK"),g=n("LRne"),b=n("7Hc7"),y=n("5GAg"),v=n("Xd0L"),_=n("KCVW"),w=n("dvZr"),C=n("JX91"),x=n("eIep"),O=n("IzEk"),S=n("pLZG"),E=n("1G5W"),k=n("D0XW"),D=n("7o/Q"),I=n("WMd4");function T(t,e){var n;void 0===e&&(e=k.a);var r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return function(t){return t.lift(new P(r,e))}}var P=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new A(t,this.delay,this.scheduler))},t}(),A=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this).delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return __extends(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new j(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(I.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(I.a.createComplete()),this.unsubscribe()},e}(D.a),j=function(t,e){this.time=t,this.notification=e},R=n("QQfA"),M=n("/HVE"),N=new r.o("MAT_MENU_PANEL"),L=function(){},F=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this)._elementRef=e,o._focusMonitor=r,o._parentMenu=i,o.role="menuitem",o._hovered=new d.a,o._highlighted=!1,o._triggersSubmenu=!1,r&&r.monitor(o._elementRef,!1),i&&i.addItem&&i.addItem(o),o._document=n,o}return __extends(e,t),e.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)},e.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._checkDisabled=function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())},e.prototype._handleMouseEnter=function(){this._hovered.next(this)},e.prototype.getLabel=function(){var t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,n="";if(t.childNodes)for(var r=t.childNodes.length,i=0;i')}(),this._xPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yPosition",{get:function(){return this._yPosition},set:function(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{set:function(t){var e=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(t){e._classList[t]=!1})),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach((function(t){e._classList[t]=!0})),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.panelClass},set:function(t){this.panelClass=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.setPositionClasses()},t.prototype.ngAfterContentInit=function(){var t=this;this._updateDirectDescendants(),this._keyManager=new y.d(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe((function(){return t.closed.emit("tab")}))},t.prototype.ngOnDestroy=function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()},t.prototype._hovered=function(){return this._directDescendantItems.changes.pipe(Object(C.a)(this._directDescendantItems),Object(x.a)((function(t){return Object(m.a).apply(void 0,__spread(t.map((function(t){return t._hovered}))))})))},t.prototype.addItem=function(t){},t.prototype.removeItem=function(t){},t.prototype._handleKeydown=function(t){var e=t.keyCode,n=this._keyManager;switch(e){case w.e:Object(w.o)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case w.g:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case w.i:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case w.f:case w.c:Object(w.o)(t)||(e===w.f?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==w.l&&e!==w.b||n.setFocusOrigin("keyboard"),n.onKeydown(t)}},t.prototype.focusFirstItem=function(t){void 0===t&&(t="program");var e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(O.a)(1)).subscribe((function(){return e.setFocusOrigin(t).setFirstItemActive()})):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}},t.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},t.prototype.setElevation=function(t){var e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find((function(t){return t.startsWith("mat-elevation-z")}));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},t.prototype.setPositionClasses=function(t,e){void 0===t&&(t=this.xPosition),void 0===e&&(e=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e},t.prototype._startAnimation=function(){this._panelAnimationState="enter"},t.prototype._resetAnimation=function(){this._panelAnimationState="void"},t.prototype._onAnimationDone=function(t){this._animationDone.next(t),this._isAnimating=!1},t.prototype._onAnimationStart=function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)},t.prototype._updateDirectDescendants=function(){var t=this;this._allItems.changes.pipe(Object(C.a)(this._allItems)).subscribe((function(e){t._directDescendantItems.reset(e.filter((function(e){return e._parentMenu===t}))),t._directDescendantItems.notifyOnChanges()}))},t}()),z=function(t){function e(e,n,r){return t.call(this,e,n,r)||this}return __extends(e,t),e}(B),H=new r.o("mat-menu-scroll-strategy");function U(t){return function(){return t.scrollStrategies.reposition()}}var q=Object(M.f)({passive:!0}),K=function(){function t(t,e,n,i,o,a,s,l){var u=this;this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=o,this._menuItemInstance=a,this._dir=s,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.a.EMPTY,this._hoverSubscription=f.a.EMPTY,this._menuCloseSubscription=f.a.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new r.m,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.m,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,q),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=i}return Object.defineProperty(t.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(t){this.menu=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe((function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)}))))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},t.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,q),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(t.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),t.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},t.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},t.prototype.openMenu=function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return t.closeMenu()})),this._initMenu(),this.menu instanceof B&&this.menu._startAnimation()}},t.prototype.closeMenu=function(){this.menu.close.emit()},t.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)},t.prototype._destroyMenu=function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof B?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Object(S.a)((function(t){return"void"===t.toState})),Object(O.a)(1),Object(E.a)(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach()),this._restoreFocus()}},t.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},t.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}},t.prototype._restoreFocus=function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},t.prototype._setIsMenuOpen=function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)},t.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()},t.prototype._createOverlay=function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},t.prototype._getOverlayConfig=function(){return new R.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},t.prototype._subscribeToPositions=function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe((function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")}))},t.prototype._setPosition=function(t){var e=__read("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=e[0],r=e[1],i=__read("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=i[0],a=i[1],s=__read([o,a],2),l=s[0],u=s[1],c=__read([n,r],2),h=c[0],p=c[1],d=0;this.triggersSubmenu()?(p=n="before"===this.menu.xPosition?"start":"end",r=h="end"===n?"start":"end",d="bottom"===o?8:-8):this.menu.overlapTrigger||(l="top"===o?"bottom":"top",u="top"===a?"bottom":"top"),t.withPositions([{originX:n,originY:l,overlayX:h,overlayY:o,offsetY:d},{originX:r,originY:l,overlayX:p,overlayY:o,offsetY:d},{originX:n,originY:u,overlayX:h,overlayY:a,offsetY:-d},{originX:r,originY:u,overlayX:p,overlayY:a,offsetY:-d}])},t.prototype._menuClosingActions=function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),r=this._parentMenu?this._parentMenu.closed:Object(g.a)(),i=this._parentMenu?this._parentMenu._hovered().pipe(Object(S.a)((function(e){return e!==t._menuItemInstance})),Object(S.a)((function(){return t._menuOpen}))):Object(g.a)();return Object(m.a)(e,r,i,n)},t.prototype._handleMousedown=function(t){Object(y.h)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())},t.prototype._handleKeydown=function(t){var e=t.keyCode;this.triggersSubmenu()&&(e===w.i&&"ltr"===this.dir||e===w.g&&"rtl"===this.dir)&&this.openMenu()},t.prototype._handleClick=function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()},t.prototype._handleHover=function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(S.a)((function(e){return e===t._menuItemInstance&&!e.disabled})),T(0,b.a)).subscribe((function(){t._openedBy="mouse",t.menu instanceof B&&t.menu._isAnimating?t.menu._animationDone.pipe(Object(O.a)(1),T(0,b.a),Object(E.a)(t._parentMenu._hovered())).subscribe((function(){return t.openMenu()})):t.openMenu()})))},t.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new p.g(this.menu.templateRef,this._viewContainerRef)),this._portal},t}(),W=function(){},G=function(){},Y=n("IP0z"),Q=n("cUpR"),Z=n("SVse"),X=n("hOhj"),J=n("omvX"),$=r.pb({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function tt(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==i._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.closed.emit("click")&&r),"@transformMenu.start"===e&&(r=!1!==i._onAnimationStart(n)&&r),"@transformMenu.done"===e&&(r=!1!==i._onAnimationDone(n)&&r),r}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(2,278528,null,0,Z.i,[Z.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),r.rb(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),r.Cb(null,0)],(function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component._panelAnimationState)}))}function et(t){return r.Mb(2,[r.Ib(671088640,1,{templateRef:0}),(t()(),r.gb(0,[[1,2]],null,0,null,tt))],null,null)}var nt=r.pb({encapsulation:2,styles:[],data:{}});function rt(t){return r.Mb(2,[r.Cb(null,0),(t()(),r.rb(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),r.qb(2,212992,null,0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(t,e){t(e,1,0,r.Db(e,2).unbounded)}))}var it=function(){function t(t){this.el=t}return t.prototype.ngOnInit=function(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())},t}(),ot="accent",at=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],st=function(t){this._elementRef=t},lt=function(t){function e(e,n,r){var i,o,a=this;(a=t.call(this,e)||this)._focusMonitor=n,a._animationMode=r,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");try{for(var s=__values(at),l=s.next();!l.done;l=s.next()){var u=l.value;a._hasHostAttributes(u)&&a._getHostElement().classList.add(u)}}catch(c){i={error:c}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return e.nativeElement.classList.add("mat-button-base"),a._focusMonitor.monitor(a._elementRef,!0),a.isRoundButton&&(a.color=ot),a}return __extends(e,t),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor.focusVia(this._getHostElement(),t,e)},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._hasHostAttributes=function(){for(var t=this,e=[],n=0;n*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .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:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function pt(t){return r.Mb(2,[r.Ib(671088640,1,{ripple:0}),(t()(),r.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),r.Cb(null,0),(t()(),r.rb(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),r.qb(4,212992,[[1,4]],0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),r.rb(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,r.Db(e,4).unbounded)}))}var dt=r.pb({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-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:0;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-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-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,.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{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-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-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,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[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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,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[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 .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{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 .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .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:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function ft(t){return r.Mb(2,[r.Ib(671088640,1,{ripple:0}),(t()(),r.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),r.Cb(null,0),(t()(),r.rb(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),r.qb(4,212992,[[1,4]],0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),r.rb(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,r.Db(e,4).unbounded)}))}var mt,gt,bt=n("itXk"),yt=n("GyhO"),vt=n("HDdC"),_t=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new wt(t,this.total))},t}(),wt=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(D.a),Ct=n("Kj3r"),xt=n("lJxs"),Ot=function(){},St=new Set,Et=((gt=function(){function t(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):kt}return t.prototype.matchMedia=function(t){return this._platform.WEBKIT&&function(t){if(!St.has(t))try{mt||((mt=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(mt)),mt.sheet&&(mt.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),St.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new gt(Object(r.Rb)(M.a))},token:gt,providedIn:"root"}),gt);function kt(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var Dt,It=((Dt=function(){function t(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new d.a}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return Tt(Object(_.a)(t)).some((function(t){return e._registerQuery(t).mql.matches}))},t.prototype.observe=function(t){var e=this,n=Tt(Object(_.a)(t)).map((function(t){return e._registerQuery(t).observable})),r=Object(bt.a)(n);return(r=Object(yt.a)(r.pipe(Object(O.a)(1)),r.pipe((function(t){return t.lift(new _t(1))}),Object(Ct.a)(0)))).pipe(Object(xt.a)((function(t){var e={matches:!1,breakpoints:{}};return t.forEach((function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches})),e})))},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),r={observable:new vt.a((function(t){var r=function(n){return e._zone.run((function(){return t.next(n)}))};return n.addListener(r),function(){n.removeListener(r)}})).pipe(Object(C.a)(n),Object(xt.a)((function(e){return{query:t,matches:e.matches}})),Object(E.a)(this._destroySubject)),mql:n};return this._queries.set(t,r),r},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new Dt(Object(r.Rb)(Et),Object(r.Rb)(r.x))},token:Dt,providedIn:"root"}),Dt);function Tt(t){return t.map((function(t){return t.split(",")})).reduce((function(t,e){return t.concat(e)})).map((function(t){return t.trim()}))}var Pt={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},At=20;function jt(t){return Error('Tooltip position "'+t+'" is invalid.')}var Rt=new r.o("mat-tooltip-scroll-strategy");function Mt(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:At})}}var Nt=new r.o("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Lt=function(){function t(t,e,n,r,i,o,a,s,l,u,c,h){var p=this;this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=i,this._ariaDescriber=a,this._focusMonitor=s,this._dir=u,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new d.a,this._scrollStrategy=l;var f=e.nativeElement,m="undefined"==typeof window||window.Hammer||h;o.IOS||o.ANDROID?m||this._manualListeners.set("touchstart",(function(){return p.show()})):this._manualListeners.set("mouseenter",(function(){return p.show()})).set("mouseleave",(function(){return p.hide()})),this._manualListeners.forEach((function(t,e){return f.addEventListener(e,t)})),s.monitor(e).pipe(Object(E.a)(this._destroyed)).subscribe((function(t){t?"keyboard"===t&&i.run((function(){return p.show()})):i.run((function(){return p.hide(0)}))})),c&&c.position&&(this.position=c.position)}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(_.b)(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")},t.prototype.ngOnDestroy=function(){var t=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((function(e,n){t._elementRef.nativeElement.removeEventListener(n,e)})),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},t.prototype.show=function(t){var e=this;if(void 0===t&&(t=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new p.c(Ft,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(E.a)(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._handleKeydown=function(t){this._isTooltipVisible()&&t.keyCode===w.e&&!Object(w.o)(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))},t.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},t.prototype._createOverlay=function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(Object(E.a)(this._destroyed)).subscribe((function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run((function(){return t.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(E.a)(this._destroyed)).subscribe((function(){return t._detach()})),this._overlayRef},t.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},t.prototype._updatePosition=function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign({},e.main,n.main),Object.assign({},e.fallback,n.fallback)])},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw jt(n);t={originX:"end",originY:"center"}}var r=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:r.x,originY:r.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw jt(n);t={overlayX:"start",overlayY:"center"}}var r=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:r.x,overlayY:r.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(O.a)(1),Object(E.a)(this._destroyed)).subscribe((function(){t._tooltipInstance&&t._overlayRef.updatePosition()})))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t}(),Ft=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new d.a,this._isHandset=this._breakpointObserver.observe(Pt.Handset)}return t.prototype.show=function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()}),t)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()}),t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype.ngOnDestroy=function(){this._onHide.complete()},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t}(),Vt=function(){},Bt=n("KIbp"),zt=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},Object.defineProperty(t.prototype,"serviceImage",{get:function(){return this.api.galleryImageURL(this.service.imageId)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceName",{get:function(){var t=this.service.visual_name;return t.length>56&&(t=t.substring(0,53)+"..."),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceTooltip",{get:function(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?django.gettext("This service is currently not accessible due to schedule restrictions."):""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceClass",{get:function(){var t=["service"];return null!=this.service.to_be_replaced?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t},enumerable:!0,configurable:!0}),t.prototype.getTransportIcon=function(t){return this.api.transportIconURL(t)},t.prototype.hasActions=function(){return this.service.allow_users_remove||this.service.allow_users_reset},t.prototype.showTransportsMenu=function(){return this.service.transports.length>1&&this.service.show_transports},t.prototype.hasMenu=function(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())},t.prototype.notifyNotLaunching=function(t){this.api.gui.alert('
'+django.gettext("Launcher")+"
",t)},t.prototype.launch=function(t){this.service.maintenance?this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched")):this.service.not_accesible?this.notifyNotLaunching('
'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'
"+t+"";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();je.hasOwnProperty(e)&&!Ie.hasOwnProperty(e)&&(this.buf.push(""),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(ze(t))},t.prototype.checkClobberedElement=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: "+t.outerHTML);return e},t}(),Ve=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Be=/([^\#-~ |!])/g;function ze(t){return t.replace(/&/g,"&").replace(Ve,(function(t){return""+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Be,(function(t){return""+t.charCodeAt(0)+";"})).replace(//g,">")}function He(t,e){var n=null;try{De=De||new Ce(t);var r=e?String(e):"";n=De.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=De.getInertBodyElement(r)}while(r!==o);var a=new Fe,s=a.sanitizeChildren(Ue(n)||n);return _e()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=Ue(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function Ue(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var qe=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}(),Ke=function(){},We=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ge=/^url\(([^)]+)\)$/;function Ye(t){if(!(t=String(t).trim()))return"";var e=t.match(Ge);return e&&Se(e[1])===e[1]||t.match(We)&&function(t){for(var e=!0,n=!0,r=0;rCt}(r,o))?(function(t,e,n,r,i,o,a){for(var s,l=!0===(s=i)?-1:!1===s?0:s,u=un,c=(l&Wt(t,3))>0?1:0,h=$t(t);h=gn.length&&gn.push(1),gn[h]);ml,y=!b&&g===l,v=le(f,m),_=ee(v),w=t(e,n,r,i,o,a,b?s:fn(s,_,y),b?l:g,u+1,c);if(b){p||(p=w);break}if(!w&&mn(s,y)){var C=y&&!_,x=C?c:v,O=C?d:null;o(n,r,g,a?a(g,x,3):x,O),w=!0}p=w&&y,m+=2}if(gn[u]=m,1===f.length||!l)return t(e,n,r,i,o,a,s,l,u+1,c)}return p}(t,e,n,r,i,o,a,s||null,0,l||null)),h&&function(){for(var t=0;t0;return n?4&t&&e&&(n=!1):2&t&&(n=e),n}var gn=[];function bn(t,e,n,r){for(var i=1;i=2&&r[i-2]===e.hostBindings?r[i-1]=r[i-1]+n:r.push(e.hostBindings,n)}(n,Et,t),function(t,e,n){for(var r=0;r0&&(i=n?ne(t,((r=e)&&"string"!=typeof r&&(r=Object.keys(r).join(" ")),r||"")):ne(t,function(t){var e="";if(t)for(var n=Object.keys(t),r=0;r0}function Zn(t){return!!t&&"function"==typeof t.then}function Xn(t){return!!t&&"function"==typeof t.subscribe}var Jn=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),$n=function(){},tr=function(){};function er(t){var e=Error("No component factory found for "+k(t)+". Did you add it to @NgModule.entryComponents?");return e[nr]=t,e}var nr="ngComponent",rr=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw er(t)},t}(),ir=function(){var t=function(){};return t.NULL=new rr,t}(),or=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r-1}(r,i.providedIn)||"root"===i.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providers[c]=t._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:e.token},t._providers[c]=Di,t._providers[c]=Mi(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{K(o)}}function Mi(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Ri(t,n[0]));case 2:return new e(Ri(t,n[0]),Ri(t,n[1]));case 3:return new e(Ri(t,n[0]),Ri(t,n[1]),Ri(t,n[2]));default:for(var i=new Array(r),o=0;o=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,tt(n,e),Wr.dirtyParentQueries(r),Fi(r),r}function Li(t,e,n){var r=e?ui(e,e.def.lastRenderRootNode):t.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);yi(n,2,i,o,void 0)}function Fi(t){yi(t,3,null,null,void 0)}var Vi=new Object;function Bi(t,e,n,r,i,o){return new zi(t,e,n,r,i,o)}var zi=function(t){function e(e,n,r,i,o,a){var s=this;return(s=t.call(this)||this).selector=e,s.componentType=n,s._inputs=i,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=r,s}return __extends(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var i=bi(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=Wr.createRootView(t,e||[],n,i,r,Vi),s=Ur(a,o).instance;return n&&a.renderer.setAttribute(Hr(a,0).renderElement,"ng-version",gr.full),new Hi(a,new Wi(a),s)},e}(tr),Hi=function(t){function e(e,n,r){var i=this;return(i=t.call(this)||this)._view=e,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return __extends(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new lr(Hr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Zi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}($n);function Ui(t,e,n){return new qi(t,e,n)}var qi=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new lr(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Zi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=li(t),t=t.parent;return t?new Zi(t,e):new Zi(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Ni(this._data,t);Wr.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Wi(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof ar||(i=o.get(X));var a=t.create(o,r,void 0,i);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,a,s=t;return n=this._view,r=this._data,i=e,o=s._view,a=r.viewContainer._embeddedViews,null==i&&(i=a.length),o.viewContainerParent=n,$(a,i,o),function(t,e){var n=si(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}(e.parent.def,e.parentNodeDef)}}(r,o),Wr.dirtyParentQueries(o),Li(r,i>0?a[i-1]:null,o),s.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,a,s=this._embeddedViews.indexOf(t._view);return n=this._data,r=s,i=e,o=n.viewContainer._embeddedViews,a=o[r],tt(o,r),null==i&&(i=o.length),$(o,i,a),Wr.dirtyParentQueries(a),Fi(a),Li(n,i>0?o[i-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ni(this._data,t);e&&Wr.destroyView(e)},t.prototype.detach=function(t){var e=Ni(this._data,t);return e?new Wi(e):null},t}();function Ki(t){return new Wi(t)}var Wi=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return yi(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){ii(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Wr.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Wr.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Wr.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Fi(this._view),Wr.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Gi(t,e){return new Yi(t,e)}var Yi=function(t){function e(e,n){var r=this;return(r=t.call(this)||this)._parentView=e,r._def=n,r}return __extends(e,t),e.prototype.createEmbeddedView=function(t){return new Wi(Wr.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new lr(Hr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Ar);function Qi(t,e){return new Zi(t,e)}var Zi=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Cn.THROW_IF_NOT_FOUND),Wr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Qr(t)},e)},t}();function Xi(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Hr(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return zr(t,n.nodeIndex).renderText;if(20240&n.flags)return Ur(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Ji(t){return new $i(t.renderer)}var $i=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=__read(Oi(e),2),r=n[0],i=n[1],o=this.delegate.createElement(i,r);return t&&this.delegate.appendChild(t,o),o},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r0,r=e.provider;switch(201347067&e.flags){case 512:return _o(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(Co(t,e,n,i[0]));case 2:return r(Co(t,e,n,i[0]),Co(t,e,n,i[1]));case 3:return r(Co(t,e,n,i[0]),Co(t,e,n,i[1]),Co(t,e,n,i[2]));default:for(var a=Array(o),s=0;s0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(t){return t.timeoutId!==i})),t(r._didWork,r.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})},t.prototype.whenStable=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/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),wa=function(){function t(){this._applications=new Map,Oa.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Oa.findTestabilityInTree(this,t,e)},t}();function Ca(t){Oa=t}var xa,Oa=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Sa=new L("AllowMultipleToken"),Ea=function(t,e){this.name=t,this.token=e};function ka(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new L(r);return function(e){void 0===e&&(e=[]);var o=Da();if(!o||o.injector.get(Sa,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var a=n.concat(e).concat({provide:i,useValue:!0});!function(t){if(xa&&!xa.destroyed&&!xa.injector.get(Sa,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");xa=t.get(Ia);var e=t.get(Ko,null);e&&e.forEach((function(t){return t()}))}(Cn.create({providers:a,name:r}))}return function(t){var e=Da();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function Da(){return xa&&!xa.destroyed?xa:null}var Ia=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,i="noop"===(n=e?e.ngZone:void 0)?new va:("zone.js"===n?void 0:n)||new da({enableLongStackTrace:_e()}),o=[{provide:da,useValue:i}];return i.run((function(){var e=Cn.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(be,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Zo&&No(n.injector.get(Qo,Mo)||Mo),n.onDestroy((function(){return ja(r._modules,n)})),i.runOutsideAngular((function(){return i.onError.subscribe({next:function(t){a.handleError(t)}})})),function(t,e,i){try{var o=((a=n.injector.get(zo)).runInitializers(),a.donePromise.then((function(){return r._moduleDoBootstrap(n),n})));return Zn(o)?o.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):o}catch(s){throw e.runOutsideAngular((function(){return t.handleError(s)})),s}var a}(a,i)}))},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=Ta({},e);return function(t,e,n){return t.get(oa).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then((function(t){return n.bootstrapModuleFactory(t,r)}))},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Aa);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+k(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)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=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},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function Ta(t,e){return Array.isArray(e)?e.reduce(Ta,t):Object.assign({},t,e)}var Pa,Aa=((Pa=function(){function t(t,e,n,r,i,s){var u=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=_e(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run((function(){u.tick()}))}});var c=new o.a((function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular((function(){t.next(u._stable),t.complete()}))})),h=new o.a((function(t){var e;u._zone.runOutsideAngular((function(){e=u._zone.onStable.subscribe((function(){da.assertNotInAngularZone(),pa((function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))}))}))}));var n=u._zone.onUnstable.subscribe((function(){da.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(a.a)(c,h.pipe((function(t){return l()((e=m,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,d);return r.source=t,r.subjectFactory=n,r})(t));var e})))}return t.prototype.bootstrap=function(t,e){var n,r=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 tr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n instanceof ar?null:this._injector.get(X),o=n.create(Cn.NULL,[],e||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(_a,null);return a&&o.injector.get(wa).registerApplication(o.location.nativeElement,a),this._loadComponent(o),_e()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var e,n,r,i,o=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var a=t._tickScope();try{this._runningTick=!0;try{for(var s=__values(this._views),l=s.next();!l.done;l=s.next())l.value.detectChanges()}catch(h){e={error:h}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}if(this._enforceNoNewChanges)try{for(var u=__values(this._views),c=u.next();!c.done;c=u.next())c.value.checkNoChanges()}catch(p){r={error:p}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}catch(d){this._zone.runOutsideAngular((function(){return o._exceptionHandler.handleError(d)}))}finally{this._runningTick=!1,ca(a)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;ja(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Go,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),ja(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(t){return t.destroy()}))},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t}())._tickScope=ua("ApplicationRef#tick()"),Pa);function ja(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Ra=function(){},Ma=function(){},Na={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},La=function(){function t(t,e){this._compiler=t,this._config=e||Na}return t.prototype.load=function(t){return!Zo&&this._compiler instanceof ia?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=__read(t.split("#"),2),i=r[0],o=r[1];return void 0===o&&(o="default"),n("crnd")(i).then((function(t){return t[o]})).then((function(t){return Fa(t,i,o)})).then((function(t){return e._compiler.compileModuleAsync(t)}))},t.prototype.loadFactory=function(t){var e=__read(t.split("#"),2),r=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(t){return t[i+o]})).then((function(t){return Fa(t,r,i)}))},t}();function Fa(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Va=function(t,e){this.name=t,this.callback=e},Ba=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof za&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),za=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n,r)||this).properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return __extends(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,i=this.childNodes.indexOf(t);-1!==i&&((n=this.childNodes).splice.apply(n,__spread([i+1,0],e)),e.forEach((function(e){e.parent&&e.parent.removeChild(e),t.parent=r})))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var n=[];return function t(n,r,i){n.childNodes.forEach((function(n){n instanceof e&&(r(n)&&i.push(n),t(n,r,i))}))}(this,t,n),n},e.prototype.queryAllNodes=function(t){var n=[];return function t(n,r,i){n instanceof e&&n.childNodes.forEach((function(n){r(n)&&i.push(n),n instanceof e&&t(n,r,i)}))}(this,t,n),n},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter((function(t){return t instanceof e}))},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach((function(n){n.name==t&&n.callback(e)}))},e}(Ba),Ha=new Map,Ua=function(t){return Ha.get(t)||null};function qa(t){Ha.set(t.nativeNode,t)}var Ka=ka(null,"core",[{provide:Wo,useValue:"unknown"},{provide:Ia,deps:[Cn]},{provide:wa,deps:[]},{provide:Yo,deps:[]}]);function Wa(){return Tr}function Ga(){return Pr}function Ya(t){return t?(Zo&&No(t),t):Mo}function Qa(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}var Za=function(t){};function Xa(t,e,n,r,i,o){t|=1;var a=di(e),s=a.matchedQueries,l=a.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:a.matchedQueryIds,references:l,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?bi(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Gr},provider:null,text:null,query:null,ngContent:null}}function Ja(t,e,n,r,i,o,a,s,l,u,c,h){var p,d;void 0===a&&(a=[]),u||(u=Gr);var f=di(n),m=f.matchedQueries,g=f.references,b=f.matchedQueryIds,y=null,v=null;o&&(p=Oi(o),y=(d=__read(p,2))[0],v=d[1]),s=s||[];for(var _=new Array(s.length),w=0;w0)u=m,bs(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var y=u.parent;y&&(y.childFlags|=u.childFlags,y.childMatchedQueries|=u.childMatchedQueries),c=(u=y)&&bs(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||Gr,updateRenderer:r||Gr,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:d}}function bs(t){return 0!=(1&t.flags)&&null===t.element.name}function ys(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function vs(t,e,n,r){var i=Cs(t.root,t.renderer,t,e,n);return xs(i,t.component,r),Os(i),i}function _s(t,e,n){var r=Cs(t,t.renderer,null,null,e);return xs(r,n,n),Os(r),r}function ws(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,Cs(t.root,i,t,e.element.componentProvider,n)}function Cs(t,e,n,r,i){var o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function xs(t,e,n){t.component=e,t.context=n}function Os(t){var e;ci(t)&&(e=Hr(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i0&&ns(t,e,0,n)&&(d=!0),p>1&&ns(t,e,1,r)&&(d=!0),p>2&&ns(t,e,2,i)&&(d=!0),p>3&&ns(t,e,3,o)&&(d=!0),p>4&&ns(t,e,4,a)&&(d=!0),p>5&&ns(t,e,5,s)&&(d=!0),p>6&&ns(t,e,6,l)&&(d=!0),p>7&&ns(t,e,7,u)&&(d=!0),p>8&&ns(t,e,8,c)&&(d=!0),p>9&&ns(t,e,9,h)&&(d=!0),d}(t,e,n,r,i,o,a,s,l,u,c,h);case 2:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=!1,d=e.bindings,f=d.length;if(f>0&&ni(t,e,0,n)&&(p=!0),f>1&&ni(t,e,1,r)&&(p=!0),f>2&&ni(t,e,2,i)&&(p=!0),f>3&&ni(t,e,3,o)&&(p=!0),f>4&&ni(t,e,4,a)&&(p=!0),f>5&&ni(t,e,5,s)&&(p=!0),f>6&&ni(t,e,6,l)&&(p=!0),f>7&&ni(t,e,7,u)&&(p=!0),f>8&&ni(t,e,8,c)&&(p=!0),f>9&&ni(t,e,9,h)&&(p=!0),p){var m=e.text.prefix;f>0&&(m+=ms(n,d[0])),f>1&&(m+=ms(r,d[1])),f>2&&(m+=ms(i,d[2])),f>3&&(m+=ms(o,d[3])),f>4&&(m+=ms(a,d[4])),f>5&&(m+=ms(s,d[5])),f>6&&(m+=ms(l,d[6])),f>7&&(m+=ms(u,d[7])),f>8&&(m+=ms(c,d[8])),f>9&&(m+=ms(h,d[9]));var g=zr(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return p}(t,e,n,r,i,o,a,s,l,u,c,h);case 16384:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=Ur(t,e.nodeIndex),d=p.instance,f=!1,m=void 0,g=e.bindings.length;return g>0&&ei(t,e,0,n)&&(f=!0,m=Oo(t,p,e,0,n,m)),g>1&&ei(t,e,1,r)&&(f=!0,m=Oo(t,p,e,1,r,m)),g>2&&ei(t,e,2,i)&&(f=!0,m=Oo(t,p,e,2,i,m)),g>3&&ei(t,e,3,o)&&(f=!0,m=Oo(t,p,e,3,o,m)),g>4&&ei(t,e,4,a)&&(f=!0,m=Oo(t,p,e,4,a,m)),g>5&&ei(t,e,5,s)&&(f=!0,m=Oo(t,p,e,5,s,m)),g>6&&ei(t,e,6,l)&&(f=!0,m=Oo(t,p,e,6,l,m)),g>7&&ei(t,e,7,u)&&(f=!0,m=Oo(t,p,e,7,u,m)),g>8&&ei(t,e,8,c)&&(f=!0,m=Oo(t,p,e,8,c,m)),g>9&&ei(t,e,9,h)&&(f=!0,m=Oo(t,p,e,9,h,m)),m&&d.ngOnChanges(m),65536&e.flags&&Br(t,256,e.nodeIndex)&&d.ngOnInit(),262144&e.flags&&d.ngDoCheck(),f}(t,e,n,r,i,o,a,s,l,u,c,h);case 32:case 64:case 128:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=e.bindings,d=!1,f=p.length;if(f>0&&ni(t,e,0,n)&&(d=!0),f>1&&ni(t,e,1,r)&&(d=!0),f>2&&ni(t,e,2,i)&&(d=!0),f>3&&ni(t,e,3,o)&&(d=!0),f>4&&ni(t,e,4,a)&&(d=!0),f>5&&ni(t,e,5,s)&&(d=!0),f>6&&ni(t,e,6,l)&&(d=!0),f>7&&ni(t,e,7,u)&&(d=!0),f>8&&ni(t,e,8,c)&&(d=!0),f>9&&ni(t,e,9,h)&&(d=!0),d){var m=qr(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),f>0&&(g[0]=n),f>1&&(g[1]=r),f>2&&(g[2]=i),f>3&&(g[3]=o),f>4&&(g[4]=a),f>5&&(g[5]=s),f>6&&(g[6]=l),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=h);break;case 64:g={},f>0&&(g[p[0].name]=n),f>1&&(g[p[1].name]=r),f>2&&(g[p[2].name]=i),f>3&&(g[p[3].name]=o),f>4&&(g[p[4].name]=a),f>5&&(g[p[5].name]=s),f>6&&(g[p[6].name]=l),f>7&&(g[p[7].name]=u),f>8&&(g[p[8].name]=c),f>9&&(g[p[9].name]=h);break;case 128:var b=n;switch(f){case 1:g=b.transform(n);break;case 2:g=b.transform(r);break;case 3:g=b.transform(r,i);break;case 4:g=b.transform(r,i,o);break;case 5:g=b.transform(r,i,o,a);break;case 6:g=b.transform(r,i,o,a,s);break;case 7:g=b.transform(r,i,o,a,s,l);break;case 8:g=b.transform(r,i,o,a,s,l,u);break;case 9:g=b.transform(r,i,o,a,s,l,u,c);break;case 10:g=b.transform(r,i,o,a,s,l,u,c,h)}}m.value=g}return d}(t,e,n,r,i,o,a,s,l,u,c,h);default:throw"unreachable"}}(t,e,r,i,o,a,s,l,u,c,h,p):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i0&&ri(t,e,0,n),p>1&&ri(t,e,1,r),p>2&&ri(t,e,2,i),p>3&&ri(t,e,3,o),p>4&&ri(t,e,4,a),p>5&&ri(t,e,5,s),p>6&&ri(t,e,6,l),p>7&&ri(t,e,7,u),p>8&&ri(t,e,8,c),p>9&&ri(t,e,9,h)}(t,e,r,i,o,a,s,l,u,c,h,p):function(t,e,n){for(var r=0;r0){var o=new Set(t.modules);Ws.forEach((function(e,n){if(o.has(S(n).providedIn)){var i={token:n,flags:e.flags|(r?4096:0),deps:fi(e.deps),value:e.value,index:t.providers.length};t.providers.push(i),t.providersByKey[Qr(n)]=i}}))}}(t=t.factory((function(){return Gr}))),t):t}(r))}var Ks=new Map,Ws=new Map,Gs=new Map;function Ys(t){var e;Ks.set(t.token,t),"function"==typeof t.token&&(e=S(t.token))&&"function"==typeof e.providedIn&&Ws.set(t.token,t)}function Qs(t,e){var n=bi(e.viewDefFactory),r=bi(n.nodes[0].element.componentView);Gs.set(t,r)}function Zs(){Ks.clear(),Ws.clear(),Gs.clear()}function Xs(t){if(0===Ks.size)return t;var e=function(t){for(var e=[],n=null,r=0;r1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},t}(),c=function(){var t=function(){function t(){this._listeners=[]}return t.prototype.notify=function(t,e){var n,r;try{for(var i=__values(this._listeners),o=i.next();!o.done;o=i.next()){(0,o.value)(t,e)}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t.prototype.listen=function(t){var e=this;return this._listeners.push(t),function(){e._listeners=e._listeners.filter((function(e){return t!==e}))}},t.prototype.ngOnDestroy=function(){this._listeners=[]},t}();return t.ngInjectableDef=Object(a.Qb)({factory:function(){return new t},token:t,providedIn:"root"}),t}()},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},AytR:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={production:!0}},Cfvw:function(t,e,n){"use strict";var r=n("HDdC"),i=n("SeVD"),o=n("quSY"),a=n("kJWO"),s=n("jZKg"),l=n("Lhse"),u=n("c2HN"),c=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[a.a]}(t))return function(t,e){return new r.a((function(n){var r=new o.a;return r.add(e.schedule((function(){var i=t[a.a]();r.add(i.subscribe({next:function(t){r.add(e.schedule((function(){return n.next(t)})))},error:function(t){r.add(e.schedule((function(){return n.error(t)})))},complete:function(){r.add(e.schedule((function(){return n.complete()})))}}))}))),r}))}(t,e);if(Object(u.a)(t))return function(t,e){return new r.a((function(n){var r=new o.a;return r.add(e.schedule((function(){return t.then((function(t){r.add(e.schedule((function(){n.next(t),r.add(e.schedule((function(){return n.complete()})))})))}),(function(t){r.add(e.schedule((function(){return n.error(t)})))}))}))),r}))}(t,e);if(Object(c.a)(t))return Object(s.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,i=new o.a;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(e.schedule((function(){r=t[l.a](),i.add(e.schedule((function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(o){return void n.error(o)}e?n.complete():(n.next(t),this.schedule())}})))}))),i}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof r.a?t:new r.a(Object(i.a)(t))}n.d(e,"a",(function(){return h}))},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("3N8a"),i=new(n("IjjT").a)(r.a)},D8EZ:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return LoginComponent}));var _uds_api_service__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("KIbp"),LoginComponent=function(){function LoginComponent(t){this.api=t,this.title="UDS Enterprise",this.auths=t.config.authenticators.slice(0),this.auths.sort((function(t,e){return t.priority-e.priority}))}return LoginComponent.prototype.ngOnInit=function(){document.getElementById("loginform").action=this.api.config.urls.login;var t=document.getElementById("token");t.name=this.api.config.csrf_field,t.value=this.api.config.csrf,this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id)},LoginComponent.prototype.changeAuth=function(auth){var e_6,_b;this.auth.value=auth;var doCustomAuth=function(data){eval(data)};try{for(var _c=__values(this.auths),_d=_c.next();!_d.done;_d=_c.next()){var l=_d.value;l.id===auth&&l.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomHtml(l.id).subscribe((function(t){return doCustomAuth(t)})))}}catch(e_6_1){e_6={error:e_6_1}}finally{try{_d&&!_d.done&&(_b=_c.return)&&_b.call(_c)}finally{if(e_6)throw e_6.error}}},LoginComponent}()},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n("HDdC"),i=new r.a((function(t){return t.complete()}));function o(t){return t?function(t){return new r.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):i}},GS7A:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return p})),n.d(e,"i",(function(){return m})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return d})),n.d(e,"n",(function(){return a})),n.d(e,"d",(function(){return b})),n.d(e,"o",(function(){return y})),n.d(e,"p",(function(){return v}));var r=function(){},i=function(){},o="*";function a(t,e){return{type:7,name:t,definitions:e,options:{}}}function s(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function l(t,e){return void 0===e&&(e=null),{type:3,steps:t,options:e}}function u(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function h(t,e,n){return{type:0,name:t,styles:e,options:n}}function p(t){return{type:5,steps:t}}function d(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}function f(t){return void 0===t&&(t=null),{type:9,options:t}}function m(t,e,n){return void 0===n&&(n=null),{type:11,selector:t,animation:e,options:n}}function g(t){Promise.resolve(null).then(t)}var b=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;g((function(){return t._onFinish()}))},t.prototype._onStart=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),y=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,r=0,i=0,o=this.players.length;0==o?g((function(){return e._onFinish()})):this.players.forEach((function(t){t.onDone((function(){++n==o&&e._onFinish()})),t.onDestroy((function(){++r==o&&e._onDestroy()})),t.onStart((function(){++i==o&&e._onStart()}))})),this.totalTime=this.players.reduce((function(t,e){return Math.max(t,e.totalTime)}),0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach((function(t){return t.init()}))},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(t){return t.play()}))},t.prototype.pause=function(){this.players.forEach((function(t){return t.pause()}))},t.prototype.restart=function(){this.players.forEach((function(t){return t.restart()}))},t.prototype.finish=function(){this._onFinish(),this.players.forEach((function(t){return t.finish()}))},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=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=[])},t.prototype.reset=function(){this.players.forEach((function(t){return t.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=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)}))},t.prototype.getPosition=function(){var t=0;return this.players.forEach((function(e){var n=e.getPosition();t=Math.min(n,t)})),t},t.prototype.beforeDestroy=function(){this.players.forEach((function(t){t.beforeDestroy&&t.beforeDestroy()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),v="!"},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("LRne"),i=n("0EUg");function o(){for(var t=[],e=0;e0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}}))}:function(){e.headers=new Map,Object.keys(t).forEach((function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))}))}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=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))},t.prototype.copyFrom=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))}))},t.prototype.clone=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},t.prototype.applyUpdate=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,__spread(n)),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter((function(t){return-1===i.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=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}(),d=function(){function t(){}return t.prototype.encodeKey=function(t){return f(t)},t.prototype.encodeValue=function(t){return f(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var m=function(){function t(t){var e,n,r,i=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new d,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),i=__read(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),o=i[0],a=i[1],s=r.get(o)||[];s.push(a),r.set(o,s)})),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=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("&")})).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=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(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)},t}();function g(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}var v=function(){function t(t,e,n,r){var i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new p),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a=200&&this.status<300},C=function(t){function e(e){void 0===e&&(e={});var n=this;return(n=t.call(this,e)||this).type=_.ResponseHeader,n}return __extends(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({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})},e}(w),x=function(t){function e(e){void 0===e&&(e={});var n=this;return(n=t.call(this,e)||this).type=_.Response,n.body=void 0!==e.body?e.body:null,n}return __extends(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({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})},e}(w),O=function(t){function e(e){var n=this;return(n=t.call(this,e,0,"Unknown Error")||this).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return __extends(e,t),e}(w);function S(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var E=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,o=this;if(void 0===n&&(n={}),t instanceof v)r=t;else{var u;u=n.headers instanceof p?n.headers:new p(n.headers);var c=void 0;n.params&&(c=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new v(t,e,void 0!==n.body?n.body:null,{headers:u,params:c,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var h=Object(i.a)(r).pipe(Object(a.a)((function(t){return o.handler.handle(t)})));if(t instanceof v||"events"===n.observe)return h;var d=h.pipe(Object(s.a)((function(t){return t instanceof x})));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return d.pipe(Object(l.a)((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return d.pipe(Object(l.a)((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return d.pipe(Object(l.a)((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 d.pipe(Object(l.a)((function(t){return t.body})))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,S(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,S(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,S(n,e))},t}(),k=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),D=new r.o("HTTP_INTERCEPTORS"),I=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),T=/^\)\]\}',?\n/,P=function(){},A=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),j=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new o.a((function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach((function(t,e){return r.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,l=function(){if(null!==s)return s;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new p(r.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}(r)||t.url;return s=new C({headers:i,status:e,statusText:n,url:o})},u=function(){var e=l(),i=e.headers,o=e.status,a=e.statusText,s=e.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var h=u;u=u.replace(T,"");try{u=""!==u?JSON.parse(u):null}catch(p){u=h,c&&(c=!1,u={error:p,text:u})}}c?(n.next(new x({body:u,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new O({error:u,headers:i,status:o,statusText:a,url:s||void 0}))},c=function(t){var e=l().url,i=new O({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)},h=!1,d=function(e){h||(n.next(l()),h=!0);var i={type:_.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},f=function(t){var e={type:_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",u),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",d),null!==a&&r.upload&&r.upload.addEventListener("progress",f)),r.send(a),n.next({type:_.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),t.reportProgress&&(r.removeEventListener("progress",d),null!==a&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}}))},t}(),R=new r.o("XSRF_COOKIE_NAME"),M=new r.o("XSRF_HEADER_NAME"),N=function(){},L=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.z)(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),F=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=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 r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t}(),V=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(D,[]);this.chain=e.reduceRight((function(t,e){return new k(t,e)}),this.backend)}return this.chain.handle(t)},t}(),B=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:F,useClass:I}]}},t.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:R,useValue:e.cookieName}:[],e.headerName?{provide:M,useValue:e.headerName}:[]]}},t}(),z=function(){}},IjjT:function(t,e,n){"use strict";var r=function(){var t=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t}();return t.now=function(){return Date.now()},t}();n.d(e,"a",(function(){return i}));var i=function(t){function e(n,i){void 0===i&&(i=r.now);var o=this;return(o=t.call(this,n,(function(){return e.delegate&&e.delegate!==o?e.delegate.now():i()}))||this).actions=[],o.active=!1,o.scheduled=void 0,o}return __extends(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(r)},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function a(t){return function(e){return 0===t?Object(o.b)():e.lift(new s(t))}}var s=function(){function t(t){if(this.total=t,this.total<0)throw new i.a}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.total))},t}(),l=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(r.a)},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("GyhO"),i=n("z+Ro");function o(){for(var t=[],e=0;ee.height||t.scrollWidth>e.width},t}();function b(){return Error("Scroll strategy has already been attached.")}var y=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run((function(){return i._overlayRef.detach()}))}}return t.prototype.attach=function(t){if(this._overlayRef)throw b();this._overlayRef=t},t.prototype.enable=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)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),v=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}();function _(t,e){return e.some((function(e){return t.bottome.bottom||t.righte.right}))}function w(t,e){return e.some((function(e){return t.tope.bottom||t.lefte.right}))}var C=function(){function t(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw b();this._overlayRef=t},t.prototype.enable=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(),r=n.width,i=n.height;_(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(t.disable(),t._ngZone.run((function(){return t._overlayRef.detach()})))}})))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t.prototype.detach=function(){this.disable(),this._overlayRef=null},t}(),x=function(){var t=function(t,e,n,r){var i=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new v},this.close=function(t){return new y(i._scrollDispatcher,i._ngZone,i._viewportRuler,t)},this.block=function(){return new g(i._viewportRuler,i._document)},this.reposition=function(t){return new C(i._scrollDispatcher,i._viewportRuler,i._ngZone,t)},this._document=r};return t.ngInjectableDef=Object(a.Qb)({factory:function(){return new t(Object(a.Rb)(i.a),Object(a.Rb)(i.d),Object(a.Rb)(a.x),Object(a.Rb)(o.d))},token:t,providedIn:"root"}),t}(),O=function(t){var e,n;if(this.scrollStrategy=new v,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){var r=Object.keys(t);try{for(var i=__values(r),o=i.next();!o.done;o=i.next()){var a=o.value;void 0!==t[a]&&(this[a]=t[a])}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}},S=function(t,e,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY},E=function(t,e){this.connectionPair=t,this.scrollableViewProperties=e};function k(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "top", "bottom" or "center".')}function D(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "start", "end" or "center".')}var I=function(){var t=function(){function t(t){var e=this;this._attachedOverlays=[],this._keydownListener=function(t){for(var n=e._attachedOverlays,r=n.length-1;r>-1;r--)if(n[r]._keydownEventSubscriptions>0){n[r]._keydownEvents.next(t);break}},this._document=t}return t.prototype.ngOnDestroy=function(){this._detach()},t.prototype.add=function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},t.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},t}();return t.ngInjectableDef=Object(a.Qb)({factory:function(){return new t(Object(a.Rb)(o.d))},token:t,providedIn:"root"}),t}(),T=function(){var t=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){for(var t=this._document.getElementsByClassName("cdk-overlay-container"),e=0;eg&&(g=_,m=v)}}catch(C){n={error:C}}finally{try{y&&!y.done&&(r=b.return)&&r.call(b)}finally{if(n)throw n.error}}return this._isPushed=!1,void this._applyPosition(m.position,m.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}},t.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&j(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},t.prototype.reapplyLastPosition=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)}},t.prototype.withScrollableContainers=function(t){return this._scrollables=t,this},t.prototype.withPositions=function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},t.prototype.withViewportMargin=function(t){return this._viewportMargin=t,this},t.prototype.withFlexibleDimensions=function(t){return void 0===t&&(t=!0),this._hasFlexibleDimensions=t,this},t.prototype.withGrowAfterOpen=function(t){return void 0===t&&(t=!0),this._growAfterOpen=t,this},t.prototype.withPush=function(t){return void 0===t&&(t=!0),this._canPush=t,this},t.prototype.withLockedPosition=function(t){return void 0===t&&(t=!0),this._positionLocked=t,this},t.prototype.setOrigin=function(t){return this._origin=t,this},t.prototype.withDefaultOffsetX=function(t){return this._offsetX=t,this},t.prototype.withDefaultOffsetY=function(t){return this._offsetY=t,this},t.prototype.withTransformOriginOn=function(t){return this._transformOriginSelector=t,this},t.prototype._getOriginPoint=function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var r=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?r:i}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n){var r;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+r,y:t.y+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}},t.prototype._getOverlayFit=function(t,e,n,r){var i=t.x,o=t.y,a=this._getOffset(r,"x"),s=this._getOffset(r,"y");a&&(i+=a),s&&(o+=s);var l=0-o,u=o+e.height-n.height,c=this._subtractOverflows(e.width,0-i,i+e.width-n.width),h=this._subtractOverflows(e.height,l,u),p=c*h;return{visibleArea:p,isCompletelyWithinViewport:e.width*e.height===p,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:c==e.width}},t.prototype._canFitWithFlexibleDimensions=function(t,e,n){if(this._hasFlexibleDimensions){var r=n.bottom-e.y,i=n.right-e.x,o=this._overlayRef.getConfig().minHeight,a=this._overlayRef.getConfig().minWidth,s=t.fitsInViewportHorizontally||null!=a&&a<=i;return(t.fitsInViewportVertically||null!=o&&o<=r)&&s}return!1},t.prototype._pushOverlayOnScreen=function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,a=Math.max(t.x+e.width-o.right,0),s=Math.max(t.y+e.height-o.bottom,0),l=Math.max(o.top-n.top-t.y,0),u=Math.max(o.left-n.left-t.x,0);return this._previousPushAmount={x:r=e.width<=o.width?u||-a:t.xh&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-h/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=l.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)a=t.x,o=l.right-t.x;else{c=Math.min(l.right-t.x+l.left,t.x);var p=this._lastBoundingBoxSize.width;a=t.x-c,(o=2*c)>p&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-p/2)}return{top:r,left:a,bottom:i,right:s,width:o,height:n}},t.prototype._setBoundingBoxStyles=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.width=i.height="100%";else{var o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Object(r.c)(n.height),i.top=Object(r.c)(n.top),i.bottom=Object(r.c)(n.bottom),i.width=Object(r.c)(n.width),i.left=Object(r.c)(n.left),i.right=Object(r.c)(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",o&&(i.maxHeight=Object(r.c)(o)),a&&(i.maxWidth=Object(r.c)(a))}this._lastBoundingBoxSize=n,j(this._boundingBox.style,i)},t.prototype._resetBoundingBoxStyles=function(){j(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){j(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};if(this._hasExactPosition()){var r=this._viewportRuler.getViewportScrollPosition();j(n,this._getExactOverlayY(e,t,r)),j(n,this._getExactOverlayX(e,t,r))}else n.position="static";var i="",o=this._getOffset(e,"x"),a=this._getOffset(e,"y");o&&(i+="translateX("+o+"px) "),a&&(i+="translateY("+a+"px)"),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),j(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e,n){var i={top:null,bottom:null},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return o.y-=a,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=Object(r.c)(o.y),i},t.prototype._getExactOverlayX=function(t,e,n){var i={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=Object(r.c)(o.x),i},t.prototype._getScrollVisibility=function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(t){return t.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:w(t,n),isOriginOutsideView:_(t,n),isOverlayClipped:w(e,n),isOverlayOutsideView:_(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=l.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),h=function(t){function e(e,n){var r=this;if((r=t.call(this)||this)._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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=n,r}return __extends(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return l.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+l.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(a),p=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),d=r.tb,f=new r.o("UseV4Plurals"),m=function(){},g=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).locale=e,r.deprecatedPluralFn=n,r}return __extends(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):d(e||this.locale)(t)){case p.Zero:return"zero";case p.One:return"one";case p.Two:return"two";case p.Few:return"few";case p.Many:return"many";default:return"other"}},e}(m);function b(t,e){var n,r;e=encodeURIComponent(e);try{for(var i=__values(t.split(";")),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.indexOf("="),l=__read(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),u=l[0],c=l[1];if(u.trim()===e)return decodeURIComponent(c)}}catch(h){n={error:h}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var y=function(){},v=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return t.prototype.getValue=function(){return null},t.prototype.setClass=function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},t.prototype.setNgClass=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&&(Object(r.wb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},t.prototype.applyChanges=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)}},t.prototype._applyKeyValueChanges=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)}))},t.prototype._applyIterableChanges=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 "+Object(r.Jb)(t.item));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))},t.prototype._applyClasses=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])})))},t.prototype._removeClasses=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)})))},t.prototype._toggleClass=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}(),_=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),Object.defineProperty(e.prototype,"klass",{set:function(t){this._delegate.setClass(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(t){this._delegate.setNgClass(t)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(function(){var t=function(){function t(t){this._delegate=t}return t.prototype.getValue=function(){return this._delegate.getValue()},t}();return t.ngDirectiveDef=void 0,t}()),w=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),C=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(r.V)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=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(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation((function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new w(null,e._ngForOf,-1,-1),null===i?void 0:i),a=new x(t,o);n.push(a)}else if(null==i)e._viewContainer.remove(null===r?void 0:r);else if(null!==r){o=e._viewContainer.get(r);e._viewContainer.move(o,i);a=new x(t,o);n.push(a)}}));for(var r=0;r1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof l&&(n=t.pop()),null===s&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(n)(Object(a.a)(t,s))}},WMd4:function(t,e,n){"use strict";var r=n("EY2u"),i=n("LRne"),o=n("HDdC");n.d(e,"a",(function(){return s}));var a,s=((a=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=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()}},t.prototype.do=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()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return t=this.error,new o.a((function(e){return e.error(t)}));case"C":return Object(r.b)()}var t;throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t}()).completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0),a)},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var r=n("HDdC"),i=n("7o/Q"),o=n("quSY"),a=n("9ppp"),s=n("Ylt2"),l=n("2QA8"),u=function(t){function e(e){var n=this;return(n=t.call(this,e)||this).destination=e,n}return __extends(e,t),e}(i.a),c=function(){var t=function(t){function e(){var e=this;return(e=t.call(this)||this).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return __extends(e,t),e.prototype[l.a]=function(){return new u(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i0?n:t},t}(),C=new r.o("mat-date-formats");try{v="undefined"!=typeof Intl}catch(st){v=!1}var x={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"]},O=k(31,(function(t){return String(t+1)})),S={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},E=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function k(t,e){for(var n=Array(t),r=0;r11)throw Error('Invalid month index "'+e+'". Month index has to be between 0 and 11.');if(n<1)throw Error('Invalid date "'+n+'". Date has to be greater than 0.');var r=this._createDateWithOverflow(t,e,n);if(r.getMonth()!=e)throw Error('Invalid date "'+n+'" for month with index "'+e+'".');return r},e.prototype.today=function(){return new Date},e.prototype.parse=function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null},e.prototype.format=function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(v){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=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())},e.prototype.addCalendarYears=function(t,e){return this.addCalendarMonths(t,12*e)},e.prototype.addCalendarMonths=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},e.prototype.addCalendarDays=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)},e.prototype.toIso8601=function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")},e.prototype.deserialize=function(e){if("string"==typeof e){if(!e)return null;if(E.test(e)){var n=new Date(e);if(this.isValid(n))return n}}return t.prototype.deserialize.call(this,e)},e.prototype.isDateInstance=function(t){return t instanceof Date},e.prototype.isValid=function(t){return!isNaN(t.getTime())},e.prototype.invalid=function(){return new Date(NaN)},e.prototype._createDateWithOverflow=function(t,e,n){var r=new Date(t,e,n);return t>=0&&t<100&&r.setFullYear(this.getYear(r)-1900),r},e.prototype._2digit=function(t){return("00"+t).slice(-2)},e.prototype._stripDirectionalityCharacters=function(t){return t.replace(/[\u200e\u200f]/g,"")},e.prototype._format=function(t,e){var n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)},e}(w),T={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"}}},P=function(){},A=function(){},j=((D=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new D},token:D,providedIn:"root"}),D),R=new r.o("MAT_HAMMER_OPTIONS"),M=["longpress","slide","slidestart","slideend","slideright","slideleft"],N={on:function(){},off:function(){}},L=function(t){function e(e,n){var r=this;return(r=t.call(this)||this)._hammerOptions=e,r.events=M,n&&n._checkHammerIsAvailable(),r}return __extends(e,t),e.prototype.buildHammer=function(t){var e="undefined"!=typeof window?window.Hammer:null;if(!e)return N;var n=new e(t,this._hammerOptions||void 0),r=new e.Pan,i=new e.Swipe,o=new e.Press,a=this._createRecognizer(r,{event:"slide",threshold:0},i),s=this._createRecognizer(o,{event:"longpress",time:500});return r.recognizeWith(i),s.recognizeWith(a),n.add([i,o,r,a,s]),n},e.prototype._createRecognizer=function(t,e){for(var n=[],r=2;rn+r?Math.max(0,i-r+e):n}var ot=function(){},at=new r.o("mat-label-global-options")},XoHu:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return r}))},Y7HM:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("DH7j");function i(t){return!Object(r.a)(t)&&t-parseFloat(t)+1>=0}},"YY/e":function(t,e,n){"use strict";var r=n("HDdC"),i=n("D0XW"),o=n("Y7HM");function a(t){var e=t.subscriber,n=t.counter,r=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return l}));var s=function(t){return t[t.alert=0]="alert",t[t.yesno=1]="yesno",t}({}),l=function(){function t(t,e){var n=this;this.dialogRef=t,this.data=e,this.subscription=null,this.resetCallbacks(),this.yesno=new r.a((function(t){n.yes=function(){t.next(!0),t.complete()},n.no=function(){t.next(!1),t.complete()},n.close=function(){n.doClose(),t.next(!1),t.complete()};var e=n;return{unsubscribe:function(){e.resetCallbacks()}}}))}return t.prototype.resetCallbacks=function(){var t=this;this.yes=this.no=function(){t.close()},this.close=function(){t.doClose()}},t.prototype.closed=function(){null!==this.subscription&&this.subscription.unsubscribe()},t.prototype.doClose=function(){this.dialogRef.close()},t.prototype.setExtra=function(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "},t.prototype.initAlert=function(){var t,e,n=this;this.data.autoclose>0&&(this.dialogRef.afterClosed().subscribe((function(t){n.closed()})),this.setExtra(this.data.autoclose),this.subscription=(t=1e3,void 0===t&&(t=0),void 0===e&&(e=i.a),(!Object(o.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=i.a),new r.a((function(n){return n.add(e.schedule(a,t,{subscriber:n,counter:0,period:t})),n}))).subscribe((function(t){var e=n.data.autoclose-1e3*(t+1);n.setExtra(e),e<=0&&n.close()})))},t.prototype.initYesNo=function(){},t.prototype.ngOnInit=function(){this.data.type===s.yesno?this.initYesNo():this.initAlert()},t}()},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).subject=e,r.subscriber=n,r.closed=!1,r}return __extends(e,t),e.prototype.unsubscribe=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)}}},e}(n("quSY").a)},ZUHj:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("51Dv"),i=n("SeVD"),o=n("HDdC");function a(t,e,n,a,s){if(void 0===s&&(s=new r.a(t,n,a)),!s.closed)return e instanceof o.a?e.subscribe(s):Object(i.a)(e)(s)}},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("5+tZ"),i=n("SpAZ");function o(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(r.a)(i.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("5+tZ");function i(t,e){return Object(r.a)(t,e,1)}},c2HN:function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return r}))},cUpR:function(t,e,n){"use strict";n.d(e,"p",(function(){return mt})),n.d(e,"q",(function(){return O})),n.d(e,"a",(function(){return gt})),n.d(e,"h",(function(){return ft})),n.d(e,"c",(function(){return S})),n.d(e,"d",(function(){return E})),n.d(e,"e",(function(){return J})),n.d(e,"f",(function(){return $})),n.d(e,"g",(function(){return tt})),n.d(e,"b",(function(){return ot})),n.d(e,"r",(function(){return a})),n.d(e,"j",(function(){return N})),n.d(e,"i",(function(){return Z})),n.d(e,"m",(function(){return et})),n.d(e,"n",(function(){return it})),n.d(e,"l",(function(){return I})),n.d(e,"o",(function(){return D})),n.d(e,"k",(function(){return at}));var r=n("SVse"),i=n("8Y7J"),o=null;function a(){return o}var s,l=function(t){function e(){var e=this;(e=t.call(this)||this)._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;s||(s=t[a]=[]);var u=Y(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:o});else{for(var c=!1,h=0;h-1},e}(k),nt=["alt","control","meta","shift"],rt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},it=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var i=e.parseEventName(n),o=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return a().onAndCancel(t,i.domEventName,o)}))},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=e._normalizeKey(n.pop()),o="";if(nt.forEach((function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")})),o+=i,0!=n.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a},e.getEventFullKey=function(t){var e="",n=a().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),nt.forEach((function(r){r!=n&&(0,rt[r])(t)&&(e+=r+".")})),e+=n},e.eventCallback=function(t,n,r){return function(i){e.getEventFullKey(i)===t&&r.runGuarded((function(){return n(i)}))}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(k),ot=function(){},at=function(t){function e(e){var n=this;return(n=t.call(this)||this)._doc=e,n}return __extends(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case i.G.NONE:return e;case i.G.HTML:return e instanceof lt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(i.db)(this._doc,String(e)));case i.G.STYLE:return e instanceof ut?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(i.eb)(e));case i.G.SCRIPT:if(e instanceof ct)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case i.G.URL:return e instanceof pt||e instanceof ht?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(i.fb)(String(e)));case i.G.RESOURCE_URL:if(e instanceof pt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof st)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new lt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new ut(t)},e.prototype.bypassSecurityTrustScript=function(t){return new ct(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new ht(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new pt(t)},e}(ot),st=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(st),ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"Style"},e}(st),ct=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"Script"},e}(st),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"URL"},e}(st),pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(st),dt=[{provide:i.z,useValue:r.x},{provide:i.A,useValue:function(){d.makeCurrent(),y.init()},multi:!0},{provide:r.r,useClass:function(t){function e(e){var n=this;return(n=t.call(this)||this)._doc=e,n._init(),n}return __extends(e,t),e.prototype._init=function(){this.location=a().getLocation(),this._history=a().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return a().getBaseHref(this._doc)},e.prototype.onPopState=function(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){m()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){m()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.prototype.getState=function(){return this._history.state},e}(r.r),deps:[r.d]},{provide:r.d,useFactory:function(){return document},deps:[]}],ft=Object(i.Q)(i.W,"browser",dt);function mt(){return new i.l}var gt=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:i.c,useValue:e.appId},{provide:g,useExisting:i.c},b]}},t}();"undefined"!=typeof window&&window},crnd:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},dvZr:function(t,e,n){"use strict";n.d(e,"k",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"j",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return u})),n.d(e,"l",(function(){return c})),n.d(e,"i",(function(){return h})),n.d(e,"b",(function(){return p})),n.d(e,"n",(function(){return d})),n.d(e,"h",(function(){return f})),n.d(e,"a",(function(){return m})),n.d(e,"m",(function(){return g})),n.d(e,"o",(function(){return b}));var r=9,i=13,o=27,a=32,s=35,l=36,u=37,c=38,h=39,p=40,d=48,f=57,m=65,g=90;function b(t){for(var e=[],n=1;n'+django.gettext("Please wait")+'
'+django.gettext("Remember that UDS Plugin is required in order for this service to be launched")+"
",5e3);var e=document.getElementById("hiddenUdsLauncherIFrame");if(null===e){var n=document.createElement("div");n.id="testID",n.innerHTML='',document.body.appendChild(n),e=document.getElementById("hiddenUdsLauncherIFrame")}e.contentWindow.location.href=t},t.prototype.launchURL=function(e){var n=this;if("udsa://"===e.substring(0,7)){var r=e.split("//")[1].split("/");this.api.enabler(r[0],r[1]).subscribe((function(t){void 0!==t.error&&""!==t.error?n.api.gui.alert(django.gettext("Error launching service"),t.error):("https:"===window.location.protocol&&(t.url=t.url.replace("uds://","udss://")),n.doLaunch(t.url))}))}else null!==t.transportsWindow&&t.transportsWindow.close(),t.transportsWindow=window.open(e,"uds_transport_window")},t}();return t.transportsWindow=null,t}()},fDlF:function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"c",(function(){return gt})),n.d(e,"g",(function(){return bt})),n.d(e,"e",(function(){return x})),n.d(e,"b",(function(){return Kt})),n.d(e,"d",(function(){return le})),n.d(e,"f",(function(){return ce})),n.d(e,"h",(function(){return he}));var r=n("GS7A");function i(){return"undefined"!=typeof process}function o(t){switch(t.length){case 0:return new r.d;case 1:return t[0];default:return new r.o(t)}}function a(t,e,n,i,o,a){void 0===o&&(o={}),void 0===a&&(a={});var s=[],l=[],u=-1,c=null;if(i.forEach((function(t){var n=t.offset,i=n==u,h=i&&c||{};Object.keys(t).forEach((function(n){var i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),l){case r.p:l=o[n];break;case r.a:l=a[n];break;default:l=e.normalizeStyleValue(n,i,l,s)}h[i]=l})),i||l.push(h),c=h,u=n})),s.length){throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "))}return l}function s(t,e,n,r){switch(e){case"start":t.onStart((function(){return r(n&&l(n,"start",t))}));break;case"done":t.onDone((function(){return r(n&&l(n,"done",t))}));break;case"destroy":t.onDestroy((function(){return r(n&&l(n,"destroy",t))}))}}function l(t,e,n){var r=n.totalTime,i=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function u(t,e,n,r,i,o,a){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function c(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function h(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var p=function(t,e){return!1},d=function(t,e){return!1},f=function(t,e,n){return[]},m=i();(m||"undefined"!=typeof Element)&&(p=function(t,e){return t.contains(e)},d=function(){if(m||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])}:d}(),f=function(t,e,n){var r=[];if(n)r.push.apply(r,__spread(t.querySelectorAll(e)));else{var i=t.querySelector(e);i&&r.push(i)}return r});var g=null,b=!1;function y(t){g||(g=("undefined"!=typeof document?document.body:null)||{},b=!!g.style&&"WebkitAppearance"in g.style);var e=!0;return g.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in g.style)&&b&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in g.style),e}var v=d,_=p,w=f;function C(t){var e={};return Object.keys(t).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]})),e}var x=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,i,o,a,s){return void 0===a&&(a=[]),new r.d(n,i)},t}(),O=function(){var t=function(){};return t.NOOP=new x,t}(),S=1e3;function E(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:k(parseFloat(e[1]),e[2])}function k(t,e){switch(e){case"s":return t*S;default:return t}}function D(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=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 "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=k(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=k(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else r=t;if(!n){var u=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function I(t,e){return void 0===e&&(e={}),Object.keys(t).forEach((function(n){e[n]=t[n]})),e}function T(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else I(t,n);return n}function P(t,e,n){return n?e+":"+n+";":""}function A(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*([=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],a=i[2],s=i[3];e.push(Q(o,s)),"<"!=a[0]||o==W&&s==W||e.push(Q(s,o))}(t,i,r)})):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return q(n,t,e)})),options:et(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map((function(t){e.currentTime=r;var o=q(n,t,e);return i=Math.max(i,e.currentTime),o}));return e.currentTime=i,{type:3,steps:o,options:et(t.options)}},t.prototype.visitAnimate=function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return nt(D(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var i=nt(0,0,"");return i.dynamic=!0,i.strValue=r,i}return nt((n=n||D(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var o=t.styles?t.styles:Object(r.l)({});if(5==o.type)n=this.visitKeyframes(o,e);else{var a=t.styles,s=!1;if(!a){s=!0;var l={};i.easing&&(l.easing=i.easing),a=Object(r.l)(l)}e.currentTime+=i.duration+i.delay;var u=this.visitStyle(a,e);u.isEmptyStep=s,n=u}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(t){"string"==typeof t?t==r.a?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)})):n.push(t.styles);var i=!1,o=null;return n.forEach((function(t){if(tt(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(var r in e)if(e[r].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a,s,l,u,c,h=e.collectedStyles[e.currentQuerySelector],p=h[r],d=!0;p&&(o!=i&&o>=p.startTime&&i<=p.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+p.startTime+'ms" and "'+p.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),d=!1),o=p.startTime),d&&(h[r]={startTime:o,endTime:i}),e.options&&(a=t[r],s=e.options,l=e.errors,u=s.params||{},(c=L(a)).length&&c.forEach((function(t){u.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")})))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')}))}))},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,l=0,u=t.steps.map((function(t){var r=n._makeStyleAst(t,e),u=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach((function(t){if(tt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if(tt(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),s=s||c<0||c>1,a=a||c0&&i0?i==p?1:h*i:o[i],s=a*m;e.currentTime=d+f.delay+s,f.duration=s,n._validateStyleAst(t,e),t.offset=a,r.styles.push(t)})),r},t.prototype.visitReference=function(t,e){return{type:8,animation:q(this,M(t.animation),e),options:et(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:et(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:et(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=__read(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(Z,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(t){return".ng-trigger-"+t.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),o=i[0],a=i[1];e.currentQuerySelector=n.length?n+" "+o:o,c(e.collectedStyles,e.currentQuerySelector,{});var s=q(this,M(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:et(t.options)}},t.prototype.visitStagger=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"}:D(t.timings,e.errors,!0);return{type:12,animation:q(this,M(t.animation),e),timings:n,options:null}},t}(),$=function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function tt(t){return!Array.isArray(t)&&"object"==typeof t}function et(t){var e;return t?(t=I(t)).params&&(t.params=(e=t.params)?I(e):null):t={},t}function nt(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var it=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,__spread(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),ot=new RegExp(":enter","g"),at=new RegExp(":leave","g");function st(t,e,n,r,i,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new lt).buildKeyframes(t,e,n,r,i,o,a,s,l,u)}var lt=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,a,s,l,u){void 0===u&&(u=[]),l=l||new it;var c=new ct(t,e,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),q(this,n,c);var h=c.timelines.filter((function(t){return t.containsAnimation()}));if(h.length&&Object.keys(a).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,c.errors,s)}return h.length?h.map((function(t){return t.buildKeyframes()})):[rt(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?E(n.duration):null,o=null!=n.delay?E(n.delay):null;return 0!==i&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)})),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),q(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ut);var a=E(o.delay);i.delayNextStep(a)}t.steps.length&&(t.steps.forEach((function(t){return q(n,t,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?E(t.options.delay):0;t.steps.forEach((function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),q(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return D(e.params?F(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?E(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ut);var a=r,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;var l=null;s.forEach((function(r,i){e.currentQueryIndex=i;var s=e.createSubContext(t.options,r);o&&s.delayNextStep(o),r===e.element&&(l=s.currentTimeline),q(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;q(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),ut={},ct=function(){function t(t,e,n,r,i,o,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ut,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new ht(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=E(r.duration)),null!=r.delay&&(i.delay=E(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(t){e&&a.hasOwnProperty(t)||(a[t]=F(o[t],a,n.errors))}))}}},t.prototype._copyOptions=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},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||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},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=ut,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new pt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(at,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,__spread(s))}return i||0!=a.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),ht=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=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},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=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))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||r.a,e._currentKeyframe[t]=r.a})),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,i){var o=this;e&&(this._previousKeyframe.easing=e);var a=i&&i.params||{},s=function(t,e){var n,i={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){i[t]=r.a})):T(t,!1,i)})),i}(t,this._globalTimelineStyles);Object.keys(s).forEach((function(t){var e=F(s[t],a,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:r.a),o._updateStyle(t,e)}))},t.prototype.applyStylesToKeyframe=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])})))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach((function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)}))},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach((function(a,s){var l=T(a,!0);Object.keys(l).forEach((function(t){var i=l[t];i==r.p?e.add(t):i==r.a&&n.add(t)})),i||(l.offset=s/t.duration),o.push(l)}));var a=e.size?V(e.values()):[],s=n.size?V(n.values()):[];if(i){var l=o[0],u=I(l);l.offset=0,u.offset=1,o=[l,u]}return rt(this.element,o,a,s,this.duration,this.startTime,this.easing,!1)},t}(),pt=function(t){function e(e,n,r,i,o,a,s){void 0===s&&(s=!1);var l=this;return(l=t.call(this,e,n,a.delay)||this).element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=s,l.timings={duration:a.duration,delay:a.delay,easing:a.easing},l}return __extends(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,l=T(t[0],!1);l.offset=0,o.push(l);var u=T(t[0],!1);u.offset=dt(s),o.push(u);for(var c=t.length-1,h=1;h<=c;h++){var p=T(t[h],!1);p.offset=dt((n+p.offset*r)/a),o.push(p)}r=a,n=0,i="",t=o}return rt(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(ht);function dt(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var ft,mt,gt=function(){},bt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.normalizePropertyName=function(t,e){return z(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(yt[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(gt),yt=(ft="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(","),mt={},ft.forEach((function(t){return mt[t]=!0})),mt);function vt(t,e,n,r,i,o,a,s,l,u,c,h,p){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:p}}var _t={},wt=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,i){return t.some((function(t){return t(e,n,r,i)}))}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,o,a,s,l,u){var h=[],p=this.ast.options&&this.ast.options.params||_t,d=this.buildStyles(n,a&&a.params||_t,h),f=s&&s.params||_t,m=this.buildStyles(r,f,h),g=new Set,b=new Map,y=new Map,v="void"===r,_={params:Object.assign({},p,f)},w=u?[]:st(t,e,this.ast.animation,i,o,d,m,_,l,h),C=0;if(w.forEach((function(t){C=Math.max(t.duration+t.delay,C)})),h.length)return vt(e,this._triggerName,n,r,v,d,m,[],[],b,y,C,h);w.forEach((function(t){var n=t.element,r=c(b,n,{});t.preStyleProps.forEach((function(t){return r[t]=!0}));var i=c(y,n,{});t.postStyleProps.forEach((function(t){return i[t]=!0})),n!==e&&g.add(n)}));var x=V(g.values());return vt(e,this._triggerName,n,r,v,d,m,w,x,b,y,C)},t}(),Ct=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=I(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 i=t;Object.keys(i).forEach((function(t){var o=i[t];o.length>1&&(o=F(o,r,e)),n[t]=o}))}})),n},t}(),xt=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach((function(t){n.states[t.name]=new Ct(t.style,t.options&&t.options.params||{})})),Ot(this.states,"true","1"),Ot(this.states,"false","0"),e.transitions.forEach((function(e){n.transitionFactories.push(new wt(t,e,n.states))})),this.fallbackTransition=new wt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find((function(i){return i.match(t,e,n,r)}))||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function Ot(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var St=new it,Et=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=X(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=a(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var i=this;void 0===n&&(n={});var a,s=[],l=this._animations[t],u=new Map;if(l?(a=st(this._driver,e,l,"ng-enter","ng-leave",{},{},n,St,s)).forEach((function(t){var e=c(u,t.element,{});t.postStyleProps.forEach((function(t){return e[t]=null}))})):(s.push("The requested animation doesn't exist or has already been destroyed"),a=[]),s.length)throw new Error("Unable to create the animation due to the following errors: "+s.join("\n"));u.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=i._driver.computeStyle(e,n,r.a)}))}));var h=o(a.map((function(t){var e=u.get(t.element);return i._buildPlayer(t,{},e)})));return this._playersById[t]=h,h.onDestroy((function(){return i.destroy(t)})),this.players.push(h),h},t.prototype.destroy=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)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=u(e,"","","");return s(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),kt=[],Dt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},It={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tt="__ng_removed",Pt=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n,r=t&&t.hasOwnProperty("value");if(this.value=null!=(n=r?t.value:t)?n:null,r){var i=I(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=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}(),At=new Pt("void"),jt=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,zt(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=c(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var l=c(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(zt(t,"ng-trigger"),zt(t,"ng-trigger-"+e),l[e]=At),function(){o._engine.afterFlush((function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete l[e]}))}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),a=new Mt(this.id,e,t),s=this._engine.statesByElement.get(t);s||(zt(t,"ng-trigger"),zt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new Pt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=At),"void"===u.value||l.value!==u.value){var h=c(this._engine.playersByElement,t,[]);h.forEach((function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()}));var p=o.matchTransition(l.value,u.value,t,u.params),d=!1;if(!p){if(!r)return;p=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:l,toState:u,player:a,isFallbackTransition:d}),d||(zt(t,"ng-animate-queued"),a.onStart((function(){Ht(t,"ng-animate-queued")}))),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),h.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(e)}))}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),zt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ht(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,r){if(Nt(e)){var i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[Tt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return Nt(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach((function(t){return e.destroyActiveAnimationsForElement(t)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach((function(t){return e.finishActiveQueriedAnimationOnElement(t)}))},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))},t.prototype.whenRenderingDone=function(){var t=this;return new Promise((function(e){if(t.players.length)return o(t.players).onDone((function(){return e()}));e()}))},t.prototype.processLeaveNode=function(t){var e=this,n=t[Tt];if(n&&n.setForRemoval){if(t[Tt]=Dt,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach((function(t){e.markElementAsDisabled(t,!1)}))},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;k--)this._namespaceList[k].drainQueuedTransitions(e).forEach((function(t){var e=t.player,r=t.element;if(S.push(e),n.collectedEnterElements.length){var o=r[Tt];if(o&&o.setForMove)return void e.destroy()}var s=!f||!n.driver.containsElement(f,r),d=x.get(r),m=b.get(r),g=n._buildInstruction(t,i,m,d,s);if(!g.errors||!g.errors.length)return s?(e.onStart((function(){return R(r,g.fromStyles)})),e.onDestroy((function(){return j(r,g.toStyles)})),void a.push(e)):t.isFallbackTransition?(e.onStart((function(){return R(r,g.fromStyles)})),e.onDestroy((function(){return j(r,g.toStyles)})),void a.push(e)):(g.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),i.append(r,g.timelines),l.push({instruction:g,player:e,element:r}),g.queriedElements.forEach((function(t){return c(u,t,[]).push(e)})),g.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var r=h.get(e);r||h.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))}})),void g.postStyleProps.forEach((function(t,e){var n=Object.keys(t),r=p.get(e);r||p.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))})));E.push(g)}));if(E.length){var D=[];E.forEach((function(t){D.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach((function(t){return D.push("- "+t+"\n")}))})),S.forEach((function(t){return t.destroy()})),this.reportError(D)}var I=new Map,T=new Map;l.forEach((function(t){var e=t.element;i.has(e)&&(T.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,I))})),a.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){c(I,e,[]).push(t),t.destroy()}))}));var P=v.filter((function(t){return qt(t,h,p)})),A=new Map;Ft(A,this.driver,w,p,r.a).forEach((function(t){qt(t,h,p)&&P.push(t)}));var M=new Map;g.forEach((function(t,e){Ft(M,n.driver,new Set(t),h,r.p)})),P.forEach((function(t){var e=A.get(t),n=M.get(t);A.set(t,Object.assign({},e,n))}));var N=[],L=[],F={};l.forEach((function(t){var e=t.element,r=t.player,l=t.instruction;if(i.has(e)){if(d.has(e))return r.onDestroy((function(){return j(e,l.toStyles)})),r.disabled=!0,r.overrideTotalTime(l.totalTime),void a.push(r);var u=F;if(T.size>1){for(var c=e,h=[];c=c.parentNode;){var p=T.get(c);if(p){u=p;break}h.push(c)}h.forEach((function(t){return T.set(t,u)}))}var f=n._buildAnimation(r.namespaceId,l,I,s,M,A);if(r.setRealPlayer(f),u===F)N.push(r);else{var m=n.playersByElement.get(u);m&&m.length&&(r.parentPlayer=o(m)),a.push(r)}}else R(e,l.fromStyles),r.onDestroy((function(){return j(e,l.toStyles)})),L.push(r),d.has(e)&&a.push(r)})),L.forEach((function(t){var e=s.get(t.element);if(e&&e.length){var n=o(e);t.setRealPlayer(n)}})),a.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var V=0;V0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.d(t.duration,t.delay)},t}(),Mt=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return s(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=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()}))},t.prototype._queueEvent=function(t,e){c(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function Nt(t){return t&&1===t.nodeType}function Lt(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Ft(t,e,n,r,i){var o=[];n.forEach((function(t){return o.push(Lt(t))}));var a=[];r.forEach((function(n,r){var o={};n.forEach((function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r[Tt]=It,a.push(r))})),t.set(r,o)}));var s=0;return n.forEach((function(t){return Lt(t,o[s++])})),a}function Vt(t,e){var n=new Map;if(t.forEach((function(t){return n.set(t,[])})),0==e.length)return n;var r=new Set(e),i=new Map;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var o=i.get(e);if(o)return o;var a=e.parentNode;return o=n.has(a)?a:r.has(a)?1:t(a),i.set(e,o),o}(t);1!==e&&n.get(e).push(t)})),n}var Bt="$$classes";function zt(t,e){if(t.classList)t.classList.add(e);else{var n=t[Bt];n||(n=t[Bt]={}),n[e]=!0}}function Ht(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Bt];n&&delete n[e]}}function Ut(t,e,n){o(n).onDone((function(){return t.processLeaveNode(e)}))}function qt(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach((function(t){return i.add(t)})):e.set(t,r),n.delete(t),!0}var Kt=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Rt(t,e,n),this._timelineEngine=new Et(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=X(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(t,e){return new xt(t,e)}(r,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,r,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=__read(h(n),2),o=i[0],a=i[1];this._timelineEngine.command(o,e,a,r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=__read(h(n),2),a=o[0],s=o[1];return this._timelineEngine.listen(a,e,s,i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function Wt(t,e){var n=null,r=null;return Array.isArray(e)&&e.length?(n=Yt(e[0]),e.length>1&&(r=Yt(e[e.length-1]))):e&&(n=Yt(e)),n||r?new Gt(t,n,r):null}var Gt=function(){var t=function(){function t(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}return t.prototype.start=function(){this._state<1&&(this._startStyles&&j(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(j(this._element,this._initialStyles),this._endStyles&&(j(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),j(this._element,this._initialStyles),this._state=3)},t}();return t.initialStylesByElement=new WeakMap,t}();function Yt(t){for(var e=null,n=Object.keys(t),r=0;r=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),ne(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._element,e=this._name,n=ie(t,"").split(","),(r=ee(n,e))>=0&&(n.splice(r,1),re(t,"",n.join(","))))},t}();function $t(t,e,n){re(t,"PlayState",n,te(t,e))}function te(t,e){var n=ie(t,"");return n.indexOf(",")>0?ee(n.split(","),e):ee([n],e)}function ee(t,e){for(var n=0;n=0)return n;return-1}function ne(t,e,n){n?t.removeEventListener(Xt,e):t.addEventListener(Xt,e)}function re(t,e,n,r){var i=Zt+e;if(null!=r){var o=t.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}t.style[i]=n}function ie(t,e){return t.style[Zt+e]}var oe="linear",ae=function(){function t(t,e,n,r,i,o,a,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||oe,this.totalTime=r+i,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=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=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new Jt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:K(t.element,r))}))}this.currentSnapshot=e},t}(),se=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).element=e,r._startingStyles={},r.__initialized=!1,r._styles=C(n),r}return __extends(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,t.prototype.destroy.call(this))},e}(r.d),le=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map((function(t){return C(t)}));var r="@keyframes "+e+" {\n",i="";n.forEach((function(t){i=" ";var e=parseFloat(t.offset);r+=""+i+100*e+"% {\n",i+=" ",Object.keys(t).forEach((function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+e+": "+n+";\n")}})),r+=i+"}\n"})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},t.prototype.animate=function(t,e,n,r,i,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter((function(t){return t instanceof ae})),l={};H(n,r)&&s.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return l[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=U(t,e,l));if(0==n)return new se(t,u);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);var p=Wt(t,e),d=new ae(t,e,c,n,r,i,u,p);return d.onDestroy((function(){var t;(t=h).parentNode.removeChild(t)})),d},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),ue=function(){function t(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=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()}))}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=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()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:K(t.element,n))})),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),ce=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(pe().toString()),this._cssKeyframesDriver=new le}return t.prototype.validateStyleProperty=function(t){return y(t)},t.prototype.matchesElement=function(t,e){return v(t,e)},t.prototype.containsElement=function(t,e){return _(t,e)},t.prototype.query=function(t,e,n){return w(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,i,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var l={},u=o.filter((function(t){return t instanceof ue}));H(n,r)&&u.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return l[t]=e[t]}))}));var c=Wt(t,e=U(t,e=e.map((function(t){return T(t,!1)})),l));return new ue(t,e,s,c)},t}();function he(){return"function"==typeof pe()}function pe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("2fFW"),i=n("NJ4a"),o={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete:function(){}}},hOhj:function(t,e,n){"use strict";var r=n("8Y7J"),i=(n("KCVW"),n("XNiG")),o=n("LRne"),a=n("HDdC"),s=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7");var l=n("VRyK"),u=(n("/uUt"),n("3UWI")),c=n("pLZG");n("1G5W"),n("JX91"),n("7o/Q"),n("eIep"),n("quSY"),n("WMd4"),n("9ppp"),n("Ylt2");var h=n("/HVE");n("8bJo"),n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return b}));var p,d,f=((p=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new i.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((function(){return e._scrolled.next(t)})))},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?new a.a((function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Object(u.a)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Object(o.a)()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,n){return t.deregister(n)})),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(c.a)((function(t){return!t||n.indexOf(t)>-1})))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach((function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)})),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Object(s.a)(window.document,"scroll").subscribe((function(){return t._scrolled.next()}))}))},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new p(Object(r.Rb)(r.x),Object(r.Rb)(h.a))},token:p,providedIn:"root"}),p),m=function(){},g=((d=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular((function(){n._change=t.isBrowser?Object(l.a)(Object(s.a)(window,"resize"),Object(s.a)(window,"orientationchange")):Object(o.a)(),n._invalidateCache=n.change().subscribe((function(){return n._updateViewportSize()}))}))}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(Object(u.a)(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new d(Object(r.Rb)(h.a),Object(r.Rb)(r.x))},token:d,providedIn:"root"}),d),b={provide:g,deps:[[new r.y,new r.H,g],h.a,r.x],useFactory:function(t,e,n){return t||new g(e,n)}}},iInd:function(t,e,n){"use strict";var r=n("SVse"),i=n("8Y7J"),o=n("LRne"),a=n("Cfvw"),s=n("XNiG"),l=n("9ppp"),u=function(t){function e(e){var n=this;return(n=t.call(this)||this)._value=e,n}return __extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(s.a),c=n("HDdC"),h=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}(),p=n("itXk"),d=n("NXyV"),f=n("EY2u"),m=n("lJxs"),g=n("0EUg"),b=n("pLZG"),y=n("7o/Q"),v=n("4I5i");function _(t){return function(e){return 0===t?Object(f.b)():e.lift(new w(t))}}var w=function(){function t(t){if(this.total=t,this.total<0)throw new v.a}return t.prototype.call=function(t,e){return e.subscribe(new C(t,this.total))},t}(),C=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.ring=new Array,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(t?Object(b.a)((function(e,n){return t(e,n,r)})):T.a,_(1),n?k(e):x((function(){return new h})))}}var A=n("l7GE"),j=n("51Dv"),R=n("ZUHj");function M(t){return function(e){var n=new N(t),r=e.lift(n);return n.caught=r}}var N=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new L(t,this.selector,this.caught))},t}(),L=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this).selector=n,i.caught=r,i}return __extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(i){return void t.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var r=new j.a(this,void 0,void 0);this.add(r),Object(R.a)(this,n,void 0,void 0,r)}},e}(A.a),F=n("IzEk");function V(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(b.a)((function(e,n){return t(e,n,r)})):T.a,Object(F.a)(1),n?k(e):x((function(){return new h})))}}var B=n("5+tZ"),z=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new H(t,this.predicate,this.thisArg,this.source))},t}(),H=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e)||this).predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return __extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(y.a),U=n("eIep"),q=n("JX91");function K(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new W(t,e,n))}}var W=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new G(t,this.accumulator,this.seed,this.hasSeed))},t}(),G=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e)||this).accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return __extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(y.a),Y=n("bOdf"),Q=n("mCNh"),Z=n("vkgz"),X=n("quSY"),J=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new $(t,this.callback))},t}(),$=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).add(new X.a(n)),r}return __extends(e,t),e}(y.a),tt=n("bHdf"),et=n("cUpR");n.d(e,"C",(function(){return vt})),n.d(e,"s",(function(){return Rn})),n.d(e,"z",(function(){return qn})),n.d(e,"u",(function(){return Fn})),n.d(e,"A",(function(){return Kn})),n.d(e,"B",(function(){return Wn})),n.d(e,"w",(function(){return Bn})),n.d(e,"v",(function(){return Vn})),n.d(e,"y",(function(){return Un})),n.d(e,"t",(function(){return Nn})),n.d(e,"x",(function(){return Hn})),n.d(e,"D",(function(){return An})),n.d(e,"l",(function(){return wn})),n.d(e,"m",(function(){return Cn})),n.d(e,"o",(function(){return En})),n.d(e,"j",(function(){return hn})),n.d(e,"k",(function(){return _n})),n.d(e,"i",(function(){return dn})),n.d(e,"g",(function(){return jn})),n.d(e,"h",(function(){return Gn})),n.d(e,"n",(function(){return Ln})),n.d(e,"b",(function(){return Sn})),n.d(e,"d",(function(){return Tn})),n.d(e,"e",(function(){return In})),n.d(e,"f",(function(){return Dn})),n.d(e,"p",(function(){return Pn})),n.d(e,"a",(function(){return ce})),n.d(e,"q",(function(){return mn})),n.d(e,"c",(function(){return Ut})),n.d(e,"r",(function(){return Ht}));var nt=function(t,e){this.id=t,this.url=e},rt=function(t){function e(e,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=this;return(o=t.call(this,e,n)||this).navigationTrigger=r,o.restoredState=i,o}return __extends(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(nt),it=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).urlAfterRedirects=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(nt),ot=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).reason=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(nt),at=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e,n)||this).error=r,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(nt),st=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),lt=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),ut=function(t){function e(e,n,r,i,o){var a=this;return(a=t.call(this,e,n)||this).urlAfterRedirects=r,a.state=i,a.shouldActivate=o,a}return __extends(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(nt),ct=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),ht=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o.state=i,o}return __extends(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(nt),pt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),dt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),ft=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),mt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),gt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),bt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),yt=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),vt=function(){},_t="primary",wt=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Ct(t){return new wt(t)}var xt="ngNavigationCancelingError";function Ot(t){var e=Error("NavigationCancelingError: "+t);return e[xt]=!0,e}function St(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function Rt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Mt(t){return Object(i.xb)(t)?t:Object(i.yb)(t)?Object(a.a)(Promise.resolve(t)):Object(o.a)(t)}function Nt(t,e,n){return n?function(t,e){return Pt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Bt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return e[n]===t[n]}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Bt(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Bt(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!t(n.children[o],r.children[o]))return!1}return!0}var a=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!Bt(n.segments,a)&&!!n.children[_t]&&e(n.children[_t],r,s)}(e,n,n.segments)}(t.root,e.root)}var Lt=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return qt.serialize(this)},t}(),Ft=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Rt(e,(function(t,e){return t.parent=n}))}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Kt(this)},t}(),Vt=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Xt(this)},t}();function Bt(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function zt(t,e){var n=[];return Rt(t.children,(function(t,r){r===_t&&(n=n.concat(e(t,r)))})),Rt(t.children,(function(t,r){r!==_t&&(n=n.concat(e(t,r)))})),n}var Ht=function(){},Ut=function(){function t(){}return t.prototype.parse=function(t){var e=new ne(t);return new Lt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n,r;return"/"+function t(e,n){if(!e.hasChildren())return Kt(e);if(n){var r=e.children[_t]?t(e.children[_t],!1):"",i=[];return Rt(e.children,(function(e,n){n!==_t&&i.push(n+":"+t(e,!1))})),i.length>0?r+"("+i.join("//")+")":r}var o=zt(e,(function(n,r){return r===_t?[t(e.children[_t],!1)]:[r+":"+t(n,!1)]}));return Kt(e)+"/("+o.join("//")+")"}(t.root,!0)+(n=t.queryParams,(r=Object.keys(n).map((function(t){var e=n[t];return Array.isArray(e)?e.map((function(e){return Gt(t)+"="+Gt(e)})).join("&"):Gt(t)+"="+Gt(e)}))).length?"?"+r.join("&"):"")+("string"==typeof t.fragment?"#"+(e=t.fragment,encodeURI(e)):"")},t}(),qt=new Ut;function Kt(t){return t.segments.map((function(t){return Xt(t)})).join("/")}function Wt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gt(t){return Wt(t).replace(/%3B/gi,";")}function Yt(t){return Wt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qt(t){return decodeURIComponent(t)}function Zt(t){return Qt(t.replace(/\+/g,"%20"))}function Xt(t){return""+Yt(t.path)+(e=t.parameters,Object.keys(e).map((function(t){return";"+Yt(t)+"="+Yt(e[t])})).join(""));var e}var Jt=/^[^\/()?;=#]+/;function $t(t){var e=t.match(Jt);return e?e[0]:""}var te=/^[^=?]+/,ee=/^[^?]+/,ne=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ft([],{}):new Ft([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=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[_t]=new Ft(t,e)),n},t.prototype.parseSegment=function(){var t=$t(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Vt(Qt(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=$t(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=$t(this.remaining);r&&this.capture(n=r)}t[Qt(e)]=Qt(n)}},t.prototype.parseQueryParam=function(t){var e=function(t){var e=t.match(te);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(ee);return e?e[0]:""}(this.remaining);r&&this.capture(n=r)}var i=Zt(e),o=Zt(n);if(t.hasOwnProperty(i)){var a=t[i];Array.isArray(a)||(t[i]=a=[a]),a.push(o)}else t[i]=o}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=$t(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=_t);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[_t]:new Ft([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),re=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=ie(t,this._root);return e?e.children.map((function(t){return t.value})):[]},t.prototype.firstChild=function(t){var e=ie(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=oe(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))},t.prototype.pathFromRoot=function(t){return oe(t,this._root).map((function(t){return t.value}))},t}();function ie(t,e){var n,r;if(t===e.value)return e;try{for(var i=__values(e.children),o=i.next();!o.done;o=i.next()){var a=ie(t,o.value);if(a)return a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}function oe(t,e){var n,r;if(t===e.value)return[e];try{for(var i=__values(e.children),o=i.next();!o.done;o=i.next()){var a=oe(t,o.value);if(a.length)return a.unshift(e),a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return[]}var ae=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function se(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var le=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).snapshot=n,fe(r,e),r}return __extends(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(re);function ue(t,e){var n=function(t,e){var n=new pe([],{},{},"",{},_t,e,null,t.root,-1,{});return new de("",new ae(n,[]))}(t,e),r=new u([new Vt("",{})]),i=new u({}),o=new u({}),a=new u({}),s=new u(""),l=new ce(r,i,a,s,o,_t,e,n.root);return l.snapshot=n.root,new le(new ae(l,[]),n)}var ce=function(){function t(t,e,n,r,i,o,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(m.a)((function(t){return Ct(t)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)((function(t){return Ct(t)})))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function he(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(t){return t.reduce((function(t,e){return{params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var pe=function(){function t(t,e,n,r,i,o,a,s,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Ct(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map((function(t){return t.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),de=function(t){function e(e,n){var r=this;return(r=t.call(this,n)||this).url=e,fe(r,n),r}return __extends(e,t),e.prototype.toString=function(){return me(this._root)},e}(re);function fe(t,e){e.value._routerState=t,e.children.forEach((function(e){return fe(t,e)}))}function me(t){var e=t.children.length>0?" { "+t.children.map(me).join(", ")+" } ":"";return""+t.value+e}function ge(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Pt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Pt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&ye(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==jt(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),we=function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n};function Ce(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[_t]:""+t}function xe(t,e,n){if(t||(t=new Ft([],{})),0===t.segments.length&&t.hasChildren())return Oe(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var a=t.segments[i],s=Ce(n[r]),l=r0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!De(s,l,a))return o;r+=2}else{if(!De(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new Ft([],((r={})[_t]=t,r)):t;return new Lt(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(m.a)((function(t){return new Ft([],t)}))):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Object(o.a)({});var a=[],s=[],l={};return Rt(n,(function(n,i){var o,u,c=(o=i,u=n,r.expandSegmentGroup(t,e,u,o)).pipe(Object(m.a)((function(t){return l[i]=t})));i===_t?a.push(c):s.push(c)})),o.a.apply(null,a.concat(s)).pipe(Object(g.a)(),P(),Object(m.a)((function(){return l})))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,i,a){var s=this;return Object(o.a).apply(void 0,__spread(n)).pipe(Object(m.a)((function(l){return s.expandSegmentAgainstRoute(t,e,n,l,r,i,a).pipe(M((function(t){if(t instanceof je)return Object(o.a)(null);throw t})))})),Object(g.a)(),V((function(t){return!!t})),M((function(t,n){if(t instanceof h||"EmptyError"===t.name){if(s.noLeftoversInUrl(e,r,i))return Object(o.a)(new Ft([],{}));throw new je(e)}throw t})))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,a){return He(r)!==o?Me(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Me(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ne(o):this.lineralizeSegments(n,o).pipe(Object(B.a)((function(n){var o=new Ft(n,{});return i.expandSegment(t,o,e,n,r,!1)})))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var a=this,s=Ve(e,r,i),l=s.matched,u=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!l)return Me(e);var p=this.applyRedirectCommands(u,r.redirectTo,h);return r.redirectTo.startsWith("/")?Ne(p):this.lineralizeSegments(r,p).pipe(Object(B.a)((function(r){return a.expandSegment(t,e,n,r.concat(i.slice(c)),o,!1)})))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(m.a)((function(t){return n._loadedConfig=t,new Ft(r,{})}))):Object(o.a)(new Ft(r,{}));var a=Ve(e,n,r),s=a.matched,l=a.consumedSegments,u=a.lastChild;if(!s)return Me(e);var c=r.slice(u);return this.getChildConfig(t,n,r).pipe(Object(B.a)((function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some((function(n){return ze(t,e,n)&&He(n)!==_t}))}(t,n,r)?{segmentGroup:Be(new Ft(e,function(t,e){var n,r,i={};i[_t]=e;try{for(var o=__values(t),a=o.next();!a.done;a=o.next()){var s=a.value;""===s.path&&He(s)!==_t&&(i[He(s)]=new Ft([],{}))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new Ft(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return ze(t,e,n)}))}(t,n,r)?{segmentGroup:Be(new Ft(t.segments,function(t,e,n,r){var i,o,a={};try{for(var s=__values(n),l=s.next();!l.done;l=s.next()){var u=l.value;ze(t,e,u)&&!r[He(u)]&&(a[He(u)]=new Ft([],{}))}}catch(c){i={error:c}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return Object.assign({},r,a)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,l,c,r),s=a.segmentGroup,u=a.slicedSegments;return 0===u.length&&s.hasChildren()?i.expandChildren(n,r,s).pipe(Object(m.a)((function(t){return new Ft(l,t)}))):0===r.length&&0===u.length?Object(o.a)(new Ft(l,{})):i.expandSegment(n,s,r,u,_t,!0).pipe(Object(m.a)((function(t){return new Ft(l.concat(t.segments),t.children)})))})))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Object(o.a)(new Et(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):function(t,e,n){var r,i=e.canLoad;return i&&0!==i.length?Object(a.a)(i).pipe(Object(m.a)((function(r){var i,o=t.get(r);if(function(t){return t&&Pe(t.canLoad)}(o))i=o.canLoad(e,n);else{if(!Pe(o))throw new Error("Invalid CanLoad guard");i=o(e,n)}return Mt(i)}))).pipe(Object(g.a)(),(r=function(t){return!0===t},function(t){return t.lift(new z(r,void 0,t))})):Object(o.a)(!0)}(t.injector,e,n).pipe(Object(B.a)((function(n){return n?r.configLoader.load(t.injector,e).pipe(Object(m.a)((function(t){return e._loadedConfig=t,t}))):function(t){return new c.a((function(e){return e.error(Ot("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))}))}(e)}))):Object(o.a)(new Et([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children[_t])return Le(t.redirectTo);r=r.children[_t]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new Lt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Rt(t,(function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t})),n},t.prototype.createSegmentGroup=function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),a={};return Rt(e.children,(function(e,o){a[o]=i.createSegmentGroup(t,e,n,r)})),new Ft(o,a)},t.prototype.createSegments=function(t,e,n,r){var i=this;return e.map((function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)}))},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,i=0;try{for(var o=__values(e),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.path===t.path)return e.splice(i),s;i++}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return t},t}();function Ve(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||St)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Be(t){if(1===t.numberOfChildren&&t.children[_t]){var e=t.children[_t];return new Ft(t.segments.concat(e.segments),e.children)}return t}function ze(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function He(t){return t.outlet||_t}var Ue=function(t){this.path=t,this.route=this.path[this.path.length-1]},qe=function(t,e){this.component=t,this.route=e};function Ke(t,e,n){var r=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(r?r.module.injector:n).get(t)}function We(t,e,n){var r=se(t),i=t.value;Rt(r,(function(t,r){We(t,i.component?e?e.children.getContext(r):null:e,n)})),n.canDeactivateChecks.push(new qe(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var Ge=Symbol("INITIAL_VALUE");function Ye(){return Object(U.a)((function(t){return Object(p.a).apply(void 0,__spread(t.map((function(t){return t.pipe(Object(F.a)(1),Object(q.a)(Ge))})))).pipe(K((function(t,e){var n=!1;return e.reduce((function(t,r,i){if(t!==Ge)return t;if(r===Ge&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||Ae(r))return r}return t}),t)}),Ge),Object(b.a)((function(t){return t!==Ge})),Object(m.a)((function(t){return Ae(t)?t:!0===t})),Object(F.a)(1))}))}function Qe(t,e){return null!==t&&e&&e(new gt(t)),Object(o.a)(!0)}function Ze(t,e){return null!==t&&e&&e(new ft(t)),Object(o.a)(!0)}function Xe(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);var i=r.map((function(r){return Object(d.a)((function(){var i,o=Ke(r,e,n);if(function(t){return t&&Pe(t.canActivate)}(o))i=Mt(o.canActivate(e,t));else{if(!Pe(o))throw new Error("Invalid CanActivate guard");i=Mt(o(e,t))}return i.pipe(V())}))}));return Object(o.a)(i).pipe(Ye())}function Je(t,e,n){var r=e[e.length-1],i=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 Object(d.a)((function(){var i=e.guards.map((function(i){var o,a=Ke(i,e.node,n);if(function(t){return t&&Pe(t.canActivateChild)}(a))o=Mt(a.canActivateChild(r,t));else{if(!Pe(a))throw new Error("Invalid CanActivateChild guard");o=Mt(a(r,t))}return o.pipe(V())}));return Object(o.a)(i).pipe(Ye())}))}));return Object(o.a)(i).pipe(Ye())}var $e=function(){},tn=function(){function t(t,e,n,r,i,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=rn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,_t),n=new pe([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},_t,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ae(n,e),i=new de(this.url,r);return this.inheritParamsAndData(i._root),Object(o.a)(i)}catch(a){return new c.a((function(t){return t.error(a)}))}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=he(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,i=zt(e,(function(e,n){return r.processSegmentGroup(t,e,n)}));return n={},i.forEach((function(t){var e=n[t.value.outlet];if(e){var r=e.url.map((function(t){return t.toString()})).join("/"),i=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[t.value.outlet]=t.value})),i.sort((function(t,e){return t.value.outlet===_t?-1:e.value.outlet===_t?1:t.value.outlet.localeCompare(e.value.outlet)})),i},t.prototype.processSegment=function(t,e,n,r){var i,o;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;try{return this.processSegmentAgainstRoute(l,e,n,r)}catch(u){if(!(u instanceof $e))throw u}}}catch(c){i={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new $e},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new $e;if((t.outlet||_t)!==r)throw new $e;var i,o=[],a=[];if("**"===t.path){var s=n.length>0?jt(n).parameters:{};i=new pe(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sn(t),r,t.component,t,en(e),nn(e)+n.length,ln(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new $e;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||St)(n,t,e);if(!r)throw new $e;var i={};Rt(r.posParams,(function(t,e){i[e]=t.path}));var o=r.consumed.length>0?Object.assign({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(e,t,n);o=l.consumedSegments,a=n.slice(l.lastChild),i=new pe(o,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sn(t),r,t.component,t,en(e),nn(e)+o.length,ln(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=rn(e,o,a,u,this.relativeLinkResolution),h=c.segmentGroup,p=c.slicedSegments;if(0===p.length&&h.hasChildren()){var d=this.processChildren(u,h);return[new ae(i,d)]}if(0===u.length&&0===p.length)return[new ae(i,[])];var f=this.processSegment(u,h,p,_t);return[new ae(i,f)]},t}();function en(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function nn(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 rn(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some((function(n){return on(t,e,n)&&an(n)!==_t}))}(t,n,r)){var o=new Ft(e,function(t,e,n,r){var i,o,a={};a[_t]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var s=__values(n),l=s.next();!l.done;l=s.next()){var u=l.value;if(""===u.path&&an(u)!==_t){var c=new Ft([],{});c._sourceSegment=t,c._segmentIndexShift=e.length,a[an(u)]=c}}}catch(h){i={error:h}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a}(t,e,r,new Ft(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return on(t,e,n)}))}(t,n,r)){var a=new Ft(t.segments,function(t,e,n,r,i,o){var a,s,l={};try{for(var u=__values(r),c=u.next();!c.done;c=u.next()){var h=c.value;if(on(t,n,h)&&!i[an(h)]){var p=new Ft([],{});p._sourceSegment=t,p._segmentIndexShift="legacy"===o?t.segments.length:e.length,l[an(h)]=p}}}catch(d){a={error:d}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(a)throw a.error}}return Object.assign({},i,l)}(t,e,n,r,t.children,i));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var s=new Ft(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function on(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function an(t){return t.outlet||_t}function sn(t){return t.data||{}}function ln(t){return t.resolve||{}}function un(t,e,n,r){var i=Ke(t,e,r);return Mt(i.resolve?i.resolve(e,n):i(e,n))}function cn(t){return function(e){return e.pipe(Object(U.a)((function(e){var n=t(e);return n?Object(a.a)(n).pipe(Object(m.a)((function(){return e}))):Object(a.a)([e])})))}}var hn=function(){},pn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),dn=new i.o("ROUTES"),fn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(m.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Et(At(i.injector.get(dn)).map(Tt),i)})))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(a.a)(this.loader.load(t)):Mt(t()).pipe(Object(B.a)((function(t){return t instanceof i.t?Object(o.a)(t):Object(a.a)(e.compiler.compileModuleAsync(t))})))},t}(),mn=function(){},gn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function bn(t){throw t}function yn(t,e,n){return e.parse("/")}function vn(t,e){return Object(o.a)(null)}var _n=function(){function t(t,e,n,r,o,a,l,c){var h=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new s.a,this.errorHandler=bn,this.malformedUriErrorHandler=yn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:vn,afterPreactivation:vn},this.urlHandlingStrategy=new gn,this.routeReuseStrategy=new pn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.v),this.console=o.get(i.ab);var p=o.get(i.x);this.isNgZoneEnabled=p instanceof i.x,this.resetConfig(c),this.currentUrlTree=new Lt(new Ft([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new fn(a,l,(function(t){return h.triggerEvent(new pt(t))}),(function(t){return h.triggerEvent(new dt(t))})),this.routerState=ue(this.currentUrlTree,this.rootComponentType),this.transitions=new u({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Object(b.a)((function(t){return 0!==t.id})),Object(m.a)((function(t){return Object.assign({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),Object(U.a)((function(t){var r,i,s,l=!1,c=!1;return Object(o.a)(t).pipe(Object(Z.a)((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}})),Object(U.a)((function(t){var r,i,a,s,l=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||l)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(U.a)((function(t){var r=e.transitions.getValue();return n.next(new rt(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?f.a:[t]})),Object(U.a)((function(t){return Promise.resolve(t)})),(r=e.ngModule.injector,i=e.configLoader,a=e.urlSerializer,s=e.config,function(t){return t.pipe(Object(U.a)((function(t){return function(t,e,n,r,i){return new Fe(t,e,n,r,i).apply()}(r,i,a,t.extractedUrl,s).pipe(Object(m.a)((function(e){return Object.assign({},t,{urlAfterRedirects:e})})))})))}),Object(Z.a)((function(t){e.currentNavigation=Object.assign({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})})),function(t,n,r,i,o){return function(r){return r.pipe(Object(B.a)((function(r){return function(t,e,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new tn(t,e,n,r,i,o).recognize()}(t,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,e.serializeUrl(a)),i,o).pipe(Object(m.a)((function(t){return Object.assign({},r,{targetSnapshot:t})})));var a})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(Z.a)((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Object(Z.a)((function(t){var r=new st(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)})));if(l&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.id,c=t.extractedUrl,h=t.source,p=t.restoredState,d=t.extras,g=new rt(u,e.serializeUrl(c),h,p);n.next(g);var b=ue(c,e.rootComponentType).snapshot;return Object(o.a)(Object.assign({},t,{targetSnapshot:b,urlAfterRedirects:c,extras:Object.assign({},d,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),f.a})),cn((function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,l=a.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})})),Object(Z.a)((function(t){var n=new lt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Object(m.a)((function(t){return Object.assign({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,i=e.rootContexts,o=n._root,function t(e,n,r,i,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var a=se(n);return e.children.forEach((function(e){!function(e,n,r,i,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var a=e.value,s=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Bt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Bt(t.url,e.url)||!Pt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!be(t,e)||!Pt(t.queryParams,e.queryParams);case"paramsChange":default:return!be(t,e)}}(s,a,a.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Ue(i)):(a.data=s.data,a._resolvedData=s._resolvedData),t(e,n,a.component?l?l.children:null:r,i,o),u&&o.canDeactivateChecks.push(new qe(l&&l.outlet&&l.outlet.component||null,s))}else s&&We(n,l,o),o.canActivateChecks.push(new Ue(i)),t(e,null,a.component?l?l.children:null:r,i,o)}(e,a[e.value.outlet],r,i.concat([e.value]),o),delete a[e.value.outlet]})),Rt(a,(function(t,e){return We(t,r.getContext(e),o)})),o}(o,r?r._root:null,i,[o.value]))});var n,r,i,o})),(i=e.ngModule.injector,s=function(t){return e.triggerEvent(t)},function(t){return t.pipe(Object(B.a)((function(t){var e=t.targetSnapshot,n=t.currentSnapshot,r=t.guards,l=r.canActivateChecks,u=r.canDeactivateChecks;return 0===u.length&&0===l.length?Object(o.a)(Object.assign({},t,{guardsResult:!0})):function(t,e,n,r){return Object(a.a)(t).pipe(Object(B.a)((function(t){return function(t,e,n,r,i){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(o.a)(!0);var s=a.map((function(o){var a,s=Ke(o,e,i);if(function(t){return t&&Pe(t.canDeactivate)}(s))a=Mt(s.canDeactivate(t,e,n,r));else{if(!Pe(s))throw new Error("Invalid CanDeactivate guard");a=Mt(s(t,e,n,r))}return a.pipe(V())}));return Object(o.a)(s).pipe(Ye())}(t.component,t.route,n,e,r)})),V((function(t){return!0!==t}),!0))}(u,e,n,i).pipe(Object(B.a)((function(t){return t&&"boolean"==typeof t?function(t,e,n,r){return Object(a.a)(e).pipe(Object(Y.a)((function(e){return Object(a.a)([Ze(e.route.parent,r),Qe(e.route,r),Je(t,e.path,n),Xe(t,e.route,n)]).pipe(Object(g.a)(),V((function(t){return!0!==t}),!0))})),V((function(t){return!0!==t}),!0))}(e,l,i,s):Object(o.a)(t)})),Object(m.a)((function(e){return Object.assign({},t,{guardsResult:e})})))})))}),Object(Z.a)((function(t){if(Ae(t.guardsResult)){var n=Ot('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}})),Object(Z.a)((function(t){var n=new ut(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),Object(b.a)((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new ot(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0})),cn((function(t){if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(Z.a)((function(t){var n=new ct(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),function(t,e){return function(n){return n.pipe(Object(B.a)((function(n){var r=n.targetSnapshot,i=n.guards.canActivateChecks;return i.length?Object(a.a)(i).pipe(Object(Y.a)((function(n){return function(t,e,n,r){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return Object(o.a)({});if(1===i.length){var s=i[0];return un(t[s],e,n,r).pipe(Object(m.a)((function(t){var e;return(e={})[s]=t,e})))}var l={};return Object(a.a)(i).pipe(Object(B.a)((function(i){return un(t[i],e,n,r).pipe(Object(m.a)((function(t){return l[i]=t,t})))}))).pipe(P(),Object(m.a)((function(){return l})))}(t._resolve,t,e,r).pipe(Object(m.a)((function(e){return t._resolvedData=e,t.data=Object.assign({},t.data,he(t,n).resolve),null})))}(n.route,r,t,e)})),function(t,e){return arguments.length>=2?function(n){return Object(Q.a)(K(t,e),_(1),k(e))(n)}:function(e){return Object(Q.a)(K((function(e,n,r){return t(e,n,r+1)})),_(1))(e)}}((function(t,e){return t})),Object(m.a)((function(t){return n}))):Object(o.a)(n)})))}}(e.paramsInheritanceStrategy,e.ngModule.injector),Object(Z.a)((function(t){var n=new ht(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})))})),cn((function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,o=t.rawUrl,a=t.extras,s=a.skipLocationChange,l=a.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!l})})),Object(m.a)((function(t){var n,r,i,o,a=(n=e.routeReuseStrategy,r=t.targetSnapshot,i=t.currentRouterState,o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var i=function(e,n,r){return n.children.map((function(n){var i,o;try{for(var a=__values(r.children),s=a.next();!s.done;s=a.next()){var l=s.value;if(e.shouldReuseRoute(l.value.snapshot,n.value))return t(e,n,l)}}catch(u){i={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return t(e,n)}))}(e,n,r);return new ae(l,i)}var o=e.retrieve(n.value);if(o){var a=o.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;ri;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new we(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),s=a.processChildren?Oe(a.segmentGroup,a.index,o.commands):xe(a.segmentGroup,a.index,o.commands);return ve(a.segmentGroup,s,e,r,i)}(u,this.currentUrlTree,t,h,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Object(i.V)()&&this.isNgZoneEnabled&&!i.x.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Ae(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e=0&&t-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._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var r=e[n];r===t||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},t.prototype._closeDialogs=function(t){for(var e=t.length;e--;)t[e].close()},t}(),O=0,S=function(){function t(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}return t.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=I(this._elementRef,this._dialog.openDialogs))},t.prototype.ngOnChanges=function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)},t}(),E=function(){function t(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+O++}return t.prototype.ngOnInit=function(){var t=this;this._dialogRef||(this._dialogRef=I(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)}))},t}(),k=function(){},D=function(){};function I(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}var T=function(){}},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("7o/Q"),i=n("KqfI"),o=n("n6bG");function a(t,e,n){return function(r){return r.lift(new s(t,e,n))}}var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))},t}(),l=function(t){function e(e,n,r,a){var s=this;return(s=t.call(this,e)||this)._tapNext=i.a,s._tapError=i.a,s._tapComplete=i.a,s._tapError=r||i.a,s._tapComplete=a||i.a,Object(o.a)(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||i.a,s._tapError=n.error||i.a,s._tapComplete=n.complete||i.a),s}return __extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(r.a)},wlNb:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(t){this.user=t.user,this.role=t.role,this.admin=t.admin}return Object.defineProperty(t.prototype,"isStaff",{get:function(){return"staff"===this.role},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isAdmin",{get:function(){return this.isStaff&&this.admin},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLogged",{get:function(){return null!=this.user},enumerable:!0,configurable:!0}),t}()},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("HDdC"),i=n("DH7j"),o=n("n6bG"),a=n("lJxs");function s(t,e,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?s(t,e,n).pipe(Object(a.a)((function(t){return Object(i.a)(t)?l.apply(void 0,__spread(t)):l(t)}))):new r.a((function(r){!function t(e,n,r,i,o){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,r,o),a=function(){return s.removeEventListener(n,r,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,r),a=function(){return l.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,r),a=function(){return u.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c1?Array.prototype.slice.call(arguments):t)}),r,n)}))}},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function a(t,e){return e?Object(o.a)(t,e):new r.a(Object(i.a)(t))}},"z+Ro":function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return r}))},zMNK:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"g",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"f",(function(){return h})),n.d(e,"e",(function(){return p}));var r=n("8Y7J");function i(){throw Error("Host already has a portal attached")}var o=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&i(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),a=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this).component=e,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=i,o}return __extends(e,t),e}(o),s=function(t){function e(e,n,r){var i=this;return(i=t.call(this)||this).templateRef=e,i.viewContainerRef=n,i.context=r,i}return __extends(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(o),l=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&i(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof a?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof s?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),u=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this).outletElement=e,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return __extends(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn((function(){return e.destroy()}))):(e=r.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)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context);return r.detectChanges(),r.rootNodes.forEach((function(t){return e.outletElement.appendChild(t)})),this.setDisposeFn((function(){var t=n.indexOf(r);-1!==t&&n.remove(t)})),r},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(l),c=function(t){function e(e,n){var i=this;return(i=t.call(this)||this)._componentFactoryResolver=e,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new r.m,i}return __extends(e,t),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&t.prototype.detach.call(this),e&&t.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){t.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=n.createComponent(r,n.length,e.injector||n.injector);return t.prototype.setDisposeFn.call(this,(function(){return i.destroy()})),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i},e.prototype.attachTemplatePortal=function(e){var n=this;e.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return t.prototype.setDisposeFn.call(this,(function(){return n._viewContainerRef.clear()})),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r},e}(l),h=function(){},p=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)},t}()},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("8Y7J"),i=n("AytR"),o=function(){},a=function(){function t(){this.title="uds"}return t.prototype.ngOnInit=function(){cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})},t}(),s=n("iInd"),l=r.pb({encapsulation:2,styles:[],data:{}});function u(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.qb(1,212992,null,0,s.o,[s.b,r.N,r.j,[8,null],r.h],null,null)],(function(t,e){t(e,1,0)}),null)}var c=r.nb("ng-component",s.C,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"ng-component",[],null,null,null,u,l)),r.qb(1,49152,null,0,s.C,[],null,null)],null,null)}),{},{},[]),h=n("GS7A"),p=n("zMNK"),d=n("XNiG"),f=n("quSY"),m=n("VRyK"),g=n("LRne"),b=n("7Hc7"),y=n("5GAg"),v=n("Xd0L"),_=n("KCVW"),w=n("dvZr"),C=n("JX91"),x=n("eIep"),O=n("IzEk"),S=n("pLZG"),E=n("1G5W"),k=n("D0XW"),D=n("7o/Q"),I=n("WMd4");function T(t,e){var n;void 0===e&&(e=k.a);var r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return function(t){return t.lift(new P(r,e))}}var P=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new A(t,this.delay,this.scheduler))},t}(),A=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this).delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return __extends(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new j(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(I.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(I.a.createComplete()),this.unsubscribe()},e}(D.a),j=function(t,e){this.time=t,this.notification=e},R=n("QQfA"),M=n("/HVE"),N=new r.o("MAT_MENU_PANEL"),L=function(){},F=function(t){function e(e,n,r,i){var o=this;return(o=t.call(this)||this)._elementRef=e,o._focusMonitor=r,o._parentMenu=i,o.role="menuitem",o._hovered=new d.a,o._highlighted=!1,o._triggersSubmenu=!1,r&&r.monitor(o._elementRef,!1),i&&i.addItem&&i.addItem(o),o._document=n,o}return __extends(e,t),e.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)},e.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._checkDisabled=function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())},e.prototype._handleMouseEnter=function(){this._hovered.next(this)},e.prototype.getLabel=function(){var t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,n="";if(t.childNodes)for(var r=t.childNodes.length,i=0;i')}(),this._xPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yPosition",{get:function(){return this._yPosition},set:function(t){"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{set:function(t){var e=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(t){e._classList[t]=!1})),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach((function(t){e._classList[t]=!0})),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.panelClass},set:function(t){this.panelClass=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.setPositionClasses()},t.prototype.ngAfterContentInit=function(){var t=this;this._updateDirectDescendants(),this._keyManager=new y.d(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe((function(){return t.closed.emit("tab")}))},t.prototype.ngOnDestroy=function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()},t.prototype._hovered=function(){return this._directDescendantItems.changes.pipe(Object(C.a)(this._directDescendantItems),Object(x.a)((function(t){return Object(m.a).apply(void 0,__spread(t.map((function(t){return t._hovered}))))})))},t.prototype.addItem=function(t){},t.prototype.removeItem=function(t){},t.prototype._handleKeydown=function(t){var e=t.keyCode,n=this._keyManager;switch(e){case w.e:Object(w.o)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case w.g:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case w.i:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case w.f:case w.c:Object(w.o)(t)||(e===w.f?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault());break;default:e!==w.l&&e!==w.b||n.setFocusOrigin("keyboard"),n.onKeydown(t)}},t.prototype.focusFirstItem=function(t){void 0===t&&(t="program");var e=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(O.a)(1)).subscribe((function(){return e.setFocusOrigin(t).setFirstItemActive()})):e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}},t.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},t.prototype.setElevation=function(t){var e="mat-elevation-z"+(4+t),n=Object.keys(this._classList).find((function(t){return t.startsWith("mat-elevation-z")}));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},t.prototype.setPositionClasses=function(t,e){void 0===t&&(t=this.xPosition),void 0===e&&(e=this.yPosition);var n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e},t.prototype._startAnimation=function(){this._panelAnimationState="enter"},t.prototype._resetAnimation=function(){this._panelAnimationState="void"},t.prototype._onAnimationDone=function(t){this._animationDone.next(t),this._isAnimating=!1},t.prototype._onAnimationStart=function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)},t.prototype._updateDirectDescendants=function(){var t=this;this._allItems.changes.pipe(Object(C.a)(this._allItems)).subscribe((function(e){t._directDescendantItems.reset(e.filter((function(e){return e._parentMenu===t}))),t._directDescendantItems.notifyOnChanges()}))},t}()),z=function(t){function e(e,n,r){return t.call(this,e,n,r)||this}return __extends(e,t),e}(B),H=new r.o("mat-menu-scroll-strategy");function U(t){return function(){return t.scrollStrategies.reposition()}}var q=Object(M.f)({passive:!0}),K=function(){function t(t,e,n,i,o,a,s,l){var u=this;this._overlay=t,this._element=e,this._viewContainerRef=n,this._parentMenu=o,this._menuItemInstance=a,this._dir=s,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.a.EMPTY,this._hoverSubscription=f.a.EMPTY,this._menuCloseSubscription=f.a.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new r.m,this.onMenuOpen=this.menuOpened,this.menuClosed=new r.m,this.onMenuClose=this.menuClosed,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,q),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=i}return Object.defineProperty(t.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(t){this.menu=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.asObservable().subscribe((function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)}))))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},t.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,q),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(t.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),t.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},t.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},t.prototype.openMenu=function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return t.closeMenu()})),this._initMenu(),this.menu instanceof B&&this.menu._startAnimation()}},t.prototype.closeMenu=function(){this.menu.close.emit()},t.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)},t.prototype._destroyMenu=function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),e instanceof B?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(Object(S.a)((function(t){return"void"===t.toState})),Object(O.a)(1),Object(E.a)(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach()),this._restoreFocus()}},t.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},t.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}},t.prototype._restoreFocus=function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},t.prototype._setIsMenuOpen=function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)},t.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()},t.prototype._createOverlay=function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},t.prototype._getOverlayConfig=function(){return new R.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},t.prototype._subscribeToPositions=function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe((function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")}))},t.prototype._setPosition=function(t){var e=__read("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=e[0],r=e[1],i=__read("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),o=i[0],a=i[1],s=__read([o,a],2),l=s[0],u=s[1],c=__read([n,r],2),h=c[0],p=c[1],d=0;this.triggersSubmenu()?(p=n="before"===this.menu.xPosition?"start":"end",r=h="end"===n?"start":"end",d="bottom"===o?8:-8):this.menu.overlapTrigger||(l="top"===o?"bottom":"top",u="top"===a?"bottom":"top"),t.withPositions([{originX:n,originY:l,overlayX:h,overlayY:o,offsetY:d},{originX:r,originY:l,overlayX:p,overlayY:o,offsetY:d},{originX:n,originY:u,overlayX:h,overlayY:a,offsetY:-d},{originX:r,originY:u,overlayX:p,overlayY:a,offsetY:-d}])},t.prototype._menuClosingActions=function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),r=this._parentMenu?this._parentMenu.closed:Object(g.a)(),i=this._parentMenu?this._parentMenu._hovered().pipe(Object(S.a)((function(e){return e!==t._menuItemInstance})),Object(S.a)((function(){return t._menuOpen}))):Object(g.a)();return Object(m.a)(e,r,i,n)},t.prototype._handleMousedown=function(t){Object(y.h)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())},t.prototype._handleKeydown=function(t){var e=t.keyCode;this.triggersSubmenu()&&(e===w.i&&"ltr"===this.dir||e===w.g&&"rtl"===this.dir)&&this.openMenu()},t.prototype._handleClick=function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()},t.prototype._handleHover=function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(S.a)((function(e){return e===t._menuItemInstance&&!e.disabled})),T(0,b.a)).subscribe((function(){t._openedBy="mouse",t.menu instanceof B&&t.menu._isAnimating?t.menu._animationDone.pipe(Object(O.a)(1),T(0,b.a),Object(E.a)(t._parentMenu._hovered())).subscribe((function(){return t.openMenu()})):t.openMenu()})))},t.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new p.g(this.menu.templateRef,this._viewContainerRef)),this._portal},t}(),W=function(){},G=function(){},Y=n("IP0z"),Q=n("cUpR"),Z=n("SVse"),X=n("hOhj"),J=n("omvX"),$=r.pb({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function tt(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==i._handleKeydown(n)&&r),"click"===e&&(r=!1!==i.closed.emit("click")&&r),"@transformMenu.start"===e&&(r=!1!==i._onAnimationStart(n)&&r),"@transformMenu.done"===e&&(r=!1!==i._onAnimationDone(n)&&r),r}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(2,278528,null,0,Z.i,[Z.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),r.rb(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),r.Cb(null,0)],(function(t,e){t(e,2,0,"mat-menu-panel",e.component._classList)}),(function(t,e){t(e,0,0,e.component._panelAnimationState)}))}function et(t){return r.Mb(2,[r.Ib(671088640,1,{templateRef:0}),(t()(),r.gb(0,[[1,2]],null,0,null,tt))],null,null)}var nt=r.pb({encapsulation:2,styles:[],data:{}});function rt(t){return r.Mb(2,[r.Cb(null,0),(t()(),r.rb(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),r.qb(2,212992,null,0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())}),(function(t,e){t(e,1,0,r.Db(e,2).unbounded)}))}var it=function(){function t(t){this.el=t}return t.prototype.ngOnInit=function(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())},t}(),ot="accent",at=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],st=function(t){this._elementRef=t},lt=function(t){function e(e,n,r){var i,o,a=this;(a=t.call(this,e)||this)._focusMonitor=n,a._animationMode=r,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");try{for(var s=__values(at),l=s.next();!l.done;l=s.next()){var u=l.value;a._hasHostAttributes(u)&&a._getHostElement().classList.add(u)}}catch(c){i={error:c}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return e.nativeElement.classList.add("mat-button-base"),a._focusMonitor.monitor(a._elementRef,!0),a.isRoundButton&&(a.color=ot),a}return __extends(e,t),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(t,e){void 0===t&&(t="program"),this._focusMonitor.focusVia(this._getHostElement(),t,e)},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._hasHostAttributes=function(){for(var t=this,e=[],n=0;n*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .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:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function pt(t){return r.Mb(2,[r.Ib(671088640,1,{ripple:0}),(t()(),r.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),r.Cb(null,0),(t()(),r.rb(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),r.qb(4,212992,[[1,4]],0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),r.rb(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,r.Db(e,4).unbounded)}))}var dt=r.pb({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-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:0;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-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-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,.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{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-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-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,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[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:0;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 .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,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[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 .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{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 .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .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:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function ft(t){return r.Mb(2,[r.Ib(671088640,1,{ripple:0}),(t()(),r.rb(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),r.Cb(null,0),(t()(),r.rb(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),r.qb(4,212992,[[1,4]],0,v.t,[r.k,r.x,M.a,[2,v.k],[2,J.a]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),r.rb(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())}),(function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,r.Db(e,4).unbounded)}))}var mt,gt,bt=n("itXk"),yt=n("GyhO"),vt=n("HDdC"),_t=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new wt(t,this.total))},t}(),wt=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(D.a),Ct=n("Kj3r"),xt=n("lJxs"),Ot=function(){},St=new Set,Et=((gt=function(){function t(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):kt}return t.prototype.matchMedia=function(t){return this._platform.WEBKIT&&function(t){if(!St.has(t))try{mt||((mt=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(mt)),mt.sheet&&(mt.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),St.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new gt(Object(r.Rb)(M.a))},token:gt,providedIn:"root"}),gt);function kt(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var Dt,It=((Dt=function(){function t(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new d.a}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return Tt(Object(_.a)(t)).some((function(t){return e._registerQuery(t).mql.matches}))},t.prototype.observe=function(t){var e=this,n=Tt(Object(_.a)(t)).map((function(t){return e._registerQuery(t).observable})),r=Object(bt.a)(n);return(r=Object(yt.a)(r.pipe(Object(O.a)(1)),r.pipe((function(t){return t.lift(new _t(1))}),Object(Ct.a)(0)))).pipe(Object(xt.a)((function(t){var e={matches:!1,breakpoints:{}};return t.forEach((function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches})),e})))},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),r={observable:new vt.a((function(t){var r=function(n){return e._zone.run((function(){return t.next(n)}))};return n.addListener(r),function(){n.removeListener(r)}})).pipe(Object(C.a)(n),Object(xt.a)((function(e){return{query:t,matches:e.matches}})),Object(E.a)(this._destroySubject)),mql:n};return this._queries.set(t,r),r},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new Dt(Object(r.Rb)(Et),Object(r.Rb)(r.x))},token:Dt,providedIn:"root"}),Dt);function Tt(t){return t.map((function(t){return t.split(",")})).reduce((function(t,e){return t.concat(e)})).map((function(t){return t.trim()}))}var Pt={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},At=20;function jt(t){return Error('Tooltip position "'+t+'" is invalid.')}var Rt=new r.o("mat-tooltip-scroll-strategy");function Mt(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:At})}}var Nt=new r.o("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Lt=function(){function t(t,e,n,r,i,o,a,s,l,u,c,h){var p=this;this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=i,this._ariaDescriber=a,this._focusMonitor=s,this._dir=u,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new d.a,this._scrollStrategy=l;var f=e.nativeElement,m="undefined"==typeof window||window.Hammer||h;o.IOS||o.ANDROID?m||this._manualListeners.set("touchstart",(function(){return p.show()})):this._manualListeners.set("mouseenter",(function(){return p.show()})).set("mouseleave",(function(){return p.hide()})),this._manualListeners.forEach((function(t,e){return f.addEventListener(e,t)})),s.monitor(e).pipe(Object(E.a)(this._destroyed)).subscribe((function(t){t?"keyboard"===t&&i.run((function(){return p.show()})):i.run((function(){return p.hide(0)}))})),c&&c.position&&(this.position=c.position)}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Object(_.b)(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this._elementRef.nativeElement,e=t.style;"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||(e.webkitUserSelect=e.userSelect=e.msUserSelect=""),t.draggable&&"none"===e.webkitUserDrag&&(e.webkitUserDrag="")},t.prototype.ngOnDestroy=function(){var t=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((function(e,n){t._elementRef.nativeElement.removeEventListener(n,e)})),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},t.prototype.show=function(t){var e=this;if(void 0===t&&(t=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new p.c(Ft,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(E.a)(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._handleKeydown=function(t){this._isTooltipVisible()&&t.keyCode===w.e&&!Object(w.o)(t)&&(t.preventDefault(),t.stopPropagation(),this.hide(0))},t.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},t.prototype._createOverlay=function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(Object(E.a)(this._destroyed)).subscribe((function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run((function(){return t.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(E.a)(this._destroyed)).subscribe((function(){return t._detach()})),this._overlayRef},t.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},t.prototype._updatePosition=function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign({},e.main,n.main),Object.assign({},e.fallback,n.fallback)])},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw jt(n);t={originX:"end",originY:"center"}}var r=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:r.x,originY:r.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw jt(n);t={overlayX:"start",overlayY:"center"}}var r=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:r.x,overlayY:r.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(O.a)(1),Object(E.a)(this._destroyed)).subscribe((function(){t._tooltipInstance&&t._overlayRef.updatePosition()})))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t}(),Ft=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new d.a,this._isHandset=this._breakpointObserver.observe(Pt.Handset)}return t.prototype.show=function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()}),t)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()}),t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype.ngOnDestroy=function(){this._onHide.complete()},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t}(),Vt=function(){},Bt=n("KIbp"),zt=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},Object.defineProperty(t.prototype,"serviceImage",{get:function(){return this.api.galleryImageURL(this.service.imageId)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceName",{get:function(){var t=this.service.visual_name;return t.length>56&&(t=t.substring(0,53)+"..."),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceTooltip",{get:function(){return null!==this.service.to_be_replaced?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?django.gettext("This service is currently not accessible due to schedule restrictions."):""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"serviceClass",{get:function(){var t=["service"];return null!=this.service.to_be_replaced?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t},enumerable:!0,configurable:!0}),t.prototype.getTransportIcon=function(t){return this.api.transportIconURL(t)},t.prototype.hasActions=function(){return this.service.allow_users_remove||this.service.allow_users_reset},t.prototype.showTransportsMenu=function(){return this.service.transports.length>1&&this.service.show_transports},t.prototype.hasMenu=function(){return!1===this.service.maintenance&&!1===this.service.not_accesible&&(this.hasActions()||this.showTransportsMenu())},t.prototype.notifyNotLaunching=function(t){this.api.gui.alert('
'+django.gettext("Launcher")+"
",t)},t.prototype.launch=function(t){this.service.maintenance?this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched")):this.service.not_accesible?this.notifyNotLaunching('
'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'
\n \n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Tn='\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',Pn='\n ',An=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Dn)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+In+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+Pn)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Dn)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+In)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Tn)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t.ngModelWarning=function(t){console.warn("\n It looks like you're using ngModel on the same form field as "+t+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},t}();function jn(t,e){t||Ln(e,"Cannot find control with"),e.valueAccessor||Ln(e,"No value accessor for form control with"),t.validator=Cn.compose([t.validator,e.validator]),t.asyncValidator=Cn.composeAsync([t.asyncValidator,e.asyncValidator]),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&&Rn(t,e)}))}(t,e),function(t,e){t.registerOnChange((function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Rn(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange((function(t){e.valueAccessor.setDisabledState(t)})),e._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))})),e._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))}))}function Rn(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Mn(t,e){null==t&&Ln(e,"Cannot find control with"),t.validator=Cn.compose([t.validator,e.validator]),t.asyncValidator=Cn.composeAsync([t.asyncValidator,e.asyncValidator])}function Nn(t){return Ln(t,"There is no FormControl instance attached to form control element with")}function Ln(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function Fn(t){return null!=t?Cn.compose(t.map(En)):null}function Vn(t){return null!=t?Cn.composeAsync(t.map(kn)):null}function Bn(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 zn(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function Hn(t){var e=qn(t)?t.validators:t;return Array.isArray(e)?Fn(e):e||null}function Un(t,e){var n=qn(e)?e.asyncValidators:t;return Array.isArray(n)?Vn(n):n||null}function qn(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var Kn=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=Hn(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=Un(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object.assign({},t,{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))},t.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object.assign({},t,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=On(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce((function(t,e){return t instanceof Gn?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof Yn&&t.at(e)||null}),t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new r.m,this.statusChanges=new r.m},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls((function(e){return e.status===t}))},t.prototype._anyControlsDirty=function(){return this._anyControls((function(t){return t.dirty}))},t.prototype._anyControlsTouched=function(){return this._anyControls((function(t){return t.touched}))},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){qn(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t.prototype._parentMarkedDirty=function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},t}(),Wn=function(t){function e(e,n,r){void 0===e&&(e=null);var i=this;return(i=t.call(this,Hn(n),Un(r,n))||this)._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return __extends(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((function(t){return t(n.value,!1!==e.emitViewToModelChange)})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=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},e}(Kn),Gn=function(t){function e(e,n,r){var i=this;return(i=t.call(this,Hn(n),Un(r,n))||this).controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return __extends(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach((function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach((function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof Wn?e.value:e.getRawValue(),t}))},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=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: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild((function(r,i){n=n||e.contains(i)&&t(r)})),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},(function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e}))},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild((function(t,r){n=e(n,t,r)})),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=__values(Object.keys(this.controls)),r=n.next();!r.done;r=n.next()){var i=r.value;if(this.controls[i].enabled)return!1}}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},e}(Kn),Yn=function(t){function e(e,n,r){var i=this;return(i=t.call(this,Hn(n),Un(r,n))||this).controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return __extends(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){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(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach((function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach((function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map((function(t){return t instanceof Wn?t.value:t.getRawValue()}))},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=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 "+t)},e.prototype._forEachChild=function(t){this.controls.forEach((function(e,n){t(e,n)}))},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))},e.prototype._anyControls=function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=__values(this.controls),r=n.next();!r.done;r=n.next()){if(r.value.enabled)return!1}}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Kn),Qn=Promise.resolve(null),Zn=function(t){function e(e,n){var i=this;return(i=t.call(this)||this).submitted=!1,i._directives=[],i.ngSubmit=new r.m,i.form=new Gn({},Fn(e),Vn(n)),i}return __extends(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),jn(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),zn(e._directives,t)}))},e.prototype.addFormGroup=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path),r=new Gn({});Mn(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})}))},e.prototype.removeFormGroup=function(t){var e=this;Qn.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Qn.then((function(){n.form.get(t.path).setValue(e)}))},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,Bn(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(vn),Xn=function(t){function e(e,n){var i=this;return(i=t.call(this)||this)._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new r.m,i}return __extends(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return jn(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){zn(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);Mn(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);Mn(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,Bn(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach((function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange((function(){return Nn(e)})),e.valueAccessor.registerOnTouched((function(){return Nn(e)})),e._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),e._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),t&&t._clearChangeFns()}(e.control,e),n&&jn(n,e),e.control=n)})),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange((function(){return t._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=Fn(this._validators);this.form.validator=Cn.compose([this.form.validator,t]);var e=Vn(this._asyncValidators);this.form.asyncValidator=Cn.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||An.missingFormException()},e}(vn),Jn=r.pb({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function $n(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),r.Kb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.placeholder||"\xa0")}))}function tr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.Kb(1,null,["",""]))],null,(function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")}))}function er(t){return r.Mb(0,[r.Cb(null,0),(t()(),r.gb(0,null,null,0))],null,null)}function nr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),r.qb(1,16384,null,0,Z.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),r.gb(16777216,null,null,1,null,tr)),r.qb(3,16384,null,0,Z.p,[r.N,r.K,Z.n],null,null),(t()(),r.gb(16777216,null,null,1,null,er)),r.qb(5,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)}),null)}function rr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(t()(),r.rb(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(t,e,n){var r=!0,i=t.component;return"@transformPanel.done"===e&&(r=!1!==i._panelDoneAnimatingStream.next(n.toState)&&r),"keydown"===e&&(r=!1!==i._handleKeydown(n)&&r),r}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(3,278528,null,0,Z.i,[Z.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r.Cb(null,1)],(function(t,e){var n=e.component;t(e,3,0,r.vb(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)}),(function(t,e){var n=e.component;t(e,0,0,void 0),t(e,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)}))}function ir(t){return r.Mb(2,[r.Ib(671088640,1,{trigger:0}),r.Ib(671088640,2,{panel:0}),r.Ib(671088640,3,{overlayDir:0}),(t()(),r.rb(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.toggle()&&r),r}),null,null)),r.qb(4,16384,[["origin",4]],0,R.b,[r.k],null,null),(t()(),r.rb(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),r.qb(6,16384,null,0,Z.n,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),r.gb(16777216,null,null,1,null,$n)),r.qb(8,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.gb(16777216,null,null,1,null,nr)),r.qb(10,278528,null,0,Z.o,[r.N,r.K,Z.n],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),r.rb(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),r.rb(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,(function(t,e,n){var r=!0,i=t.component;return"backdropClick"===e&&(r=!1!==i.close()&&r),"attach"===e&&(r=!1!==i._onAttached()&&r),"detach"===e&&(r=!1!==i.close()&&r),r}),rr)),r.qb(14,671744,[[3,4]],0,R.a,[R.c,r.K,r.N,R.j,[2,Y.b]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,r.Db(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")}),null)}n("3UWI");var or,ar=Object(M.f)({passive:!0}),sr=((or=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return ne.a;var n=Object(_.d)(t),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new d.a,o="cdk-text-field-autofilled",a=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(o)&&(n.classList.remove(o),e._ngZone.run((function(){return i.next({target:t.target,isAutofilled:!1})}))):(n.classList.add(o),e._ngZone.run((function(){return i.next({target:t.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",a,ar),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",a,ar)}}),i.asObservable()},t.prototype.stopMonitoring=function(t){var e=Object(_.d)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach((function(e,n){return t.stopMonitoring(n)}))},t}()).ngInjectableDef=Object(r.Qb)({factory:function(){return new or(Object(r.Rb)(M.a),Object(r.Rb)(r.x))},token:or,providedIn:"root"}),or),lr=function(){},ur=["button","checkbox","file","hidden","image","radio","range","reset","submit"],cr=0,hr=function(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r},pr=function(t){function e(e,n,r,i,o,a,s,l,u){var c=this;(c=t.call(this,a,i,o,r)||this)._elementRef=e,c._platform=n,c.ngControl=r,c._autofillMonitor=l,c._uid="mat-input-"+cr++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new d.a,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(t){return Object(M.e)().has(t)}));var h=c._elementRef.nativeElement;return c._inputValueAccessor=s||h,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}))})),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===h.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select"),c}return __extends(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Object(_.b)(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Object(_.b)(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Object(M.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Object(_.b)(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()}))},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(t){this._elementRef.nativeElement.focus(t)},e.prototype._focusChanged=function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(ur.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(Object(v.C)(hr)),dr=function(){},fr=n("D8EZ"),mr=r.pb({encapsulation:0,styles:[[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width:744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]],data:{}});function gr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==r.Db(t,1)._handleKeydown(n)&&i),i}),je,Pe)),r.qb(1,8568832,[[28,4]],0,v.p,[r.k,r.h,[2,v.j],[2,v.o]],{value:[0,"value"]},null),(t()(),r.Kb(2,0,[" "," "]))],(function(t,e){t(e,1,0,e.context.$implicit.id)}),(function(t,e){t(e,0,0,r.Db(e,1)._getTabIndex(),r.Db(e,1).selected,r.Db(e,1).multiple,r.Db(e,1).active,r.Db(e,1).id,r.Db(e,1)._getAriaSelected(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled),t(e,2,0,e.context.$implicit.name)}))}function br(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,25,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,24,"mat-form-field",[["appaerance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,an,Ge)),r.qb(2,7520256,null,9,qe,[r.k,r.h,[2,v.h],[2,Y.b],[2,Ue],M.a,r.x,[2,J.a]],null,null),r.Ib(603979776,19,{_controlNonStatic:0}),r.Ib(335544320,20,{_controlStatic:0}),r.Ib(603979776,21,{_labelChildNonStatic:0}),r.Ib(335544320,22,{_labelChildStatic:0}),r.Ib(603979776,23,{_placeholderChild:0}),r.Ib(603979776,24,{_errorChildren:1}),r.Ib(603979776,25,{_hintChildren:1}),r.Ib(603979776,26,{_prefixChildren:1}),r.Ib(603979776,27,{_suffixChildren:1}),(t()(),r.rb(12,0,null,3,4,"mat-label",[],null,null,null,null,null)),r.qb(13,16384,[[21,4],[22,4]],0,Ve,[],null,null),(t()(),r.rb(14,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(15,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Authenticator"])),(t()(),r.rb(17,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(t,e,n){var i=!0,o=t.component;return"keydown"===e&&(i=!1!==r.Db(t,19)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==r.Db(t,19)._onFocus()&&i),"blur"===e&&(i=!1!==r.Db(t,19)._onBlur()&&i),"selectionChange"===e&&(i=!1!==o.changeAuth(n.value)&&i),i}),ir,Jn)),r.Hb(6144,null,v.j,null,[dn]),r.qb(19,2080768,null,3,dn,[X.d,r.h,r.x,v.b,r.k,[2,Y.b],[2,Zn],[2,Xn],[2,qe],[8,null],[8,null],un,y.g],{value:[0,"value"]},{selectionChange:"selectionChange"}),r.Ib(603979776,28,{options:1}),r.Ib(603979776,29,{optionGroups:1}),r.Ib(603979776,30,{customTrigger:0}),r.Hb(2048,[[19,4],[20,4]],Le,null,[dn]),(t()(),r.gb(16777216,null,1,1,null,gr)),r.qb(25,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,15,0),t(e,19,0,n.auths[0].id),t(e,25,0,n.auths)}),(function(t,e){t(e,1,1,["standard"==r.Db(e,2).appearance,"fill"==r.Db(e,2).appearance,"outline"==r.Db(e,2).appearance,"legacy"==r.Db(e,2).appearance,r.Db(e,2)._control.errorState,r.Db(e,2)._canLabelFloat,r.Db(e,2)._shouldLabelFloat(),r.Db(e,2)._hasFloatingLabel(),r.Db(e,2)._hideControlPlaceholder(),r.Db(e,2)._control.disabled,r.Db(e,2)._control.autofilled,r.Db(e,2)._control.focused,"accent"==r.Db(e,2).color,"warn"==r.Db(e,2).color,r.Db(e,2)._shouldForward("untouched"),r.Db(e,2)._shouldForward("touched"),r.Db(e,2)._shouldForward("pristine"),r.Db(e,2)._shouldForward("dirty"),r.Db(e,2)._shouldForward("valid"),r.Db(e,2)._shouldForward("invalid"),r.Db(e,2)._shouldForward("pending"),!r.Db(e,2)._animationsEnabled]),t(e,17,1,[r.Db(e,19).id,r.Db(e,19).tabIndex,r.Db(e,19)._getAriaLabel(),r.Db(e,19)._getAriaLabelledby(),r.Db(e,19).required.toString(),r.Db(e,19).disabled.toString(),r.Db(e,19).errorState,r.Db(e,19).panelOpen?r.Db(e,19)._optionIds:null,r.Db(e,19).multiple,r.Db(e,19)._ariaDescribedby||null,r.Db(e,19)._getAriaActiveDescendant(),r.Db(e,19).disabled,r.Db(e,19).errorState,r.Db(e,19).required,r.Db(e,19).empty])}))}function yr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,57,"form",[["id","loginform"],["method","post"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,0,"input",[["id","token"],["name",""],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,0,"input",[["id","id_logouturl"],["name","logouturl"],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,0,"input",[["id","authenticator"],["name","authenticator"],["type","hidden"],["value",""]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,53,"div",[["class","login-container"]],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,1,"div",[["class","login-brand"]],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),r.rb(7,0,null,null,1,"div",[["class","login-info"]],null,null,null,null,null)),(t()(),r.Kb(8,null,[" "," "])),(t()(),r.rb(9,0,null,null,48,"div",[["class","login-form"]],null,null,null,null,null)),(t()(),r.rb(10,0,null,null,19,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),r.rb(11,0,null,null,18,"mat-form-field",[["appearance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,an,Ge)),r.qb(12,7520256,null,9,qe,[r.k,r.h,[2,v.h],[2,Y.b],[2,Ue],M.a,r.x,[2,J.a]],{appearance:[0,"appearance"]},null),r.Ib(603979776,1,{_controlNonStatic:0}),r.Ib(335544320,2,{_controlStatic:0}),r.Ib(603979776,3,{_labelChildNonStatic:0}),r.Ib(335544320,4,{_labelChildStatic:0}),r.Ib(603979776,5,{_placeholderChild:0}),r.Ib(603979776,6,{_errorChildren:1}),r.Ib(603979776,7,{_hintChildren:1}),r.Ib(603979776,8,{_prefixChildren:1}),r.Ib(603979776,9,{_suffixChildren:1}),(t()(),r.rb(22,0,null,3,4,"mat-label",[],null,null,null,null,null)),r.qb(23,16384,[[3,4],[4,4]],0,Ve,[],null,null),(t()(),r.rb(24,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(25,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Username"])),(t()(),r.rb(27,0,null,1,2,"input",[["autofocus",""],["class","mat-input-element mat-form-field-autofill-control"],["id","id_user"],["matInput",""],["name","user"],["required",""],["value",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==r.Db(t,28)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==r.Db(t,28)._focusChanged(!0)&&i),"input"===e&&(i=!1!==r.Db(t,28)._onInput()&&i),i}),null,null)),r.qb(28,999424,null,0,pr,[r.k,M.a,[8,null],[2,Zn],[2,Xn],v.b,[8,null],sr,r.x],{id:[0,"id"],required:[1,"required"],value:[2,"value"]},null),r.Hb(2048,[[1,4],[2,4]],Le,null,[pr]),(t()(),r.rb(30,0,null,null,19,"div",[["class","login-field"]],null,null,null,null,null)),(t()(),r.rb(31,0,null,null,18,"mat-form-field",[["appearance","standard"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,an,Ge)),r.qb(32,7520256,null,9,qe,[r.k,r.h,[2,v.h],[2,Y.b],[2,Ue],M.a,r.x,[2,J.a]],{appearance:[0,"appearance"]},null),r.Ib(603979776,10,{_controlNonStatic:0}),r.Ib(335544320,11,{_controlStatic:0}),r.Ib(603979776,12,{_labelChildNonStatic:0}),r.Ib(335544320,13,{_labelChildStatic:0}),r.Ib(603979776,14,{_placeholderChild:0}),r.Ib(603979776,15,{_errorChildren:1}),r.Ib(603979776,16,{_hintChildren:1}),r.Ib(603979776,17,{_prefixChildren:1}),r.Ib(603979776,18,{_suffixChildren:1}),(t()(),r.rb(42,0,null,3,4,"mat-label",[],null,null,null,null,null)),r.qb(43,16384,[[12,4],[13,4]],0,Ve,[],null,null),(t()(),r.rb(44,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(45,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Password"])),(t()(),r.rb(47,0,null,1,2,"input",[["class","form-control mat-input-element mat-form-field-autofill-control"],["data-eye",""],["id","id_password"],["matInput",""],["name","password"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(t,e,n){var i=!0;return"blur"===e&&(i=!1!==r.Db(t,48)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==r.Db(t,48)._focusChanged(!0)&&i),"input"===e&&(i=!1!==r.Db(t,48)._onInput()&&i),i}),null,null)),r.qb(48,999424,null,0,pr,[r.k,M.a,[8,null],[2,Zn],[2,Xn],v.b,[8,null],sr,r.x],{id:[0,"id"],type:[1,"type"]},null),r.Hb(2048,[[10,4],[11,4]],Le,null,[pr]),(t()(),r.gb(16777216,null,null,1,null,br)),r.qb(51,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(52,0,null,null,5,"div",[["class","login-button"]],null,null,null,null,null)),(t()(),r.rb(53,0,null,null,4,"button",[["color","primary"],["mat-stroked-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,pt,ht)),r.qb(54,180224,null,0,lt,[r.k,y.e,[2,J.a]],{color:[0,"color"]},null),(t()(),r.rb(55,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(56,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Login"]))],(function(t,e){var n=e.component;t(e,12,0,"standard"),t(e,25,0),t(e,28,0,"id_user","",""),t(e,32,0,"standard"),t(e,45,0),t(e,48,0,"id_password","password"),t(e,51,0,n.auths.length>1),t(e,54,0,"primary"),t(e,56,0)}),(function(t,e){var n=e.component;t(e,6,0,n.api.staticURL("modern/img/login-img.png")),t(e,8,0,n.title),t(e,11,1,["standard"==r.Db(e,12).appearance,"fill"==r.Db(e,12).appearance,"outline"==r.Db(e,12).appearance,"legacy"==r.Db(e,12).appearance,r.Db(e,12)._control.errorState,r.Db(e,12)._canLabelFloat,r.Db(e,12)._shouldLabelFloat(),r.Db(e,12)._hasFloatingLabel(),r.Db(e,12)._hideControlPlaceholder(),r.Db(e,12)._control.disabled,r.Db(e,12)._control.autofilled,r.Db(e,12)._control.focused,"accent"==r.Db(e,12).color,"warn"==r.Db(e,12).color,r.Db(e,12)._shouldForward("untouched"),r.Db(e,12)._shouldForward("touched"),r.Db(e,12)._shouldForward("pristine"),r.Db(e,12)._shouldForward("dirty"),r.Db(e,12)._shouldForward("valid"),r.Db(e,12)._shouldForward("invalid"),r.Db(e,12)._shouldForward("pending"),!r.Db(e,12)._animationsEnabled]),t(e,27,0,r.Db(e,28)._isServer,r.Db(e,28).id,r.Db(e,28).placeholder,r.Db(e,28).disabled,r.Db(e,28).required,r.Db(e,28).readonly&&!r.Db(e,28)._isNativeSelect||null,r.Db(e,28)._ariaDescribedby||null,r.Db(e,28).errorState,r.Db(e,28).required.toString()),t(e,31,1,["standard"==r.Db(e,32).appearance,"fill"==r.Db(e,32).appearance,"outline"==r.Db(e,32).appearance,"legacy"==r.Db(e,32).appearance,r.Db(e,32)._control.errorState,r.Db(e,32)._canLabelFloat,r.Db(e,32)._shouldLabelFloat(),r.Db(e,32)._hasFloatingLabel(),r.Db(e,32)._hideControlPlaceholder(),r.Db(e,32)._control.disabled,r.Db(e,32)._control.autofilled,r.Db(e,32)._control.focused,"accent"==r.Db(e,32).color,"warn"==r.Db(e,32).color,r.Db(e,32)._shouldForward("untouched"),r.Db(e,32)._shouldForward("touched"),r.Db(e,32)._shouldForward("pristine"),r.Db(e,32)._shouldForward("dirty"),r.Db(e,32)._shouldForward("valid"),r.Db(e,32)._shouldForward("invalid"),r.Db(e,32)._shouldForward("pending"),!r.Db(e,32)._animationsEnabled]),t(e,47,0,r.Db(e,48)._isServer,r.Db(e,48).id,r.Db(e,48).placeholder,r.Db(e,48).disabled,r.Db(e,48).required,r.Db(e,48).readonly&&!r.Db(e,48)._isNativeSelect||null,r.Db(e,48)._ariaDescribedby||null,r.Db(e,48).errorState,r.Db(e,48).required.toString()),t(e,53,0,r.Db(e,54).disabled||null,"NoopAnimations"===r.Db(e,54)._animationMode)}))}var vr=r.nb("uds-login",fr.a,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-login",[],null,null,null,yr,mr)),r.qb(1,114688,null,0,fr.a,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),_r=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},t.prototype.download=function(t){window.location.href=t},t.prototype.img=function(t){return this.api.staticURL("modern/img/"+t+".png")},t}(),wr=r.pb({encapsulation:0,styles:[[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 21%}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:justify}"]],data:{}});function Cr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"div",[["class","plugin"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.download(t.context.$implicit.url)&&r),r}),null,null)),(t()(),r.rb(1,0,null,null,1,"div",[["class","image"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,0,"img",[],[[8,"src",4]],null,null,null,null)),(t()(),r.rb(3,0,null,null,1,"div",[["class","platform"]],null,null,null,null,null)),(t()(),r.Kb(4,null,[" "," "])),(t()(),r.rb(5,0,null,null,1,"div",[["class","description"]],null,null,null,null,null)),(t()(),r.Kb(6,null,[" "," "]))],null,(function(t,e){t(e,2,0,e.component.img(e.context.$implicit.name)),t(e,4,0,e.context.$implicit.name),t(e,6,0,e.context.$implicit.description)}))}function xr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,13,"div",[["class","plugins-container"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,5,"div",[["class","banner"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,4,"div",[["class","banner-text"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(5,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS Client"])),(t()(),r.rb(7,0,null,null,2,"div",[["class","plugins"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,Cr)),r.qb(9,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null),(t()(),r.rb(10,0,null,null,3,"div",[["class","info"]],null,null,null,null,null)),(t()(),r.rb(11,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(12,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Download UDS client for your platform"]))],(function(t,e){var n=e.component;t(e,5,0),t(e,9,0,n.api.plugins),t(e,12,0)}),null)}var Or=r.nb("uds-client-download",_r,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-client-download",[],null,null,null,xr,wr)),r.qb(1,114688,null,0,_r,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Sr=function(){function t(t){this.sanitizer=t}return t.prototype.transform=function(t,e){return this.sanitizer.bypassSecurityTrustHtml(t)},t}(),Er=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},t.prototype.download=function(t){window.location.href=t},t.prototype.img=function(t){return this.api.staticURL("modern/img/"+t+".png")},t}(),kr=r.pb({encapsulation:0,styles:[[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700}"]],data:{}});function Dr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,4,"div",[["class","actor"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.download(t.context.$implicit.url)&&r),r}),null,null)),(t()(),r.rb(1,0,null,null,1,"div",[["class","name"]],[[8,"innerHTML",1]],null,null,null,null)),r.Gb(2,1),(t()(),r.rb(3,0,null,null,1,"div",[["class","description"]],[[8,"innerHTML",1]],null,null,null,null)),r.Gb(4,1)],null,(function(t,e){var n=r.Lb(e,1,0,t(e,2,0,r.Db(e.parent,0),e.context.$implicit.name));t(e,1,0,n);var i=r.Lb(e,3,0,t(e,4,0,r.Db(e.parent,0),e.context.$implicit.description));t(e,3,0,i)}))}function Ir(t){return r.Mb(0,[r.Eb(0,Sr,[Q.b]),(t()(),r.rb(1,0,null,null,9,"div",[["class","actors-container"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,5,"div",[["class","banner"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,4,"div",[["class","banner-text"]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(6,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Downloads"])),(t()(),r.rb(8,0,null,null,2,"div",[["class","actors"]],null,null,null,null,null)),(t()(),r.gb(16777216,null,null,1,null,Dr)),r.qb(10,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null)],(function(t,e){var n=e.component;t(e,6,0),t(e,10,0,n.api.actors)}),null)}var Tr=r.nb("uds-downloads",Er,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-downloads",[],null,null,null,Ir,kr)),r.qb(1,114688,null,0,Er,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Pr=function(){function t(t){this.route=t,this.error=""}return t.prototype.ngOnInit=function(){this.getError()},t.prototype.getError=function(){var t=this.route.snapshot.paramMap.get("id");try{this.error=(new TextDecoder).decode(Uint8Array.from(window.atob(t),(function(t){return t.charCodeAt(t)}))).replace("\n"," "),console.log(this.error),udsData.error=this.error}catch(e){console.log(e),this.error=django.gettext("Invalid error string")}},t}(),Ar=r.pb({encapsulation:0,styles:[[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();-webkit-animation:5s infinite CogAnimation;animation:5s infinite CogAnimation}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@-webkit-keyframes CogAnimation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes CogAnimation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]],data:{}});function jr(t){return r.Mb(0,[r.Eb(0,Sr,[Q.b]),(t()(),r.rb(1,0,null,null,17,"div",[["class","error-container"]],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,4,"div",[["class","graph"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,1,":svg:svg",[["class","bird"],["viewBox","0 0 55 41"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,0,":svg:path",[["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"]],null,null,null,null,null)),(t()(),r.rb(5,0,null,null,1,":svg:svg",[["class","gears"],["viewBox","0 0 32 32"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,0,":svg:path",[["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"]],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,3,"h1",[["class","title"]],null,null,null,null,null)),(t()(),r.rb(8,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(9,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["An error has occurred"])),(t()(),r.rb(11,0,null,null,1,"p",[["class","description"]],[[8,"innerHTML",1]],null,null,null,null)),r.Gb(12,1),(t()(),r.rb(13,0,null,null,5,"a",[["color","warn"],["mat-raised-button",""],["routerLink","/"]],[[1,"target",0],[8,"href",4],[1,"tabindex",0],[1,"disabled",0],[1,"aria-disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,14).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),"click"===e&&(i=!1!==r.Db(t,15)._haltDisabledEvents(n)&&i),i}),ft,dt)),r.qb(14,671744,null,0,s.m,[s.k,s.a,Z.h],{routerLink:[0,"routerLink"]},null),r.qb(15,180224,null,0,ut,[y.e,r.k,[2,J.a]],{color:[0,"color"]},null),(t()(),r.rb(16,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(17,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Return"]))],(function(t,e){t(e,9,0),t(e,14,0,"/"),t(e,15,0,"warn"),t(e,17,0)}),(function(t,e){var n=e.component,i=r.Lb(e,11,0,t(e,12,0,r.Db(e,0),n.error));t(e,11,0,i),t(e,13,0,r.Db(e,14).target,r.Db(e,14).href,r.Db(e,15).disabled?-1:r.Db(e,15).tabIndex||0,r.Db(e,15).disabled||null,r.Db(e,15).disabled.toString(),"NoopAnimations"===r.Db(e,15)._animationMode)}))}var Rr=r.nb("uds-error",Pr,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-error",[],null,null,null,jr,Ar)),r.qb(1,114688,null,0,Pr,[s.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Mr=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){},t}(),Nr=r.pb({encapsulation:0,styles:[["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0;list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;padding-left:10px;cursor:pointer;border-bottom:1px solid #ccc}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}"]],data:{}});function Lr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,47,"div",[["class","about"]],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),r.Kb(2,null,["Universal Desktop Services "," build ",""])),(t()(),r.rb(3,0,null,null,2,"h3",[],null,null,null,null,null)),(t()(),r.rb(4,0,null,null,1,"a",[["href","http://www.udsenterprise.com"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,[" \xa9 2012-2020 Virtual Cable S.L.U."])),(t()(),r.rb(6,0,null,null,5,"h4",[],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(8,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["You can access UDS Open Source code at"])),(t()(),r.rb(10,0,null,null,1,"a",[["href","https://github.com/dkmstr/openuds"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,[" OpenUDS github repository"])),(t()(),r.rb(12,0,null,null,35,"div",[["class","components"]],null,null,null,null,null)),(t()(),r.rb(13,0,null,null,3,"h2",[],null,null,null,null,null)),(t()(),r.rb(14,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(15,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS has been developed using these components:"])),(t()(),r.rb(17,0,null,null,24,"ul",[],null,null,null,null,null)),(t()(),r.rb(18,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(19,0,null,null,1,"a",[["href","https://www.python.org/"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Python"])),(t()(),r.rb(21,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(22,0,null,null,1,"a",[["href","https://www.typescriptlang.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["TypeScript"])),(t()(),r.rb(24,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(25,0,null,null,1,"a",[["href","https://www.djangoproject.com/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Django"])),(t()(),r.rb(27,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(28,0,null,null,1,"a",[["href","https://angular.io"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Angular"])),(t()(),r.rb(30,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(31,0,null,null,1,"a",[["href","https://guac-dev.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Guacamole"])),(t()(),r.rb(33,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(34,0,null,null,1,"a",[["href","https://weasyprint.org/"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["weasyprint"])),(t()(),r.rb(36,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(37,0,null,null,1,"a",[["href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Crystal project icons"])),(t()(),r.rb(39,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.rb(40,0,null,null,1,"a",[["href","https://github.com/NitruxSA/flattr-icons"],["target","_blank"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Flattr Icons"])),(t()(),r.rb(42,0,null,null,5,"p",[],null,null,null,null,null)),(t()(),r.rb(43,0,null,null,4,"small",[],null,null,null,null,null)),(t()(),r.Kb(-1,null,["* "])),(t()(),r.rb(45,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(46,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["If you find that we missed any component, please let us know"]))],(function(t,e){t(e,8,0),t(e,15,0),t(e,46,0)}),(function(t,e){var n=e.component;t(e,2,0,n.api.config.version,n.api.config.version_stamp)}))}var Fr=r.nb("uds-about",Mr,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-about",[],null,null,null,Lr,Nr)),r.qb(1,114688,null,0,Mr,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Vr=function(){function t(t){this.api=t}return t.prototype.ngOnInit=function(){""!==this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)},t}(),Br=r.pb({encapsulation:0,styles:[[""]],data:{}});function zr(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,31,"div",[],null,null,null,null,null)),(t()(),r.rb(1,0,null,null,3,"h1",[],null,null,null,null,null)),(t()(),r.rb(2,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(3,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS Service launcher"])),(t()(),r.rb(5,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.rb(6,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(8,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["The service you have requested is being launched."])),(t()(),r.rb(10,0,null,null,3,"h5",[],null,null,null,null,null)),(t()(),r.rb(11,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(12,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Please, note that reloading this page will not work."])),(t()(),r.rb(14,0,null,null,3,"h5",[],null,null,null,null,null)),(t()(),r.rb(15,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(16,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["To relaunch service, you will have to do it from origin."])),(t()(),r.rb(18,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.rb(19,0,null,null,3,"h6",[],null,null,null,null,null)),(t()(),r.rb(20,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(21,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["If the service does not launchs automatically, probably you dont have the UDS plugin installed"])),(t()(),r.rb(23,0,null,null,8,"h6",[],null,null,null,null,null)),(t()(),r.rb(24,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(25,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["You can obtain it from the"])),(t()(),r.rb(27,0,null,null,4,"a",[["routerLink","/client-download"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,28).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i}),null,null)),r.qb(28,671744,null,0,s.m,[s.k,s.a,Z.h],{routerLink:[0,"routerLink"]},null),(t()(),r.rb(29,0,null,null,2,"uds-translate",[],null,null,null,null,null)),r.qb(30,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["UDS Plugin download page"]))],(function(t,e){t(e,3,0),t(e,8,0),t(e,12,0),t(e,16,0),t(e,21,0),t(e,25,0),t(e,28,0,"/client-download"),t(e,30,0)}),(function(t,e){t(e,27,0,r.Db(e,28).target,r.Db(e,28).href)}))}var Hr=r.nb("uds-launcher",Vr,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-launcher",[],null,null,null,zr,Br)),r.qb(1,114688,null,0,Vr,[Bt.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Ur=r.pb({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function qr(t){return r.Mb(2,[(t()(),r.rb(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(t,e,n){var r=!0,i=t.component;return"@state.start"===e&&(r=!1!==i._animationStart()&&r),"@state.done"===e&&(r=!1!==i._animationDone(n)&&r),r}),null,null)),r.Hb(512,null,Z.v,Z.w,[r.q,r.r,r.k,r.C]),r.qb(2,278528,null,0,Z.i,[Z.v],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),r.Eb(131072,Z.b,[r.h]),(t()(),r.Kb(4,null,["",""]))],(function(t,e){t(e,2,0,"mat-tooltip",e.component.tooltipClass)}),(function(t,e){var n,i=e.component;t(e,0,0,null==(n=r.Lb(e,0,0,r.Db(e,3).transform(i._isHandset)))?null:n.matches,i._visibility),t(e,4,0,i.message)}))}var Kr=r.nb("mat-tooltip-component",Ft,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(t,e,n){var i=!0;return"body:click"===e&&(i=!1!==r.Db(t,1)._handleBodyInteraction()&&i),i}),qr,Ur)),r.qb(1,180224,null,0,Ft,[r.h,It],null,null)],null,(function(t,e){t(e,0,0,"visible"===r.Db(e,1)._visibility?1:null)}))}),{},{},[]),Wr=n("s6ns"),Gr=r.pb({encapsulation:2,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}@media (-ms-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;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{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function Yr(t){return r.Mb(0,[(t()(),r.gb(0,null,null,0))],null,null)}function Qr(t){return r.Mb(0,[r.Ib(402653184,1,{_portalOutlet:0}),(t()(),r.gb(16777216,null,null,1,null,Yr)),r.qb(2,212992,[[1,4]],0,p.b,[r.j,r.N],{portal:[0,"portal"]},null)],(function(t,e){t(e,2,0,"")}),null)}var Zr=r.nb("mat-dialog-container",Wr.i,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(t,e,n){var i=!0;return"component:@dialogContainer.start"===e&&(i=!1!==r.Db(t,1)._onAnimationStart(n)&&i),"component:@dialogContainer.done"===e&&(i=!1!==r.Db(t,1)._onAnimationDone(n)&&i),i}),Qr,Gr)),r.qb(1,49152,null,0,Wr.i,[r.k,y.f,r.h,[2,Z.d],Wr.h],null,null)],null,(function(t,e){t(e,0,0,r.Db(e,1)._id,r.Db(e,1)._config.role,r.Db(e,1)._config.ariaLabel?null:r.Db(e,1)._ariaLabelledBy,r.Db(e,1)._config.ariaLabel,r.Db(e,1)._config.ariaDescribedBy||null,r.Db(e,1)._state)}))}),{},{},[]),Xr=n("YY/e"),Jr=r.pb({encapsulation:0,styles:[[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]],data:{}});function $r(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,2).dialogRef.close(r.Db(t,2).dialogResult)&&i),"click"===e&&(i=!1!==o.close()&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,606208,null,0,Wr.g,[[2,Wr.l],r.k,Wr.e],{dialogResult:[0,"dialogResult"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Close"])),(t()(),r.Kb(6,0,["",""]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){var n=e.component;t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).ariaLabel||null,r.Db(e,2).type),t(e,6,0,n.extra)}))}function ti(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,2).dialogRef.close(r.Db(t,2).dialogResult)&&i),"click"===e&&(i=!1!==o.yes()&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,606208,null,0,Wr.g,[[2,Wr.l],r.k,Wr.e],{dialogResult:[0,"dialogResult"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Yes"]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).ariaLabel||null,r.Db(e,2).type)}))}function ei(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,5,"button",[["mat-dialog-close",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,2).dialogRef.close(r.Db(t,2).dialogResult)&&i),"click"===e&&(i=!1!==o.no()&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,606208,null,0,Wr.g,[[2,Wr.l],r.k,Wr.e],{dialogResult:[0,"dialogResult"]},null),(t()(),r.rb(3,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(4,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["No"]))],(function(t,e){t(e,2,0,""),t(e,4,0)}),(function(t,e){t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).ariaLabel||null,r.Db(e,2).type)}))}function ni(t){return r.Mb(0,[r.Eb(0,Sr,[Q.b]),(t()(),r.rb(1,0,null,null,2,"h4",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"innerHTML",1],[8,"id",0]],null,null,null,null)),r.qb(2,81920,null,0,Wr.m,[[2,Wr.l],r.k,Wr.e],null,null),r.Gb(3,1),(t()(),r.rb(4,0,null,null,2,"mat-dialog-content",[["class","mat-dialog-content"]],[[8,"innerHTML",1]],null,null,null,null)),r.qb(5,16384,null,0,Wr.j,[],null,null),r.Gb(6,1),(t()(),r.rb(7,0,null,null,7,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),r.qb(8,16384,null,0,Wr.f,[],null,null),(t()(),r.gb(16777216,null,null,1,null,$r)),r.qb(10,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,ti)),r.qb(12,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,null,1,null,ei)),r.qb(14,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null)],(function(t,e){var n=e.component;t(e,2,0),t(e,10,0,0==n.data.type),t(e,12,0,1==n.data.type),t(e,14,0,1==n.data.type)}),(function(t,e){var n=e.component,i=r.Lb(e,1,0,t(e,3,0,r.Db(e,0),n.data.title));t(e,1,0,i,r.Db(e,2).id);var o=r.Lb(e,4,0,t(e,6,0,r.Db(e,0),n.data.body));t(e,4,0,o)}))}var ri=r.nb("uds-modal",Xr.b,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-modal",[],null,null,null,ni,Jr)),r.qb(1,114688,null,0,Xr.b,[Wr.l,Wr.a],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),ii=function(t){this._elementRef=t},oi=function(t){function e(e,n,r){var i=this;return(i=t.call(this,e)||this)._platform=n,i._document=r,i}return __extends(e,t),e.prototype.ngAfterViewInit=function(){var t=this;Object(r.V)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return t._checkToolbarMixedModes()})))},e.prototype._checkToolbarMixedModes=function(){var t=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(t){return!(t.classList&&t.classList.contains("mat-toolbar-row"))})).filter((function(e){return e.nodeType!==(t._document?t._document.COMMENT_NODE:8)})).some((function(t){return!(!t.textContent||!t.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()},e}(Object(v.z)(ii)),ai=function(){},si=r.pb({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function li(t){return r.Mb(2,[r.Cb(null,0),r.Cb(null,1)],null,null)}var ui=function(){function t(t){var e,n;this.api=t,this.style="";var r=t.config.language;this.langs=[];try{for(var i=__values(t.config.available_languages),o=i.next();!o.done;o=i.next()){var a=o.value;a.id===r?this.lang=a:this.langs.push(a)}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}return t.prototype.ngOnInit=function(){},t.prototype.changeLang=function(t){return this.lang=t,document.getElementById("id_language").attributes.value.value=t.id,document.getElementById("form_language").submit(),!1},t.prototype.admin=function(){this.api.gotoAdmin()},t.prototype.logout=function(){this.api.logout()},t}(),ci=r.pb({encapsulation:0,styles:[[".uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.udsicon[_ngcontent-%COMP%]{width:2rem}@media only screen and (max-width:744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width:745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}"]],data:{}});function hi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.changeLang(t.context.$implicit)&&i),i}),rt,nt)),r.qb(1,180224,[[1,4],[2,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.Kb(2,0,["",""]))],null,(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null),t(e,2,0,e.context.$implicit.name)}))}function pi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.admin()&&i),i}),rt,nt)),r.qb(1,180224,[[4,4],[5,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(2,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["dashboard"])),(t()(),r.rb(4,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(5,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Dashboard"]))],(function(t,e){t(e,5,0)}),(function(t,e){t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null)}))}function di(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/downloads"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1).onClick()&&i),"click"===e&&(i=!1!==r.Db(t,2)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,2)._handleMouseEnter()&&i),i}),rt,nt)),r.qb(1,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(2,180224,[[4,4],[5,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(3,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["file_download"])),(t()(),r.rb(5,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(6,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Downloads"]))],(function(t,e){t(e,1,0,"/downloads"),t(e,6,0)}),(function(t,e){t(e,0,0,r.Db(e,2).role,r.Db(e,2)._highlighted,r.Db(e,2)._triggersSubmenu,r.Db(e,2)._getTabIndex(),r.Db(e,2).disabled.toString(),r.Db(e,2).disabled||null)}))}function fi(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,3,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,1)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,1)._handleMouseEnter()&&i),"mousedown"===e&&(i=!1!==r.Db(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,2)._handleClick(n)&&i),i}),rt,nt)),r.qb(1,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),r.qb(2,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[6,F],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.Kb(3,0,["",""])),(t()(),r.gb(0,null,null,0))],(function(t,e){t(e,2,0,r.Db(e.parent,15))}),(function(t,e){var n=e.component;t(e,0,0,r.Db(e,1).role,r.Db(e,1)._highlighted,r.Db(e,1)._triggersSubmenu,r.Db(e,1)._getTabIndex(),r.Db(e,1).disabled.toString(),r.Db(e,1).disabled||null,r.Db(e,2).menuOpen||null),t(e,3,0,n.api.user.user)}))}function mi(t){return r.Mb(0,[(t()(),r.rb(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==r.Db(t,2)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,2)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,2)._handleClick(n)&&i),i}),pt,ht)),r.qb(1,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(2,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[8,null],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.Kb(3,0,[""," "])),(t()(),r.rb(4,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["arrow_drop_down"])),(t()(),r.gb(0,null,null,0))],(function(t,e){t(e,2,0,r.Db(e.parent,15))}),(function(t,e){var n=e.component;t(e,0,0,r.Db(e,1).disabled||null,"NoopAnimations"===r.Db(e,1)._animationMode,r.Db(e,2).menuOpen||null),t(e,3,0,n.api.user.user)}))}function gi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,2,"form",[["id","form_language"],["method","post"]],[[8,"action",4]],null,null,null,null)),(t()(),r.rb(1,0,null,null,0,"input",[["type","hidden"]],[[8,"name",0],[8,"value",0]],null,null,null,null)),(t()(),r.rb(2,0,null,null,0,"input",[["id","id_language"],["name","language"],["type","hidden"]],[[8,"value",0]],null,null,null,null)),(t()(),r.rb(3,0,null,null,8,"mat-menu",[],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(6,1294336,[["appMenu",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,1,{_allItems:1}),r.Ib(603979776,2,{items:1}),r.Ib(603979776,3,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,hi)),r.qb(11,278528,null,0,Z.j,[r.N,r.K,r.q],{ngForOf:[0,"ngForOf"]},null),(t()(),r.rb(12,0,null,null,17,"mat-menu",[],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(15,1294336,[["userMenu",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,4,{_allItems:1}),r.Ib(603979776,5,{items:1}),r.Ib(603979776,6,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,pi)),r.qb(20,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.gb(16777216,null,0,1,null,di)),r.qb(22,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(23,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.Db(t,24)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,24)._handleMouseEnter()&&i),"click"===e&&(i=!1!==o.logout()&&i),i}),rt,nt)),r.qb(24,180224,[[4,4],[5,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(25,0,null,0,1,"i",[["class","material-icons highlight"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["exit_to_app"])),(t()(),r.rb(27,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(28,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["Logout"])),(t()(),r.rb(30,0,null,null,24,"mat-menu",[["x-position","before"]],null,null,null,et,$)),r.Hb(6144,null,B,null,[z]),r.Hb(6144,null,N,null,[B]),r.qb(33,1294336,[["shrink",4]],3,z,[r.k,r.x,V],null,null),r.Ib(603979776,7,{_allItems:1}),r.Ib(603979776,8,{items:1}),r.Ib(603979776,9,{lazyContent:0}),(t()(),r.gb(16777216,null,0,1,null,fi)),r.qb(38,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(39,16777216,null,0,5,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,40)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,40)._handleMouseEnter()&&i),"mousedown"===e&&(i=!1!==r.Db(t,41)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,41)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,41)._handleClick(n)&&i),i}),rt,nt)),r.qb(40,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),r.qb(41,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[6,F],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.Kb(42,0,[""," "])),(t()(),r.rb(43,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["arrow_drop_down"])),(t()(),r.rb(45,0,null,0,3,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/client-download"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,46).onClick()&&i),"click"===e&&(i=!1!==r.Db(t,47)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,47)._handleMouseEnter()&&i),i}),rt,nt)),r.qb(46,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(47,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.Kb(-1,0,["UDS Client"])),(t()(),r.rb(49,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""],["routerLink","/about"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,50).onClick()&&i),"click"===e&&(i=!1!==r.Db(t,51)._checkDisabled(n)&&i),"mouseenter"===e&&(i=!1!==r.Db(t,51)._handleMouseEnter()&&i),i}),rt,nt)),r.qb(50,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(51,180224,[[7,4],[8,4]],0,F,[r.k,Z.d,y.e,[2,N]],null,null),(t()(),r.rb(52,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(53,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["About"])),(t()(),r.rb(55,0,null,null,37,"mat-toolbar",[["class","uds-nav mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,li,si)),r.qb(56,4243456,null,1,oi,[r.k,M.a,Z.d],{color:[0,"color"]},null),r.Ib(603979776,10,{_toolbarRows:1}),(t()(),r.rb(58,0,null,0,4,"button",[["mat-button",""],["routerLink","/"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,59).onClick()&&i),i}),pt,ht)),r.qb(59,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(60,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),(t()(),r.rb(61,0,null,0,0,"img",[["alt","Universal Desktop Services"],["class","udsicon"]],[[8,"src",4]],null,null,null,null)),(t()(),r.Kb(-1,0,[" UDS "])),(t()(),r.rb(63,0,null,0,0,"span",[["class","fill-remaining-space"]],null,null,null,null,null)),(t()(),r.rb(64,0,null,0,22,"div",[["class","expanded"]],null,null,null,null,null)),(t()(),r.rb(65,0,null,null,5,"button",[["mat-button",""],["routerLink","/client-download"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,66).onClick()&&i),i}),pt,ht)),r.qb(66,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(67,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),(t()(),r.rb(68,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["file_download"])),(t()(),r.Kb(-1,0,["UDS Client"])),(t()(),r.rb(71,0,null,null,7,"button",[["mat-button",""],["routerLink","/about"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(t,e,n){var i=!0;return"click"===e&&(i=!1!==r.Db(t,72).onClick()&&i),i}),pt,ht)),r.qb(72,16384,null,0,s.l,[s.k,s.a,[8,null],r.C,r.k],{routerLink:[0,"routerLink"]},null),r.qb(73,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),(t()(),r.rb(74,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["info"])),(t()(),r.rb(76,0,null,0,2,"uds-translate",[],null,null,null,null,null)),r.qb(77,81920,null,0,it,[r.k],null,null),(t()(),r.Kb(-1,null,["About"])),(t()(),r.rb(79,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==r.Db(t,81)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,81)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,81)._handleClick(n)&&i),i}),pt,ht)),r.qb(80,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(81,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[8,null],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.Kb(82,0,[""," "])),(t()(),r.rb(83,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["arrow_drop_down"])),(t()(),r.gb(16777216,null,null,1,null,mi)),r.qb(86,16384,null,0,Z.k,[r.N,r.K],{ngIf:[0,"ngIf"]},null),(t()(),r.rb(87,0,null,0,5,"div",[["class","shrinked"]],null,null,null,null,null)),(t()(),r.rb(88,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(t,e,n){var i=!0;return"mousedown"===e&&(i=!1!==r.Db(t,90)._handleMousedown(n)&&i),"keydown"===e&&(i=!1!==r.Db(t,90)._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.Db(t,90)._handleClick(n)&&i),i}),pt,ht)),r.qb(89,180224,null,0,lt,[r.k,y.e,[2,J.a]],null,null),r.qb(90,1196032,null,0,K,[R.c,r.k,r.N,H,[2,B],[8,null],[2,Y.b],y.e],{menu:[0,"menu"]},null),(t()(),r.rb(91,0,null,0,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["menu"]))],(function(t,e){var n=e.component;t(e,6,0),t(e,11,0,n.langs),t(e,15,0),t(e,20,0,n.api.user.isStaff),t(e,22,0,n.api.user.isStaff),t(e,28,0),t(e,33,0),t(e,38,0,n.api.user.isLogged),t(e,41,0,r.Db(e,6)),t(e,46,0,"/client-download"),t(e,50,0,"/about"),t(e,53,0),t(e,56,0,"primary"),t(e,59,0,"/"),t(e,66,0,"/client-download"),t(e,72,0,"/about"),t(e,77,0),t(e,81,0,r.Db(e,6)),t(e,86,0,n.api.user.isLogged),t(e,90,0,r.Db(e,33))}),(function(t,e){var n=e.component;t(e,0,0,r.vb(1,"",n.api.config.urls.changeLang,"")),t(e,1,0,r.vb(1,"",n.api.config.csrf_field,""),r.vb(1,"",n.api.config.csrf,"")),t(e,2,0,r.vb(1,"",n.lang.id,"")),t(e,23,0,r.Db(e,24).role,r.Db(e,24)._highlighted,r.Db(e,24)._triggersSubmenu,r.Db(e,24)._getTabIndex(),r.Db(e,24).disabled.toString(),r.Db(e,24).disabled||null),t(e,39,0,r.Db(e,40).role,r.Db(e,40)._highlighted,r.Db(e,40)._triggersSubmenu,r.Db(e,40)._getTabIndex(),r.Db(e,40).disabled.toString(),r.Db(e,40).disabled||null,r.Db(e,41).menuOpen||null),t(e,42,0,n.lang.name),t(e,45,0,r.Db(e,47).role,r.Db(e,47)._highlighted,r.Db(e,47)._triggersSubmenu,r.Db(e,47)._getTabIndex(),r.Db(e,47).disabled.toString(),r.Db(e,47).disabled||null),t(e,49,0,r.Db(e,51).role,r.Db(e,51)._highlighted,r.Db(e,51)._triggersSubmenu,r.Db(e,51)._getTabIndex(),r.Db(e,51).disabled.toString(),r.Db(e,51).disabled||null),t(e,55,0,r.Db(e,56)._toolbarRows.length>0,0===r.Db(e,56)._toolbarRows.length),t(e,58,0,r.Db(e,60).disabled||null,"NoopAnimations"===r.Db(e,60)._animationMode),t(e,61,0,n.api.staticURL("modern/img/udsicon.png")),t(e,65,0,r.Db(e,67).disabled||null,"NoopAnimations"===r.Db(e,67)._animationMode),t(e,71,0,r.Db(e,73).disabled||null,"NoopAnimations"===r.Db(e,73)._animationMode),t(e,79,0,r.Db(e,80).disabled||null,"NoopAnimations"===r.Db(e,80)._animationMode,r.Db(e,81).menuOpen||null),t(e,82,0,n.lang.name),t(e,88,0,r.Db(e,89).disabled||null,"NoopAnimations"===r.Db(e,89)._animationMode,r.Db(e,90).menuOpen||null)}))}var bi=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),yi=r.pb({encapsulation:0,styles:[[""]],data:{}});function vi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),r.Kb(-1,null,["\xa9 2012-2018 "])),(t()(),r.rb(2,0,null,null,1,"a",[["href","https://www.udsenterprise.com"]],null,null,null,null,null)),(t()(),r.Kb(-1,null,["Virtual Cable S.L.U."]))],null,null)}var _i=r.pb({encapsulation:0,styles:[[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:4rem auto 0}@media only screen and (max-width:744px){.content[_ngcontent-%COMP%]{width:100%}}"]],data:{}});function wi(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-navbar",[],null,null,null,gi,ci)),r.qb(1,114688,null,0,ui,[Bt.a],null,null),(t()(),r.rb(2,0,null,null,6,"div",[["class","page"]],null,null,null,null,null)),(t()(),r.rb(3,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(t()(),r.rb(4,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.qb(5,212992,null,0,s.o,[s.b,r.N,r.j,[8,null],r.h],null,null),(t()(),r.rb(6,0,null,null,2,"div",[["class","footer"]],null,null,null,null,null)),(t()(),r.rb(7,0,null,null,1,"uds-footer",[],null,null,null,vi,yi)),r.qb(8,114688,null,0,bi,[],null,null)],(function(t,e){t(e,1,0),t(e,5,0),t(e,8,0)}),null)}var Ci,xi=r.nb("uds-root",a,(function(t){return r.Mb(0,[(t()(),r.rb(0,0,null,null,1,"uds-root",[],null,null,null,wi,_i)),r.qb(1,114688,null,0,a,[],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Oi=n("fDlF"),Si=n("IheW"),Ei=n("OPAf"),ki=((Ci=function(){function t(t){this.api=t}return t.prototype.canActivate=function(t,e){return!!this.api.user.isLogged||(this.api.router.navigate(["login"]),!1)},t}()).ngInjectableDef=r.Qb({factory:function(){return new Ci(r.Rb(Bt.a))},token:Ci,providedIn:"root"}),Ci),Di=function(){},Ii=function(){},Ti=function(){},Pi={float:"always"},Ai=function(){},ji=r.ob(o,[a],(function(t){return r.Ab([r.Bb(512,r.j,r.Z,[[8,[c,Te,vr,Or,Tr,Rr,Fr,Hr,Kr,Zr,ri,xi]],[3,r.j],r.v]),r.Bb(5120,r.s,r.lb,[[3,r.s]]),r.Bb(4608,Z.m,Z.l,[r.s,[2,Z.y]]),r.Bb(5120,r.hb,r.mb,[r.x]),r.Bb(5120,r.c,r.ib,[]),r.Bb(5120,r.q,r.jb,[]),r.Bb(5120,r.r,r.kb,[]),r.Bb(4608,Q.b,Q.k,[Z.d]),r.Bb(6144,r.F,null,[Q.b]),r.Bb(4608,Q.e,v.c,[[2,v.g],[2,v.l]]),r.Bb(5120,Q.c,(function(t,e,n,r,i,o,a,s){return[new Q.i(t,e,n),new Q.n(r),new Q.m(i,o,a,s)]}),[Z.d,r.x,r.z,Z.d,Z.d,Q.e,r.ab,[2,Q.f]]),r.Bb(4608,Q.d,Q.d,[Q.c,r.x]),r.Bb(135680,Q.l,Q.l,[Z.d]),r.Bb(4608,Q.j,Q.j,[Q.d,Q.l,r.c]),r.Bb(5120,Oi.a,J.e,[]),r.Bb(5120,Oi.c,J.f,[]),r.Bb(4608,Oi.b,J.d,[Z.d,Oi.a,Oi.c]),r.Bb(5120,r.D,J.g,[Q.j,Oi.b,r.x]),r.Bb(6144,Q.o,null,[Q.l]),r.Bb(4608,r.L,r.L,[r.x]),r.Bb(4608,Si.h,Si.n,[Z.d,r.z,Si.l]),r.Bb(4608,Si.o,Si.o,[Si.h,Si.m]),r.Bb(5120,Si.a,(function(t){return[t]}),[Si.o]),r.Bb(4608,Si.k,Si.k,[]),r.Bb(6144,Si.i,null,[Si.k]),r.Bb(4608,Si.g,Si.g,[Si.i]),r.Bb(6144,Si.b,null,[Si.g]),r.Bb(4608,Si.f,Si.j,[Si.b,r.p]),r.Bb(4608,Si.c,Si.c,[Si.f]),r.Bb(5120,s.a,s.y,[s.k]),r.Bb(4608,s.d,s.d,[]),r.Bb(6144,s.f,null,[s.d]),r.Bb(135680,s.p,s.p,[s.k,r.u,r.i,r.p,s.f]),r.Bb(4608,s.e,s.e,[]),r.Bb(5120,s.D,s.u,[s.k,Z.s,s.g]),r.Bb(5120,s.h,s.B,[s.z]),r.Bb(5120,r.b,(function(t){return[t]}),[s.h]),r.Bb(4608,h.b,J.c,[r.D,Z.d]),r.Bb(4608,R.c,R.c,[R.i,R.e,r.j,R.h,R.f,r.p,r.x,Z.d,Y.b,[2,Z.g]]),r.Bb(5120,R.j,R.k,[R.c]),r.Bb(5120,H,U,[R.c]),r.Bb(4608,We.c,We.c,[]),r.Bb(5120,Rt,Mt,[R.c]),r.Bb(5120,Wr.c,Wr.d,[R.c]),r.Bb(135680,Wr.e,Wr.e,[R.c,r.p,[2,Z.g],[2,Wr.b],Wr.c,[3,Wr.e],R.e]),r.Bb(4608,v.b,v.b,[]),r.Bb(5120,un,cn,[R.c]),r.Bb(4608,Ei.a,Ei.a,[Wr.e]),r.Bb(4608,Bt.a,Bt.a,[Si.c,Ei.a,s.k]),r.Bb(1073742336,Z.c,Z.c,[]),r.Bb(1024,r.l,Q.p,[]),r.Bb(1024,r.w,(function(){return[s.t()]}),[]),r.Bb(512,s.z,s.z,[r.p]),r.Bb(1024,r.d,(function(t,e){return[Q.q(t),s.A(e)]}),[[2,r.w],s.z]),r.Bb(512,r.e,r.e,[[2,r.d]]),r.Bb(131584,r.g,r.g,[r.x,r.ab,r.p,r.l,r.j,r.e]),r.Bb(1073742336,r.f,r.f,[r.g]),r.Bb(1073742336,Q.a,Q.a,[[3,Q.a]]),r.Bb(1073742336,Ot,Ot,[]),r.Bb(1073742336,Si.e,Si.e,[]),r.Bb(1073742336,Si.d,Si.d,[]),r.Bb(1024,s.s,s.w,[[3,s.k]]),r.Bb(512,s.r,s.c,[]),r.Bb(512,s.b,s.b,[]),r.Bb(256,s.g,{},[]),r.Bb(1024,Z.h,s.v,[Z.r,[2,Z.a],s.g]),r.Bb(512,Z.g,Z.g,[Z.h,Z.r]),r.Bb(512,r.i,r.i,[]),r.Bb(512,r.u,r.I,[r.i,[2,r.J]]),r.Bb(1024,s.i,(function(){return[[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:Ee,canActivate:[ki]},{path:"login",component:fr.a},{path:"login/:id",component:fr.a},{path:"client-download",component:_r},{path:"downloads",component:Er,canActivate:[ki]},{path:"error/:id",component:Pr},{path:"about",component:Mr},{path:"ticket/launcher",component:Vr},{path:"**",redirectTo:"services"}]]}),[]),r.Bb(1024,s.k,s.x,[r.g,s.r,s.b,Z.g,r.p,r.u,r.i,s.i,s.g,[2,s.q],[2,s.j]]),r.Bb(1073742336,s.n,s.n,[[2,s.s],[2,s.k]]),r.Bb(1073742336,Di,Di,[]),r.Bb(1073742336,J.b,J.b,[]),r.Bb(1073742336,Y.a,Y.a,[]),r.Bb(1073742336,v.l,v.l,[[2,v.d],[2,Q.f]]),r.Bb(1073742336,ai,ai,[]),r.Bb(1073742336,M.b,M.b,[]),r.Bb(1073742336,v.u,v.u,[]),r.Bb(1073742336,ct,ct,[]),r.Bb(1073742336,p.f,p.f,[]),r.Bb(1073742336,X.b,X.b,[]),r.Bb(1073742336,R.g,R.g,[]),r.Bb(1073742336,W,W,[]),r.Bb(1073742336,G,G,[]),r.Bb(1073742336,We.d,We.d,[]),r.Bb(1073742336,y.a,y.a,[]),r.Bb(1073742336,Vt,Vt,[]),r.Bb(1073742336,ee,ee,[]),r.Bb(1073742336,pe,pe,[]),r.Bb(1073742336,Wr.k,Wr.k,[]),r.Bb(1073742336,Ke,Ke,[]),r.Bb(1073742336,lr,lr,[]),r.Bb(1073742336,dr,dr,[]),r.Bb(1073742336,v.s,v.s,[]),r.Bb(1073742336,v.q,v.q,[]),r.Bb(1073742336,fn,fn,[]),r.Bb(1073742336,Ii,Ii,[]),r.Bb(1073742336,Ti,Ti,[]),r.Bb(1073742336,Ai,Ai,[]),r.Bb(1073742336,o,o,[]),r.Bb(256,r.Y,!0,[]),r.Bb(256,Si.l,"XSRF-TOKEN",[]),r.Bb(256,Si.m,"X-XSRF-TOKEN",[]),r.Bb(256,J.a,"BrowserAnimations",[]),r.Bb(256,v.h,Pi,[])])}));i.a.production&&Object(r.R)(),Q.h().bootstrapModuleFactory(ji).catch((function(t){return console.log(t)}))}},[[0,0]]]);
\ No newline at end of file