text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},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"},yLV6:function(t,e,n){var r;!function(i,o,a,s){"use strict";var l,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),h="function",p=Math.round,d=Math.abs,f=Date.now;function m(t,e,n){return setTimeout(C(t,n),e)}function y(t,e,n){return!!Array.isArray(t)&&(g(t,n[e],n),!0)}function g(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function v(t,e,n){var r="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=i.console&&(i.console.warn||i.console.log);return o&&o.call(i.console,r,n),t.apply(this,arguments)}}l="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==s&&null!==r)for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e}:Object.assign;var _=v(function(t,e,n){for(var r=Object.keys(e),i=0;i<r.length;)(!n||n&&t[r[i]]===s)&&(t[r[i]]=e[r[i]]),i++;return t},"extend","Use `assign`."),b=v(function(t,e){return _(t,e,!0)},"merge","Use `assign`.");function w(t,e,n){var r,i=e.prototype;(r=t.prototype=Object.create(i)).constructor=t,r._super=i,n&&l(r,n)}function C(t,e){return function(){return t.apply(e,arguments)}}function x(t,e){return typeof t==h?t.apply(e&&e[0]||s,e):t}function S(t,e){return t===s?e:t}function E(t,e,n){g(A(e),function(e){t.addEventListener(e,n,!1)})}function k(t,e,n){g(A(e),function(e){t.removeEventListener(e,n,!1)})}function D(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function T(t,e){return t.indexOf(e)>-1}function A(t){return t.trim().split(/\s+/g)}function R(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;r<t.length;){if(n&&t[r][n]==e||!n&&t[r]===e)return r;r++}return-1}function I(t){return Array.prototype.slice.call(t,0)}function O(t,e,n){for(var r=[],i=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];R(i,a)<0&&r.push(t[o]),i[o]=a,o++}return n&&(r=e?r.sort(function(t,n){return t[e]>n[e]}):r.sort()),r}function P(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),o=0;o<u.length;){if((r=(n=u[o])?n+i:e)in t)return r;o++}return s}var N=1;function F(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||i}var M="ontouchstart"in i,L=P(i,"PointerEvent")!==s,V=M&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),j=25,z=1,B=4,H=8,U=1,W=2,q=4,Y=8,K=16,G=W|q,Z=Y|K,Q=G|Z,$=["x","y"],X=["clientX","clientY"];function J(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){x(t.options.enable,[t])&&n.handler(e)},this.init()}function tt(t,e,n){var r=n.pointers.length,i=n.changedPointers.length,o=e&z&&r-i==0,a=e&(B|H)&&r-i==0;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,r=e.pointers,i=r.length;n.firstInput||(n.firstInput=et(e)),i>1&&!n.firstMultiple?n.firstMultiple=et(e):1===i&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,l=a?a.center:o.center,u=e.center=nt(r);e.timeStamp=f(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=at(l,u),e.distance=ot(l,u),function(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};e.eventType!==z&&o.eventType!==B||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}(n,e),e.offsetDirection=it(e.deltaX,e.deltaY);var c,h,p=rt(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=p.x,e.overallVelocityY=p.y,e.overallVelocity=d(p.x)>d(p.y)?p.x:p.y,e.scale=a?(c=a.pointers,ot((h=r)[0],h[1],X)/ot(c[0],c[1],X)):1,e.rotation=a?function(t,e){return at(r[1],r[0],X)+at(t[1],t[0],X)}(a.pointers):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,i,o,a=t.lastInterval||e,l=e.timeStamp-a.timeStamp;if(e.eventType!=H&&(l>j||a.velocity===s)){var u=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,h=rt(l,u,c);r=h.x,i=h.y,n=d(h.x)>d(h.y)?h.x:h.y,o=it(u,c),t.lastInterval=e}else n=a.velocity,r=a.velocityX,i=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=o}(n,e);var m=t.element;D(e.srcEvent.target,m)&&(m=e.srcEvent.target),e.target=m}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function et(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:p(t.pointers[n].clientX),clientY:p(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:e,center:nt(e),deltaX:t.deltaX,deltaY:t.deltaY}}function nt(t){var e=t.length;if(1===e)return{x:p(t[0].clientX),y:p(t[0].clientY)};for(var n=0,r=0,i=0;i<e;)n+=t[i].clientX,r+=t[i].clientY,i++;return{x:p(n/e),y:p(r/e)}}function rt(t,e,n){return{x:e/t||0,y:n/t||0}}function it(t,e){return t===e?U:d(t)>=d(e)?t<0?W:q:e<0?Y:K}function ot(t,e,n){n||(n=$);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function at(t,e,n){return n||(n=$),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}J.prototype={handler:function(){},init:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(F(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(F(this.element),this.evWin,this.domHandler)}};var st={mousedown:z,mousemove:2,mouseup:B},lt="mousedown",ut="mousemove mouseup";function ct(){this.evEl=lt,this.evWin=ut,this.pressed=!1,J.apply(this,arguments)}w(ct,J,{handler:function(t){var e=st[t.type];e&z&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=B),this.pressed&&(e&B&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var ht={pointerdown:z,pointermove:2,pointerup:B,pointercancel:H,pointerout:H},pt={2:"touch",3:"pen",4:"mouse",5:"kinect"},dt="pointerdown",ft="pointermove pointerup pointercancel";function mt(){this.evEl=dt,this.evWin=ft,J.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(dt="MSPointerDown",ft="MSPointerMove MSPointerUp MSPointerCancel"),w(mt,J,{handler:function(t){var e=this.store,n=!1,r=t.type.toLowerCase().replace("ms",""),i=ht[r],o=pt[t.pointerType]||t.pointerType,a="touch"==o,s=R(e,t.pointerId,"pointerId");i&z&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):i&(B|H)&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,i,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))}});var yt={touchstart:z,touchmove:2,touchend:B,touchcancel:H},gt="touchstart",vt="touchstart touchmove touchend touchcancel";function _t(){this.evTarget=gt,this.evWin=vt,this.started=!1,J.apply(this,arguments)}w(_t,J,{handler:function(t){var e=yt[t.type];if(e===z&&(this.started=!0),this.started){var n=(function(t,e){var n=I(t.touches),r=I(t.changedTouches);return e&(B|H)&&(n=O(n.concat(r),"identifier",!0)),[n,r]}).call(this,t,e);e&(B|H)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var bt={touchstart:z,touchmove:2,touchend:B,touchcancel:H},wt="touchstart touchmove touchend touchcancel";function Ct(){this.evTarget=wt,this.targetIds={},J.apply(this,arguments)}w(Ct,J,{handler:function(t){var e=bt[t.type],n=(function(t,e){var n=I(t.touches),r=this.targetIds;if(e&(2|z)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,a=I(t.changedTouches),s=[],l=this.target;if(o=n.filter(function(t){return D(t.target,l)}),e===z)for(i=0;i<o.length;)r[o[i].identifier]=!0,i++;for(i=0;i<a.length;)r[a[i].identifier]&&s.push(a[i]),e&(B|H)&&delete r[a[i].identifier],i++;return s.length?[O(o.concat(s),"identifier",!0),s]:void 0}).call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}});var xt=2500;function St(){J.apply(this,arguments);var t=C(this.handler,this);this.touch=new Ct(this.manager,t),this.mouse=new ct(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function Et(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout(function(){var t=r.indexOf(n);t>-1&&r.splice(t,1)},xt)}}w(St,J,{handler:function(t,e,n){var r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)(function(t,e){t&z?(this.primaryTouch=e.changedPointers[0].identifier,Et.call(this,e)):t&(B|H)&&Et.call(this,e)}).call(this,e,n);else if(r&&(function(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],o=Math.abs(e-i.x),a=Math.abs(n-i.y);if(o<=25&&a<=25)return!0}return!1}).call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var kt=P(c.style,"touchAction"),Dt=kt!==s,Tt=function(){if(!Dt)return!1;var t={},e=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||i.CSS.supports("touch-action",n)}),t}();function At(t,e){this.manager=t,this.set(e)}At.prototype={set:function(t){"compute"==t&&(t=this.compute()),Dt&&this.manager.element.style&&Tt[t]&&(this.manager.element.style[kt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return g(this.manager.recognizers,function(e){x(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(T(t,"none"))return"none";var e=T(t,"pan-x"),n=T(t,"pan-y");return e&&n?"none":e||n?e?"pan-x":"pan-y":T(t,"manipulation")?"manipulation":"auto"}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var r=this.actions,i=T(r,"none")&&!Tt.none,o=T(r,"pan-y")&&!Tt["pan-y"],a=T(r,"pan-x")&&!Tt["pan-x"];if(i&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!a||!o)return i||o&&n&G||a&&n&Z?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Rt=1,It=2,Ot=4,Pt=8,Nt=Pt,Ft=16;function Mt(t){this.options=l({},this.defaults,t||{}),this.id=N++,this.manager=null,this.options.enable=S(this.options.enable,!0),this.state=Rt,this.simultaneous={},this.requireFail=[]}function Lt(t){return t&Ft?"cancel":t&Pt?"end":t&Ot?"move":t&It?"start":""}function Vt(t){return t==K?"down":t==Y?"up":t==W?"left":t==q?"right":""}function jt(t,e){var n=e.manager;return n?n.get(t):t}function zt(){Mt.apply(this,arguments)}function Bt(){zt.apply(this,arguments),this.pX=null,this.pY=null}function Ht(){zt.apply(this,arguments)}function Ut(){Mt.apply(this,arguments),this._timer=null,this._input=null}function Wt(){zt.apply(this,arguments)}function qt(){zt.apply(this,arguments)}function Yt(){Mt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Kt(t,e){return(e=e||{}).recognizers=S(e.recognizers,Kt.defaults.preset),new Gt(t,e)}function Gt(t,e){var n;this.options=l({},Kt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(L?mt:V?Ct:M?St:ct))(n,tt),this.touchAction=new At(this,this.options.touchAction),Zt(this,!0),g(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function Zt(t,e){var n,r=t.element;r.style&&(g(t.options.cssProps,function(i,o){n=P(r.style,o),e?(t.oldCssProps[n]=r.style[n],r.style[n]=i):r.style[n]=t.oldCssProps[n]||""}),e||(t.oldCssProps={}))}Mt.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(y(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=jt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return y(t,"dropRecognizeWith",this)?this:(t=jt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(y(t,"requireFailure",this))return this;var e=this.requireFail;return-1===R(e,t=jt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(y(t,"dropRequireFailure",this))return this;t=jt(t,this);var e=R(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function r(n){e.manager.emit(n,t)}n<Pt&&r(e.options.event+Lt(n)),r(e.options.event),t.additionalEvent&&r(t.additionalEvent),n>=Pt&&r(e.options.event+Lt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Rt)))return!1;t++}return!0},recognize:function(t){var e=l({},t);if(!x(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(Nt|Ft|32)&&(this.state=Rt),this.state=this.process(e),this.state&(It|Ot|Pt|Ft)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},w(zt,Mt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,r=e&(It|Ot),i=this.attrTest(t);return r&&(n&H||!i)?e|Ft:r||i?n&B?e|Pt:e&It?e|Ot:It:32}}),w(Bt,zt,{defaults:{event:"pan",threshold:10,pointers:1,direction:Q},getTouchAction:function(){var t=this.options.direction,e=[];return t&G&&e.push("pan-y"),t&Z&&e.push("pan-x"),e},directionTest:function(t){var e=this.options,n=!0,r=t.distance,i=t.direction,o=t.deltaX,a=t.deltaY;return i&e.direction||(e.direction&G?(i=0===o?U:o<0?W:q,n=o!=this.pX,r=Math.abs(t.deltaX)):(i=0===a?U:a<0?Y:K,n=a!=this.pY,r=Math.abs(t.deltaY))),t.direction=i,n&&r>e.threshold&&i&e.direction},attrTest:function(t){return zt.prototype.attrTest.call(this,t)&&(this.state&It||!(this.state&It)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Vt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w(Ht,zt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&It)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),w(Ut,Mt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime>e.time;if(this._input=t,!r||!n||t.eventType&(B|H)&&!i)this.reset();else if(t.eventType&z)this.reset(),this._timer=m(function(){this.state=Nt,this.tryEmit()},e.time,this);else if(t.eventType&B)return Nt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Nt&&(t&&t.eventType&B?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),w(Wt,zt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&It)}}),w(qt,zt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:G|Z,pointers:1},getTouchAction:function(){return Bt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(G|Z)?e=t.overallVelocity:n&G?e=t.overallVelocityX:n&Z&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&d(e)>this.options.velocity&&t.eventType&B},emit:function(t){var e=Vt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(Yt,Mt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance<e.threshold,i=t.deltaTime<e.time;if(this.reset(),t.eventType&z&&0===this.count)return this.failTimeout();if(r&&i&&n){if(t.eventType!=B)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||ot(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=m(function(){this.state=Nt,this.tryEmit()},e.interval,this),It):Nt}return 32},failTimeout:function(){return this._timer=m(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Nt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Kt.VERSION="2.0.7",Kt.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Wt,{enable:!1}],[Ht,{enable:!1},["rotate"]],[qt,{direction:G}],[Bt,{direction:G},["swipe"]],[Yt],[Yt,{event:"doubletap",taps:2},["tap"]],[Ut]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Gt.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var r=this.recognizers,i=e.curRecognizer;(!i||i&&i.state&Nt)&&(i=e.curRecognizer=null);for(var o=0;o<r.length;)n=r[o],2===e.stopped||i&&n!=i&&!n.canRecognizeWith(i)?n.reset():n.recognize(t),!i&&n.state&(It|Ot|Pt)&&(i=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Mt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(y(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(y(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=R(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==s&&e!==s){var n=this.handlers;return g(A(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==s){var n=this.handlers;return g(A(t),function(t){e?n[t]&&n[t].splice(R(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](e),r++}},destroy:function(){this.element&&Zt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Kt,{INPUT_START:z,INPUT_MOVE:2,INPUT_END:B,INPUT_CANCEL:H,STATE_POSSIBLE:Rt,STATE_BEGAN:It,STATE_CHANGED:Ot,STATE_ENDED:Pt,STATE_RECOGNIZED:Nt,STATE_CANCELLED:Ft,STATE_FAILED:32,DIRECTION_NONE:U,DIRECTION_LEFT:W,DIRECTION_RIGHT:q,DIRECTION_UP:Y,DIRECTION_DOWN:K,DIRECTION_HORIZONTAL:G,DIRECTION_VERTICAL:Z,DIRECTION_ALL:Q,Manager:Gt,Input:J,TouchAction:At,TouchInput:Ct,MouseInput:ct,PointerEventInput:mt,TouchMouseInput:St,SingleTouchInput:_t,Recognizer:Mt,AttrRecognizer:zt,Tap:Yt,Pan:Bt,Swipe:qt,Pinch:Ht,Rotate:Wt,Press:Ut,on:E,off:k,each:g,merge:b,extend:_,assign:l,inherit:w,bindFn:C,prefixed:P}),(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=Kt,(r=(function(){return Kt}).call(e,n,e,t))===s||(t.exports=r)}(window,document)},zUnb:function(t,e,n){"use strict";n.r(e),n("yLV6");var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(u(arguments[e]));return t}var h=Array.isArray||function(t){return t&&"number"==typeof t.length};function p(t){return null!=t&&"object"==typeof t}function d(t){return"function"==typeof t}var f,m={e:{}};function y(){try{return f.apply(this,arguments)}catch(t){return m.e=t,m}}function g(t){return f=t,y}function v(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t,this}v.prototype=Object.create(Error.prototype);var _=v,b=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,i=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,s=r?r.length:0;n;)n.remove(this),n=++a<s&&r[a]||null;if(d(i)&&g(i).call(this)===m&&(e=!0,t=t||(m.e instanceof _?w(m.e.errors):[m.e])),h(o))for(a=-1,s=o.length;++a<s;){var l=o[a];if(p(l)&&g(l.unsubscribe).call(l)===m){e=!0,t=t||[];var u=m.e;u instanceof _?t=t.concat(w(u.errors)):t.push(u)}}if(e)throw new _(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=((e=new t).closed=!0,e),t}();function w(t){return t.reduce(function(t,e){return t.concat(e instanceof _?e.errors:e)},[])}var C=!1,x={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){C=t},get useDeprecatedSynchronousErrorHandling(){return C}};function S(t){setTimeout(function(){throw t})}var E={closed:!0,next:function(t){},error:function(t){if(x.useDeprecatedSynchronousErrorHandling)throw t;S(t)},complete:function(){}},k="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),D=function(t){function e(n,r,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,o._parentSubscription=null,arguments.length){case 0:o.destination=E;break;case 1:if(!n){o.destination=E;break}if("object"==typeof n){n instanceof e?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new T(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new T(o,n,r,i)}return o}return i(e,t),e.prototype[k]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this._parentSubscription=null,this},e}(b),T=function(t){function e(e,n,r,i){var o,a=t.call(this)||this;a._parentSubscriber=e;var s=a;return d(n)?o=n:n&&(o=n.next,r=n.error,i=n.complete,n!==E&&(d((s=Object.create(n)).unsubscribe)&&a.add(s.unsubscribe.bind(s)),s.unsubscribe=a.unsubscribe.bind(a))),a._context=s,a._next=o,a._error=r,a._complete=i,a}return i(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;x.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=x.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):S(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;S(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};x.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),x.useDeprecatedSynchronousErrorHandling)throw n;S(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!x.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return x.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(S(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(D),A="function"==typeof Symbol&&Symbol.observable||"@@observable";function R(){}function I(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return O(t)}function O(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:R}var P=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=function(t,e,n){if(t){if(t instanceof D)return t;if(t[k])return t[k]()}return t||e||n?new D(t,e,n):new D(E)}(t,e,n);if(r?r.call(i,this.source):i.add(this.source||x.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),x.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){x.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof D?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=N(e))(function(e,r){var i;i=n.subscribe(function(e){try{t(e)}catch(n){r(n),i&&i.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[A]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:O(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=N(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function N(t){if(t||(t=x.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function F(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}F.prototype=Object.create(Error.prototype);var M=F,L=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return i(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}(b),V=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return i(e,t),e}(D),j=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return i(e,t),e.prototype[k]=function(){return new V(this)},e.prototype.lift=function(t){var e=new z(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new M;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new M;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new M;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new M;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new M;return this.hasError?(t.error(this.thrownError),b.EMPTY):this.isStopped?(t.complete(),b.EMPTY):(this.observers.push(t),new L(this,t))},e.prototype.asObservable=function(){var t=new P;return t.source=this,t},e.create=function(t,e){return new z(t,e)},e}(P),z=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return i(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):b.EMPTY},e}(j);function B(t){return t&&"function"==typeof t.schedule}var H=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return i(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(D),U=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}},W=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,S),e}};function q(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Y=q(),K=function(t){return function(e){for(var n=t[Y]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}},G=function(t){return function(e){var n=t[A]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},Z=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function Q(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var $=function(t){if(t instanceof P)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[A])return G(t);if(Z(t))return U(t);if(Q(t))return W(t);if(t&&"function"==typeof t[Y])return K(t);var e=p(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function X(t,e,n,r,i){if(void 0===i&&(i=new H(t,n,r)),!i.closed)return $(e)(i)}var J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(D);function tt(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new et(t,e))}}var et=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new nt(t,this.project,this.thisArg))},t}(),nt=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return i(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(D);function rt(t,e){return new P(e?function(n){var r=new b,i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r}:U(t))}function it(t,e){if(!e)return t instanceof P?t:new P($(t));if(null!=t){if(function(t){return t&&"function"==typeof t[A]}(t))return function(t,e){return new P(e?function(n){var r=new b;return r.add(e.schedule(function(){var i=t[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}:G(t))}(t,e);if(Q(t))return function(t,e){return new P(e?function(n){var r=new b;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}:W(t))}(t,e);if(Z(t))return rt(t,e);if(function(t){return t&&"function"==typeof t[Y]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new P(e?function(n){var r,i=new b;return i.add(function(){r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(function(){r=t[Y](),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}:K(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function ot(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(ot(function(n,r){return it(t(n,r)).pipe(tt(function(t,i){return e(n,t,r,i)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new at(t,n))})}var at=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new st(t,this.project,this.concurrent))},t}(),st=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return i(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new H(this,void 0,void 0);this.destination.add(r),X(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(J);function lt(t){return t}function ut(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),ot(lt,t)}function ct(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,i=t[t.length-1];return B(i)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof P?t[0]:ut(n)(rt(t,r))}function ht(){return function(t){return t.lift(new pt(t))}}var pt=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new dt(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),dt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return i(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(D),ft=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return i(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new b).add(this.source.subscribe(new yt(this.getSubject(),this))),t.closed?(this._connection=null,t=b.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return ht()(this)},e}(P).prototype,mt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ft._subscribe},_isComplete:{value:ft._isComplete,writable:!0},getSubject:{value:ft.getSubject},connect:{value:ft.connect},refCount:{value:ft.refCount}},yt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return i(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(V);function gt(){return new j}function vt(){return function(t){return ht()((e=gt,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,mt);return r.source=t,r.subjectFactory=n,r})(t));var e}}function _t(t){for(var e in t)if(t[e]===_t)return e;throw Error("Could not find renamed property on target object.")}function bt(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}var wt=_t({ngComponentDef:_t}),Ct=_t({ngInjectableDef:_t}),xt=_t({ngInjectorDef:_t}),St=_t({ngModuleDef:_t}),Et=_t({ngBaseDef:_t});function kt(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Dt(t){return t.hasOwnProperty(Ct)?t[Ct]:null}function Tt(t){return t.hasOwnProperty(xt)?t[xt]:null}var At=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?kt({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),Rt="__parameters__",It="__prop__metadata__";function Ot(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,c(e));for(var i in r)this[i]=r[i]}}}function Pt(t,e,n){var r=Ot(e);function i(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof i)return r.apply(this,e),this;var o=new((t=i).bind.apply(t,c([void 0],e)));return a.annotation=o,a;function a(t,e,n){for(var r=t.hasOwnProperty(Rt)?t[Rt]:Object.defineProperty(t,Rt,{value:[]})[Rt];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}function Nt(t,e,n,r){var i=Ot(e);function o(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof o)return i.apply(this,e),this;var a=new((t=o).bind.apply(t,c([void 0],e)));return function(t,n){var i=t.constructor,o=i.hasOwnProperty(It)?i[It]:Object.defineProperty(i,It,{value:{}})[It];o[n]=o.hasOwnProperty(n)&&o[n]||[],o[n].unshift(a),r&&r.apply(void 0,c([t,n],e))}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}var Ft=new At("AnalyzeForEntryComponents"),Mt="undefined"!=typeof window&&window,Lt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Vt="undefined"!=typeof global&&global||Mt||Lt,jt=Promise.resolve(0),zt=null;function Bt(){if(!zt){var t=Vt.Symbol;if(t&&t.iterator)zt=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(zt=r)}}return zt}function Ht(t){"undefined"==typeof Zone?jt.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function Ut(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function Wt(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Wt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function qt(t){return t.__forward_ref__=qt,t.toString=function(){return Wt(this())},t}function Yt(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===qt?t():t}var Kt=Pt("Inject",function(t){return{token:t}}),Gt=Pt("Optional"),Zt=Pt("Self"),Qt=Pt("SkipSelf"),$t="__source",Xt=new Object,Jt=Xt,te=new At("INJECTOR"),ee=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=Xt),e===Xt)throw new Error("NullInjectorError: No provider for "+Wt(t)+"!");return e},t}(),ne=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new he(t,e):new he(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=Xt,t.NULL=new ee,t.ngInjectableDef=kt({providedIn:"any",factory:function(){return ge(te)}}),t}(),re=function(t){return t},ie=[],oe=re,ae=function(){return Array.prototype.slice.call(arguments)},se=_t({provide:String,useValue:_t}),le=ne.NULL,ue=/\n/gm,ce="\u0275",he=function(){function t(t,e,n){void 0===e&&(e=le),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(ne,{token:ne,fn:re,deps:ie,value:this,useNew:!1}),r.set(te,{token:te,fn:re,deps:ie,value:this,useNew:!1}),function t(e,n){if(n)if((n=Yt(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw fe("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw fe("Unexpected provider",n);var i=Yt(n.provide),o=function(t){var e=function(t){var e=ie,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var i=6;if((l=Yt(n[r]))instanceof Array)for(var o=0,a=l;o<a.length;o++){var s=a[o];s instanceof Gt||s==Gt?i|=1:s instanceof Qt||s==Qt?i&=-3:s instanceof Zt||s==Zt?i&=-5:l=s instanceof Kt?s.token:Yt(s)}e.push({token:l,options:i})}}else if(t.useExisting){var l;e=[{token:l=Yt(t.useExisting),options:6}]}else if(!(n||se in t))throw fe("'deps' required",t);return e}(t),n=re,r=ie,i=!1,o=Yt(t.provide);if(se in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)i=!0,n=Yt(t.useClass);else{if("function"!=typeof o)throw fe("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);i=!0,n=o}return{deps:e,fn:n,useNew:i,value:r}}(n);if(!0===n.multi){var a=e.get(i);if(a){if(a.fn!==ae)throw pe(i)}else e.set(i,a={token:n.provide,deps:[],useNew:!1,fn:ae,value:ie});a.deps.push({token:i=n,options:6})}var s=e.get(i);if(s&&s.fn==ae)throw pe(i);e.set(i,o)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=0);var r=this._records.get(t);try{return function t(e,n,r,i,o,a){try{return function(e,n,r,i,o,a){var s,l;if(!n||4&a)2&a||(l=i.get(e,o,0));else{if((l=n.value)==oe)throw Error(ce+"Circular dependency");if(l===ie){n.value=oe;var u=n.useNew,h=n.fn,p=n.deps,d=ie;if(p.length){d=[];for(var f=0;f<p.length;f++){var m=p[f],y=m.options,g=2&y?r.get(m.token):void 0;d.push(t(m.token,g,r,g||4&y?i:le,1&y?null:ne.THROW_IF_NOT_FOUND,0))}}n.value=l=u?new((s=h).bind.apply(s,c([void 0],d))):h.apply(void 0,d)}}return l}(e,n,r,i,o,a)}catch(s){throw s instanceof Error||(s=new Error(s)),(s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(e),n&&n.value==oe&&(n.value=ie),s}}(t,r,this._records,this.parent,e,n)}catch(o){var i=o.ngTempTokenPath;throw t[$t]&&i.unshift(t[$t]),o.message=de("\n"+o.message,i,this.source),o.ngTokenPath=i,o.ngTempTokenPath=null,o}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(Wt(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function pe(t){return fe("Cannot mix multi providers and regular providers",t)}function de(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==ce?t.substr(2):t;var r=Wt(e);if(e instanceof Array)r=e.map(Wt).join(" -> ");else if("object"==typeof e){var i=[];for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];i.push(o+":"+("string"==typeof a?JSON.stringify(a):Wt(a)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(ue,"\n  ")}function fe(t,e){return new Error(de(t,e))}var me=void 0;function ye(t){var e=me;return me=t,e}function ge(t,e){if(void 0===e&&(e=0),void 0===me)throw new Error("inject() must be called from an injection context");if(null===me){var n=Dt(t);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&e)return null;throw new Error("Injector: NOT_FOUND ["+Wt(t)+"]")}return me.get(t,8&e?null:void 0,e)}function ve(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=0,a=0;a<r.length;a++){var s=r[a];s instanceof Gt||"Optional"===s.ngMetadataName?o|=8:s instanceof Qt||"SkipSelf"===s.ngMetadataName?o|=4:s instanceof Zt||"Self"===s.ngMetadataName?o|=2:i=s instanceof Kt?s.token:s}e.push(ge(i,o))}else e.push(ge(r))}return e}Function;var _e=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),be="__ngContext__",we=17,Ce=0,xe=1,Se=2,Ee=3,ke=4,De=5,Te=6,Ae=7,Re=8,Ie=9,Oe=10,Pe=11,Ne=12,Fe=14,Me=16;function Le(t,e){var n=ze(t),r=ze(e);return n&&r?function(t,e,n){for(var r=t[Bt()](),i=e[Bt()]();;){var o=r.next(),a=i.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(t,e,Le):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||Ut(t,e)}var Ve=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),je=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function ze(t){return!!Be(t)&&(Array.isArray(t)||!(t instanceof Map)&&Bt()in t)}function Be(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var He=0,Ue=1,We=6;function qe(t){for(;Array.isArray(t);)t=t[De];return t}function Ye(t,e){return qe(e[t.index])}function Ke(t,e){var n=e[t];return n.length>=we?n:n[De]}function Ge(t){return t[be]}function Ze(t){var e=Ge(t);return e?Array.isArray(e)?e:e.lViewData:null}function Qe(t,e){t[be]=e}function $e(t,e,n){t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked))}function Xe(t,e,n){t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked))}function Je(t,e,n){null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}function tn(t,e,n){16&t[xe]&&(en(t,e.initHooks,e.checkHooks,n),t[xe]&=-17)}function en(t,e,n,r){var i=r?e:n;i&&nn(t,i)}function nn(t,e){for(var n=0;n<e.length;n+=2)e[n+1].call(t[e[n]])}var rn=9,on="ngProjectAs";function an(t){return!!t.listen}var sn={createRenderer:function(t,e){return document}},ln=[];function un(t){for(var e=t[Te];e&&2===e.type;)e=(t=t[Se])[Te];return t}function cn(t,e,n,r,i){0===t?an(e)?e.insertBefore(n,r,i):n.insertBefore(r,i,!0):1===t?an(e)?e.removeChild(n,r):n.removeChild(r):2===t&&e.destroyNode(r)}function hn(t){var e=t[Ce].childIndex;return-1===e?null:t[e]}function pn(t,e){var n;return t.length>=we&&(n=t[Te])&&2===n.type?function(e,n){if(-1===e.index){var r=t[Fe];return r>-1?t[Se][r]:null}return t[Se][e.parent.index]}(n):t[Se]===e?null:t[Se]}function dn(t){if(t.length>=we){var e=t;!function(t){var e=t[Ce].cleanup;if(null!=e){for(var n=0;n<e.length-1;n+=2)"string"==typeof e[n]?(qe(t[e[n+1]]).removeEventListener(e[n],t[Re][e[n+2]],e[n+3]),n+=2):"number"==typeof e[n]?(0,t[Re][e[n]])():e[n].call(t[Re][e[n+1]]);t[Re]=null}}(e),function(t){var e,n=t[Ce];null!=n&&null!=(e=n.destroyHooks)&&nn(t,e)}(e),(r=(n=e)[Ce]&&n[Ce].pipeDestroyHooks)&&nn(n,r),-1===e[Ce].id&&an(e[Pe])&&e[Pe].destroy()}var n,r}var fn,mn,yn,gn,vn,_n,bn,wn,Cn=Promise.resolve(null);function xn(){return mn}var Sn=!1,En=!0,kn=-1;function Dn(t,e){var n=wn;return vn=t&&t[Ce],bn=t&&1==(1&t[xe]),En=t&&vn.firstTemplatePass,kn=t&&vn.bindingStartIndex,fn=t&&t[Pe],yn=e,gn=!0,wn=t,n&&(n[ke]=_n),_n=t&&t[ke],n}function Tn(t,e){e||(Sn||en(wn,vn.viewHooks,vn.viewCheckHooks,bn),wn[xe]&=-6),wn[xe]|=16,wn[Ae]=vn.bindingStartIndex,Dn(t,null)}function An(){Rn();var t=En;vn.firstTemplatePass=En=!1,Sn||tn(wn,vn,bn),function(t){for(var e=hn(wn);null!==e;e=e[Ee])if(e.length<we&&-1===e[He])for(var n=e,r=0;r<n[Ue].length;r++){var i=n[Ue][r];Pn(i,i[Ce],i[Ie],2)}}(),function(t){if(null!=t.contentQueries)for(var e=0;e<t.contentQueries.length;e+=2){var n=t.contentQueries[e];t.data[n].contentQueriesRefresh(n-we,t.contentQueries[e+1])}}(vn),Sn||en(wn,vn.contentHooks,vn.contentCheckHooks,bn),function(t,e){if(null!=t)for(var n=0;n<t.length;n++)Bn(t[n],e)}(vn.components,t)}function Rn(){if(vn.expandoInstructions){kn=wn[Ae]=vn.expandoStartIndex;for(var t=-1,e=-1,n=0;n<vn.expandoInstructions.length;n++){var r=vn.expandoInstructions[n];"number"==typeof r?r<=0?(e=-r,"number"==typeof wn[kn]&&(kn+=rn),t=kn):kn+=r:(wn[Ae]=kn,r(t-we,e),t++)}}}function In(t,e,n,r,i){var o=e.blueprint.slice();return o[xe]=25|r,o[Se]=o[Me]=wn,o[Ie]=n,o[Oe]=wn?wn[Oe]:null,o[Pe]=t,o[Ne]=i||null,o}function On(t,e,n,r,i){var o=t+we;wn[o]=n;var a=vn.data[o];return null==a&&(a=vn.data[o]=zn(e,o,r,i,null),yn&&(!gn||null!=yn.child||null===a.parent&&2!==yn.type?gn||(yn.next=a):yn.child=a)),null==vn.firstChild&&3===e&&(vn.firstChild=a),yn=a,gn=!0,a}function Pn(t,e,n,r){var i,o=gn,a=yn;if(64&t[xe])Un(t[Ie]);else try{gn=!0,yn=null,i=Dn(t,t[Te]),Ln(),e.template(r,n),2&r?An():t[Ce].firstTemplatePass=En=!1}finally{Tn(i,1==(1&r)),gn=o,yn=a}}function Nn(t,e,n){var r=Dn(t,t[Te]);try{mn.begin&&mn.begin(),n?(Ln(),n(Fn(t),e),An()):(Sn||(tn(wn,vn,bn),en(wn,vn.contentHooks,vn.contentCheckHooks,bn)),Rn(),Bn(we,!1))}finally{mn.end&&mn.end(),Tn(r)}}function Fn(t){return 1&t[xe]?3:2}var Mn=null;function Ln(){Mn=null}function Vn(t,e,n,r,i,o,a){var s=we+n,l=s+r,u=function(t,e){var n=new Array(e).fill(null,0,t).fill(Kn,t);return n[Fe]=-1,n[Ae]=t,n}(s,l);return u[Ce]={id:t,blueprint:u,template:e,viewQuery:a,node:null,data:u.slice(),childIndex:-1,bindingStartIndex:s,expandoStartIndex:l,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,currentMatches:null,firstChild:null}}function jn(t,e){mn=t;var n=t.createRenderer(null,null);return"string"==typeof e?an(n)?n.selectRootElement(e):n.querySelector(e):e}function zn(t,e,n,r,i){var o=gn?yn:yn&&yn.parent,a=o&&wn&&o!==wn[Te]?o:null;return{type:t,index:e,injectorIndex:a?a.injectorIndex:-1,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:a,detached:null,stylingTemplate:null,projection:null}}function Bn(t,e){var n=Ke(t,wn);Hn(n)&&6&n[xe]&&(e&&function(t){for(var e=t[Ce],n=t.length;n<e.blueprint.length;n++)t[n]=e.blueprint[n]}(n),Yn(n,n[Ie]))}function Hn(t){return 8==(8&t[xe])}function Un(t){for(var e=0;e<t.components.length;e++){var n=t.components[e];Nn(Ze(n),n)}}function Wn(t){Yn(function(t){var e,n=Ge(t);if(Array.isArray(n)){var r=function(t,e){var n=t[Ce].components;if(n)for(var r=0;r<n.length;r++){var i=n[r];if(Ke(i,t)[Ie]===e)return i}else if(Ke(we,t)[Ie]===e)return we;return-1}(n,t);(i=function(t,e,n){return{lViewData:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}(n,r,(e=Ke(r,n))[De])).component=t,Qe(t,i),Qe(i.native,i)}else{var i;e=Ke((i=n).nodeIndex,i.lViewData)}return e}(t),t)}function qn(t){Un(t[Ie])}function Yn(t,e){var n=t[Ce],r=Dn(t,t[Te]),i=n.template,o=n.viewQuery;try{Ln(),function(e,n,r){e&&1&t[xe]&&e(1,r)}(o,0,e),i(Fn(t),e),An(),function(t,e){t&&t(2,e)}(o,e)}finally{Tn(r)}}var Kn={},Gn=Cn,Zn=[0,1];function Qn(t,e,n,r,i,o){var a=function(t,e,n,r){if(Qe(e,wn),r&&Qe(r,wn),wn[t]=e,En){var i=yn.flags;0===i?yn.flags=t<<15|4096&i|1:yn.flags++,vn.data.push(n),vn.blueprint.push(null),n.hostBindings&&vn.expandoInstructions.push((a=n).hostBindings,a.hostVars)}else{var o=n.diPublic;o&&o(n)}var a;return null!=n.attributes&&3==yn.type&&function(t,e){for(var n=an(fn),r=0;r<e.length;){var i=e[r];if(1===i)break;if(i===on)r+=2;else if(0===i){var o=e[r+1],a=e[r+2],s=e[r+3];n?fn.setAttribute(t,a,s,o):t.setAttributeNS(o,a,s),r+=4}else s=e[r+1],n?fn.setAttribute(t,i,s):t.setAttribute(i,s),r+=2}}(r,n.attributes),e}(r.length,n.factory(),n,t);return i.components.push(a),e[Ie]=a,o&&o.forEach(function(t){return t(a,n)}),r[Ce].firstTemplatePass&&function(t){for(var e=0;e<t;e++)wn.push(Kn),vn.blueprint.push(Kn),vn.data.push(null)}(n.hostVars),Rn(),a}function $n(t,e){return{components:[],scheduler:t,clean:Gn,playerHandler:e||null,flags:0}}function Xn(t,e){var n,r,i,o,a=Ze(t)[Ce],s=a.data.length-1;n=s,i=e.doCheck,o=a,(r=e.onInit)&&(o.initHooks||(o.initHooks=[])).push(n,r),i&&((o.initHooks||(o.initHooks=[])).push(n,i),(o.checkHooks||(o.checkHooks=[])).push(n,i)),function(t,e){if(e.firstTemplatePass)for(var n=t>>15,r=n+(4095&t),i=n;i<r;i++){var o=e.data[i];$e(o,e,i),Xe(o,e,i),Je(o,e,i)}}(s<<15|1,a)}var Jn=function(){return function(){}}(),tr=function(){return function(){}}();function er(t){var e=Error("No component factory found for "+Wt(t)+". Did you add it to @NgModule.entryComponents?");return e[rr]=t,e}var nr,rr="ngComponent",ir=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw er(t)},t}(),or=function(){function t(){}return t.NULL=new ir,t}(),ar=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var i=t[r];this._factories.set(i.componentType,i)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw er(t);return new sr(e,this._ngModule)},t}(),sr=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return i(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(tr),lr=function(){return function(){}}(),ur=function(){return function(){}}(),cr=function(t){function e(e){var n=t.call(this,e,null,-1)||this;return n._view=e,n}return i(e,t),e.prototype.detectChanges=function(){qn(this._view)},e.prototype.checkNoChanges=function(){!function(t){Sn=!0;try{qn(t)}finally{Sn=!1}}(this._view)},e}(function(){function t(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=t}return Object.defineProperty(t.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 32==(32&this._view[xe])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t,e;this._viewContainerRef&&Hn(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),an(e=(t=this._view)[Pe])&&e.destroyNode&&function(e,n,r,i,o){for(var a=t[Ce].node,s=-1,l=t,u=a.child;u;){var c=null;if(3===u.type){cn(2,r,null,Ye(u,l),o);var h=l[u.index];m=h,Array.isArray(m)&&"number"==typeof m[He]&&cn(2,r,null,h[We],o)}else if(0===u.type){var p=l[u.index];cn(2,r,null,p[We],o),p[Ue].length&&(c=(l=p[Ue][0])[Ce].node,o=p[We])}else if(1===u.type){var d=un(l),f=d[Te].projection[u.projection];ln[++s]=u,ln[++s]=l,f&&(c=(l=d[Se])[Ce].data[f.index])}else c=u.child;if(null===c)for(null===u.next&&8192&u.flags&&(l=ln[s--],u=ln[s--]),c=u.next;!c;){if(null===(u=u.parent||l[Ce].node)||u===a)return null;0===u.type&&(o=(l=l[Se])[u.index][We]),c=2===u.type&&l[Ee]?(l=l[Ee])[Ce].node:u.next}u=c}var m}(0,0,e),function(t){if(-1===t[Ce].childIndex)return dn(t);for(var e=hn(t);e;){var n=null;if(e.length>=we?e[Ce].childIndex>-1&&(n=hn(e)):e[Ue].length&&(n=e[Ue][0]),null==n){for(;e&&!e[Ee]&&e!==t;)dn(e),e=pn(e,t);dn(e||t),n=e&&e[Ee]}e=n}}(t),t[xe]|=32},t.prototype.onDestroy=function(t){var e,n;n=t,function(t){return t[Re]||(t[Re]=[])}(e=this._view).push(n),e[Ce].firstTemplatePass&&function(t){return t[Ce].cleanup||(t[Ce].cleanup=[])}(e).push(e[Re].length-1,null)},t.prototype.markForCheck=function(){!function(t){for(var e=t;e&&!(64&e[xe]);)e[xe]|=4,e=e[Se];var n,r,i;e[xe]|=4,i=0===(n=e[Ie]).flags,n.flags|=1,i&&n.clean==Cn&&(n.clean=new Promise(function(t){return r=t}),n.scheduler(function(){if(1&n.flags&&(n.flags&=-2,Un(n)),2&n.flags){n.flags&=-3;var t=n.playerHandler;t&&t.flushPlayers()}n.clean=Cn,r(null)}))}(this._view)},t.prototype.detach=function(){this._view[xe]&=-9},t.prototype.reattach=function(){this._view[xe]|=8},t.prototype.detectChanges=function(){var t=xn();t.begin&&t.begin(),Wn(this.context),t.end&&t.end()},t.prototype.checkNoChanges=function(){!function(t){Sn=!0;try{Wn(t)}finally{Sn=!1}}(this.context)},t.prototype.attachToViewContainerRef=function(t){this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){this._appRef=t},t.prototype._lookUpContext=function(){return this._context=this._view[Se][this._componentIndex]},t}());function hr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var pr=hr,dr=hr,fr=hr,mr=hr,yr=hr,gr=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return pr(t)},t}(),vr=function(){return function(){}}(),_r=function(){return function(){}}(),br=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),wr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return yr()},t}(),Cr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.resolveComponentFactory=function(t){return new Dr(t[wt]||null)},e}(or);function xr(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var Sr=new At("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return $n(ge(Er))}}),Er=new At("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return"undefined"!=typeof requestAnimationFrame&&"undefined"!=typeof window?requestAnimationFrame.bind(window):setTimeout}}),kr=new At("WRAP_RENDERER_FACTORY2"),Dr=function(t){function e(e){var n=t.call(this)||this;return n.componentDef=e,n.componentType=e.type,n.selector=e.selectors[0][0],n.ngContentSelectors=[],n}return i(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return xr(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return xr(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){var o,a=void 0===n;o=r?r.injector.get(kr,function(t){return t})(r.injector.get(_r)):sn;var s,l,u=a?(s=this.selector,an(l=o.createRenderer(null,this.componentDef)||fn)?l.createElement(s,Mn):null===Mn?l.createElement(s):l.createElementNS(Mn,s)):jn(o,n),c=this.componentDef.onPush?68:66,h=r&&!a?r.injector.get(Sr):$n(requestAnimationFrame.bind(window)),p=o.createRenderer(u,this.componentDef),d=In(p,Vn(-1,null,1,0,null,null,null),h,c);d[Oe]=r&&r.injector||null;var f,m,y,g,v=Dn(d,null);try{o.begin&&o.begin();var _=function(t,e,n,r,i){gn=!1,yn=null;var o,a=n[Ce],s=In(r,(o=e.template).ngPrivateData||(o.ngPrivateData=Vn(-1,o,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery)),null,e.onPush?4:2,i),l=On(0,3,t,null,null);return a.firstTemplatePass&&(a.expandoInstructions=Zn.slice(),e.diPublic&&e.diPublic(e),l.flags=n.length<<15|4096),s[De]=n[we],s[Te]=l,n[we]=s}(u,this.componentDef,d,p);if(m=d[Ce].data[0+we],e)for(var b=0,w=m.projection=[],C=0;C<e.length;C++){for(var x=e[C],S=null,E=null,k=0;k<x.length;k++){g=void 0,(g=(y=d)[Ce]).firstTemplatePass&&(g.expandoStartIndex++,g.blueprint.push(null),y.push(null));var D=On(++b,3,x[k],null,null);E?E.next=D:S=D,E=D}w.push(S)}f=Qn(u,_,this.componentDef,d,h,[Xn]),Pn(_,_[Ce],f,1),_[xe]&=-2}finally{Dn(v,null),o.end&&o.end()}var T=new Tr(this.componentType,f,d,t,function(t,e,n){return nr||(nr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(gr)),new nr(Ye(e,n))}(0,m,d));return a&&(T.hostView._tViewNode.child=m),T},e}(tr),Tr=function(t){function e(e,n,r,i,o){var a,s=t.call(this)||this;return s.location=o,s.destroyCbs=[],s.instance=n,s.hostView=s.changeDetectorRef=new cr(r),s.hostView._tViewNode=(-1,null==(a=r)[Ce].node&&(a[Ce].node=zn(2,-1,null,null,null)),gn=!0,yn=a[Te]=a[Ce].node),s.injector=i,s.componentType=e,s}return i(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(Jn),Ar=new At("The presence of this token marks an injector as being the root injector."),Rr={},Ir={},Or=[],Pr=void 0;function Nr(){return void 0===Pr&&(Pr=new ee),Pr}var Fr=function(){function t(t,e,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,Vr([t],function(t){return r.processInjectorType(t,new Set)}),e&&Vr(e,function(t){return r.processProvider(t)}),this.records.set(te,Lr(void 0,this)),this.isRootInjector=this.records.has(Ar),this.injectorDefTypes.forEach(function(t){return r.get(t)})}return t.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},t.prototype.get=function(t,e,n){void 0===e&&(e=Jt),void 0===n&&(n=0),this.assertNotDestroyed();var r,i=ye(this);try{if(!(4&n)){var o=this.records.get(t);if(void 0===o){var a=("function"==typeof(r=t)||"object"==typeof r&&r instanceof At)&&Dt(t);a&&this.injectableDefInScope(a)&&(o=Mr(t),this.records.set(t,o))}if(void 0!==o)return this.hydrate(t,o)}return 2&n&&Nr(),this.parent.get(t,e)}finally{ye(i)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e){var n=this,r=Tt(t=Yt(t)),i=null==r&&t.ngModule||void 0,o=void 0===i?t:i,a=void 0!==i&&t.providers||Or;if(void 0!==i&&(r=Tt(i)),null!=r){if(e.has(o))throw new Error("Circular dependency: type "+Wt(o)+" ends up importing itself.");if(this.injectorDefTypes.add(o),this.records.set(o,Lr(r.factory)),null!=r.imports){e.add(o);try{Vr(r.imports,function(t){return n.processInjectorType(t,e)})}finally{e.delete(o)}}null!=r.providers&&Vr(r.providers,function(t){return n.processProvider(t)}),Vr(a,function(t){return n.processProvider(t)})}},t.prototype.processProvider=function(t){var e=jr(t=Yt(t))?t:Yt(t.provide),n=function(t){var e=Yt(t),n=Rr,r=void 0;if(jr(t))return Mr(t);if(e=Yt(t.provide),se in t)n=t.useValue;else if(t.useExisting)r=function(){return ge(t.useExisting)};else if(t.useFactory)r=function(){return t.useFactory.apply(t,c(ve(t.deps||[])))};else{var i=t.useClass||e;if(!t.deps)return Mr(i);r=function(){return new(i.bind.apply(i,c([void 0],ve(t.deps))))}}return Lr(r,n)}(t);if(jr(t)||!0!==t.multi){var r=this.records.get(e);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+Wt(e))}else{var i=this.records.get(e);if(i){if(void 0===i.multi)throw new Error("Mixed multi-provider for "+e+".")}else(i=Lr(void 0,Rr,!0)).factory=function(){return ve(i.multi)},this.records.set(e,i);e=t,i.multi.push(t)}this.records.set(e,n)},t.prototype.hydrate=function(t,e){if(e.value===Ir)throw new Error("Circular dep for "+Wt(t));var n;return e.value===Rr&&(e.value=Ir,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(n=e.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value},t.prototype.injectableDefInScope=function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||"root"===t.providedIn&&this.isRootInjector:this.injectorDefTypes.has(t.providedIn))},t}();function Mr(t){var e=Dt(t);if(null===e){if(t instanceof At)throw new Error("Token "+Wt(t)+" is missing an ngInjectableDef definition.");return Lr(function(){return new t})}return Lr(e.factory)}function Lr(t,e,n){return void 0===e&&(e=Rr),void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Vr(t,e){t.forEach(function(t){return Array.isArray(t)?Vr(t,e):e(t)})}function jr(t){return"function"==typeof t}var zr={provide:or,useFactory:function(){return new Cr},deps:[]},Br=function(t){function e(e,n){var r=t.call(this)||this;return r._bootstrapComponents=[],r.destroyCbs=[],r._bootstrapComponents=(e[St]||null).bootstrap,r.injector=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),e=e||Nr(),new Fr(t,n,e)}(e,n,[zr,{provide:lr,useValue:r}]),r.instance=r.injector.get(e),r.componentFactoryResolver=new Cr,r}return i(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(lr);!function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,n}i(e,t),e.prototype.create=function(t){return new Br(this.moduleType,t)}}(ur);var Hr=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return i(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},a=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var s=t.prototype.subscribe.call(this,i,o,a);return e instanceof b&&e.add(s),s},e}(j),Ur=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return dr(t,gr)},t}(),Wr=!0,qr=!1;function Yr(){return qr=!0,Wr}var Kr=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";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="<body><remove></remove>"+t+"</body>";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<n;n--){var r=e.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.removeAttribute(r)}for(var i=t.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling},t}(),Gr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Zr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Qr(t){return(t=String(t)).match(Gr)||t.match(Zr)?t:(Yr()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function $r(t){var e,n,r={};try{for(var i=l(t.split(",")),o=i.next();!o.done;o=i.next())r[o.value]=!0}catch(a){e={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}function Xr(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};try{for(var o=l(n),a=o.next();!a.done;a=o.next()){var s=a.value;for(var u in s)s.hasOwnProperty(u)&&(i[u]=!0)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return i}var Jr,ti=$r("area,br,col,hr,img,wbr"),ei=$r("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ni=$r("rp,rt"),ri=Xr(ni,ei),ii=Xr(ti,Xr(ei,$r("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Xr(ni,$r("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ri),oi=$r("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ai=$r("srcset"),si=Xr(oi,ai,$r("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),li=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(e.nodeType===Node.ELEMENT_NODE?this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var n=this.checkClobberedElement(e,e.nextSibling);if(n){e=n;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e=t.nodeName.toLowerCase();if(ii.hasOwnProperty(e)){this.buf.push("<"),this.buf.push(e);for(var n,r=t.attributes,i=0;i<r.length;i++){var o=r.item(i),a=o.name,s=a.toLowerCase();if(si.hasOwnProperty(s)){var l=o.value;oi[s]&&(l=Qr(l)),ai[s]&&(n=l,l=(n=String(n)).split(",").map(function(t){return Qr(t.trim())}).join(", ")),this.buf.push(" ",a,'="',hi(l),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();ii.hasOwnProperty(e)&&!ti.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(hi(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}(),ui=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ci=/([^\#-~ |!])/g;function hi(t){return t.replace(/&/g,"&amp;").replace(ui,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ci,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function pi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var di=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),fi=function(){return function(){}}(),mi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),yi=/^url\(([^)]+)\)$/;String,String;var gi=Nt("Input",function(t){return{bindingPropertyName:t}},void 0,function(t){return function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=t.constructor;i.hasOwnProperty(Et)||function(t){var e=t.constructor,n=e.ngBaseDef,r=e.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(bt(r.inputs,n.inputs),bt(r.outputs,n.outputs),bt(r.declaredInputs,n.declaredInputs))}(t),(function(t){return t.inputs||{}}(i.ngBaseDef))[e]=n[0]}}()),vi=Nt("HostBinding",function(t){return{hostPropertyName:t}}),_i=new(function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}())("7.0.4"),bi="ngDebugContext",wi="ngOriginalError",Ci="ngErrorLogger";function xi(t){return t[bi]}function Si(t){return t[wi]}function Ei(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,c(e))}var ki=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[Ci]||Ei}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?xi(t)?xi(t):this._findContext(Si(t)):null},t.prototype._findOriginalError=function(t){for(var e=Si(t);e&&Si(e);)e=Si(e);return e},t}();function Di(t){return!!t&&"function"==typeof t.then}function Ti(t){return!!t&&"function"==typeof t.subscribe}var Ai=new At("Application Initializer"),Ri=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();Di(i)&&e.push(i)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),Ii=new At("AppId");function Oi(){return""+Pi()+Pi()+Pi()}function Pi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Ni=new At("Platform Initializer"),Fi=new At("Platform ID"),Mi=new At("appBootstrapListener"),Li=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function Vi(){throw new Error("Runtime compiler is not loaded")}var ji,zi,Bi=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw Vi()},t.prototype.compileModuleAsync=function(t){throw Vi()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw Vi()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw Vi()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Hi=function(){return function(){}}();function Ui(){var t=Vt.wtf;return!(!t||!(ji=t.trace)||(zi=ji.events,0))}var Wi=Ui();function qi(t,e){return null}var Yi=Wi?function(t,e){return void 0===e&&(e=null),zi.createScope(t,e)}:function(t,e){return qi},Ki=Wi?function(t,e){return ji.leaveScope(t,e),e}:function(t,e){return e},Gi=function(){function t(t){var e,n=t.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Hr(!1),this.onMicrotaskEmpty=new Hr(!1),this.onStable=new Hr(!1),this.onError=new Hr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,i,o,a){try{return Xi(e),t.invokeTask(r,i,o,a)}finally{Ji(e)}},onInvoke:function(t,n,r,i,o,a,s){try{return Xi(e),t.invoke(r,i,o,a,s)}finally{Ji(e)}},onHasTask:function(t,n,r,i){t.hasTask(r,i),n===r&&("microTask"==i.change?(e.hasPendingMicrotasks=i.microTask,$i(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:function(t,n,r,i){return t.handleError(r,i),e.runOutsideAngular(function(){return e.onError.emit(i)}),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,Qi,Zi,Zi);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function Zi(){}var Qi={};function $i(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function Xi(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ji(t){t._nesting--,$i(t)}var to,eo=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Hr,this.onMicrotaskEmpty=new Hr,this.onStable=new Hr,this.onError=new Hr}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),no=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),t.run(function(){e.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Gi.assertNotInAngularZone(),Ht(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())Ht(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]},t.prototype.addCallback=function(t,e,n){var r=this,i=-1;e&&e>0&&(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}(),ro=function(){function t(){this._applications=new Map,io.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),io.findTestabilityInTree(this,t,e)},a([s("design:paramtypes",[])],t)}(),io=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),oo=new At("AllowMultipleToken"),ao=function(){return function(t,e){this.name=t,this.token=e}}();function so(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new At(r);return function(e){void 0===e&&(e=[]);var o=lo();if(!o||o.injector.get(oo,!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(to&&!to.destroyed&&!to.injector.get(oo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");to=t.get(uo);var e=t.get(Ni,null);e&&e.forEach(function(t){return t()})}(ne.create({providers:a,name:r}))}return function(t){var e=lo();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 lo(){return to&&!to.destroyed?to:null}var uo=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 eo:("zone.js"===n?void 0:n)||new Gi({enableLongStackTrace:Yr()}),o=[{provide:Gi,useValue:i}];return i.run(function(){var e=ne.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(ki,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return po(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(Ri)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Di(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=co({},e);return function(t,e,n){return t.get(Hi).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(ho);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Wt(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 co(t,e){return Array.isArray(e)?e.reduce(co,t):o({},t,e)}var ho=function(){function t(t,e,n,r,i,o){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Yr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new P(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),l=new P(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Gi.assertNotInAngularZone(),Ht(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Gi.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=ct(s,l.pipe(vt()))}var e;return e=t,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 sr?null:this._injector.get(lr),o=n.create(ne.NULL,[],e||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var a=o.injector.get(no,null);return a&&o.injector.get(ro).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Yr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,Ki(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;po(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Mi,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),po(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=Yi("ApplicationRef#tick()"),t}();function po(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var fo=function(){return function(){}}(),mo=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Hr,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[Bt()]=function(){return this._results[Bt()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),yo=function(){return function(){}}(),go={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},vo=function(){function t(t,e){this._compiler=t,this._config=e||go}return t.prototype.load=function(t){return this._compiler instanceof Bi?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=u(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 _o(t,i,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=u(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 _o(t,r,i)})},t}();function _o(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var bo,wo=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return mr(t,gr)},t}(),Co=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return fr()},t}(),xo=(i(function(){return null!==bo&&bo.apply(this,arguments)||this},bo=Co),function(){return function(t,e){this.name=t,this.callback=e}}()),So=function(){function t(t,e,n){this.nativeNode=t,this._debugContext=n,this.listeners=[],this.parent=null,e&&e instanceof Eo&&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}(),Eo=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return i(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,c([i+1,0],e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),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 e=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof Eo&&(n(e)&&r.push(e),t(e,n,r))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,r){e instanceof Eo&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof Eo&&t(e,n,r)})}(this,t,e),e},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}(So),ko=new Map;function Do(t){return ko.get(t)||null}function To(t){ko.set(t.nativeNode,t)}var Ao=function(){function t(){}return t.prototype.supports=function(t){return ze(t)},t.prototype.create=function(t){return new Io(t)},t}(),Ro=function(t,e){return e},Io=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ro}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex<Fo(n,r,i)?e:n,a=Fo(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);var l=a-r,u=s-r;if(l!=u){for(var c=0;c<l;c++){var h=c<i.length?i[c]:i[c]=0,p=h+c;u<=p&&p<l&&(i[c]=h+1)}i[o.previousIndex]=u-l}}a!==s&&t(o,a,s)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!ze(t))throw new Error("Error trying to diff '"+Wt(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,i,o=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var s=0;s<this.length;s++)i=this._trackByFn(s,r=t[s]),null!==o&&Ut(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),Ut(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,s),a=!0),o=o._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[Bt()](),i=void 0;!(i=r.next()).done;)e(i.value)}(t,function(t){i=e._trackByFn(n,t),null!==o&&Ut(o.trackById,i)?(a&&(o=e._verifyReinsertion(o,t,i,n)),Ut(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,i,n),a=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Ut(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Ut(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new Oo(e,n),i,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new No),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new No),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),Oo=function(){return function(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),Po=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Ut(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),No=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Po,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function Fo(t,e,n){var r=t.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+e+i}var Mo=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||Be(t)},t.prototype.create=function(){return new Lo},t}(),Lo=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||Be(t)))throw new Error("Error trying to diff '"+Wt(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var i=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new Vo(t);return this._records.set(t,o),o.currentValue=e,this._addToAdditions(o),o},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){Ut(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),Vo=function(){return function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),jo=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Qt,new Gt]]}},t.prototype.find=function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t.ngInjectableDef=kt({providedIn:"root",factory:function(){return new t([new Ao])}}),t}(),zo=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Qt,new Gt]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),Bo=[new Mo],Ho=new jo([new Ao]),Uo=new zo(Bo),Wo=so(null,"core",[{provide:Fi,useValue:"unknown"},{provide:uo,deps:[ne]},{provide:ro,deps:[]},{provide:Li,deps:[]}]),qo=new At("LocaleId");function Yo(){return Ho}function Ko(){return Uo}function Go(t){return t||"en-US"}var Zo=function(){return function(t){}}();function Qo(t,e,n){var r=t.state,i=1792&r;return i===e?(t.state=-1793&r|n,t.initIndex=-1,!0):i===n}function $o(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Xo(t,e){return t.nodes[e]}function Jo(t,e){return t.nodes[e]}function ta(t,e){return t.nodes[e]}function ea(t,e){return t.nodes[e]}function na(t,e){return t.nodes[e]}var ra={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function ia(t,e,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){var n=new Error(t);return oa(n,e),n}(i,t)}function oa(t,e){t[bi]=e,t[Ci]=e.logError.bind(e)}function aa(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var sa=function(){},la=new Map;function ua(t){var e=la.get(t);return e||(e=Wt(t)+"_"+la.size,la.set(t,e)),e}function ca(t,e,n,r){if(Ve.isWrapped(r)){r=Ve.unwrap(r);var i=t.def.nodes[e].bindingIndex+n,o=Ve.unwrap(t.oldValues[i]);t.oldValues[i]=new Ve(o)}return r}var ha="$$undefined",pa="$$empty";function da(t){return{id:ha,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var fa=0;function ma(t,e,n,r){return!(!(2&t.state)&&Ut(t.oldValues[e.bindingIndex+n],r))}function ya(t,e,n,r){return!!ma(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function ga(t,e,n,r){var i=t.oldValues[e.bindingIndex+n];if(1&t.state||!Le(i,r)){var o=e.bindings[n].name;throw ia(ra.createDebugContext(t,e.nodeIndex),o+": "+i,o+": "+r,0!=(1&t.state))}}function va(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function _a(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function ba(t,e,n,r){try{return va(33554432&t.def.nodes[e].flags?Jo(t,e).componentView:t),ra.handleEvent(t,e,n,r)}catch(i){t.root.errorHandler.handleError(i)}}function wa(t){return t.parent?Jo(t.parent,t.parentNodeDef.nodeIndex):null}function Ca(t){return t.parent?t.parentNodeDef.parent:null}function xa(t,e){switch(201347067&e.flags){case 1:return Jo(t,e.nodeIndex).renderElement;case 2:return Xo(t,e.nodeIndex).renderText}}function Sa(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function Ea(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function ka(t){return 1<<t%32}function Da(t){var e={},n=0,r={};return t&&t.forEach(function(t){var i=u(t,2),o=i[0],a=i[1];"number"==typeof o?(e[o]=a,n|=ka(o)):r[o]=a}),{matchedQueries:e,references:r,matchedQueryIds:n}}function Ta(t,e){return t.map(function(t){var n,r,i;return Array.isArray(t)?(i=(n=u(t,2))[0],r=n[1]):(i=0,r=t),r&&("function"==typeof r||"object"==typeof r)&&e&&Object.defineProperty(r,$t,{value:e,configurable:!0}),{flags:i,token:r,tokenKey:ua(r)}})}function Aa(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===_e.Native?Jo(t,n.renderParent.nodeIndex).renderElement:void 0:e}var Ra=new WeakMap;function Ia(t){var e=Ra.get(t);return e||((e=t(function(){return sa})).factory=t,Ra.set(t,e)),e}function Oa(t,e,n,r,i){3===e&&(n=t.renderer.parentNode(xa(t,t.def.lastRenderRootNode))),Pa(t,e,0,t.def.nodes.length-1,n,r,i)}function Pa(t,e,n,r,i,o,a){for(var s=n;s<=r;s++){var l=t.def.nodes[s];11&l.flags&&Fa(t,l,e,i,o,a),s+=l.childCount}}function Na(t,e,n,r,i,o){for(var a=t;a&&!Sa(a);)a=a.parent;for(var s=a.parent,l=Ca(a),u=l.nodeIndex+l.childCount,c=l.nodeIndex+1;c<=u;c++){var h=s.def.nodes[c];h.ngContentIndex===e&&Fa(s,h,n,r,i,o),c+=h.childCount}if(!s.parent){var p=t.root.projectableNodes[e];if(p)for(c=0;c<p.length;c++)Ma(t,p[c],n,r,i,o)}}function Fa(t,e,n,r,i,o){if(8&e.flags)Na(t,e.ngContent.index,n,r,i,o);else{var a=xa(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&Ma(t,a,n,r,i,o),32&e.bindingFlags&&Ma(Jo(t,e.nodeIndex).componentView,a,n,r,i,o)):Ma(t,a,n,r,i,o),16777216&e.flags)for(var s=Jo(t,e.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)Oa(s[l],n,r,i,o);1&e.flags&&!e.element.name&&Pa(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,i,o)}}function Ma(t,e,n,r,i,o){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,i);break;case 3:a.removeChild(r,e);break;case 0:o.push(e)}}var La=/^:([^:]+):(.+)$/;function Va(t){if(":"===t[0]){var e=t.match(La);return[e[1],e[2]]}return["",t]}function ja(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function za(t,e,n,r,i,o,a,s,l,u,c,h,p,d,f,m,y,g,v,_){switch(t){case 1:return e+Ba(n)+r;case 2:return e+Ba(n)+r+Ba(i)+o;case 3:return e+Ba(n)+r+Ba(i)+o+Ba(a)+s;case 4:return e+Ba(n)+r+Ba(i)+o+Ba(a)+s+Ba(l)+u;case 5:return e+Ba(n)+r+Ba(i)+o+Ba(a)+s+Ba(l)+u+Ba(c)+h;case 6:return e+Ba(n)+r+Ba(i)+o+Ba(a)+s+Ba(l)+u+Ba(c)+h+Ba(p)+d;case 7:return e+Ba(n)+r+Ba(i)+o+Ba(a)+s+Ba(l)+u+Ba(c)+h+Ba(p)+d+Ba(f)+m;case 8:return e+Ba(n)+r+Ba(i)+o+Ba(a)+s+Ba(l)+u+Ba(c)+h+Ba(p)+d+Ba(f)+m+Ba(y)+g;case 9:return e+Ba(n)+r+Ba(i)+o+Ba(a)+s+Ba(l)+u+Ba(c)+h+Ba(p)+d+Ba(f)+m+Ba(y)+g+Ba(v)+_;default:throw new Error("Does not support more than 9 expressions")}}function Ba(t){return null!=t?t.toString():""}function Ha(t,e,n,r,i,o){t|=1;var a=Da(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?Ia(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||sa},provider:null,text:null,query:null,ngContent:null}}function Ua(t,e,n,r,i,o,a,s,l,c,h,p){var d;void 0===a&&(a=[]),c||(c=sa);var f=Da(n),m=f.matchedQueries,y=f.references,g=f.matchedQueryIds,v=null,_=null;o&&(v=(d=u(Va(o),2))[0],_=d[1]),s=s||[];for(var b=new Array(s.length),w=0;w<s.length;w++){var C=u(s[w],3),x=C[0],S=C[2],E=u(Va(C[1]),2),k=E[0],D=E[1],T=void 0,A=void 0;switch(15&x){case 4:A=S;break;case 1:case 8:T=S}b[w]={flags:x,ns:k,name:D,nonMinifiedName:D,securityContext:T,suffix:A}}l=l||[];var R=new Array(l.length);for(w=0;w<l.length;w++){var I=u(l[w],2);R[w]={type:0,target:I[0],eventName:I[1],propName:null}}var O=(a=a||[]).map(function(t){var e=u(t,2),n=e[1],r=u(Va(e[0]),2);return[r[0],r[1],n]});return p=function(t){if(t&&t.id===ha){var e=null!=t.encapsulation&&t.encapsulation!==_e.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+fa++:pa}return t&&t.id===pa&&(t=null),t||null}(p),h&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:g,references:y,ngContentIndex:r,childCount:i,bindings:b,bindingFlags:ja(b),outputs:R,element:{ns:v,name:_,attrs:O,template:null,componentProvider:null,componentView:h||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||sa},provider:null,text:null,query:null,ngContent:null}}function Wa(t,e,n){var r,i=n.element,o=t.root.selectorOrNode,a=t.renderer;if(t.parent||!o){r=i.name?a.createElement(i.name,i.ns):a.createComment("");var s=Aa(t,e,n);s&&a.appendChild(s,r)}else r=a.selectRootElement(o,!!i.componentRendererType&&i.componentRendererType.encapsulation===_e.ShadowDom);if(i.attrs)for(var l=0;l<i.attrs.length;l++){var c=u(i.attrs[l],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function qa(t,e,n,r){for(var i=0;i<n.outputs.length;i++){var o=n.outputs[i],a=Ya(t,n.nodeIndex,(h=o.eventName,(c=o.target)?c+":"+h:h)),s=o.target,l=t;"component"===o.target&&(s=null,l=e);var u=l.renderer.listen(s||r,o.eventName,a);t.disposables[n.outputIndex+i]=u}var c,h}function Ya(t,e,n){return function(r){return ba(t,e,n,r)}}function Ka(t,e,n,r){if(!ya(t,e,n,r))return!1;var i=e.bindings[n],o=Jo(t,e.nodeIndex),a=o.renderElement,s=i.name;switch(15&i.flags){case 1:!function(t,e,n,r,i,o){var a=e.securityContext,s=a?t.root.sanitizer.sanitize(a,o):o;s=null!=s?s.toString():null;var l=t.renderer;null!=o?l.setAttribute(n,i,s,r):l.removeAttribute(n,i,r)}(t,i,a,i.ns,s,r);break;case 2:!function(t,e,n,r){var i=t.renderer;r?i.addClass(e,n):i.removeClass(e,n)}(t,a,s,r);break;case 4:!function(t,e,n,r,i){var o=t.root.sanitizer.sanitize(di.STYLE,i);if(null!=o){o=o.toString();var a=e.suffix;null!=a&&(o+=a)}else o=null;var s=t.renderer;null!=o?s.setStyle(n,r,o):s.removeStyle(n,r)}(t,i,a,s,r);break;case 8:!function(t,e,n,r,i){var o=e.securityContext,a=o?t.root.sanitizer.sanitize(o,i):i;t.renderer.setProperty(n,r,a)}(33554432&e.flags&&32&i.flags?o.componentView:t,i,a,s,r)}return!0}var Ga=new Object,Za=ua(ne),Qa=ua(te),$a=ua(lr);function Xa(t,e,n,r){return n=Yt(n),{index:-1,deps:Ta(r,Wt(e)),flags:t,token:e,value:n}}function Ja(t,e,n){void 0===n&&(n=ne.THROW_IF_NOT_FOUND);var r,i,o=ye(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var a=e.tokenKey;switch(a){case Za:case Qa:case $a:return t}var s,l=t._def.providersByKey[a];if(l){var u=t._providers[l.index];return void 0===u&&(u=t._providers[l.index]=ts(t,l)),u===Ga?void 0:u}if((s=Dt(e.token))&&(r=t,null!=(i=s).providedIn&&(function(t,e){return t._def.modules.indexOf(i.providedIn)>-1}(r)||"root"===i.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:e.token},t._providers[c]=Ga,t._providers[c]=ts(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{ye(o)}}function ts(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(Ja(t,n[0]));case 2:return new e(Ja(t,n[0]),Ja(t,n[1]));case 3:return new e(Ja(t,n[0]),Ja(t,n[1]),Ja(t,n[2]));default:for(var i=new Array(r),o=0;o<r;o++)i[o]=Ja(t,n[o]);return new(e.bind.apply(e,c([void 0],i)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(Ja(t,n[0]));case 2:return e(Ja(t,n[0]),Ja(t,n[1]));case 3:return e(Ja(t,n[0]),Ja(t,n[1]),Ja(t,n[2]));default:for(var i=Array(r),o=0;o<r;o++)i[o]=Ja(t,n[o]);return e.apply(void 0,c(i))}}(t,e.value,e.deps);break;case 2048:n=Ja(t,e.deps[0]);break;case 256:n=e.value}return n===Ga||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Ga:n}function es(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,os(n,e),ra.dirtyParentQueries(r),rs(r),r}function ns(t,e,n){var r=e?xa(e,e.def.lastRenderRootNode):t.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);Oa(n,2,i,o,void 0)}function rs(t){Oa(t,3,null,null,void 0)}function is(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function os(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var as=new Object;function ss(t,e,n,r,i,o){return new ls(t,e,n,r,i,o)}var ls=function(t){function e(e,n,r,i,o,a){var s=t.call(this)||this;return s.selector=e,s.componentType=n,s._inputs=i,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=r,s}return i(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=Ia(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=ra.createRootView(t,e||[],n,i,r,as),s=ta(a,o).instance;return n&&a.renderer.setAttribute(Jo(a,0).renderElement,"ng-version",_i.full),new us(a,new ds(a),s)},e}(tr),us=function(t){function e(e,n,r){var i=t.call(this)||this;return i._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 i(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new gr(Jo(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new gs(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}(Jn);function cs(t,e,n){return new hs(t,e,n)}var hs=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 gr(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new gs(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=Ca(t),t=t.parent;return t?new gs(t,e):new gs(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=es(this._data,t);ra.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new ds(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 sr||(i=o.get(lr));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=t;return o=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=o.length),(i=a._view).viewContainerParent=this._view,is(o,r,i),function(t,e){var n=wa(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,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,i),ra.dirtyParentQueries(i),ns(n,r>0?o[r-1]:null,i),a.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 i=e,a=(o=(n=this._data).viewContainer._embeddedViews)[r=s],os(o,r),null==i&&(i=o.length),is(o,i,a),ra.dirtyParentQueries(a),rs(a),ns(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=es(this._data,t);e&&ra.destroyView(e)},t.prototype.detach=function(t){var e=es(this._data,t);return e?new ds(e):null},t}();function ps(t){return new ds(t)}var ds=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return Oa(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(){va(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{ra.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){ra.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)),ra.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,rs(this._view),ra.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 fs(t,e){return new ms(t,e)}var ms=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return i(e,t),e.prototype.createEmbeddedView=function(t){return new ds(ra.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new gr(Jo(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Ur);function ys(t,e){return new gs(t,e)}var gs=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=ne.THROW_IF_NOT_FOUND),ra.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:ua(t)},e)},t}();function vs(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Jo(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Xo(t,n.nodeIndex).renderText;if(20240&n.flags)return ta(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function _s(t){return new bs(t.renderer)}var bs=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=u(Va(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},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;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),i=0;i<e.length;i++)this.delegate.insertBefore(n,e[i],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=u(Va(e),2),i=r[0],o=r[1];null!=n?this.delegate.setAttribute(t,o,n,i):this.delegate.removeAttribute(t,o,i)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}();function ws(t,e,n,r){return new Cs(t,e,n,r)}var Cs=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var i=e.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=ts(t,i))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=ne.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),Ja(this,{token:t,tokenKey:ua(t),flags:r},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(or)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Wt(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=new Set,i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){var o=t._providers[i];if(o&&o!==Ga){var a=o.ngOnDestroy;"function"!=typeof a||r.has(o)||(a.apply(o),r.add(o))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),xs=ua(vr),Ss=ua(wr),Es=ua(gr),ks=ua(wo),Ds=ua(Ur),Ts=ua(Co),As=ua(ne),Rs=ua(te);function Is(t,e,n,r,i,o,a,s){var l=[];if(a)for(var c in a){var h=u(a[c],2);l[h[0]]={flags:8,name:c,nonMinifiedName:h[1],ns:null,securityContext:null,suffix:null}}var p=[];if(s)for(var d in s)p.push({type:1,propName:d,target:null,eventName:s[d]});return Ns(t,e|=16384,n,r,i,i,o,l,p)}function Os(t,e,n){return Ns(-1,t|=16,null,0,e,e,n)}function Ps(t,e,n,r,i){return Ns(-1,t,e,0,n,r,i)}function Ns(t,e,n,r,i,o,a,s,l){var u=Da(n),c=u.matchedQueries,h=u.references,p=u.matchedQueryIds;l||(l=[]),s||(s=[]),o=Yt(o);var d=Ta(a,Wt(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:h,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:ja(s),outputs:l,element:null,provider:{token:i,value:o,deps:d},text:null,query:null,ngContent:null}}function Fs(t,e){return js(t,e)}function Ms(t,e){for(var n=t;n.parent&&!Sa(n);)n=n.parent;return zs(n.parent,Ca(n),!0,e.provider.value,e.provider.deps)}function Ls(t,e){var n=zs(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r<e.outputs.length;r++){var i=e.outputs[r],o=n[i.propName];if(!Ti(o))throw new Error("@Output "+i.propName+" not initialized in '"+n.constructor.name+"'.");var a=o.subscribe(Vs(t,e.parent.nodeIndex,i.eventName));t.disposables[e.outputIndex+r]=a.unsubscribe.bind(a)}return n}function Vs(t,e,n){return function(r){return ba(t,e,n,r)}}function js(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return zs(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(Hs(t,e,n,i[0]));case 2:return r(Hs(t,e,n,i[0]),Hs(t,e,n,i[1]));case 3:return r(Hs(t,e,n,i[0]),Hs(t,e,n,i[1]),Hs(t,e,n,i[2]));default:for(var a=Array(o),s=0;s<o;s++)a[s]=Hs(t,e,n,i[s]);return r.apply(void 0,c(a))}}(t,e.parent,n,r.value,r.deps);case 2048:return Hs(t,e.parent,n,r.deps[0]);case 256:return r.value}}function zs(t,e,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(Hs(t,e,n,i[0]));case 2:return new r(Hs(t,e,n,i[0]),Hs(t,e,n,i[1]));case 3:return new r(Hs(t,e,n,i[0]),Hs(t,e,n,i[1]),Hs(t,e,n,i[2]));default:for(var a=new Array(o),s=0;s<o;s++)a[s]=Hs(t,e,n,i[s]);return new(r.bind.apply(r,c([void 0],a)))}}var Bs={};function Hs(t,e,n,r,i){if(void 0===i&&(i=ne.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var o=t;2&r.flags&&(i=null);var a=r.tokenKey;a===Ts&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var s=t;s;){if(e)switch(a){case xs:return _s(Us(s,e,n));case Ss:return Us(s,e,n).renderer;case Es:return new gr(Jo(s,e.nodeIndex).renderElement);case ks:return Jo(s,e.nodeIndex).viewContainer;case Ds:if(e.element.template)return Jo(s,e.nodeIndex).template;break;case Ts:return ps(Us(s,e,n));case As:case Rs:return ys(s,e);default:var l=(n?e.element.allProviders:e.element.publicProviders)[a];if(l){var u=ta(s,l.nodeIndex);return u||(u={instance:js(s,l)},s.nodes[l.nodeIndex]=u),u.instance}}n=Sa(s),e=Ca(s),s=s.parent,4&r.flags&&(s=null)}var c=o.root.injector.get(r.token,Bs);return c!==Bs||i===Bs?c:o.root.ngModule.injector.get(r.token,i)}function Us(t,e,n){var r;if(n)r=Jo(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!Sa(r);)r=r.parent;return r}function Ws(t,e,n,r,i,o){if(32768&n.flags){var a=Jo(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(e.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};var s=Ve.unwrap(t.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new je(s,i,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=i,o}function qs(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,i=0;i<n.length;i++){var o=n[i],a=o.parent;for(!a&&o.flags&e&&Ks(t,i,o.flags&e,r++),0==(o.childFlags&e)&&(i+=o.childCount);a&&1&a.flags&&i===a.nodeIndex+a.childCount;)a.directChildFlags&e&&(r=Ys(t,a,e,r)),a=a.parent}}function Ys(t,e,n,r){for(var i=e.nodeIndex+1;i<=e.nodeIndex+e.childCount;i++){var o=t.def.nodes[i];o.flags&n&&Ks(t,i,o.flags&n,r++),i+=o.childCount}return r}function Ks(t,e,n,r){var i=ta(t,e);if(i){var o=i.instance;o&&(ra.setCurrentNode(t,e),1048576&n&&$o(t,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&$o(t,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}function Gs(t,e,n){var r=[];for(var i in n)r.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:ka(e),bindings:r},ngContent:null}}function Zs(t){for(var e=t.def.nodeMatchedQueries;t.parent&&Ea(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,i=0;i<=r;i++)67108864&(o=t.def.nodes[i]).flags&&536870912&o.flags&&(o.query.filterId&e)===o.query.filterId&&na(t,i).setDirty(),!(1&o.flags&&i+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(i+=o.childCount)}if(134217728&t.def.nodeFlags)for(i=0;i<t.def.nodes.length;i++){var o;134217728&(o=t.def.nodes[i]).flags&&536870912&o.flags&&na(t,i).setDirty(),i+=o.childCount}}function Qs(t,e){var n=na(t,e.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&e.flags){var o=e.parent.parent;i=$s(t,o.nodeIndex,o.nodeIndex+o.childCount,e.query,[]),r=ta(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(i=$s(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(i);for(var a=e.query.bindings,s=!1,l=0;l<a.length;l++){var u=a[l],c=void 0;switch(u.bindingType){case 0:c=n.first;break;case 1:c=n,s=!0}r[u.propName]=c}s&&n.notifyOnChanges()}}function $s(t,e,n,r,i){for(var o=e;o<=n;o++){var a=t.def.nodes[o],s=a.matchedQueries[r.id];if(null!=s&&i.push(Xs(t,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var l=Jo(t,o);if((a.childMatchedQueries&r.filterId)===r.filterId&&($s(t,o+1,o+a.childCount,r,i),o+=a.childCount),16777216&a.flags)for(var u=l.viewContainer._embeddedViews,c=0;c<u.length;c++){var h=u[c],p=wa(h);p&&p===l&&$s(h,0,h.def.nodes.length-1,r,i)}var d=l.template._projectedViews;if(d)for(c=0;c<d.length;c++){var f=d[c];$s(f,0,f.def.nodes.length-1,r,i)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(o+=a.childCount)}return i}function Xs(t,e,n){if(null!=n)switch(n){case 1:return Jo(t,e.nodeIndex).renderElement;case 0:return new gr(Jo(t,e.nodeIndex).renderElement);case 2:return Jo(t,e.nodeIndex).template;case 3:return Jo(t,e.nodeIndex).viewContainer;case 4:return ta(t,e.nodeIndex).instance}}function Js(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function tl(t,e,n){var r=Aa(t,e,n);r&&Na(t,n.ngContent.index,1,r,null,void 0)}function el(t,e){return rl(128,t,new Array(e+1))}function nl(t,e){for(var n=Object.keys(e),r=n.length,i=new Array(r),o=0;o<r;o++){var a=n[o];i[e[a]]=a}return rl(64,t,i)}function rl(t,e,n){for(var r=new Array(n.length),i=0;i<n.length;i++){var o=n[i];r[i]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:ja(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function il(t,e,n){for(var r=new Array(n.length-1),i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ol(t,e,n){var r,i=t.renderer;r=i.createText(n.text.prefix);var o=Aa(t,e,n);return o&&i.appendChild(o,r),{renderText:r}}function al(t,e){return(null!=t?t.toString():"")+e.suffix}function sl(t,e,n,r){for(var i=0,o=0,a=0,s=0,l=0,u=null,c=null,h=!1,p=!1,d=null,f=0;f<e.length;f++){var m=e[f];if(m.nodeIndex=f,m.parent=u,m.bindingIndex=i,m.outputIndex=o,m.renderParent=c,a|=m.flags,l|=m.matchedQueryIds,m.element){var y=m.element;y.publicProviders=u?u.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,h=!1,p=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if(ul(u,m,e.length),i+=m.bindings.length,o+=m.outputs.length,!c&&3&m.flags&&(d=m),20224&m.flags){h||(h=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);var g=0!=(32768&m.flags);0==(8192&m.flags)||g?u.element.publicProviders[ua(m.provider.token)]=m:(p||(p=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[ua(m.provider.token)]=m),g&&(u.element.componentProvider=m)}if(u?(u.childFlags|=m.flags,u.directChildFlags|=m.flags,u.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(u.childMatchedQueries|=m.element.template.nodeMatchedQueries)):s|=m.flags,m.childCount>0)u=m,ll(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&ll(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||sa,updateRenderer:r||sa,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:d}}function ll(t){return 0!=(1&t.flags)&&null===t.element.name}function ul(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 cl(t,e,n,r){var i=dl(t.root,t.renderer,t,e,n);return fl(i,t.component,r),ml(i),i}function hl(t,e,n){var r=dl(t,t.renderer,null,null,e);return fl(r,n,n),ml(r),r}function pl(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,dl(t.root,i,t,e.element.componentProvider,n)}function dl(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 fl(t,e,n){t.component=e,t.context=n}function ml(t){var e;Sa(t)&&(e=Jo(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i<n.nodes.length;i++){var o=n.nodes[i];ra.setCurrentNode(t,i);var a=void 0;switch(201347067&o.flags){case 1:var s=Wa(t,e,o),l=void 0;if(33554432&o.flags){var u=Ia(o.element.componentView);l=ra.createComponentView(t,o,u,s)}qa(t,l,o,s),a={renderElement:s,componentView:l,viewContainer:null,template:o.element.template?fs(t,o):void 0},16777216&o.flags&&(a.viewContainer=cs(t,o,a));break;case 2:a=ol(t,e,o);break;case 512:case 1024:case 2048:case 256:(a=r[i])||4096&o.flags||(a={instance:Fs(t,o)});break;case 16:a={instance:Ms(t,o)};break;case 16384:(a=r[i])||(a={instance:Ls(t,o)}),32768&o.flags&&fl(Jo(t,o.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new mo;break;case 8:tl(t,e,o),a=void 0}r[i]=a}Sl(t,xl.CreateViewNodes),Tl(t,201326592,268435456,0)}function yl(t){_l(t),ra.updateDirectives(t,1),El(t,xl.CheckNoChanges),ra.updateRenderer(t,1),Sl(t,xl.CheckNoChanges),t.state&=-97}function gl(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Qo(t,0,256),_l(t),ra.updateDirectives(t,0),El(t,xl.CheckAndUpdate),Tl(t,67108864,536870912,0);var e=Qo(t,256,512);qs(t,2097152|(e?1048576:0)),ra.updateRenderer(t,0),Sl(t,xl.CheckAndUpdate),Tl(t,134217728,536870912,0),qs(t,8388608|((e=Qo(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Qo(t,768,1024)}function vl(t,e,n,r,i,o,a,s,l,u,h,p,d){return 0===n?function(t,e,n,r,i,o,a,s,l,u,c,h){switch(201347067&e.flags){case 1:return function(t,e,n,r,i,o,a,s,l,u,c,h){var p=e.bindings.length,d=!1;return p>0&&Ka(t,e,0,n)&&(d=!0),p>1&&Ka(t,e,1,r)&&(d=!0),p>2&&Ka(t,e,2,i)&&(d=!0),p>3&&Ka(t,e,3,o)&&(d=!0),p>4&&Ka(t,e,4,a)&&(d=!0),p>5&&Ka(t,e,5,s)&&(d=!0),p>6&&Ka(t,e,6,l)&&(d=!0),p>7&&Ka(t,e,7,u)&&(d=!0),p>8&&Ka(t,e,8,c)&&(d=!0),p>9&&Ka(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&&ya(t,e,0,n)&&(p=!0),f>1&&ya(t,e,1,r)&&(p=!0),f>2&&ya(t,e,2,i)&&(p=!0),f>3&&ya(t,e,3,o)&&(p=!0),f>4&&ya(t,e,4,a)&&(p=!0),f>5&&ya(t,e,5,s)&&(p=!0),f>6&&ya(t,e,6,l)&&(p=!0),f>7&&ya(t,e,7,u)&&(p=!0),f>8&&ya(t,e,8,c)&&(p=!0),f>9&&ya(t,e,9,h)&&(p=!0),p){var m=e.text.prefix;f>0&&(m+=al(n,d[0])),f>1&&(m+=al(r,d[1])),f>2&&(m+=al(i,d[2])),f>3&&(m+=al(o,d[3])),f>4&&(m+=al(a,d[4])),f>5&&(m+=al(s,d[5])),f>6&&(m+=al(l,d[6])),f>7&&(m+=al(u,d[7])),f>8&&(m+=al(c,d[8])),f>9&&(m+=al(h,d[9]));var y=Xo(t,e.nodeIndex).renderText;t.renderer.setValue(y,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=ta(t,e.nodeIndex),d=p.instance,f=!1,m=void 0,y=e.bindings.length;return y>0&&ma(t,e,0,n)&&(f=!0,m=Ws(t,p,e,0,n,m)),y>1&&ma(t,e,1,r)&&(f=!0,m=Ws(t,p,e,1,r,m)),y>2&&ma(t,e,2,i)&&(f=!0,m=Ws(t,p,e,2,i,m)),y>3&&ma(t,e,3,o)&&(f=!0,m=Ws(t,p,e,3,o,m)),y>4&&ma(t,e,4,a)&&(f=!0,m=Ws(t,p,e,4,a,m)),y>5&&ma(t,e,5,s)&&(f=!0,m=Ws(t,p,e,5,s,m)),y>6&&ma(t,e,6,l)&&(f=!0,m=Ws(t,p,e,6,l,m)),y>7&&ma(t,e,7,u)&&(f=!0,m=Ws(t,p,e,7,u,m)),y>8&&ma(t,e,8,c)&&(f=!0,m=Ws(t,p,e,8,c,m)),y>9&&ma(t,e,9,h)&&(f=!0,m=Ws(t,p,e,9,h,m)),m&&d.ngOnChanges(m),65536&e.flags&&$o(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&&ya(t,e,0,n)&&(d=!0),f>1&&ya(t,e,1,r)&&(d=!0),f>2&&ya(t,e,2,i)&&(d=!0),f>3&&ya(t,e,3,o)&&(d=!0),f>4&&ya(t,e,4,a)&&(d=!0),f>5&&ya(t,e,5,s)&&(d=!0),f>6&&ya(t,e,6,l)&&(d=!0),f>7&&ya(t,e,7,u)&&(d=!0),f>8&&ya(t,e,8,c)&&(d=!0),f>9&&ya(t,e,9,h)&&(d=!0),d){var m=ea(t,e.nodeIndex),y=void 0;switch(201347067&e.flags){case 32:y=new Array(p.length),f>0&&(y[0]=n),f>1&&(y[1]=r),f>2&&(y[2]=i),f>3&&(y[3]=o),f>4&&(y[4]=a),f>5&&(y[5]=s),f>6&&(y[6]=l),f>7&&(y[7]=u),f>8&&(y[8]=c),f>9&&(y[9]=h);break;case 64:y={},f>0&&(y[p[0].name]=n),f>1&&(y[p[1].name]=r),f>2&&(y[p[2].name]=i),f>3&&(y[p[3].name]=o),f>4&&(y[p[4].name]=a),f>5&&(y[p[5].name]=s),f>6&&(y[p[6].name]=l),f>7&&(y[p[7].name]=u),f>8&&(y[p[8].name]=c),f>9&&(y[p[9].name]=h);break;case 128:var g=n;switch(f){case 1:y=g.transform(n);break;case 2:y=g.transform(r);break;case 3:y=g.transform(r,i);break;case 4:y=g.transform(r,i,o);break;case 5:y=g.transform(r,i,o,a);break;case 6:y=g.transform(r,i,o,a,s);break;case 7:y=g.transform(r,i,o,a,s,l);break;case 8:y=g.transform(r,i,o,a,s,l,u);break;case 9:y=g.transform(r,i,o,a,s,l,u,c);break;case 10:y=g.transform(r,i,o,a,s,l,u,c,h)}}m.value=y}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,h,p,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i<n.length;i++)Ka(t,e,i,n[i])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,i=!1,o=0;o<n.length;o++)ya(t,e,o,n[o])&&(i=!0);if(i){var a="";for(o=0;o<n.length;o++)a+=al(n[o],r[o]);a=e.text.prefix+a;var s=Xo(t,e.nodeIndex).renderText;t.renderer.setValue(s,a)}return i}(t,e,n);case 16384:return function(t,e,n){for(var r=ta(t,e.nodeIndex),i=r.instance,o=!1,a=void 0,s=0;s<n.length;s++)ma(t,e,s,n[s])&&(o=!0,a=Ws(t,r,e,s,n[s],a));return a&&i.ngOnChanges(a),65536&e.flags&&$o(t,256,e.nodeIndex)&&i.ngOnInit(),262144&e.flags&&i.ngDoCheck(),o}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var r=e.bindings,i=!1,o=0;o<n.length;o++)ya(t,e,o,n[o])&&(i=!0);if(i){var a=ea(t,e.nodeIndex),s=void 0;switch(201347067&e.flags){case 32:s=n;break;case 64:for(s={},o=0;o<n.length;o++)s[r[o].name]=n[o];break;case 128:var l=n[0],u=n.slice(1);s=l.transform.apply(l,c(u))}a.value=s}return i}(t,e,n);default:throw"unreachable"}}(t,e,r)}function _l(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var i=Jo(t,n).template._projectedViews;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.state|=32,_a(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function bl(t,e,n,r,i,o,a,s,l,u,c,h,p){return 0===n?function(t,e,n,r,i,o,a,s,l,u,c,h){var p=e.bindings.length;p>0&&ga(t,e,0,n),p>1&&ga(t,e,1,r),p>2&&ga(t,e,2,i),p>3&&ga(t,e,3,o),p>4&&ga(t,e,4,a),p>5&&ga(t,e,5,s),p>6&&ga(t,e,6,l),p>7&&ga(t,e,7,u),p>8&&ga(t,e,8,c),p>9&&ga(t,e,9,h)}(t,e,r,i,o,a,s,l,u,c,h,p):function(t,e,n){for(var r=0;r<n.length;r++)ga(t,e,r,n[r])}(t,e,r),!1}function wl(t,e){if(na(t,e.nodeIndex).dirty)throw ia(ra.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function Cl(t){if(!(128&t.state)){if(El(t,xl.Destroy),Sl(t,xl.Destroy),qs(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=wa(t);if(e){var n=e.template._projectedViews;n&&(os(n,n.indexOf(t)),ra.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(Jo(t,n).renderElement):2&r.flags?t.renderer.destroyNode(Xo(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&na(t,n).destroy()}}(t),Sa(t)&&t.renderer.destroy(),t.state|=128}}var xl=function(t){return t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy",t}({});function Sl(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?kl(Jo(t,r).componentView,e):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function El(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var o=Jo(t,r).viewContainer._embeddedViews,a=0;a<o.length;a++)kl(o[a],e);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function kl(t,e){var n=t.state;switch(e){case xl.CheckNoChanges:0==(128&n)&&(12==(12&n)?yl(t):64&n&&Dl(t,xl.CheckNoChangesProjectedViews));break;case xl.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?yl(t):64&n&&Dl(t,e));break;case xl.CheckAndUpdate:0==(128&n)&&(12==(12&n)?gl(t):64&n&&Dl(t,xl.CheckAndUpdateProjectedViews));break;case xl.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?gl(t):64&n&&Dl(t,e));break;case xl.Destroy:Cl(t);break;case xl.CreateViewNodes:ml(t)}}function Dl(t,e){El(t,e),Sl(t,e)}function Tl(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var i=t.def.nodes.length,o=0;o<i;o++){var a=t.def.nodes[o];if(a.flags&e&&a.flags&n)switch(ra.setCurrentNode(t,a.nodeIndex),r){case 0:Qs(t,a);break;case 1:wl(t,a)}a.childFlags&e&&a.childFlags&n||(o+=a.childCount)}}var Al=!1;function Rl(t,e,n,r,i,o){var a=i.injector.get(_r);return hl(Ol(t,i,a,e,n),r,o)}function Il(t,e,n,r,i,o){var a=i.injector.get(_r),s=Ol(t,i,new pu(a),e,n),l=Hl(r);return cu($l.create,hl,null,[s,l,o])}function Ol(t,e,n,r,i){var o=e.injector.get(fi),a=e.injector.get(ki),s=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:s,errorHandler:a}}function Pl(t,e,n,r){var i=Hl(n);return cu($l.create,cl,null,[t,e,i,r])}function Nl(t,e,n,r){return n=Vl.get(e.element.componentProvider.provider.token)||Hl(n),cu($l.create,pl,null,[t,e,n,r])}function Fl(t,e,n,r){return ws(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===Ml.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var r=Ml.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),t.modules.forEach(function(t){Ll.forEach(function(r,i){Dt(i).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasDeprecatedOverrides;return e.hasOverrides?(function(t){for(var e=0;e<t.providers.length;e++){var r=t.providers[e];n&&(r.flags|=4096);var i=Ml.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=Ta(i.deps),r.value=i.value)}if(Ll.size>0){var o=new Set(t.modules);Ll.forEach(function(e,r){if(o.has(Dt(r).providedIn)){var i={token:r,flags:e.flags|(n?4096:0),deps:Ta(e.deps),value:e.value,index:t.providers.length};t.providers.push(i),t.providersByKey[ua(r)]=i}})}}(t=t.factory(function(){return sa})),t):t}(r))}var Ml=new Map,Ll=new Map,Vl=new Map;function jl(t){var e;Ml.set(t.token,t),"function"==typeof t.token&&(e=Dt(t.token))&&"function"==typeof e.providedIn&&Ll.set(t.token,t)}function zl(t,e){var n=Ia(e.viewDefFactory),r=Ia(n.nodes[0].element.componentView);Vl.set(t,r)}function Bl(){Ml.clear(),Ll.clear(),Vl.clear()}function Hl(t){if(0===Ml.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var i=t.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&Ml.has(i.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return sa});for(var n=0;n<e.length;n++)r(t,e[n]);return t;function r(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var i=r.provider,o=Ml.get(i.token);o&&(r.flags=-3841&r.flags|o.flags,i.deps=Ta(o.deps),i.value=o.value)}}}}function Ul(t,e,n,r,i,o,a,s,l,u,c,h,p){var d=t.def.nodes[e];return vl(t,d,n,r,i,o,a,s,l,u,c,h,p),224&d.flags?ea(t,e).value:void 0}function Wl(t,e,n,r,i,o,a,s,l,u,c,h,p){var d=t.def.nodes[e];return bl(t,d,n,r,i,o,a,s,l,u,c,h,p),224&d.flags?ea(t,e).value:void 0}function ql(t){return cu($l.detectChanges,gl,null,[t])}function Yl(t){return cu($l.checkNoChanges,yl,null,[t])}function Kl(t){return cu($l.destroy,Cl,null,[t])}var Gl,Zl,Ql,$l=function(t){return t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent",t}({});function Xl(t,e){Zl=t,Ql=e}function Jl(t,e,n,r){return Xl(t,e),cu($l.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function tu(t,e){if(128&t.state)throw aa($l[Gl]);return Xl(t,au(t,0)),t.def.updateDirectives(function(t,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var a=t.def.nodes[n];return 0===e?nu(t,a,r,i):ru(t,a,r,i),16384&a.flags&&Xl(t,au(t,n)),224&a.flags?ea(t,a.nodeIndex).value:void 0},t)}function eu(t,e){if(128&t.state)throw aa($l[Gl]);return Xl(t,su(t,0)),t.def.updateRenderer(function(t,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var a=t.def.nodes[n];return 0===e?nu(t,a,r,i):ru(t,a,r,i),3&a.flags&&Xl(t,su(t,n)),224&a.flags?ea(t,a.nodeIndex).value:void 0},t)}function nu(t,e,n,r){if(vl.apply(void 0,c([t,e,n],r))){var i=1===n?r[0]:r;if(16384&e.flags){for(var o={},a=0;a<e.bindings.length;a++){var s=e.bindings[a],l=i[a];8&s.flags&&(o[(d=s.nonMinifiedName,f=void 0,f=d.replace(/[$@]/g,"_"),"ng-reflect-"+(d=f.replace(iu,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})))]=ou(l))}var u=e.parent,h=Jo(t,u.nodeIndex).renderElement;if(u.element.name)for(var p in o)null!=(l=o[p])?t.renderer.setAttribute(h,p,l):t.renderer.removeAttribute(h,p);else t.renderer.setValue(h,"bindings="+JSON.stringify(o,null,2))}}var d,f}function ru(t,e,n,r){bl.apply(void 0,c([t,e,n],r))}var iu=/([A-Z])/g;function ou(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function au(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function su(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var lu=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Ca(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Jo(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return ys(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){uu(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&uu(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!Sa(t);)t=t.parent;return t.parent?Jo(t.parent,Ca(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?xa(this.view,this.nodeDef):xa(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];2&this.nodeDef.flags?(e=this.view.def,n=this.nodeDef.nodeIndex):(e=this.elView.def,n=this.elDef.nodeIndex);var o=function(t,e){for(var n=-1,r=0;r<=e;r++)3&t.nodes[r].flags&&n++;return n}(e,n),a=-1;e.factory(function(){var e;return++a===o?(e=t.error).bind.apply(e,c([t],r)):sa}),a<o&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,c(r)))},t}();function uu(t,e,n){for(var r in e.references)n[r]=Xs(t,e,e.references[r])}function cu(t,e,n,r){var i=Gl,o=Zl,a=Ql;try{Gl=t;var s=e.apply(n,r);return Zl=o,Ql=a,Gl=i,s}catch(l){if(xi(l)||!Zl)throw l;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),oa(t,e),t}(l,hu())}}function hu(){return Zl?new lu(Zl,Ql):null}var pu=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new du(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),du=function(){function t(t){this.delegate=t,this.debugContextFactory=hu,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){ko.delete(t.nativeNode)}(Do(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=this.createDebugContext(n);if(r){var i=new Eo(n,null,r);i.name=t,To(i)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&To(new So(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&To(new So(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=Do(t),r=Do(e);n&&r&&n instanceof Eo&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=Do(t),i=Do(e),o=Do(n);r&&i&&r instanceof Eo&&r.insertBefore(o,i),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=Do(t),r=Do(e);n&&r&&n instanceof Eo&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=hu()||null;return r&&To(new Eo(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var i=Do(t);i&&i instanceof Eo&&(i.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=Do(t);r&&r instanceof Eo&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=Do(t);n&&n instanceof Eo&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=Do(t);n&&n instanceof Eo&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var i=Do(t);i&&i instanceof Eo&&(i.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=Do(t);r&&r instanceof Eo&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=Do(t);r&&r instanceof Eo&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=Do(t);r&&r.listeners.push(new xo(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}();function fu(t,e,n){return new mu(t,e,n)}var mu=function(t){function e(e,n,r){var i=t.call(this)||this;return i.moduleType=e,i._bootstrapComponents=n,i._ngModuleDefFactory=r,i}return i(e,t),e.prototype.create=function(t){!function(){if(!Al){Al=!0;var t=Yr()?{setCurrentNode:Xl,createRootView:Il,createEmbeddedView:Pl,createComponentView:Nl,createNgModuleRef:Fl,overrideProvider:jl,overrideComponentView:zl,clearOverrides:Bl,checkAndUpdateView:ql,checkNoChangesView:Yl,destroyView:Kl,createDebugContext:function(t,e){return new lu(t,e)},handleEvent:Jl,updateDirectives:tu,updateRenderer:eu}:{setCurrentNode:function(){},createRootView:Rl,createEmbeddedView:cl,createComponentView:pl,createNgModuleRef:ws,overrideProvider:sa,overrideComponentView:sa,clearOverrides:sa,checkAndUpdateView:gl,checkNoChangesView:yl,destroyView:Cl,createDebugContext:function(t,e){return new lu(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?Ul:Wl,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Ul:Wl,t)}};ra.setCurrentNode=t.setCurrentNode,ra.createRootView=t.createRootView,ra.createEmbeddedView=t.createEmbeddedView,ra.createComponentView=t.createComponentView,ra.createNgModuleRef=t.createNgModuleRef,ra.overrideProvider=t.overrideProvider,ra.overrideComponentView=t.overrideComponentView,ra.clearOverrides=t.clearOverrides,ra.checkAndUpdateView=t.checkAndUpdateView,ra.checkNoChangesView=t.checkNoChangesView,ra.destroyView=t.destroyView,ra.resolveDep=Hs,ra.createDebugContext=t.createDebugContext,ra.handleEvent=t.handleEvent,ra.updateDirectives=t.updateDirectives,ra.updateRenderer=t.updateRenderer,ra.dirtyParentQueries=Zs}}();var e=function(t){var e=Array.from(t.providers),n=Array.from(t.modules),r={};for(var i in t.providersByKey)r[i]=t.providersByKey[i];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:r}}(Ia(this._ngModuleDefFactory));return ra.createNgModuleRef(this.moduleType,t||ne.NULL,this._bootstrapComponents,e)},e}(ur),yu=function(){return function(){}}(),gu=function(){return function(){this.title="Stankins Alive !"}}(),vu=new P(function(t){return t.complete()});function _u(t){return t?function(t){return new P(function(e){return t.schedule(function(){return e.complete()})})}(t):vu}function bu(t){var e=new P(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function wu(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(B(n)?t.pop():n=void 0,t.length){case 0:return _u(n);case 1:return n?rt(t,n):bu(t[0]);default:return rt(t,n)}}var Cu=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return i(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 M;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(j);function xu(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}xu.prototype=Object.create(Error.prototype);var Su=xu;function Eu(){return ut(1)}function ku(t,e){return function(n){return n.lift(new Du(t,e))}}var Du=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Tu(t,this.predicate,this.thisArg))},t}(),Tu=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return i(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(D);function Au(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Au.prototype=Object.create(Error.prototype);var Ru=Au;function Iu(t){return function(e){return 0===t?_u():e.lift(new Ou(t))}}var Ou=function(){function t(t){if(this.total=t,this.total<0)throw new Ru}return t.prototype.call=function(t,e){return e.subscribe(new Pu(t,this.total))},t}(),Pu=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return i(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(D);function Nu(t,e,n){return function(r){return r.lift(new Fu(t,e,n))}}var Fu=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 Mu(t,this.nextOrObserver,this.error,this.complete))},t}(),Mu=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._tapNext=R,o._tapError=R,o._tapComplete=R,o._tapError=r||R,o._tapComplete=i||R,d(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||R,o._tapError=n.error||R,o._tapComplete=n.complete||R),o}return i(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}(D),Lu=function(t){return void 0===t&&(t=Vu),Nu({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function Vu(){return new Su}function ju(t){return void 0===t&&(t=null),function(e){return e.lift(new zu(t))}}var zu=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new Bu(t,this.defaultValue))},t}(),Bu=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return i(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(D);function Hu(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?ku(function(e,n){return t(e,n,r)}):lt,Iu(1),n?ju(e):Lu(function(){return new Su}))}}function Uu(t,e){return function(n){return n.lift(new Wu(t,e,n))}}var Wu=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 qu(t,this.predicate,this.thisArg,this.source))},t}(),qu=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return i(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}(D);function Yu(t){return function(e){var n=new Ku(t),r=e.lift(n);return n.caught=r}}var Ku=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Gu(t,this.selector,this.caught))},t}(),Gu=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return i(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 H(this,void 0,void 0);this.add(r),X(this,n,void 0,void 0,r)}},e}(J);function Zu(t){return function(e){return 0===t?_u():e.lift(new Qu(t))}}var Qu=function(){function t(t){if(this.total=t,this.total<0)throw new Ru}return t.prototype.call=function(t,e){return e.subscribe(new $u(t,this.total))},t}(),$u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return i(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}(D);function Xu(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?ku(function(e,n){return t(e,n,r)}):lt,Zu(1),n?ju(e):Lu(function(){return new Su}))}}function Ju(t,e){return"function"==typeof e?function(n){return n.pipe(Ju(function(n,r){return it(t(n,r)).pipe(tt(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new tc(t))}}var tc=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new ec(t,this.project))},t}(),ec=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return i(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new H(this,void 0,void 0);this.destination.add(i),this.innerSubscription=X(this,t,e,n,i)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e}(J);function nc(t,e){return ot(t,e,1)}function rc(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new ic(t,e,n))}}var ic=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 oc(t,this.accumulator,this.seed,this.hasSeed))},t}(),oc=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return i(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}(D);function ac(t){return function(e){return e.lift(new sc(t))}}var sc=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new lc(t,this.callback))},t}(),lc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new b(n)),r}return i(e,t),e}(D),uc=function(){return function(){}}(),cc=new At("Location Initialized"),hc=function(){return function(){}}(),pc=new At("appBaseHref"),dc=function(){function t(t){var n=this;this._subject=new Hr,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(fc(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,fc(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function fc(t){return t.replace(/\/index.html$/,"")}var mc=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return i(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=dc.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+dc.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+dc.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}(hc),yc=function(t){function e(e,n){var r=t.call(this)||this;if(r._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 i(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 dc.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+dc.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+dc.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+dc.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(hc),gc=void 0,vc=["en",[["a","p"],["AM","PM"],gc],[["AM","PM"],gc,gc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],gc,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],gc,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",gc,"{1} 'at' {0}",gc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],_c={},bc=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),wc=new At("UseV4Plurals"),Cc=function(){return function(){}}(),xc=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return i(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=_c[e];if(n)return n;var r=e.split("-")[0];if(n=_c[r])return n;if("en"===r)return vc;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case bc.Zero:return"zero";case bc.One:return"one";case bc.Two:return"two";case bc.Few:return"few";case bc.Many:return"many";default:return"other"}},e}(Cc);function Sc(t,e){var n,r;e=encodeURIComponent(e);try{for(var i=l(t.split(";")),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.indexOf("="),c=u(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),h=c[1];if(c[0].trim()===e)return decodeURIComponent(h)}}catch(p){n={error:p}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var Ec=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(ze(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=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 "+Wt(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}(),kc=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}(),Dc=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){Yr()&&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 kc(null,e._ngForOf,-1,-1),i),a=new Tc(t,o);n.push(a)}else null==i?e._viewContainer.remove(r):(o=e._viewContainer.get(r),e._viewContainer.move(o,i),a=new Tc(t,o),n.push(a))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var i=this._viewContainer.length;r<i;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=i,o.context.ngForOf=this._ngForOf}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.ngTemplateContextGuard=function(t,e){return!0},t}(),Tc=function(){return function(t,e){this.record=t,this.view=e}}(),Ac=function(){function t(t,e){this._viewContainer=t,this._context=new Rc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){Ic("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){Ic("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t.ngTemplateGuard_ngIf=function(t,e){return!0},t}(),Rc=function(){return function(){this.$implicit=null,this.ngIf=null}}();function Ic(t,e){if(e&&!e.createEmbeddedView)throw new Error(t+" must be a TemplateRef, but received '"+Wt(e)+"'.")}var Oc=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}return t.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},t.prototype.enforceState=function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()},t}(),Pc=function(){function t(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),t.prototype._addCase=function(){return this._caseCount++},t.prototype._addDefault=function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)},t.prototype._matchCase=function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},t.prototype._updateDefaultCases=function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}},t}(),Nc=function(){function t(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new Oc(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t}(),Fc=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),Mc=new(function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}()),Lc=new Fc,Vc=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var e;return e=t,t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,Ve.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(t){if(Di(t))return Mc;if(Ti(t))return Lc;throw Error("InvalidPipeArgument: '"+t+"' for pipe '"+Wt(e)+"'")},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t}(),jc=function(){function t(t){this.differs=t}return t.prototype.transform=function(t,e){var n=this;if(void 0===e&&(e=zc),!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());var r=this.differ.diff(t);return r&&(this.keyValues=[],r.forEachItem(function(t){n.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(e)),this.keyValues},t}();function zc(t,e){var n=t.key,r=e.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;var i=String(n),o=String(r);return i==o?0:i<o?-1:1}var Bc=function(){return function(){}}(),Hc=new At("DocumentToken"),Uc="browser",Wc="server",qc=function(){function t(){}return t.ngInjectableDef=kt({providedIn:"root",factory:function(){return new Yc(ge(Hc),window)}}),t}(),Yc=function(){function t(t,e){this.document=t,this.window=e,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}(),Kc=null;function Gc(){return Kc}var Zc,Qc={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},$c={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Xc={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};Vt.Node&&(Zc=Vt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var Jc,th=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,Kc||(Kc=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,c(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return Qc},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return Zc.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var i=n.item(r);e.set(i.name,i.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Xc.hasOwnProperty(e)&&(e=Xc[e]))}return $c[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=eh||(eh=document.querySelector("base"))?eh.getAttribute("href"):null;return null==n?null:(e=n,Jc||(Jc=document.createElement("a")),Jc.setAttribute("href",e),"/"===Jc.pathname.charAt(0)?Jc.pathname:"/"+Jc.pathname)},e.prototype.resetBaseElement=function(){eh=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return Sc(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._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;i<r.length;i++)if(null!=e.getStyle(n,r[i]+"AnimationName")){e._animationPrefix="-"+r[i].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(o).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=o[t])})}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return i(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),eh=null,nh=Hc;function rh(){return!!window.history.pushState}var ih=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}var n;return i(e,t),e.prototype._init=function(){this.location=Gc().getLocation(),this._history=Gc().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return Gc().getBaseHref(this._doc)},e.prototype.onPopState=function(t){Gc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){Gc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},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){rh()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){rh()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},a([(n=Kt(nh),function(t,e){n(t,e,0)}),s("design:paramtypes",[Object])],e)}(uc),oh=new At("TRANSITION_ID"),ah=[{provide:Ai,useFactory:function(t,e,n){return function(){n.get(Ri).donePromise.then(function(){var n=Gc();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[oh,nh,ne],multi:!0}],sh=function(){function t(){}return t.init=function(){var e;e=new t,io=e},t.prototype.addToWindow=function(t){Vt.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Vt.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Vt.getAllAngularRootElements=function(){return t.getAllRootElements()},Vt.frameworkStabilizers||(Vt.frameworkStabilizers=[]),Vt.frameworkStabilizers.push(function(t){var e=Vt.getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(i)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?Gc().isShadowRoot(e)?this.findTestabilityInTree(t,Gc().getHost(e),!0):this.findTestabilityInTree(t,Gc().parentElement(e),!0):null},t}();function lh(t,e){"undefined"!=typeof COMPILED&&COMPILED||((Vt.ng=Vt.ng||{})[t]=e)}var uh={ApplicationRef:ho,NgZone:Gi};function ch(t){return Do(t)}var hh=new At("EventManagerPlugins"),ph=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(t))return this._eventNameToPlugin.set(t,i),i}throw new Error("No event manager plugin found for event "+t)},t}(),dh=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=Gc().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),fh=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),mh=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return i(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return Gc().remove(t)})},e}(fh),yh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},gh=/%COMP%/g,vh="_nghost-%COMP%",_h="_ngcontent-%COMP%";function bh(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];Array.isArray(i)?bh(t,i,n):(i=i.replace(gh,t),n.push(i))}return n}function wh(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var Ch=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new xh(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case _e.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new Dh(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case _e.Native:case _e.ShadowDom:return new Th(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=bh(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),xh=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(yh[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var i=yh[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=yh[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&br.DashCase?t.style.setProperty(e,n,r&br.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&br.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Eh(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Eh(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,wh(n)):this.eventManager.addEventListener(t,e,wh(n))},t}(),Sh="@".charCodeAt(0);function Eh(t,e){if(t.charCodeAt(0)===Sh)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var kh,Dh=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.component=r;var o=bh(r.id,r.styles,[]);return n.addStyles(o),i.contentAttr=_h.replace(gh,r.id),i.hostAttr=vh.replace(gh,r.id),i}return i(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(xh),Th=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;o.sharedStylesHost=n,o.hostEl=r,o.component=i,o.shadowRoot=i.encapsulation===_e.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),o.sharedStylesHost.addHost(o.shadowRoot);for(var a=bh(i.id,i.styles,[]),s=0;s<a.length;s++){var l=document.createElement("style");l.textContent=a[s],o.shadowRoot.appendChild(l)}return o}return i(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(xh),Ah="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},Rh=Ah("addEventListener"),Ih=Ah("removeEventListener"),Oh={},Ph="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[Ah("BLACK_LISTED_EVENTS")]&&(kh={});var Nh=function(t){return!!kh&&kh.hasOwnProperty(t)},Fh=function(t){var e=Oh[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var i=n.slice(),o=0;o<i.length&&!0!==t[Ph];o++){var a;(a=i[o]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},Mh=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.ngZone=n,r&&function(t){return t===Wc}(r)||i.patchEvent(),i}return i(e,t),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Ph]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this,i=n;if(!t[Rh]||Gi.isInAngularZone()&&!Nh(e))t.addEventListener(e,i,!1);else{var o=Oh[e];o||(o=Oh[e]=Ah("ANGULAR"+e+"FALSE"));var a=t[o],s=a&&a.length>0;a||(a=t[o]=[]);var l=Nh(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:l,handler:i});else{for(var u=!1,c=0;c<a.length;c++)if(a[c].handler===i){u=!0;break}u||a.push({zone:l,handler:i})}s||t[Rh](e,Fh,!1)}return function(){return r.removeEventListener(t,e,i)}},e.prototype.removeEventListener=function(t,e,n){var r=t[Ih];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var i=Oh[e],o=i&&t[i];if(!o)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,s=0;s<o.length;s++)if(o[s].handler===n){a=!0,o.splice(s,1);break}a?0===o.length&&r.apply(t,[e,Fh,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(dh),Lh={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Vh=new At("HammerGestureConfig"),jh=new At("HammerLoader"),zh=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),Bh=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._config=n,o.console=r,o.loader=i,o}return i(e,t),e.prototype.supports=function(t){return!(!Lh.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var r=this,i=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var o=!1,a=function(){o=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});o||(a=r.addEventListener(t,e,n))}).catch(function(){r.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return i.runOutsideAngular(function(){var o=r._config.buildHammer(t),a=function(t){i.runGuarded(function(){n(t)})};return o.on(e,a),function(){o.off(e,a),"function"==typeof o.destroy&&o.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(dh),Hh=["alt","control","meta","shift"],Uh={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Wh=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var i=n.parseEventName(e),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Gc().onAndCancel(t,i.domEventName,o)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(e.pop()),o="";if(Hh.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a},e.getEventFullKey=function(t){var e="",n=Gc().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Hh.forEach(function(r){r!=n&&(0,Uh[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(dh),qh=function(){return function(){}}(),Yh=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return i(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case di.NONE:return e;case di.HTML:return e instanceof Gh?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{Jr=Jr||new Kr(t);var r=e?String(e):"";n=Jr.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=Jr.getInertBodyElement(r)}while(r!==o);var a=new li,s=a.sanitizeChildren(pi(n)||n);return Yr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var l=pi(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(e)));case di.STYLE:return e instanceof Zh?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(yi);return e&&Qr(e[1])===e[1]||t.match(mi)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var i=t.charAt(r);"'"===i&&n?e=!e:'"'===i&&e&&(n=!n)}return e&&n}(t)?t:(Yr()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case di.SCRIPT:if(e instanceof Qh)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case di.URL:return e instanceof Xh||e instanceof $h?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Qr(String(e)));case di.RESOURCE_URL:if(e instanceof Xh)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 Kh)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 Gh(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Zh(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Qh(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new $h(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Xh(t)},e}(qh),Kh=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}(),Gh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Kh),Zh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Kh),Qh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Kh),$h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Kh),Xh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Kh),Jh=so(Wo,"browser",[{provide:Fi,useValue:Uc},{provide:Ni,useValue:function(){th.makeCurrent(),sh.init()},multi:!0},{provide:uc,useClass:ih,deps:[nh]},{provide:nh,useFactory:function(){return document},deps:[]}]);function tp(){return new ki}var ep=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.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:Ii,useValue:t.appId},{provide:oh,useExisting:Ii},ah]}},t}();"undefined"!=typeof window&&window;var np=function(){return function(t,e){this.id=t,this.url=e}}(),rp=function(t){function e(e,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=t.call(this,e,n)||this;return o.navigationTrigger=r,o.restoredState=i,o}return i(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(np),ip=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(np),op=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.reason=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(np),ap=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.error=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(np),sp=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(np),lp=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(np),up=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=i,a.shouldActivate=o,a}return i(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(np),cp=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(np),hp=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(np),pp=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),dp=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),fp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),mp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),yp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),gp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),vp=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}(),_p=function(){return function(){}}(),bp="primary",wp=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 Cp(t){return new wp(t)}function xp(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var i={},o=0;o<r.length;o++){var a=r[o],s=t[o];if(a.startsWith(":"))i[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}var Sp=function(){return function(t,e){this.routes=t,this.module=e}}();function Ep(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];kp(r,Dp(e,r))}}function kp(t,e){if(!t)throw new Error("\n      Invalid configuration of route '"+e+"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==bp)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&Ep(t.children,e)}function Dp(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function Tp(t){var e=t.children&&t.children.map(Tp),n=e?o({},t,{children:e}):o({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==bp&&(n.component=_p),n}function Ap(t,e){var n,r=Object.keys(t),i=Object.keys(e);if(r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(t[n=r[o]]!==e[n])return!1;return!0}function Rp(t){return Array.prototype.concat.apply([],t)}function Ip(t){return t.length>0?t[t.length-1]:null}function Op(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Pp(t){return t.pipe(ut(),Uu(function(t){return!0===t}))}function Np(t){return Ti(t)?t:Di(t)?it(Promise.resolve(t)):wu(t)}function Fp(t,e,n){return n?function(t,e){return Ap(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!jp(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!!jp(a=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!jp(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!!jp(n.segments,a)&&!!n.children[bp]&&e(n.children[bp],r,s)}(e,n,n.segments)}(t.root,e.root)}var Mp=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=Cp(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Up.serialize(this)},t}(),Lp=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Op(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 Wp(this)},t}(),Vp=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Cp(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Qp(this)},t}();function jp(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function zp(t,e){var n=[];return Op(t.children,function(t,r){r===bp&&(n=n.concat(e(t,r)))}),Op(t.children,function(t,r){r!==bp&&(n=n.concat(e(t,r)))}),n}var Bp=function(){return function(){}}(),Hp=function(){function t(){}return t.prototype.parse=function(t){var e=new ed(t);return new Mp(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Wp(e);if(n){var r=e.children[bp]?t(e.children[bp],!1):"",i=[];return Op(e.children,function(e,n){n!==bp&&i.push(n+":"+t(e,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=zp(e,function(n,r){return r===bp?[t(e.children[bp],!1)]:[r+":"+t(n,!1)]});return Wp(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return Yp(t)+"="+Yp(e)}).join("&"):Yp(t)+"="+Yp(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Up=new Hp;function Wp(t){return t.segments.map(function(t){return Qp(t)}).join("/")}function qp(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yp(t){return qp(t).replace(/%3B/gi,";")}function Kp(t){return qp(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gp(t){return decodeURIComponent(t)}function Zp(t){return Gp(t.replace(/\+/g,"%20"))}function Qp(t){return""+Kp(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Kp(t)+"="+Kp(e[t])}).join(""));var e}var $p=/^[^\/()?;=#]+/;function Xp(t){var e=t.match($p);return e?e[0]:""}var Jp=/^[^=?&#]+/,td=/^[^?&#]+/,ed=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 Lp([],{}):new Lp([],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[bp]=new Lp(t,e)),n},t.prototype.parseSegment=function(){var t=Xp(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Vp(Gp(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Xp(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Xp(this.remaining);r&&this.capture(n=r)}t[Gp(e)]=Gp(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Jp))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(td);return e?e[0]:""}(this.remaining);i&&this.capture(r=i)}var o=Zp(n),a=Zp(r);if(t.hasOwnProperty(o)){var s=t[o];Array.isArray(s)||(t[o]=s=[s]),s.push(a)}else t[o]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Xp(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=bp);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[bp]:new Lp([],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}(),nd=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=rd(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=rd(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=id(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 id(t,this._root).map(function(t){return t.value})},t}();function rd(t,e){var n,r;if(t===e.value)return e;try{for(var i=l(e.children),o=i.next();!o.done;o=i.next()){var a=rd(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 id(t,e){var n,r;if(t===e.value)return[e];try{for(var i=l(e.children),o=i.next();!o.done;o=i.next()){var a=id(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 od=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function ad(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var sd=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,dd(r,e),r}return i(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(nd);function ld(t,e){var n=function(t,e){var n=new hd([],{},{},"",{},bp,e,null,t.root,-1,{});return new pd("",new od(n,[]))}(t,e),r=new Cu([new Vp("",{})]),i=new Cu({}),o=new Cu({}),a=new Cu({}),s=new Cu(""),l=new ud(r,i,a,s,o,bp,e,n.root);return l.snapshot=n.root,new sd(new od(l,[]),n)}var ud=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(tt(function(t){return Cp(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(tt(function(t){return Cp(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function cd(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],a=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(a.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:o({},t.params,e.params),data:o({},t.data,e.data),resolve:o({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var hd=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=Cp(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Cp(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}(),pd=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,dd(r,n),r}return i(e,t),e.prototype.toString=function(){return fd(this._root)},e}(nd);function dd(t,e){e.value._routerState=t,e.children.forEach(function(e){return dd(t,e)})}function fd(t){var e=t.children.length>0?" { "+t.children.map(fd).join(", ")+" } ":"";return""+t.value+e}function md(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Ap(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Ap(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!Ap(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Ap(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function yd(t,e){var n,r;return Ap(t.params,e.params)&&jp(n=t.url,r=e.url)&&n.every(function(t,e){return Ap(t.parameters,r[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||yd(t.parent,e.parent))}function gd(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function vd(t,e,n,r,i){var o={};return r&&Op(r,function(t,e){o[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new Mp(n.root===t?e:function t(e,n,r){var i={};return Op(e.children,function(e,o){i[o]=e===n?r:t(e,n,r)}),new Lp(e.segments,i)}(n.root,t,e),o,i)}var _d=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&gd(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!==Ip(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}(),bd=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function wd(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[bp]:""+t}function Cd(t,e,n){if(t||(t=new Lp([],{})),0===t.segments.length&&t.hasChildren())return xd(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i<t.segments.length;){if(r>=n.length)return o;var a=t.segments[i],s=wd(n[r]),l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!Dd(s,l,a))return o;r+=2}else{if(!Dd(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.pathIndex<t.segments.length){var o=new Lp(t.segments.slice(0,r.pathIndex),{});return o.children[bp]=new Lp(t.segments.slice(r.pathIndex),t.children),xd(o,0,i)}return r.match&&0===i.length?new Lp(t.segments,{}):r.match&&!t.hasChildren()?Sd(t,e,n):r.match?xd(t,0,i):Sd(t,e,n)}function xd(t,e,n){if(0===n.length)return new Lp(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[bp]=t,e):void 0===t[0].outlets?((n={})[bp]=t,n):t[0].outlets}(n),i={};return Op(r,function(n,r){null!==n&&(i[r]=Cd(t.children[r],e,n))}),Op(t.children,function(t,e){void 0===r[e]&&(i[e]=t)}),new Lp(t.segments,i)}function Sd(t,e,n){for(var r=t.segments.slice(0,e),i=0;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){var o=Ed(n[i].outlets);return new Lp(r,o)}if(0===i&&gd(n[0]))r.push(new Vp(t.segments[e].path,n[0])),i++;else{var a=wd(n[i]),s=i<n.length-1?n[i+1]:null;a&&s&&gd(s)?(r.push(new Vp(a,kd(s))),i+=2):(r.push(new Vp(a,{})),i++)}}return new Lp(r,{})}function Ed(t){var e={};return Op(t,function(t,n){null!==t&&(e[n]=Sd(new Lp([],{}),0,t))}),e}function kd(t){var e={};return Op(t,function(t,n){return e[n]=""+t}),e}function Dd(t,e,n){return t==n.path&&Ap(e,n.parameters)}var Td=function(){function t(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),md(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,i=ad(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,i[e],n),delete i[e]}),Op(i,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,i=e?e.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:i})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var i=ad(t),o=t.value.component?r.children:e;Op(i,function(t,e){return n.deactivateRouteAndItsChildren(t,o)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,i=ad(e);t.children.forEach(function(t){r.activateRoutes(t,i[t.value.outlet],n),r.forwardEvent(new gp(t.value.snapshot))}),t.children.length&&this.forwardEvent(new mp(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,i=e?e.value:null;if(md(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(r.component)if(o=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Ad(a.route)}else{var s=function(t){for(var e=r.snapshot.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),l=s?s.module.componentFactoryResolver:null;o.attachRef=null,o.route=r,o.resolver=l,o.outlet&&o.outlet.activateWith(r,l),this.activateChildRoutes(t,null,o.children)}else this.activateChildRoutes(t,null,n)},t}();function Ad(t){md(t.value),t.children.forEach(Ad)}var Rd=function(){return function(t){this.segmentGroup=t||null}}(),Id=function(){return function(t){this.urlTree=t}}();function Od(t){return new P(function(e){return e.error(new Rd(t))})}function Pd(t){return new P(function(e){return e.error(new Id(t))})}function Nd(t){return new P(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var Fd=function(){function t(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(lr)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,bp).pipe(tt(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Yu(function(e){if(e instanceof Id)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof Rd)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,bp).pipe(tt(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(Yu(function(t){if(t instanceof Rd)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,i=t.segments.length>0?new Lp([],((r={})[bp]=t,r)):t;return new Mp(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(tt(function(t){return new Lp([],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 wu({});var o=[],a=[],s={};return Op(n,function(n,i){var l,u,c=(l=i,u=n,r.expandSegmentGroup(t,e,u,l)).pipe(tt(function(t){return s[i]=t}));i===bp?o.push(c):a.push(c)}),wu.apply(null,o.concat(a)).pipe(Eu(),Hu(),tt(function(){return s}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,i,o){var a=this;return wu.apply(void 0,c(n)).pipe(tt(function(s){return a.expandSegmentAgainstRoute(t,e,n,s,r,i,o).pipe(Yu(function(t){if(t instanceof Rd)return wu(null);throw t}))}),Eu(),Xu(function(t){return!!t}),Yu(function(t,n){if(t instanceof Su||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,r,i))return wu(new Lp([],{}));throw new Rd(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 jd(r)!==o?Od(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Od(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("/")?Pd(o):this.lineralizeSegments(n,o).pipe(ot(function(n){var o=new Lp(n,{});return i.expandSegment(t,o,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var a=this,s=Md(e,r,i),l=s.consumedSegments,u=s.lastChild,c=s.positionalParamSegments;if(!s.matched)return Od(e);var h=this.applyRedirectCommands(l,r.redirectTo,c);return r.redirectTo.startsWith("/")?Pd(h):this.lineralizeSegments(r,h).pipe(ot(function(r){return a.expandSegment(t,e,n,r.concat(i.slice(u)),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(tt(function(t){return n._loadedConfig=t,new Lp(r,{})})):wu(new Lp(r,{}));var a=Md(e,n,r),s=a.consumedSegments,u=a.lastChild;if(!a.matched)return Od(e);var c=r.slice(u);return this.getChildConfig(t,n,r).pipe(ot(function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return Vd(t,e,n)&&jd(n)!==bp})}(t,n)?{segmentGroup:Ld(new Lp(e,function(t,e){var n,r,i={};i[bp]=e;try{for(var o=l(t),a=o.next();!a.done;a=o.next()){var s=a.value;""===s.path&&jd(s)!==bp&&(i[jd(s)]=new Lp([],{}))}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new Lp(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return Vd(t,e,n)})}(t,n)?{segmentGroup:Ld(new Lp(t.segments,function(t,e,n,r){var i,a,s={};try{for(var u=l(n),c=u.next();!c.done;c=u.next()){var h=c.value;Vd(t,e,h)&&!r[jd(h)]&&(s[jd(h)]=new Lp([],{}))}}catch(p){i={error:p}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return o({},r,s)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,s,c,r),u=a.segmentGroup,h=a.slicedSegments;return 0===h.length&&u.hasChildren()?i.expandChildren(n,r,u).pipe(tt(function(t){return new Lp(s,t)})):0===r.length&&0===h.length?wu(new Lp(s,{})):i.expandSegment(n,u,r,h,bp,!0).pipe(tt(function(t){return new Lp(s.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?wu(new Sp(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?wu(e._loadedConfig):function(t,e,n){var r=e.canLoad;return r&&0!==r.length?Pp(it(r).pipe(tt(function(r){var i=t.get(r);return Np(i.canLoad?i.canLoad(e,n):i(e,n))}))):wu(!0)}(t.injector,e,n).pipe(ot(function(n){return n?r.configLoader.load(t.injector,e).pipe(tt(function(t){return e._loadedConfig=t,t})):function(t){return new P(function(e){return e.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(e)})):wu(new Sp([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return wu(n);if(r.numberOfChildren>1||!r.children[bp])return Nd(t.redirectTo);r=r.children[bp]}},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 Mp(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Op(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 Op(e.children,function(e,o){a[o]=i.createSegmentGroup(t,e,n,r)}),new Lp(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=l(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(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return t},t}();function Md(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||xp)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ld(t){if(1===t.numberOfChildren&&t.children[bp]){var e=t.children[bp];return new Lp(t.segments.concat(e.segments),e.children)}return t}function Vd(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function jd(t){return t.outlet||bp}var zd=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Bd=function(){return function(t,e){this.component=t,this.route=e}}();function Hd(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 Ud(t,e,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=ad(e);return t.children.forEach(function(t){!function(t,e,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var l=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!yd(t,e)||!Ap(t.queryParams,e.queryParams);case"paramsChange":default:return!yd(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new zd(r)):(o.data=a.data,o._resolvedData=a._resolvedData),Ud(t,e,o.component?s?s.children:null:n,r,i),l&&i.canDeactivateChecks.push(new Bd(s&&s.outlet&&s.outlet.component||null,a))}else a&&Wd(e,s,i),i.canActivateChecks.push(new zd(r)),Ud(t,null,o.component?s?s.children:null:n,r,i)}(t,o[t.value.outlet],n,r.concat([t.value]),i),delete o[t.value.outlet]}),Op(o,function(t,e){return Wd(t,n.getContext(e),i)}),i}function Wd(t,e,n){var r=ad(t),i=t.value;Op(r,function(t,r){Wd(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Bd(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}function qd(t,e){return null!==t&&e&&e(new yp(t)),wu(!0)}function Yd(t,e){return null!==t&&e&&e(new fp(t)),wu(!0)}function Kd(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Pp(it(r).pipe(tt(function(r){var i=Hd(r,e,n);return Np(i.canActivate?i.canActivate(e,t):i(e,t)).pipe(Xu())}))):wu(!0)}function Gd(t,e,n){var r=e[e.length-1];return Pp(it(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})).pipe(tt(function(e){return Pp(it(e.guards).pipe(tt(function(i){var o=Hd(i,e.node,n);return Np(o.canActivateChild?o.canActivateChild(r,t):o(r,t)).pipe(Xu())})))})))}var Zd=function(){return function(){}}(),Qd=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=Jd(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,bp),n=new hd([],Object.freeze({}),Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,{},bp,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new od(n,e),i=new pd(this.url,r);return this.inheritParamsAndData(i._root),wu(i)}catch(a){return new P(function(t){return t.error(a)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=cd(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=zp(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===bp?-1:e.value.outlet===bp?1:t.value.outlet.localeCompare(e.value.outlet)}),i},t.prototype.processSegment=function(t,e,n,r){var i,o;try{for(var a=l(t),s=a.next();!s.done;s=a.next()){var u=s.value;try{return this.processSegmentAgainstRoute(u,e,n,r)}catch(c){if(!(c instanceof Zd))throw c}}}catch(h){i={error:h}}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 Zd},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 Zd;if((t.outlet||bp)!==r)throw new Zd;var i,a=[],s=[];if("**"===t.path){var l=n.length>0?Ip(n).parameters:{};i=new hd(n,l,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,nf(t),r,t.component,t,$d(e),Xd(e)+n.length,rf(t))}else{var u=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Zd;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||xp)(n,t,e);if(!r)throw new Zd;var i={};Op(r.posParams,function(t,e){i[e]=t.path});var a=r.consumed.length>0?o({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(e,t,n);a=u.consumedSegments,s=n.slice(u.lastChild),i=new hd(a,u.parameters,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,nf(t),r,t.component,t,$d(e),Xd(e)+a.length,rf(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=Jd(e,a,s,c,this.relativeLinkResolution),p=h.segmentGroup,d=h.slicedSegments;if(0===d.length&&p.hasChildren()){var f=this.processChildren(c,p);return[new od(i,f)]}if(0===c.length&&0===d.length)return[new od(i,[])];var m=this.processSegment(c,p,d,bp);return[new od(i,m)]},t}();function $d(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Xd(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 Jd(t,e,n,r,i){if(n.length>0&&function(t,e,n){return r.some(function(n){return tf(t,e,n)&&ef(n)!==bp})}(t,n)){var a=new Lp(e,function(t,e,n,r){var i,o,a={};a[bp]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var s=l(n),u=s.next();!u.done;u=s.next()){var c=u.value;if(""===c.path&&ef(c)!==bp){var h=new Lp([],{});h._sourceSegment=t,h._segmentIndexShift=e.length,a[ef(c)]=h}}}catch(p){i={error:p}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return a}(t,e,r,new Lp(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return tf(t,e,n)})}(t,n)){var s=new Lp(t.segments,function(t,e,n,r,i,a){var s,u,c={};try{for(var h=l(r),p=h.next();!p.done;p=h.next()){var d=p.value;if(tf(t,n,d)&&!i[ef(d)]){var f=new Lp([],{});f._sourceSegment=t,f._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[ef(d)]=f}}}catch(m){s={error:m}}finally{try{p&&!p.done&&(u=h.return)&&u.call(h)}finally{if(s)throw s.error}}return o({},i,c)}(t,e,n,r,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var u=new Lp(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function tf(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function ef(t){return t.outlet||bp}function nf(t){return t.data||{}}function rf(t){return t.resolve||{}}function of(t,e,n,r){var i=Hd(t,e,r);return Np(i.resolve?i.resolve(e,n):i(e,n))}function af(t){return function(e){return e.pipe(Ju(function(e){var n=t(e);return n?it(n).pipe(tt(function(){return e})):it([e])}))}}var sf=function(){return function(){}}(),lf=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}(),uf=new At("ROUTES"),cf=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(tt(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Sp(Rp(i.injector.get(uf)).map(Tp),i)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?it(this.loader.load(t)):Np(t()).pipe(ot(function(t){return t instanceof ur?wu(t):it(e.compiler.compileModuleAsync(t))}))},t}(),hf=function(){return function(){}}(),pf=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 df(t){throw t}function ff(t,e,n){return e.parse("/")}function mf(t,e){return wu(null)}var yf=function(){function t(t,e,n,r,i,o,a,s){var l=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=s,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new j,this.errorHandler=df,this.malformedUriErrorHandler=ff,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:mf,afterPreactivation:mf},this.urlHandlingStrategy=new pf,this.routeReuseStrategy=new lf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(lr),this.console=i.get(Li);var u=i.get(Gi);this.isNgZoneEnabled=u instanceof Gi,this.resetConfig(s),this.currentUrlTree=new Mp(new Lp([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new cf(o,a,function(t){return l.triggerEvent(new pp(t))},function(t){return l.triggerEvent(new dp(t))}),this.routerState=ld(this.currentUrlTree,this.rootComponentType),this.transitions=new Cu({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",state: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(ku(function(t){return 0!==t.id}),tt(function(t){return o({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),Ju(function(t){var r,i,a,s=!1,u=!1;return wu(t).pipe(Ju(function(t){var r,i,a,s,l=!e.navigated||t.extractedUrl.toString()!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||l)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return wu(t).pipe(Nu(function(t){return"eager"===e.urlUpdateStrategy&&!t.extras.skipLocationChange&&e.setBrowserUrl(t.rawUrl,!!t.extras.replaceUrl,t.id)}),Ju(function(t){var r=e.transitions.getValue();return n.next(new rp(t.id,e.serializeUrl(t.extractedUrl),t.source,t.state)),r!==e.transitions.getValue()?vu:[t]}),Ju(function(t){return Promise.resolve(t)}),(r=e.ngModule.injector,i=e.configLoader,a=e.urlSerializer,s=e.config,function(t){return t.pipe(Ju(function(t){return function(e,n,r,i,o){return new Fd(e,n,r,t.extractedUrl,o).apply()}(r,i,a,0,s).pipe(tt(function(e){return o({},t,{urlAfterRedirects:e})}))}))}),function(t,n,r,i,a){return function(r){return r.pipe(ot(function(r){return function(t,e,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new Qd(t,e,n,r,i,o).recognize()}(t,n,r.urlAfterRedirects,(s=r.urlAfterRedirects,e.serializeUrl(s)),i,a).pipe(tt(function(t){return o({},r,{targetSnapshot:t})}));var s}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Nu(function(t){var r=new sp(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.extractedUrl,c=t.source,h=t.state,p=t.extras,d=new rp(t.id,e.serializeUrl(u),c,h);n.next(d);var f=ld(u,e.rootComponentType).snapshot;return wu(o({},t,{targetSnapshot:f,urlAfterRedirects:u,extras:o({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),vu}),af(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Nu(function(t){var n=new lp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),tt(function(t){return o({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,i=e.rootContexts,a=n._root,Ud(a,r?r._root:null,i,[a.value]))});var n,r,i,a}),function(t,e){return function(n){return n.pipe(ot(function(n){var r=n.targetSnapshot,i=n.currentSnapshot,a=n.guards,s=a.canActivateChecks,l=a.canDeactivateChecks;return 0===l.length&&0===s.length?wu(o({},n,{guardsResult:!0})):function(t,e,n,r){return it(l).pipe(ot(function(t){return function(t,e,n,r,i){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?it(o).pipe(ot(function(o){var a=Hd(o,e,i);return Np(a.canDeactivate?a.canDeactivate(t,e,n,r):a(t,e,n,r)).pipe(Xu())})).pipe(Uu(function(t){return!0===t})):wu(!0)}(t.component,t.route,n,e,r)}),Uu(function(t){return!0===t}))}(0,r,i,t).pipe(ot(function(n){return n?function(t,e,n,r){return it(s).pipe(nc(function(e){return Pp(it([Yd(e.route.parent,r),qd(e.route,r),Gd(t,e.path,n),Kd(t,e.route,n)]))}),Uu(function(t){return!0===t}))}(r,0,t,e):wu(!1)}),tt(function(t){return o({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),Nu(function(t){var n=new up(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),ku(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new op(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),af(function(t){if(t.guards.canActivateChecks.length)return wu(t).pipe(Nu(function(t){var n=new cp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(ot(function(t){var e=t.targetSnapshot,i=t.guards.canActivateChecks;return i.length?it(i).pipe(nc(function(t){return function(t,n,r,i){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return wu({});if(1===i.length){var o=i[0];return of(t[o],e,n,r).pipe(tt(function(t){var e;return(e={})[o]=t,e}))}var a={};return it(i).pipe(ot(function(i){return of(t[i],e,n,r).pipe(tt(function(t){return a[i]=t,t}))})).pipe(Hu(),tt(function(){return a}))}(t._resolve,t,e,i).pipe(tt(function(e){return t._resolvedData=e,t.data=o({},t.data,cd(t,r).resolve),null}))}(t.route,0,n,r)}),function(t,e){return arguments.length>=2?function(e){return I(rc(t,void 0),Iu(1),ju(void 0))(e)}:function(e){return I(rc(function(e,n,r){return t(e)}),Iu(1))(e)}}(function(t,e){return t}),tt(function(e){return t})):wu(t)}))}),Nu(function(t){var n=new hp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,r}),af(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),tt(function(t){var n,r,i,a=(i=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(u=r.value)._futureSnapshot=n.value;var i=function(e,n,r){return n.children.map(function(n){var i,o;try{for(var a=l(r.children),s=a.next();!s.done;s=a.next()){var u=s.value;if(e.shouldReuseRoute(u.value.snapshot,n.value))return t(e,n,u)}}catch(c){i={error:c}}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 od(u,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;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,a),a}var s,u=new ud(new Cu((s=n.value).url),new Cu(s.params),new Cu(s.queryParams),new Cu(s.fragment),new Cu(s.data),s.outlet,s.component,s);return i=n.children.map(function(n){return t(e,n)}),new od(u,i)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new sd(i,n));return o({},t,{targetRouterState:a})}),Nu(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"!==e.urlUpdateStrategy||t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id)}),(r=e.rootContexts,i=e.routeReuseStrategy,a=function(t){return e.triggerEvent(t)},tt(function(t){return new Td(i,t.targetRouterState,t.currentRouterState,a).activate(r),t})),Nu({next:function(){s=!0},complete:function(){s=!0}}),ac(function(){if(!s&&!u){e.resetUrlToCurrentUrlTree();var r=new op(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(r),t.resolve(!1)}}),Yu(function(r){if(u=!0,(a=r)&&a.ngNavigationCancelingError){e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var i=new op(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(i),t.resolve(!1)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var o=new ap(t.id,e.serializeUrl(t.extractedUrl),r);n.next(o);try{t.resolve(e.errorHandler(r))}catch(s){t.reject(s)}}var a;return vu}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(o({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",i=e.state&&e.state.navigationId?{navigationId:e.state.navigationId}:null;setTimeout(function(){t.scheduleNavigation(n,r,i,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Ep(t),this.config=t.map(Tp),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,i=e.fragment,a=e.preserveQueryParams,s=e.queryParamsHandling,l=e.preserveFragment;Yr()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,h=l?this.currentUrlTree.fragment:i,p=null;if(s)switch(s){case"merge":p=o({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=a?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,e,n,r,i){if(0===n.length)return vd(e.root,e.root,e,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new _d(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return Op(r.outlets,function(t,e){o[e]="string"==typeof t?t.split("/"):t}),c(t,[{outlets:o}])}if(r.segmentPath)return c(t,[r.segmentPath])}return"string"!=typeof r?c(t,[r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):c(t,[r])},[]);return new _d(n,e,r)}(n);if(o.toRoot())return vd(e.root,new Lp([],{}),e,r,i);var a=function(t,n,r){if(t.isAbsolute)return new bd(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new bd(r.snapshot._urlSegment,!0,0);var i=gd(t.commands[0])?0:1;return function(e,n,o){for(var a=r.snapshot._urlSegment,s=r.snapshot._lastPathIndex+i,l=t.numberOfDoubleDots;l>s;){if(l-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new bd(a,!1,s-l)}()}(o,0,t),s=a.processChildren?xd(a.segmentGroup,a.index,o.commands):Cd(a.segmentGroup,a.index,o.commands);return vd(a.segmentGroup,s,e,r,i)}(u,this.currentUrlTree,t,p,h)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Yr()&&this.isNgZoneEnabled&&!Gi.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=t instanceof Mp?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<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(t instanceof Mp)return Fp(this.currentUrlTree,t,e);var n=this.parseUrl(t);return Fp(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!=r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new ip(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},t.prototype.scheduleNavigation=function(t,e,n,r){var i=this.getTransition();if(i&&"imperative"!==e&&"imperative"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"hashchange"==e&&"popstate"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"popstate"==e&&"hashchange"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);var o=null,a=null,s=new Promise(function(t,e){o=t,a=e}),l=++this.navigationId;return this.setTransition({id:l,source:e,state:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n){var r=this.urlSerializer.serialize(t);this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",{navigationId:n}):this.location.go(r,"",{navigationId:n})},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),gf=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof ip&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Yr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:vf(this.skipLocationChange),replaceUrl:vf(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,i),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:vf(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:vf(this.preserveFragment)})},enumerable:!0,configurable:!0}),a([vi("attr.target"),gi(),s("design:type",String)],t.prototype,"target",void 0),t}();function vf(t){return""===t||!!t}var _f=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new bf,this.attachRef=null}}(),bf=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new _f,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),wf=function(){function t(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new Hr,this.deactivateEvents=new Hr,this.name=r||bp,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new Cf(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}(),Cf=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===ud?this.route:t===bf?this.childContexts:this.parent.get(t,e)},t}(),xf=function(){return function(){}}(),Sf=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(Yu(function(){return wu(null)}))},t}(),Ef=function(){function t(){}return t.prototype.preload=function(t,e){return wu(null)},t}(),kf=function(){function t(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=new cf(e,n,function(e){return t.triggerEvent(new pp(e))},function(e){return t.triggerEvent(new dp(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(ku(function(t){return t instanceof ip}),nc(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(lr);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,r,i=[];try{for(var o=l(e),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.loadChildren&&!s.canLoad&&s._loadedConfig){var u=s._loadedConfig;i.push(this.processRoutes(u.module,u.routes))}else s.loadChildren&&!s.canLoad?i.push(this.preloadConfig(t,s)):s.children&&i.push(this.processRoutes(t,s.children))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return it(i).pipe(ut(),tt(function(t){}))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return n.loader.load(t.injector,e).pipe(ot(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})},t}(),Df=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof rp?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ip&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof vp&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new vp(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t}(),Tf=new At("ROUTER_CONFIGURATION"),Af=new At("ROUTER_FORROOT_GUARD"),Rf=[dc,{provide:Bp,useClass:Hp},{provide:yf,useFactory:Lf,deps:[ho,Bp,bf,dc,ne,fo,Bi,uf,Tf,[hf,new Gt],[sf,new Gt]]},bf,{provide:ud,useFactory:Vf,deps:[yf]},{provide:fo,useClass:vo},kf,Ef,Sf,{provide:Tf,useValue:{enableTracing:!1}}];function If(){return new ao("Router",yf)}var Of=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[Rf,Mf(t),{provide:Af,useFactory:Ff,deps:[[yf,new Gt,new Qt]]},{provide:Tf,useValue:n||{}},{provide:hc,useFactory:Nf,deps:[uc,[new Kt(pc),new Gt],Tf]},{provide:Df,useFactory:Pf,deps:[yf,qc,Tf]},{provide:xf,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Ef},{provide:ao,multi:!0,useFactory:If},[jf,{provide:Ai,multi:!0,useFactory:zf,deps:[jf]},{provide:Hf,useFactory:Bf,deps:[jf]},{provide:Mi,multi:!0,useExisting:Hf}]]}},t.forChild=function(t){return{ngModule:e,providers:[Mf(t)]}},t}();function Pf(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Df(t,e,n)}function Nf(t,e,n){return void 0===n&&(n={}),n.useHash?new mc(t,e):new yc(t,e)}function Ff(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Mf(t){return[{provide:Ft,multi:!0,useValue:t},{provide:uf,multi:!0,useValue:t}]}function Lf(t,e,n,r,i,o,a,s,l,u,c){void 0===l&&(l={});var h=new yf(null,e,n,r,i,o,a,Rp(s));if(u&&(h.urlHandlingStrategy=u),c&&(h.routeReuseStrategy=c),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var p=Gc();h.events.subscribe(function(t){p.logGroup("Router Event: "+t.constructor.name),p.log(t.toString()),p.log(t),p.logGroupEnd()})}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h}function Vf(t){return t.routerState.root}var jf=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new j}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(cc,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(yf),i=t.injector.get(Tf);if(t.isLegacyDisabled(i)||t.isLegacyEnabled(i))e(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '"+i.initialNavigation+"'");r.hooks.afterPreactivation=function(){return t.initNavigation?wu(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(Tf),n=this.injector.get(kf),r=this.injector.get(Df),i=this.injector.get(yf),o=this.injector.get(ho);t===o.components[0]&&(this.isLegacyEnabled(e)?i.initialNavigation():this.isLegacyDisabled(e)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();function zf(t){return t.appInitializer.bind(t)}function Bf(t){return t.bootstrapListener.bind(t)}var Hf=new At("Router Initializer"),Uf=da({encapsulation:2,styles:[],data:{}});function Wf(t){return sl(0,[(t()(),Ua(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Is(1,212992,null,0,wf,[bf,wo,or,[8,null],Co],null,null)],function(t,e){t(e,1,0)},null)}function qf(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"ng-component",[],null,null,null,Wf,Uf)),Is(1,49152,null,0,_p,[],null,null)],null,null)}var Yf=ss("ng-component",_p,qf,{},{},[]);function Kf(t){return null!=t&&""+t!="false"}function Gf(t,e){return void 0===e&&(e=0),Zf(t)?Number(t):e}function Zf(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Qf(t){return Array.isArray(t)?t:[t]}function $f(t){return null==t?"":"string"==typeof t?t:t+"px"}var Xf,Jf,tm="undefined"!=typeof Intl&&Intl.v8BreakIterator,em=function(){function t(t){this._platformId=t,this.isBrowser=this._platformId?this._platformId===Uc:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!tm)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return t.ngInjectableDef=kt({factory:function(){return new t(ge(Fi,8))},token:t,providedIn:"root"}),t}(),nm=function(){return function(){}}(),rm=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function im(){if(Xf)return Xf;if("object"!=typeof document||!document)return Xf=new Set(rm);var t=document.createElement("input");return Xf=new Set(rm.filter(function(e){return t.setAttribute("type",e),t.type===e}))}function om(t){return function(){if(null==Jf&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Jf=!0}}))}finally{Jf=Jf||!1}return Jf}()?t:!!t.capture}var am,sm=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();function lm(){if("object"!=typeof document||!document)return sm.NORMAL;if(!am){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",t.appendChild(n),document.body.appendChild(t),am=sm.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,am=0===t.scrollLeft?sm.NEGATED:sm.INVERTED),t.parentNode.removeChild(t)}return am}function um(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];B(n)?t.pop():n=null;var r=t.length;return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length||2===t.length&&B(t[1])?it(t[0]):Eu()(wu.apply(void 0,t))}(1!==r||n?r>0?rt(t,n):_u(n):bu(t[0]),e)}}var cm=27,hm=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return i(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return i(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(b)),pm=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.now=function(){return Date.now()},t}(),dm=function(t){function e(n,r){void 0===r&&(r=pm.now);var i=t.call(this,n,function(){return e.delegate&&e.delegate!==i?e.delegate.now():r()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return i(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}(pm),fm=new dm(hm);function mm(t,e){return void 0===e&&(e=fm),function(n){return n.lift(new ym(t,e))}}var ym=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new gm(t,this.dueTime,this.scheduler))},t}(),gm=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return i(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(vm,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(D);function vm(t){t.debouncedNext()}function _m(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var bm=0,wm=new Map,Cm=null,xm=function(){function t(t){this._document=t}return t.prototype.describe=function(t,e){this._canBeDescribed(t,e)&&(wm.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))},t.prototype.removeDescription=function(t,e){if(this._canBeDescribed(t,e)){this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e);var n=wm.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e),Cm&&0===Cm.childNodes.length&&this._deleteMessagesContainer()}},t.prototype.ngOnDestroy=function(){for(var t=this._document.querySelectorAll("[cdk-describedby-host]"),e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute("cdk-describedby-host");Cm&&this._deleteMessagesContainer(),wm.clear()},t.prototype._createMessageElement=function(t){var e=this._document.createElement("div");e.setAttribute("id","cdk-describedby-message-"+bm++),e.appendChild(this._document.createTextNode(t)),this._createMessagesContainer(),Cm.appendChild(e),wm.set(t,{messageElement:e,referenceCount:0})},t.prototype._deleteMessageElement=function(t){var e=wm.get(t),n=e&&e.messageElement;Cm&&n&&Cm.removeChild(n),wm.delete(t)},t.prototype._createMessagesContainer=function(){if(!Cm){var t=this._document.getElementById("cdk-describedby-message-container");t&&t.parentNode.removeChild(t),(Cm=this._document.createElement("div")).id="cdk-describedby-message-container",Cm.setAttribute("aria-hidden","true"),Cm.style.display="none",this._document.body.appendChild(Cm)}},t.prototype._deleteMessagesContainer=function(){Cm&&Cm.parentNode&&(Cm.parentNode.removeChild(Cm),Cm=null)},t.prototype._removeCdkDescribedByReferenceIds=function(t){var e=_m(t,"aria-describedby").filter(function(t){return 0!=t.indexOf("cdk-describedby-message")});t.setAttribute("aria-describedby",e.join(" "))},t.prototype._addMessageReference=function(t,e){var n,r,i,o=wm.get(e);r=o.messageElement.id,(i=_m(n=t,"aria-describedby")).some(function(t){return t.trim()==r.trim()})||(i.push(r.trim()),n.setAttribute("aria-describedby",i.join(" "))),t.setAttribute("cdk-describedby-host",""),o.referenceCount++},t.prototype._removeMessageReference=function(t,e){var n,r,i,o=wm.get(e);o.referenceCount--,r=o.messageElement.id,i=_m(n=t,"aria-describedby").filter(function(t){return t!=r.trim()}),n.setAttribute("aria-describedby",i.join(" ")),t.removeAttribute("cdk-describedby-host")},t.prototype._isElementDescribedByMessage=function(t,e){var n=_m(t,"aria-describedby"),r=wm.get(e),i=r&&r.messageElement.id;return!!i&&-1!=n.indexOf(i)},t.prototype._canBeDescribed=function(t,e){return t.nodeType===this._document.ELEMENT_NODE&&null!=e&&!!(""+e).trim()},t.ngInjectableDef=kt({factory:function(){return new t(ge(Hc))},token:t,providedIn:"root"}),t}(),Sm=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._origin="program",e}return i(e,t),e.prototype.setFocusOrigin=function(t){return this._origin=t,this},e.prototype.setActiveItem=function(e){t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(function(){function t(t){var e=this;this._items=t,this._activeItemIndex=-1,this._wrap=!1,this._letterKeyStream=new j,this._typeaheadSubscription=b.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(t){return t.disabled},this._pressedLetters=[],this.tabOut=new j,this.change=new j,t instanceof mo&&t.changes.subscribe(function(t){if(e._activeItem){var n=t.toArray().indexOf(e._activeItem);n>-1&&n!==e._activeItemIndex&&(e._activeItemIndex=n)}})}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(t){return void 0===t&&(t=!0),this._wrap=t,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withAllowedModifierKeys=function(t){return this._allowedModifierKeys=t,this},t.prototype.withTypeAhead=function(t){var e=this;if(void 0===t&&(t=200),this._items.length&&this._items.some(function(t){return"function"!=typeof t.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Nu(function(t){return e._pressedLetters.push(t)}),mm(t),ku(function(){return e._pressedLetters.length>0}),tt(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),r=1;r<n.length+1;r++){var i=(e._activeItemIndex+r)%n.length,o=n[i];if(!e._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(t)){e.setActiveItem(i);break}}e._pressedLetters=[]}),this},t.prototype.setActiveItem=function(t){var e=this._activeItemIndex;this.updateActiveItem(t),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)},t.prototype.onKeydown=function(t){var e=this,n=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!t[n]||e._allowedModifierKeys.indexOf(n)>-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n)))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItem=function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t);this._activeItemIndex=n,this._activeItem=e[n]},t.prototype.updateActiveItemIndex=function(t){this.updateActiveItem(t)},t.prototype._setActiveItemByDelta=function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)},t.prototype._setActiveInWrapMode=function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}},t.prototype._setActiveInDefaultMode=function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)},t.prototype._setActiveItemByIndex=function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}},t.prototype._getItemsArray=function(){return this._items instanceof mo?this._items.toArray():this._items},t}()),Em=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(e){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){var r=n&&n.nodeName.toLowerCase();if(-1===Dm(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===r)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var i=t.nodeName.toLowerCase(),o=Dm(t);if(t.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||km(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t.ngInjectableDef=kt({factory:function(){return new t(ge(em))},token:t,providedIn:"root"}),t}();function km(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Dm(t){if(!km(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var Tm=function(){function t(t,e,n,r,i){void 0===i&&(i=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._startAnchor&&this._startAnchor.parentNode&&this._startAnchor.parentNode.removeChild(this._startAnchor),this._endAnchor&&this._endAnchor.parentNode&&this._endAnchor.parentNode.removeChild(this._endAnchor),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",function(){return t.focusLastTabbableElement()})),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",function(){return t.focusFirstTabbableElement()}))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn("Found use of deprecated attribute 'cdk-focus-"+t+"', use 'cdkFocusRegion"+t+"' instead. The deprecated attribute will be removed in 8.0.0.",e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+t+"', use 'cdkFocusRegion"+t+"' instead. The deprecated attribute will be removed in 8.0.0.",e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)},t.prototype.focusInitialElement=function(){var t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),Yr()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focus(),!0):this.focusFirstTabbableElement()},t.prototype.focusFirstTabbableElement=function(){var t=this._getRegionBoundary("start");return t&&t.focus(),!!t},t.prototype.focusLastTabbableElement=function(){var t=this._getRegionBoundary("end");return t&&t.focus(),!!t},t.prototype.hasAttached=function(){return this._hasAttached},t.prototype._getFirstTabbableElement=function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=0;n<e.length;n++){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._getLastTabbableElement=function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=e.length-1;n>=0;n--){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t},t.prototype._toggleAnchorTabIndex=function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Zu(1)).subscribe(t)},t}(),Am=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new Tm(t,this._checker,this._ngZone,this._document,e)},t.ngInjectableDef=kt({factory:function(){return new t(ge(Em),ge(Gi),ge(Hc))},token:t,providedIn:"root"}),t}(),Rm=function(){function t(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=Kf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoCapture",{get:function(){return this._autoCapture},set:function(t){this._autoCapture=Kf(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)},t.prototype.ngAfterContentInit=function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())},t.prototype.ngDoCheck=function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()},t}(),Im=new At("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Om=function(){function t(t,e,n){this._ngZone=e,this._document=n,this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(t){for(var e,n,r=this,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return 1===i.length&&"number"==typeof i[0]?n=i[0]:(e=i[0],n=i[1]),this.clear(),clearTimeout(this._previousTimeout),this._liveElement.setAttribute("aria-live",e||"polite"),this._ngZone.runOutsideAngular(function(){return new Promise(function(e){clearTimeout(r._previousTimeout),r._previousTimeout=setTimeout(function(){r._liveElement.textContent=t,e(),"number"==typeof n&&(r._previousTimeout=setTimeout(function(){return r.clear()},n))},100)})})},t.prototype.clear=function(){this._liveElement&&(this._liveElement.textContent="")},t.prototype.ngOnDestroy=function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)},t.prototype._createLiveElement=function(){for(var t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div"),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e},t.ngInjectableDef=kt({factory:function(){return new t(ge(Im,8),ge(Gi),ge(Hc))},token:t,providedIn:"root"}),t}(),Pm=function(){function t(t,e,n,r){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=r,this._politeness="off"}return Object.defineProperty(t.prototype,"politeness",{get:function(){return this._politeness},set:function(t){var e=this;this._politeness="polite"===t||"assertive"===t?t:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(function(){return e._contentObserver.observe(e._elementRef).subscribe(function(){var t=e._elementRef.nativeElement.textContent;t!==e._previousAnnouncedText&&(e._liveAnnouncer.announce(t,e._politeness),e._previousAnnouncedText=t)})}))},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._subscription&&this._subscription.unsubscribe()},t}(),Nm=function(){function t(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._unregisterGlobalListeners=function(){},this._monitoredElementCount=0}return t.prototype.monitor=function(t,e){var n=this;if(void 0===e&&(e=!1),!this._platform.isBrowser)return wu(null);var r=this._getNativeElement(t);if(this._elementInfo.has(r)){var i=this._elementInfo.get(r);return i.checkChildren=e,i.subject.asObservable()}var o={unlisten:function(){},checkChildren:e,subject:new j};this._elementInfo.set(r,o),this._incrementMonitoredElementCount();var a=function(t){return n._onFocus(t,r)},s=function(t){return n._onBlur(t,r)};return this._ngZone.runOutsideAngular(function(){r.addEventListener("focus",a,!0),r.addEventListener("blur",s,!0)}),o.unlisten=function(){r.removeEventListener("focus",a,!0),r.removeEventListener("blur",s,!0)},o.subject.asObservable()},t.prototype.stopMonitoring=function(t){var e=this._getNativeElement(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())},t.prototype.focusVia=function(t,e,n){var r=this._getNativeElement(t);this._setOriginForCurrentEventQueue(e),"function"==typeof r.focus&&r.focus(n)},t.prototype.ngOnDestroy=function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})},t.prototype._registerGlobalListeners=function(){var t=this;if(this._platform.isBrowser){var e=function(){t._lastTouchTarget=null,t._setOriginForCurrentEventQueue("keyboard")},n=function(){t._lastTouchTarget||t._setOriginForCurrentEventQueue("mouse")},r=function(e){null!=t._touchTimeoutId&&clearTimeout(t._touchTimeoutId),t._lastTouchTarget=e.target,t._touchTimeoutId=setTimeout(function(){return t._lastTouchTarget=null},650)},i=function(){t._windowFocused=!0,t._windowFocusTimeoutId=setTimeout(function(){return t._windowFocused=!1})},o=om({passive:!0,capture:!0});this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",e,o),document.addEventListener("mousedown",n,o),document.addEventListener("touchstart",r,o),window.addEventListener("focus",i)}),this._unregisterGlobalListeners=function(){document.removeEventListener("keydown",e,o),document.removeEventListener("mousedown",n,o),document.removeEventListener("touchstart",r,o),window.removeEventListener("focus",i),clearTimeout(t._windowFocusTimeoutId),clearTimeout(t._touchTimeoutId),clearTimeout(t._originTimeoutId)}}},t.prototype._toggleClass=function(t,e,n){n?t.classList.add(e):t.classList.remove(e)},t.prototype._setClasses=function(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))},t.prototype._setOriginForCurrentEventQueue=function(t){var e=this;this._ngZone.runOutsideAngular(function(){e._origin=t,e._originTimeoutId=setTimeout(function(){return e._origin=null},1)})},t.prototype._wasCausedByTouch=function(t){var e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},t.prototype._onFocus=function(t,e){var n=this._elementInfo.get(e);if(n&&(n.checkChildren||e===t.target)){var r=this._origin;r||(r=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}},t.prototype._onBlur=function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))},t.prototype._emitOrigin=function(t,e){this._ngZone.run(function(){return t.next(e)})},t.prototype._incrementMonitoredElementCount=function(){1==++this._monitoredElementCount&&this._registerGlobalListeners()},t.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(this._unregisterGlobalListeners(),this._unregisterGlobalListeners=function(){})},t.prototype._getNativeElement=function(t){return t instanceof gr?t.nativeElement:t},t.ngInjectableDef=kt({factory:function(){return new t(ge(Gi),ge(em))},token:t,providedIn:"root"}),t}(),Fm=function(){function t(t,e){var n=this;this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new Hr,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(t){return n.cdkFocusChange.emit(t)})}return t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()},t}(),Mm=function(){return function(){}}(),Lm=new At("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Vm=function(){function t(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return t.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Yr()&&!this._isTestEnv()},t.prototype._isTestEnv=function(){var t=this._window;return t&&(t.__karma__||t.jasmine)},t.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},t.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}},t.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},t}();function jm(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e)||this;return r._disabled=!1,r}return i(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Kf(t)},enumerable:!0,configurable:!0}),e}(t)}function zm(t,e){return function(t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=t.apply(this,n)||this;return i.color=e,i}return i(n,t),Object.defineProperty(n.prototype,"color",{get:function(){return this._color},set:function(t){var n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)},enumerable:!0,configurable:!0}),n}(t)}function Bm(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e)||this;return r._disableRipple=!1,r}return i(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=Kf(t)},enumerable:!0,configurable:!0}),e}(t)}function Hm(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e)||this;return r.errorState=!1,r.stateChanges=new j,r}return i(e,t),e.prototype.updateErrorState=function(){var t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())},e}(t)}function Um(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e)||this;return r._isInitialized=!1,r._pendingSubscribers=[],r.initialized=new P(function(t){r._isInitialized?r._notifySubscriber(t):r._pendingSubscribers.push(t)}),r}return i(e,t),e.prototype._markInitialized=function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null},e.prototype._notifySubscriber=function(t){t.next(),t.complete()},e}(t)}var Wm=new At("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return ge(qo)}}),qm=function(){function t(){this._localeChanges=new j}return Object.defineProperty(t.prototype,"localeChanges",{get:function(){return this._localeChanges},enumerable:!0,configurable:!0}),t.prototype.deserialize=function(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()},t.prototype.setLocale=function(t){this.locale=t,this._localeChanges.next()},t.prototype.compareDate=function(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)},t.prototype.sameDate=function(t,e){if(t&&e){var n=this.isValid(t),r=this.isValid(e);return n&&r?!this.compareDate(t,e):n==r}return t==e},t.prototype.clampDate=function(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t},t}(),Ym=new At("mat-date-formats"),Km="undefined"!=typeof Intl,Gm={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"]},Zm=Xm(31,function(t){return String(t+1)}),Qm={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},$m=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Xm(t,e){for(var n=Array(t),r=0;r<t;r++)n[r]=e(r);return n}var Jm=function(t){function e(e,n){var r=t.call(this)||this;return r.useUtcForDisplay=!0,t.prototype.setLocale.call(r,e),r.useUtcForDisplay=!n.TRIDENT,r._clampDate=n.TRIDENT||n.EDGE,r}return i(e,t),e.prototype.getYear=function(t){return t.getFullYear()},e.prototype.getMonth=function(t){return t.getMonth()},e.prototype.getDate=function(t){return t.getDate()},e.prototype.getDayOfWeek=function(t){return t.getDay()},e.prototype.getMonthNames=function(t){var e=this;if(Km){var n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Xm(12,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,t,1)))})}return Gm[t]},e.prototype.getDateNames=function(){var t=this;if(Km){var e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Xm(31,function(n){return t._stripDirectionalityCharacters(t._format(e,new Date(2017,0,n+1)))})}return Zm},e.prototype.getDayOfWeekNames=function(t){var e=this;if(Km){var n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Xm(7,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,0,t+1)))})}return Qm[t]},e.prototype.getYearName=function(t){if(Km){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))},e.prototype.getFirstDayOfWeek=function(){return 0},e.prototype.getNumDaysInMonth=function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))},e.prototype.clone=function(t){return this.createDate(this.getYear(t),this.getMonth(t),this.getDate(t))},e.prototype.createDate=function(t,e,n){if(e<0||e>11)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(Km){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=o({},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($m.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}(qm),ty={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"}}},ey=function(){return function(){}}(),ny=function(){return function(){}}(),ry=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))},t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),iy=new At("MAT_HAMMER_OPTIONS"),oy=["longpress","slide","slidestart","slideend","slideright","slideleft"],ay={on:function(){},off:function(){}},sy=function(t){function e(e,n){var r=t.call(this)||this;return r._hammerOptions=e,r.events=oy,n&&n._checkHammerIsAvailable(),r}return i(e,t),e.prototype.buildHammer=function(t){var e="undefined"!=typeof window?window.Hammer:null;if(!e)return ay;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;r<arguments.length;r++)n[r-2]=arguments[r];var i=new t.constructor(e);return n.push(t),n.forEach(function(t){return i.recognizeWith(t)}),i},e}(zh);function ly(t,e,n){var r=t.nativeElement.classList;n?r.add(e):r.remove(e)}var uy=function(){return function(){}}(),cy=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}(),hy=function(){function t(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=cy.HIDDEN}return t.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},t}(),py={enterDuration:450,exitDuration:400},dy=800,fy=om({passive:!0}),my=function(){function t(t,e,n,r){var i=this;this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this.onMousedown=function(t){var e=function(t){return 0===t.buttons}(t),n=i._lastTouchStartEvent&&Date.now()<i._lastTouchStartEvent+dy;i._target.rippleDisabled||e||n||(i._isPointerDown=!0,i.fadeInRipple(t.clientX,t.clientY,i._target.rippleConfig))},this.onTouchStart=function(t){if(!i._target.rippleDisabled){i._lastTouchStartEvent=Date.now(),i._isPointerDown=!0;for(var e=t.changedTouches,n=0;n<e.length;n++)i.fadeInRipple(e[n].clientX,e[n].clientY,i._target.rippleConfig)}},this.onPointerUp=function(){i._isPointerDown&&(i._isPointerDown=!1,i._activeRipples.forEach(function(t){!t.config.persistent&&(t.state===cy.VISIBLE||t.config.terminateOnPointerUp&&t.state===cy.FADING_IN)&&t.fadeOut()}))},r.isBrowser&&(this._containerElement=n.nativeElement,this._triggerEvents.set("mousedown",this.onMousedown).set("mouseup",this.onPointerUp).set("mouseleave",this.onPointerUp).set("touchstart",this.onTouchStart).set("touchend",this.onPointerUp).set("touchcancel",this.onPointerUp))}return t.prototype.fadeInRipple=function(t,e,n){var r=this;void 0===n&&(n={});var i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=o({},py,n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);var s=n.radius||function(t,e,n){var r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+i*i)}(t,e,i),l=t-i.left,u=e-i.top,c=a.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=l-s+"px",h.style.top=u-s+"px",h.style.height=2*s+"px",h.style.width=2*s+"px",h.style.backgroundColor=n.color||null,h.style.transitionDuration=c+"ms",this._containerElement.appendChild(h),window.getComputedStyle(h).getPropertyValue("opacity"),h.style.transform="scale(1)";var p=new hy(this,h,n);return p.state=cy.FADING_IN,this._activeRipples.add(p),n.persistent||(this._mostRecentTransientRipple=p),this.runTimeoutOutsideZone(function(){var t=p===r._mostRecentTransientRipple;p.state=cy.VISIBLE,n.persistent||t&&r._isPointerDown||p.fadeOut()},c),p},t.prototype.fadeOutRipple=function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,r=o({},py,t.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",t.state=cy.FADING_OUT,this.runTimeoutOutsideZone(function(){t.state=cy.HIDDEN,n.parentNode.removeChild(n)},r.exitDuration)}},t.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(t){return t.fadeOut()})},t.prototype.setupTriggerEvents=function(t){var e=this;t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(function(){e._triggerEvents.forEach(function(e,n){t.addEventListener(n,e,fy)})}),this._triggerElement=t)},t.prototype.runTimeoutOutsideZone=function(t,e){void 0===e&&(e=0),this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})},t.prototype._removeTriggerEvents=function(){var t=this;this._triggerElement&&this._triggerEvents.forEach(function(e,n){t._triggerElement.removeEventListener(n,e,fy)})},t}(),yy=new At("mat-ripple-global-options"),gy=function(){function t(t,e,n,r,i){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new my(this,e,t,n),"NoopAnimations"===i&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},t.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},t.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(t.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:o({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),t.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},t.prototype.launch=function(t,e,n){return void 0===e&&(e=0),"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,o({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,o({},this.rippleConfig,t))},t}(),vy=function(){return function(){}}(),_y=function(){return function(){}}(),by=function(){return function(){}}(),wy=new At("mat-label-global-options"),Cy=function(){return function(){}}(),xy=function(){return function(){}}(),Sy="*";function Ey(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function ky(t){return{type:6,styles:t,offset:null}}function Dy(t){Promise.resolve(null).then(t)}var Ty=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;Dy(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}(),Ay=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?Dy(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}(),Ry="!",Iy=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.sortables=new Map,e._stateChanges=new j,e.start="asc",e._direction="",e.sortChange=new Hr,e}return i(e,t),Object.defineProperty(e.prototype,"direction",{get:function(){return this._direction},set:function(t){if(Yr()&&t&&"asc"!==t&&"desc"!==t)throw function(t){return Error(t+" is not a valid sort direction ('asc' or 'desc').")}(t);this._direction=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableClear",{get:function(){return this._disableClear},set:function(t){this._disableClear=Kf(t)},enumerable:!0,configurable:!0}),e.prototype.register=function(t){if(!t.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(t.id))throw Error("Cannot have two MatSortables with the same id ("+t.id+").");this.sortables.set(t.id,t)},e.prototype.deregister=function(t){this.sortables.delete(t.id)},e.prototype.sort=function(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})},e.prototype.getNextSortDirection=function(t){if(!t)return"";var e,n,r=(e=null!=t.disableClear?t.disableClear:this.disableClear,n=["asc","desc"],"desc"==(t.start||this.start)&&n.reverse(),e||n.push(""),n),i=r.indexOf(this.direction)+1;return i>=r.length&&(i=0),r[i]},e.prototype.ngOnInit=function(){this._markInitialized()},e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(Um(jm(function(){return function(){}}()))),Oy=function(){function t(){this.changes=new j,this.sortButtonLabel=function(t){return"Change sorting for "+t}}return t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}();function Py(t){return t||new Oy}var Ny=function(t){function e(e,n,r,i){var o=t.call(this)||this;if(o._intl=e,o._sort=r,o._columnDef=i,o._showIndicatorHint=!1,o._arrowDirection="",o._disableViewStateAnimation=!1,o.arrowPosition="after",!r)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return o._rerenderSubscription=ct(r.sortChange,r._stateChanges,e.changes).subscribe(function(){o._isSorted()&&o._updateArrowDirection(),!o._isSorted()&&o._viewState&&"active"===o._viewState.toState&&(o._disableViewStateAnimation=!1,o._setAnimationTransitionState({fromState:"active",toState:o._arrowDirection})),n.markForCheck()}),o}return i(e,t),Object.defineProperty(e.prototype,"disableClear",{get:function(){return this._disableClear},set:function(t){this._disableClear=Kf(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)},e.prototype.ngOnDestroy=function(){this._sort.deregister(this),this._rerenderSubscription.unsubscribe()},e.prototype._setIndicatorHintVisible=function(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))},e.prototype._setAnimationTransitionState=function(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})},e.prototype._handleClick=function(){if(!this._isDisabled()){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}},e.prototype._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)},e.prototype._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection},e.prototype._getArrowViewState=function(){var t=this._viewState.fromState;return(t?t+"-to-":"")+this._viewState.toState},e.prototype._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start},e.prototype._isDisabled=function(){return this._sort.disabled||this.disabled},e.prototype._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":null},e}(jm(function(){return function(){}}())),Fy=function(){return function(){}}(),My=da({encapsulation:2,styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media screen and (-ms-high-contrast:active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media screen and (-ms-high-contrast:active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media screen and (-ms-high-contrast:active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],data:{animation:[{type:7,name:"indicator",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"translateY(10px)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"leftPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"rightPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowOpacity",definitions:[{type:0,name:"desc-to-active, asc-to-active, active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"desc-to-hint, asc-to-hint, hint",styles:{type:6,styles:{opacity:.54},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"* => asc, * => desc, * => active, * => hint, * => void",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"* <=> *",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowPosition",definitions:[{type:1,expr:"* => desc-to-hint, * => desc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(-25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-desc, * => active-to-desc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => asc-to-hint, * => asc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-asc, * => active-to-asc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(-25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:0,name:"desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",styles:{type:6,styles:{transform:"translateY(0)"},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc",styles:{type:6,styles:{transform:"translateY(-25%)"},offset:null},options:void 0},{type:0,name:"hint-to-asc, active-to-asc, asc",styles:{type:6,styles:{transform:"translateY(25%)"},offset:null},options:void 0}],options:{}},{type:7,name:"allowChildren",definitions:[{type:1,expr:"* <=> *",animation:[{type:11,selector:"@*",animation:{type:9,options:null},options:{optional:!0}}],options:null}],options:{}}]}});function Ly(t){return sl(2,[(t()(),Ua(0,0,null,null,8,"div",[["class","mat-sort-header-container"]],[[2,"mat-sort-header-sorted",null],[2,"mat-sort-header-position-before",null]],null,null,null,null)),(t()(),Ua(1,0,null,null,1,"button",[["class","mat-sort-header-button"],["type","button"]],[[1,"disabled",0],[1,"aria-label",0]],[[null,"focus"],[null,"blur"]],function(t,e,n){var r=!0,i=t.component;return"focus"===e&&(r=!1!==i._setIndicatorHintVisible(!0)&&r),"blur"===e&&(r=!1!==i._setIndicatorHintVisible(!1)&&r),r},null,null)),Js(null,0),(t()(),Ua(3,0,null,null,5,"div",[["class","mat-sort-header-arrow"]],[[24,"@arrowOpacity",0],[24,"@arrowPosition",0],[24,"@allowChildren",0]],[[null,"@arrowPosition.start"],[null,"@arrowPosition.done"]],function(t,e,n){var r=!0,i=t.component;return"@arrowPosition.start"===e&&(r=0!=(i._disableViewStateAnimation=!0)&&r),"@arrowPosition.done"===e&&(r=0!=(i._disableViewStateAnimation=!1)&&r),r},null,null)),(t()(),Ua(4,0,null,null,0,"div",[["class","mat-sort-header-stem"]],null,null,null,null,null)),(t()(),Ua(5,0,null,null,3,"div",[["class","mat-sort-header-indicator"]],[[24,"@indicator",0]],null,null,null,null)),(t()(),Ua(6,0,null,null,0,"div",[["class","mat-sort-header-pointer-left"]],[[24,"@leftPointer",0]],null,null,null,null)),(t()(),Ua(7,0,null,null,0,"div",[["class","mat-sort-header-pointer-right"]],[[24,"@rightPointer",0]],null,null,null,null)),(t()(),Ua(8,0,null,null,0,"div",[["class","mat-sort-header-pointer-middle"]],null,null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._isSorted(),"before"==n.arrowPosition),t(e,1,0,n._isDisabled()||null,n._intl.sortButtonLabel(n.id)),t(e,3,0,n._getArrowViewState(),n._getArrowViewState(),n._getArrowDirectionState()),t(e,5,0,n._getArrowDirectionState()),t(e,6,0,n._getArrowDirectionState()),t(e,7,0,n._getArrowDirectionState())})}var Vy=function(){return function(){}}(),jy=function(t){function e(e){var n=t.call(this)||this;return n._data=e,n}return i(e,t),e.prototype.connect=function(){return this._data instanceof P?this._data:wu(this._data)},e.prototype.disconnect=function(){},e}(Vy),zy=function(){function t(){this._listeners=[]}return t.prototype.notify=function(t,e){for(var n=0,r=this._listeners;n<r.length;n++)(0,r[n])(t,e)},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.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}();function By(t){return function(e){return e.lift(new Hy(t))}}var Hy=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Uy(t),r=X(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),Uy=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(J);function Wy(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e)||this;return r._sticky=!1,r._hasStickyChanged=!1,r}return i(e,t),Object.defineProperty(e.prototype,"sticky",{get:function(){return this._sticky},set:function(t){var e=this._sticky;this._sticky=Kf(t),this._hasStickyChanged=e!==this._sticky},enumerable:!0,configurable:!0}),e.prototype.hasStickyChanged=function(){var t=this._hasStickyChanged;return this._hasStickyChanged=!1,t},e.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1},e}(t)}var qy=function(){return function(t){this.template=t}}(),Yy=function(){return function(t){this.template=t}}(),Ky=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._stickyEnd=!1,e}return i(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stickyEnd",{get:function(){return this._stickyEnd},set:function(t){var e=this._stickyEnd;this._stickyEnd=Kf(t),this._hasStickyChanged=e!==this._stickyEnd},enumerable:!0,configurable:!0}),e}(Wy(function(){return function(){}}())),Gy=function(){return function(t,e){e.nativeElement.classList.add("cdk-column-"+t.cssClassFriendlyName)}}(),Zy=function(t){function e(e,n){return t.call(this,e,n)||this}return i(e,t),e}(Gy),Qy=function(t){function e(e,n){return t.call(this,e,n)||this}return i(e,t),e}(Gy),$y=function(){function t(t,e){this.template=t,this._differs=e}return t.prototype.ngOnChanges=function(t){if(!this._columnsDiffer){var e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}},t.prototype.getColumnsDiff=function(){return this._columnsDiffer.diff(this.columns)},t.prototype.extractCellTemplate=function(t){return this instanceof Xy?t.headerCell.template:this instanceof Jy?t.footerCell.template:t.cell.template},t}(),Xy=function(t){function e(e,n){return t.call(this,e,n)||this}return i(e,t),e.prototype.ngOnChanges=function(e){t.prototype.ngOnChanges.call(this,e)},e}(Wy(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}($y))),Jy=function(t){function e(e,n){return t.call(this,e,n)||this}return i(e,t),e.prototype.ngOnChanges=function(e){t.prototype.ngOnChanges.call(this,e)},e}(Wy(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}($y))),tg=function(t){function e(e,n){return t.call(this,e,n)||this}return i(e,t),e}($y),eg=function(){function t(e){this._viewContainer=e,t.mostRecentCellOutlet=this}return t.prototype.ngOnDestroy=function(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)},t.mostRecentCellOutlet=null,t}(),ng=function(){return function(){}}(),rg=function(){return function(){}}(),ig=["top","bottom","left","right"],og=function(){function t(t,e,n,r){void 0===r&&(r=!0),this.isNativeHtmlTable=t,this.stickCellCss=e,this.direction=n,this._isBrowser=r}return t.prototype.clearStickyPositioning=function(t,e){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,e);for(var o=0;o<i.children.length;o++)this._removeStickyStyle(i.children[o],e)}}},t.prototype.updateStickyColumns=function(t,e,n){var r=e.some(function(t){return t})||n.some(function(t){return t});if(t.length&&r&&this._isBrowser)for(var i=t[0],o=i.children.length,a=this._getCellWidths(i),s=this._getStickyStartColumnPositions(a,e),l=this._getStickyEndColumnPositions(a,n),u="rtl"===this.direction,c=0,h=t;c<h.length;c++)for(var p=h[c],d=0;d<o;d++){var f=p.children[d];e[d]&&this._addStickyStyle(f,u?"right":"left",s[d]),n[d]&&this._addStickyStyle(f,u?"left":"right",l[d])}},t.prototype.stickRows=function(t,e,n){if(this._isBrowser)for(var r="bottom"===n?t.reverse():t,i=0,o=0;o<r.length;o++)if(e[o]){var a=r[o];if(this.isNativeHtmlTable)for(var s=0;s<a.children.length;s++)this._addStickyStyle(a.children[s],n,i);else this._addStickyStyle(a,n,i);if(o===r.length-1)return;i+=a.getBoundingClientRect().height}},t.prototype.updateStickyFooterContainer=function(t,e){if(this.isNativeHtmlTable){var n=t.querySelector("tfoot");e.some(function(t){return!t})?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)}},t.prototype._removeStickyStyle=function(t,e){for(var n=0,r=e;n<r.length;n++)t.style[r[n]]="";t.style.zIndex=this._getCalculatedZIndex(t),ig.some(function(e){return!!t.style[e]})||(t.style.position="",t.classList.remove(this.stickCellCss))},t.prototype._addStickyStyle=function(t,e,n){t.classList.add(this.stickCellCss),t.style[e]=n+"px",t.style.cssText+="position: -webkit-sticky; position: sticky; ",t.style.zIndex=this._getCalculatedZIndex(t)},t.prototype._getCalculatedZIndex=function(t){for(var e={top:100,bottom:10,left:1,right:1},n=0,r=0,i=ig;r<i.length;r++){var o=i[r];t.style[o]&&(n+=e[o])}return n?""+n:""},t.prototype._getCellWidths=function(t){for(var e=[],n=t.children,r=0;r<n.length;r++)e.push(n[r].getBoundingClientRect().width);return e},t.prototype._getStickyStartColumnPositions=function(t,e){for(var n=[],r=0,i=0;i<t.length;i++)e[i]&&(n[i]=r,r+=t[i]);return n},t.prototype._getStickyEndColumnPositions=function(t,e){for(var n=[],r=0,i=t.length;i>0;i--)e[i]&&(n[i]=r,r+=t[i]);return n},t}(),ag=function(){return function(t,e){this.viewContainer=t,this.elementRef=e}}(),sg=function(){return function(t,e){this.viewContainer=t,this.elementRef=e}}(),lg=function(){return function(t,e){this.viewContainer=t,this.elementRef=e}}(),ug=function(){function t(t,e,n,r,i,o,a){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=i,this._platform=a,this._onDestroy=new j,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new Cu({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object.defineProperty(t.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(t){Yr()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+"."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiTemplateDataRows",{get:function(){return this._multiTemplateDataRows},set:function(t){this._multiTemplateDataRows=Kf(t),this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(e,n){return t.trackBy?t.trackBy(n.dataIndex,n.data):n})},t.prototype.ngAfterContentChecked=function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()},t.prototype.ngOnDestroy=function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),this.dataSource instanceof Vy&&this.dataSource.disconnect(this)},t.prototype.renderRows=function(){var t=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var n=this._rowOutlet.viewContainer;e.forEachOperation(function(e,r,i){if(null==e.previousIndex)t._insertRow(e.item,i);else if(null==i)n.remove(r);else{var o=n.get(r);n.move(o,i)}}),this._updateRowIndexContext(),e.forEachIdentityChange(function(t){n.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}},t.prototype.setHeaderRowDef=function(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0},t.prototype.setFooterRowDef=function(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0},t.prototype.addColumnDef=function(t){this._customColumnDefs.add(t)},t.prototype.removeColumnDef=function(t){this._customColumnDefs.delete(t)},t.prototype.addRowDef=function(t){this._customRowDefs.add(t)},t.prototype.removeRowDef=function(t){this._customRowDefs.delete(t)},t.prototype.addHeaderRowDef=function(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0},t.prototype.removeHeaderRowDef=function(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0},t.prototype.addFooterRowDef=function(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0},t.prototype.removeFooterRowDef=function(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0},t.prototype.updateStickyHeaderRowStyles=function(){var t=this._getRenderedRows(this._headerRowOutlet);this._stickyStyler.clearStickyPositioning(t,["top"]);var e=this._headerRowDefs.map(function(t){return t.sticky});this._stickyStyler.stickRows(t,e,"top"),this._headerRowDefs.forEach(function(t){return t.resetStickyChanged()})},t.prototype.updateStickyFooterRowStyles=function(){var t=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(t,["bottom"]);var e=this._footerRowDefs.map(function(t){return t.sticky});this._stickyStyler.stickRows(t,e,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,e),this._footerRowDefs.forEach(function(t){return t.resetStickyChanged()})},t.prototype.updateStickyColumnStyles=function(){var t=this,e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(e.concat(n,r),["left","right"]),e.forEach(function(e,n){t._addStickyColumnStyles([e],t._headerRowDefs[n])}),this._rowDefs.forEach(function(e){for(var r=[],i=0;i<n.length;i++)t._renderRows[i].rowDef===e&&r.push(n[i]);t._addStickyColumnStyles(r,e)}),r.forEach(function(e,n){t._addStickyColumnStyles([e],t._footerRowDefs[n])}),Array.from(this._columnDefsByName.values()).forEach(function(t){return t.resetStickyChanged()})},t.prototype._getAllRenderRows=function(){var t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var r=this._data[n],i=this._getRenderRowsForData(r,n,e.get(r));this._cachedRenderRowsMap.has(r)||this._cachedRenderRowsMap.set(r,new WeakMap);for(var o=0;o<i.length;o++){var a=i[o],s=this._cachedRenderRowsMap.get(a.data);s.has(a.rowDef)?s.get(a.rowDef).push(a):s.set(a.rowDef,[a]),t.push(a)}}return t},t.prototype._getRenderRowsForData=function(t,e,n){return this._getRowDefs(t,e).map(function(r){var i=n&&n.has(r)?n.get(r):[];if(i.length){var o=i.shift();return o.dataIndex=e,o}return{data:t,rowDef:r,dataIndex:e}})},t.prototype._cacheColumnDefs=function(){var t=this;this._columnDefsByName.clear(),cg(this._contentColumnDefs,this._customColumnDefs).forEach(function(e){if(t._columnDefsByName.has(e.name))throw Error('Duplicate column definition name provided: "'+e.name+'".');t._columnDefsByName.set(e.name,e)})},t.prototype._cacheRowDefs=function(){this._headerRowDefs=cg(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=cg(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=cg(this._contentRowDefs,this._customRowDefs);var t=this._rowDefs.filter(function(t){return!t.when});if(!this.multiTemplateDataRows&&t.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]},t.prototype._renderUpdatedColumns=function(){var t=function(t,e){return t||!!e.getColumnsDiff()};this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()},t.prototype._switchDataSource=function(t){this._data=[],this.dataSource instanceof Vy&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t},t.prototype._observeRenderChanges=function(){var t=this;if(this.dataSource){var e;if(this.dataSource.connect instanceof Function?e=this.dataSource.connect(this):this.dataSource instanceof P?e=this.dataSource:Array.isArray(this.dataSource)&&(e=wu(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(By(this._onDestroy)).subscribe(function(e){t._data=e||[],t.renderRows()})}},t.prototype._forceRenderHeaderRows=function(){var t=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(e,n){return t._renderRow(t._headerRowOutlet,e,n)}),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()},t.prototype._forceRenderFooterRows=function(){var t=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(e,n){return t._renderRow(t._footerRowOutlet,e,n)}),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()},t.prototype._addStickyColumnStyles=function(t,e){var n=this,r=Array.from(e.columns||[]).map(function(t){return n._columnDefsByName.get(t)}),i=r.map(function(t){return t.sticky}),o=r.map(function(t){return t.stickyEnd});this._stickyStyler.updateStickyColumns(t,i,o)},t.prototype._getRenderedRows=function(t){for(var e=[],n=0;n<t.viewContainer.length;n++){var r=t.viewContainer.get(n);e.push(r.rootNodes[0])}return e},t.prototype._getRowDefs=function(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];var n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(function(n){return!n.when||n.when(e,t)});else{var r=this._rowDefs.find(function(n){return n.when&&n.when(e,t)})||this._defaultRowDef;r&&n.push(r)}if(!n.length)throw function(t){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(t))}(t);return n},t.prototype._insertRow=function(t,e){this._renderRow(this._rowOutlet,t.rowDef,e,{$implicit:t.data})},t.prototype._renderRow=function(t,e,n,r){void 0===r&&(r={}),t.viewContainer.createEmbeddedView(e.template,r,n);for(var i=0,o=this._getCellTemplates(e);i<o.length;i++)eg.mostRecentCellOutlet&&eg.mostRecentCellOutlet._viewContainer.createEmbeddedView(o[i],r);this._changeDetectorRef.markForCheck()},t.prototype._updateRowIndexContext=function(){for(var t=this._rowOutlet.viewContainer,e=0,n=t.length;e<n;e++){var r=t.get(e).context;r.count=n,r.first=0===e,r.last=e===n-1,r.even=e%2==0,r.odd=!r.even,this.multiTemplateDataRows?(r.dataIndex=this._renderRows[e].dataIndex,r.renderIndex=e):r.index=this._renderRows[e].dataIndex}},t.prototype._getCellTemplates=function(t){var e=this;return t&&t.columns?Array.from(t.columns,function(n){var r=e._columnDefsByName.get(n);if(!r)throw Error('Could not find column with id "'+n+'".');return t.extractCellTemplate(r)}):[]},t.prototype._applyNativeTableSections=function(){for(var t=0,e=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];t<e.length;t++){var n=e[t],r=(this._document||document).createElement(n.tag);r.appendChild(n.outlet.elementRef.nativeElement),this._elementRef.nativeElement.appendChild(r)}},t.prototype._forceRenderDataRows=function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()},t.prototype._checkStickyStates=function(){var t=function(t,e){return t||e.hasStickyChanged()};this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&this.updateStickyColumnStyles()},t.prototype._setupStickyStyler=function(){var t=this;this._stickyStyler=new og(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",!this._platform||this._platform.isBrowser),(this._dir?this._dir.change:wu()).pipe(By(this._onDestroy)).subscribe(function(e){t._stickyStyler.direction=e,t.updateStickyColumnStyles()})},t}();function cg(t,e){return t.toArray().concat(Array.from(e))}var hg=function(){return function(){}}(),pg={};function dg(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return B(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&h(t[0])&&(t=t[0]),rt(t,r).lift(new mg(n))}var fg,mg=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new yg(t,this.resultSelector))},t}(),yg=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return i(e,t),e.prototype._next=function(t){this.values.push(pg),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(X(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,a=this.toRespond?o[n]===pg?--this.toRespond:this.toRespond:0;o[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(J),gg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stickyCssClass="mat-table-sticky",e}return i(e,t),e}(ug),vg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(qy),_g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Yy),bg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Ky),wg=function(t){function e(e,n){var r=t.call(this,e,n)||this;return n.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),r}return i(e,t),e}(Zy),Cg=function(t){function e(e,n){var r=t.call(this,e,n)||this;return n.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),r}return i(e,t),e}(Qy),xg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Xy),Sg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(tg),Eg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(ng),kg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(rg),Dg=function(){return function(){}}(),Tg=9007199254740991,Ag=function(t){function e(e){void 0===e&&(e=[]);var n=t.call(this)||this;return n._renderData=new Cu([]),n._filter=new Cu(""),n._renderChangesSubscription=b.EMPTY,n.sortingDataAccessor=function(t,e){var n=t[e];if(Zf(n)){var r=Number(n);return r<Tg?r:n}return n},n.sortData=function(t,e){var r=e.active,i=e.direction;return r&&""!=i?t.sort(function(t,e){var o=n.sortingDataAccessor(t,r),a=n.sortingDataAccessor(e,r),s=0;return null!=o&&null!=a?o>a?s=1:o<a&&(s=-1):null!=o?s=1:null!=a&&(s=-1),s*("asc"==i?1:-1)}):t},n.filterPredicate=function(t,e){var n=Object.keys(t).reduce(function(e,n){return e+t[n]+"\u25ec"},"").toLowerCase(),r=e.trim().toLowerCase();return-1!=n.indexOf(r)},n._data=new Cu(e),n._updateChangeSubscription(),n}return i(e,t),Object.defineProperty(e.prototype,"data",{get:function(){return this._data.value},set:function(t){this._data.next(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filter",{get:function(){return this._filter.value},set:function(t){this._filter.next(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sort",{get:function(){return this._sort},set:function(t){this._sort=t,this._updateChangeSubscription()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paginator",{get:function(){return this._paginator},set:function(t){this._paginator=t,this._updateChangeSubscription()},enumerable:!0,configurable:!0}),e.prototype._updateChangeSubscription=function(){var t=this,e=this._sort?ct(this._sort.sortChange,this._sort.initialized):wu(null),n=this._paginator?ct(this._paginator.page,this._paginator.initialized):wu(null),r=dg(this._data,this._filter).pipe(tt(function(e){return t._filterData(e[0])})),i=dg(r,e).pipe(tt(function(e){return t._orderData(e[0])})),o=dg(i,n).pipe(tt(function(e){return t._pageData(e[0])}));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=o.subscribe(function(e){return t._renderData.next(e)})},e.prototype._filterData=function(t){var e=this;return this.filteredData=this.filter?t.filter(function(t){return e.filterPredicate(t,e.filter)}):t,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData},e.prototype._orderData=function(t){return this.sort?this.sortData(t.slice(),this.sort):t},e.prototype._pageData=function(t){if(!this.paginator)return t;var e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice().splice(e,this.paginator.pageSize)},e.prototype._updatePaginator=function(t){var e=this;Promise.resolve().then(function(){if(e.paginator&&(e.paginator.length=t,e.paginator.pageIndex>0)){var n=Math.ceil(e.paginator.length/e.paginator.pageSize)-1||0;e.paginator.pageIndex=Math.min(e.paginator.pageIndex,n)}})},e.prototype.connect=function(){return this._renderData},e.prototype.disconnect=function(){},e}(Vy),Rg=1,Ig={},Og=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return i(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=(i=e.flush.bind(e,null),o=Rg++,Ig[o]=i,Promise.resolve().then(function(){return function(t){var e=Ig[t];e&&e()}(o)}),o)));var i,o},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(delete Ig[n],e.scheduled=void 0)},e}(hm),Pg=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(dm))(Og),Ng=function(){return function(){}}(),Fg=new Set,Mg=function(){function t(t){this.platform=t,this._matchMedia=this.platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Lg}return t.prototype.matchMedia=function(t){return this.platform.WEBKIT&&function(t){if(!Fg.has(t))try{fg||((fg=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(fg)),fg.sheet&&(fg.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),Fg.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)},t.ngInjectableDef=kt({factory:function(){return new t(ge(em))},token:t,providedIn:"root"}),t}();function Lg(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var Vg=function(){function t(t,e){this.mediaMatcher=t,this.zone=e,this._queries=new Map,this._destroySubject=new j}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return jg(Qf(t)).some(function(t){return e._registerQuery(t).mql.matches})},t.prototype.observe=function(t){var e=this;return dg(jg(Qf(t)).map(function(t){return e._registerQuery(t).observable})).pipe(mm(0,Pg),tt(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,r=this.mediaMatcher.matchMedia(t),i={observable:function t(e,n,r){return r?t(e,n).pipe(tt(function(t){return h(t)?r.apply(void 0,t):r(t)})):new P(function(t){var r,i=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.next(1===e.length?e[0]:e)};try{r=e(i)}catch(o){return void t.error(o)}if(d(n))return function(){return n(i,r)}})}(function(t){r.addListener(n=function(n){return e.zone.run(function(){return t(n)})})},function(){return r.removeListener(n)}).pipe(By(this._destroySubject),um(r),tt(function(e){return{query:t,matches:e.matches}})),mql:r};return this._queries.set(t,i),i},t.ngInjectableDef=kt({factory:function(){return new t(ge(Mg),ge(Gi))},token:t,providedIn:"root"}),t}();function jg(t){return t.map(function(t){return t.split(",")}).reduce(function(t,e){return t.concat(e)}).map(function(t){return t.trim()})}var zg={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)"};function Bg(t,e,n,r){return d(n)&&(r=n,n=void 0),r?Bg(t,e,n).pipe(tt(function(t){return h(t)?r.apply(void 0,t):r(t)})):new P(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;c<h;c++)t(e[c],n,r,i,o)}i.add(a)}(t,e,function(t){r.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},r,n)})}Object;var Hg=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return i(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(hm),Ug=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(dm))(Hg);function Wg(t,e){return function(n){return n.lift(new qg(t,e))}}var qg=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new Yg(t,this.compare,this.keySelector))},t}(),Yg=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return i(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=g(this.keySelector)(t))===m)return this.destination.error(m.e);var n=!1;if(this.hasKey){if((n=g(this.compare)(this.key,e))===m)return this.destination.error(m.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=e,this.destination.next(t))},e}(D),Kg=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Gg(t,this.durationSelector))},t}(),Gg=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return i(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=g(this.durationSelector)(t);if(e===m)this.destination.error(m.e);else{var n=X(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(J);function Zg(t){return!h(t)&&t-parseFloat(t)+1>=0}function Qg(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function $g(t,e){return void 0===e&&(e=fm),n=function(){return function(t,e,n){void 0===t&&(t=0);var r=-1;return Zg(e)?r=Number(e)<1?1:Number(e):B(e)&&(n=e),B(n)||(n=fm),new P(function(e){var i=Zg(t)?t:+t-n.now();return n.schedule(Qg,i,{index:0,period:r,subscriber:e})})}(t,e)},function(t){return t.lift(new Kg(n))};var n}var Xg=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Jg(t))},t}(),Jg=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return i(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(D),tv=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return i(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(hm),ev=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(dm))(tv);function nv(t,e){return new P(e?function(n){return e.schedule(rv,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function rv(t){t.subscriber.error(t.error)}var iv=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 wu(this.value);case"E":return nv(this.error);case"C":return _u()}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 t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),ov=function(t){function e(e,n,r){void 0===r&&(r=0);var i=t.call(this,e)||this;return i.scheduler=n,i.delay=r,i}return i(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new av(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(iv.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(iv.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(iv.createComplete()),this.unsubscribe()},e}(D),av=function(){return function(t,e){this.notification=t,this.destination=e}}(),sv=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return i(e,t),e.prototype.nextInfiniteTimeWindow=function(e){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new lv(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new M;if(this.isStopped||this.hasError?e=b.EMPTY:(this.observers.push(t),e=new L(this,t)),i&&t.add(t=new ov(t,i)),n)for(var a=0;a<o&&!t.closed;a++)t.next(r[a]);else for(a=0;a<o&&!t.closed;a++)t.next(r[a].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||ev).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(j),lv=function(){return function(t,e){this.time=t,this.value=e}}(),uv=new At("VIRTUAL_SCROLL_STRATEGY"),cv=function(){function t(t,e,n){this._scrolledIndexChange=new j,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Wg()),this._viewport=null,this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=n}return t.prototype.attach=function(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()},t.prototype.detach=function(){this._scrolledIndexChange.complete(),this._viewport=null},t.prototype.updateItemAndBufferSize=function(t,e,n){if(n<e)throw Error("CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx");this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()},t.prototype.onContentScrolled=function(){this._updateRenderedRange()},t.prototype.onDataLengthChanged=function(){this._updateTotalContentSize(),this._updateRenderedRange()},t.prototype.onContentRendered=function(){},t.prototype.onRenderedOffsetChanged=function(){},t.prototype.scrollToIndex=function(t,e){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,e)},t.prototype._updateTotalContentSize=function(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)},t.prototype._updateRenderedRange=function(){if(this._viewport){var t=this._viewport.measureScrollOffset(),e=t/this._itemSize,n=this._viewport.getRenderedRange(),r={start:n.start,end:n.end},i=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),a=t-r.start*this._itemSize;if(a<this._minBufferPx&&0!=r.start){var s=Math.ceil((this._maxBufferPx-a)/this._itemSize);r.start=Math.max(0,r.start-s),r.end=Math.min(o,Math.ceil(e+(i+this._minBufferPx)/this._itemSize))}else{var l=r.end*this._itemSize-(t+i);if(l<this._minBufferPx&&r.end!=o){var u=Math.ceil((this._maxBufferPx-l)/this._itemSize);u>0&&(r.end=Math.min(o,r.end+u),r.start=Math.max(0,Math.floor(e-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(r),this._viewport.setRenderedContentOffset(this._itemSize*r.start),this._scrolledIndexChange.next(Math.floor(e))}},t}();function hv(t){return t._scrollStrategy}var pv=function(){function t(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new cv(this.itemSize,this.minBufferPx,this.maxBufferPx)}return Object.defineProperty(t.prototype,"itemSize",{get:function(){return this._itemSize},set:function(t){this._itemSize=Gf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minBufferPx",{get:function(){return this._minBufferPx},set:function(t){this._minBufferPx=Gf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxBufferPx",{get:function(){return this._maxBufferPx},set:function(t){this._maxBufferPx=Gf(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)},t}(),dv=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new j,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?P.create(function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe($g(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):wu()},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(ku(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 Bg(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.ngInjectableDef=kt({factory:function(){return new t(ge(Gi),ge(em))},token:t,providedIn:"root"}),t}(),fv=function(){function t(t,e,n,r){var i=this;this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=r,this._destroyed=new j,this._elementScrolled=P.create(function(t){return i.ngZone.runOutsideAngular(function(){return Bg(i.elementRef.nativeElement,"scroll").pipe(By(i._destroyed)).subscribe(t)})})}return t.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)},t.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()},t.prototype.elementScrolled=function(){return this._elementScrolled},t.prototype.getElementRef=function(){return this.elementRef},t.prototype.scrollTo=function(t){var e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;t.left=null==t.left?n?t.end:t.start:t.left,t.right=null==t.right?n?t.start:t.end:t.right,null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&lm()!=sm.NORMAL?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),lm()==sm.INVERTED?t.left=t.right:lm()==sm.NEGATED&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)},t.prototype._applyScrollToOptions=function(t){var e=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))},t.prototype.measureScrollOffset=function(t){var e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&lm()==sm.INVERTED?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&lm()==sm.NEGATED?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft},t}(),mv=function(t){function e(e,n,r,i,o,a){var s=t.call(this,e,a,r,o)||this;if(s.elementRef=e,s._changeDetectorRef=n,s._scrollStrategy=i,s._detachedSubject=new j,s._renderedRangeSubject=new j,s.orientation="vertical",s.scrolledIndexChange=P.create(function(t){return s._scrollStrategy.scrolledIndexChange.subscribe(function(e){return Promise.resolve().then(function(){return s.ngZone.run(function(){return t.next(e)})})})}),s.renderedRangeStream=s._renderedRangeSubject.asObservable(),s._totalContentSizeTransform="",s._totalContentSize=0,s._renderedRange={start:0,end:0},s._dataLength=0,s._viewportSize=0,s._renderedContentOffset=0,s._renderedContentOffsetNeedsRewrite=!1,s._isChangeDetectionPending=!1,s._runAfterChangeDetection=[],!i)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');return s}return i(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){e._measureViewportSize(),e._scrollStrategy.attach(e),e.elementScrolled().pipe(um(null),$g(0,Ug)).subscribe(function(){return e._scrollStrategy.onContentScrolled()}),e._markChangeDetectionNeeded()})})},e.prototype.ngOnDestroy=function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),t.prototype.ngOnDestroy.call(this)},e.prototype.attach=function(t){var e=this;if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular(function(){e._forOf=t,e._forOf.dataStream.pipe(By(e._detachedSubject)).subscribe(function(t){var n=t.length;n!==e._dataLength&&(e._dataLength=n,e._scrollStrategy.onDataLengthChanged()),e._doChangeDetection()})})},e.prototype.detach=function(){this._forOf=null,this._detachedSubject.next()},e.prototype.getDataLength=function(){return this._dataLength},e.prototype.getViewportSize=function(){return this._viewportSize},e.prototype.getRenderedRange=function(){return this._renderedRange},e.prototype.setTotalContentSize=function(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._totalContentSizeTransform="scale"+("horizontal"==this.orientation?"X":"Y")+"("+this._totalContentSize+")",this._markChangeDetectionNeeded())},e.prototype.setRenderedRange=function(t){var e,n,r=this;((e=this._renderedRange).start!=(n=t).start||e.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(function(){return r._scrollStrategy.onContentRendered()}))},e.prototype.getOffsetToRenderedContentStart=function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset},e.prototype.setRenderedContentOffset=function(t,e){var n=this;void 0===e&&(e="to-start");var r="horizontal"==this.orientation,i=r?"X":"Y",o="translate"+i+"("+Number((r&&this.dir&&"rtl"==this.dir.value?-1:1)*t)+"px)";this._renderedContentOffset=t,"to-end"===e&&(o+=" translate"+i+"(-100%)",this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=o&&(this._renderedContentTransform=o,this._markChangeDetectionNeeded(function(){n._renderedContentOffsetNeedsRewrite?(n._renderedContentOffset-=n.measureRenderedContentSize(),n._renderedContentOffsetNeedsRewrite=!1,n.setRenderedContentOffset(n._renderedContentOffset)):n._scrollStrategy.onRenderedOffsetChanged()}))},e.prototype.scrollToOffset=function(t,e){void 0===e&&(e="auto");var n={behavior:e};"horizontal"===this.orientation?n.start=t:n.top=t,this.scrollTo(n)},e.prototype.scrollToIndex=function(t,e){void 0===e&&(e="auto"),this._scrollStrategy.scrollToIndex(t,e)},e.prototype.measureScrollOffset=function(e){return t.prototype.measureScrollOffset.call(this,e||("horizontal"===this.orientation?"start":"top"))},e.prototype.measureRenderedContentSize=function(){var t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight},e.prototype.measureRangeSize=function(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0},e.prototype.checkViewportSize=function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()},e.prototype._measureViewportSize=function(){var t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight},e.prototype._markChangeDetectionNeeded=function(t){var e=this;t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){e._doChangeDetection()})}))},e.prototype._doChangeDetection=function(){var t=this;this._isChangeDetectionPending=!1,this.ngZone.run(function(){return t._changeDetectorRef.markForCheck()}),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform;var e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(var n=0,r=e;n<r.length;n++)(0,r[n])()},e}(fv);function yv(t,e){if(!e.getBoundingClientRect)return 0;var n=e.getBoundingClientRect();return"horizontal"==t?n.width:n.height}var gv=function(){function t(t,e,n,r,i){var o,a,s=this;this._viewContainerRef=t,this._template=e,this._differs=n,this._viewport=r,this.viewChange=new j,this._dataSourceChanges=new j,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.pipe(um(null),function(t){return t.lift(new Xg)},Ju(function(t){return s._changeDataSource(t[0],t[1])}),(void 0===(o=1)&&(o=Number.POSITIVE_INFINITY),void 0===a&&(a=Number.POSITIVE_INFINITY),function(t){return t.lift(function(t,e,n){var r,i,o=0,a=!1,s=!1;return function(n){o++,r&&!a||(a=!1,r=new sv(t,e,void 0),i=n.subscribe({next:function(t){r.next(t)},error:function(t){a=!0,r.error(t)},complete:function(){s=!0,r.complete()}}));var l=r.subscribe(this);return function(){o--,l.unsubscribe(),i&&0===o&&s&&i.unsubscribe()}}}(o,a))})),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new j,this.dataStream.subscribe(function(t){s._data=t,s._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(By(this._destroyed)).subscribe(function(t){s._renderedRange=t,i.run(function(){return s.viewChange.next(s._renderedRange)}),s._onRenderedDataChange()}),this._viewport.attach(this)}return Object.defineProperty(t.prototype,"cdkVirtualForOf",{get:function(){return this._cdkVirtualForOf},set:function(t){this._cdkVirtualForOf=t;var e=t instanceof Vy?t:new jy(t instanceof P?t:Array.prototype.slice.call(t||[]));this._dataSourceChanges.next(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cdkVirtualForTrackBy",{get:function(){return this._cdkVirtualForTrackBy},set:function(t){var e=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?function(n,r){return t(n+(e._renderedRange?e._renderedRange.start:0),r)}:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cdkVirtualForTemplate",{set:function(t){t&&(this._needsUpdate=!0,this._template=t)},enumerable:!0,configurable:!0}),t.prototype.measureRangeSize=function(t,e){if(t.start>=t.end)return 0;if(t.start<this._renderedRange.start||t.end>this._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");for(var n=t.start-this._renderedRange.start,r=0,i=t.end-t.start;i--;)for(var o=this._viewContainerRef.get(i+n),a=o?o.rootNodes.length:0;a--;)r+=yv(e,o.rootNodes[a]);return r},t.prototype.ngDoCheck=function(){if(this._differ&&this._needsUpdate){var t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}},t.prototype.ngOnDestroy=function(){this._viewport.detach(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();for(var t=0,e=this._templateCache;t<e.length;t++)e[t].destroy()},t.prototype._onRenderedDataChange=function(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)},t.prototype._changeDataSource=function(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e.connect(this)},t.prototype._updateContext=function(){for(var t=this._data.length,e=this._viewContainerRef.length;e--;){var n=this._viewContainerRef.get(e);n.context.index=this._renderedRange.start+e,n.context.count=t,this._updateComputedContextProperties(n.context),n.detectChanges()}},t.prototype._applyChanges=function(t){var e=this;t.forEachOperation(function(t,n,r){if(null==t.previousIndex){var i=e._getViewForNewItem();e._viewContainerRef.insert(i,r),i.context.$implicit=t.item}else null==r?e._cacheView(e._viewContainerRef.detach(n)):(i=e._viewContainerRef.get(n),e._viewContainerRef.move(i,r),i.context.$implicit=t.item)}),t.forEachIdentityChange(function(t){e._viewContainerRef.get(t.currentIndex).context.$implicit=t.item});for(var n=this._data.length,r=this._viewContainerRef.length;r--;){var i=this._viewContainerRef.get(r);i.context.index=this._renderedRange.start+r,i.context.count=n,this._updateComputedContextProperties(i.context)}},t.prototype._cacheView=function(t){if(this._templateCache.length<this.cdkVirtualForTemplateCacheSize)this._templateCache.push(t);else{var e=this._viewContainerRef.indexOf(t);-1===e?t.destroy():this._viewContainerRef.remove(e)}},t.prototype._getViewForNewItem=function(){return this._templateCache.pop()||this._viewContainerRef.createEmbeddedView(this._template,{$implicit:null,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1})},t.prototype._updateComputedContextProperties=function(t){t.first=0===t.index,t.last=t.index===t.count-1,t.even=t.index%2==0,t.odd=!t.even},t}(),vv=function(){return function(){}}(),_v=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular(function(){n._change=t.isBrowser?ct(Bg(window,"resize"),Bg(window,"orientationchange")):wu(),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($g(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.ngInjectableDef=kt({factory:function(){return new t(ge(em),ge(Gi))},token:t,providedIn:"root"}),t}();function bv(){throw Error("Host already has a portal attached")}var wv=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()&&bv(),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}(),Cv=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.component=e,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=i,o}return i(e,t),e}(wv),xv=function(t){function e(e,n,r){var i=t.call(this)||this;return i.templateRef=e,i.viewContainerRef=n,i.context=r,i}return i(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}(wv),Sv=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()&&bv(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof Cv?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof xv?(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}(),Ev=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.outletElement=e,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return i(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}(Sv),kv=function(t){function e(e,n){return t.call(this,e,n)||this}return i(e,t),e}(xv),Dv=function(t){function e(e,n){var r=t.call(this)||this;return r._componentFactoryResolver=e,r._viewContainerRef=n,r._isInitialized=!1,r.attached=new Hr,r}return i(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}(Sv),Tv=function(){return function(){}}(),Av=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}(),Rv=function(){function t(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=$f(-this._previousScrollPosition.left),t.style.top=$f(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,r=e.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=r,n.scrollBehavior=i}},t.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}();function Iv(){return Error("Scroll strategy has already been attached.")}var Ov=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 Iv();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}(),Pv=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}();function Nv(t,e){return e.some(function(e){return t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right})}function Fv(t,e){return e.some(function(e){return t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right})}var Mv=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 Iv();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;Nv(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}(),Lv=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new Pv},this.close=function(t){return new Ov(i._scrollDispatcher,i._ngZone,i._viewportRuler,t)},this.block=function(){return new Rv(i._viewportRuler,i._document)},this.reposition=function(t){return new Mv(i._scrollDispatcher,i._viewportRuler,i._ngZone,t)},this._document=r}return t.ngInjectableDef=kt({factory:function(){return new t(ge(dv),ge(_v),ge(Gi),ge(Hc))},token:t,providedIn:"root"}),t}(),Vv=function(){return function(t){var e=this;this.scrollStrategy=new Pv,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t&&Object.keys(t).forEach(function(n){void 0!==t[n]&&(e[n]=t[n])})}}(),jv=function(){return 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}}(),zv=function(){return function(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}();function Bv(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "top", "bottom" or "center".')}function Hv(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "start", "end" or "center".')}var Uv=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,!0),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,!0),this._isAttached=!1)},t.ngInjectableDef=kt({factory:function(){return new t(ge(Hc))},token:t,providedIn:"root"}),t}(),Wv=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(){var t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t.ngInjectableDef=kt({factory:function(){return new t(ge(Hc))},token:t,providedIn:"root"}),t}(),qv=function(){function t(t,e,n,r,i,o,a,s){var l=this;this._portalOutlet=t,this._host=e,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=o,this._document=a,this._location=s,this._backdropElement=null,this._backdropClick=new j,this._attachments=new j,this._detachments=new j,this._locationChanges=b.EMPTY,this._keydownEventsObservable=P.create(function(t){var e=l._keydownEvents.subscribe(t);return l._keydownEventSubscriptions++,function(){e.unsubscribe(),l._keydownEventSubscriptions--}}),this._keydownEvents=new j,this._keydownEventSubscriptions=0,r.scrollStrategy&&r.scrollStrategy.attach(this),this._positionStrategy=r.positionStrategy}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Zu(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(function(){return e.dispose()})),n},t.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}},t.prototype.dispose=function(){var t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEventsObservable},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},t.prototype.updatePositionStrategy=function(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))},t.prototype.updateSize=function(t){this._config=o({},this._config,t),this._updateElementSize()},t.prototype.setDirection=function(t){this._config=o({},this._config,{direction:t}),this._updateElementDirection()},t.prototype.getDirection=function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"},t.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},t.prototype._updateElementSize=function(){var t=this._pane.style;t.width=$f(this._config.width),t.height=$f(this._config.height),t.minWidth=$f(this._config.minWidth),t.minHeight=$f(this._config.minHeight),t.maxWidth=$f(this._config.maxWidth),t.maxHeight=$f(this._config.maxHeight)},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var t=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",function(e){return t._backdropClick.next(e)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},t.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n,r=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null),t._config.backdropClass&&t._toggleClasses(e,t._config.backdropClass,!1),clearTimeout(n)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){e.addEventListener("transitionend",r)}),e.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(r,500)})}},t.prototype._toggleClasses=function(t,e,n){var r=t.classList;Qf(e).forEach(function(t){n?r.add(t):r.remove(t)})},t.prototype._detachContentWhenStable=function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.asObservable().pipe(By(ct(t._attachments,t._detachments))).subscribe(function(){t._pane&&t._host&&0!==t._pane.children.length||(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())})})},t}(),Yv=function(){function t(t,e,n,r,i){var o=this;this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this.scrollables=[],this._preferredPositions=[],this._positionChanges=new j,this._resizeSubscription=b.EMPTY,this._offsetX=0,this._offsetY=0,this._positionChangeSubscriptions=0,this._appliedPanelClasses=[],this.positionChanges=P.create(function(t){var e=o._positionChanges.subscribe(t);return o._positionChangeSubscriptions++,function(){e.unsubscribe(),o._positionChangeSubscriptions--}}),this.setOrigin(t)}return Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})},t.prototype.apply=function(){if(!(this._isDisposed||this._platform&&!this._platform.isBrowser))if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._origin.getBoundingClientRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var t,e=this._originRect,n=this._overlayRect,r=this._viewportRect,i=[],o=0,a=this._preferredPositions;o<a.length;o++){var s=a[o],l=this._getOriginPoint(e,s),u=this._getOverlayPoint(l,n,s),c=this._getOverlayFit(u,n,r,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(c,u,r)?i.push({position:s,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!t||t.overlayFit.visibleArea<c.visibleArea)&&(t={overlayFit:c,overlayPoint:u,originPoint:l,position:s,overlayRect:n})}if(i.length){for(var h=null,p=-1,d=0,f=i;d<f.length;d++){var m=f[d],y=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);y>p&&(p=y,h=m)}return this._isPushed=!1,void this._applyPosition(h.position,h.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}},t.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Kv(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._origin.getBoundingClientRect(),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){this.scrollables=t},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 instanceof gr?t.nativeElement: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;return(t.fitsInViewportVertically||null!=o&&o<=r)&&(t.fitsInViewportHorizontally||null!=a&&a<=i)}},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.x<this._viewportMargin?o.left-n.left-t.x:0,y:i=e.height<o.height?l||-s:t.y<this._viewportMargin?o.top-n.top-t.y:0},{x:t.x+r,y:t.y+i}},t.prototype._applyPosition=function(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChangeSubscriptions>0){var n=this._getScrollVisibility(),r=new zv(t,n);this._positionChanges.next(r)}this._isInitialRender=!1},t.prototype._setTransformOrigin=function(t){if(this._transformOriginSelector){var e,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=t.overlayY;e="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var i=0;i<n.length;i++)n[i].style.transformOrigin=e+" "+r}},t.prototype._calculateBoundingBoxRect=function(t,e){var n,r,i,o,a,s,l=this._viewportRect,u=this._isRtl();if("top"===e.overlayY)r=t.y,n=l.bottom-t.y;else if("bottom"===e.overlayY)n=l.height-(i=l.height-t.y+2*this._viewportMargin)+this._viewportMargin;else{var c=Math.min(l.bottom-t.y+l.top,t.y),h=this._lastBoundingBoxSize.height;r=t.y-c,(n=2*c)>h&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-h/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=l.right-t.x+this._viewportMargin,o=t.x-l.left;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 r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=$f(n.height),r.top=$f(n.top),r.bottom=$f(n.bottom),r.width=$f(n.width),r.left=$f(n.left),r.right=$f(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=$f(i)),o&&(r.maxWidth=$f(o))}this._lastBoundingBoxSize=n,Kv(this._boundingBox.style,r)},t.prototype._resetBoundingBoxStyles=function(){Kv(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){Kv(this._pane.style,{top:"",left:"",bottom:"",right:"",position:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};if(this._hasExactPosition()){var r=this._viewportRuler.getViewportScrollPosition();Kv(n,this._getExactOverlayY(e,t,r)),Kv(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=""),Kv(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e,n){var r={top:null,bottom:null},i=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var o=this._overlayContainer?this._overlayContainer.getContainerElement().getBoundingClientRect().top:0;return i.y-=o,"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":r.top=$f(i.y),r},t.prototype._getExactOverlayX=function(t,e,n){var r={left:null,right:null},i=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?r.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":r.left=$f(i.x),r},t.prototype._getScrollVisibility=function(){var t=this._origin.getBoundingClientRect(),e=this._pane.getBoundingClientRect(),n=this.scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:Fv(t,n),isOriginOutsideView:Nv(t,n),isOverlayClipped:Fv(e,n),isOverlayOutsideView:Nv(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(t,e){return t-Math.max(e,0)},t)},t.prototype._getNarrowedViewportRect=function(){var t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}},t.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},t.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},t.prototype._getOffset=function(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY},t.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(function(t){Hv("originX",t.originX),Bv("originY",t.originY),Hv("overlayX",t.overlayX),Bv("overlayY",t.overlayY)})},t.prototype._addPanelClasses=function(t){var e=this;this._pane&&Qf(t).forEach(function(t){-1===e._appliedPanelClasses.indexOf(t)&&(e._appliedPanelClasses.push(t),e._pane.classList.add(t))})},t.prototype._clearPanelClasses=function(){var t=this;this._pane&&(this._appliedPanelClasses.forEach(function(e){return t._pane.classList.remove(e)}),this._appliedPanelClasses=[])},t}();function Kv(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var Gv=function(){function t(t,e,n,r,i,o){this._preferredPositions=[],this._positionStrategy=new Yv(n,r,i,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}return Object.defineProperty(t.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)},t.prototype.dispose=function(){this._positionStrategy.dispose()},t.prototype.detach=function(){this._positionStrategy.detach()},t.prototype.apply=function(){this._positionStrategy.apply()},t.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},t.prototype.withScrollableContainers=function(t){this._positionStrategy.withScrollableContainers(t)},t.prototype.withFallbackPosition=function(t,e,n,r){var i=new jv(t,e,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this},t.prototype.withDirection=function(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this},t.prototype.withOffsetX=function(t){return this._positionStrategy.withDefaultOffsetX(t),this},t.prototype.withOffsetY=function(t){return this._positionStrategy.withDefaultOffsetY(t),this},t.prototype.withLockedPosition=function(t){return this._positionStrategy.withLockedPosition(t),this},t.prototype.withPositions=function(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},t.prototype.setOrigin=function(t){return this._positionStrategy.setOrigin(t),this},t}(),Zv=function(){function t(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return t.prototype.attach=function(t){var e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1},t.prototype.top=function(t){return void 0===t&&(t=""),this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this},t.prototype.left=function(t){return void 0===t&&(t=""),this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this},t.prototype.bottom=function(t){return void 0===t&&(t=""),this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this},t.prototype.right=function(t){return void 0===t&&(t=""),this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this},t.prototype.width=function(t){return void 0===t&&(t=""),this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this},t.prototype.height=function(t){return void 0===t&&(t=""),this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this},t.prototype.centerHorizontally=function(t){return void 0===t&&(t=""),this.left(t),this._justifyContent="center",this},t.prototype.centerVertically=function(t){return void 0===t&&(t=""),this.top(t),this._alignItems="center",this},t.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===n.width?"0":this._leftOffset,t.marginTop="100%"===n.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,"100%"===n.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===n.height?"flex-start":this._alignItems}},t.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},t}(),Qv=function(){function t(t,e,n,r){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=r}return t.prototype.global=function(){return new Zv},t.prototype.connectedTo=function(t,e,n){return new Gv(e,n,t,this._viewportRuler,this._document)},t.prototype.flexibleConnectedTo=function(t){return new Yv(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)},t.ngInjectableDef=kt({factory:function(){return new t(ge(_v),ge(Hc),ge(em,8),ge(Wv,8))},token:t,providedIn:"root"}),t}(),$v=0,Xv=function(){function t(t,e,n,r,i,o,a,s,l,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._injector=o,this._ngZone=a,this._document=s,this._directionality=l,this._location=u}return t.prototype.create=function(t){var e=this._createHostElement(),n=this._createPaneElement(e),r=this._createPortalOutlet(n),i=new Vv(t);return i.direction=i.direction||this._directionality.value,new qv(r,e,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)},t.prototype.position=function(){return this._positionBuilder},t.prototype._createPaneElement=function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+$v++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e},t.prototype._createHostElement=function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t},t.prototype._createPortalOutlet=function(t){return this._appRef||(this._appRef=this._injector.get(ho)),new Ev(t,this._componentFactoryResolver,this._appRef,this._injector)},t}(),Jv=new At("cdk-connected-overlay-scroll-strategy");function t_(t){return function(){return t.scrollStrategies.reposition()}}var e_=function(){return function(){}}(),n_=20;function r_(t){return Error('Tooltip position "'+t+'" is invalid.')}var i_=new At("mat-tooltip-scroll-strategy");function o_(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:n_})}}var a_=new At("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),s_=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 j,this._scrollStrategy=l;var d=e.nativeElement,f=d.style,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 d.addEventListener(e,t)}),"INPUT"!==d.nodeName&&"TEXTAREA"!==d.nodeName||(f.webkitUserSelect=f.userSelect=f.msUserSelect=""),d.draggable&&"none"===f.webkitUserDrag&&(f.webkitUserDrag=""),s.monitor(e).pipe(By(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&i.run(function(){return p.show()}):i.run(function(){return p.hide(0)})})}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=Kf(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ariaDescriber.describe(this._elementRef.nativeElement,this.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.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 Cv(l_,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(By(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===cm&&(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._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8),n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef);return e.withScrollableContainers(n),e.positionChanges.pipe(By(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:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(By(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([o({},e.main,n.main),o({},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 r_(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 r_(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(Zu(1),By(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}(),l_=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new j,this._isHandset=this._breakpointObserver.observe(zg.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._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}(),u_=function(){return function(){}}(),c_=new At("cdk-dir-doc",{providedIn:"root",factory:function(){return ge(Hc)}}),h_=function(){function t(t){if(this.value="ltr",this.change=new Hr,t){var e=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===e||"rtl"===e?e:"ltr"}}return t.prototype.ngOnDestroy=function(){this.change.complete()},t.ngInjectableDef=kt({factory:function(){return new t(ge(c_,8))},token:t,providedIn:"root"}),t}(),p_=function(){return function(){}}(),d_="accent",f_=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],m_=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;o._platform=n,o._focusMonitor=r,o._animationMode=i,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");for(var a=0,s=f_;a<s.length;a++){var l=s[a];o._hasHostAttributes(l)&&e.nativeElement.classList.add(l)}return o._focusMonitor.monitor(o._elementRef,!0),o.isRoundButton&&(o.color=d_),o}return i(e,t),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(){this._getHostElement().focus()},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<arguments.length;n++)e[n]=arguments[n];return e.some(function(e){return t._getHostElement().hasAttribute(e)})},e}(zm(jm(Bm(function(){return function(t){this._elementRef=t}}())))),y_=function(){return function(){}}();function g_(){return"undefined"!=typeof process}function v_(t){switch(t.length){case 0:return new Ty;case 1:return t[0];default:return new Ay(t)}}function __(t,e,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var a=[],s=[],l=-1,u=null;if(r.forEach(function(t){var n=t.offset,r=n==l,c=r&&u||{};Object.keys(t).forEach(function(n){var r=n,s=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,a),s){case Ry:s=i[n];break;case Sy:s=o[n];break;default:s=e.normalizeStyleValue(n,r,s,a)}c[r]=s}),r||s.push(c),u=c,l=n}),a.length)throw new Error("Unable to animate due to the following errors:\n - "+a.join("\n - "));return s}function b_(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&w_(n,"start",t))});break;case"done":t.onDone(function(){return r(n&&w_(n,"done",t))});break;case"destroy":t.onDestroy(function(){return r(n&&w_(n,"destroy",t))})}}function w_(t,e,n){var r=n.totalTime,i=C_(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 C_(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 x_(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 S_(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var E_=function(t,e){return!1},k_=function(t,e){return!1},D_=function(t,e,n){return[]},T_=g_();if(T_||"undefined"!=typeof Element){if(E_=function(t,e){return t.contains(e)},T_||Element.prototype.matches)k_=function(t,e){return t.matches(e)};else{var A_=Element.prototype,R_=A_.matchesSelector||A_.mozMatchesSelector||A_.msMatchesSelector||A_.oMatchesSelector||A_.webkitMatchesSelector;R_&&(k_=function(t,e){return R_.apply(t,[e])})}D_=function(t,e,n){var r=[];if(n)r.push.apply(r,c(t.querySelectorAll(e)));else{var i=t.querySelector(e);i&&r.push(i)}return r}}var I_=null,O_=!1;function P_(t){I_||(I_=("undefined"!=typeof document?document.body:null)||{},O_=!!I_.style&&"WebkitAppearance"in I_.style);var e=!0;return I_.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in I_.style)&&O_&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in I_.style),e}var N_=k_,F_=E_,M_=D_;function L_(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 V_=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return P_(t)},t.prototype.matchesElement=function(t,e){return N_(t,e)},t.prototype.containsElement=function(t,e){return F_(t,e)},t.prototype.query=function(t,e,n){return M_(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,i,o,a){return void 0===o&&(o=[]),new Ty(n,r)},t}(),j_=function(){function t(){}return t.NOOP=new V_,t}(),z_=1e3;function B_(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:H_(parseFloat(e[1]),e[2])}function H_(t,e){switch(e){case"s":return t*z_;default:return t}}function U_(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=H_(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=H_(Math.floor(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 W_(t,e){return void 0===e&&(e={}),Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function q_(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else W_(t,n);return n}function Y_(t,e,n){return n?e+":"+n+";":""}function K_(t){for(var e="",n=0;n<t.style.length;n++)e+=Y_(0,r=t.style.item(n),t.style.getPropertyValue(r));for(var r in t.style)t.style.hasOwnProperty(r)&&!r.startsWith("_")&&(e+=Y_(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[r]));t.setAttribute("style",e)}function G_(t,e){t.style&&(Object.keys(e).forEach(function(n){var r=nb(n);t.style[r]=e[n]}),g_()&&K_(t))}function Z_(t,e){t.style&&(Object.keys(e).forEach(function(e){var n=nb(e);t.style[n]=""}),g_()&&K_(t))}function Q_(t){return Array.isArray(t)?1==t.length?t[0]:Ey(t):t}var $_=new RegExp("{{\\s*(.+?)\\s*}}","g");function X_(t){var e=[];if("string"==typeof t){for(var n=t.toString(),r=void 0;r=$_.exec(n);)e.push(r[1]);$_.lastIndex=0}return e}function J_(t,e,n){var r=t.toString(),i=r.replace($_,function(t,r){var i=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function tb(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var eb=/-+([a-z0-9])/g;function nb(t){return t.replace(eb,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()})}function rb(t,e){return 0===t||0===e}function ib(t,e,n){var r=Object.keys(n);if(r.length&&e.length){var i=e[0],o=[];if(r.forEach(function(t){i.hasOwnProperty(t)||o.push(t),i[t]=n[t]}),o.length)for(var a=function(){var n=e[s];o.forEach(function(e){n[e]=ab(t,e)})},s=1;s<e.length;s++)a()}return e}function ob(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function ab(t,e){return window.getComputedStyle(t)[e]}var sb="*",lb=new Set(["true","1"]),ub=new Set(["false","0"]);function cb(t,e){var n=lb.has(t)||ub.has(t),r=lb.has(e)||ub.has(e);return function(i,o){var a=t==sb||t==i,s=e==sb||e==o;return!a&&n&&"boolean"==typeof i&&(a=i?lb.has(t):ub.has(t)),!s&&r&&"boolean"==typeof o&&(s=o?lb.has(e):ub.has(e)),a&&s}}var hb=new RegExp("s*:selfs*,?","g");function pb(t,e,n){return new db(t).build(e,n)}var db=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new fb(e);return this._resetContextStyleTimingState(n),ob(this,Q_(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,e){var n=this,r=e.queryCount=0,i=e.depCount=0,o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,l=s.name;l.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,o.push(n.visitState(s,e))}),s.name=l}else if(1==t.type){var u=n.visitTransition(t,e);r+=u.queryCount,i+=u.depCount,a.push(u)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:a,queryCount:r,depCount:i,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(t){if(mb(t)){var e=t;Object.keys(e).forEach(function(t){X_(e[t]).forEach(function(t){o.hasOwnProperty(t)||i.add(t)})})}}),i.size){var a=tb(i.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+a.join(", "))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n,r,i,o=ob(this,Q_(t.animation),e);return{type:1,matchers:(n=t.expr,r=e.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'+t+'" is not supported'),"* => *"}}(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(cb(o,s)),"<"!=a[0]||o==sb&&s==sb||e.push(cb(s,o))}(t,i,r)}):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:yb(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return ob(n,t,e)}),options:yb(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=ob(n,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:yb(t.options)}},t.prototype.visitAnimate=function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return gb(U_(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=gb(0,0,"");return i.dynamic=!0,i.strValue=r,i}return gb((n=n||U_(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var i=t.styles?t.styles:ky({});if(5==i.type)n=this.visitKeyframes(i,e);else{var o=t.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=ky(s)}e.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,e);l.isEmptyStep=a,n=l}return e.currentAnimateTimings=null,{type:4,timings:r,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==Sy?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,i=null;return n.forEach(function(t){if(mb(t)){var e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(var o in e)if(e[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,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=e.collectedStyles[e.currentQuerySelector],c=u[r],h=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),h=!1),o=c.startTime),h&&(u[r]={startTime:o,endTime:i}),e.options&&(a=e.errors,s=e.options.params||{},(l=X_(t[r])).length&&l.forEach(function(t){s.hasOwnProperty(t)||a.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(mb(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(mb(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||c<l,l=c,o.push(c),r});s&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&e.errors.push("Please ensure that all keyframe offsets are in order");var c=t.steps.length,h=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(h=1/(c-1));var p=c-1,d=e.currentTime,f=e.currentAnimateTimings,m=f.duration;return u.forEach(function(t,i){var a=h>0?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:ob(this,Q_(t.animation),e),options:yb(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:yb(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:yb(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=u(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(hb,"")),[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,x_(e.collectedStyles,e.currentQuerySelector,{});var s=ob(this,Q_(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:yb(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"}:U_(t.timings,e.errors,!0);return{type:12,animation:ob(this,Q_(t.animation),e),timings:n,options:null}},t}(),fb=function(){return 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 mb(t){return!Array.isArray(t)&&"object"==typeof t}function yb(t){var e;return t?(t=W_(t)).params&&(t.params=(e=t.params)?W_(e):null):t={},t}function gb(t,e,n){return{duration:t,delay:e,easing:n}}function vb(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 _b=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,c(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),bb=new RegExp(":enter","g"),wb=new RegExp(":leave","g");function Cb(t,e,n,r,i,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new xb).buildKeyframes(t,e,n,r,i,o,a,s,l,u)}var xb=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 _b;var c=new Eb(t,e,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),ob(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()}):[vb(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?B_(n.duration):null,o=null!=n.delay?B_(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),ob(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=Sb);var a=B_(o.delay);i.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return ob(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?B_(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),ob(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 U_(e.params?J_(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?B_(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Sb);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),ob(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;ob(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),Sb={},Eb=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=Sb,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new kb(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=B_(r.duration)),null!=r.delay&&(i.delay=B_(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]=J_(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=Sb,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 Db(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(bb,"."+this._enterClassName)).replace(wb,"."+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,c(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}(),kb=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]||Sy,e._currentKeyframe[t]=Sy}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},a=function(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){r[t]=Sy}):q_(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=J_(a[t],o,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:Sy),i._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,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,a){var s=q_(o,!0);Object.keys(s).forEach(function(t){var r=s[t];r==Ry?e.add(t):r==Sy&&n.add(t)}),r||(s.offset=a/t.duration),i.push(s)});var o=e.size?tb(e.values()):[],a=n.size?tb(n.values()):[];if(r){var s=i[0],l=W_(s);s.offset=0,l.offset=1,i=[s,l]}return vb(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)},t}(),Db=function(t){function e(e,n,r,i,o,a,s){void 0===s&&(s=!1);var l=t.call(this,e,n,a.delay)||this;return l.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 i(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=q_(t[0],!1);l.offset=0,o.push(l);var u=q_(t[0],!1);u.offset=Tb(s),o.push(u);for(var c=t.length-1,h=1;h<=c;h++){var p=q_(t[h],!1);p.offset=Tb((n+p.offset*r)/a),o.push(p)}r=a,n=0,i="",t=o}return vb(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(kb);function Tb(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var Ab=function(){return function(){}}(),Rb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.normalizePropertyName=function(t,e){return nb(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(Ib[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}(Ab),Ib=Ob("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function Ob(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}function Pb(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 Nb={},Fb=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,a,s,l,u,c){var h=[],p=this.ast.options&&this.ast.options.params||Nb,d=this.buildStyles(n,s&&s.params||Nb,h),f=l&&l.params||Nb,m=this.buildStyles(r,f,h),y=new Set,g=new Map,v=new Map,_="void"===r,b={params:o({},p,f)},w=c?[]:Cb(t,e,this.ast.animation,i,a,d,m,b,u,h),C=0;if(w.forEach(function(t){C=Math.max(t.duration+t.delay,C)}),h.length)return Pb(e,this._triggerName,n,r,_,d,m,[],[],g,v,C,h);w.forEach(function(t){var n=t.element,r=x_(g,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=x_(v,n,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),n!==e&&y.add(n)});var x=tb(y.values());return Pb(e,this._triggerName,n,r,_,d,m,w,x,g,v,C)},t}(),Mb=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=W_(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=J_(o,r,e)),n[t]=o})}}),n},t}(),Lb=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 Mb(t.style,t.options&&t.options.params||{})}),Vb(this.states,"true","1"),Vb(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new Fb(t,e,n.states))}),this.fallbackTransition=new Fb(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 Vb(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var jb=new _b,zb=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=pb(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=__(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 r=this;void 0===n&&(n={});var i,o=[],a=this._animations[t],s=new Map;if(a?(i=Cb(this._driver,e,a,"ng-enter","ng-leave",{},{},n,jb,o)).forEach(function(t){var e=x_(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=r._driver.computeStyle(e,n,Sy)})});var l=v_(i.map(function(t){var e=s.get(t.element);return r._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(function(){return r.destroy(t)}),this.players.push(l),l},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=C_(e,"","","");return b_(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}(),Bb=[],Hb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ub={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Wb="__ng_removed",qb=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=W_(t);delete r.value,this.options=r}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}(),Yb=new qb("void"),Kb=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,ew(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=x_(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var l=x_(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(ew(t,"ng-trigger"),ew(t,"ng-trigger-"+e),l[e]=Yb),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 Zb(this.id,e,t),s=this._engine.statesByElement.get(t);s||(ew(t,"ng-trigger"),ew(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new qb(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=Yb),"void"===u.value||l.value!==u.value){var c=x_(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(l.value,u.value,t,u.params),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:u,player:a,isFallbackTransition:p}),p||(ew(t,"ng-animate-queued"),a.onStart(function(){nw(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),c.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<n.length;i++){var o=n[i];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}(l.params,u.params)){var d=[],f=o.matchStyles(l.value,l.params,d),m=o.matchStyles(u.value,u.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(function(){Z_(t,f),G_(t,m)})}},t.prototype.deregister=function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,r){e._elementListeners.set(r,n.filter(function(e){return e.name!=t}))})},t.prototype.clearElementCache=function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))},t.prototype._signalRemovalForInnerTriggers=function(t,e,n){var r=this;void 0===n&&(n=!1),this._engine.driver.query(t,".ng-trigger",!0).forEach(function(t){if(!t[Wb]){var n=r._engine.fetchNamespacesByElement(t);n.size?n.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):r.clearElementCache(t)}})},t.prototype.triggerLeaveAnimation=function(t,e,n,r){var i=this,o=this._engine.statesByElement.get(t);if(o){var a=[];if(Object.keys(o).forEach(function(e){if(i._triggers[e]){var n=i.trigger(t,e,"void",r);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&v_(a).onDone(function(){return i._engine.processLeaveNode(t)}),!0}return!1},t.prototype.prepareLeaveAnimationListeners=function(t){var e=this,n=this._elementListeners.get(t);if(n){var r=new Set;n.forEach(function(n){var i=n.name;if(!r.has(i)){r.add(i);var o=e._triggers[i].fallbackTransition,a=e._engine.statesByElement.get(t)[i]||Yb,s=new qb("void"),l=new Zb(e.id,i,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:i,transition:o,fromState:a,toState:s,player:l,isFallbackTransition:!0})}})}},t.prototype.removeNode=function(t,e){var n=this,r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),!this.triggerLeaveAnimation(t,e,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else for(var a=t;a=a.parentNode;)if(r.statesByElement.get(a)){i=!0;break}}this.prepareLeaveAnimationListeners(t),i?r.markElementAsRemoved(this.id,t,!1,e):(r.afterFlush(function(){return n.clearElementCache(t)}),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}},t.prototype.insertNode=function(t,e){ew(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(t){var e=this,n=[];return this._queue.forEach(function(r){var i=r.player;if(!i.destroyed){var o=r.element,a=e._elementListeners.get(o);a&&a.forEach(function(e){if(e.name==r.triggerName){var n=C_(o,r.triggerName,r.fromState.value,r.toState.value);n._data=t,b_(r.player,e.phase,n,e.callback)}}),i.markedForDestroy?e._engine.afterFlush(function(){i.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(t,n){var r=t.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:e._engine.driver.containsElement(t.element,n.element)?1:-1})},t.prototype.destroy=function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)},t.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),!!this._queue.find(function(e){return e.element===t})||e},t}(),Gb=function(){function t(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new Kb(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){var n=this._namespaceList.length-1;if(n>=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<r.length;i++){var o=n[r[i]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&e.add(a)}}return e},t.prototype.trigger=function(t,e,n,r){if(Qb(e)){var i=this._fetchNamespace(t);if(i)return i.trigger(e,n,r),!0}return!1},t.prototype.insertNode=function(t,e,n,r){if(Qb(e)){var i=e[Wb];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}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),ew(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),nw(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n){if(Qb(e)){var r=t?this._fetchNamespace(t):null;r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[Wb]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return Qb(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 v_(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[Wb];if(n&&n.setForRemoval){if(t[Wb]=Hb,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(n){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<this.collectedEnterElements.length;r++)ew(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{n=this._flushAnimations(i,t)}finally{for(r=0;r<i.length;r++)i[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var o=this._whenQuietFns;this._whenQuietFns=[],n.length?v_(n).onDone(function(){o.forEach(function(t){return t()})}):o.forEach(function(t){return t()})}},t.prototype.reportError=function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))},t.prototype._flushAnimations=function(t,e){var n=this,r=new _b,i=[],a=new Map,s=[],l=new Map,u=new Map,h=new Map,p=new Set;this.disabledNodes.forEach(function(t){p.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),r=0;r<e.length;r++)p.add(e[r])});var d=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=Jb(f,this.collectedEnterElements),y=new Map,g=0;m.forEach(function(t,e){var n="ng-enter"+g++;y.set(e,n),t.forEach(function(t){return ew(t,n)})});for(var v=[],_=new Set,b=new Set,w=0;w<this.collectedLeaveElements.length;w++)(V=(L=this.collectedLeaveElements[w])[Wb])&&V.setForRemoval&&(v.push(L),_.add(L),V.hasAnimation?this.driver.query(L,".ng-star-inserted",!0).forEach(function(t){return _.add(t)}):b.add(L));var C=new Map,x=Jb(f,Array.from(_));x.forEach(function(t,e){var n="ng-leave"+g++;C.set(e,n),t.forEach(function(t){return ew(t,n)})}),t.push(function(){m.forEach(function(t,e){var n=y.get(e);t.forEach(function(t){return nw(t,n)})}),x.forEach(function(t,e){var n=C.get(e);t.forEach(function(t){return nw(t,n)})}),v.forEach(function(t){n.processLeaveNode(t)})});for(var S=[],E=[],k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(e).forEach(function(t){var e=t.player,o=t.element;if(S.push(e),n.collectedEnterElements.length){var a=o[Wb];if(a&&a.setForMove)return void e.destroy()}var c=!d||!n.driver.containsElement(d,o),p=C.get(o),f=y.get(o),m=n._buildInstruction(t,r,f,p,c);if(m.errors&&m.errors.length)E.push(m);else{if(c)return e.onStart(function(){return Z_(o,m.fromStyles)}),e.onDestroy(function(){return G_(o,m.toStyles)}),void i.push(e);if(t.isFallbackTransition)return e.onStart(function(){return Z_(o,m.fromStyles)}),e.onDestroy(function(){return G_(o,m.toStyles)}),void i.push(e);m.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(o,m.timelines),s.push({instruction:m,player:e,element:o}),m.queriedElements.forEach(function(t){return x_(l,t,[]).push(e)}),m.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=u.get(e);r||u.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),m.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=h.get(e);r||h.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}});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 T=new Map,A=new Map;s.forEach(function(t){var e=t.element;r.has(e)&&(A.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,T))}),i.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){x_(T,e,[]).push(t),t.destroy()})});var R=v.filter(function(t){return iw(t,u,h)}),I=new Map;Xb(I,this.driver,b,h,Sy).forEach(function(t){iw(t,u,h)&&R.push(t)});var O=new Map;m.forEach(function(t,e){Xb(O,n.driver,new Set(t),u,Ry)}),R.forEach(function(t){var e=I.get(t),n=O.get(t);I.set(t,o({},e,n))});var P=[],N=[],F={};s.forEach(function(t){var e=t.element,o=t.player,s=t.instruction;if(r.has(e)){if(p.has(e))return o.onDestroy(function(){return G_(e,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void i.push(o);var l=F;if(A.size>1){for(var u=e,c=[];u=u.parentNode;){var h=A.get(u);if(h){l=h;break}c.push(u)}c.forEach(function(t){return A.set(t,l)})}var d=n._buildAnimation(o.namespaceId,s,T,a,O,I);if(o.setRealPlayer(d),l===F)P.push(o);else{var f=n.playersByElement.get(l);f&&f.length&&(o.parentPlayer=v_(f)),i.push(o)}}else Z_(e,s.fromStyles),o.onDestroy(function(){return G_(e,s.toStyles)}),N.push(o),p.has(e)&&i.push(o)}),N.forEach(function(t){var e=a.get(t.element);if(e&&e.length){var n=v_(e);t.setRealPlayer(n)}}),i.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var M=0;M<v.length;M++){var L,V=(L=v[M])[Wb];if(nw(L,"ng-leave"),!V||!V.hasAnimation){var j=[];if(l.size){var z=l.get(L);z&&z.length&&j.push.apply(j,c(z));for(var B=this.driver.query(L,".ng-animating",!0),H=0;H<B.length;H++){var U=l.get(B[H]);U&&U.length&&j.push.apply(j,c(U))}}var W=j.filter(function(t){return!t.destroyed});W.length?rw(this,L,W):this.processLeaveNode(L)}}return v.length=0,P.forEach(function(t){n.players.push(t),t.onDone(function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)}),t.play()}),P},t.prototype.elementContainsData=function(t,e){var n=!1,r=e[Wb];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n},t.prototype.afterFlush=function(t){this._flushFns.push(t)},t.prototype.afterFlushAnimationsDone=function(t){this._whenQuietFns.push(t)},t.prototype._getPreviousPlayers=function(t,e,n,r,i){var o=[];if(e){var a=this.playersByQueriedElement.get(t);a&&(o=a)}else{var s=this.playersByElement.get(t);if(s){var l=!i||"void"==i;s.forEach(function(t){t.queued||(l||t.triggerName==r)&&o.push(t)})}}return(n||r)&&(o=o.filter(function(t){return!(n&&n!=t.namespaceId||r&&r!=t.triggerName)})),o},t.prototype._beforeAnimationBuild=function(t,e,n){var r,i,o=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName,u=function(t){var r=t.element,i=r!==o,l=x_(n,r,[]);c._getPreviousPlayers(r,i,a,s,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})},c=this;try{for(var h=l(e.timelines),p=h.next();!p.done;p=h.next())u(p.value)}catch(d){r={error:d}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}Z_(o,e.fromStyles)},t.prototype._buildAnimation=function(t,e,n,r,i,o){var a=this,s=e.triggerName,l=e.element,u=[],c=new Set,h=new Set,p=e.timelines.map(function(e){var p=e.element;c.add(p);var d=p[Wb];if(d&&d.removedBeforeQueried)return new Ty(e.duration,e.delay);var f,m,y=p!==l,g=(f=(n.get(p)||Bb).map(function(t){return t.getRealPlayer()}),m=[],function t(e,n){for(var r=0;r<e.length;r++){var i=e[r];i instanceof Ay?t(i.players,n):n.push(i)}}(f,m),m).filter(function(t){return!!t.element&&t.element===p}),v=i.get(p),_=o.get(p),b=__(0,a._normalizer,0,e.keyframes,v,_),w=a._buildPlayer(e,b,g);if(e.subTimeline&&r&&h.add(p),y){var C=new Zb(t,s,p);C.setRealPlayer(w),u.push(C)}return w});u.forEach(function(t){x_(a.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var r;if(t instanceof Map){if(r=t.get(e)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&t.delete(e)}}else(r=t[e])&&(r.length&&(i=r.indexOf(n),r.splice(i,1)),0==r.length&&delete t[e]);return r}(a.playersByQueriedElement,t.element,t)})}),c.forEach(function(t){return ew(t,"ng-animating")});var d=v_(p);return d.onDestroy(function(){c.forEach(function(t){return nw(t,"ng-animating")}),G_(l,e.toStyles)}),h.forEach(function(t){x_(r,t,[]).push(d)}),d},t.prototype._buildPlayer=function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Ty(t.duration,t.delay)},t}(),Zb=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Ty,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 b_(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){x_(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 Qb(t){return t&&1===t.nodeType}function $b(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Xb(t,e,n,r,i){var o=[];n.forEach(function(t){return o.push($b(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[Wb]=Ub,a.push(r))}),t.set(r,o)});var s=0;return n.forEach(function(t){return $b(t,o[s++])}),a}function Jb(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 tw="$$classes";function ew(t,e){if(t.classList)t.classList.add(e);else{var n=t[tw];n||(n=t[tw]={}),n[e]=!0}}function nw(t,e){if(t.classList)t.classList.remove(e);else{var n=t[tw];n&&delete n[e]}}function rw(t,e,n){v_(n).onDone(function(){return t.processLeaveNode(e)})}function iw(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 ow=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 Gb(t,e,n),this._timelineEngine=new zb(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=pb(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 Lb(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){this._transitionEngine.removeNode(t,e,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=u(S_(n),2);this._timelineEngine.command(i[0],e,i[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=u(S_(n),2);return this._timelineEngine.listen(o[0],e,o[1],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}(),aw="animation",sw="animationend",lw=function(){function t(t,e,n,r,i,o,a){var s=this;this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return s._handleCallback(t)}}return t.prototype.apply=function(){var t,e,n;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=fw(t=this._element,"").trim()).length&&(function(t,e){for(var n=0;n<t.length;n++)","===t.charAt(n)&&0}(n),e=n+", "+e),dw(t,"",e),pw(this._element,this._eventFn,!1),this._startTime=Date.now()},t.prototype.pause=function(){uw(this._element,this._name,"paused")},t.prototype.resume=function(){uw(this._element,this._name,"running")},t.prototype.setPosition=function(t){var e=cw(this._element,this._name);this._position=t*this._duration,dw(this._element,"Delay","-"+this._position+"ms",e)},t.prototype.getPosition=function(){return this._position},t.prototype._handleCallback=function(t){var e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),pw(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(r=hw(n=fw(t=this._element,"").split(","),e))>=0&&(n.splice(r,1),dw(t,"",n.join(","))))},t}();function uw(t,e,n){dw(t,"PlayState",n,cw(t,e))}function cw(t,e){var n=fw(t,"");return n.indexOf(",")>0?hw(n.split(","),e):hw([n],e)}function hw(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function pw(t,e,n){n?t.removeEventListener(sw,e):t.addEventListener(sw,e)}function dw(t,e,n,r){var i=aw+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 fw(t,e){return t.style[aw+e]}var mw="linear",yw=function(){function t(t,e,n,r,i,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||mw,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._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._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._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 lw(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]:ab(t.element,r))})}this.currentSnapshot=e},t}(),gw=function(t){function e(e,n){var r=t.call(this)||this;return r.element=e,r._startingStyles={},r.__initialized=!1,r._styles=L_(n),r}return i(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}(Ty),vw=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return P_(t)},t.prototype.matchesElement=function(t,e){return N_(t,e)},t.prototype.containsElement=function(t,e){return F_(t,e)},t.prototype.query=function(t,e,n){return M_(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 L_(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 yw}),l={};rb(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=ib(t,e,l));if(0==n)return new gw(t,u);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);var p=new yw(t,e,c,n,r,i,u);return p.onDestroy(function(){var t;(t=h).parentNode.removeChild(t)}),p},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}(),_w=function(){function t(t,e,n){this.element=t,this.keyframes=e,this.options=n,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.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),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._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]:ab(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}(),bw=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ww().toString()),this._cssKeyframesDriver=new vw}return t.prototype.validateStyleProperty=function(t){return P_(t)},t.prototype.matchesElement=function(t,e){return N_(t,e)},t.prototype.containsElement=function(t,e){return F_(t,e)},t.prototype.query=function(t,e,n){return M_(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 _w});return rb(n,r)&&u.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return l[t]=e[t]})}),e=ib(t,e=e.map(function(t){return q_(t,!1)}),l),new _w(t,e,s)},t}();function ww(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Cw=function(t){function e(e,n){var r=t.call(this)||this;return r._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:_e.None,styles:[],data:{animation:[]}}),r}return i(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Ey(t):t;return Ew(this._renderer,null,e,"register",[n]),new xw(e,this._renderer)},e}(Cy),xw=function(t){function e(e,n){var r=t.call(this)||this;return r._id=e,r._renderer=n,r}return i(e,t),e.prototype.create=function(t,e){return new Sw(this._id,t,e||{},this._renderer)},e}(xy),Sw=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Ew(this._renderer,this.element,this.id,t,e)},t.prototype.onDone=function(t){this._listen("done",t)},t.prototype.onStart=function(t){this._listen("start",t)},t.prototype.onDestroy=function(t){this._listen("destroy",t)},t.prototype.init=function(){this._command("init")},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this._command("play"),this._started=!0},t.prototype.pause=function(){this._command("pause")},t.prototype.restart=function(){this._command("restart")},t.prototype.finish=function(){this._command("finish")},t.prototype.destroy=function(){this._command("destroy")},t.prototype.reset=function(){this._command("reset")},t.prototype.setPosition=function(t){this._command("setPosition",t)},t.prototype.getPosition=function(){return 0},t}();function Ew(t,e,n,r,i){return t.setProperty(e,"@@"+n+":"+r,i)}var kw=function(){function t(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return t.prototype.createRenderer=function(t,e){var n=this,r=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var i=this._rendererCache.get(r);return i||(i=new Dw("",r,this.engine),this._rendererCache.set(r,i)),i}var o=e.id,a=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,t),e.data.animation.forEach(function(e){return n.engine.registerTrigger(o,a,t,e.name,e)}),new Tw(this,a,r,this.engine)},t.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},t.prototype._scheduleCountTask=function(){var t=this;this.promise.then(function(){t._microtaskId++})},t.prototype.scheduleListenerCallback=function(t,e,n){var r=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(t){var e=u(t,2);(0,e[0])(e[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))},t.prototype.end=function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},t}(),Dw=function(){function t(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(t){return e.destroyNode(t)}:null}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},t.prototype.createElement=function(t,e){return this.delegate.createElement(t,e)},t.prototype.createComment=function(t){return this.delegate.createComment(t)},t.prototype.createText=function(t){return this.delegate.createText(t)},t.prototype.appendChild=function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)},t.prototype.insertBefore=function(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)},t.prototype.removeChild=function(t,e){this.engine.onRemove(this.namespaceId,e,this.delegate)},t.prototype.selectRootElement=function(t,e){return this.delegate.selectRootElement(t,e)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setAttribute=function(t,e,n,r){this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)},t.prototype.setValue=function(t,e){this.delegate.setValue(t,e)},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.disableAnimations=function(t,e){this.engine.disableAnimations(t,e)},t}(),Tw=function(t){function e(e,n,r,i){var o=t.call(this,n,r,i)||this;return o.factory=e,o.namespaceId=n,o}return i(e,t),e.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)},e.prototype.listen=function(t,e,n){var r,i,o,a=this;if("@"==e.charAt(0)){var s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),l=e.substr(1),c="";return"@"!=l.charAt(0)&&(l=(r=u((i=l,o=i.indexOf("."),[i.substring(0,o),i.substr(o+1)]),2))[0],c=r[1]),this.engine.listen(this.namespaceId,s,l,c,function(t){a.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)},e}(Dw),Aw=function(t){function e(e,n,r){return t.call(this,e.body,n,r)||this}return i(e,t),e}(ow);function Rw(){return"function"==typeof ww()?new bw:new vw}function Iw(){return new Rb}function Ow(t,e,n){return new kw(t,e,n)}var Pw=new At("AnimationModuleType"),Nw=function(){return function(){}}(),Fw=da({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-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 screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.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 screen and (-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 Mw(t){return sl(2,[Gs(402653184,1,{ripple:0}),(t()(),Ua(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),Js(null,0),(t()(),Ua(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)),Is(4,212992,[[1,4]],0,gy,[gr,Gi,em,[2,yy],[2,Pw]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),Ua(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,vs(e,4).unbounded)})}var Lw=da({encapsulation:2,styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-footer-row,mat-row{min-height:48px}mat-footer-row,mat-header-row,mat-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-footer-row::after,mat-header-row::after,mat-row::after{display:inline-block;min-height:inherit;content:''}mat-cell:first-of-type,mat-footer-cell:first-of-type,mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-footer-cell:last-of-type,mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-footer-cell,mat-header-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-footer-row,tr.mat-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type,[dir=rtl] th.mat-header-cell:first-of-type{padding-left:0;padding-right:24px}td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type,th.mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type,[dir=rtl] th.mat-header-cell:last-of-type{padding-right:0;padding-left:24px}"],data:{}});function Vw(t){return sl(2,[Gs(402653184,1,{_rowOutlet:0}),Gs(402653184,2,{_headerRowOutlet:0}),Gs(402653184,3,{_footerRowOutlet:0}),(t()(),Ua(3,16777216,null,null,1,null,null,null,null,null,null,null)),Is(4,16384,[[2,4]],0,sg,[wo,gr],null,null),(t()(),Ua(5,16777216,null,null,1,null,null,null,null,null,null,null)),Is(6,16384,[[1,4]],0,ag,[wo,gr],null,null),(t()(),Ua(7,16777216,null,null,1,null,null,null,null,null,null,null)),Is(8,16384,[[3,4]],0,lg,[wo,gr],null,null)],null,null)}var jw=da({encapsulation:2,styles:[],data:{}});function zw(t){return sl(2,[(t()(),Ua(0,16777216,null,null,1,null,null,null,null,null,null,null)),Is(1,147456,null,0,eg,[wo],null,null)],null,null)}var Bw=da({encapsulation:2,styles:[],data:{}});function Hw(t){return sl(2,[(t()(),Ua(0,16777216,null,null,1,null,null,null,null,null,null,null)),Is(1,147456,null,0,eg,[wo],null,null)],null,null)}var Uw=function(){return function(){}}();function Ww(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}var qw=0,Yw=zm(function(){return function(t){this._elementRef=t}}(),"primary"),Kw=new At("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Gw=function(t){function e(e,n,r,i,o,a,s,l){var u=t.call(this,e)||this;return u._elementRef=e,u._changeDetectorRef=n,u._dir=i,u._defaults=o,u._platform=a,u._ngZone=s,u._outlineGapCalculationNeeded=!1,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+qw++,u._labelId="mat-form-field-label-"+qw++,u._labelOptions=r||{},u.floatLabel=u._labelOptions.float||"auto",u._animationsEnabled="NoopAnimations"!==l,u.appearance=o&&o.appearance?o.appearance:"legacy",u}return i(e,t),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&this._updateOutlineGapOnStable()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=Kf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(um(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.subscribe(function(){return t._changeDetectorRef.markForCheck()}),ct(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){t._updateOutlineGapOnStable(),t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(um(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(um(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeeded&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Bg(this._label.nativeElement,"transitionend").pipe(Zu(1)).subscribe(function(){t._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t=this;if(this._hintChildren){var e=void 0,n=void 0;this._hintChildren.forEach(function(r){if("start"===r.align){if(e||t.hintLabel)throw Ww("start");e=r}else if("end"===r.align){if(n)throw Ww("end");n=r}})}},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(function(t){return t.id}));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&(!this._platform||this._platform.isBrowser))if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,n=0,r=this._connectionContainerRef.nativeElement.querySelectorAll(".mat-form-field-outline-start"),i=this._connectionContainerRef.nativeElement.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){for(var o=this._getStartEnd(this._connectionContainerRef.nativeElement.getBoundingClientRect()),a=this._getStartEnd(t.children[0].getBoundingClientRect()),s=0,l=0,u=t.children;l<u.length;l++)s+=u[l].offsetWidth;e=a-o-5,n=s>0?.75*s+10:0}for(var c=0;c<r.length;c++)r.item(c).style.width=e+"px";for(c=0;c<i.length;c++)i.item(c).style.width=n+"px";this._outlineGapCalculationNeeded=!1}else this._outlineGapCalculationNeeded=!0},e.prototype._getStartEnd=function(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left},e.prototype._updateOutlineGapOnStable=function(){var t=this;this._ngZone?this._ngZone.onStable.pipe(Zu(1)).subscribe(function(){return t.updateOutlineGap()}):Promise.resolve().then(function(){return t.updateOutlineGap()})},e}(Yw),Zw=function(){return function(){}}(),Qw=function(){function t(){}return t.prototype.create=function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)},t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),$w=function(){function t(t){this._mutationObserverFactory=t,this._observedElements=new Map}return t.prototype.ngOnDestroy=function(){var t=this;this._observedElements.forEach(function(e,n){return t._cleanupObserver(n)})},t.prototype.observe=function(t){var e=this,n=t instanceof gr?t.nativeElement:t;return P.create(function(t){var r=e._observeElement(n).subscribe(t);return function(){r.unsubscribe(),e._unobserveElement(n)}})},t.prototype._observeElement=function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new j,n=this._mutationObserverFactory.create(function(t){return e.next(t)});n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream},t.prototype._unobserveElement=function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))},t.prototype._cleanupObserver=function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,r=e.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(t)}},t.ngInjectableDef=kt({factory:function(){return new t(ge(Qw))},token:t,providedIn:"root"}),t}(),Xw=function(){function t(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new Hr,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Kf(t),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"debounce",{get:function(){return this._debounce},set:function(t){this._debounce=Gf(t),this._subscribe()},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},t.prototype.ngOnDestroy=function(){this._unsubscribe()},t.prototype._subscribe=function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?e.pipe(mm(t.debounce)):e).subscribe(t.event)})},t.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},t}(),Jw=function(){return function(){}}(),tC=da({encapsulation:2,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media screen and (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media screen and (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media screen and (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}",".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media screen and (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media screen and (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media screen and (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media screen and (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media screen and (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media screen and (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function eC(t){return sl(0,[(t()(),Ua(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),Ua(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),Ua(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Ua(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Ua(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),Ua(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),Ua(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Ua(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Ua(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function nC(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),Js(null,0)],null,null)}function rC(t){return sl(0,[(t()(),Ua(0,0,null,null,2,null,null,null,null,null,null,null)),Js(null,2),(t()(),il(2,null,["",""]))],null,function(t,e){t(e,2,0,e.component._control.placeholder)})}function iC(t){return sl(0,[Js(null,3),(t()(),Ha(0,null,null,0))],null,null)}function oC(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),il(-1,null,["\xa0*"]))],null,null)}function aC(t){return sl(0,[(t()(),Ua(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component.updateOutlineGap()&&r),r},null,null)),Is(1,16384,null,0,Pc,[],{ngSwitch:[0,"ngSwitch"]},null),Is(2,1196032,null,0,Xw,[$w,gr,Gi],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),Ha(16777216,null,null,1,null,rC)),Is(4,278528,null,0,Nc,[wo,Ur,Pc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ha(16777216,null,null,1,null,iC)),Is(6,278528,null,0,Nc,[wo,Ur,Pc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ha(16777216,null,null,1,null,oC)),Is(8,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)},function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)})}function sC(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),Js(null,4)],null,null)}function lC(t){return sl(0,[(t()(),Ua(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),Ua(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)})}function uC(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),Js(null,5)],null,function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function cC(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),il(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)})}function hC(t){return sl(0,[(t()(),Ua(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),Ha(16777216,null,null,1,null,cC)),Is(2,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),Js(null,6),(t()(),Ua(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),Js(null,7)],function(t,e){t(e,2,0,e.component.hintLabel)},function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function pC(t){return sl(2,[Gs(671088640,1,{underlineRef:0}),Gs(402653184,2,{_connectionContainerRef:0}),Gs(402653184,3,{_inputContainerRef:0}),Gs(671088640,4,{_label:0}),(t()(),Ua(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),Ua(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&r),r},null,null)),(t()(),Ha(16777216,null,null,1,null,eC)),Is(7,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),(t()(),Ha(16777216,null,null,1,null,nC)),Is(9,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),(t()(),Ua(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),Js(null,1),(t()(),Ua(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),Ha(16777216,null,null,1,null,aC)),Is(14,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),(t()(),Ha(16777216,null,null,1,null,sC)),Is(16,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),(t()(),Ha(16777216,null,null,1,null,lC)),Is(18,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),(t()(),Ua(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),Is(20,16384,null,0,Pc,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ha(16777216,null,null,1,null,uC)),Is(22,278528,null,0,Nc,[wo,Ur,Pc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ha(16777216,null,null,1,null,hC)),Is(24,278528,null,0,Nc,[wo,Ur,Pc],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")},null)}var dC=om({passive:!0}),fC=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 vu;var n=t instanceof gr?t.nativeElement:t,r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new j,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,dC),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",a,dC)}}),i.asObservable()},t.prototype.stopMonitoring=function(t){var e=t instanceof gr?t.nativeElement: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=kt({factory:function(){return new t(ge(em),ge(Gi))},token:t,providedIn:"root"}),t}(),mC=function(){return function(){}}(),yC=["button","checkbox","file","hidden","image","radio","range","reset","submit"],gC=0,vC=function(t){function e(e,n,r,i,o,a,s,l,u){var c=t.call(this,a,i,o,r)||this;c._elementRef=e,c._platform=n,c.ngControl=r,c._autofillMonitor=l,c._uid="mat-input-"+gC++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new j,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 im().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 i(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=Kf(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=Kf(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()&&im().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=Kf(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(){this._elementRef.nativeElement.focus()},e.prototype._focusChanged=function(t){t===this.focused||this.readonly||(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(yC.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;return t.multiple||!this.empty||!!t.options[0].label||this.focused}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}(Hm(function(){return function(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r}}())),_C=function(){return function(){}}();function bC(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&h(e[0])&&(e=e[0]),0===e.length?vu:t?bC(e).pipe(tt(function(e){return t.apply(void 0,e)})):new P(function(t){return new wC(t,e)})}var wC=function(t){function e(e,n){var r=t.call(this,e)||this;r.sources=n,r.completed=0,r.haveValues=0;var i=n.length;r.values=new Array(i);for(var o=0;o<i;o++){var a=X(r,n[o],null,o);a&&r.add(a)}return r}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e,i._hasValue||(i._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this.haveValues,r=this.values,i=r.length;t._hasValue?(this.completed++,this.completed===i&&(n===i&&e.next(r),e.complete())):e.complete()},e}(J),CC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}());function xC(t){return null==t||0===t.length}var SC=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,EC=function(){function t(){}return t.min=function(t){return function(e){if(xC(e.value)||xC(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(xC(e.value)||xC(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return xC(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return xC(t.value)?null:SC.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(xC(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(xC(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(kC);return 0==e.length?null:function(t){return TC(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(kC);return 0==e.length?null:function(t){return bC(function(t,n){return e.map(function(e){return e(t)})}(t).map(DC)).pipe(tt(TC))}},t}();function kC(t){return null!=t}function DC(t){var e=Di(t)?it(t):t;if(!Ti(e))throw new Error("Expected validator to return Promise or Observable.");return e}function TC(t){var e=t.reduce(function(t,e){return null!=e?o({},t,e):t},{});return 0===Object.keys(e).length?null:e}function AC(t){return t.validate?function(e){return t.validate(e)}:t}function RC(t){return t.validate?function(e){return t.validate(e)}:t}var IC='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',OC='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',PC=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      "+IC)},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        '+OC+'\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        \n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>')},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+IC)},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      "+OC)},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        \n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });')},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 NC(t,e){t||VC(e,"Cannot find control with"),e.valueAccessor||VC(e,"No value accessor for form control with"),t.validator=EC.compose([t.validator,e.validator]),t.asyncValidator=EC.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&&FC(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&&FC(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 FC(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function MC(t,e){null==t&&VC(e,"Cannot find control with"),t.validator=EC.compose([t.validator,e.validator]),t.asyncValidator=EC.composeAsync([t.asyncValidator,e.asyncValidator])}function LC(t){return VC(t,"There is no FormControl instance attached to form control element with")}function VC(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 jC(t){return null!=t?EC.compose(t.map(AC)):null}function zC(t){return null!=t?EC.composeAsync(t.map(RC)):null}function BC(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 HC(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function UC(t){var e=qC(t)?t.validators:t;return Array.isArray(e)?jC(e):e||null}function WC(t,e){var n=qC(e)?e.asyncValidators:t;return Array.isArray(n)?zC(n):n||null}function qC(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var YC=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=UC(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=WC(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.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={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(o({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(o({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),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=DC(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 GC?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof ZC&&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 Hr,this.statusChanges=new Hr},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){qC(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),KC=function(t){function e(e,n,r){void 0===e&&(e=null);var i=t.call(this,UC(n),WC(r,n))||this;return i._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return i(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}(YC),GC=function(t){function e(e,n,r){var i=t.call(this,UC(n),WC(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(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.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof KC?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=l(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[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 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}(YC),ZC=function(t){function e(e,n,r){var i=t.call(this,UC(n),WC(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(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.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof KC?t.value:t.getRawValue()})},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=l(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}(YC),QC=Promise.resolve(null),$C=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Hr,r.form=new GC({},jC(e),zC(n)),r}return i(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;QC.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),NC(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;QC.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),HC(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;QC.then(function(){var n=e._findContainer(t.path),r=new GC({});MC(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;QC.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;QC.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,BC(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),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}(CC),XC=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new Hr,r}return i(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 NC(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){HC(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);MC(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);MC(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,BC(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),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 LC(e)}),e.valueAccessor.registerOnTouched(function(){return LC(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&&NC(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=jC(this._validators);this.form.validator=EC.compose([this.form.validator,t]);var e=zC(this._asyncValidators);this.form.asyncValidator=EC.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||PC.missingFormException()},e}(CC),JC=function(){function t(){}return Object.defineProperty(t.prototype,"internalName",{get:function(){return this.name},enumerable:!0,configurable:!0}),t}(),tx=function(){return function(){}}(),ex=function(){return function(){}}(),nx=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){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,c(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}(),rx=function(){function t(){}return t.prototype.encodeKey=function(t){return ix(t)},t.prototype.encodeValue=function(t){return ix(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function ix(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 ox=function(){function t(t){void 0===t&&(t={});var e,n,r,i=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new rx,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=u(-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=null)},t}();function ax(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function sx(t){return"undefined"!=typeof Blob&&t instanceof Blob}function lx(t){return"undefined"!=typeof FormData&&t instanceof FormData}var ux=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 nx),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<e.length-1?"&":"")+o}}else this.params=new ox,this.urlWithParams=e}return t.prototype.serializeBody=function(){return null===this.body?null:ax(this.body)||sx(this.body)||lx(this.body)||"string"==typeof this.body?this.body:this.body instanceof ox?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},t.prototype.detectContentTypeHeader=function(){return null===this.body?null:lx(this.body)?null:sx(this.body)?this.body.type||null:ax(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ox?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},t.prototype.clone=function(e){void 0===e&&(e={});var n=e.method||this.method,r=e.url||this.url,i=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,a=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,l=e.headers||this.headers,u=e.params||this.params;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce(function(t,n){return t.set(n,e.setHeaders[n])},l)),e.setParams&&(u=Object.keys(e.setParams).reduce(function(t,n){return t.set(n,e.setParams[n])},u)),new t(n,r,o,{params:u,headers:l,reportProgress:s,responseType:i,withCredentials:a})},t}(),cx=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),hx=function(){return function(t,e,n){void 0===e&&(e=200),void 0===n&&(n="OK"),this.headers=t.headers||new nx,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}(),px=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=cx.ResponseHeader,n}return i(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}(hx),dx=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=cx.Response,n.body=void 0!==e.body?e.body:null,n}return i(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}(hx),fx=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.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 i(e,t),e}(hx);function mx(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var yx=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,i=this;if(void 0===n&&(n={}),t instanceof ux)r=t;else{var o;o=n.headers instanceof nx?n.headers:new nx(n.headers);var a=void 0;n.params&&(a=n.params instanceof ox?n.params:new ox({fromObject:n.params})),r=new ux(t,e,void 0!==n.body?n.body:null,{headers:o,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var s=wu(r).pipe(nc(function(t){return i.handler.handle(t)}));if(t instanceof ux||"events"===n.observe)return s;var l=s.pipe(ku(function(t){return t instanceof dx}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(tt(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return l.pipe(tt(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return l.pipe(tt(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return l.pipe(tt(function(t){return t.body}))}case"response":return l;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 ox).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,mx(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,mx(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,mx(n,e))},t}(),gx=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}(),vx=new At("HTTP_INTERCEPTORS"),_x=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),bx=/^\)\]\}',?\n/,wx=function(){return function(){}}(),Cx=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),xx=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 P(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 nx(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 px({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(bx,"");try{u=""!==u?JSON.parse(u):null}catch(p){u=h,c&&(c=!1,u={error:p,text:u})}}c?(n.next(new dx({body:u,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new fx({error:u,headers:i,status:o,statusText:a,url:s||void 0}))},c=function(t){var e=new fx({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(e)},h=!1,p=function(e){h||(n.next(l()),h=!0);var i={type:cx.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},d=function(t){var e={type:cx.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",p),null!==a&&r.upload&&r.upload.addEventListener("progress",d)),r.send(a),n.next({type:cx.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),t.reportProgress&&(r.removeEventListener("progress",p),null!==a&&r.upload&&r.upload.removeEventListener("progress",d)),r.abort()}})},t}(),Sx=new At("XSRF_COOKIE_NAME"),Ex=new At("XSRF_HEADER_NAME"),kx=function(){return function(){}}(),Dx=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=Sc(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),Tx=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}(),Ax=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(vx,[]);this.chain=e.reduceRight(function(t,e){return new gx(t,e)},this.backend)}return this.chain.handle(t)},t}(),Rx=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:Tx,useClass:_x}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:Sx,useValue:t.cookieName}:[],t.headerName?{provide:Ex,useValue:t.headerName}:[]]}},t}(),Ix=function(){return function(){}}(),Ox=function(){function t(t){this.http=t}return t.prototype.FVS=function(){return console.log("get fvs"),this.http.get("api/Utils/GetVersions")},t.prototype.FVSAngular=function(){return console.log("get fvs angular"),this.http.get("npm-shrinkwrap.json").pipe(Ju(function(t){var e=t,n=e.dependencies,r=new Array,i=new JC;i.name=e.name,i.fileVersion=e.version,r.push(i);for(var o=0,a=Array.from(Object.keys(n));o<a.length;o++){var s=a[o],l=n[s];l.dev||((i=new JC).fileVersion=l.version,i.name=s,r.push(i))}return wu(r)}))},t.ngInjectableDef=kt({factory:function(){return new t(ge(yx))},token:t,providedIn:"root"}),t}(),Px=function(){function t(t,e){this.dialogRef=t,this.data=e}return t.prototype.ngOnInit=function(){},t.prototype.onNoClick=function(){this.dialogRef.close()},t}(),Nx=function(){function t(t,e){this.vs=t,this.dialog=e,this.displayedColumnsNET=["internalName","companyName","fileVersion","AllInfo"],this.displayedColumnsNPM=["name","version","AllInfo"]}return t.prototype.ngOnInit=function(){var t=this;console.log("ng on init versions"),this.vs.FVSAngular().subscribe(function(e){t.dataSourceNPM=new Ag(e),t.dataSourceNPM.sort=t.sortAng}),this.vs.FVS().subscribe(function(e){console.log(e.length),t.dataSourceNET=new Ag(e),t.dataSourceNET.sort=t.sortNet})},t.prototype.applyFilterNET=function(t){this.dataSourceNET.filter=t.trim().toLowerCase()},t.prototype.applyFilterNPM=function(t){this.dataSourceNPM.filter=t.trim().toLowerCase()},t.prototype.infoElementNPM=function(t){this.dialog.open(Px,{data:t})},t.prototype.infoElementNET=function(t){this.dialog.open(Px,{data:t})},t}(),Fx=function(){return function(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}();function Mx(){throw Error("Attempting to attach dialog content after content is already attached")}var Lx=function(t){function e(e,n,r,i,o){var a=t.call(this)||this;return a._elementRef=e,a._focusTrapFactory=n,a._changeDetectorRef=r,a._document=i,a._config=o,a._elementFocusedBeforeDialogWasOpened=null,a._state="enter",a._animationStateChanged=new Hr,a._ariaLabelledBy=null,a}return i(e,t),e.prototype.attachComponentPortal=function(t){return this._portalOutlet.hasAttached()&&Mx(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._portalOutlet.hasAttached()&&Mx(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)},e.prototype._trapFocus=function(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._config.autoFocus&&this._focusTrap.focusInitialElementWhenReady()},e.prototype._restoreFocus=function(){var t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()},e.prototype._savePreviouslyFocusedElement=function(){var t=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return t._elementRef.nativeElement.focus()}))},e.prototype._onAnimationDone=function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)},e.prototype._onAnimationStart=function(t){this._animationStateChanged.emit(t)},e.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},e}(Sv),Vx=0,jx=function(){function t(t,e,n,r){void 0===r&&(r="mat-dialog-"+Vx++);var i=this;this._overlayRef=t,this._containerInstance=e,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new j,this._afterClosed=new j,this._beforeClosed=new j,e._id=r,e._animationStateChanged.pipe(ku(function(t){return"done"===t.phaseName&&"enter"===t.toState}),Zu(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),e._animationStateChanged.pipe(ku(function(t){return"done"===t.phaseName&&"exit"===t.toState}),Zu(1)).subscribe(function(){return i._overlayRef.dispose()}),t.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),t.keydownEvents().pipe(ku(function(t){return t.keyCode===cm&&!i.disableClose})).subscribe(function(){return i.close()})}return t.prototype.close=function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe(ku(function(t){return"start"===t.phaseName}),Zu(1)).subscribe(function(){e._beforeClosed.next(t),e._beforeClosed.complete(),e._overlayRef.detachBackdrop()}),this._containerInstance._startExitAnimation()},t.prototype.afterOpened=function(){return this._afterOpened.asObservable()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t.prototype.beforeClosed=function(){return this._beforeClosed.asObservable()},t.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},t.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},t.prototype.updatePosition=function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this},t.prototype.updateSize=function(t,e){return void 0===t&&(t=""),void 0===e&&(e=""),this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this},t.prototype.afterOpen=function(){return this.afterOpened()},t.prototype.beforeClose=function(){return this.beforeClosed()},t.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},t}(),zx=new At("MatDialogData"),Bx=new At("mat-dialog-default-options"),Hx=new At("mat-dialog-scroll-strategy");function Ux(t){return function(){return t.scrollStrategies.block()}}var Wx=function(){function t(t,e,n,r,i,o,a){var s,l=this;this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new j,this._afterOpenedAtThisLevel=new j,this._ariaHiddenElements=new Map,this.afterAllClosed=(s=function(){return l.openDialogs.length?l._afterAllClosed:l._afterAllClosed.pipe(um(void 0))},new P(function(t){var e;try{e=s()}catch(n){return void t.error(n)}return(e?it(e):_u()).subscribe(t)})),this._scrollStrategy=i}return Object.defineProperty(t.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpened",{get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpen",{get:function(){return this.afterOpened},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_afterAllClosed",{get:function(){var t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),t.prototype.open=function(t,e){var n=this;if((e=function(t,e){return o({},e,t)}(e,this._defaultOptions||new Fx)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var r=this._createOverlay(e),i=this._attachDialogContainer(r,e),a=this._attachDialogContent(t,i,r,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe(function(){return n._removeOpenDialog(a)}),this.afterOpened.next(a),a},t.prototype.closeAll=function(){this._closeDialogs(this.openDialogs)},t.prototype.getDialogById=function(t){return this.openDialogs.find(function(e){return e.id===t})},t.prototype.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel)},t.prototype._createOverlay=function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)},t.prototype._getOverlayConfig=function(t){var e=new Vv({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e},t.prototype._attachDialogContainer=function(t,e){var n=new Av(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[Fx,e]])),r=new Cv(Lx,e.viewContainerRef,n);return t.attach(r).instance},t.prototype._attachDialogContent=function(t,e,n,r){var i=new jx(n,e,this._location,r.id);if(r.hasBackdrop&&n.backdropClick().subscribe(function(){i.disableClose||i.close()}),t instanceof Ur)e.attachTemplatePortal(new xv(t,null,{$implicit:r.data,dialogRef:i}));else{var o=this._createInjector(r,i,e),a=e.attachComponentPortal(new Cv(t,void 0,o));i.componentInstance=a.instance}return i.updateSize(r.width,r.height).updatePosition(r.position),i},t.prototype._createInjector=function(t,e,n){var r=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=new WeakMap([[Lx,n],[zx,t.data],[jx,e]]);return!t.direction||r&&r.get(h_,null)||i.set(h_,{value:t.direction,change:wu()}),new Av(r||this._injector,i)},t.prototype._removeOpenDialog=function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._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}(),qx=function(){return function(){}}(),Yx=function(){return function(){}}(),Kx=da({encapsulation:2,styles:[],data:{}});function Gx(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,1)._handleClick()&&r),"mouseenter"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!1)&&r),r},Ly,My)),Is(1,245760,null,0,Ny,[Oy,Co,[2,Iy],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),Is(2,16384,null,0,wg,[Ky,gr],null,null),(t()(),il(-1,0,[" Name "]))],function(t,e){t(e,1,0,"")},function(t,e){t(e,0,0,vs(e,1)._getAriaSortAttribute(),vs(e,1)._isDisabled())})}function Zx(t){return sl(0,[(t()(),Ua(0,16777216,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(t,e,n){var r=!0;return"longpress"===e&&(r=!1!==vs(t,2).show()&&r),"keydown"===e&&(r=!1!==vs(t,2)._handleKeydown(n)&&r),"touchend"===e&&(r=!1!==vs(t,2)._handleTouchend()&&r),r},null,null)),Is(1,16384,null,0,Cg,[Ky,gr],null,null),Is(2,147456,null,0,s_,[Xv,gr,dv,wo,Gi,em,xm,Nm,i_,[2,h_],[2,a_],[2,jh]],{message:[0,"message"]},null),(t()(),il(3,null,[" ",") "," "])),(t()(),Ha(0,null,null,0))],function(t,e){t(e,2,0,za(1,"",e.context.$implicit.fileName,""))},function(t,e){t(e,3,0,e.context.index+1,e.context.$implicit.internalName)})}function Qx(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,1)._handleClick()&&r),"mouseenter"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!1)&&r),r},Ly,My)),Is(1,245760,null,0,Ny,[Oy,Co,[2,Iy],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),Is(2,16384,null,0,wg,[Ky,gr],null,null),(t()(),il(-1,0,[" companyName "]))],function(t,e){t(e,1,0,"")},function(t,e){t(e,0,0,vs(e,1)._getAriaSortAttribute(),vs(e,1)._isDisabled())})}function $x(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),Is(1,16384,null,0,Cg,[Ky,gr],null,null),(t()(),il(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.companyName)})}function Xx(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,1)._handleClick()&&r),"mouseenter"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!1)&&r),r},Ly,My)),Is(1,245760,null,0,Ny,[Oy,Co,[2,Iy],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),Is(2,16384,null,0,wg,[Ky,gr],null,null),(t()(),il(-1,0,[" fileVersion "]))],function(t,e){t(e,1,0,"")},function(t,e){t(e,0,0,vs(e,1)._getAriaSortAttribute(),vs(e,1)._isDisabled())})}function Jx(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),Is(1,16384,null,0,Cg,[Ky,gr],null,null),(t()(),il(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.fileVersion)})}function tS(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),Is(1,16384,null,0,wg,[Ky,gr],null,null)],null,null)}function eS(t){return sl(0,[(t()(),Ua(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),Is(1,16384,null,0,Cg,[Ky,gr],null,null),(t()(),Ua(2,0,null,null,2,"button",[["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.infoElementNET(t.context.$implicit)&&r),r},Mw,Fw)),Is(3,180224,null,0,m_,[gr,em,Nm,[2,Pw]],null,null),(t()(),il(-1,0,["Show Info"]))],null,function(t,e){t(e,2,0,vs(e,3).disabled||null,"NoopAnimations"===vs(e,3)._animationMode)})}function nS(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,zw,jw)),Ps(6144,null,ng,null,[Eg]),Is(2,49152,null,0,Eg,[],null,null)],null,null)}function rS(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,Hw,Bw)),Ps(6144,null,rg,null,[kg]),Is(2,49152,null,0,kg,[],null,null)],null,null)}function iS(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,1)._handleClick()&&r),"mouseenter"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!1)&&r),r},Ly,My)),Is(1,245760,null,0,Ny,[Oy,Co,[2,Iy],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),Is(2,16384,null,0,wg,[Ky,gr],null,null),(t()(),il(-1,0,[" Name "]))],function(t,e){t(e,1,0,"")},function(t,e){t(e,0,0,vs(e,1)._getAriaSortAttribute(),vs(e,1)._isDisabled())})}function oS(t){return sl(0,[(t()(),Ua(0,16777216,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(t,e,n){var r=!0;return"longpress"===e&&(r=!1!==vs(t,2).show()&&r),"keydown"===e&&(r=!1!==vs(t,2)._handleKeydown(n)&&r),"touchend"===e&&(r=!1!==vs(t,2)._handleTouchend()&&r),r},null,null)),Is(1,16384,null,0,Cg,[Ky,gr],null,null),Is(2,147456,null,0,s_,[Xv,gr,dv,wo,Gi,em,xm,Nm,i_,[2,h_],[2,a_],[2,jh]],{message:[0,"message"]},null),(t()(),il(3,null,[" ",") "," "])),(t()(),Ha(0,null,null,0))],function(t,e){t(e,2,0,za(1,"",e.context.$implicit.name,""))},function(t,e){t(e,3,0,e.context.index+1,e.context.$implicit.name)})}function aS(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,1)._handleClick()&&r),"mouseenter"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==vs(t,1)._setIndicatorHintVisible(!1)&&r),r},Ly,My)),Is(1,245760,null,0,Ny,[Oy,Co,[2,Iy],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),Is(2,16384,null,0,wg,[Ky,gr],null,null),(t()(),il(-1,0,[" fileVersion "]))],function(t,e){t(e,1,0,"")},function(t,e){t(e,0,0,vs(e,1)._getAriaSortAttribute(),vs(e,1)._isDisabled())})}function sS(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),Is(1,16384,null,0,Cg,[Ky,gr],null,null),(t()(),il(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.fileVersion)})}function lS(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],null,null,null,null,null)),Is(1,16384,null,0,wg,[Ky,gr],null,null)],null,null)}function uS(t){return sl(0,[(t()(),Ua(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),Is(1,16384,null,0,Cg,[Ky,gr],null,null),(t()(),Ua(2,0,null,null,2,"button",[["mat-raised-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.infoElementNPM(t.context.$implicit)&&r),r},Mw,Fw)),Is(3,180224,null,0,m_,[gr,em,Nm,[2,Pw]],null,null),(t()(),il(-1,0,["Show Info"]))],null,function(t,e){t(e,2,0,vs(e,3).disabled||null,"NoopAnimations"===vs(e,3)._animationMode)})}function cS(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,zw,jw)),Ps(6144,null,ng,null,[Eg]),Is(2,49152,null,0,Eg,[],null,null)],null,null)}function hS(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"]],null,null,null,Hw,Bw)),Ps(6144,null,rg,null,[kg]),Is(2,49152,null,0,kg,[],null,null)],null,null)}function pS(t){return sl(0,[Gs(402653184,1,{sortNet:0}),Gs(402653184,2,{sortAng:0}),(t()(),Ua(2,0,null,null,1,"a",[["href","about#npmvers"]],null,null,null,null,null)),(t()(),il(3,null,["View Npm components ("," )"])),(t()(),il(-1,null,["\n\xa0 "])),(t()(),Ua(5,0,null,null,1,"a",[["href","about#netvers"]],null,null,null,null,null)),(t()(),il(6,null,["View NET components ( "," )"])),(t()(),Ua(7,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),Ua(8,0,null,null,1,"a",[["id","netvers"],["name","netvers"]],null,null,null,null,null)),(t()(),il(9,null,[".NET components: ",""])),(t()(),Ua(10,0,null,null,11,"mat-form-field",[["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-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,pC,tC)),Is(11,7389184,null,7,Gw,[gr,Co,[2,wy],[2,h_],[2,Kw],em,Gi,[2,Pw]],null,null),Gs(335544320,3,{_control:0}),Gs(335544320,4,{_placeholderChild:0}),Gs(335544320,5,{_labelChild:0}),Gs(603979776,6,{_errorChildren:1}),Gs(603979776,7,{_hintChildren:1}),Gs(603979776,8,{_prefixChildren:1}),Gs(603979776,9,{_suffixChildren:1}),(t()(),Ua(19,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[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,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"blur"===e&&(r=!1!==vs(t,20)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==vs(t,20)._focusChanged(!0)&&r),"input"===e&&(r=!1!==vs(t,20)._onInput()&&r),"keyup"===e&&(r=!1!==i.applyFilterNET(n.target.value)&&r),r},null,null)),Is(20,999424,null,0,vC,[gr,em,[8,null],[2,$C],[2,XC],ry,[8,null],fC,Gi],{placeholder:[0,"placeholder"]},null),Ps(2048,[[3,4]],Uw,null,[vC]),(t()(),Ua(22,0,null,null,65,"table",[["class","mat-elevation-z8 mat-table"],["mat-table",""],["matSort",""]],null,null,null,Vw,Lw)),Is(23,737280,[[1,4],[2,4]],0,Iy,[],null,null),Is(24,2342912,null,4,gg,[jo,Co,gr,[8,null],[2,h_],Hc,em],{dataSource:[0,"dataSource"]},null),Gs(603979776,10,{_contentColumnDefs:1}),Gs(603979776,11,{_contentRowDefs:1}),Gs(603979776,12,{_contentHeaderRowDefs:1}),Gs(603979776,13,{_contentFooterRowDefs:1}),(t()(),Ua(29,0,null,null,12,null,null,null,null,null,null,null)),Ps(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[bg]),Is(31,16384,null,3,bg,[],{name:[0,"name"],sticky:[1,"sticky"]},null),Gs(335544320,14,{cell:0}),Gs(335544320,15,{headerCell:0}),Gs(335544320,16,{footerCell:0}),Ps(2048,[[10,4]],Ky,null,[bg]),(t()(),Ha(0,null,null,2,null,Gx)),Is(37,16384,null,0,_g,[Ur],null,null),Ps(2048,[[15,4]],Yy,null,[_g]),(t()(),Ha(0,null,null,2,null,Zx)),Is(40,16384,null,0,vg,[Ur],null,null),Ps(2048,[[14,4]],qy,null,[vg]),(t()(),Ua(42,0,null,null,12,null,null,null,null,null,null,null)),Ps(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[bg]),Is(44,16384,null,3,bg,[],{name:[0,"name"]},null),Gs(335544320,17,{cell:0}),Gs(335544320,18,{headerCell:0}),Gs(335544320,19,{footerCell:0}),Ps(2048,[[10,4]],Ky,null,[bg]),(t()(),Ha(0,null,null,2,null,Qx)),Is(50,16384,null,0,_g,[Ur],null,null),Ps(2048,[[18,4]],Yy,null,[_g]),(t()(),Ha(0,null,null,2,null,$x)),Is(53,16384,null,0,vg,[Ur],null,null),Ps(2048,[[17,4]],qy,null,[vg]),(t()(),Ua(55,0,null,null,12,null,null,null,null,null,null,null)),Ps(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[bg]),Is(57,16384,null,3,bg,[],{name:[0,"name"]},null),Gs(335544320,20,{cell:0}),Gs(335544320,21,{headerCell:0}),Gs(335544320,22,{footerCell:0}),Ps(2048,[[10,4]],Ky,null,[bg]),(t()(),Ha(0,null,null,2,null,Xx)),Is(63,16384,null,0,_g,[Ur],null,null),Ps(2048,[[21,4]],Yy,null,[_g]),(t()(),Ha(0,null,null,2,null,Jx)),Is(66,16384,null,0,vg,[Ur],null,null),Ps(2048,[[20,4]],qy,null,[vg]),(t()(),Ua(68,0,null,null,12,null,null,null,null,null,null,null)),Ps(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[bg]),Is(70,16384,null,3,bg,[],{name:[0,"name"]},null),Gs(335544320,23,{cell:0}),Gs(335544320,24,{headerCell:0}),Gs(335544320,25,{footerCell:0}),Ps(2048,[[10,4]],Ky,null,[bg]),(t()(),Ha(0,null,null,2,null,tS)),Is(76,16384,null,0,_g,[Ur],null,null),Ps(2048,[[24,4]],Yy,null,[_g]),(t()(),Ha(0,null,null,2,null,eS)),Is(79,16384,null,0,vg,[Ur],null,null),Ps(2048,[[23,4]],qy,null,[vg]),(t()(),Ua(81,0,null,null,6,"tbody",[],null,null,null,null,null)),(t()(),Ha(0,null,null,2,null,nS)),Is(83,540672,null,0,xg,[Ur,jo],{columns:[0,"columns"],sticky:[1,"sticky"]},null),Ps(2048,[[12,4]],Xy,null,[xg]),(t()(),Ha(0,null,null,2,null,rS)),Is(86,540672,null,0,Sg,[Ur,jo],{columns:[0,"columns"]},null),Ps(2048,[[11,4]],tg,null,[Sg]),(t()(),Ua(88,0,null,null,1,"a",[["id","npmvers"],["name","npmvers"]],null,null,null,null,null)),(t()(),il(89,null,["NPM Components: ",""])),(t()(),Ua(90,0,null,null,11,"mat-form-field",[["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-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,pC,tC)),Is(91,7389184,null,7,Gw,[gr,Co,[2,wy],[2,h_],[2,Kw],em,Gi,[2,Pw]],null,null),Gs(335544320,26,{_control:0}),Gs(335544320,27,{_placeholderChild:0}),Gs(335544320,28,{_labelChild:0}),Gs(603979776,29,{_errorChildren:1}),Gs(603979776,30,{_hintChildren:1}),Gs(603979776,31,{_prefixChildren:1}),Gs(603979776,32,{_suffixChildren:1}),(t()(),Ua(99,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Filter"]],[[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,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],function(t,e,n){var r=!0,i=t.component;return"blur"===e&&(r=!1!==vs(t,100)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==vs(t,100)._focusChanged(!0)&&r),"input"===e&&(r=!1!==vs(t,100)._onInput()&&r),"keyup"===e&&(r=!1!==i.applyFilterNPM(n.target.value)&&r),r},null,null)),Is(100,999424,null,0,vC,[gr,em,[8,null],[2,$C],[2,XC],ry,[8,null],fC,Gi],{placeholder:[0,"placeholder"]},null),Ps(2048,[[26,4]],Uw,null,[vC]),(t()(),Ua(102,0,null,null,52,"table",[["class","mat-elevation-z8 mat-table"],["mat-table",""],["matSort",""]],null,null,null,Vw,Lw)),Is(103,737280,[[1,4],[2,4]],0,Iy,[],null,null),Is(104,2342912,null,4,gg,[jo,Co,gr,[8,null],[2,h_],Hc,em],{dataSource:[0,"dataSource"]},null),Gs(603979776,33,{_contentColumnDefs:1}),Gs(603979776,34,{_contentRowDefs:1}),Gs(603979776,35,{_contentHeaderRowDefs:1}),Gs(603979776,36,{_contentFooterRowDefs:1}),(t()(),Ua(109,0,null,null,12,null,null,null,null,null,null,null)),Ps(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[bg]),Is(111,16384,null,3,bg,[],{name:[0,"name"],sticky:[1,"sticky"]},null),Gs(335544320,37,{cell:0}),Gs(335544320,38,{headerCell:0}),Gs(335544320,39,{footerCell:0}),Ps(2048,[[33,4]],Ky,null,[bg]),(t()(),Ha(0,null,null,2,null,iS)),Is(117,16384,null,0,_g,[Ur],null,null),Ps(2048,[[38,4]],Yy,null,[_g]),(t()(),Ha(0,null,null,2,null,oS)),Is(120,16384,null,0,vg,[Ur],null,null),Ps(2048,[[37,4]],qy,null,[vg]),(t()(),Ua(122,0,null,null,12,null,null,null,null,null,null,null)),Ps(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[bg]),Is(124,16384,null,3,bg,[],{name:[0,"name"]},null),Gs(335544320,40,{cell:0}),Gs(335544320,41,{headerCell:0}),Gs(335544320,42,{footerCell:0}),Ps(2048,[[33,4]],Ky,null,[bg]),(t()(),Ha(0,null,null,2,null,aS)),Is(130,16384,null,0,_g,[Ur],null,null),Ps(2048,[[41,4]],Yy,null,[_g]),(t()(),Ha(0,null,null,2,null,sS)),Is(133,16384,null,0,vg,[Ur],null,null),Ps(2048,[[40,4]],qy,null,[vg]),(t()(),Ua(135,0,null,null,12,null,null,null,null,null,null,null)),Ps(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[bg]),Is(137,16384,null,3,bg,[],{name:[0,"name"]},null),Gs(335544320,43,{cell:0}),Gs(335544320,44,{headerCell:0}),Gs(335544320,45,{footerCell:0}),Ps(2048,[[33,4]],Ky,null,[bg]),(t()(),Ha(0,null,null,2,null,lS)),Is(143,16384,null,0,_g,[Ur],null,null),Ps(2048,[[44,4]],Yy,null,[_g]),(t()(),Ha(0,null,null,2,null,uS)),Is(146,16384,null,0,vg,[Ur],null,null),Ps(2048,[[43,4]],qy,null,[vg]),(t()(),Ua(148,0,null,null,6,"tbody",[],null,null,null,null,null)),(t()(),Ha(0,null,null,2,null,cS)),Is(150,540672,null,0,xg,[Ur,jo],{columns:[0,"columns"],sticky:[1,"sticky"]},null),Ps(2048,[[35,4]],Xy,null,[xg]),(t()(),Ha(0,null,null,2,null,hS)),Is(153,540672,null,0,Sg,[Ur,jo],{columns:[0,"columns"]},null),Ps(2048,[[34,4]],tg,null,[Sg])],function(t,e){var n=e.component;t(e,20,0,"Filter"),t(e,23,0),t(e,24,0,n.dataSourceNET),t(e,31,0,"internalName",""),t(e,44,0,"companyName"),t(e,57,0,"fileVersion"),t(e,70,0,"AllInfo"),t(e,83,0,n.displayedColumnsNET,!0),t(e,86,0,n.displayedColumnsNET),t(e,100,0,"Filter"),t(e,103,0),t(e,104,0,n.dataSourceNPM),t(e,111,0,"name",""),t(e,124,0,"version"),t(e,137,0,"AllInfo"),t(e,150,0,n.displayedColumnsNPM,!0),t(e,153,0,n.displayedColumnsNPM)},function(t,e){var n=e.component;t(e,3,0,null==n.dataSourceNPM?null:n.dataSourceNPM.data.length),t(e,6,0,null==n.dataSourceNET?null:n.dataSourceNET.data.length),t(e,9,0,null==n.dataSourceNET?null:n.dataSourceNET.data.length),t(e,10,1,["standard"==vs(e,11).appearance,"fill"==vs(e,11).appearance,"outline"==vs(e,11).appearance,"legacy"==vs(e,11).appearance,vs(e,11)._control.errorState,vs(e,11)._canLabelFloat,vs(e,11)._shouldLabelFloat(),vs(e,11)._hideControlPlaceholder(),vs(e,11)._control.disabled,vs(e,11)._control.autofilled,vs(e,11)._control.focused,"accent"==vs(e,11).color,"warn"==vs(e,11).color,vs(e,11)._shouldForward("untouched"),vs(e,11)._shouldForward("touched"),vs(e,11)._shouldForward("pristine"),vs(e,11)._shouldForward("dirty"),vs(e,11)._shouldForward("valid"),vs(e,11)._shouldForward("invalid"),vs(e,11)._shouldForward("pending"),!vs(e,11)._animationsEnabled]),t(e,19,0,vs(e,20)._isServer,vs(e,20).id,vs(e,20).placeholder,vs(e,20).disabled,vs(e,20).required,vs(e,20).readonly&&!vs(e,20)._isNativeSelect||null,vs(e,20)._ariaDescribedby||null,vs(e,20).errorState,vs(e,20).required.toString()),t(e,89,0,null==n.dataSourceNPM?null:n.dataSourceNPM.data.length),t(e,90,1,["standard"==vs(e,91).appearance,"fill"==vs(e,91).appearance,"outline"==vs(e,91).appearance,"legacy"==vs(e,91).appearance,vs(e,91)._control.errorState,vs(e,91)._canLabelFloat,vs(e,91)._shouldLabelFloat(),vs(e,91)._hideControlPlaceholder(),vs(e,91)._control.disabled,vs(e,91)._control.autofilled,vs(e,91)._control.focused,"accent"==vs(e,91).color,"warn"==vs(e,91).color,vs(e,91)._shouldForward("untouched"),vs(e,91)._shouldForward("touched"),vs(e,91)._shouldForward("pristine"),vs(e,91)._shouldForward("dirty"),vs(e,91)._shouldForward("valid"),vs(e,91)._shouldForward("invalid"),vs(e,91)._shouldForward("pending"),!vs(e,91)._animationsEnabled]),t(e,99,0,vs(e,100)._isServer,vs(e,100).id,vs(e,100).placeholder,vs(e,100).disabled,vs(e,100).required,vs(e,100).readonly&&!vs(e,100)._isNativeSelect||null,vs(e,100)._ariaDescribedby||null,vs(e,100).errorState,vs(e,100).required.toString())})}var dS=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),fS=da({encapsulation:0,styles:[[""]],data:{animation:[{type:7,name:"detailExpand",definitions:[{type:0,name:"collapsed",styles:{type:6,styles:{height:"0px",minHeight:"0",display:"none"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function mS(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),il(-1,null,[" GitHub: "])),(t()(),Ua(2,0,null,null,1,"a",[["href","https://github.com/ignatandrei/stankins"]],null,null,null,null,null)),(t()(),il(-1,null,["https://github.com/ignatandrei/stankins"])),(t()(),Ua(4,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),il(-1,null,[" Material icons list: "])),(t()(),Ua(6,0,null,null,1,"a",[["href","https://material.io/tools/icons/?style=baseline"]],null,null,null,null,null)),(t()(),il(-1,null,["https://material.io/tools/icons/?style=baseline"])),(t()(),Ua(8,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),il(-1,null,["Live demo: "])),(t()(),Ua(10,0,null,null,1,"a",[["href","https://azurestankins.azurewebsites.net"],["target","_blank"]],null,null,null,null,null)),(t()(),il(-1,null,["https://azurestankins.azurewebsites.net"])),(t()(),Ua(12,0,null,null,1,"a",[["href","https://azurestankins.azurewebsites.net/swagger"]],null,null,null,null,null)),(t()(),il(-1,null,["Live swagger"])),(t()(),Ua(14,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),il(-1,null,[" Current settings"])),(t()(),Ua(16,0,null,null,1,"vers-versions-netcore-angular",[],null,null,null,pS,Kx)),Is(17,114688,null,0,Nx,[Ox,Wx],null,null)],function(t,e){t(e,17,0)},null)}function yS(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"app-about",[],null,null,null,mS,fS)),Is(1,114688,null,0,dS,[],null,null)],function(t,e){t(e,1,0)},null)}var gS=ss("app-about",dS,yS,{},{},[]);function vS(t){return Error('Unable to find icon with the name "'+t+'"')}function _S(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+t+'".')}function bS(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+t+'".')}var wS=function(){return function(t){t.nodeName?this.svgElement=t:this.url=t}}(),CS=function(){function t(t,e,n){this._httpClient=t,this._sanitizer=e,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}return t.prototype.addSvgIcon=function(t,e){return this.addSvgIconInNamespace("",t,e)},t.prototype.addSvgIconLiteral=function(t,e){return this.addSvgIconLiteralInNamespace("",t,e)},t.prototype.addSvgIconInNamespace=function(t,e,n){return this._addSvgIconConfig(t,e,new wS(n))},t.prototype.addSvgIconLiteralInNamespace=function(t,e,n){var r=this._sanitizer.sanitize(di.HTML,n);if(!r)throw bS(n);var i=this._createSvgElementForSingleIcon(r);return this._addSvgIconConfig(t,e,new wS(i))},t.prototype.addSvgIconSet=function(t){return this.addSvgIconSetInNamespace("",t)},t.prototype.addSvgIconSetLiteral=function(t){return this.addSvgIconSetLiteralInNamespace("",t)},t.prototype.addSvgIconSetInNamespace=function(t,e){return this._addSvgIconSetConfig(t,new wS(e))},t.prototype.addSvgIconSetLiteralInNamespace=function(t,e){var n=this._sanitizer.sanitize(di.HTML,e);if(!n)throw bS(e);var r=this._svgElementFromString(n);return this._addSvgIconSetConfig(t,new wS(r))},t.prototype.registerFontClassAlias=function(t,e){return void 0===e&&(e=t),this._fontCssClassesByAlias.set(t,e),this},t.prototype.classNameForFontAlias=function(t){return this._fontCssClassesByAlias.get(t)||t},t.prototype.setDefaultFontSetClass=function(t){return this._defaultFontSetClass=t,this},t.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},t.prototype.getSvgIconFromUrl=function(t){var e=this,n=this._sanitizer.sanitize(di.RESOURCE_URL,t);if(!n)throw _S(t);var r=this._cachedIconsByUrl.get(n);return r?wu(xS(r)):this._loadSvgIconFromConfig(new wS(t)).pipe(Nu(function(t){return e._cachedIconsByUrl.set(n,t)}),tt(function(t){return xS(t)}))},t.prototype.getNamedSvgIcon=function(t,e){void 0===e&&(e="");var n=SS(e,t),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var i=this._iconSetConfigs.get(e);return i?this._getSvgFromIconSetConfigs(t,i):nv(vS(n))},t.prototype._getSvgFromConfig=function(t){return t.svgElement?wu(xS(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Nu(function(e){return t.svgElement=e}),tt(function(t){return xS(t)}))},t.prototype._getSvgFromIconSetConfigs=function(t,e){var n=this,r=this._extractIconWithNameFromAnySet(t,e);return r?wu(r):bC(e.filter(function(t){return!t.svgElement}).map(function(t){return n._loadSvgIconSetFromConfig(t).pipe(Yu(function(e){var r=n._sanitizer.sanitize(di.RESOURCE_URL,t.url);return console.error("Loading icon set URL: "+r+" failed: "+e.message),wu(null)}))})).pipe(tt(function(){var r=n._extractIconWithNameFromAnySet(t,e);if(!r)throw vS(t);return r}))},t.prototype._extractIconWithNameFromAnySet=function(t,e){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,t);if(i)return i}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(tt(function(t){return e._createSvgElementForSingleIcon(t)}))},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return t.svgElement?wu(t.svgElement):this._fetchUrl(t.url).pipe(tt(function(n){return t.svgElement||(t.svgElement=e._svgElementFromString(n)),t.svgElement}))},t.prototype._createSvgElementForSingleIcon=function(t){var e=this._svgElementFromString(t);return this._setSvgAttributes(e),e},t.prototype._extractSvgIconFromSet=function(t,e){var n=t.querySelector("#"+e);if(!n)return null;var r=n.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r));var i=this._svgElementFromString("<svg></svg>");return i.appendChild(r),this._setSvgAttributes(i)},t.prototype._svgElementFromString=function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString("<svg></svg>"),n=0;n<t.childNodes.length;n++)t.childNodes[n].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[n].cloneNode(!0));return e},t.prototype._setSvgAttributes=function(t){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),t},t.prototype._fetchUrl=function(t){var e=this;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==t)throw Error('Cannot fetch icon from URL "'+t+'".');var n=this._sanitizer.sanitize(di.RESOURCE_URL,t);if(!n)throw _S(t);var r=this._inProgressUrlFetches.get(n);if(r)return r;var i=this._httpClient.get(n,{responseType:"text"}).pipe(ac(function(){return e._inProgressUrlFetches.delete(n)}),vt());return this._inProgressUrlFetches.set(n,i),i},t.prototype._addSvgIconConfig=function(t,e,n){return this._svgIconConfigs.set(SS(t,e),n),this},t.prototype._addSvgIconSetConfig=function(t,e){var n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this},t.ngInjectableDef=kt({factory:function(){return new t(ge(yx,8),ge(qh),ge(Hc,8))},token:t,providedIn:"root"}),t}();function xS(t){return t.cloneNode(!0)}function SS(t,e){return t+":"+e}var ES=zm(function(){return function(t){this._elementRef=t}}()),kS=new At("mat-icon-location",{providedIn:"root",factory:function(){var t=ge(Hc),e=t?t.location:null;return{getPathname:function(){return e?e.pathname+e.search:""}}}}),DS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],TS=DS.map(function(t){return"["+t+"]"}).join(", "),AS=/^url\(['"]?#(.*?)['"]?\)$/,RS=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._iconRegistry=n,o._location=i,o._inline=!1,r||e.nativeElement.setAttribute("aria-hidden","true"),o}return i(e,t),Object.defineProperty(e.prototype,"inline",{get:function(){return this._inline},set:function(t){this._inline=Kf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontSet",{get:function(){return this._fontSet},set:function(t){this._fontSet=this._cleanupFontValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontIcon",{get:function(){return this._fontIcon},set:function(t){this._fontIcon=this._cleanupFontValue(t)},enumerable:!0,configurable:!0}),e.prototype._splitIconName=function(t){if(!t)return["",""];var e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error('Invalid icon name: "'+t+'"')}},e.prototype.ngOnChanges=function(t){var e=this;if(t.svgIcon)if(this.svgIcon){var n=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(n[1],n[0]).pipe(Zu(1)).subscribe(function(t){return e._setSvgElement(t)},function(t){return console.log("Error retrieving icon: "+t.message)})}else this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()},e.prototype.ngOnInit=function(){this._usingFontIcon()&&this._updateFontIconClasses()},e.prototype.ngAfterViewChecked=function(){var t=this._elementsWithExternalReferences;if(t&&this._location&&t.size){var e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}},e.prototype.ngOnDestroy=function(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()},e.prototype._usingFontIcon=function(){return!this.svgIcon},e.prototype._setSvgElement=function(t){this._clearSvgElement();for(var e=t.querySelectorAll("style"),n=0;n<e.length;n++)e[n].textContent+=" ";if(this._location){var r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(r)}this._elementRef.nativeElement.appendChild(t)},e.prototype._clearSvgElement=function(){var t=this._elementRef.nativeElement,e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){var n=t.childNodes[e];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||t.removeChild(n)}},e.prototype._updateFontIconClasses=function(){if(this._usingFontIcon()){var t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}},e.prototype._cleanupFontValue=function(t){return"string"==typeof t?t.trim().split(" ")[0]:t},e.prototype._prependPathToReferences=function(t){var e=this._elementsWithExternalReferences;e&&e.forEach(function(e,n){e.forEach(function(e){n.setAttribute(e.name,"url('"+t+"#"+e.value+"')")})})},e.prototype._cacheChildrenWithExternalReferences=function(t){for(var e=t.querySelectorAll(TS),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,r=function(t){DS.forEach(function(r){var i=e[t],o=i.getAttribute(r),a=o?o.match(AS):null;if(a){var s=n.get(i);s||n.set(i,s=[]),s.push({name:r,value:a[1]})}})},i=0;i<e.length;i++)r(i)},e}(ES),IS=function(){return function(){}}(),OS=da({encapsulation:2,styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1,1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],data:{}});function PS(t){return sl(2,[Js(null,0)],null,null)}var NS=function(){return function(){}}(),FS=function(){return function(){}}(),MS=function(){return function(){}}(),LS=function(){return function(){this.align="start"}}(),VS=function(){return function(){}}(),jS=function(){return function(){}}(),zS=function(){return function(){}}(),BS=function(){return function(){}}(),HS=function(){return function(){}}(),US=da({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media screen and (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px 0}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-title{margin-bottom:8px}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}});function WS(t){return sl(2,[Js(null,0),Js(null,1)],null,null)}var qS=da({encapsulation:2,styles:[],data:{}});function YS(t){return sl(2,[Js(null,0),(t()(),Ua(1,0,null,null,1,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),Js(null,1),Js(null,2)],null,null)}var KS=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),GS=da({encapsulation:0,styles:[[""]],data:{}});function ZS(t){return sl(0,[(t()(),Ua(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),Ua(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),Is(2,671744,null,0,gf,[yf,ud,hc],{routerLink:[0,"routerLink"]},null),(t()(),il(3,null,[" ",""])),(t()(),il(-1,null,["; "]))],function(t,e){t(e,2,0,za(1,"/tag/",e.context.$implicit,""))},function(t,e){t(e,1,0,vs(e,2).target,vs(e,2).href),t(e,3,0,e.context.$implicit)})}function QS(t){return sl(0,[(t()(),Ua(0,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,WS,US)),Is(1,49152,null,0,zS,[],null,null),(t()(),Ua(2,0,null,0,8,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Is(3,16384,null,0,FS,[],null,null),(t()(),Ua(4,0,null,null,2,"mat-icon",[["class","mat-icon"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(5,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],{color:[0,"color"]},null),(t()(),il(-1,0,["done"])),(t()(),il(7,null,[" "," "])),(t()(),Ua(8,0,null,null,2,"mat-icon",[["class","mat-icon"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(9,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],{color:[0,"color"]},null),(t()(),il(10,0,["",""])),(t()(),Ua(11,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Is(12,16384,null,0,MS,[],null,null),(t()(),il(13,null,[" Last update :"," "])),(t()(),Ua(14,0,null,0,7,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Is(15,16384,null,0,NS,[],null,null),(t()(),Ua(16,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),il(17,null,["To: ",""])),(t()(),Ua(18,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),il(19,null,["Duration : "," ms"])),(t()(),Ua(20,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),il(21,null,["DetailedResult: ",""])),(t()(),Ua(22,0,null,1,4,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),Is(23,16384,null,0,VS,[],null,null),(t()(),il(-1,null,[" Tags: "])),(t()(),Ha(16777216,null,null,1,null,ZS)),Is(26,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,5,0,"primary"),t(e,9,0,"primary"),t(e,26,0,n.item.customData.tags)},function(t,e){var n=e.component;t(e,4,0,vs(e,5).inline),t(e,7,0,n.item.customData.name),t(e,8,0,vs(e,9).inline),t(e,10,0,n.item.customData.icon),t(e,13,0,n.item.aliveResult.startedDate.toLocaleString()),t(e,17,0,n.item.aliveResult.to),t(e,19,0,n.item.aliveResult.duration),t(e,21,0,n.item.aliveResult.detailedResult)})}function $S(t){return sl(0,[(t()(),Ua(0,0,null,null,4,"span",[],null,null,null,null,null)),(t()(),Ua(1,0,null,null,2,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),Is(2,671744,null,0,gf,[yf,ud,hc],{routerLink:[0,"routerLink"]},null),(t()(),il(3,null,[" ",""])),(t()(),il(-1,null,["; "]))],function(t,e){t(e,2,0,za(1,"/tag/",e.context.$implicit,""))},function(t,e){t(e,1,0,vs(e,2).target,vs(e,2).href),t(e,3,0,e.context.$implicit)})}function XS(t){return sl(0,[(t()(),Ua(0,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,WS,US)),Is(1,49152,null,0,zS,[],null,null),(t()(),Ua(2,0,null,0,8,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Is(3,16384,null,0,FS,[],null,null),(t()(),Ua(4,0,null,null,2,"mat-icon",[["class","mat-icon"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(5,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],{color:[0,"color"]},null),(t()(),il(-1,0,["error"])),(t()(),il(7,null,[" "," "])),(t()(),Ua(8,0,null,null,2,"mat-icon",[["class","mat-icon"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(9,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],{color:[0,"color"]},null),(t()(),il(10,0,["",""])),(t()(),Ua(11,0,null,0,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Is(12,16384,null,0,MS,[],null,null),(t()(),il(13,null,[" Last update :"," "])),(t()(),Ua(14,0,null,0,7,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Is(15,16384,null,0,NS,[],null,null),(t()(),Ua(16,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),il(17,null,["To: ",""])),(t()(),Ua(18,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),il(19,null,["Duration : "," ms"])),(t()(),Ua(20,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),il(21,null,["Exception : ",""])),(t()(),Ua(22,0,null,1,4,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),Is(23,16384,null,0,VS,[],null,null),(t()(),il(-1,null,[" Tags: "])),(t()(),Ha(16777216,null,null,1,null,$S)),Is(26,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,5,0,"primary"),t(e,9,0,"primary"),t(e,26,0,n.item.customData.tags)},function(t,e){var n=e.component;t(e,4,0,vs(e,5).inline),t(e,7,0,n.item.customData.name),t(e,8,0,vs(e,9).inline),t(e,10,0,n.item.customData.icon),t(e,13,0,n.item.aliveResult.startedDate.toLocaleString()),t(e,17,0,n.item.aliveResult.to),t(e,19,0,n.item.aliveResult.duration),t(e,21,0,n.item.aliveResult.exception)})}function JS(t){return sl(0,[(t()(),Ha(16777216,null,null,1,null,QS)),Is(1,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),(t()(),Ha(16777216,null,null,1,null,XS)),Is(3,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n.item.aliveResult.isSuccess),t(e,3,0,!n.item.aliveResult.isSuccess)},null)}var tE=function(){function t(){}return t.prototype.transform=function(t,e){if(void 0===e&&(e="filter_"),null==t)return"";for(var n=t.toString(10),r="",i=0;i<n.length;i++)r+="0"===n[i]&&"filter_"===e?'<i class="material-icons">exposure_zero</i>':'<i class="material-icons">filter_'+n[i]+"</i>";return r},t}(),eE=new At("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),nE=function(){function t(t,e,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width},t}(),rE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(kv),iE=function(t){function e(e){var n=t.call(this)||this;return n._viewContainerRef=e,n.textLabel="",n._contentPortal=null,n._stateChanges=new j,n.position=null,n.origin=null,n.isActive=!1,n}return i(e,t),Object.defineProperty(e.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype.ngOnInit=function(){this._contentPortal=new xv(this._explicitContent||this._implicitContent,this._viewContainerRef)},e}(jm(function(){return function(){}}())),oE=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i._host=r,i._centeringSub=b.EMPTY,i._leavingSub=b.EMPTY,i}return i(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(um(this._host._isCenterPosition(this._host._position))).subscribe(function(t){t&&!e.hasAttached()&&e.attach(e._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){e.detach()})},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e}(Dv),aE=function(){function t(t,e,n){var r=this;this._elementRef=t,this._dir=e,this._dirChangeSubscription=b.EMPTY,this._translateTabComplete=new j,this._onCentering=new Hr,this._beforeCentering=new Hr,this._afterLeavingCenter=new Hr,this._onCentered=new Hr(!0),this.animationDuration="500ms",this._dir&&n&&(this._dirChangeSubscription=this._dir.change.subscribe(function(t){r._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe(Wg(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){r._isCenterPosition(t.toState)&&r._isCenterPosition(r._position)&&r._onCentered.emit(),r._isCenterPosition(t.fromState)&&!r._isCenterPosition(r._position)&&r._afterLeavingCenter.emit()})}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},t.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},t.prototype._onTranslateTabStarted=function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._isCenterPosition=function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t},t.prototype._computePositionAnimationState=function(t){void 0===t&&(t=this._getLayoutDirection()),this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"},t.prototype._computePositionFromOrigin=function(){var t=this._getLayoutDirection();return"ltr"==t&&this.origin<=0||"rtl"==t&&this.origin>0?"left-origin-center":"right-origin-center"},t}(),sE=function(t){function e(e){var n=t.call(this)||this;return n.elementRef=e,n}return i(e,t),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e}(jm(function(){return function(){}}())),lE=function(t){function e(e,n,r,i,o){var a=t.call(this)||this;return a._elementRef=e,a._changeDetectorRef=n,a._viewportRuler=r,a._dir=i,a._ngZone=o,a._scrollDistance=0,a._selectedIndexChanged=!1,a._destroyed=new j,a._showPaginationControls=!1,a._disableScrollAfter=!0,a._disableScrollBefore=!0,a._selectedIndex=0,a.selectFocusedIndex=new Hr,a.indexFocused=new Hr,a}return i(e,t),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=Gf(t),this._selectedIndexChanged=this._selectedIndex!=t,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItemIndex(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._labelWrappers.length&&(this.updatePagination(),this._tabLabelCount=this._labelWrappers.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},e.prototype._handleKeydown=function(t){switch(t.keyCode){case 36:this._keyManager.setFirstItemActive(),t.preventDefault();break;case 35:this._keyManager.setLastItemActive(),t.preventDefault();break;case 13:case 32:this.selectFocusedIndex.emit(this.focusIndex),t.preventDefault();break;default:this._keyManager.onKeydown(t)}},e.prototype.ngAfterContentInit=function(){var t=this,e=this._dir?this._dir.change:wu(null),n=this._viewportRuler.change(150),r=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new Sm(this._labelWrappers).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(r):r(),ct(e,n).pipe(By(this._destroyed)).subscribe(function(){r(),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe(By(this._destroyed)).subscribe(function(e){t.indexFocused.emit(e),t._setTabFocus(e)})},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._onContentChanges=function(){var t=this,e=function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()};this._ngZone?this._ngZone.run(e):e()},e.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(e.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)},enumerable:!0,configurable:!0}),e.prototype._isValidIndex=function(t){if(!this._labelWrappers)return!0;var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;return!!e&&!e.disabled},e.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._labelWrappers&&this._labelWrappers.length){this._labelWrappers.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}},e.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},e.prototype._updateTabScrollPosition=function(){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX("+e+"px)",this._tabListContainer.nativeElement.scrollLeft=0},Object.defineProperty(e.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),t)),this._scrollDistanceChanged=!0,this._checkScrollingControls()},enumerable:!0,configurable:!0}),e.prototype._scrollHeader=function(t){this.scrollDistance+=("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3},e.prototype._scrollToLabel=function(t){var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;if(e){var n,r,i=this._tabListContainer.nativeElement.offsetWidth;"ltr"==this._getLayoutDirection()?r=(n=e.getOffsetLeft())+e.getOffsetWidth():n=(r=this._tabList.nativeElement.offsetWidth-e.getOffsetLeft())-e.getOffsetWidth();var o=this.scrollDistance,a=this.scrollDistance+i;n<o?this.scrollDistance-=o-n+60:r>a&&(this.scrollDistance+=r-a+60)}},e.prototype._checkPaginationEnabled=function(){var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t},e.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},e.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},e.prototype._alignInkBarToSelectedTab=function(){var t=this._labelWrappers&&this._labelWrappers.length?this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement:null;this._inkBar.alignToElement(t)},e}(Bm(function(){return function(){}}())),uE=0,cE=function(){return function(){}}(),hE=new At("MAT_TABS_CONFIG"),pE=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i._changeDetectorRef=n,i._indexToSelect=0,i._tabBodyWrapperHeight=0,i._tabsSubscription=b.EMPTY,i._tabLabelSubscription=b.EMPTY,i._dynamicHeight=!1,i._selectedIndex=null,i.headerPosition="above",i.selectedIndexChange=new Hr,i.focusChange=new Hr,i.animationDone=new Hr,i.selectedTabChange=new Hr(!0),i._groupId=uE++,i.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",i}return i(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=Kf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=Gf(t,null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(function(){t._tabs.forEach(function(t,n){return t.isActive=n===e}),n||t.selectedIndexChange.emit(e)})}this._tabs.forEach(function(n,r){n.position=r-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;n<e.length;n++)if(e[n].isActive){t._indexToSelect=t._selectedIndex=n;break}t._subscribeToTabLabels(),t._changeDetectorRef.markForCheck()})},e.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},e.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},e.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},e.prototype._createChangeEvent=function(t){var e=new cE;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},e.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=ct.apply(void 0,this._tabs.map(function(t){return t._stateChanges})).subscribe(function(){return t._changeDetectorRef.markForCheck()})},e.prototype._clampTabIndex=function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))},e.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},e.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},e.prototype._setTabBodyWrapperHeight=function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}},e.prototype._removeTabBodyWrapperHeight=function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()},e.prototype._handleClick=function(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)},e.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},e}(zm(Bm(function(){return function(t){this._elementRef=t}}()),"primary")),dE=function(){return function(){}}(),fE=da({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media screen and (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media screen and (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media screen and (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function mE(t){return sl(0,[(t()(),Ha(0,null,null,0))],null,null)}function yE(t){return sl(0,[(t()(),Ha(16777216,null,null,1,null,mE)),Is(1,212992,null,0,Dv,[or,wo],{portal:[0,"portal"]},null),(t()(),Ha(0,null,null,0))],function(t,e){t(e,1,0,e.parent.context.$implicit.templateLabel)},null)}function gE(t){return sl(0,[(t()(),il(0,null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit.textLabel)})}function vE(t){return sl(0,[(t()(),Ua(0,0,null,null,8,"div",[["cdkMonitorElementFocus",""],["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null],[1,"aria-disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._handleClick(t.context.$implicit,vs(t.parent,3),t.context.index)&&r),r},null,null)),Is(1,212992,null,0,gy,[gr,Gi,em,[2,yy],[2,Pw]],{disabled:[0,"disabled"]},null),Is(2,147456,null,0,Fm,[gr,Nm],null,null),Is(3,16384,[[3,4]],0,sE,[gr],{disabled:[0,"disabled"]},null),(t()(),Ua(4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(t()(),Ha(16777216,null,null,1,null,yE)),Is(6,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),(t()(),Ha(16777216,null,null,1,null,gE)),Is(8,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,1,0,e.context.$implicit.disabled||e.component.disableRipple),t(e,3,0,e.context.$implicit.disabled),t(e,6,0,e.context.$implicit.templateLabel),t(e,8,0,!e.context.$implicit.templateLabel)},function(t,e){var n=e.component;t(e,0,1,[n._getTabLabelId(e.context.index),n._getTabIndex(e.context.$implicit,e.context.index),e.context.index+1,n._tabs.length,n._getTabContentId(e.context.index),n.selectedIndex==e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null,n.selectedIndex==e.context.index,vs(e,1).unbounded,vs(e,3).disabled,!!vs(e,3).disabled])})}function _E(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],function(t,e,n){var r=!0,i=t.component;return"_onCentered"===e&&(r=!1!==i._removeTabBodyWrapperHeight()&&r),"_onCentering"===e&&(r=!1!==i._setTabBodyWrapperHeight(n)&&r),r},xE,wE)),Is(1,245760,null,0,aE,[gr,[2,h_],Co],{_content:[0,"_content"],origin:[1,"origin"],animationDuration:[2,"animationDuration"],position:[3,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],function(t,e){t(e,1,0,e.context.$implicit.content,e.context.$implicit.origin,e.component.animationDuration,e.context.$implicit.position)},function(t,e){var n=e.component;t(e,0,0,n._getTabContentId(e.context.index),n._getTabLabelId(e.context.index),n.selectedIndex==e.context.index)})}function bE(t){return sl(2,[Gs(402653184,1,{_tabBodyWrapper:0}),Gs(402653184,2,{_tabHeader:0}),(t()(),Ua(2,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],function(t,e,n){var r=!0,i=t.component;return"indexFocused"===e&&(r=!1!==i._focusChanged(n)&&r),"selectFocusedIndex"===e&&(r=!1!==(i.selectedIndex=n)&&r),r},EE,SE)),Is(3,3325952,[[2,4],["tabHeader",4]],1,lE,[gr,Co,_v,[2,h_],Gi],{disableRipple:[0,"disableRipple"],selectedIndex:[1,"selectedIndex"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),Gs(603979776,3,{_labelWrappers:1}),(t()(),Ha(16777216,null,0,1,null,vE)),Is(6,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null),(t()(),Ua(7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],null,null,null,null,null)),(t()(),Ha(16777216,null,null,1,null,_E)),Is(9,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,3,0,n.disableRipple,n.selectedIndex),t(e,6,0,n._tabs),t(e,9,0,n._tabs)},function(t,e){t(e,2,0,vs(e,3)._showPaginationControls,"rtl"==vs(e,3)._getLayoutDirection())})}var wE=da({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function CE(t){return sl(0,[(t()(),Ha(0,null,null,0))],null,null)}function xE(t){return sl(2,[Gs(402653184,1,{_portalHost:0}),(t()(),Ua(1,0,[["content",1]],null,4,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],function(t,e,n){var r=!0,i=t.component;return"@translateTab.start"===e&&(r=!1!==i._onTranslateTabStarted(n)&&r),"@translateTab.done"===e&&(r=!1!==i._translateTabComplete.next(n)&&r),r},null,null)),nl(2,{animationDuration:0}),nl(3,{value:0,params:1}),(t()(),Ha(16777216,null,null,1,null,CE)),Is(5,212992,null,0,oE,[or,wo,aE],null,null)],function(t,e){t(e,5,0)},function(t,e){var n=e.component,r=t(e,3,0,n._position,t(e,2,0,n.animationDuration));t(e,1,0,r)})}var SE=da({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media screen and (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media screen and (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media screen and (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media screen and (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}"],data:{}});function EE(t){return sl(2,[Gs(402653184,1,{_inkBar:0}),Gs(402653184,2,{_tabListContainer:0}),Gs(402653184,3,{_tabList:0}),(t()(),Ua(3,0,null,null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._scrollHeader("before")&&r),r},null,null)),Is(4,212992,null,0,gy,[gr,Gi,em,[2,yy],[2,Pw]],{disabled:[0,"disabled"]},null),(t()(),Ua(5,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(t()(),Ua(6,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],function(t,e,n){var r=!0;return"keydown"===e&&(r=!1!==t.component._handleKeydown(n)&&r),r},null,null)),(t()(),Ua(7,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],null,[[null,"cdkObserveContent"]],function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component._onContentChanges()&&r),r},null,null)),Is(8,1196032,null,0,Xw,[$w,gr,Gi],null,{event:"cdkObserveContent"}),(t()(),Ua(9,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),Js(null,0),(t()(),Ua(11,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],null,null,null,null,null)),Is(12,16384,[[1,4]],0,nE,[gr,Gi,eE],null,null),(t()(),Ua(13,0,null,null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._scrollHeader("after")&&r),r},null,null)),Is(14,212992,null,0,gy,[gr,Gi,em,[2,yy],[2,Pw]],{disabled:[0,"disabled"]},null),(t()(),Ua(15,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n._disableScrollBefore||n.disableRipple),t(e,14,0,n._disableScrollAfter||n.disableRipple)},function(t,e){var n=e.component;t(e,3,0,n._disableScrollBefore,vs(e,4).unbounded),t(e,13,0,n._disableScrollAfter,vs(e,14).unbounded)})}var kE=da({encapsulation:2,styles:[],data:{}});function DE(t){return sl(0,[Js(null,0),(t()(),Ha(0,null,null,0))],null,null)}function TE(t){return sl(2,[Gs(402653184,1,{_implicitContent:0}),(t()(),Ha(0,[[1,2]],null,0,null,DE))],null,null)}var AE=function(t){function e(e,n){var r=this,i=this.constructor.prototype;return(r=t.call(this,e)||this).statusCode=n,r.__proto__=i,r}return i(e,t),e}(Error),RE=function(t){function e(e){void 0===e&&(e="A timeout occurred.");var n=this,r=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=r,n}return i(e,t),e}(Error),IE=function(t){return t[t.Trace=0]="Trace",t[t.Debug=1]="Debug",t[t.Information=2]="Information",t[t.Warning=3]="Warning",t[t.Error=4]="Error",t[t.Critical=5]="Critical",t[t.None=6]="None",t}({}),OE=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},PE=function(){return function(t,e,n){this.statusCode=t,this.statusText=e,this.content=n}}(),NE=function(t){function e(e){var n=t.call(this)||this;return n.logger=e,n}return i(e,t),e.prototype.send=function(t){var e=this;return new Promise(function(n,r){var i=new XMLHttpRequest;i.open(t.method,t.url,!0),i.withCredentials=!0,i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),t.headers&&Object.keys(t.headers).forEach(function(e){return i.setRequestHeader(e,t.headers[e])}),t.responseType&&(i.responseType=t.responseType),t.abortSignal&&(t.abortSignal.onabort=function(){i.abort()}),t.timeout&&(i.timeout=t.timeout),i.onload=function(){t.abortSignal&&(t.abortSignal.onabort=null),i.status>=200&&i.status<300?n(new PE(i.status,i.statusText,i.response||i.responseText)):r(new AE(i.statusText,i.status))},i.onerror=function(){e.logger.log(IE.Warning,"Error from HTTP request. "+i.status+": "+i.statusText),r(new AE(i.statusText,i.status))},i.ontimeout=function(){e.logger.log(IE.Warning,"Timeout from HTTP request."),r(new RE)},i.send(t.content||"")})},e}(function(){function t(){}return t.prototype.get=function(t,e){return this.send(OE({},e,{method:"GET",url:t}))},t.prototype.post=function(t,e){return this.send(OE({},e,{method:"POST",url:t}))},t.prototype.delete=function(t,e){return this.send(OE({},e,{method:"DELETE",url:t}))},t}()),FE=function(){function t(){}return t.write=function(e){return""+e+t.RecordSeparator},t.parse=function(e){if(e[e.length-1]!==t.RecordSeparator)throw new Error("Message is incomplete.");var n=e.split(t.RecordSeparator);return n.pop(),n},t.RecordSeparatorCode=30,t.RecordSeparator=String.fromCharCode(t.RecordSeparatorCode),t}(),ME=function(){function t(){}return t.prototype.writeHandshakeRequest=function(t){return FE.write(JSON.stringify(t))},t.prototype.parseHandshakeResponse=function(t){var e,n;if(t instanceof ArrayBuffer){var r=new Uint8Array(t);if(-1===(o=r.indexOf(FE.RecordSeparatorCode)))throw new Error("Message is incomplete.");var i=o+1;e=String.fromCharCode.apply(null,r.slice(0,i)),n=r.byteLength>i?r.slice(i).buffer:null}else{var o,a=t;if(-1===(o=a.indexOf(FE.RecordSeparator)))throw new Error("Message is incomplete.");e=a.substring(0,i=o+1),n=a.length>i?a.substring(i):null}var s=FE.parse(e);return[n,JSON.parse(s[0])]},t}(),LE=function(t){return t[t.Invocation=1]="Invocation",t[t.StreamItem=2]="StreamItem",t[t.Completion=3]="Completion",t[t.StreamInvocation=4]="StreamInvocation",t[t.CancelInvocation=5]="CancelInvocation",t[t.Ping=6]="Ping",t[t.Close=7]="Close",t}({}),VE=function(){function t(){}return t.prototype.log=function(t,e){},t.instance=new t,t}(),jE=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{l(r.next(t))}catch(e){o(e)}}function s(t){try{l(r.throw(t))}catch(e){o(e)}}function l(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(a,s)}l((r=r.apply(t,e||[])).next())})},zE=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},BE=function(){function t(){}return t.isRequired=function(t,e){if(null==t)throw new Error("The '"+e+"' argument is required.")},t.isIn=function(t,e,n){if(!(t in e))throw new Error("Unknown "+n+" value: "+t+".")},t}();function HE(t,e){var n=null;return t instanceof ArrayBuffer?(n="Binary data of length "+t.byteLength,e&&(n+=". Content: '"+function(t){var e=new Uint8Array(t),n="";return e.forEach(function(t){n+="0x"+(t<16?"0":"")+t.toString(16)+" "}),n.substr(0,n.length-1)}(t)+"'")):"string"==typeof t&&(n="String data of length "+t.length,e&&(n+=". Content: '"+t+"'.")),n}function UE(t,e,n,r,i,o,a){return jE(this,void 0,void 0,function(){var s,l,u,c;return zE(this,function(h){switch(h.label){case 0:return[4,i()];case 1:return(u=h.sent())&&((s={}).Authorization="Bearer "+u,l=s),t.log(IE.Trace,"("+e+" transport) sending data. "+HE(o,a)+"."),[4,n.post(r,{content:o,headers:l})];case 2:return c=h.sent(),t.log(IE.Trace,"("+e+" transport) request complete. Response status: "+c.statusCode+"."),[2]}})})}var WE=function(){function t(t){this.observers=[],this.cancelCallback=t}return t.prototype.next=function(t){for(var e=0,n=this.observers;e<n.length;e++)n[e].next(t)},t.prototype.error=function(t){for(var e=0,n=this.observers;e<n.length;e++){var r=n[e];r.error&&r.error(t)}},t.prototype.complete=function(){for(var t=0,e=this.observers;t<e.length;t++){var n=e[t];n.complete&&n.complete()}},t.prototype.subscribe=function(t){return this.observers.push(t),new qE(this,t)},t}(),qE=function(){function t(t,e){this.subject=t,this.observer=e}return t.prototype.dispose=function(){var t=this.subject.observers.indexOf(this.observer);t>-1&&this.subject.observers.splice(t,1),0===this.subject.observers.length&&this.subject.cancelCallback().catch(function(t){})},t}(),YE=function(){function t(t){this.minimumLogLevel=t}return t.prototype.log=function(t,e){if(t>=this.minimumLogLevel)switch(t){case IE.Critical:case IE.Error:console.error(IE[t]+": "+e);break;case IE.Warning:console.warn(IE[t]+": "+e);break;case IE.Information:console.info(IE[t]+": "+e);break;default:console.log(IE[t]+": "+e)}},t}(),KE=3e4,GE=function(){function t(t,e,n){var r=this;BE.isRequired(t,"connection"),BE.isRequired(e,"logger"),BE.isRequired(n,"protocol"),this.serverTimeoutInMilliseconds=KE,this.logger=e,this.protocol=n,this.connection=t,this.handshakeProtocol=new ME,this.connection.onreceive=function(t){return r.processIncomingData(t)},this.connection.onclose=function(t){return r.connectionClosed(t)},this.callbacks={},this.methods={},this.closedCallbacks=[],this.id=0}return t.create=function(e,n,r){return new t(e,n,r)},t.prototype.start=function(){return t=this,void 0,n=function(){var t;return function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,function(e){switch(e.label){case 0:return t={protocol:this.protocol.name,version:this.protocol.version},this.logger.log(IE.Debug,"Starting HubConnection."),this.receivedHandshakeResponse=!1,[4,this.connection.start(this.protocol.transferFormat)];case 1:return e.sent(),this.logger.log(IE.Debug,"Sending handshake request."),[4,this.connection.send(this.handshakeProtocol.writeHandshakeRequest(t))];case 2:return e.sent(),this.logger.log(IE.Information,"Using HubProtocol '"+this.protocol.name+"'."),this.cleanupTimeout(),this.configureTimeout(),[2]}})},new((e=void 0)||(e=Promise))(function(r,i){function o(t){try{s(n.next(t))}catch(e){i(e)}}function a(t){try{s(n.throw(t))}catch(e){i(e)}}function s(t){t.done?r(t.value):new e(function(e){e(t.value)}).then(o,a)}s((n=n.apply(t,[])).next())});var t,e,n},t.prototype.stop=function(){return this.logger.log(IE.Debug,"Stopping HubConnection."),this.cleanupTimeout(),this.connection.stop()},t.prototype.stream=function(t){for(var e=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=this.createStreamInvocation(t,n),o=new WE(function(){var t=e.createCancelInvocation(i.invocationId),n=e.protocol.writeMessage(t);return delete e.callbacks[i.invocationId],e.connection.send(n)});this.callbacks[i.invocationId]=function(t,e){e?o.error(e):t.type===LE.Completion?t.error?o.error(new Error(t.error)):o.complete():o.next(t.item)};var a=this.protocol.writeMessage(i);return this.connection.send(a).catch(function(t){o.error(t),delete e.callbacks[i.invocationId]}),o},t.prototype.send=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this.createInvocation(t,e,!0),i=this.protocol.writeMessage(r);return this.connection.send(i)},t.prototype.invoke=function(t){for(var e=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=this.createInvocation(t,n,!1);return new Promise(function(t,n){e.callbacks[i.invocationId]=function(e,r){if(r)n(r);else if(e.type===LE.Completion){var i=e;i.error?n(new Error(i.error)):t(i.result)}else n(new Error("Unexpected message type: "+e.type))};var r=e.protocol.writeMessage(i);e.connection.send(r).catch(function(t){n(t),delete e.callbacks[i.invocationId]})})},t.prototype.on=function(t,e){t&&e&&(t=t.toLowerCase(),this.methods[t]||(this.methods[t]=[]),-1===this.methods[t].indexOf(e)&&this.methods[t].push(e))},t.prototype.off=function(t,e){if(t){t=t.toLowerCase();var n=this.methods[t];if(n)if(e){var r=n.indexOf(e);-1!==r&&(n.splice(r,1),0===n.length&&delete this.methods[t])}else delete this.methods[t]}},t.prototype.onclose=function(t){t&&this.closedCallbacks.push(t)},t.prototype.processIncomingData=function(t){if(this.cleanupTimeout(),this.receivedHandshakeResponse||(t=this.processHandshakeResponse(t),this.receivedHandshakeResponse=!0),t)for(var e=0,n=this.protocol.parseMessages(t,this.logger);e<n.length;e++){var r=n[e];switch(r.type){case LE.Invocation:this.invokeClientMethod(r);break;case LE.StreamItem:case LE.Completion:var i=this.callbacks[r.invocationId];null!=i&&(r.type===LE.Completion&&delete this.callbacks[r.invocationId],i(r));break;case LE.Ping:break;case LE.Close:this.logger.log(IE.Information,"Close message received from server."),this.connection.stop(r.error?new Error("Server returned an error on close: "+r.error):null);break;default:this.logger.log(IE.Warning,"Invalid message type: "+r.type)}}this.configureTimeout()},t.prototype.processHandshakeResponse=function(t){var e,n,r;try{r=(e=this.handshakeProtocol.parseHandshakeResponse(t))[0],n=e[1]}catch(a){var i;this.logger.log(IE.Error,i="Error parsing handshake response: "+a);var o=new Error(i);throw this.connection.stop(o),o}return n.error?(this.logger.log(IE.Error,i="Server returned handshake error: "+n.error),this.connection.stop(new Error(i))):this.logger.log(IE.Debug,"Server handshake complete."),r},t.prototype.configureTimeout=function(){var t=this;this.connection.features&&this.connection.features.inherentKeepAlive||(this.timeoutHandle=setTimeout(function(){return t.serverTimeout()},this.serverTimeoutInMilliseconds))},t.prototype.serverTimeout=function(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))},t.prototype.invokeClientMethod=function(t){var e=this,n=this.methods[t.target.toLowerCase()];if(n){if(n.forEach(function(n){return n.apply(e,t.arguments)}),t.invocationId){var r="Server requested a response, which is not supported in this version of the client.";this.logger.log(IE.Error,r),this.connection.stop(new Error(r))}}else this.logger.log(IE.Warning,"No client method with the name '"+t.target+"' found.")},t.prototype.connectionClosed=function(t){var e=this,n=this.callbacks;this.callbacks={},Object.keys(n).forEach(function(e){(0,n[e])(void 0,t||new Error("Invocation canceled due to connection being closed."))}),this.cleanupTimeout(),this.closedCallbacks.forEach(function(n){return n.apply(e,[t])})},t.prototype.cleanupTimeout=function(){this.timeoutHandle&&clearTimeout(this.timeoutHandle)},t.prototype.createInvocation=function(t,e,n){if(n)return{arguments:e,target:t,type:LE.Invocation};var r=this.id;return this.id++,{arguments:e,invocationId:r.toString(),target:t,type:LE.Invocation}},t.prototype.createStreamInvocation=function(t,e){var n=this.id;return this.id++,{arguments:e,invocationId:n.toString(),target:t,type:LE.StreamInvocation}},t.prototype.createCancelInvocation=function(t){return{invocationId:t,type:LE.CancelInvocation}},t}(),ZE=function(t){return t[t.None=0]="None",t[t.WebSockets=1]="WebSockets",t[t.ServerSentEvents=2]="ServerSentEvents",t[t.LongPolling=4]="LongPolling",t}({}),QE=function(t){return t[t.Text=1]="Text",t[t.Binary=2]="Binary",t}({}),$E=function(){function t(){this.isAborted=!1}return t.prototype.abort=function(){this.isAborted||(this.isAborted=!0,this.onabort&&this.onabort())},Object.defineProperty(t.prototype,"signal",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"aborted",{get:function(){return this.isAborted},enumerable:!0,configurable:!0}),t}(),XE=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{l(r.next(t))}catch(e){o(e)}}function s(t){try{l(r.throw(t))}catch(e){o(e)}}function l(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(a,s)}l((r=r.apply(t,e||[])).next())})},JE=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},tk=5e3,ek=function(){function t(t,e,n,r,i){this.httpClient=t,this.accessTokenFactory=e||function(){return null},this.logger=n,this.pollAbort=new $E,this.logMessageContent=r,this.shutdownTimeout=i||tk}return Object.defineProperty(t.prototype,"pollAborted",{get:function(){return this.pollAbort.aborted},enumerable:!0,configurable:!0}),t.prototype.connect=function(t,e){return XE(this,void 0,void 0,function(){var n,r,i,o,a;return JE(this,function(s){switch(s.label){case 0:if(BE.isRequired(t,"url"),BE.isRequired(e,"transferFormat"),BE.isIn(e,QE,"transferFormat"),this.url=t,this.logger.log(IE.Trace,"(LongPolling transport) Connecting"),e===QE.Binary&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");return n={abortSignal:this.pollAbort.signal,headers:{},timeout:9e4},e===QE.Binary&&(n.responseType="arraybuffer"),[4,this.accessTokenFactory()];case 1:return r=s.sent(),this.updateHeaderToken(n,r),o=t+"&_="+Date.now(),this.logger.log(IE.Trace,"(LongPolling transport) polling: "+o),[4,this.httpClient.get(o,n)];case 2:return 200!==(a=s.sent()).statusCode?(this.logger.log(IE.Error,"(LongPolling transport) Unexpected response code: "+a.statusCode),i=new AE(a.statusText,a.statusCode),this.running=!1):this.running=!0,this.poll(this.url,n,i),[2,Promise.resolve()]}})})},t.prototype.updateHeaderToken=function(t,e){e?t.headers.Authorization="Bearer "+e:t.headers.Authorization&&delete t.headers.Authorization},t.prototype.poll=function(t,e,n){return XE(this,void 0,void 0,function(){var r,i,o,a;return JE(this,function(s){switch(s.label){case 0:s.trys.push([0,,8,9]),s.label=1;case 1:return this.running?[4,this.accessTokenFactory()]:[3,7];case 2:r=s.sent(),this.updateHeaderToken(e,r),s.label=3;case 3:return s.trys.push([3,5,,6]),i=t+"&_="+Date.now(),this.logger.log(IE.Trace,"(LongPolling transport) polling: "+i),[4,this.httpClient.get(i,e)];case 4:return 204===(o=s.sent()).statusCode?(this.logger.log(IE.Information,"(LongPolling transport) Poll terminated by server"),this.running=!1):200!==o.statusCode?(this.logger.log(IE.Error,"(LongPolling transport) Unexpected response code: "+o.statusCode),n=new AE(o.statusText,o.statusCode),this.running=!1):o.content?(this.logger.log(IE.Trace,"(LongPolling transport) data received. "+HE(o.content,this.logMessageContent)),this.onreceive&&this.onreceive(o.content)):this.logger.log(IE.Trace,"(LongPolling transport) Poll timed out, reissuing."),[3,6];case 5:return a=s.sent(),this.running?a instanceof RE?this.logger.log(IE.Trace,"(LongPolling transport) Poll timed out, reissuing."):(n=a,this.running=!1):this.logger.log(IE.Trace,"(LongPolling transport) Poll errored after shutdown: "+a.message),[3,6];case 6:return[3,1];case 7:return[3,9];case 8:return this.stopped=!0,this.shutdownTimer&&clearTimeout(this.shutdownTimer),this.onclose&&(this.logger.log(IE.Trace,"(LongPolling transport) Firing onclose event. Error: "+(n||"<undefined>")),this.onclose(n)),this.logger.log(IE.Trace,"(LongPolling transport) Transport finished."),[7];case 9:return[2]}})})},t.prototype.send=function(t){return XE(this,void 0,void 0,function(){return JE(this,function(e){return this.running?[2,UE(this.logger,"LongPolling",this.httpClient,this.url,this.accessTokenFactory,t,this.logMessageContent)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]})})},t.prototype.stop=function(){return XE(this,void 0,void 0,function(){var t,e,n=this;return JE(this,function(r){switch(r.label){case 0:return r.trys.push([0,,3,4]),this.running=!1,this.logger.log(IE.Trace,"(LongPolling transport) sending DELETE request to "+this.url+"."),t={headers:{}},[4,this.accessTokenFactory()];case 1:return e=r.sent(),this.updateHeaderToken(t,e),[4,this.httpClient.delete(this.url,t)];case 2:return r.sent(),this.logger.log(IE.Trace,"(LongPolling transport) DELETE request accepted."),[3,4];case 3:return this.stopped||(this.shutdownTimer=setTimeout(function(){n.logger.log(IE.Warning,"(LongPolling transport) server did not terminate after DELETE request, canceling poll."),n.pollAbort.abort()},this.shutdownTimeout)),[7];case 4:return[2]}})})},t}(),nk=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{l(r.next(t))}catch(e){o(e)}}function s(t){try{l(r.throw(t))}catch(e){o(e)}}function l(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(a,s)}l((r=r.apply(t,e||[])).next())})},rk=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},ik=function(){function t(t,e,n,r){this.httpClient=t,this.accessTokenFactory=e||function(){return null},this.logger=n,this.logMessageContent=r}return t.prototype.connect=function(t,e){return nk(this,void 0,void 0,function(){var n,r=this;return rk(this,function(i){switch(i.label){case 0:if(BE.isRequired(t,"url"),BE.isRequired(e,"transferFormat"),BE.isIn(e,QE,"transferFormat"),"undefined"==typeof EventSource)throw new Error("'EventSource' is not supported in your environment.");return this.logger.log(IE.Trace,"(SSE transport) Connecting"),[4,this.accessTokenFactory()];case 1:return(n=i.sent())&&(t+=(t.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(n)),this.url=t,[2,new Promise(function(n,i){var o=!1;e!==QE.Text&&i(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));var a=new EventSource(t,{withCredentials:!0});try{a.onmessage=function(t){if(r.onreceive)try{r.logger.log(IE.Trace,"(SSE transport) data received. "+HE(t.data,r.logMessageContent)+"."),r.onreceive(t.data)}catch(e){return void(r.onclose&&r.onclose(e))}},a.onerror=function(t){var e=new Error(t.message||"Error occurred");o?r.close(e):i(e)},a.onopen=function(){r.logger.log(IE.Information,"SSE connected to "+r.url),r.eventSource=a,o=!0,n()}}catch(s){return Promise.reject(s)}})]}})})},t.prototype.send=function(t){return nk(this,void 0,void 0,function(){return rk(this,function(e){return this.eventSource?[2,UE(this.logger,"SSE",this.httpClient,this.url,this.accessTokenFactory,t,this.logMessageContent)]:[2,Promise.reject(new Error("Cannot send until the transport is connected"))]})})},t.prototype.stop=function(){return this.close(),Promise.resolve()},t.prototype.close=function(t){this.eventSource&&(this.eventSource.close(),this.eventSource=null,this.onclose&&this.onclose(t))},t}(),ok=function(){function t(t,e,n){this.logger=e,this.accessTokenFactory=t||function(){return null},this.logMessageContent=n}return t.prototype.connect=function(t,e){return n=this,void 0,i=function(){var n,r=this;return function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,function(i){switch(i.label){case 0:if(BE.isRequired(t,"url"),BE.isRequired(e,"transferFormat"),BE.isIn(e,QE,"transferFormat"),"undefined"==typeof WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return this.logger.log(IE.Trace,"(WebSockets transport) Connecting"),[4,this.accessTokenFactory()];case 1:return(n=i.sent())&&(t+=(t.indexOf("?")<0?"?":"&")+"access_token="+encodeURIComponent(n)),[2,new Promise(function(n,i){t=t.replace(/^http/,"ws");var o=new WebSocket(t);e===QE.Binary&&(o.binaryType="arraybuffer"),o.onopen=function(e){r.logger.log(IE.Information,"WebSocket connected to "+t),r.webSocket=o,n()},o.onerror=function(t){i(t.error)},o.onmessage=function(t){r.logger.log(IE.Trace,"(WebSockets transport) data received. "+HE(t.data,r.logMessageContent)+"."),r.onreceive&&r.onreceive(t.data)},o.onclose=function(t){r.logger.log(IE.Trace,"(WebSockets transport) socket closed."),r.onclose&&(!1===t.wasClean||1e3!==t.code?r.onclose(new Error("Websocket closed with status code: "+t.code+" ("+t.reason+")")):r.onclose())}})]}})},new((r=void 0)||(r=Promise))(function(t,e){function o(t){try{s(i.next(t))}catch(n){e(n)}}function a(t){try{s(i.throw(t))}catch(n){e(n)}}function s(e){e.done?t(e.value):new r(function(t){t(e.value)}).then(o,a)}s((i=i.apply(n,[])).next())});var n,r,i},t.prototype.send=function(t){return this.webSocket&&this.webSocket.readyState===WebSocket.OPEN?(this.logger.log(IE.Trace,"(WebSockets transport) sending data. "+HE(t,this.logMessageContent)+"."),this.webSocket.send(t),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")},t.prototype.stop=function(){return this.webSocket&&(this.webSocket.close(),this.webSocket=null),Promise.resolve()},t}(),ak=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{l(r.next(t))}catch(e){o(e)}}function s(t){try{l(r.throw(t))}catch(e){o(e)}}function l(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(a,s)}l((r=r.apply(t,e||[])).next())})},sk=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},lk=function(){function t(t,e){var n;void 0===e&&(e={}),this.features={},BE.isRequired(t,"url"),this.logger=void 0===(n=e.logger)?new YE(IE.Information):null===n?VE.instance:n.log?n:new YE(n),this.baseUrl=this.resolveUrl(t),(e=e||{}).accessTokenFactory=e.accessTokenFactory||function(){return null},e.logMessageContent=e.logMessageContent||!1,this.httpClient=e.httpClient||new NE(this.logger),this.connectionState=2,this.options=e}return t.prototype.start=function(t){return BE.isIn(t=t||QE.Binary,QE,"transferFormat"),this.logger.log(IE.Debug,"Starting connection with transfer format '"+QE[t]+"'."),2!==this.connectionState?Promise.reject(new Error("Cannot start a connection that is not in the 'Disconnected' state.")):(this.connectionState=0,this.startPromise=this.startInternal(t),this.startPromise)},t.prototype.send=function(t){if(1!==this.connectionState)throw new Error("Cannot send data if the connection is not in the 'Connected' State.");return this.transport.send(t)},t.prototype.stop=function(t){return ak(this,void 0,void 0,function(){return sk(this,function(e){switch(e.label){case 0:this.connectionState=2,e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.startPromise];case 2:case 3:return e.sent(),[3,4];case 4:return this.transport?(this.stopError=t,[4,this.transport.stop()]):[3,6];case 5:e.sent(),this.transport=null,e.label=6;case 6:return[2]}})})},t.prototype.startInternal=function(t){return ak(this,void 0,void 0,function(){var e,n,r,i,o,a,s,l=this;return sk(this,function(u){switch(u.label){case 0:e=this.baseUrl,this.accessTokenFactory=this.options.accessTokenFactory,u.label=1;case 1:return u.trys.push([1,12,,13]),this.options.skipNegotiation?this.options.transport!==ZE.WebSockets?[3,3]:(this.transport=this.constructTransport(ZE.WebSockets),[4,this.transport.connect(e,t)]):[3,5];case 2:return u.sent(),[3,4];case 3:throw Error("Negotiation can only be skipped when using the WebSocket transport directly.");case 4:return[3,11];case 5:n=null,r=0,i=function(){var t;return sk(this,function(i){switch(i.label){case 0:return[4,o.getNegotiationResponse(e)];case 1:return n=i.sent(),2===o.connectionState?[2,{value:void 0}]:(n.url&&(e=n.url),n.accessToken&&(t=n.accessToken,o.accessTokenFactory=function(){return t}),r++,[2])}})},o=this,u.label=6;case 6:return[5,i()];case 7:if("object"==typeof(a=u.sent()))return[2,a.value];u.label=8;case 8:if(n.url&&r<100)return[3,6];u.label=9;case 9:if(100===r&&n.url)throw Error("Negotiate redirection limit exceeded.");return[4,this.createTransport(e,this.options.transport,n,t)];case 10:u.sent(),u.label=11;case 11:return this.transport instanceof ek&&(this.features.inherentKeepAlive=!0),this.transport.onreceive=this.onreceive,this.transport.onclose=function(t){return l.stopConnection(t)},this.changeState(0,1),[3,13];case 12:throw s=u.sent(),this.logger.log(IE.Error,"Failed to start the connection: "+s),this.connectionState=2,this.transport=null,s;case 13:return[2]}})})},t.prototype.getNegotiationResponse=function(t){return ak(this,void 0,void 0,function(){var e,n,r,i,o,a;return sk(this,function(s){switch(s.label){case 0:return[4,this.accessTokenFactory()];case 1:(n=s.sent())&&((e={}).Authorization="Bearer "+n,r=e),i=this.resolveNegotiateUrl(t),this.logger.log(IE.Debug,"Sending negotiation request: "+i),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,this.httpClient.post(i,{content:"",headers:r})];case 3:if(200!==(o=s.sent()).statusCode)throw Error("Unexpected status code returned from negotiate "+o.statusCode);return[2,JSON.parse(o.content)];case 4:throw a=s.sent(),this.logger.log(IE.Error,"Failed to complete negotiation with the server: "+a),a;case 5:return[2]}})})},t.prototype.createConnectUrl=function(t,e){return t+(-1===t.indexOf("?")?"?":"&")+"id="+e},t.prototype.createTransport=function(t,e,n,r){return ak(this,void 0,void 0,function(){var i,o,a,s,l,u;return sk(this,function(c){switch(c.label){case 0:return i=this.createConnectUrl(t,n.connectionId),this.isITransport(e)?(this.logger.log(IE.Debug,"Connection was provided an instance of ITransport, using that directly."),this.transport=e,[4,this.transport.connect(i,r)]):[3,2];case 1:return c.sent(),this.changeState(0,1),[2];case 2:o=0,a=n.availableTransports,c.label=3;case 3:return o<a.length?(s=a[o],this.connectionState=0,"number"!=typeof(l=this.resolveTransport(s,e,r))?[3,8]:(this.transport=this.constructTransport(l),null!==n.connectionId?[3,5]:[4,this.getNegotiationResponse(t)])):[3,9];case 4:n=c.sent(),i=this.createConnectUrl(t,n.connectionId),c.label=5;case 5:return c.trys.push([5,7,,8]),[4,this.transport.connect(i,r)];case 6:return c.sent(),this.changeState(0,1),[2];case 7:return u=c.sent(),this.logger.log(IE.Error,"Failed to start the transport '"+ZE[l]+"': "+u),this.connectionState=2,n.connectionId=null,[3,8];case 8:return o++,[3,3];case 9:throw new Error("Unable to initialize any of the available transports.")}})})},t.prototype.constructTransport=function(t){switch(t){case ZE.WebSockets:return new ok(this.accessTokenFactory,this.logger,this.options.logMessageContent);case ZE.ServerSentEvents:return new ik(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent);case ZE.LongPolling:return new ek(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent);default:throw new Error("Unknown transport: "+t+".")}},t.prototype.resolveTransport=function(t,e,n){var r=ZE[t.transport];if(null==r)this.logger.log(IE.Debug,"Skipping transport '"+t.transport+"' because it is not supported by this client.");else{var i=t.transferFormats.map(function(t){return QE[t]});if(function(t,e){return!t||0!=(r&t)}(e))if(i.indexOf(n)>=0){if(!(r===ZE.WebSockets&&"undefined"==typeof WebSocket||r===ZE.ServerSentEvents&&"undefined"==typeof EventSource))return this.logger.log(IE.Debug,"Selecting transport '"+ZE[r]+"'"),r;this.logger.log(IE.Debug,"Skipping transport '"+ZE[r]+"' because it is not supported in your environment.'")}else this.logger.log(IE.Debug,"Skipping transport '"+ZE[r]+"' because it does not support the requested transfer format '"+QE[n]+"'.");else this.logger.log(IE.Debug,"Skipping transport '"+ZE[r]+"' because it was disabled by the client.")}return null},t.prototype.isITransport=function(t){return t&&"object"==typeof t&&"connect"in t},t.prototype.changeState=function(t,e){return this.connectionState===t&&(this.connectionState=e,!0)},t.prototype.stopConnection=function(t){return ak(this,void 0,void 0,function(){return sk(this,function(e){return this.transport=null,(t=this.stopError||t)?this.logger.log(IE.Error,"Connection disconnected with error '"+t+"'."):this.logger.log(IE.Information,"Connection disconnected."),this.connectionState=2,this.onclose&&this.onclose(t),[2]})})},t.prototype.resolveUrl=function(t){if(0===t.lastIndexOf("https://",0)||0===t.lastIndexOf("http://",0))return t;if("undefined"==typeof window||!window||!window.document)throw new Error("Cannot resolve '"+t+"'.");var e=window.document.createElement("a");return e.href=t,this.logger.log(IE.Information,"Normalizing '"+t+"' to '"+e.href+"'."),e.href},t.prototype.resolveNegotiateUrl=function(t){var e=t.indexOf("?"),n=t.substring(0,-1===e?t.length:e);return"/"!==n[n.length-1]&&(n+="/"),(n+="negotiate")+(-1===e?"":t.substring(e))},t}(),uk="json",ck=function(){function t(){this.name=uk,this.version=1,this.transferFormat=QE.Text}return t.prototype.parseMessages=function(t,e){if("string"!=typeof t)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!t)return[];null===e&&(e=VE.instance);for(var n=[],r=0,i=FE.parse(t);r<i.length;r++){var o=JSON.parse(i[r]);if("number"!=typeof o.type)throw new Error("Invalid payload.");switch(o.type){case LE.Invocation:this.isInvocationMessage(o);break;case LE.StreamItem:this.isStreamItemMessage(o);break;case LE.Completion:this.isCompletionMessage(o);break;case LE.Ping:case LE.Close:break;default:e.log(IE.Information,"Unknown message type '"+o.type+"' ignored.");continue}n.push(o)}return n},t.prototype.writeMessage=function(t){return FE.write(JSON.stringify(t))},t.prototype.isInvocationMessage=function(t){this.assertNotEmptyString(t.target,"Invalid payload for Invocation message."),void 0!==t.invocationId&&this.assertNotEmptyString(t.invocationId,"Invalid payload for Invocation message.")},t.prototype.isStreamItemMessage=function(t){if(this.assertNotEmptyString(t.invocationId,"Invalid payload for StreamItem message."),void 0===t.item)throw new Error("Invalid payload for StreamItem message.")},t.prototype.isCompletionMessage=function(t){if(t.result&&t.error)throw new Error("Invalid payload for Completion message.");!t.result&&t.error&&this.assertNotEmptyString(t.error,"Invalid payload for Completion message."),this.assertNotEmptyString(t.invocationId,"Invalid payload for Completion message.")},t.prototype.assertNotEmptyString=function(t,e){if("string"!=typeof t||""===t)throw new Error(e)},t}(),hk=function(){function t(){}return t.prototype.configureLogging=function(t){return BE.isRequired(t,"logging"),this.logger=void 0!==t.log?t:new YE(t),this},t.prototype.withUrl=function(t,e){return BE.isRequired(t,"url"),this.url=t,this.httpConnectionOptions="object"==typeof e?e:{transport:e},this},t.prototype.withHubProtocol=function(t){return BE.isRequired(t,"protocol"),this.protocol=t,this},t.prototype.build=function(){var t=this.httpConnectionOptions||{};if(void 0===t.logger&&(t.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");var e=new lk(this.url,t);return GE.create(e,this.logger||VE.instance,this.protocol||new ck)},t}(),pk=function(){function t(t){this.http=t;var e=this;this.subject=new sv(20),this.connection=(new hk).withUrl("/DataHub").build(),this.connection.start().catch(function(t){return console.log(t)}).finally(function(){e.reloadData()}),this.connection.on("sendMessageToClients",function(t){var n=t;n.aliveResult.startedDate=new Date(n.aliveResult.startedDate.toString());var r=(new Date).getTimezoneOffset();n.aliveResult.startedDate=new Date(n.aliveResult.startedDate.valueOf()-6e4*r),e.subject.next(n)})}return t.prototype.reloadData=function(){this.http.get("api/values").subscribe()},t.prototype.getData=function(){return this.subject.asObservable()},t.ngInjectableDef=kt({factory:function(){return new t(ge(yx))},token:t,providedIn:"root"}),t}(),dk={headers:new nx({"Content-Type":"text/plain"})},fk=function(){function t(t){this.http=t}return t.prototype.GetConfig=function(t){return this.http.get("/api/values/"+t,dk)},t.ngInjectableDef=kt({factory:function(){return new t(ge(yx))},token:t,providedIn:"root"}),t}(),mk=function(){return function(t){var e=this;t.forEach(function(t){return e[t]=null})}}(),yk=function(){function t(){}return t.friendlyName=function(t){switch(t){case"StankinsStatusWeb.StartProcess, StankinsAliveMonitor":case"Stankins.Alive.ReceiverProcessAlive":return"Process";case"StankinsStatusWeb.PingAddress, StankinsAliveMonitor":case"Stankins.Alive.ReceiverPing":return"Ping";case"StankinsStatusWeb.WebAdress, StankinsAliveMonitor":case"Stankins.Alive.ReceiverWeb":return"Web";case"StankinsStatusWeb.DatabaseConnection, StankinsAliveMonitor":case"Stankins.Alive.ReceiverDBSqlServer":return"Database";default:return"!!"+t}},t.TransformToRow=function(t){var e=t.map(function(t){return t.Data.Type}).filter(function(t,e,n){return n.indexOf(t)===e}),n=[];return t.forEach(function(t){var r=!1,i=t.Data.Type;if(n.forEach(function(e){if(null==e[i])return e[i]=t,void(r=!0)}),!r){var o=new mk(e);o[i]=t,n.push(o)}}),[e,n]},t}(),gk=function(){function t(t){this.data=t,this.test=3065,this.results=new Map}return t.prototype.ngOnInit=function(){var t=this;this.data.getData().subscribe(function(e){var n,r;t.results.set(e.customData.name,e),t.OK=Array.from(t.results.values()).filter(function(t){return t.aliveResult.isSuccess}).sort(function(t,e){return t.customData.name.localeCompare(e.customData.name)}),t.Failed=Array.from(t.results.values()).filter(function(t){return!t.aliveResult.isSuccess}).sort(function(t,e){return t.customData.name.localeCompare(e.customData.name)}),n=t.TransformToRow(t.OK),t.OKColumns=n[0],t.OKRows=n[1],r=t.TransformToRow(t.Failed),t.FailedColumns=r[0],t.FailedRows=r[1]})},t.prototype.friendlyName=function(t){return yk.friendlyName(t)},t.prototype.TransformToRow=function(t){var e=t.map(function(t){return t.myType}).filter(function(t,e,n){return n.indexOf(t)===e}),n=[];return t.forEach(function(t){var r=!1,i=t.myType;if(n.forEach(function(e){if(null==e[i])return e[i]=t,void(r=!0)}),!r){var o=new mk(e);o[i]=t,n.push(o)}}),[e,n]},t}(),vk=da({encapsulation:0,styles:[[""]],data:{}});function _k(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"mat-icon",[["class","mat-icon"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(1,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],{color:[0,"color"]},null),(t()(),il(-1,0,["done"])),(t()(),il(-1,null,[" Success: "])),(t()(),Ua(4,0,null,null,1,"span",[],[[8,"innerHTML",1]],null,null,null,null)),el(5,1)],function(t,e){t(e,1,0,"primary")},function(t,e){var n=e.component;t(e,0,0,vs(e,1).inline);var r=ca(e,4,0,t(e,5,0,vs(e.parent,0),null==n.OK?null:n.OK.length));t(e,4,0,r)})}function bk(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],[[4,"background-color",null]],null,null,null,null)),Is(1,16384,null,0,wg,[Ky,gr],null,null),(t()(),Ua(2,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),il(3,null,[" ",""]))],null,function(t,e){var n=e.component;t(e,0,0,"#0000ff"),t(e,3,0,n.friendlyName(e.parent.context.$implicit))})}function wk(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Ua(1,0,null,null,1,"app-show-item",[],null,null,null,JS,GS)),Is(2,114688,null,0,KS,[],{item:[0,"item"]},null)],function(t,e){t(e,2,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])},null)}function Ck(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],[[4,"background-color",null]],null,null,null,null)),Is(1,16384,null,0,Cg,[Ky,gr],null,null),(t()(),Ha(16777216,null,null,1,null,wk)),Is(3,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,null!=e.context.$implicit[e.parent.context.$implicit])},function(t,e){t(e,0,0,"#0000ff")})}function xk(t){return sl(0,[(t()(),Ua(0,0,null,null,12,null,null,null,null,null,null,null)),Ps(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[bg]),Is(2,16384,null,3,bg,[],{name:[0,"name"]},null),Gs(335544320,8,{cell:0}),Gs(335544320,9,{headerCell:0}),Gs(335544320,10,{footerCell:0}),Ps(2048,[[4,4]],Ky,null,[bg]),(t()(),Ha(0,null,null,2,null,bk)),Is(8,16384,null,0,_g,[Ur],null,null),Ps(2048,[[9,4]],Yy,null,[_g]),(t()(),Ha(0,null,null,2,null,Ck)),Is(11,16384,null,0,vg,[Ur],null,null),Ps(2048,[[8,4]],qy,null,[vg])],function(t,e){t(e,2,0,za(1,"",e.context.$implicit,""))},null)}function Sk(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,zw,jw)),Ps(6144,null,ng,null,[Eg]),Is(2,49152,null,0,Eg,[],null,null)],null,null)}function Ek(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["class","example-element-row mat-row"],["mat-row",""],["role","row"]],[[2,"example-expanded-row",null]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(i.expandedElement=i.expandedElement===t.context.$implicit?null:t.context.$implicit)&&r),r},Hw,Bw)),Ps(6144,null,rg,null,[kg]),Is(2,49152,null,0,kg,[],null,null)],null,function(t,e){t(e,0,0,e.component.expandedElement===e.context.$implicit)})}function kk(t){return sl(0,[(t()(),Ua(0,0,null,null,15,"div",[],null,null,null,null,null)),(t()(),Ua(1,0,null,null,14,"table",[["class","mat-elevation-z8 mat-table"],["mat-table",""],["multiTemplateDataRows",""]],null,null,null,Vw,Lw)),Is(2,2342912,null,4,gg,[jo,Co,gr,[8,null],[2,h_],Hc,em],{dataSource:[0,"dataSource"],multiTemplateDataRows:[1,"multiTemplateDataRows"]},null),Gs(603979776,4,{_contentColumnDefs:1}),Gs(603979776,5,{_contentRowDefs:1}),Gs(603979776,6,{_contentHeaderRowDefs:1}),Gs(603979776,7,{_contentFooterRowDefs:1}),(t()(),Ha(16777216,null,null,1,null,xk)),Is(8,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null),(t()(),Ua(9,0,null,null,6,"tbody",[],null,null,null,null,null)),(t()(),Ha(0,null,null,2,null,Sk)),Is(11,540672,null,0,xg,[Ur,jo],{columns:[0,"columns"]},null),Ps(2048,[[6,4]],Xy,null,[xg]),(t()(),Ha(0,null,null,2,null,Ek)),Is(14,540672,null,0,Sg,[Ur,jo],{columns:[0,"columns"]},null),Ps(2048,[[5,4]],tg,null,[Sg])],function(t,e){var n=e.component;t(e,2,0,n.OKRows,""),t(e,8,0,n.OKColumns),t(e,11,0,n.OKColumns),t(e,14,0,n.OKColumns)},null)}function Dk(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"mat-icon",[["class","mat-icon"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(1,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],null,null),(t()(),il(-1,0,["error"])),(t()(),il(-1,null,[" Failed: "])),(t()(),Ua(4,0,null,null,1,"span",[["style","background-color: red"]],[[8,"innerHTML",1]],null,null,null,null)),el(5,1)],function(t,e){t(e,1,0)},function(t,e){var n=e.component;t(e,0,0,vs(e,1).inline);var r=ca(e,4,0,t(e,5,0,vs(e.parent,0),null==n.Failed?null:n.Failed.length));t(e,4,0,r)})}function Tk(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],[[4,"background-color",null]],null,null,null,null)),Is(1,16384,null,0,wg,[Ky,gr],null,null),(t()(),Ua(2,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),il(3,null,[" ",""]))],null,function(t,e){var n=e.component;t(e,0,0,"red"),t(e,3,0,n.friendlyName(e.parent.context.$implicit))})}function Ak(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Ua(1,0,null,null,1,"app-show-item",[],null,null,null,JS,GS)),Is(2,114688,null,0,KS,[],{item:[0,"item"]},null)],function(t,e){t(e,2,0,e.parent.context.$implicit[e.parent.parent.context.$implicit])},null)}function Rk(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],[[4,"background-color",null]],null,null,null,null)),Is(1,16384,null,0,Cg,[Ky,gr],null,null),(t()(),Ha(16777216,null,null,1,null,Ak)),Is(3,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,null!=e.context.$implicit[e.parent.context.$implicit])},function(t,e){t(e,0,0,"red")})}function Ik(t){return sl(0,[(t()(),Ua(0,0,null,null,12,null,null,null,null,null,null,null)),Ps(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[bg]),Is(2,16384,null,3,bg,[],{name:[0,"name"]},null),Gs(335544320,17,{cell:0}),Gs(335544320,18,{headerCell:0}),Gs(335544320,19,{footerCell:0}),Ps(2048,[[13,4]],Ky,null,[bg]),(t()(),Ha(0,null,null,2,null,Tk)),Is(8,16384,null,0,_g,[Ur],null,null),Ps(2048,[[18,4]],Yy,null,[_g]),(t()(),Ha(0,null,null,2,null,Rk)),Is(11,16384,null,0,vg,[Ur],null,null),Ps(2048,[[17,4]],qy,null,[vg])],function(t,e){t(e,2,0,za(1,"",e.context.$implicit,""))},null)}function Ok(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,zw,jw)),Ps(6144,null,ng,null,[Eg]),Is(2,49152,null,0,Eg,[],null,null)],null,null)}function Pk(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["class","example-element-row mat-row"],["mat-row",""],["role","row"]],[[2,"example-expanded-row",null]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(i.expandedElement=i.expandedElement===t.context.$implicit?null:t.context.$implicit)&&r),r},Hw,Bw)),Ps(6144,null,rg,null,[kg]),Is(2,49152,null,0,kg,[],null,null)],null,function(t,e){t(e,0,0,e.component.expandedElement===e.context.$implicit)})}function Nk(t){return sl(0,[(t()(),Ua(0,0,null,null,15,"div",[],null,null,null,null,null)),(t()(),Ua(1,0,null,null,14,"table",[["class","mat-elevation-z8 mat-table"],["mat-table",""],["multiTemplateDataRows",""]],null,null,null,Vw,Lw)),Is(2,2342912,null,4,gg,[jo,Co,gr,[8,null],[2,h_],Hc,em],{dataSource:[0,"dataSource"],multiTemplateDataRows:[1,"multiTemplateDataRows"]},null),Gs(603979776,13,{_contentColumnDefs:1}),Gs(603979776,14,{_contentRowDefs:1}),Gs(603979776,15,{_contentHeaderRowDefs:1}),Gs(603979776,16,{_contentFooterRowDefs:1}),(t()(),Ha(16777216,null,null,1,null,Ik)),Is(8,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null),(t()(),Ua(9,0,null,null,6,"tbody",[],null,null,null,null,null)),(t()(),Ha(0,null,null,2,null,Ok)),Is(11,540672,null,0,xg,[Ur,jo],{columns:[0,"columns"]},null),Ps(2048,[[15,4]],Xy,null,[xg]),(t()(),Ha(0,null,null,2,null,Pk)),Is(14,540672,null,0,Sg,[Ur,jo],{columns:[0,"columns"]},null),Ps(2048,[[14,4]],tg,null,[Sg])],function(t,e){var n=e.component;t(e,2,0,n.FailedRows,""),t(e,8,0,n.FailedColumns),t(e,11,0,n.FailedColumns),t(e,14,0,n.FailedColumns)},null)}function Fk(t){return sl(0,[Os(0,tE,[]),(t()(),il(-1,null,["Monitored items: "])),(t()(),Ua(2,0,null,null,1,"span",[],[[8,"innerHTML",1]],null,null,null,null)),el(3,1),(t()(),Ua(4,0,null,null,18,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,bE,fE)),Is(5,3325952,null,1,pE,[gr,Co,[2,hE]],null,null),Gs(603979776,1,{_tabs:1}),(t()(),Ua(7,16777216,null,null,7,"mat-tab",[["label",""]],null,null,null,TE,kE)),Is(8,770048,[[1,4]],2,iE,[wo],{textLabel:[0,"textLabel"]},null),Gs(335544320,2,{templateLabel:0}),Gs(335544320,3,{_explicitContent:0}),(t()(),Ha(16777216,null,0,1,null,_k)),Is(12,16384,[[2,4]],0,rE,[Ur,wo],null,null),(t()(),Ha(16777216,null,0,1,null,kk)),Is(14,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),(t()(),Ua(15,16777216,null,null,7,"mat-tab",[],null,null,null,TE,kE)),Is(16,770048,[[1,4]],2,iE,[wo],null,null),Gs(335544320,11,{templateLabel:0}),Gs(335544320,12,{_explicitContent:0}),(t()(),Ha(16777216,null,0,1,null,Dk)),Is(20,16384,[[11,4]],0,rE,[Ur,wo],null,null),(t()(),Ha(16777216,null,0,1,null,Nk)),Is(22,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,8,0,""),t(e,14,0,(null==n.OKColumns?null:n.OKColumns.length)>0),t(e,16,0),t(e,22,0,(null==n.FailedColumns?null:n.FailedColumns.length)>0)},function(t,e){var n=e.component,r=ca(e,2,0,t(e,3,0,vs(e,0),n.results.size));t(e,2,0,r),t(e,4,0,vs(e,5).dynamicHeight,"below"===vs(e,5).headerPosition)})}function Mk(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"app-dashboard",[],null,null,null,Fk,vk)),Is(1,114688,null,0,gk,[pk],null,null)],function(t,e){t(e,1,0)},null)}var Lk=ss("app-dashboard",gk,Mk,{},{},[]),Vk=function(){function t(t){this.data=t,this.results=new Map}return t.prototype.ngOnInit=function(){var t=this;this.data.getData().subscribe(function(e){t.results.set(e.customData.name,e),t.OK=Array.from(t.results.values()).filter(function(t){return t.aliveResult.isSuccess}).sort(function(t,e){return t.customData.name.localeCompare(e.customData.name)})})},t}(),jk=da({encapsulation:0,styles:[[""]],data:{}});function zk(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Ua(1,0,null,null,1,"app-show-item",[],null,null,null,JS,GS)),Is(2,114688,null,0,KS,[],{item:[0,"item"]},null)],function(t,e){t(e,2,0,e.context.$implicit)},null)}function Bk(t){return sl(0,[Os(0,tE,[]),(t()(),Ua(1,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),il(-1,null,[" Number ok:"])),(t()(),Ua(3,0,null,null,1,"span",[],[[8,"innerHTML",1]],null,null,null,null)),el(4,1),(t()(),Ha(16777216,null,null,1,null,zk)),Is(6,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,6,0,e.component.OK)},function(t,e){var n=e.component,r=ca(e,3,0,t(e,4,0,vs(e,0),null==n.OK?null:n.OK.length));t(e,3,0,r)})}function Hk(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"app-result-success",[],null,null,null,Bk,jk)),Is(1,114688,null,0,Vk,[pk],null,null)],function(t,e){t(e,1,0)},null)}var Uk=ss("app-result-success",Vk,Hk,{},{},[]),Wk=function(){function t(t){this.data=t,this.results=new Map}return t.prototype.ngOnInit=function(){var t=this;this.data.getData().subscribe(function(e){t.results.set(e.customData.name,e),t.Failed=Array.from(t.results.values()).filter(function(t){return!t.aliveResult.isSuccess}).sort(function(t,e){return t.customData.name.localeCompare(e.customData.name)})})},t}(),qk=da({encapsulation:0,styles:[[""]],data:{}});function Yk(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Ua(1,0,null,null,1,"app-show-item",[],null,null,null,JS,GS)),Is(2,114688,null,0,KS,[],{item:[0,"item"]},null)],function(t,e){t(e,2,0,e.context.$implicit)},null)}function Kk(t){return sl(0,[Os(0,tE,[]),(t()(),Ua(1,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),il(-1,null,[" Number failed: "])),(t()(),Ua(3,0,null,null,1,"span",[["style","background-color: red"]],[[8,"innerHTML",1]],null,null,null,null)),el(4,1),(t()(),Ha(16777216,null,null,1,null,Yk)),Is(6,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,6,0,e.component.Failed)},function(t,e){var n=e.component,r=ca(e,3,0,t(e,4,0,vs(e,0),null==n.Failed?null:n.Failed.length));t(e,3,0,r)})}function Gk(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"app-result-failed",[],null,null,null,Kk,qk)),Is(1,114688,null,0,Wk,[pk],null,null)],function(t,e){t(e,1,0)},null)}var Zk=ss("app-result-failed",Wk,Gk,{},{},[]),Qk=0,$k=function(){function t(){this._stateChanges=new j,this._openCloseAllActions=new j,this.id="cdk-accordion-"+Qk++,this._multi=!1}return Object.defineProperty(t.prototype,"multi",{get:function(){return this._multi},set:function(t){this._multi=Kf(t)},enumerable:!0,configurable:!0}),t.prototype.openAll=function(){this._openCloseAll(!0)},t.prototype.closeAll=function(){this._openCloseAll(!1)},t.prototype.ngOnChanges=function(t){this._stateChanges.next(t)},t.prototype.ngOnDestroy=function(){this._stateChanges.complete()},t.prototype._openCloseAll=function(t){this.multi&&this._openCloseAllActions.next(t)},t}(),Xk=0,Jk=function(){function t(t,e,n){var r=this;this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=b.EMPTY,this.closed=new Hr,this.opened=new Hr,this.destroyed=new Hr,this.expandedChange=new Hr,this.id="cdk-accordion-child-"+Xk++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.listen(function(t,e){r.accordion&&!r.accordion.multi&&r.accordion.id===e&&r.id!==t&&(r.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object.defineProperty(t.prototype,"expanded",{get:function(){return this._expanded},set:function(t){t=Kf(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Kf(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()},t.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},t.prototype.close=function(){this.disabled||(this.expanded=!1)},t.prototype.open=function(){this.disabled||(this.expanded=!0)},t.prototype._subscribeToOpenCloseAllActions=function(){var t=this;return this.accordion._openCloseAllActions.subscribe(function(e){t.disabled||(t.expanded=e)})},t}(),tD=function(){return function(){}}(),eD=new At("MAT_ACCORDION"),nD=0,rD=function(t){function e(e,n,r,i,o,a){var s=t.call(this,e,n,r)||this;return s._viewContainerRef=i,s._animationMode=a,s._hideToggle=!1,s.afterExpand=new Hr,s.afterCollapse=new Hr,s._inputChanges=new j,s._headerId="mat-expansion-panel-header-"+nD++,s._bodyAnimationDone=new j,s.accordion=e,s._document=o,s._bodyAnimationDone.pipe(Wg(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){"void"!==t.fromState&&("expanded"===t.toState?s.afterExpand.emit():"collapsed"===t.toState&&s.afterCollapse.emit())}),s}return i(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(t){this._hideToggle=Kf(t)},enumerable:!0,configurable:!0}),e.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},e.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},e.prototype.ngAfterContentInit=function(){var t=this;this._lazyContent&&this.opened.pipe(um(null),ku(function(){return t.expanded&&!t._portal}),Zu(1)).subscribe(function(){t._portal=new xv(t._lazyContent._template,t._viewContainerRef)})},e.prototype.ngOnChanges=function(t){this._inputChanges.next(t)},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()},e.prototype._containsFocus=function(){if(this._body&&this._document){var t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1},e}(Jk),iD=function(){function t(t,e,n,r){var i=this;this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=r,this._parentChangeSubscription=b.EMPTY;var o=t.accordion?t.accordion._stateChanges.pipe(ku(function(t){return!!t.hideToggle})):vu;this._parentChangeSubscription=ct(t.opened,t.closed,o,t._inputChanges.pipe(ku(function(t){return!(!t.hideToggle&&!t.disabled)}))).subscribe(function(){return i._changeDetectorRef.markForCheck()}),t.closed.pipe(ku(function(){return t._containsFocus()})).subscribe(function(){return n.focusVia(e,"program")}),n.monitor(e).subscribe(function(e){e&&t.accordion&&t.accordion._handleHeaderFocus(i)})}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this.panel.disabled},enumerable:!0,configurable:!0}),t.prototype._toggle=function(){this.panel.toggle()},t.prototype._isExpanded=function(){return this.panel.expanded},t.prototype._getExpandedState=function(){return this.panel._getExpandedState()},t.prototype._getPanelId=function(){return this.panel.id},t.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},t.prototype._keydown=function(t){switch(t.keyCode){case 32:case 13:(function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.length?e.some(function(e){return t[e]}):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey})(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}},t.prototype.focus=function(t){void 0===t&&(t="program"),this._focusMonitor.focusVia(this._element,t)},t.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)},t}(),oD=function(){return function(){}}(),aD=function(){return function(){}}(),sD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._hideToggle=!1,e.displayMode="default",e}return i(e,t),Object.defineProperty(e.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(t){this._hideToggle=Kf(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._keyManager=new Sm(this._headers).withWrap()},e.prototype._handleHeaderKeydown=function(t){var e=t.keyCode,n=this._keyManager;36===e?(n.setFirstItemActive(),t.preventDefault()):35===e?(n.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)},e.prototype._handleHeaderFocus=function(t){this._keyManager.updateActiveItem(t)},e}($k),lD=function(){return function(){}}(),uD=da({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media screen and (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function cD(t){return sl(0,[(t()(),Ha(0,null,null,0))],null,null)}function hD(t){return sl(2,[Gs(402653184,1,{_body:0}),Js(null,0),(t()(),Ua(2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],function(t,e,n){var r=!0;return"@bodyExpansion.done"===e&&(r=!1!==t.component._bodyAnimationDone.next(n)&&r),r},null,null)),(t()(),Ua(3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),Js(null,1),(t()(),Ha(16777216,null,null,1,null,cD)),Is(6,212992,null,0,Dv,[or,wo],{portal:[0,"portal"]},null),Js(null,2)],function(t,e){t(e,6,0,e.component._portal)},function(t,e){var n=e.component;t(e,2,0,n._getExpandedState(),n._headerId,n.id)})}var pD=da({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function dD(t){return sl(0,[(t()(),Ua(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,function(t,e){t(e,0,0,e.component._getExpandedState())})}function fD(t){return sl(2,[(t()(),Ua(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),Js(null,0),Js(null,1),Js(null,2),(t()(),Ha(16777216,null,null,1,null,dD)),Is(5,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,5,0,e.component._showToggle())},null)}var mD=function(){function t(t,e){var n=this;this.route=t,this.data=e,t.params.subscribe(function(t){return n.ngOnInit()})}return t.prototype.ngOnInit=function(){var t=this;this.id=this.route.snapshot.paramMap.get("id"),this.results=new Map,console.log(this.id),this.data.getData().subscribe(function(e){t.results.set(e.customData.name,e),t.DisplayResults=Array.from(t.results.values()).filter(function(e){return e.customData.tags.some(function(e){return e===t.id})}).sort(function(t,e){return t.customData.name.localeCompare(e.customData.name)}),t.OK=Array.from(t.DisplayResults).filter(function(t){return t.aliveResult.isSuccess}).sort(function(t,e){return t.customData.name.localeCompare(e.customData.name)}),t.Failed=Array.from(t.DisplayResults).filter(function(t){return!t.aliveResult.isSuccess}).sort(function(t,e){return t.customData.name.localeCompare(e.customData.name)})})},t}(),yD=da({encapsulation:0,styles:[[""]],data:{}});function gD(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"mat-icon",[["class","mat-icon"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(1,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],{color:[0,"color"]},null),(t()(),il(-1,0,["done"])),(t()(),il(-1,null,[" Success: "])),(t()(),Ua(4,0,null,null,1,"span",[],[[8,"innerHTML",1]],null,null,null,null)),el(5,1)],function(t,e){t(e,1,0,"primary")},function(t,e){var n=e.component;t(e,0,0,vs(e,1).inline);var r=ca(e,4,0,t(e,5,0,vs(e.parent,0),null==n.OK?null:n.OK.length));t(e,4,0,r)})}function vD(t){return sl(0,[(t()(),Ua(0,16777216,null,null,15,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,hD,uD)),Is(1,1753088,null,1,rD,[[3,eD],Co,zy,wo,Hc,[2,Pw]],null,null),Gs(335544320,5,{_lazyContent:0}),Ps(256,null,eD,void 0,[]),(t()(),Ua(4,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,5)._toggle()&&r),"keydown"===e&&(r=!1!==vs(t,5)._keydown(n)&&r),r},fD,pD)),Is(5,180224,[[4,4]],0,iD,[rD,gr,Nm,Co],null,null),nl(6,{collapsedHeight:0,expandedHeight:1}),nl(7,{value:0,params:1}),(t()(),Ua(8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Is(9,16384,null,0,aD,[],null,null),(t()(),il(10,null,["",") "," "])),(t()(),Ua(11,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Is(12,16384,null,0,oD,[],null,null),(t()(),il(13,null,[" Last update :"," "])),(t()(),Ua(14,0,null,1,1,"app-show-item",[],null,null,null,JS,GS)),Is(15,114688,null,0,KS,[],{item:[0,"item"]},null),(t()(),Ha(0,null,null,0))],function(t,e){t(e,15,0,e.context.$implicit)},function(t,e){t(e,0,0,vs(e,1).expanded,"NoopAnimations"===vs(e,1)._animationMode,vs(e,1)._hasSpacing());var n=vs(e,5).panel._headerId,r=vs(e,5).disabled?-1:0,i=vs(e,5)._getPanelId(),o=vs(e,5)._isExpanded(),a=vs(e,5).panel.disabled,s=vs(e,5)._isExpanded(),l=t(e,7,0,vs(e,5)._getExpandedState(),t(e,6,0,vs(e,5).collapsedHeight,vs(e,5).expandedHeight));t(e,4,0,n,r,i,o,a,s,l),t(e,10,0,e.context.index+1,e.context.$implicit.customData.name);var u=e.context.$implicit.aliveResult.startedDate.toLocaleString();t(e,13,0,u)})}function _D(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"mat-icon",[["class","mat-icon"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(1,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],null,null),(t()(),il(-1,0,["error"])),(t()(),il(-1,null,[" Failed: "])),(t()(),Ua(4,0,null,null,1,"span",[["style","background-color: red"]],[[8,"innerHTML",1]],null,null,null,null)),el(5,1)],function(t,e){t(e,1,0)},function(t,e){var n=e.component;t(e,0,0,vs(e,1).inline);var r=ca(e,4,0,t(e,5,0,vs(e.parent,0),null==n.Failed?null:n.Failed.length));t(e,4,0,r)})}function bD(t){return sl(0,[(t()(),Ua(0,16777216,null,null,15,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,hD,uD)),Is(1,1753088,null,1,rD,[[3,eD],Co,zy,wo,Hc,[2,Pw]],null,null),Gs(335544320,9,{_lazyContent:0}),Ps(256,null,eD,void 0,[]),(t()(),Ua(4,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,5)._toggle()&&r),"keydown"===e&&(r=!1!==vs(t,5)._keydown(n)&&r),r},fD,pD)),Is(5,180224,[[8,4]],0,iD,[rD,gr,Nm,Co],null,null),nl(6,{collapsedHeight:0,expandedHeight:1}),nl(7,{value:0,params:1}),(t()(),Ua(8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Is(9,16384,null,0,aD,[],null,null),(t()(),il(10,null,[" "," "," "])),(t()(),Ua(11,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Is(12,16384,null,0,oD,[],null,null),(t()(),il(13,null,[" Last update :"," "])),(t()(),Ua(14,0,null,1,1,"app-show-item",[],null,null,null,JS,GS)),Is(15,114688,null,0,KS,[],{item:[0,"item"]},null),(t()(),Ha(0,null,null,0))],function(t,e){t(e,15,0,e.context.$implicit)},function(t,e){t(e,0,0,vs(e,1).expanded,"NoopAnimations"===vs(e,1)._animationMode,vs(e,1)._hasSpacing());var n=vs(e,5).panel._headerId,r=vs(e,5).disabled?-1:0,i=vs(e,5)._getPanelId(),o=vs(e,5)._isExpanded(),a=vs(e,5).panel.disabled,s=vs(e,5)._isExpanded(),l=t(e,7,0,vs(e,5)._getExpandedState(),t(e,6,0,vs(e,5).collapsedHeight,vs(e,5).expandedHeight));t(e,4,0,n,r,i,o,a,s,l),t(e,10,0,e.context.index+1,e.context.$implicit.customData.name);var u=e.context.$implicit.aliveResult.startedDate.toLocaleString();t(e,13,0,u)})}function wD(t){return sl(0,[Os(0,tE,[]),(t()(),Ua(1,0,null,null,6,"p",[],null,null,null,null,null)),(t()(),il(-1,null,[" Display items with tag "])),(t()(),Ua(3,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),il(4,null,["",""])),(t()(),il(-1,null,[" : "])),(t()(),Ua(6,0,null,null,1,"span",[],[[8,"innerHTML",1]],null,null,null,null)),el(7,1),(t()(),Ua(8,0,null,null,26,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,bE,fE)),Is(9,3325952,null,1,pE,[gr,Co,[2,hE]],null,null),Gs(603979776,1,{_tabs:1}),(t()(),Ua(11,16777216,null,null,11,"mat-tab",[["label",""]],null,null,null,TE,kE)),Is(12,770048,[[1,4]],2,iE,[wo],{textLabel:[0,"textLabel"]},null),Gs(335544320,2,{templateLabel:0}),Gs(335544320,3,{_explicitContent:0}),(t()(),Ha(16777216,null,0,1,null,gD)),Is(16,16384,[[2,4]],0,rE,[Ur,wo],null,null),(t()(),Ua(17,0,null,0,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Ps(6144,null,eD,null,[sD]),Is(19,1720320,null,1,sD,[],null,null),Gs(603979776,4,{_headers:1}),(t()(),Ha(16777216,null,null,1,null,vD)),Is(22,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null),(t()(),Ua(23,16777216,null,null,11,"mat-tab",[],null,null,null,TE,kE)),Is(24,770048,[[1,4]],2,iE,[wo],null,null),Gs(335544320,6,{templateLabel:0}),Gs(335544320,7,{_explicitContent:0}),(t()(),Ha(16777216,null,0,1,null,_D)),Is(28,16384,[[6,4]],0,rE,[Ur,wo],null,null),(t()(),Ua(29,0,null,0,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Ps(6144,null,eD,null,[sD]),Is(31,1720320,null,1,sD,[],null,null),Gs(603979776,8,{_headers:1}),(t()(),Ha(16777216,null,null,1,null,bD)),Is(34,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,12,0,""),t(e,22,0,n.OK),t(e,24,0),t(e,34,0,n.Failed)},function(t,e){var n=e.component;t(e,4,0,n.id);var r=ca(e,6,0,t(e,7,0,vs(e,0),null==n.DisplayResults?null:n.DisplayResults.length));t(e,6,0,r),t(e,8,0,vs(e,9).dynamicHeight,"below"===vs(e,9).headerPosition)})}function CD(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"app-tag-display",[],null,null,null,wD,yD)),Is(1,114688,null,0,mD,[ud,pk],null,null)],function(t,e){t(e,1,0)},null)}var xD=ss("app-tag-display",mD,CD,{},{},[]),SD=function(){function t(t){this.fg=t,this.columnsToDisplay=[]}return t.prototype.ngOnInit=function(){var t=this;this.fg.GetConfig("default").subscribe(function(e){var n;n=yk.TransformToRow(e.ExecutorsDynamic),t.columnsToDisplay=n[0],t.dataSource=n[1]})},t.prototype.friendlyName=function(t){return yk.friendlyName(t)},t}(),ED=da({encapsulation:0,styles:[["mat-card[_ngcontent-%COMP%]{width:calc(100% - 70px);height:calc(100% - 70px)}mat-header-cell[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]],data:{}});function kD(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"th",[["class","mat-header-cell"],["mat-header-cell",""],["role","columnheader"]],[[4,"background-color",null]],null,null,null,null)),Is(1,16384,null,0,wg,[Ky,gr],null,null),(t()(),Ua(2,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),il(3,null,[" ",""]))],null,function(t,e){var n=e.component;t(e,0,0,"#0000ff"),t(e,3,0,n.friendlyName(e.parent.context.$implicit))})}function DD(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),il(1,null,[" ",":"," "]))],null,function(t,e){t(e,1,0,e.context.$implicit.key,e.context.$implicit.value)})}function TD(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),il(1,null,[" ",":"," "]))],null,function(t,e){t(e,1,0,e.context.$implicit.key,e.context.$implicit.value)})}function AD(t){return sl(0,[(t()(),Ua(0,0,null,null,28,"mat-card",[["class","example-card mat-card"]],null,null,null,WS,US)),Is(1,49152,null,0,zS,[],null,null),(t()(),Ua(2,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,YS,qS)),Is(3,49152,null,0,BS,[],null,null),(t()(),Ua(4,0,null,0,1,"div",[["class","example-header-image mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),Is(5,16384,null,0,jS,[],null,null),(t()(),Ua(6,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Is(7,16384,null,0,FS,[],null,null),(t()(),il(8,null,["",""])),(t()(),Ua(9,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Is(10,16384,null,0,MS,[],null,null),(t()(),il(11,null,["",""])),(t()(),Ua(12,0,null,0,1,"b",[],null,null,null,null,null)),(t()(),il(-1,null,["Properties:"])),(t()(),Ua(14,0,null,0,7,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Is(15,16384,null,0,NS,[],null,null),(t()(),Ha(16777216,null,null,2,null,DD)),Is(17,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null),Os(0,jc,[zo]),(t()(),Ha(16777216,null,null,2,null,TD)),Is(20,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null),Os(0,jc,[zo]),(t()(),Ua(22,0,null,0,6,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Is(23,16384,null,0,LS,[],null,null),(t()(),Ua(24,0,null,null,1,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,Mw,Fw)),Is(25,180224,null,0,m_,[gr,em,Nm,[2,Pw]],null,null),(t()(),Ua(26,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,Mw,Fw)),Is(27,180224,null,0,m_,[gr,em,Nm,[2,Pw]],null,null),(t()(),il(-1,0,["Delete"]))],function(t,e){t(e,17,0,ca(e,17,0,vs(e,18).transform(e.parent.context.$implicit[e.parent.parent.context.$implicit].Data))),t(e,20,0,ca(e,20,0,vs(e,21).transform(e.parent.context.$implicit[e.parent.parent.context.$implicit].CustomData)))},function(t,e){t(e,8,0,e.parent.context.$implicit[e.parent.parent.context.$implicit].CustomData.Name),t(e,11,0,e.parent.context.$implicit[e.parent.parent.context.$implicit].Data.CRON),t(e,22,0,"end"===vs(e,23).align),t(e,24,0,vs(e,25).disabled||null,"NoopAnimations"===vs(e,25)._animationMode),t(e,26,0,vs(e,27).disabled||null,"NoopAnimations"===vs(e,27)._animationMode)})}function RD(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],[[4,"background-color",null]],null,null,null,null)),Is(1,16384,null,0,Cg,[Ky,gr],null,null),(t()(),Ha(16777216,null,null,1,null,AD)),Is(3,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,null!=e.context.$implicit[e.parent.context.$implicit])},function(t,e){t(e,0,0,"#0000ff")})}function ID(t){return sl(0,[(t()(),Ua(0,0,null,null,12,null,null,null,null,null,null,null)),Ps(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[bg]),Is(2,16384,null,3,bg,[],{name:[0,"name"]},null),Gs(335544320,5,{cell:0}),Gs(335544320,6,{headerCell:0}),Gs(335544320,7,{footerCell:0}),Ps(2048,[[1,4]],Ky,null,[bg]),(t()(),Ha(0,null,null,2,null,kD)),Is(8,16384,null,0,_g,[Ur],null,null),Ps(2048,[[6,4]],Yy,null,[_g]),(t()(),Ha(0,null,null,2,null,RD)),Is(11,16384,null,0,vg,[Ur],null,null),Ps(2048,[[5,4]],qy,null,[vg])],function(t,e){t(e,2,0,za(1,"",e.context.$implicit,""))},null)}function OD(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["class","mat-header-row"],["mat-header-row",""],["role","row"]],null,null,null,zw,jw)),Ps(6144,null,ng,null,[Eg]),Is(2,49152,null,0,Eg,[],null,null)],null,null)}function PD(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["class","example-element-row mat-row"],["mat-row",""],["role","row"]],[[2,"example-expanded-row",null]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(i.expandedElement=i.expandedElement===t.context.$implicit?null:t.context.$implicit)&&r),r},Hw,Bw)),Ps(6144,null,rg,null,[kg]),Is(2,49152,null,0,kg,[],null,null)],null,function(t,e){t(e,0,0,e.component.expandedElement===e.context.$implicit)})}function ND(t){return sl(0,[(t()(),Ua(0,0,null,null,15,"div",[],null,null,null,null,null)),(t()(),Ua(1,0,null,null,14,"table",[["class","mat-elevation-z8 mat-table"],["mat-table",""],["multiTemplateDataRows",""]],null,null,null,Vw,Lw)),Is(2,2342912,null,4,gg,[jo,Co,gr,[8,null],[2,h_],Hc,em],{dataSource:[0,"dataSource"],multiTemplateDataRows:[1,"multiTemplateDataRows"]},null),Gs(603979776,1,{_contentColumnDefs:1}),Gs(603979776,2,{_contentRowDefs:1}),Gs(603979776,3,{_contentHeaderRowDefs:1}),Gs(603979776,4,{_contentFooterRowDefs:1}),(t()(),Ha(16777216,null,null,1,null,ID)),Is(8,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null),(t()(),Ua(9,0,null,null,6,"tbody",[],null,null,null,null,null)),(t()(),Ha(0,null,null,2,null,OD)),Is(11,540672,null,0,xg,[Ur,jo],{columns:[0,"columns"]},null),Ps(2048,[[3,4]],Xy,null,[xg]),(t()(),Ha(0,null,null,2,null,PD)),Is(14,540672,null,0,Sg,[Ur,jo],{columns:[0,"columns"]},null),Ps(2048,[[2,4]],tg,null,[Sg])],function(t,e){var n=e.component;t(e,2,0,n.dataSource,""),t(e,8,0,n.columnsToDisplay),t(e,11,0,n.columnsToDisplay),t(e,14,0,n.columnsToDisplay)},null)}function FD(t){return sl(0,[(t()(),Ha(16777216,null,null,1,null,ND)),Is(1,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,1,0,e.component.columnsToDisplay.length>0)},null)}function MD(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"app-what-monitor",[],null,null,null,FD,ED)),Is(1,114688,null,0,SD,[fk],null,null)],function(t,e){t(e,1,0)},null)}var LD=ss("app-what-monitor",SD,MD,{},{},[]),VD=function(){return function(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!0,this.restoreFocus=!0}}(),jD=function(t){function e(e,n,r,i,o,a){var s=t.call(this)||this;return s._elementRef=e,s._changeDetectorRef=n,s._focusTrapFactory=r,s.bottomSheetConfig=a,s._animationState="void",s._animationStateChanged=new Hr,s._elementFocusedBeforeOpened=null,s._document=o,s._breakpointSubscription=i.observe([zg.Medium,zg.Large,zg.XLarge]).subscribe(function(){s._toggleClass("mat-bottom-sheet-container-medium",i.isMatched(zg.Medium)),s._toggleClass("mat-bottom-sheet-container-large",i.isMatched(zg.Large)),s._toggleClass("mat-bottom-sheet-container-xlarge",i.isMatched(zg.XLarge))}),s}return i(e,t),e.prototype.attachComponentPortal=function(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)},e.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},e.prototype.exit=function(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())},e.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0},e.prototype._onAnimationDone=function(t){"hidden"===t.toState?this._restoreFocus():"visible"===t.toState&&this.bottomSheetConfig.autoFocus&&this._trapFocus(),this._animationStateChanged.emit(t)},e.prototype._onAnimationStart=function(t){this._animationStateChanged.emit(t)},e.prototype._toggleClass=function(t,e){var n=this._elementRef.nativeElement.classList;e?n.add(t):n.remove(t)},e.prototype._validatePortalAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach bottom sheet content after content is already attached")},e.prototype._setPanelClass=function(){var t=this._elementRef.nativeElement,e=this.bottomSheetConfig.panelClass;Array.isArray(e)?e.forEach(function(e){return t.classList.add(e)}):e&&t.classList.add(e)},e.prototype._trapFocus=function(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._focusTrap.focusInitialElementWhenReady()},e.prototype._restoreFocus=function(){var t=this._elementFocusedBeforeOpened;this.bottomSheetConfig.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()},e.prototype._savePreviouslyFocusedElement=function(){var t=this;this._elementFocusedBeforeOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return t._elementRef.nativeElement.focus()})},e}(Sv),zD=function(){return function(){}}(),BD=da({encapsulation:2,styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}@media screen and (-ms-high-contrast:active){.mat-bottom-sheet-container{outline:1px solid}}.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium,.mat-bottom-sheet-container-xlarge{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"translateY(100%)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"visible => void, visible => hidden",animation:{type:4,styles:null,timings:"375ms cubic-bezier(0.4,0.0,1,1)"},options:null},{type:1,expr:"void => visible",animation:{type:4,styles:null,timings:"195ms cubic-bezier(0.0,0.0,0.2,1)"},options:null}],options:{}}]}});function HD(t){return sl(0,[(t()(),Ha(0,null,null,0))],null,null)}function UD(t){return sl(2,[Gs(402653184,1,{_portalOutlet:0}),(t()(),Ha(16777216,null,null,1,null,HD)),Is(2,212992,[[1,4]],0,Dv,[or,wo],{portal:[0,"portal"]},null)],function(t,e){t(e,2,0,"")},null)}function WD(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"mat-bottom-sheet-container",[["aria-modal","true"],["class","mat-bottom-sheet-container"],["role","dialog"],["tabindex","-1"]],[[1,"aria-label",0],[40,"@state",0]],[["component","@state.start"],["component","@state.done"]],function(t,e,n){var r=!0;return"component:@state.start"===e&&(r=!1!==vs(t,1)._onAnimationStart(n)&&r),"component:@state.done"===e&&(r=!1!==vs(t,1)._onAnimationDone(n)&&r),r},UD,BD)),Is(1,180224,null,0,jD,[gr,Co,Am,Vg,[2,Hc],VD],null,null)],null,function(t,e){t(e,0,0,null==vs(e,1).bottomSheetConfig?null:vs(e,1).bottomSheetConfig.ariaLabel,vs(e,1)._animationState)})}var qD=ss("mat-bottom-sheet-container",jD,WD,{},{},[]),YD=da({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 screen and (-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+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{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 KD(t){return sl(0,[(t()(),Ha(0,null,null,0))],null,null)}function GD(t){return sl(0,[Gs(402653184,1,{_portalOutlet:0}),(t()(),Ha(16777216,null,null,1,null,KD)),Is(2,212992,[[1,4]],0,Dv,[or,wo],{portal:[0,"portal"]},null)],function(t,e){t(e,2,0,"")},null)}function ZD(t){return sl(0,[(t()(),Ua(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 r=!0;return"component:@dialogContainer.start"===e&&(r=!1!==vs(t,1)._onAnimationStart(n)&&r),"component:@dialogContainer.done"===e&&(r=!1!==vs(t,1)._onAnimationDone(n)&&r),r},GD,YD)),Is(1,49152,null,0,Lx,[gr,Am,Co,[2,Hc],Fx],null,null)],null,function(t,e){t(e,0,0,vs(e,1)._id,vs(e,1)._config.role,vs(e,1)._config.ariaLabel?null:vs(e,1)._ariaLabelledBy,vs(e,1)._config.ariaLabel,vs(e,1)._config.ariaDescribedBy||null,vs(e,1)._state)})}var QD=ss("mat-dialog-container",Lx,ZD,{},{},[]);function $D(t){return Error("MatDatepicker: No provider found for "+t+". You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.")}var XD=function(){function t(){this.changes=new j,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),JD=function(){return function(t,e,n,r,i){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=r,this.cssClasses=i}}(),tT=function(){function t(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new Hr}return t.prototype._cellClicked=function(t){t.enabled&&this.selectedValueChange.emit(t.value)},t.prototype.ngOnChanges=function(t){var e=t.numCols,n=this.rows,r=this.numCols;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?r-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/r+"%"),!e&&this._cellWidth||(this._cellWidth=100/r+"%")},t.prototype._isActiveCell=function(t,e){var n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell},t.prototype._focusActiveCell=function(){var t=this;this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.asObservable().pipe(Zu(1)).subscribe(function(){var e=t._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&e.focus()})})},t}(),eT=function(){function t(t,e,n,r){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=r,this.selectedChange=new Hr,this._userSelection=new Hr,this.activeDateChange=new Hr,!this._dateAdapter)throw $D("DateAdapter");if(!this._dateFormats)throw $D("MAT_DATE_FORMATS");var i=this._dateAdapter.getFirstDayOfWeek(),o=this._dateAdapter.getDayOfWeekNames("narrow"),a=this._dateAdapter.getDayOfWeekNames("long").map(function(t,e){return{long:t,narrow:o[e]}});this._weekdays=a.slice(i).concat(a.slice(0,i)),this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedDate=this._getDateInCurrentMonth(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._init()},t.prototype._dateSelected=function(t){if(this._selectedDate!=t){var e=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(e,n,t);this.selectedChange.emit(r)}this._userSelection.emit()},t.prototype._handleCalendarBodyKeydown=function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),t.preventDefault()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()},t.prototype._init=function(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._createWeekCells(),this._changeDetectorRef.markForCheck()},t.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},t.prototype._createWeekCells=function(){var t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,r=this._firstWeekOffset;n<t;n++,r++){7==r&&(this._weeks.push([]),r=0);var i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),o=this._shouldEnableDate(i),a=this._dateAdapter.format(i,this._dateFormats.display.dateA11yLabel),s=this.dateClass?this.dateClass(i):void 0;this._weeks[this._weeks.length-1].push(new JD(n+1,e[n],a,o,s))}},t.prototype._shouldEnableDate=function(t){return!!t&&(!this.dateFilter||this.dateFilter(t))&&(!this.minDate||this._dateAdapter.compareDate(t,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)},t.prototype._getDateInCurrentMonth=function(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null},t.prototype._hasSameMonthAndYear=function(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},t}(),nT=function(){function t(t,e,n){if(this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this.selectedChange=new Hr,this.yearSelected=new Hr,this.activeDateChange=new Hr,!this._dateAdapter)throw $D("DateAdapter");this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),Math.floor(this._dateAdapter.getYear(e)/24)!=Math.floor(this._dateAdapter.getYear(this._activeDate)/24)&&this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._init()},t.prototype._init=function(){var t=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var e=this._dateAdapter.getYear(this._activeDate),n=e%24;this._years=[];for(var r=0,i=[];r<24;r++)i.push(e-n+r),4==i.length&&(this._years.push(i.map(function(e){return t._createCellForYear(e)})),i=[]);this._changeDetectorRef.markForCheck()},t.prototype._yearSelected=function(t){this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));var e=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));this.selectedChange.emit(this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))},t.prototype._handleCalendarBodyKeydown=function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-this._dateAdapter.getYear(this._activeDate)%24);break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-this._dateAdapter.getYear(this._activeDate)%24-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case 13:case 32:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()},t.prototype._getActiveCell=function(){return this._dateAdapter.getYear(this.activeDate)%24},t.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},t.prototype._createCellForYear=function(t){var e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new JD(t,e,e,this._shouldEnableYear(t))},t.prototype._shouldEnableYear=function(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},t}(),rT=function(){function t(t,e,n,r){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=r,this.selectedChange=new Hr,this.monthSelected=new Hr,this.activeDateChange=new Hr,!this._dateAdapter)throw $D("DateAdapter");if(!this._dateFormats)throw $D("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._init()},t.prototype._monthSelected=function(t){var e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(e);var n=this._dateAdapter.getNumDaysInMonth(e);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))},t.prototype._handleCalendarBodyKeydown=function(t){var e=this._activeDate,n=this._isRtl();switch(t.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case 13:case 32:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()},t.prototype._init=function(){var t=this;this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(n){return n.map(function(n){return t._createCellForMonth(n,e[n])})}),this._changeDetectorRef.markForCheck()},t.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},t.prototype._getMonthInCurrentYear=function(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null},t.prototype._createCellForMonth=function(t,e){var n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),this._dateFormats.display.monthYearA11yLabel);return new JD(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t))},t.prototype._shouldEnableMonth=function(t){var e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(var n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1},t.prototype._isYearAndMonthAfterMaxDate=function(t,e){if(this.maxDate){var n=this._dateAdapter.getYear(this.maxDate),r=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>r}return!1},t.prototype._isYearAndMonthBeforeMinDate=function(t,e){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),r=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<r}return!1},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},t}(),iT=function(){function t(t,e,n,r,i){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=r,this.calendar.stateChanges.subscribe(function(){return i.markForCheck()})}return Object.defineProperty(t.prototype,"periodButtonText",{get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var t=this._dateAdapter.getYear(this.calendar.activeDate);return this._dateAdapter.getYearName(this._dateAdapter.createDate(t-t%24,0,1))+" \u2013 "+this._dateAdapter.getYearName(this._dateAdapter.createDate(t+24-1-t%24,0,1))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"periodButtonLabel",{get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"prevButtonLabel",{get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextButtonLabel",{get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]},enumerable:!0,configurable:!0}),t.prototype.currentPeriodClicked=function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"},t.prototype.previousClicked=function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)},t.prototype.nextClicked=function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)},t.prototype.previousEnabled=function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)},t.prototype.nextEnabled=function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)},t.prototype._isSameView=function(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):Math.floor(this._dateAdapter.getYear(t)/24)==Math.floor(this._dateAdapter.getYear(e)/24)},t}(),oT=function(){function t(t,e,n,r){var i=this;if(this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=r,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new Hr,this.yearSelected=new Hr,this.monthSelected=new Hr,this._userSelection=new Hr,this.stateChanges=new j,!this._dateAdapter)throw $D("DateAdapter");if(!this._dateFormats)throw $D("MAT_DATE_FORMATS");this._intlChanges=t.changes.subscribe(function(){r.markForCheck(),i.stateChanges.next()})}return Object.defineProperty(t.prototype,"startAt",{get:function(){return this._startAt},set:function(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._clampedActiveDate},set:function(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentView",{get:function(){return this._currentView},set:function(t){this._currentView=t,this._moveFocusOnNextTick=!0},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._calendarHeaderPortal=new Cv(this.headerComponent||iT),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView},t.prototype.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())},t.prototype.ngOnDestroy=function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()},t.prototype.ngOnChanges=function(t){var e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){var n=this._getCurrentViewComponent();n&&(this._changeDetectorRef.detectChanges(),n._init())}this.stateChanges.next()},t.prototype.focusActiveCell=function(){this._getCurrentViewComponent()._focusActiveCell()},t.prototype.updateTodaysDate=function(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()},t.prototype._dateSelected=function(t){this._dateAdapter.sameDate(t,this.selected)||this.selectedChange.emit(t)},t.prototype._yearSelectedInMultiYearView=function(t){this.yearSelected.emit(t)},t.prototype._monthSelectedInYearView=function(t){this.monthSelected.emit(t)},t.prototype._userSelected=function(){this._userSelection.emit()},t.prototype._goToDateInView=function(t,e){this.activeDate=t,this.currentView=e},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t.prototype._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView},t}(),aT=new At("mat-datepicker-scroll-strategy");function sT(t){return function(){return t.scrollStrategies.reposition()}}var lT=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.ngAfterViewInit=function(){this._calendar.focusActiveCell()},e}(zm(function(){return function(t){this._elementRef=t}}())),uT=function(){return function(){}}(),cT=da({encapsulation:2,styles:[],data:{}});function hT(t){return sl(2,[(t()(),Ua(0,0,null,null,12,"div",[["class","mat-calendar-header"]],null,null,null,null,null)),(t()(),Ua(1,0,null,null,11,"div",[["class","mat-calendar-controls"]],null,null,null,null,null)),(t()(),Ua(2,0,null,null,4,"button",[["cdkAriaLive","polite"],["class","mat-calendar-period-button"],["mat-button",""],["type","button"]],[[1,"aria-label",0],[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.currentPeriodClicked()&&r),r},Mw,Fw)),Is(3,180224,null,0,m_,[gr,em,Nm,[2,Pw]],null,null),Is(4,147456,null,0,Pm,[gr,Om,$w,Gi],{politeness:[0,"politeness"]},null),(t()(),il(5,0,["",""])),(t()(),Ua(6,0,null,0,0,"div",[["class","mat-calendar-arrow"]],[[2,"mat-calendar-invert",null]],null,null,null,null)),(t()(),Ua(7,0,null,null,0,"div",[["class","mat-calendar-spacer"]],null,null,null,null,null)),Js(null,0),(t()(),Ua(9,0,null,null,1,"button",[["class","mat-calendar-previous-button"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.previousClicked()&&r),r},Mw,Fw)),Is(10,180224,null,0,m_,[gr,em,Nm,[2,Pw]],{disabled:[0,"disabled"]},null),(t()(),Ua(11,0,null,null,1,"button",[["class","mat-calendar-next-button"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.nextClicked()&&r),r},Mw,Fw)),Is(12,180224,null,0,m_,[gr,em,Nm,[2,Pw]],{disabled:[0,"disabled"]},null)],function(t,e){var n=e.component;t(e,4,0,"polite"),t(e,10,0,!n.previousEnabled()),t(e,12,0,!n.nextEnabled())},function(t,e){var n=e.component;t(e,2,0,n.periodButtonLabel,vs(e,3).disabled||null,"NoopAnimations"===vs(e,3)._animationMode),t(e,5,0,n.periodButtonText),t(e,6,0,"month"!=n.calendar.currentView),t(e,9,0,n.prevButtonLabel,vs(e,10).disabled||null,"NoopAnimations"===vs(e,10)._animationMode),t(e,11,0,n.nextButtonLabel,vs(e,12).disabled||null,"NoopAnimations"===vs(e,12)._animationMode)})}function pT(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"mat-calendar-header",[],null,null,null,hT,cT)),Is(1,49152,null,0,iT,[XD,oT,[2,qm],[2,Ym],Co],null,null)],null,null)}var dT=ss("mat-calendar-header",iT,pT,{},{},["*"]),fT=da({encapsulation:2,styles:[".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:0}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button::after,.mat-calendar-previous-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:'';margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:'';position:absolute;top:0;left:-8px;right:-8px;height:1px}"],data:{}});function mT(t){return sl(0,[(t()(),Ha(0,null,null,0))],null,null)}function yT(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"mat-month-view",[],null,[[null,"activeDateChange"],[null,"selectedChange"],[null,"_userSelection"]],function(t,e,n){var r=!0,i=t.component;return"activeDateChange"===e&&(r=!1!==(i.activeDate=n)&&r),"selectedChange"===e&&(r=!1!==i._dateSelected(n)&&r),"_userSelection"===e&&(r=!1!==i._userSelected()&&r),r},OT,RT)),Is(1,1097728,[[1,4]],0,eT,[Co,[2,Ym],[2,qm],[2,h_]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"],dateClass:[5,"dateClass"]},{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"})],function(t,e){var n=e.component;t(e,1,0,n.activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter,n.dateClass)},null)}function gT(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"mat-year-view",[],null,[[null,"activeDateChange"],[null,"monthSelected"],[null,"selectedChange"]],function(t,e,n){var r=!0,i=t.component;return"activeDateChange"===e&&(r=!1!==(i.activeDate=n)&&r),"monthSelected"===e&&(r=!1!==i._monthSelectedInYearView(n)&&r),"selectedChange"===e&&(r=!1!==i._goToDateInView(n,"month")&&r),r},NT,PT)),Is(1,1097728,[[2,4]],0,rT,[Co,[2,Ym],[2,qm],[2,h_]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"})],function(t,e){var n=e.component;t(e,1,0,n.activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter)},null)}function vT(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"mat-multi-year-view",[],null,[[null,"activeDateChange"],[null,"yearSelected"],[null,"selectedChange"]],function(t,e,n){var r=!0,i=t.component;return"activeDateChange"===e&&(r=!1!==(i.activeDate=n)&&r),"yearSelected"===e&&(r=!1!==i._yearSelectedInMultiYearView(n)&&r),"selectedChange"===e&&(r=!1!==i._goToDateInView(n,"year")&&r),r},MT,FT)),Is(1,1097728,[[3,4]],0,nT,[Co,[2,qm],[2,h_]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"})],function(t,e){var n=e.component;t(e,1,0,n.activeDate,n.selected,n.minDate,n.maxDate,n.dateFilter)},null)}function _T(t){return sl(2,[Gs(671088640,1,{monthView:0}),Gs(671088640,2,{yearView:0}),Gs(671088640,3,{multiYearView:0}),(t()(),Ha(16777216,null,null,1,null,mT)),Is(4,212992,null,0,Dv,[or,wo],{portal:[0,"portal"]},null),(t()(),Ua(5,0,null,null,8,"div",[["cdkMonitorSubtreeFocus",""],["class","mat-calendar-content"],["tabindex","-1"]],null,null,null,null,null)),Is(6,16384,null,0,Pc,[],{ngSwitch:[0,"ngSwitch"]},null),Is(7,147456,null,0,Fm,[gr,Nm],null,null),(t()(),Ha(16777216,null,null,1,null,yT)),Is(9,278528,null,0,Nc,[wo,Ur,Pc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ha(16777216,null,null,1,null,gT)),Is(11,278528,null,0,Nc,[wo,Ur,Pc],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ha(16777216,null,null,1,null,vT)),Is(13,278528,null,0,Nc,[wo,Ur,Pc],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){var n=e.component;t(e,4,0,n._calendarHeaderPortal),t(e,6,0,n.currentView),t(e,9,0,"month"),t(e,11,0,"year"),t(e,13,0,"multi-year")},null)}var bT=da({encapsulation:2,styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}@media screen and (-ms-high-contrast:active){.mat-calendar-body-cell-content{border:none}}@media screen and (-ms-high-contrast:active){.mat-calendar-body-selected,.mat-datepicker-popup:not(:empty){outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}}[dir=rtl] .mat-calendar-body-label{text-align:right}"],data:{}});function wT(t){return sl(0,[(t()(),Ua(0,0,null,null,2,"tr",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),Ua(1,0,null,null,1,"td",[["class","mat-calendar-body-label"]],[[1,"colspan",0],[4,"paddingTop",null],[4,"paddingBottom",null]],null,null,null,null)),(t()(),il(2,null,["",""]))],null,function(t,e){var n=e.component;t(e,1,0,n.numCols,n._cellPadding,n._cellPadding),t(e,2,0,n.label)})}function CT(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"td",[["aria-hidden","true"],["class","mat-calendar-body-label"]],[[1,"colspan",0],[4,"paddingTop",null],[4,"paddingBottom",null]],null,null,null,null)),(t()(),il(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._firstRowOffset,n._cellPadding,n._cellPadding),t(e,1,0,n._firstRowOffset>=n.labelMinRequiredCells?n.label:"")})}function xT(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"td",[["class","mat-calendar-body-cell"],["role","gridcell"]],[[8,"tabIndex",0],[2,"mat-calendar-body-disabled",null],[2,"mat-calendar-body-active",null],[1,"aria-label",0],[1,"aria-disabled",0],[1,"aria-selected",0],[4,"width",null],[4,"paddingTop",null],[4,"paddingBottom",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._cellClicked(t.context.$implicit)&&r),r},null,null)),Is(1,278528,null,0,Ec,[jo,zo,gr,wr],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),Ua(2,0,null,null,1,"div",[["class","mat-calendar-body-cell-content"]],[[2,"mat-calendar-body-selected",null],[2,"mat-calendar-body-today",null]],null,null,null,null)),(t()(),il(3,null,["",""]))],function(t,e){t(e,1,0,"mat-calendar-body-cell",e.context.$implicit.cssClasses)},function(t,e){var n=e.component;t(e,0,0,n._isActiveCell(e.parent.context.index,e.context.index)?0:-1,!e.context.$implicit.enabled,n._isActiveCell(e.parent.context.index,e.context.index),e.context.$implicit.ariaLabel,!e.context.$implicit.enabled||null,n.selectedValue===e.context.$implicit.value,n._cellWidth,n._cellPadding,n._cellPadding),t(e,2,0,n.selectedValue===e.context.$implicit.value,n.todayValue===e.context.$implicit.value),t(e,3,0,e.context.$implicit.displayValue)})}function ST(t){return sl(0,[(t()(),Ua(0,0,null,null,4,"tr",[["role","row"]],null,null,null,null,null)),(t()(),Ha(16777216,null,null,1,null,CT)),Is(2,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),(t()(),Ha(16777216,null,null,1,null,xT)),Is(4,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,0===e.context.index&&e.component._firstRowOffset),t(e,4,0,e.context.$implicit)},null)}function ET(t){return sl(2,[(t()(),Ha(16777216,null,null,1,null,wT)),Is(1,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),(t()(),Ha(16777216,null,null,1,null,ST)),Is(3,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._firstRowOffset<n.labelMinRequiredCells),t(e,3,0,n.rows)},null)}var kT=da({encapsulation:2,styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation:landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation:portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}"],data:{animation:[{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(1, 0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1, 1)"},offset: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 linear"},options:null}],options:{}},{type:7,name:"fadeInCalendar",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"},options:null}],options:{}}]}});function DT(t){return sl(2,[Gs(402653184,1,{_calendar:0}),(t()(),Ua(1,0,null,null,3,"mat-calendar",[["cdkTrapFocus",""],["class","mat-calendar"]],[[8,"id",0],[24,"@fadeInCalendar",0]],[[null,"selectedChange"],[null,"yearSelected"],[null,"monthSelected"],[null,"_userSelection"]],function(t,e,n){var r=!0,i=t.component;return"selectedChange"===e&&(r=!1!==i.datepicker.select(n)&&r),"yearSelected"===e&&(r=!1!==i.datepicker._selectYear(n)&&r),"monthSelected"===e&&(r=!1!==i.datepicker._selectMonth(n)&&r),"_userSelection"===e&&(r=!1!==i.datepicker.close()&&r),r},_T,fT)),Is(2,278528,null,0,Ec,[jo,zo,gr,wr],{ngClass:[0,"ngClass"]},null),Is(3,1458176,null,0,Rm,[gr,Am,Hc],{enabled:[0,"enabled"]},null),Is(4,10141696,[[1,4]],0,oT,[XD,[2,qm],[2,Ym],Co],{headerComponent:[0,"headerComponent"],startAt:[1,"startAt"],startView:[2,"startView"],selected:[3,"selected"],minDate:[4,"minDate"],maxDate:[5,"maxDate"],dateFilter:[6,"dateFilter"],dateClass:[7,"dateClass"]},{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"})],function(t,e){var n=e.component;t(e,2,0,n.datepicker.panelClass),t(e,3,0,""),t(e,4,0,n.datepicker.calendarHeaderComponent,n.datepicker.startAt,n.datepicker.startView,n.datepicker._selected,n.datepicker._minDate,n.datepicker._maxDate,n.datepicker._dateFilter,n.datepicker.dateClass)},function(t,e){t(e,1,0,e.component.datepicker.id,"enter")})}function TT(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"mat-datepicker-content",[["class","mat-datepicker-content"]],[[40,"@transformPanel",0],[2,"mat-datepicker-content-touch",null]],null,null,DT,kT)),Is(1,4243456,null,0,lT,[gr],null,null)],null,function(t,e){t(e,0,0,"enter",vs(e,1).datepicker.touchUi)})}var AT=ss("mat-datepicker-content",lT,TT,{color:"color"},{},[]),RT=da({encapsulation:2,styles:[],data:{}});function IT(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"th",[],[[1,"aria-label",0]],null,null,null,null)),(t()(),il(1,null,["",""]))],null,function(t,e){t(e,0,0,e.context.$implicit.long),t(e,1,0,e.context.$implicit.narrow)})}function OT(t){return sl(2,[Gs(402653184,1,{_matCalendarBody:0}),(t()(),Ua(1,0,null,null,8,"table",[["class","mat-calendar-table"]],null,null,null,null,null)),(t()(),Ua(2,0,null,null,5,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(t()(),Ua(3,0,null,null,2,"tr",[],null,null,null,null,null)),(t()(),Ha(16777216,null,null,1,null,IT)),Is(5,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null),(t()(),Ua(6,0,null,null,1,"tr",[],null,null,null,null,null)),(t()(),Ua(7,0,null,null,0,"th",[["aria-hidden","true"],["class","mat-calendar-table-header-divider"],["colspan","7"]],null,null,null,null,null)),(t()(),Ua(8,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],function(t,e,n){var r=!0,i=t.component;return"selectedValueChange"===e&&(r=!1!==i._dateSelected(n)&&r),"keydown"===e&&(r=!1!==i._handleCalendarBodyKeydown(n)&&r),r},ET,bT)),Is(9,573440,[[1,4]],0,tT,[gr,Gi],{label:[0,"label"],rows:[1,"rows"],todayValue:[2,"todayValue"],selectedValue:[3,"selectedValue"],labelMinRequiredCells:[4,"labelMinRequiredCells"],activeCell:[5,"activeCell"]},{selectedValueChange:"selectedValueChange"})],function(t,e){var n=e.component;t(e,5,0,n._weekdays),t(e,9,0,n._monthLabel,n._weeks,n._todayDate,n._selectedDate,3,n._dateAdapter.getDate(n.activeDate)-1)},null)}var PT=da({encapsulation:2,styles:[],data:{}});function NT(t){return sl(2,[Gs(402653184,1,{_matCalendarBody:0}),(t()(),Ua(1,0,null,null,5,"table",[["class","mat-calendar-table"]],null,null,null,null,null)),(t()(),Ua(2,0,null,null,2,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(t()(),Ua(3,0,null,null,1,"tr",[],null,null,null,null,null)),(t()(),Ua(4,0,null,null,0,"th",[["class","mat-calendar-table-header-divider"],["colspan","4"]],null,null,null,null,null)),(t()(),Ua(5,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],function(t,e,n){var r=!0,i=t.component;return"selectedValueChange"===e&&(r=!1!==i._monthSelected(n)&&r),"keydown"===e&&(r=!1!==i._handleCalendarBodyKeydown(n)&&r),r},ET,bT)),Is(6,573440,[[1,4]],0,tT,[gr,Gi],{label:[0,"label"],rows:[1,"rows"],todayValue:[2,"todayValue"],selectedValue:[3,"selectedValue"],labelMinRequiredCells:[4,"labelMinRequiredCells"],numCols:[5,"numCols"],activeCell:[6,"activeCell"],cellAspectRatio:[7,"cellAspectRatio"]},{selectedValueChange:"selectedValueChange"})],function(t,e){var n=e.component;t(e,6,0,n._yearLabel,n._months,n._todayMonth,n._selectedMonth,2,4,n._dateAdapter.getMonth(n.activeDate),4/7)},null)}var FT=da({encapsulation:2,styles:[],data:{}});function MT(t){return sl(2,[Gs(402653184,1,{_matCalendarBody:0}),(t()(),Ua(1,0,null,null,5,"table",[["class","mat-calendar-table"]],null,null,null,null,null)),(t()(),Ua(2,0,null,null,2,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(t()(),Ua(3,0,null,null,1,"tr",[],null,null,null,null,null)),(t()(),Ua(4,0,null,null,0,"th",[["class","mat-calendar-table-header-divider"],["colspan","4"]],null,null,null,null,null)),(t()(),Ua(5,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],function(t,e,n){var r=!0,i=t.component;return"selectedValueChange"===e&&(r=!1!==i._yearSelected(n)&&r),"keydown"===e&&(r=!1!==i._handleCalendarBodyKeydown(n)&&r),r},ET,bT)),Is(6,573440,[[1,4]],0,tT,[gr,Gi],{rows:[0,"rows"],todayValue:[1,"todayValue"],selectedValue:[2,"selectedValue"],numCols:[3,"numCols"],activeCell:[4,"activeCell"],cellAspectRatio:[5,"cellAspectRatio"]},{selectedValueChange:"selectedValueChange"})],function(t,e){var n=e.component;t(e,6,0,n._years,n._todayYear,n._selectedYear,4,n._getActiveCell(),4/7)},null)}var LT=da({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 screen and (-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 VT(t){return sl(2,[(t()(),Ua(0,0,null,null,3,"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)),Is(1,278528,null,0,Ec,[jo,zo,gr,wr],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Os(131072,Vc,[Co]),(t()(),il(3,null,["",""]))],function(t,e){t(e,1,0,"mat-tooltip",e.component.tooltipClass)},function(t,e){var n,r=e.component;t(e,0,0,null==(n=ca(e,0,0,vs(e,2).transform(r._isHandset)))?null:n.matches,r._visibility),t(e,3,0,r.message)})}function jT(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],function(t,e,n){var r=!0;return"body:click"===e&&(r=!1!==vs(t,1)._handleBodyInteraction()&&r),r},VT,LT)),Is(1,49152,null,0,l_,[Co,Vg],null,null)],null,function(t,e){t(e,0,0,"visible"===vs(e,1)._visibility?1:null)})}var zT=ss("mat-tooltip-component",l_,jT,{},{},[]),BT=function(){function t(t,e){var n=this;this._overlayRef=e,this._afterDismissed=new j,this._afterOpened=new j,this._onAction=new j,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(function(){return n.dismiss()}),t._onExit.subscribe(function(){return n._finishDismiss()})}return t.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)},t.prototype.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())},t.prototype.closeWithAction=function(){this.dismissWithAction()},t.prototype._dismissAfter=function(t){var e=this;this._durationTimeoutId=setTimeout(function(){return e.dismiss()},t)},t.prototype._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())},t.prototype._finishDismiss=function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1},t.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},t.prototype.afterOpened=function(){return this.containerInstance._onEnter},t.prototype.onAction=function(){return this._onAction.asObservable()},t}(),HT=new At("MatSnackBarData"),UT=function(){return function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}(),WT=function(){function t(t,e){this.snackBarRef=t,this.data=e}return t.prototype.action=function(){this.snackBarRef.dismissWithAction()},Object.defineProperty(t.prototype,"hasAction",{get:function(){return!!this.data.action},enumerable:!0,configurable:!0}),t}(),qT=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o._ngZone=e,o._elementRef=n,o._changeDetectorRef=r,o.snackBarConfig=i,o._destroyed=!1,o._onExit=new j,o._onEnter=new j,o._animationState="void",o._role="assertive"!==i.politeness||i.announcementMessage?"off"===i.politeness?null:"status":"alert",o}return i(e,t),e.prototype.attachComponentPortal=function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)},e.prototype.attachTemplatePortal=function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)},e.prototype.onAnimationEnd=function(t){var e=t.toState;if(("void"===e&&"void"!==t.fromState||"hidden"===e)&&this._completeExit(),"visible"===e){var n=this._onEnter;this._ngZone.run(function(){n.next(),n.complete()})}},e.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},e.prototype.exit=function(){return this._animationState="hidden",this._onExit},e.prototype.ngOnDestroy=function(){this._destroyed=!0,this._completeExit()},e.prototype._completeExit=function(){var t=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(Zu(1)).subscribe(function(){t._onExit.next(),t._onExit.complete()})},e.prototype._applySnackBarClasses=function(){var t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(function(e){return t.classList.add(e)}):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")},e.prototype._assertNotAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")},e}(Sv),YT=function(){return function(){}}(),KT=new At("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new UT}}),GT=function(){function t(t,e,n,r,i,o){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=r,this._parentSnackBar=i,this._defaultConfig=o,this._snackBarRefAtThisLevel=null}return Object.defineProperty(t.prototype,"_openedSnackBarRef",{get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t},enumerable:!0,configurable:!0}),t.prototype.openFromComponent=function(t,e){return this._attach(t,e)},t.prototype.openFromTemplate=function(t,e){return this._attach(t,e)},t.prototype.open=function(t,e,n){void 0===e&&(e="");var r=o({},this._defaultConfig,n);return r.data={message:t,action:e},r.announcementMessage||(r.announcementMessage=t),this.openFromComponent(WT,r)},t.prototype.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()},t.prototype.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()},t.prototype._attachSnackBarContainer=function(t,e){var n=new Av(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[UT,e]])),r=new Cv(qT,e.viewContainerRef,n),i=t.attach(r);return i.instance.snackBarConfig=e,i.instance},t.prototype._attach=function(t,e){var n=o({},new UT,this._defaultConfig,e),r=this._createOverlay(n),i=this._attachSnackBarContainer(r,n),a=new BT(i,r);if(t instanceof Ur){var s=new xv(t,null,{$implicit:n.data,snackBarRef:a});a.instance=i.attachTemplatePortal(s)}else{var l=this._createInjector(n,a),u=(s=new Cv(t,void 0,l),i.attachComponentPortal(s));a.instance=u.instance}return this._breakpointObserver.observe(zg.Handset).pipe(By(r.detachments().pipe(Zu(1)))).subscribe(function(t){t.matches?r.overlayElement.classList.add("mat-snack-bar-handset"):r.overlayElement.classList.remove("mat-snack-bar-handset")}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef},t.prototype._animateSnackBar=function(t,e){var n=this;t.afterDismissed().subscribe(function(){n._openedSnackBarRef==t&&(n._openedSnackBarRef=null),e.announcementMessage&&n._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(function(){return t._dismissAfter(e.duration)}),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)},t.prototype._createOverlay=function(t){var e=new Vv;e.direction=t.direction;var n=this._overlay.position().global(),r="rtl"===t.direction,i="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,o=!i&&"center"!==t.horizontalPosition;return i?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)},t.prototype._createInjector=function(t,e){return new Av(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[BT,e],[HT,t.data]]))},t.ngInjectableDef=kt({factory:function(){return new t(ge(Xv),ge(Om),ge(te),ge(Vg),ge(t,12),ge(KT))},token:t,providedIn:YT}),t}(),ZT=da({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media screen and (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function QT(t){return sl(0,[(t()(),Ha(0,null,null,0))],null,null)}function $T(t){return sl(2,[Gs(402653184,1,{_portalOutlet:0}),(t()(),Ha(16777216,null,null,1,null,QT)),Is(2,212992,[[1,4]],0,Dv,[or,wo],{portal:[0,"portal"]},null)],function(t,e){t(e,2,0,"")},null)}function XT(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],function(t,e,n){var r=!0;return"component:@state.done"===e&&(r=!1!==vs(t,1).onAnimationEnd(n)&&r),r},$T,ZT)),Is(1,180224,null,0,qT,[Gi,gr,Co,UT],null,null)],null,function(t,e){t(e,0,0,vs(e,1)._role,vs(e,1)._animationState)})}var JT=ss("snack-bar-container",qT,XT,{},{},[]),tA=da({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;height:100%;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}"],data:{}});function eA(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(t()(),Ua(1,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.action()&&r),r},Mw,Fw)),Is(2,180224,null,0,m_,[gr,em,Nm,[2,Pw]],null,null),(t()(),il(3,0,["",""]))],null,function(t,e){var n=e.component;t(e,1,0,vs(e,2).disabled||null,"NoopAnimations"===vs(e,2)._animationMode),t(e,3,0,n.data.action)})}function nA(t){return sl(2,[(t()(),Ua(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),il(1,null,["",""])),(t()(),Ha(16777216,null,null,1,null,eA)),Is(3,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,e.component.hasAction)},function(t,e){t(e,1,0,e.component.data.message)})}function rA(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,nA,tA)),Is(1,49152,null,0,WT,[BT,HT],null,null)],null,null)}var iA=ss("simple-snack-bar",WT,rA,{},{},[]),oA=da({encapsulation:0,styles:[[""]],data:{}});function aA(t){return sl(0,[(t()(),Ua(0,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),il(-1,null,[" Key: "])),(t()(),Ua(2,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),il(3,null,["",""])),(t()(),il(-1,null,[" Value: "])),(t()(),Ua(5,0,null,null,1,"b",[],null,null,null,null,null)),(t()(),il(6,null,["",""]))],null,function(t,e){t(e,3,0,e.context.$implicit.key),t(e,6,0,e.context.$implicit.value)})}function sA(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),il(1,null,[" ","\n"])),(t()(),Ha(16777216,null,null,2,null,aA)),Is(3,278528,null,0,Dc,[wo,Ur,jo],{ngForOf:[0,"ngForOf"]},null),Os(0,jc,[zo]),(t()(),Ua(5,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Is(6,16384,null,0,qx,[],null,null),(t()(),Ua(7,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onNoClick()&&r),r},Mw,Fw)),Is(8,180224,null,0,m_,[gr,em,Nm,[2,Pw]],null,null),(t()(),il(-1,0,["Close"]))],function(t,e){var n=e.component;t(e,3,0,ca(e,3,0,vs(e,4).transform(n.data)))},function(t,e){t(e,1,0,e.component.data.internalName),t(e,7,0,vs(e,8).disabled||null,"NoopAnimations"===vs(e,8)._animationMode)})}function lA(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"vers-display-net-core",[],null,null,null,sA,oA)),Is(1,114688,null,0,Px,[jx,zx],null,null)],function(t,e){t(e,1,0)},null)}var uA=ss("vers-display-net-core",Px,lA,{},{},[]),cA=Bm(function(){return function(){}}()),hA=Bm(function(){return function(){}}()),pA=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(cA),dA=function(t){function e(e){var n=t.call(this)||this;return n._elementRef=e,n}return i(e,t),e.prototype._getListType=function(){var t=this._elementRef;if(t){var e=t.nativeElement.nodeName.toLowerCase();if("mat-list"===e)return"list";if("mat-action-list"===e)return"action-list"}return null},e}(cA),fA=function(t){function e(e,n,r){var i=t.call(this)||this;i._element=e,i._isInteractiveList=!1,i._isInteractiveList=!!(n||r&&"action-list"===r._getListType()),i._list=n||r;var o=i._getHostElement();return"button"!==o.nodeName.toLowerCase()||o.hasAttribute("type")||o.setAttribute("type","button"),i}return i(e,t),e.prototype.ngAfterContentInit=function(){var t,e;e=this._element,(t=this._lines).changes.pipe(um(t)).subscribe(function(t){var n=t.length;ly(e,"mat-2-line",!1),ly(e,"mat-3-line",!1),ly(e,"mat-multi-line",!1),2===n||3===n?ly(e,"mat-"+n+"-line",!0):n>3&&ly(e,"mat-multi-line",!0)})},e.prototype._isRippleDisabled=function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)},e.prototype._getHostElement=function(){return this._element.nativeElement},e}(hA),mA=function(){return function(){}}(),yA=function(){function t(){this._vertical=!1,this._inset=!1}return Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=Kf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inset",{get:function(){return this._inset},set:function(t){this._inset=Kf(t)},enumerable:!0,configurable:!0}),t}(),gA=function(){return function(){}}(),vA=da({encapsulation:2,styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (hover:none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function _A(t){return sl(2,[Js(null,0)],null,null)}var bA=da({encapsulation:2,styles:[],data:{}});function wA(t){return sl(2,[(t()(),Ua(0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(t()(),Ua(1,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Is(2,212992,null,0,gy,[gr,Gi,em,[2,yy],[2,Pw]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),Js(null,0),(t()(),Ua(4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),Js(null,1),Js(null,2)],function(t,e){var n=e.component;t(e,2,0,n._isRippleDisabled(),n._getHostElement())},function(t,e){t(e,1,0,vs(e,2).unbounded)})}function CA(t){throw Error("A drawer was already declared for 'position=\""+t+"\"'")}var xA=new At("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),SA=function(t){function e(e,n,r,i,o){var a=t.call(this,r,i,o)||this;return a._changeDetectorRef=e,a._container=n,a}return i(e,t),e.prototype.ngAfterContentInit=function(){var t=this;this._container._contentMarginChanges.subscribe(function(){t._changeDetectorRef.markForCheck()})},e}(fv),EA=function(){function t(t,e,n,r,i,o){var a=this;this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=r,this._ngZone=i,this._doc=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._autoFocus=!0,this._animationStarted=new j,this._animationEnd=new j,this._animationState="void",this.openedChange=new Hr(!0),this.onPositionChanged=new Hr,this._modeChanged=new j,this._opened=!1,this.openedChange.subscribe(function(t){t?(a._doc&&(a._elementFocusedBeforeDrawerWasOpened=a._doc.activeElement),a._isFocusTrapEnabled&&a._focusTrap&&a._trapFocus()):a._restoreFocus()}),this._ngZone.runOutsideAngular(function(){Bg(a._elementRef.nativeElement,"keydown").pipe(ku(function(t){return t.keyCode===cm&&!a.disableClose})).subscribe(function(t){return a._ngZone.run(function(){a.close(),t.stopPropagation()})})}),this._animationEnd.pipe(Wg(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){var e=t.fromState,n=t.toState;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&a.openedChange.emit(a._opened)})}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(t){this._mode=t,this._modeChanged.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableClose",{get:function(){return this._disableClose},set:function(t){this._disableClose=Kf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoFocus",{get:function(){return this._autoFocus},set:function(t){this._autoFocus=Kf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(ku(function(t){return t}),tt(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openedStart",{get:function(){return this._animationStarted.pipe(ku(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),tt(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(ku(function(t){return!t}),tt(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"closedStart",{get:function(){return this._animationStarted.pipe(ku(function(t){return t.fromState!==t.toState&&"void"===t.toState}),tt(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isFocusTrapEnabled",{get:function(){return this.opened&&"side"!==this.mode},enumerable:!0,configurable:!0}),t.prototype._trapFocus=function(){var t=this;this.autoFocus&&this._focusTrap.focusInitialElementWhenReady().then(function(e){e||"function"!=typeof t._elementRef.nativeElement.focus||t._elementRef.nativeElement.focus()})},t.prototype._restoreFocus=function(){if(this.autoFocus){var t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}},t.prototype.ngAfterContentInit=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._focusTrap.enabled=this._isFocusTrapEnabled},t.prototype.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)},t.prototype.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete()},Object.defineProperty(t.prototype,"opened",{get:function(){return this._opened},set:function(t){this.toggle(Kf(t))},enumerable:!0,configurable:!0}),t.prototype.open=function(t){return this.toggle(!0,t)},t.prototype.close=function(){return this.toggle(!1)},t.prototype.toggle=function(t,e){var n=this;return void 0===t&&(t=!this.opened),void 0===e&&(e="program"),this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._focusTrap&&(this._focusTrap.enabled=this._isFocusTrapEnabled),new Promise(function(t){n.openedChange.pipe(Zu(1)).subscribe(function(e){return t(e?"open":"close")})})},Object.defineProperty(t.prototype,"_width",{get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0},enumerable:!0,configurable:!0}),t}(),kA=function(){function t(t,e,n,r,i,o){void 0===i&&(i=!1);var a=this;this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=o,this.backdropClick=new Hr,this._destroyed=new j,this._doCheckSubject=new j,this._contentMargins={left:null,right:null},this._contentMarginChanges=new j,t&&t.change.pipe(By(this._destroyed)).subscribe(function(){a._validateDrawers(),a._updateContentMargins()}),this._autosize=i}return Object.defineProperty(t.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autosize",{get:function(){return this._autosize},set:function(t){this._autosize=Kf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(t){this._backdropOverride=null==t?null:Kf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollable",{get:function(){return this._userContent||this._content},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._drawers.changes.pipe(um(null)).subscribe(function(){t._validateDrawers(),t._drawers.forEach(function(e){t._watchDrawerToggle(e),t._watchDrawerPosition(e),t._watchDrawerMode(e)}),(!t._drawers.length||t._isDrawerOpen(t._start)||t._isDrawerOpen(t._end))&&t._updateContentMargins(),t._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(mm(10),By(this._destroyed)).subscribe(function(){return t._updateContentMargins()})},t.prototype.ngOnDestroy=function(){this._doCheckSubject.complete(),this._destroyed.next(),this._destroyed.complete()},t.prototype.open=function(){this._drawers.forEach(function(t){return t.open()})},t.prototype.close=function(){this._drawers.forEach(function(t){return t.close()})},t.prototype.ngDoCheck=function(){var t=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return t._doCheckSubject.next()})},t.prototype._watchDrawerToggle=function(t){var e=this;t._animationStarted.pipe(By(this._drawers.changes),ku(function(t){return t.fromState!==t.toState})).subscribe(function(t){"open-instant"!==t.toState&&"NoopAnimations"!==e._animationMode&&e._element.nativeElement.classList.add("mat-drawer-transition"),e._updateContentMargins(),e._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(By(this._drawers.changes)).subscribe(function(){return e._setContainerClass(t.opened)})},t.prototype._watchDrawerPosition=function(t){var e=this;t&&t.onPositionChanged.pipe(By(this._drawers.changes)).subscribe(function(){e._ngZone.onMicrotaskEmpty.asObservable().pipe(Zu(1)).subscribe(function(){e._validateDrawers()})})},t.prototype._watchDrawerMode=function(t){var e=this;t&&t._modeChanged.pipe(By(ct(this._drawers.changes,this._destroyed))).subscribe(function(){e._updateContentMargins(),e._changeDetectorRef.markForCheck()})},t.prototype._setContainerClass=function(t){t?this._element.nativeElement.classList.add("mat-drawer-opened"):this._element.nativeElement.classList.remove("mat-drawer-opened")},t.prototype._validateDrawers=function(){var t=this;this._start=this._end=null,this._drawers.forEach(function(e){"end"==e.position?(null!=t._end&&CA("end"),t._end=e):(null!=t._start&&CA("start"),t._start=e)}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)},t.prototype._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode},t.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},t.prototype._closeModalDrawer=function(){var t=this;[this._start,this._end].filter(function(e){return e&&!e.disableClose&&t._canHaveBackdrop(e)}).forEach(function(t){return t.close()})},t.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)},t.prototype._canHaveBackdrop=function(t){return"side"!==t.mode||!!this._backdropOverride},t.prototype._isDrawerOpen=function(t){return null!=t&&t.opened},t.prototype._updateContentMargins=function(){var t=this,e=0,n=0;if(this._left&&this._left.opened&&("side"==this._left.mode?e+=this._left._width:"push"==this._left.mode&&(e+=r=this._left._width,n-=r)),this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var r;n+=r=this._right._width,e-=r}n=n||null,(e=e||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:e,right:n},this._ngZone.run(function(){return t._contentMarginChanges.next(t._contentMargins)}))},t}(),DA=function(t){function e(e,n,r,i,o){return t.call(this,e,n,r,i,o)||this}return i(e,t),e}(SA),TA=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return i(e,t),Object.defineProperty(e.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(t){this._fixedInViewport=Kf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedTopGap",{get:function(){return this._fixedTopGap},set:function(t){this._fixedTopGap=Gf(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedBottomGap",{get:function(){return this._fixedBottomGap},set:function(t){this._fixedBottomGap=Gf(t)},enumerable:!0,configurable:!0}),e}(EA),AA=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(kA),RA=function(){return function(){}}(),IA=da({encapsulation:2,styles:[],data:{}});function OA(t){return sl(2,[Js(null,0)],null,null)}var PA=da({encapsulation:2,styles:[],data:{animation:[{type:7,name:"transform",definitions:[{type:0,name:"open, open-instant",styles:{type:6,styles:{transform:"none",visibility:"visible"},offset:null},options:void 0},{type:0,name:"void",styles:{type:6,styles:{"box-shadow":"none",visibility:"hidden"},offset:null},options:void 0},{type:1,expr:"void => open-instant",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"void <=> open, open-instant => void",animation:{type:4,styles:null,timings:"400ms cubic-bezier(0.25, 0.8, 0.25, 1)"},options:null}],options:{}}]}});function NA(t){return sl(2,[(t()(),Ua(0,0,null,null,1,"div",[["class","mat-drawer-inner-container"]],null,null,null,null,null)),Js(null,0)],null,null)}var FA=da({encapsulation:2,styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-opened{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}@media screen and (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}@media screen and (-ms-high-contrast:active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media screen and (-ms-high-contrast:active){.mat-drawer.mat-drawer-end,[dir=rtl] .mat-drawer{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}"],data:{}});function MA(t){return sl(0,[(t()(),Ua(0,0,null,null,0,"div",[["class","mat-drawer-backdrop"]],[[2,"mat-drawer-shown",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._onBackdropClicked()&&r),r},null,null))],null,function(t,e){t(e,0,0,e.component._isShowingBackdrop())})}function LA(t){return sl(0,[(t()(),Ua(0,0,null,null,3,"mat-sidenav-content",[["cdkScrollable",""],["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,OA,IA)),Is(1,212992,null,0,fv,[gr,dv,Gi,[2,h_]],null,null),Is(2,1294336,null,0,DA,[Co,AA,gr,dv,Gi],null,null),Js(0,2)],function(t,e){t(e,1,0),t(e,2,0)},function(t,e){t(e,0,0,vs(e,2)._container._contentMargins.left,vs(e,2)._container._contentMargins.right)})}function VA(t){return sl(2,[Gs(402653184,1,{_userContent:0}),(t()(),Ha(16777216,null,null,1,null,MA)),Is(2,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),Js(null,0),Js(null,1),(t()(),Ha(16777216,null,null,1,null,LA)),Is(6,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.hasBackdrop),t(e,6,0,!n._content)},null)}var jA=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i._platform=n,i._document=r,i}return i(e,t),e.prototype.ngAfterViewInit=function(){var t=this;Yr()&&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 `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}()},e}(zm(function(){return function(t){this._elementRef=t}}())),zA=function(){return function(){}}(),BA=da({encapsulation:2,styles:["@media screen and (-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 HA(t){return sl(2,[Js(null,0),Js(null,1)],null,null)}var UA=da({encapsulation:2,styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],data:{}});function WA(t){return sl(2,[],null,null)}var qA=da({encapsulation:2,styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:0}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:0}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}"],data:{}});function YA(t){return sl(2,[Gs(402653184,1,{_contentWrapper:0}),(t()(),Ua(1,0,[[1,0],["contentWrapper",1]],null,1,"div",[["class","cdk-virtual-scroll-content-wrapper"]],null,null,null,null,null)),Js(null,0),(t()(),Ua(3,0,null,null,0,"div",[["class","cdk-virtual-scroll-spacer"]],[[4,"transform",null]],null,null,null,null))],null,function(t,e){t(e,3,0,e.component._totalContentSizeTransform)})}var KA=function(){function t(t,e,n){var r=this;this.snackBar=t,this.breakpointObserver=e,this.data=n,this.isHandset$=this.breakpointObserver.observe(zg.Handset).pipe(tt(function(t){return t.matches})),this.tagsSet=new Set,this.tags=new Array,this.minDate=new Date("0001-01-01T00:00:00Z"),this.subject=new j,this.subject.pipe(mm(4e3),rc(function(t,e){(t.match(/;/g)||[]).length>3&&(t="");var n=e+";"+t;return console.log(n),n}," ")).subscribe(function(t){r.snackBar.open("Updating "+t,"",{duration:2e3})})}return t.prototype.ngOnInit=function(){var t=this;this.data.getData().subscribe(function(e){(t.lastDateUpdated||t.minDate)<e.aliveResult.startedDate&&(t.lastDateUpdated=e.aliveResult.startedDate),t.subject.next(""+e.customData.name);for(var n=t.tagsSet.size,r=0,i=e.customData.tags;r<i.length;r++)t.tagsSet.add(i[r]);n!==t.tagsSet.size&&(t.tags=Array.from(t.tagsSet).sort())})},t.prototype.adapt=function(t){var e=new j;return t.subscribe(e),e.asObservable()},t}(),GA=da({encapsulation:0,styles:[[".sidenav-container[_ngcontent-%COMP%]{height:100%}.sidenav[_ngcontent-%COMP%]{width:200px}.sidenav[_ngcontent-%COMP%]   .mat-toolbar[_ngcontent-%COMP%]{background:inherit}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:1}.example-viewport[_ngcontent-%COMP%]{height:200px;border:1px solid #000}.example-item[_ngcontent-%COMP%]{height:50px}"]],data:{}});function ZA(t){return sl(0,[(t()(),Ua(0,0,null,null,7,"div",[["class","example-item"]],null,null,null,null,null)),(t()(),Ua(1,0,null,null,6,"a",[["class","mat-list-item"],["mat-list-item",""]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},wA,bA)),Is(2,671744,null,0,gf,[yf,ud,hc],{routerLink:[0,"routerLink"]},null),Is(3,1097728,null,3,fA,[gr,[2,pA],[2,dA]],null,null),Gs(603979776,16,{_lines:1}),Gs(335544320,17,{_avatar:0}),Gs(335544320,18,{_icon:0}),(t()(),il(7,2,["",")",""]))],function(t,e){t(e,2,0,za(1,"tag/",e.context.$implicit,""))},function(t,e){t(e,1,0,vs(e,2).target,vs(e,2).href,vs(e,3)._avatar||vs(e,3)._icon,vs(e,3)._avatar||vs(e,3)._icon),t(e,7,0,e.context.index+1,e.context.$implicit)})}function QA(t){return sl(0,[(t()(),Ua(0,0,null,null,4,"button",[["aria-label","Toggle sidenav"],["mat-icon-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t.parent,5).toggle()&&r),r},Mw,Fw)),Is(1,180224,null,0,m_,[gr,em,Nm,[2,Pw]],null,null),(t()(),Ua(2,0,null,0,2,"mat-icon",[["aria-label","Side nav toggle icon"],["class","mat-icon"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(3,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],null,null),(t()(),il(-1,0,["menu"]))],function(t,e){t(e,3,0)},function(t,e){t(e,0,0,vs(e,1).disabled||null,"NoopAnimations"===vs(e,1)._animationMode),t(e,2,0,vs(e,3).inline)})}function $A(t){return sl(0,[(t()(),Ua(0,0,null,null,83,"mat-sidenav-container",[["class","sidenav-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,VA,FA)),Is(1,1490944,null,2,AA,[[2,h_],gr,Gi,Co,xA,[2,Pw]],null,null),Gs(603979776,1,{_drawers:1}),Gs(335544320,2,{_content:0}),(t()(),Ua(4,0,null,0,63,"mat-sidenav",[["class","sidenav mat-drawer mat-sidenav"],["fixedInViewport","true"],["tabIndex","-1"]],[[1,"role",0],[40,"@transform",0],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"]],[["component","@transform.start"],["component","@transform.done"]],function(t,e,n){var r=!0;return"component:@transform.start"===e&&(r=!1!==vs(t,5)._animationStarted.next(n)&&r),"component:@transform.done"===e&&(r=!1!==vs(t,5)._animationEnd.next(n)&&r),r},NA,PA)),Is(5,3325952,[[1,4],["drawer",4]],0,TA,[gr,Am,Nm,em,Gi,[2,Hc]],{mode:[0,"mode"],opened:[1,"opened"],fixedInViewport:[2,"fixedInViewport"]},null),Os(131072,Vc,[Co]),Os(131072,Vc,[Co]),Os(131072,Vc,[Co]),(t()(),Ua(9,0,null,0,3,"mat-toolbar",[["class","mat-toolbar"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,HA,BA)),Is(10,4243456,null,1,jA,[gr,em,Hc],null,null),Gs(603979776,3,{_toolbarRows:1}),(t()(),il(-1,0,["Menu"])),(t()(),Ua(13,0,null,0,54,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,_A,vA)),Is(14,49152,null,0,pA,[],null,null),(t()(),Ua(15,0,null,0,9,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/dashboard"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,16).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},wA,bA)),Is(16,671744,null,0,gf,[yf,ud,hc],{routerLink:[0,"routerLink"]},null),Is(17,1097728,null,3,fA,[gr,[2,pA],[2,dA]],null,null),Gs(603979776,4,{_lines:1}),Gs(335544320,5,{_avatar:0}),Gs(335544320,6,{_icon:0}),(t()(),Ua(21,0,null,2,2,"mat-icon",[["class","mat-icon"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(22,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],{color:[0,"color"]},null),(t()(),il(-1,0,["home"])),(t()(),il(-1,2,["Home"])),(t()(),Ua(25,0,null,0,6,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","monitorData"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,26).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},wA,bA)),Is(26,671744,null,0,gf,[yf,ud,hc],{routerLink:[0,"routerLink"]},null),Is(27,1097728,null,3,fA,[gr,[2,pA],[2,dA]],null,null),Gs(603979776,7,{_lines:1}),Gs(335544320,8,{_avatar:0}),Gs(335544320,9,{_icon:0}),(t()(),il(-1,2,["MonitorData"])),(t()(),Ua(32,0,null,0,9,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","resultSuccess"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,33).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},wA,bA)),Is(33,671744,null,0,gf,[yf,ud,hc],{routerLink:[0,"routerLink"]},null),Is(34,1097728,null,3,fA,[gr,[2,pA],[2,dA]],null,null),Gs(603979776,10,{_lines:1}),Gs(335544320,11,{_avatar:0}),Gs(335544320,12,{_icon:0}),(t()(),Ua(38,0,null,2,2,"mat-icon",[["class","mat-icon"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(39,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],{color:[0,"color"]},null),(t()(),il(-1,0,["done"])),(t()(),il(-1,2,[" Success"])),(t()(),Ua(42,0,null,0,9,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","resultFailed"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,43).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},wA,bA)),Is(43,671744,null,0,gf,[yf,ud,hc],{routerLink:[0,"routerLink"]},null),Is(44,1097728,null,3,fA,[gr,[2,pA],[2,dA]],null,null),Gs(603979776,13,{_lines:1}),Gs(335544320,14,{_avatar:0}),Gs(335544320,15,{_icon:0}),(t()(),Ua(48,0,null,2,2,"mat-icon",[["class","mat-icon"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,PS,OS)),Is(49,9158656,null,0,RS,[gr,CS,[8,null],[2,kS]],{color:[0,"color"]},null),(t()(),il(-1,0,["error"])),(t()(),il(-1,2,[" Failed"])),(t()(),Ua(52,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,WA,UA)),Is(53,49152,null,0,yA,[],null,null),(t()(),il(54,0,[" Tags: "," "])),(t()(),Ua(55,0,null,0,5,"cdk-virtual-scroll-viewport",[["class","example-viewport cdk-virtual-scroll-viewport"],["itemSize","5"]],[[2,"cdk-virtual-scroll-orientation-horizontal",null],[2,"cdk-virtual-scroll-orientation-vertical",null]],null,null,YA,qA)),Is(56,540672,null,0,pv,[],{itemSize:[0,"itemSize"]},null),Ps(1024,null,uv,hv,[pv]),Is(58,245760,null,0,mv,[gr,Co,Gi,[2,uv],[2,h_],dv],null,null),(t()(),Ha(16777216,null,0,1,null,ZA)),Is(60,409600,null,0,gv,[wo,Ur,jo,[1,mv],Gi],{cdkVirtualForOf:[0,"cdkVirtualForOf"]},null),(t()(),Ua(61,0,null,0,6,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","about"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,62).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},wA,bA)),Is(62,671744,null,0,gf,[yf,ud,hc],{routerLink:[0,"routerLink"]},null),Is(63,1097728,null,3,fA,[gr,[2,pA],[2,dA]],null,null),Gs(603979776,19,{_lines:1}),Gs(335544320,20,{_avatar:0}),Gs(335544320,21,{_icon:0}),(t()(),il(-1,2,["About"])),(t()(),Ua(68,0,null,1,15,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,OA,IA)),Is(69,1294336,[[2,4]],0,DA,[Co,AA,gr,dv,Gi],null,null),(t()(),Ua(70,0,null,0,11,"mat-toolbar",[["class","mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,HA,BA)),Is(71,4243456,null,1,jA,[gr,em,Hc],{color:[0,"color"]},null),Gs(603979776,22,{_toolbarRows:1}),(t()(),Ha(16777216,null,0,2,null,QA)),Is(74,16384,null,0,Ac,[wo,Ur],{ngIf:[0,"ngIf"]},null),Os(131072,Vc,[Co]),(t()(),Ua(76,0,null,0,5,"span",[],null,null,null,null,null)),(t()(),Ua(77,0,null,null,2,"a",[["routerLink","dashboard"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==vs(t,78).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),Is(78,671744,null,0,gf,[yf,ud,hc],{routerLink:[0,"routerLink"]},null),(t()(),il(-1,null,["Stankins Alive"])),(t()(),Ua(80,0,null,null,1,"sup",[],null,null,null,null,null)),(t()(),il(81,null,[" Last updated: ",""])),(t()(),Ua(82,16777216,null,0,1,"router-outlet",[],null,null,null,null,null)),Is(83,212992,null,0,wf,[bf,wo,or,[8,null],Co],null,null)],function(t,e){var n=e.component;t(e,1,0),t(e,5,0,ca(e,5,0,vs(e,6).transform(n.isHandset$))?"over":"side",!ca(e,5,1,vs(e,7).transform(n.isHandset$)),"true"),t(e,16,0,"/dashboard"),t(e,22,0,"primary"),t(e,26,0,"monitorData"),t(e,33,0,"resultSuccess"),t(e,39,0,"primary"),t(e,43,0,"resultFailed"),t(e,49,0,"primary"),t(e,56,0,"5"),t(e,58,0),t(e,60,0,n.tags),t(e,62,0,"about"),t(e,69,0),t(e,71,0,"primary"),t(e,74,0,ca(e,74,0,vs(e,75).transform(n.isHandset$))),t(e,78,0,"dashboard"),t(e,83,0)},function(t,e){var n=e.component;t(e,0,0,vs(e,1)._backdropOverride),t(e,4,0,ca(e,4,0,vs(e,8).transform(n.isHandset$))?"dialog":"navigation",vs(e,5)._animationState,null,"end"===vs(e,5).position,"over"===vs(e,5).mode,"push"===vs(e,5).mode,"side"===vs(e,5).mode,vs(e,5).fixedInViewport,vs(e,5).fixedInViewport?vs(e,5).fixedTopGap:null,vs(e,5).fixedInViewport?vs(e,5).fixedBottomGap:null),t(e,9,0,vs(e,10)._toolbarRows.length>0,0===vs(e,10)._toolbarRows.length),t(e,15,0,vs(e,16).target,vs(e,16).href,vs(e,17)._avatar||vs(e,17)._icon,vs(e,17)._avatar||vs(e,17)._icon),t(e,21,0,vs(e,22).inline),t(e,25,0,vs(e,26).target,vs(e,26).href,vs(e,27)._avatar||vs(e,27)._icon,vs(e,27)._avatar||vs(e,27)._icon),t(e,32,0,vs(e,33).target,vs(e,33).href,vs(e,34)._avatar||vs(e,34)._icon,vs(e,34)._avatar||vs(e,34)._icon),t(e,38,0,vs(e,39).inline),t(e,42,0,vs(e,43).target,vs(e,43).href,vs(e,44)._avatar||vs(e,44)._icon,vs(e,44)._avatar||vs(e,44)._icon),t(e,48,0,vs(e,49).inline),t(e,52,0,vs(e,53).vertical?"vertical":"horizontal",vs(e,53).vertical,!vs(e,53).vertical,vs(e,53).inset),t(e,54,0,n.tags.length),t(e,55,0,"horizontal"===vs(e,58).orientation,"vertical"===vs(e,58).orientation),t(e,61,0,vs(e,62).target,vs(e,62).href,vs(e,63)._avatar||vs(e,63)._icon,vs(e,63)._avatar||vs(e,63)._icon),t(e,68,0,vs(e,69)._container._contentMargins.left,vs(e,69)._container._contentMargins.right),t(e,70,0,vs(e,71)._toolbarRows.length>0,0===vs(e,71)._toolbarRows.length),t(e,77,0,vs(e,78).target,vs(e,78).href),t(e,81,0,n.lastDateUpdated)})}var XA=da({encapsulation:0,styles:[[""]],data:{}});function JA(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"app-monitor-nav",[],null,null,null,$A,GA)),Is(1,114688,null,0,KA,[GT,Vg,pk],null,null)],function(t,e){t(e,1,0)},null)}function tR(t){return sl(0,[(t()(),Ua(0,0,null,null,1,"app-root",[],null,null,null,JA,XA)),Is(1,49152,null,0,gu,[],null,null)],null,null)}var eR=ss("app-root",gu,tR,{},{},[]),nR=new At("mat-autocomplete-scroll-strategy");function rR(t){return function(){return t.scrollStrategies.reposition()}}var iR=function(){return function(){}}(),oR=new At("mat-menu-scroll-strategy");function aR(t){return function(){return t.scrollStrategies.reposition()}}var sR=function(){return function(){}}(),lR=new At("mat-select-scroll-strategy");function uR(t){return function(){return t.scrollStrategies.reposition()}}var cR=function(){return function(){}}(),hR=function(){function t(){this.changes=new j,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(t,e,n){if(0==n||0==e)return"0 of "+n;var r=t*e;return r+1+" - "+(r<(n=Math.max(n,0))?Math.min(r+e,n):r+e)+" of "+n}}return t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}();function pR(t){return t||new hR}var dR=function(){return function(){}}(),fR=function(){return function(){}}(),mR=function(){function t(){this.changes=new j,this.optionalLabel="Optional"}return t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}();function yR(t){return t||new mR}var gR=function(){return function(){}}(),vR=function(){return function(t){this.template=t}}(),_R=function(){return function(){}}(),bR=function(){return function(){}}(),wR=function(){return function(){}}(),CR=function(){return function(){}}(),xR=function(){return function(){}}(),SR=new At("mat-chips-default-options"),ER=function(){return function(){}}(),kR=function(){return function(){}}(),DR=function(){return function(){}}(),TR=function(){return function(){}}(),AR=function(){return function(){}}(),RR=function(){return function(){}}(),IR=function(){return function(){}}(),OR=function(){return function(){}}(),PR=function(){return function(){}}(),NR=function(){return function(){}}(),FR=fu(yu,[gu],function(t){return function(t){for(var e={},n=[],r=!1,i=0;i<t.length;i++){var o=t[i];o.token===Ar&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=i,e[ua(o.token)]=o}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}([Xa(512,or,ar,[[8,[Yf,gS,Lk,Uk,Zk,xD,LD,qD,QD,AT,dT,zT,JT,iA,uA,eR]],[3,or],lr]),Xa(5120,qo,Go,[[3,qo]]),Xa(4608,Cc,xc,[qo,[2,wc]]),Xa(5120,Ii,Oi,[]),Xa(5120,jo,Yo,[]),Xa(5120,zo,Ko,[]),Xa(4608,qh,Yh,[Hc]),Xa(6144,fi,null,[qh]),Xa(4608,Vh,sy,[[2,iy],[2,Vm]]),Xa(5120,hh,function(t,e,n,r,i,o,a,s){return[new Mh(t,e,n),new Wh(r),new Bh(i,o,a,s)]},[Hc,Gi,Fi,Hc,Hc,Vh,Li,[2,jh]]),Xa(4608,ph,ph,[hh,Gi]),Xa(135680,mh,mh,[Hc]),Xa(4608,Ch,Ch,[ph,mh]),Xa(5120,j_,Rw,[]),Xa(5120,Ab,Iw,[]),Xa(4608,ow,Aw,[Hc,j_,Ab]),Xa(5120,_r,Ow,[Ch,ow,Gi]),Xa(6144,fh,null,[mh]),Xa(4608,no,no,[Gi]),Xa(5120,ud,Vf,[yf]),Xa(4608,Ef,Ef,[]),Xa(6144,xf,null,[Ef]),Xa(135680,kf,kf,[yf,fo,Bi,ne,xf]),Xa(4608,Sf,Sf,[]),Xa(5120,Df,Pf,[yf,qc,Tf]),Xa(5120,Hf,Bf,[jf]),Xa(5120,Mi,function(t){return[t]},[Hf]),Xa(4608,Cy,Cw,[_r,nh]),Xa(4608,Xv,Xv,[Lv,Wv,or,Qv,Uv,ne,Gi,Hc,h_,[2,dc]]),Xa(5120,Jv,t_,[Xv]),Xa(5120,nR,rR,[Xv]),Xa(4608,Qw,Qw,[]),Xa(4608,ry,ry,[]),Xa(5120,Hx,Ux,[Xv]),Xa(135680,Wx,Wx,[Xv,ne,[2,dc],[2,Bx],Hx,[3,Wx],Wv]),Xa(4608,XD,XD,[]),Xa(5120,aT,sT,[Xv]),Xa(5120,oR,aR,[Xv]),Xa(4608,qm,Jm,[[2,Wm],em]),Xa(5120,lR,uR,[Xv]),Xa(5120,i_,o_,[Xv]),Xa(5120,hR,pR,[[3,hR]]),Xa(5120,Oy,Py,[[3,Oy]]),Xa(5120,mR,yR,[[3,mR]]),Xa(135680,Nm,Nm,[Gi,em]),Xa(4608,vR,vR,[Ur]),Xa(4608,kx,Dx,[Hc,Fi,Sx]),Xa(4608,Tx,Tx,[kx,Ex]),Xa(5120,vx,function(t){return[t]},[Tx]),Xa(4608,Cx,Cx,[]),Xa(6144,wx,null,[Cx]),Xa(4608,xx,xx,[wx]),Xa(6144,ex,null,[xx]),Xa(4608,tx,Ax,[ex,ne]),Xa(4608,yx,yx,[tx]),Xa(1073742336,Bc,Bc,[]),Xa(1024,ki,tp,[]),Xa(1024,ao,function(){return[If()]},[]),Xa(512,jf,jf,[ne]),Xa(1024,Ai,function(t,e){return[(n=t,lh("probe",ch),lh("coreTokens",o({},uh,(n||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return ch}),zf(e)];var n},[[2,ao],jf]),Xa(512,Ri,Ri,[[2,Ai]]),Xa(131584,ho,ho,[Gi,Li,ne,ki,or,Ri]),Xa(1073742336,Zo,Zo,[ho]),Xa(1073742336,ep,ep,[[3,ep]]),Xa(1024,Af,Ff,[[3,yf]]),Xa(512,Bp,Hp,[]),Xa(512,bf,bf,[]),Xa(256,Tf,{},[]),Xa(1024,hc,Nf,[uc,[2,pc],Tf]),Xa(512,dc,dc,[hc]),Xa(512,Bi,Bi,[]),Xa(512,fo,vo,[Bi,[2,yo]]),Xa(1024,uf,function(){return[[{path:"about",component:dS},{path:"dashboard",component:gk},{path:"",redirectTo:"/dashboard",pathMatch:"full"},{path:"resultSuccess",component:Vk},{path:"resultFailed",component:Wk},{path:"tag/:id",component:mD},{path:"monitorData",component:SD}]]},[]),Xa(1024,yf,Lf,[ho,Bp,bf,dc,ne,fo,Bi,uf,Tf,[2,hf],[2,sf]]),Xa(1073742336,Of,Of,[[2,Af],[2,yf]]),Xa(1073742336,bR,bR,[]),Xa(1073742336,Nw,Nw,[]),Xa(1073742336,Ng,Ng,[]),Xa(1073742336,p_,p_,[]),Xa(1073742336,Vm,Vm,[[2,Lm],[2,jh]]),Xa(1073742336,nm,nm,[]),Xa(1073742336,vy,vy,[]),Xa(1073742336,_y,_y,[]),Xa(1073742336,by,by,[]),Xa(1073742336,Tv,Tv,[]),Xa(1073742336,vv,vv,[]),Xa(1073742336,e_,e_,[]),Xa(1073742336,iR,iR,[]),Xa(1073742336,Jw,Jw,[]),Xa(1073742336,Mm,Mm,[]),Xa(1073742336,wR,wR,[]),Xa(1073742336,zD,zD,[]),Xa(1073742336,y_,y_,[]),Xa(1073742336,CR,CR,[]),Xa(1073742336,HS,HS,[]),Xa(1073742336,xR,xR,[]),Xa(1073742336,ER,ER,[]),Xa(1073742336,Yx,Yx,[]),Xa(1073742336,uT,uT,[]),Xa(1073742336,gA,gA,[]),Xa(1073742336,tD,tD,[]),Xa(1073742336,lD,lD,[]),Xa(1073742336,uy,uy,[]),Xa(1073742336,kR,kR,[]),Xa(1073742336,IS,IS,[]),Xa(1073742336,mC,mC,[]),Xa(1073742336,Zw,Zw,[]),Xa(1073742336,_C,_C,[]),Xa(1073742336,mA,mA,[]),Xa(1073742336,sR,sR,[]),Xa(1073742336,ey,ey,[]),Xa(1073742336,ny,ny,[]),Xa(1073742336,cR,cR,[]),Xa(1073742336,u_,u_,[]),Xa(1073742336,dR,dR,[]),Xa(1073742336,DR,DR,[]),Xa(1073742336,TR,TR,[]),Xa(1073742336,AR,AR,[]),Xa(1073742336,RA,RA,[]),Xa(1073742336,RR,RR,[]),Xa(1073742336,IR,IR,[]),Xa(1073742336,YT,YT,[]),Xa(1073742336,Fy,Fy,[]),Xa(1073742336,fR,fR,[]),Xa(1073742336,gR,gR,[]),Xa(1073742336,hg,hg,[]),Xa(1073742336,Dg,Dg,[]),Xa(1073742336,dE,dE,[]),Xa(1073742336,zA,zA,[]),Xa(1073742336,_R,_R,[]),Xa(1073742336,OR,OR,[]),Xa(1073742336,Rx,Rx,[]),Xa(1073742336,Ix,Ix,[]),Xa(1073742336,PR,PR,[]),Xa(1073742336,NR,NR,[]),Xa(1073742336,yu,yu,[]),Xa(256,Ar,!0,[]),Xa(256,Pw,"BrowserAnimations",[]),Xa(256,SR,{separatorKeyCodes:[13]},[]),Xa(256,Ym,ty,[]),Xa(256,Sx,"XSRF-TOKEN",[]),Xa(256,Ex,"X-XSRF-TOKEN",[])])});(function(){if(qr)throw new Error("Cannot enable prod mode after platform setup.");Wr=!1})(),Jh().bootstrapModuleFactory(FR).catch(function(t){return console.error(t)})}},[[0,0]]]);