function _templateObject35(){var e=_taggedTemplateLiteral([":@@ngb.toast.close-aria\u241ff4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8\u241f7819314041543176992:Close"]);return _templateObject35=function(){return e},e}function _templateObject34(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.AM\u241f69a1f176a93998876952adac57c3bc3863b6105e\u241f4592818992509942761:",":INTERPOLATION:"]);return _templateObject34=function(){return e},e}function _templateObject33(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.PM\u241f8d6e691e10306c1b34c6b26805151aaea320ef7f\u241f3564199131264287502:",":INTERPOLATION:"]);return _templateObject33=function(){return e},e}function _templateObject32(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-seconds\u241f5db47ac104294243a70eb9124fbea9d0004ddf69\u241f753633511487974857:Decrement seconds"]);return _templateObject32=function(){return e},e}function _templateObject31(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-seconds\u241f912322ecee7d659d04dcf494a70e22e49d334b26\u241f5364772110539092174:Increment seconds"]);return _templateObject31=function(){return e},e}function _templateObject30(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.seconds\u241f4f2ed9e71a7c981db3e50ae2fedb28aff2ec4e6c\u241f8874012390997067175:Seconds"]);return _templateObject30=function(){return e},e}function _templateObject29(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.SS\u241febe38d36a40a2383c5fefa9b4608ffbda08bd4a3\u241f3628127143071124194:SS"]);return _templateObject29=function(){return e},e}function _templateObject28(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-minutes\u241fc1a6899e529c096da5b660385d4e77fe1f7ad271\u241f7447789825403243588:Decrement minutes"]);return _templateObject28=function(){return e},e}function _templateObject27(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-minutes\u241ff5a4a3bc05e053f6732475d0e74875ec01c3a348\u241f180147720391025024:Increment minutes"]);return _templateObject27=function(){return e},e}function _templateObject26(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-hours\u241f147c7a19429da7d999e247d22e33fee370b1691b\u241f3651829882940481818:Decrement hours"]);return _templateObject26=function(){return e},e}function _templateObject25(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-hours\u241fcb74bc1d625a6c1742f0d7d47306cf495780c218\u241f5939278348542933629:Increment hours"]);return _templateObject25=function(){return e},e}function _templateObject24(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.minutes\u241f41e62daa962947c0d23ded0981975d1bddf0bf38\u241f5531237363767747080:Minutes"]);return _templateObject24=function(){return e},e}function _templateObject23(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.MM\u241f72c8edf6a50068a05bde70991e36b1e881f4ca54\u241f1647282246509919852:MM"]);return _templateObject23=function(){return e},e}function _templateObject22(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.hours\u241f3bbce5fef7e1151da052a4e529453edb340e3912\u241f8070396816726827304:Hours"]);return _templateObject22=function(){return e},e}function _templateObject21(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.HH\u241fce676ab1d6d98f85c836381cf100a4a91ef95a1f\u241f4043638465245303811:HH"]);return _templateObject21=function(){return e},e}function _templateObject20(){var e=_taggedTemplateLiteral([":@@ngb.progressbar.value\u241ff8e9a947b9db4252c0e9905765338712f2fd032f\u241f3720830768741091151:",":INTERPOLATION:"]);return _templateObject20=function(){return e},e}function _templateObject19(){var e=_taggedTemplateLiteral([":@@ngb.pagination.last-aria\u241f5c729788ba138508aca1bec050b610f7bf81db3e\u241f4882268002141858767:Last"]);return _templateObject19=function(){return e},e}function _templateObject18(){var e=_taggedTemplateLiteral([":@@ngb.pagination.next-aria\u241ff732c304c7433e5a83ffcd862c3dce709a0f4982\u241f3885497195825665706:Next"]);return _templateObject18=function(){return e},e}function _templateObject17(){var e=_taggedTemplateLiteral([":@@ngb.pagination.previous-aria\u241f680d5c75b7fd8d37961083608b9fcdc4167b4c43\u241f4452427314943113135:Previous"]);return _templateObject17=function(){return e},e}function _templateObject16(){var e=_taggedTemplateLiteral([":@@ngb.pagination.first-aria\u241ff2f852318759c6396b5d3d17031d53817d7b38cc\u241f2241508602425256033:First"]);return _templateObject16=function(){return e},e}function _templateObject15(){var e=_taggedTemplateLiteral([":@@ngb.pagination.last\u241f49f27a460bc97e7e00be5b37098bfa79884fc7d9\u241f5277020320267646988:\xbb\xbb"]);return _templateObject15=function(){return e},e}function _templateObject14(){var e=_taggedTemplateLiteral([":@@ngb.pagination.next\u241fba9cbb4ff311464308a3627e4f1c3345d9fe6d7d\u241f5458177150283468089:\xbb"]);return _templateObject14=function(){return e},e}function _templateObject13(){var e=_taggedTemplateLiteral([":@@ngb.pagination.previous\u241f6e52b6ee77a4848d899dd21b591c6fd499e3aef3\u241f6479320895410098858:\xab"]);return _templateObject13=function(){return e},e}function _templateObject12(){var e=_taggedTemplateLiteral([":@@ngb.pagination.first\u241f656506dfd46380956a655f919f1498d018f75ca0\u241f6867721956102594380:\xab\xab"]);return _templateObject12=function(){return e},e}function _templateObject11(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-year\u241f8ceb09d002bf0c5d1cac171dfbffe1805d2b3962\u241f8852264961585484321:Select year"]);return _templateObject11=function(){return e},e}function _templateObject10(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-year\u241f8ceb09d002bf0c5d1cac171dfbffe1805d2b3962\u241f8852264961585484321:Select year"]);return _templateObject10=function(){return e},e}function _templateObject9(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-month\u241f1dbc84807f35518112f62e5775d1daebd3d8462b\u241f2253869508135064750:Select month"]);return _templateObject9=function(){return e},e}function _templateObject8(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-month\u241f1dbc84807f35518112f62e5775d1daebd3d8462b\u241f2253869508135064750:Select month"]);return _templateObject8=function(){return e},e}function _templateObject7(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.next-month\u241f4bd046985cfe13040d5ef0cd881edce0968a111a\u241f3628374603023447227:Next month"]);return _templateObject7=function(){return e},e}function _templateObject6(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.next-month\u241f4bd046985cfe13040d5ef0cd881edce0968a111a\u241f3628374603023447227:Next month"]);return _templateObject6=function(){return e},e}function _templateObject5(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.previous-month\u241fc3b08b07b5ab98e7cdcf18df39355690ab7d3884\u241f8586908745456864217:Previous month"]);return _templateObject5=function(){return e},e}function _templateObject4(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.previous-month\u241fc3b08b07b5ab98e7cdcf18df39355690ab7d3884\u241f8586908745456864217:Previous month"]);return _templateObject4=function(){return e},e}function _templateObject3(){var e=_taggedTemplateLiteral([":@@ngb.carousel.next\u241ff732c304c7433e5a83ffcd862c3dce709a0f4982\u241f3885497195825665706:Next"]);return _templateObject3=function(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral([":@@ngb.carousel.previous\u241f680d5c75b7fd8d37961083608b9fcdc4167b4c43\u241f4452427314943113135:Previous"]);return _templateObject2=function(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral([":@@ngb.alert.close\u241ff4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8\u241f7819314041543176992:Close"]);return _templateObject=function(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableRest()}function _defineProperty2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _slicedToArray2(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t?e:""+Array(t+1-r.length).join(n)+e},p={s:d,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+d(r,2,"0")+":"+d(i,2,"0")},m:function e(t,n){if(t.date()4&&void 0!==arguments[4]?arguments[4]:new R(e,n,r);if(!i.closed)return t instanceof k?t.subscribe(i):L(t)(i)}var P=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(v);function M(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new B(e,t))}}var B=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new j(e,this.project,this.thisArg))}}]),e}(),j=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).project=r,o.count=0,o.thisArg=i||_assertThisInitialized(o),o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(v);function H(e,t){return new k((function(n){var r=new h,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}function G(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new k((function(n){var r=new h;return r.add(t.schedule((function(){var i=e[m]();r.add(i.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(U(e))return function(e,t){return new k((function(n){var r=new h;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(D(e))return H(e,t);if(function(e){return e&&"function"==typeof e[F]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new k((function(n){var r,i=new h;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(t.schedule((function(){r=e[F](),i.add(t.schedule((function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof k?e:new k(L(e))}function Z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(r){return r.pipe(Z((function(n,r){return G(e(n,r)).pipe(M((function(e,i){return t(n,e,r,i)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new W(e,n))})}var W=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new z(e,this.project,this.concurrent))}}]),e}(),z=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(i=t.call(this,e)).project=r,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return _createClass(n,[{key:"_next",value:function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(P);function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Z(y,e)}function Q(e,t){return t?H(e,t):new k(V(e))}function J(){for(var e=arguments.length,t=new Array(e),n=0;n1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof o&&(r=t.pop()),null===i&&1===t.length&&t[0]instanceof k?t[0]:X(r)(Q(t,i))}function Y(){return function(e){return e.lift(new q(e))}}var K,q=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new $(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),e}(),$=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).connectable=r,i}return _createClass(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(v),ee={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(K=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).source=e,i.subjectFactory=r,i._refCount=0,i._isComplete=!1,i}return _createClass(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new h).add(this.source.subscribe(new te(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}},{key:"refCount",value:function(){return Y()(this)}}]),n}(k).prototype)._subscribe},_isComplete:{value:K._isComplete,writable:!0},getSubject:{value:K.getSubject},connect:{value:K.connect},refCount:{value:K.refCount}},te=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).connectable=r,i}return _createClass(n,[{key:"_error",value:function(e){this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(E);function ne(){return new A}function re(e){return{toString:e}.toString()}function ie(e,t,n){return re((function(){var r=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function i(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:ce.Default;if(void 0===ze)throw new Error("inject() must be called from an injection context");return null===ze?Ke(e,void 0,t):ze.get(e,t&ce.Optional?null:void 0,t)}function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ce.Default;return(Ae||Je)(xe(e),t)}function Ke(e,t,n){var r=pe(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ce.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(ke(e),"]"))}function qe(e){for(var t=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:Ge;if(t===Ge){var n=new Error("NullInjectorError: No provider for ".concat(ke(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),et=function e(){_classCallCheck(this,e)},tt=function e(){_classCallCheck(this,e)};function nt(e,t){for(var n=0;n=e.length?e.push(n):e.splice(t,0,n)}function ot(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function at(e,t){for(var n=[],r=0;r=0?e[1|r]=n:function(e,t,n,r){var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function ut(e,t){var n=ct(e,t);if(n>=0)return e[1|n]}function ct(e,t){return function(e,t,n){for(var r=0,i=e.length>>1;i!==r;){var o=r+(i-r>>1),a=e[o<<1];if(t===a)return o<<1;a>t?i=o:r=o+1}return~(i<<1)}(e,t)}var lt=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),ft=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),ht={},dt=[],pt=0;function vt(e){return re((function(){var t=e.type,n=t.prototype,r={},i={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===lt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||dt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ft.Emulated,id:"c",styles:e.styles||dt,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,s=e.pipes;return i.id+=pt++,i.inputs=_t(e.inputs,r),i.outputs=_t(e.outputs),a&&a.forEach((function(e){return e(i)})),i.directiveDefs=o?function(){return("function"==typeof o?o():o).map(gt)}:null,i.pipeDefs=s?function(){return("function"==typeof s?s():s).map(mt)}:null,i}))}function gt(e){return wt(e)||function(e){return e[Ue]||null}(e)}function mt(e){return function(e){return e[Le]||null}(e)}var yt={};function bt(e){var t={type:e.type,bootstrap:e.bootstrap||dt,declarations:e.declarations||dt,imports:e.imports||dt,exports:e.exports||dt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&re((function(){yt[e.id]=e.type})),t}function _t(e,t){if(null==e)return ht;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var Ct=vt;function kt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function wt(e){return e[De]||null}function It(e,t){return e.hasOwnProperty(Me)?e[Me]:null}function St(e,t){var n=e[Ne]||null;if(!n&&!0===t)throw new Error("Type ".concat(ke(e)," does not have '\u0275mod' property."));return n}function xt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Et(e){return Array.isArray(e)&&!0===e[1]}function At(e){return 0!=(8&e.flags)}function Tt(e){return 2==(2&e.flags)}function Ot(e){return 1==(1&e.flags)}function Rt(e){return null!==e.template}function Vt(e){return 0!=(512&e[2])}var Ft=void 0;function Dt(){return void 0!==Ft?Ft:"undefined"!=typeof document?document:void 0}function Ut(e){return!!e.listen}var Lt={createRenderer:function(e,t){return Dt()}};function Nt(e){for(;Array.isArray(e);)e=e[0];return e}function Pt(e,t){return Nt(t[e+20])}function Mt(e,t){return Nt(t[e.index])}function Bt(e,t){return e.data[t+20]}function jt(e,t){return e[t+20]}function Ht(e,t){var n=t[e];return xt(n)?n:n[0]}function Gt(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Zt(e){return 4==(4&e[2])}function Wt(e){return 128==(128&e[2])}function zt(e,t){return null===e||null==t?null:e[t]}function Xt(e){e[18]=0}function Qt(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}var Jt={lFrame:yn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Yt(){return Jt.bindingsEnabled}function Kt(){return Jt.lFrame.lView}function qt(){return Jt.lFrame.tView}function $t(e){Jt.lFrame.contextLView=e}function en(){return Jt.lFrame.previousOrParentTNode}function tn(e,t){Jt.lFrame.previousOrParentTNode=e,Jt.lFrame.isParent=t}function nn(){return Jt.lFrame.isParent}function rn(){Jt.lFrame.isParent=!1}function on(){return Jt.checkNoChangesMode}function an(e){Jt.checkNoChangesMode=e}function sn(){var e=Jt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function un(){return Jt.lFrame.bindingIndex}function cn(){return Jt.lFrame.bindingIndex++}function ln(e){var t=Jt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function fn(e,t){var n=Jt.lFrame;n.bindingIndex=n.bindingRootIndex=e,hn(t)}function hn(e){Jt.lFrame.currentDirectiveIndex=e}function dn(){return Jt.lFrame.currentQueryIndex}function pn(e){Jt.lFrame.currentQueryIndex=e}function vn(e,t){var n=mn();Jt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function gn(e,t){var n=mn(),r=e[1];Jt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function mn(){var e=Jt.lFrame,t=null===e?null:e.child;return null===t?yn(e):t}function yn(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function bn(){var e=Jt.lFrame;return Jt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var _n=bn;function Cn(){var e=bn();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function kn(){return Jt.lFrame.selectedIndex}function wn(e){Jt.lFrame.selectedIndex=e}function In(){var e=Jt.lFrame;return Bt(e.tView,e.selectedIndex)}function Sn(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[a]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}var Rn=function e(t,n,r){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function Vn(e,t,n){for(var r=Ut(e),i=0;it){a=o-1;break}}}for(;o>16}function Bn(e,t){for(var n=Mn(e),r=t;n>0;)r=r[15],n--;return r}function jn(e){return"string"==typeof e?e:null==e?"":""+e}function Hn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():jn(e)}var Gn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Fe);function Zn(e){return e instanceof Function?e():e}var Wn=!0;function zn(e){var t=Wn;return Wn=e,t}var Xn=0;function Qn(e,t){var n=Yn(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Jn(r.data,e),Jn(t,null),Jn(r.blueprint,null));var i=Kn(e,t),o=e.injectorIndex;if(Nn(i))for(var a=Pn(i),s=Bn(i,t),u=s[1].data,c=0;c<8;c++)t[o+c]=s[a+c]|u[a+c];return t[o+8]=i,o}function Jn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Yn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Kn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],r=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function qn(e,t,n){!function(e,t,n){var r="string"!=typeof n?n[Be]:n.charCodeAt(0)||0;null==r&&(r=n[Be]=Xn++);var i=255&r,o=1<3&&void 0!==arguments[3]?arguments[3]:ce.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[Be];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){vn(t,e);try{var a=o();if(null!=a||r&ce.Optional)return a;throw new Error("No provider for ".concat(Hn(n),"!"))}finally{_n()}}else if("number"==typeof o){if(-1===o)return new ar(e,t);var s=null,u=Yn(e,t),c=-1,l=r&ce.Host?t[16][6]:null;for((-1===u||r&ce.SkipSelf)&&(c=-1===u?Kn(e,t):t[u+8],or(r,!1)?(s=t[1],u=Pn(c),t=Bn(c,t)):u=-1);-1!==u;){c=t[u+8];var f=t[1];if(ir(o,u,f.data)){var h=tr(u,t,n,s,r,l);if(h!==er)return h}or(r,t[1].data[u+8]===l)&&ir(o,u,t)?(s=f,u=Pn(c),t=Bn(c,t)):u=-1}}}if(r&ce.Optional&&void 0===i&&(i=null),0==(r&(ce.Self|ce.Host))){var d=t[9],p=Qe(void 0);try{return d?d.get(n,i,r&ce.Optional):Ke(n,i,r&ce.Optional)}finally{Qe(p)}}if(r&ce.Optional)return i;throw new Error("NodeInjector: NOT_FOUND [".concat(Hn(n),"]"))}var er={};function tr(e,t,n,r,i,o){var a=t[1],s=a.data[e+8],u=nr(s,a,n,null==r?Tt(s)&&Wn:r!=a&&3===s.type,i&ce.Host&&o===s);return null!==u?rr(t,a,u,s):er}function nr(e,t,n,r,i){for(var o=e.providerIndexes,a=t.data,s=65535&o,u=e.directiveStart,c=o>>16,l=i?s+c:e.directiveEnd,f=r?s:s+c;f=u&&h.type===n)return f}if(i){var d=a[u];if(d&&Rt(d)&&d.type===n)return u}return null}function rr(e,t,n,r){var i=e[n],o=t.data;if(i instanceof Rn){var a=i;if(a.resolving)throw new Error("Circular dep for "+Hn(o[n]));var s,u=zn(a.canSeeViewProviders);a.resolving=!0,a.injectImpl&&(s=Qe(a.injectImpl)),vn(e,r);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.onChanges,i=t.onInit,o=t.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{a.injectImpl&&Qe(s),zn(u),a.resolving=!1,_n()}}return i}function ir(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<1?t-1:0),r=1;r',!n.querySelector||n.querySelector("svg")?(n.innerHTML='

',this.getInertBodyElement=n.querySelector&&n.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return _createClass(e,[{key:"getInertBodyElement_XHR",value:function(e){e=""+e+"";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value:function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}},{key:"getInertBodyElement_InertDocument",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Nr.hasOwnProperty(t)&&!Fr.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(Wr(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}]),e}(),Gr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zr=/([^\#-~ |!])/g;function Wr(e){return e.replace(/&/g,"&").replace(Gr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Zr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}function zr(e,t){var n=null;try{Vr=Vr||new Sr(e);var r=t?String(t):"";n=Vr.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=Vr.getInertBodyElement(r)}while(r!==o);var a=new Hr,s=a.sanitizeChildren(Xr(n)||n);return Ir()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var u=Xr(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}function Xr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Qr=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Jr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Yr=/^url\(([^)]+)\)$/;function Kr(e){var t=ei();return t?t.sanitize(Qr.HTML,e)||"":_r(e,"HTML")?br(e):zr(Dt(),jn(e))}function qr(e){var t=ei();return t?t.sanitize(Qr.URL,e)||"":_r(e,"URL")?br(e):Ar(jn(e))}function $r(e){var t=ei();if(t)return t.sanitize(Qr.RESOURCE_URL,e)||"";if(_r(e,"ResourceURL"))return br(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function ei(){var e=Kt();return e&&e[12]}function ti(e,t){e.__ngContext__=t}function ni(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function ri(){throw new Error("Cannot mix multi providers and regular providers")}function ii(e,t,n){for(var r=e.length;;){var i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){var o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function oi(e,t,n){for(var r=0;ro?"":i[l+1].toLowerCase();var h=8&r?f:null;if(h&&-1!==ii(h,c,0)||2&r&&c!==f){if(ci(r))return!1;a=!0}}}}else{if(!a&&!ci(r)&&!ci(u))return!1;if(a&&ci(u))continue;a=!1,r=u|1&r}}return ci(r)||a}function ci(e){return 0==(1&e)}function li(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],r=0;r0?'="'+s+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||ci(a)||(t+=di(o,i),i=""),r=a,o=o||!ci(r);n++}return""!==i&&(t+=di(o,i)),t}var vi={};function gi(e){var t=e[3];return Et(t)?t[3]:t}function mi(e){return bi(e[13])}function yi(e){return bi(e[4])}function bi(e){for(;null!==e&&!Et(e);)e=e[4];return e}function _i(e){Ci(qt(),Kt(),kn()+e,on())}function Ci(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&xn(t,i,n)}else{var o=e.preOrderHooks;null!==o&&En(t,o,0,n)}wn(n)}var ki={marker:"element"},wi={marker:"comment"};function Ii(e,t){return e<<17|t<<2}function Si(e){return e>>17&32767}function xi(e){return 2|e}function Ei(e){return(131068&e)>>2}function Ai(e,t){return-131069&e|t<<2}function Ti(e){return 1|e}function Oi(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r20&&Ci(e,t,0,on()),n(r,i)}finally{wn(o)}}function Pi(e,t,n){if(At(t))for(var r=t.directiveEnd,i=t.directiveStart;i2&&void 0!==arguments[2]?arguments[2]:Mt,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o0&&function e(t){for(var n=mi(t);null!==n;n=yi(n))for(var r=10;r0&&e(i)}var a=t[1].components;if(null!==a)for(var s=0;s0&&e(u)}}(n)}}function so(e,t){var n=Ht(t,e),r=n[1];!function(e,t){for(var n=t.length;n0&&(e[n-1][4]=r[4]);var o=ot(e,10+t);Io(r[1],r,!1,null);var a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Eo(e,t){if(!(256&t[2])){var n=t[11];Ut(n)&&n.destroyNode&&Bo(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return To(e[1],e);for(;t;){var n=null;if(xt(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)xt(t)&&To(t[1],t),t=Ao(t,e);null===t&&(t=e),xt(t)&&To(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ao(e,t){var n;return xt(e)&&(n=e[6])&&2===n.type?_o(n,e):e[3]===t?null:e[3]}function To(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r=0?r[u]():r[-u].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&Ut(t[11])&&t[11].destroy();var r=t[17];if(null!==r&&Et(t[3])){r!==t[3]&&So(r,t);var i=t[19];null!==i&&i.detachView(e)}}}function Oo(e,t,n){for(var r=t.parent;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){var i=n[6];return 2===i.type?Co(i,n):n[0]}if(t&&5===t.type&&4&t.flags)return Mt(t,n).parentNode;if(2&r.flags){var o=e.data,a=o[o[r.index].directiveStart].encapsulation;if(a!==ft.ShadowDom&&a!==ft.Native)return null}return Mt(r,n)}function Ro(e,t,n,r){Ut(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function Vo(e,t,n){Ut(e)?e.appendChild(t,n):t.appendChild(n)}function Fo(e,t,n,r){null!==r?Ro(e,t,n,r):Vo(e,t,n)}function Do(e,t){return Ut(e)?e.parentNode(t):t.parentNode}function Uo(e,t){if(2===e.type){var n=_o(e,t);return null===n?null:No(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Mt(e,t):null}function Lo(e,t,n,r){var i=Oo(e,r,t);if(null!=i){var o=t[11],a=Uo(r.parent||t[6],t);if(Array.isArray(n))for(var s=0;s-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Eo(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t,n,r;t=this._lView[1],r=e,vo(n=this._lView).push(r),t.firstCreatePass&&go(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){co(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){lo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){an(!0);try{lo(e,t,n)}finally{an(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Bo(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView;return null==e[0]?function e(t,n,r,i){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==r;){var a=n[r.index];if(null!==a&&i.push(Nt(a)),Et(a))for(var s=10;s0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var a=o.get(et,null);a&&(i=a)}var s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Et(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var o=n[3],a=new Xo(o,o[6],o[3]);a.detach(a.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return Yo(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new ar(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=Kn(this._hostTNode,this._hostView),t=Bn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,i=n.parent;null!=i.parent&&r==i.parent.injectorIndex;)i=i.parent;return i}for(var o=Mn(e),a=t,s=t[6];o>1;)s=(a=a[15])[6],o--;return s}(e,this._hostView,this._hostTNode);return Nn(e)&&null!=n?new ar(n,t):new ar(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),r}(e));var o=r[n.index];if(Et(o))i=o;else{var a;if(4===n.type)a=Nt(o);else if(a=r[11].createComment(""),Vt(r)){var s=r[11],u=Mt(n,r);Ro(s,Do(s,u),a,function(e,t){return Ut(e)?e.nextSibling(t):t.nextSibling}(s,u))}else Lo(r[1],r,a,n);r[n.index]=i=oo(o,r,a,n),uo(r,i)}return new Xo(i,n,r)}function $o(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&Tt(e)){var r=Ht(e.index,t);return new Qo(r,r)}return 3===e.type||0===e.type||4===e.type||5===e.type?new Qo(t[16],t):null}(en(),Kt(),e)}var ea=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return ta()},e}(),ta=$o,na=new je("Set Injector scope."),ra={},ia={},oa=[],aa=void 0;function sa(){return void 0===aa&&(aa=new $e),aa}function ua(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new ca(e,n,t||sa(),r)}var ca=function(){function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&rt(n,(function(e){return i.processProvider(e,t,n)})),rt([t],(function(e){return i.processInjectorType(e,[],a)})),this.records.set(He,ha(void 0,this));var s=this.records.get(na);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:ke(t))}return _createClass(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce.Default;this.assertNotDestroyed();var r,i=Xe(this);try{if(!(n&ce.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof je)&&pe(e);o=a&&this.injectableDefInScope(a)?ha(la(e),ra):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&ce.Self?sa():this.parent).get(e,t=n&ce.Optional&&t===Ge?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(ke(e)),i)throw s;return function(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=ke(t);if(Array.isArray(t))i=t.map(ke).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):ke(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(Ze,"\n "))}("\n"+e.message,i,"R3InjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{Xe(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(ke(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=xe(e)))return!1;var i=ge(e),o=null==i&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=ge(o)),null==i)return!1;if(null!=i.imports&&!s){var u;n.push(a);try{rt(i.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))}))}finally{}if(void 0!==u)for(var c=function(e){var t=u[e],n=t.ngModule,i=t.providers;rt(i,(function(e){return r.processProvider(e,n,i||oa)}))},l=0;l0){var n=at(t,"?");throw new Error("Can't resolve all parameters for ".concat(ke(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[me]||e[_e]||e[be]&&e[be]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function fa(e,t,n){var r,i=void 0;if(pa(e)){var o=xe(e);return It(o)||la(o)}if(da(e))i=function(){return xe(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,_toConsumableArray(qe(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return Ye(xe(e.useExisting))};else{var a=xe(e&&(e.useClass||e.provide));if(a||function(e,t,n){var r="";throw e&&t&&(r=" - only instances of Provider and Type are allowed, got: [".concat(t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", "),"]")),new Error("Invalid provider for the NgModule '".concat(ke(e),"'")+r)}(t,n,e),!function(e){return!!e.deps}(e))return It(a)||la(a);i=function(){return _construct(a,_toConsumableArray(qe(e.deps)))}}return i}function ha(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function da(e){return null!==e&&"object"==typeof e&&We in e}function pa(e){return"function"==typeof e}var va=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,i=ua(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},ga=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?va(e,t,""):va(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Ge,e.NULL=new $e,e.\u0275prov=he({token:e,providedIn:"any",factory:function(){return Ye(He)}}),e.__NG_ELEMENT_ID__=-1,e}(),ma=new je("AnalyzeForEntryComponents"),ya=new Map,ba=new Set;function _a(e){return"string"==typeof e?e:e.text()}function Ca(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:ce.Default,n=Kt();return null==n?Ye(e,t):$n(en(),n,xe(e),t)}function Na(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var r=n.length,i=0;i2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=Kt(),o=qt(),a=en();return function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,u=Ot(r),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),l=vo(t),f=!0;if(3===r.type){var h=Mt(r,t),d=s?s(h):ht,p=d.target||h,v=l.length,g=s?function(e){return s(Nt(e[r.index])).target}:r.index;if(Ut(n)){var m=null;if(!s&&u&&(m=function(e,t,n,r){var i=e.cleanup;if(null!=i)for(var o=0;ou?s[u]:null}"string"==typeof a&&(o+=2)}return null}(e,t,i,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,f=!1;else{o=Ka(r,t,o,!1);var y=n.listen(d.name||p,i,o);l.push(o,y),c&&c.push(i,g,v,v+1)}}else o=Ka(r,t,o,!0),p.addEventListener(i,o,a),l.push(o),c&&c.push(i,g,v,a)}var b,_=r.outputs;if(f&&null!==_&&(b=_[i])){var C=b.length;if(C)for(var k=0;k0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Jt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Jt.lFrame.contextLView))[8]}(e)}function $a(e,t){for(var n=null,r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=Kt(),i=qt(),o=Fi(i,r[6],e,1,null,n||null);null===o.projection&&(o.projection=t),rn(),ts||jo(i,r,o)}function is(e,t,n){return os(e,"",t,"",n),is}function os(e,t,n,r,i){var o=Kt(),a=Va(o,t,n,r);return a!==vi&&Wi(qt(),In(),o,e,a,o[11],i,!1),os}function as(e,t,n,r,i,o,a){var s=Kt(),u=Fa(s,t,n,r,i,o);return u!==vi&&Wi(qt(),In(),s,e,u,s[11],a,!1),as}var ss=[];function us(e,t,n,r,i){for(var o=e[n+1],a=null===t,s=r?Si(o):Ei(o),u=!1;0!==s&&(!1===u||a);){var c=e[s+1];cs(e[s],t)&&(u=!0,e[s+1]=r?Ti(c):xi(c)),s=r?Si(c):Ei(c)}u&&(e[n+1]=r?xi(o):Ti(o))}function cs(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ct(e,t)>=0}var ls={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function fs(e){return e.substring(ls.key,ls.keyEnd)}function hs(e,t){var n=ls.textEnd;return n===t?-1:(t=ls.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,ls.key=t,n),ds(e,t,n))}function ds(e,t,n){for(;t=0;n=hs(t,n))st(e,fs(t),!0)}function ys(e,t,n,r){var i,o,a=Kt(),s=qt(),u=ln(2);(s.firstUpdatePass&&Cs(s,e,u,r),t!==vi&&Ta(a,u,t))&&(null==n&&(i=null===(o=Jt.lFrame)?null:o.currentSanitizer)&&(n=i),Is(s,s.data[kn()+20],a,a[11],e,a[u+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=ke(br(e)))),e}(t,n),r,u))}function bs(e,t,n,r){var i=qt(),o=ln(2);i.firstUpdatePass&&Cs(i,null,o,r);var a=Kt();if(n!==vi&&Ta(a,o,n)){var s=i.data[kn()+20];if(Es(s,r)&&!_s(i,o)){var u=r?s.classesWithoutHost:s.stylesWithoutHost;null!==u&&(n=we(u,n||"")),Ba(i,s,a,n,r)}else!function(e,t,n,r,i,o,a,s){i===vi&&(i=ss);for(var u=0,c=0,l=0=e.expandoStartIndex}function Cs(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[kn()+20],a=_s(e,n);Es(o,r)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){var i=function(e){var t=Jt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e),o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=ws(n=ks(null,e,t,n,r),t.attrs,r),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=ks(i,e,t,n,r),null===o){var s=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0!==Ei(r))return e[Si(r)]}(e,t,r);void 0!==s&&Array.isArray(s)&&function(e,t,n,r){e[Si(n?t.classBindings:t.styleBindings)]=r}(e,t,r,s=ws(s=ks(null,e,t,s[1],r),t.attrs,r))}else o=function(e,t,n){for(var r=void 0,i=t.directiveEnd,o=1+t.directiveStylingLast;o0)&&(l=!0)}else c=n;if(i)if(0!==u){var h=Si(e[s+1]);e[r+1]=Ii(h,s),0!==h&&(e[h+1]=Ai(e[h+1],r)),e[s+1]=131071&e[s+1]|r<<17}else e[r+1]=Ii(s,0),0!==s&&(e[s+1]=Ai(e[s+1],r)),s=r;else e[r+1]=Ii(u,0),0===s?s=r:e[u+1]=Ai(e[u+1],r),u=r;l&&(e[r+1]=xi(e[r+1])),us(e,c,r,!0),us(e,c,r,!1),function(e,t,n,r,i){var o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ct(o,t)>=0&&(n[r+1]=Ti(n[r+1]))}(t,c,e,r,o),a=Ii(s,u),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function ks(e,t,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var u=e[i],c=Array.isArray(u),l=c?u[1]:u,f=null===l,h=n[i+1];h===vi&&(h=f?ss:void 0);var d=f?ut(h,r):l===r?h:void 0;if(c&&!xs(d)&&(d=ut(u,r)),xs(d)&&(s=d,a))return s;var p=e[i+1];i=a?Si(p):Ei(p)}if(null!==t){var v=o?t.residualClasses:t.residualStyles;null!=v&&(s=ut(v,r))}return s}function xs(e){return void 0!==e}function Es(e,t){return 0!=(e.flags&(t?16:32))}function As(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Kt(),r=qt(),i=e+20,o=r.firstCreatePass?Fi(r,n[6],e,3,null,null):r.data[i],a=n[i]=wo(t,n[11]);Lo(r,n,a,o),tn(o,!1)}function Ts(e){return Os("",e,""),Ts}function Os(e,t,n){var r=Kt(),i=Va(r,e,t,n);return i!==vi&&bo(r,kn(),i),Os}function Rs(e,t,n,r,i){var o=Kt(),a=Fa(o,e,t,n,r,i);return a!==vi&&bo(o,kn(),a),Rs}function Vs(e,t,n){var r=Kt();return Ta(r,cn(),t)&&Wi(qt(),In(),r,e,t,r[11],n,!0),Vs}function Fs(e,t){var n=Gt(e)[1],r=n.data.length-1;Sn(n,{directiveStart:r,directiveEnd:r+1})}function Ds(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,r=[e];t;){var i=void 0;if(Rt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);var o=e;o.inputs=Us(e.inputs),o.declaredInputs=Us(e.declaredInputs),o.outputs=Us(e.outputs);var a=i.hostBindings;a&&Ps(e,a);var s=i.viewQuery,u=i.contentQueries;if(s&&Ls(e,s),u&&Ns(e,u),fe(e.inputs,i.inputs),fe(e.declaredInputs,i.declaredInputs),fe(e.outputs,i.outputs),Rt(i)&&i.data.animation){var c=e.data;c.animation=(c.animation||[]).concat(i.data.animation)}o.afterContentChecked=o.afterContentChecked||i.afterContentChecked,o.afterContentInit=e.afterContentInit||i.afterContentInit,o.afterViewChecked=e.afterViewChecked||i.afterViewChecked,o.afterViewInit=e.afterViewInit||i.afterViewInit,o.doCheck=e.doCheck||i.doCheck,o.onDestroy=e.onDestroy||i.onDestroy,o.onInit=e.onInit||i.onInit}var l=i.features;if(l)for(var f=0;f=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Un(i.hostAttrs,n=Un(n,i.hostAttrs))}}(r)}function Us(e){return e===ht?{}:e===dt?[]:e}function Ls(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function Ns(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function Ps(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var Ms=function(){function e(t,n,r){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Bs(e){e.type.prototype.ngOnChanges&&(e.setInput=js,e.onChanges=function(){var e=Hs(this),t=e&&e.current;if(t){var n=e.previous;if(n===ht)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}})}function js(e,t,n,r){var i=Hs(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ht,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],u=a[s];o[s]=new Ms(u&&u.currentValue,t,a===ht),e[r]=t}function Hs(e){return e.__ngSimpleChanges__||null}function Gs(e,t,n,r,i){if(e=xe(e),Array.isArray(e))for(var o=0;o>16;if(pa(e)||!e.multi){var p=new Rn(c,i,La),v=zs(u,t,i?f:f+d,h);-1===v?(qn(Qn(l,s),a,u),Zs(a,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=65536),n.push(p),s.push(p)):(n[v]=p,s[v]=p)}else{var g=zs(u,t,f+d,h),m=zs(u,t,f,f+d),y=g>=0&&n[g],b=m>=0&&n[m];if(i&&!b||!i&&!y){qn(Qn(l,s),a,u);var _=function(e,t,n,r,i){var o=new Rn(e,n,La);return o.multi=[],o.index=t,o.componentProviders=0,Ws(o,i,r&&!n),o}(i?Qs:Xs,n.length,i,r,c);!i&&b&&(n[m].providerFactory=_),Zs(a,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=65536),n.push(_),s.push(_)}else Zs(a,e,g>-1?g:m,Ws(n[i?m:g],c,!i&&r));!i&&r&&b&&n[m].componentProviders++}}}function Zs(e,t,n,r){var i=pa(t);if(i||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[r,o]):a[s+1].push(r,o)}else a.push(n,o)}}}function Ws(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function zs(e,t,n,r){for(var i=n;i1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return function(e,t,n){var r=qt();if(r.firstCreatePass){var i=Rt(e);Gs(n,r.data,r.blueprint,i,!0),Gs(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}}Bs.ngInherit=!0;var Ks=function e(){_classCallCheck(this,e)},qs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(ke(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),$s=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new qs,e}(),eu=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return tu(e)},e}(),tu=function(e){return Yo(e,en(),Kt())},nu=function e(){_classCallCheck(this,e)},ru=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),iu=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return ou()},e}(),ou=function(){var e=Kt(),t=Ht(en().index,e);return function(e){var t=e[11];if(Ut(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(xt(t)?t:e)},au=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=he({token:e,providedIn:"root",factory:function(){return null}}),e}(),su=new function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}("9.1.13"),uu=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return xa(e)}},{key:"create",value:function(e){return new lu(e)}}]),e}(),cu=function(e,t){return t},lu=function(){function e(t){_classCallCheck(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||cu}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex0&&Zo(c,f,_.join(" "))}if(o=Bt(v,0),void 0!==t)for(var C=o.projection=[],k=0;kn.length&&n.push(u)}return{type:r,mainBinding:i,cases:t,values:n}}function Qu(e){for(var t,n,r="",i=0,o=!1;null!==(t=Hu.exec(e));)o?t[0]==="\ufffd/*".concat(n,"\ufffd")&&(i=t.index,o=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],o=!0);return r+=e.substr(i)}function Ju(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=[null,null],o=e.split(Zu),a=0,s=0;s1&&void 0!==arguments[1]?arguments[1]:0;n|=$u(e.mainBinding);for(var r=0;r>>17;a=rc(n,o,h===e?r[6]:Bt(n,h),a,r);break;case 0:var d=c>=0,p=(d?c:~c)>>>3;s.push(p),a=o,(o=Bt(n,p))&&tn(o,d);break;case 5:a=o=Bt(n,c>>>3),tn(o,!1);break;case 4:var v=t[++u],g=t[++u];no(Bt(n,c>>>3),r,v,g,null,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(c,'"'))}else switch(c){case wi:var m=t[++u],y=t[++u],b=i.createComment(m);a=o,o=oc(n,r,y,5,b,null),s.push(y),ti(b,r),o.activeCaseIndex=null,rn();break;case ki:var _=t[++u],C=t[++u];a=o,o=oc(n,r,C,3,i.createElement(_),_),s.push(C);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(c,'"'))}}return rn(),s}function sc(e,t,n,r){var i=Bt(e,n),o=Pt(n,t);o&&Po(t[11],o);var a=jt(t,n);if(Et(a)){var s=a;0!==i.type&&Po(t[11],s[7])}r&&(i.flags|=64)}function uc(e,t,n){var r;(function(e,t,n){var r=qt();Ku[++qu]=e,ns(!0),r.firstCreatePass&&null===r.data[e+20]&&function(e,t,n,r,i){var o=t.blueprint.length-20;ec=0;var a=en(),s=nn()?a:a&&a.parent,u=s&&s!==e[6]?s.index-20:n,c=0;tc[c]=u;var l=[];if(n>0&&a!==s){var f=a.index-20;nn()||(f=~f),l.push(f<<3|0)}var h,d=[],p=[];if(""===r&&ic(i))l.push(r,nc(o),u<<17|1);else for(var v=function(e,t){if(ic(t))return Qu(e);var n=e.indexOf(":".concat(t,"\ufffd"))+2+t.toString().length,r=e.search(new RegExp("\ufffd\\/\\*\\d+:".concat(t,"\ufffd")));return Qu(e.substring(n,r))}(r,i),g=(h=v,h.replace(yc," ")).split(Gu),m=0;m0&&function(e,t,n){if(n>0&&e.firstCreatePass){for(var r=0;r>1),a++}}(qt(),r),ns(!1)}function cc(e,t){!function(e,t,n,r){for(var i=en().index-20,o=[],a=0;a6&&void 0!==arguments[6]&&arguments[6],u=!1,c=0;c>>2,g=void 0,m=void 0;switch(3&p){case 1:var y=t[++d],b=t[++d];Wi(o,Bt(o,v),a,y,h,a[11],b,!1);break;case 0:bo(a,v,h);break;case 2:if(g=n[t[++d]],null!==(m=Bt(o,v)).activeCaseIndex)for(var _=g.remove[m.activeCaseIndex],C=0;C<_.length;C++){var k=_[C];switch(7&k){case 3:sc(o,a,k>>>3,!1);break;case 6:var w=Bt(o,_[C+1]>>>3).activeCaseIndex;null!==w&&nt(n[k>>>3].remove[w],_)}}var I=pc(g,h);m.activeCaseIndex=-1!==I?I:null,I>-1&&(ac(-1,g.create[I],o,a),u=!0);break;case 3:g=n[t[++d]],null!==(m=Bt(o,v)).activeCaseIndex&&e(g.update[m.activeCaseIndex],n,r,i,o,a,u)}}}c+=f}}(t,i,o,lc,n,a),lc=0,fc=0}}function pc(e,t){var n,r,i,o=e.cases.indexOf(t);if(-1===o)switch(e.type){case 1:var a=(n=t,r=Nu(bc)(parseInt(n,10)),void 0!==(i=Bu[r])?i:"other");-1===(o=e.cases.indexOf(a))&&"other"!==a&&(o=e.cases.indexOf("other"));break;case 0:o=e.cases.indexOf("other")}return o}function vc(e,t,n,r){for(var i=[],o=[],a=[],s=[],u=[],c=0;c null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&(bc=e.toLowerCase().replace(/_/g,"-"))}var Cc=new Map,kc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;_classCallCheck(this,n),(i=t.call(this))._parent=r,i._bootstrapComponents=[],i.injector=_assertThisInitialized(i),i.destroyCbs=[],i.componentFactoryResolver=new Au(_assertThisInitialized(i));var o=St(e),a=e[Pe]||null;return a&&_c(a),i._bootstrapComponents=Zn(o.bootstrap),i._r3Injector=ua(e,r,[{provide:et,useValue:_assertThisInitialized(i)},{provide:$s,useValue:i.componentFactoryResolver}],ke(e)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(e),i}return _createClass(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ga.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce.Default;return e===ga||e===et||e===He?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(et),wc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).moduleType=e,null!==St(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(ke(t)," vs ").concat(ke(t.name)))})(n,Cc.get(n),t),Cc.set(n,t)}var r=t.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(t){return e(t)}))}(e),r}return _createClass(n,[{key:"create",value:function(e){return new kc(this.moduleType,e)}}]),n}(tt);function Ic(e,t,n){var r=sn()+e,i=Kt();return i[r]===vi?Aa(i,r,n?t.call(n):t()):function(e,t){return e[t]}(i,r)}function Sc(e,t,n,r){return Ec(Kt(),sn(),e,t,n,r)}function xc(e,t){var n=e[t];return n===vi?void 0:n}function Ec(e,t,n,r,i,o){var a=t+n;return Ta(e,a,i)?Aa(e,a+1,o?r.call(o,i):r(i)):xc(e,a+1)}function Ac(e,t){var n,r=qt(),i=e+20;r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=It(n.type)),a=Qe(La),s=zn(!1),u=o();return zn(s),Qe(a),function(e,t,n,r){var i=n+20;i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=r}(r,Kt(),e,u),u}function Tc(e,t,n){var r=Kt(),i=jt(r,e);return Rc(r,Oc(r,e)?Ec(r,sn(),t,i.transform,n,i):i.transform(n))}function Oc(e,t){return e[1].data[t+20].pure}function Rc(e,t){return Sa.isWrapped(t)&&(t=Sa.unwrap(t),e[un()]=vi),t}var Vc=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=r,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,r){var i,o=function(e){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)},t&&(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),r&&(a=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var s=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,i,o,a);return e instanceof h&&e.add(s),s}}]),n}(A);function Fc(){return this._results[wa()]()}var Dc=function(){function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new Vc,this.length=0;var t=wa(),n=e.prototype;n[t]||(n[t]=Fc)}return _createClass(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],o=0;o3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.predicate=t,this.descendants=n,this.isStatic=r,this.read=i},Pc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,r=0;r0)i.push(s[u/2]);else{for(var l=a[u+1],f=n[-c],h=10;h0&&void 0!==arguments[0]?arguments[0]:ce.Default,t=$o(!0);if(null!=t||e&ce.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}var tl=new je("Application Initializer"),nl=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}return _createClass(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==i})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ye(wl))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e}(),Fl=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,Dl.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Dl.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e}(),Dl=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Ul=function(e,t,n){var r=e.get(_l,[]).concat(t),i=new wc(n);if(0===ya.size)return Promise.resolve(i);var o,a,s=(o=r.map((function(e){return e.providers})),a=[],o.forEach((function(e){return e&&a.push.apply(a,_toConsumableArray(e))})),a);if(0===s.length)return Promise.resolve(i);var u=function(){var e=Fe.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),c=ga.create({providers:s}).get(u.ResourceLoader);return function(e){var t=[],n=new Map;function r(e){var t=n.get(e);if(!t){var r=function(e){return Promise.resolve(c.get(e))}(e);n.set(e,t=r.then(_a))}return t}return ya.forEach((function(e,n){var i=[];e.templateUrl&&i.push(r(e.templateUrl).then((function(t){e.template=t})));var o=e.styleUrls,a=e.styles||(e.styles=[]),s=e.styles.length;o&&o.forEach((function(t,n){a.push(""),i.push(r(t).then((function(r){a[s+n]=r,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)})))}));var u=Promise.all(i).then((function(){return function(e){ba.delete(e)}(n)}));t.push(u)})),ya=new Map,Promise.all(t).then((function(){}))}().then((function(){return i}))},Ll=new je("AllowMultipleToken"),Nl=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function Pl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,i=new je(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Ml();if(!o||o.injector.get(Ll,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var a=n.concat(t).concat({provide:i,useValue:!0},{provide:na,useValue:"platform"});!function(e){if(Ol&&!Ol.destroyed&&!Ol.injector.get(Ll,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ol=e.get(Bl);var t=e.get(al,null);t&&t.forEach((function(e){return e()}))}(ga.create({providers:a,name:r}))}return function(e){var t=Ml();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Ml(){return Ol&&!Ol.destroyed?Ol:null}var Bl=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,i=this,o=(n=t?t.ngZone:void 0,r=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new Rl:("zone.js"===n?void 0:n)||new wl({enableLongStackTrace:Ir(),shouldCoalesceEventChangeDetection:r})),a=[{provide:wl,useValue:o}];return o.run((function(){var t=ga.create({providers:a,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(hr,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return Zl(i._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){r.handleError(e)}})})),function(e,t,r){try{var o=((a=n.injector.get(nl)).runInitializers(),a.donePromise.then((function(){return _c(n.injector.get(ll,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return Xa(o)?o.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):o}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var a}(r,o)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=jl({},n);return Ul(this.injector,r,e).then((function(e){return t.bootstrapModuleFactory(e,r)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(Gl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(ke(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ye(ga))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e}();function jl(e,t){return Array.isArray(t)?t.reduce(jl,e):Object.assign(Object.assign({},e),t)}var Hl,Gl=((Hl=function(){function e(t,n,r,i,o,a){var s=this;_classCallCheck(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ir(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var u=new k((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),c=new k((function(e){var t;s._zone.runOutsideAngular((function(){t=s._zone.onStable.subscribe((function(){wl.assertNotInAngularZone(),kl((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){wl.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=J(u,c.pipe((function(e){return Y()((t=ne,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ee);return r.source=e,r.subjectFactory=n,r})(e));var t})))}return _createClass(e,[{key:"bootstrap",value:function(e,t){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=e instanceof Ks?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(et),o=n.create(ga.NULL,[],t||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(Vl,null);return a&&o.injector.get(Fl).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Ir()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(o){n.e(o)}finally{n.f()}if(this._enforceNoNewChanges){var r,i=_createForOfIteratorHelper(this._views);try{for(i.s();!(r=i.n()).done;)r.value.checkNoChanges()}catch(o){i.e(o)}finally{i.f()}}}catch(a){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(a)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Zl(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ul,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),Zl(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||Hl)(Ye(wl),Ye(cl),Ye(ga),Ye(hr),Ye($s),Ye(nl))},Hl.\u0275prov=he({token:Hl,factory:Hl.\u0275fac}),Hl);function Zl(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Wl=function e(){_classCallCheck(this,e)},zl=function e(){_classCallCheck(this,e)},Xl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ql=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||Xl}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,r=_slicedToArray2(e.split("#"),2),i=r[0],o=r[1];return void 0===o&&(o="default"),n("zn8P")(i).then((function(e){return e[o]})).then((function(e){return Jl(e,i,o)})).then((function(e){return t._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var t=_slicedToArray2(e.split("#"),2),r=t[0],i=t[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("zn8P")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(e){return e[i+o]})).then((function(e){return Jl(e,r,i)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ye(bl),Ye(zl,8))},e.\u0275prov=he({token:e,factory:e.\u0275fac}),e}();function Jl(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Yl=Pl(null,"core",[{provide:sl,useValue:"unknown"},{provide:Bl,deps:[ga]},{provide:Fl,deps:[]},{provide:cl,deps:[]}]),Kl=[{provide:Gl,useClass:Gl,deps:[wl,cl,ga,hr,$s,nl]},{provide:Ou,deps:[wl],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:nl,useClass:nl,deps:[[new ae,tl]]},{provide:bl,useClass:bl,deps:[]},il,{provide:yu,useFactory:function(){return Cu},deps:[]},{provide:bu,useFactory:function(){return ku},deps:[]},{provide:ll,useFactory:function(e){return _c(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new oe(ll),new ae,new ue]]},{provide:fl,useValue:"USD"}],ql=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275mod=bt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(Ye(Gl))},providers:Kl}),e}(),$l={production:!0,api:"https://api.venko.training",host:"https://venko.training"},ef=null;function tf(){return ef}var nf,rf=new je("DocumentToken"),of=((nf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||nf)},nf.\u0275prov=he({factory:af,token:nf,providedIn:"platform"}),nf);function af(){return Ye(cf)}var sf,uf=new je("Location Initialized"),cf=((sf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r._init(),r}return _createClass(n,[{key:"_init",value:function(){this.location=tf().getLocation(),this._history=tf().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return tf().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){tf().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){tf().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"pushState",value:function(e,t,n){lf()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){lf()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(of)).\u0275fac=function(e){return new(e||sf)(Ye(rf))},sf.\u0275prov=he({factory:ff,token:sf,providedIn:"platform"}),sf);function lf(){return!!window.history.pushState}function ff(){return new cf(Ye(rf))}function hf(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function df(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function pf(e){return e&&"?"!==e[0]?"?"+e:e}var vf,gf=((vf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||vf)},vf.\u0275prov=he({factory:mf,token:vf,providedIn:"root"}),vf);function mf(e){var t=Ye(rf).location;return new kf(Ye(of),t&&t.origin||"")}var yf,bf,_f,Cf=new je("appBaseHref"),kf=((_f=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;if(_classCallCheck(this,n),(i=t.call(this))._platformLocation=e,null==r&&(r=i._platformLocation.getBaseHrefFromDOM()),null==r)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 i._baseHref=r,_possibleConstructorReturn(i)}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return hf(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+pf(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+pf(r));this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+pf(r));this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(gf)).\u0275fac=function(e){return new(e||_f)(Ye(of),Ye(Cf,8))},_f.\u0275prov=he({token:_f,factory:_f.\u0275fac}),_f),wf=((bf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._platformLocation=e,i._baseHref="",null!=r&&(i._baseHref=r),i}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=hf(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+pf(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+pf(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(gf)).\u0275fac=function(e){return new(e||bf)(Ye(of),Ye(Cf,8))},bf.\u0275prov=he({token:bf,factory:bf.\u0275fac}),bf),If=((yf=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new Vc,this._urlChangeListeners=[],this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=df(xf(i)),this._platformStrategy.onPopState((function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})}))}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+pf(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,xf(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+pf(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+pf(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}()).\u0275fac=function(e){return new(e||yf)(Ye(gf),Ye(of))},yf.normalizeQueryParams=pf,yf.joinWithSlash=hf,yf.stripTrailingSlash=df,yf.\u0275prov=he({factory:Sf,token:yf,providedIn:"root"}),yf);function Sf(){return new If(Ye(gf),Ye(of))}function xf(e){return e.replace(/\/index.html$/,"")}var Ef=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),Af=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),Tf=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),Of=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),Rf=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),Vf=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();function Ff(e,t,n){var r=Lu(e),i=Hf([r[Mu.DayPeriodsFormat],r[Mu.DayPeriodsStandalone]],t);return Hf(i,n)}function Df(e,t,n){var r=Lu(e),i=Hf([r[Mu.DaysFormat],r[Mu.DaysStandalone]],t);return Hf(i,n)}function Uf(e,t,n){var r=Lu(e),i=Hf([r[Mu.MonthsFormat],r[Mu.MonthsStandalone]],t);return Hf(i,n)}function Lf(e,t){return Hf(Lu(e)[Mu.DateFormat],t)}function Nf(e,t){return Hf(Lu(e)[Mu.TimeFormat],t)}function Pf(e,t){return Hf(Lu(e)[Mu.DateTimeFormat],t)}function Mf(e,t){var n=Lu(e),r=n[Mu.NumberSymbols][t];if(void 0===r){if(t===Vf.CurrencyDecimal)return n[Mu.NumberSymbols][Vf.Decimal];if(t===Vf.CurrencyGroup)return n[Mu.NumberSymbols][Vf.Group]}return r}var Bf=Nu;function jf(e){if(!e[Mu.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[Mu.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function Hf(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function Gf(e){var t=_slicedToArray2(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var Zf=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Wf={},zf=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Xf=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),Qf=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),Jf=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function Yf(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function Kf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));for(var a=String(e);a.length2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,a){var s,u=function(e,t){switch(e){case Qf.FullYear:return t.getFullYear();case Qf.Month:return t.getMonth();case Qf.Date:return t.getDate();case Qf.Hours:return t.getHours();case Qf.Minutes:return t.getMinutes();case Qf.Seconds:return t.getSeconds();case Qf.FractionalSeconds:return t.getMilliseconds();case Qf.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,o);if((n>0||u>-n)&&(u+=n),e===Qf.Hours)0===u&&-12===n&&(u=12);else if(e===Qf.FractionalSeconds)return s=t,Kf(u,3).substr(0,s);var c=Mf(a,Vf.MinusSign);return Kf(u,t,c,r,i)}}function $f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Tf.Format,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(i,o){return function(e,t,n,r,i,o){switch(n){case Jf.Months:return Uf(t,i,r)[e.getMonth()];case Jf.Days:return Df(t,i,r)[e.getDay()];case Jf.DayPeriods:var a=e.getHours(),s=e.getMinutes();if(o){var u,c=function(e){var t=Lu(e);return jf(t),(t[Mu.ExtraData][2]||[]).map((function(e){return"string"==typeof e?Gf(e):[Gf(e[0]),Gf(e[1])]}))}(t),l=function(e,t,n){var r=Lu(e);jf(r);var i=Hf([r[Mu.ExtraData][0],r[Mu.ExtraData][1]],t)||[];return Hf(i,n)||[]}(t,i,r);if(c.forEach((function(e,t){if(Array.isArray(e)){var n=e[0],r=n.hours,i=n.minutes,o=e[1],c=o.hours,f=o.minutes;a>=r&&s>=i&&(a0?Math.floor(i/60):Math.ceil(i/60);switch(e){case Xf.Short:return(i>=0?"+":"")+Kf(a,2,o)+Kf(Math.abs(i%60),2,o);case Xf.ShortGMT:return"GMT"+(i>=0?"+":"")+Kf(a,1,o);case Xf.Long:return"GMT"+(i>=0?"+":"")+Kf(a,2,o)+":"+Kf(Math.abs(i%60),2,o);case Xf.Extended:return 0===r?"Z":(i>=0?"+":"")+Kf(a,2,o)+":"+Kf(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function th(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r){var i,o,a,s;if(t){var u=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,c=n.getDate();i=1+Math.floor((c+u)/7)}else{var l=(o=n.getFullYear(),a=new Date(o,0,1).getDay(),new Date(o,0,1+(a<=4?4:11)-a)),f=(s=n,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))).getTime()-l.getTime();i=1+Math.round(f/6048e5)}return Kf(i,e,Mf(r,Vf.MinusSign))}}var nh={};function rh(e){return e instanceof Date&&!isNaN(e.valueOf())}var ih=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function oh(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var ah,sh=function e(){_classCallCheck(this,e)},uh=((ah=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).locale=e,r}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(Bf(t||this.locale)(e)){case Af.Zero:return"zero";case Af.One:return"one";case Af.Two:return"two";case Af.Few:return"few";case Af.Many:return"many";default:return"other"}}}]),n}(sh)).\u0275fac=function(e){return new(e||ah)(Ye(ll))},ah.\u0275prov=he({token:ah,factory:ah.\u0275fac}),ah);function ch(e,t){t=encodeURIComponent(t);var n,r=_createForOfIteratorHelper(e.split(";"));try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.indexOf("="),a=_slicedToArray2(-1==o?[i,""]:[i.slice(0,o),i.slice(o+1)],2),s=a[0],u=a[1];if(s.trim()===t)return decodeURIComponent(u)}}catch(c){r.e(c)}finally{r.f()}return null}var lh,fh,hh,dh=((lh=function(){function e(t,n,r,i){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=r,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+ke(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))}},{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(xa(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),e}()).\u0275fac=function(e){return new(e||lh)(La(yu),La(bu),La(eu),La(iu))},lh.\u0275dir=Ct({type:lh,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),lh),ph=function(){function e(t,n,r,i){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),vh=((fh=function(){function e(t,n,r){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new ph(null,t._ngForOf,-1,-1),null===i?void 0:i),a=new gh(e,o);n.push(a)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=t._viewContainer.get(r);t._viewContainer.move(s,i);var u=new gh(e,s);n.push(u)}}));for(var r=0;r6&&void 0!==arguments[6]&&arguments[6],s="",u=!1;if(isFinite(e)){var c=function(e){var t,n,r,i,o,a=Math.abs(e)+"",s=0;for((n=a.indexOf("."))>-1&&(a=a.replace(".","")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;"0"===a.charAt(r);r++);if(r===(o=a.length))t=[0],n=1;else{for(o--;"0"===a.charAt(o);)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=Number(a.charAt(r))}return n>22&&(t=t.splice(0,21),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}(e);a&&(c=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));var l=t.minInt,f=t.minFrac,h=t.maxFrac;if(o){var d=o.match(ih);if(null===d)throw new Error(o+" is not a valid digit info");var p=d[1],v=d[3],g=d[5];null!=p&&(l=oh(p)),null!=v&&(f=oh(v)),null!=g?h=oh(g):null!=v&&f>h&&(h=f)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction (".concat(t,") is higher than the maximum (").concat(n,")."));var r=e.digits,i=r.length-e.integerLen,o=Math.min(Math.max(t,i),n),a=o+e.integerLen,s=r[a];if(a>0){r.splice(Math.max(e.integerLen,a));for(var u=a;u=5)if(a-1<0){for(var l=0;l>a;l--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[a-1]++;for(;i=h?r.pop():f=!1),t>=10?1:0}),0);d&&(r.unshift(d),e.integerLen++)}(c,f,h);var m=c.digits,y=c.integerLen,b=c.exponent,_=[];for(u=m.every((function(e){return!e}));y0?_=m.splice(y,m.length):(_=m,m=[0]);var C=[];for(m.length>=t.lgSize&&C.unshift(m.splice(-t.lgSize,m.length).join(""));m.length>t.gSize;)C.unshift(m.splice(-t.gSize,m.length).join(""));m.length&&C.unshift(m.join("")),s=C.join(Mf(n,r)),_.length&&(s+=Mf(n,i)+_.join("")),b&&(s+=Mf(n,Vf.Exponential)+"+"+b)}else s=Mf(n,Vf.Infinity);return s=e<0&&!u?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}(e,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],o=r[1],a=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],s=a[0],u=a[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var c=0;c1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Fe.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Fe.getAllAngularRootElements=function(){return e.getAllRootElements()},Fe.frameworkStabilizers||(Fe.frameworkStabilizers=[]),Fe.frameworkStabilizers.push((function(e){var t=Fe.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?tf().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,Dl=t}}]),e}(),zh=new je("EventManagerPlugins"),Xh=((Th=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=r})),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r-1&&(t.splice(n,1),o+=e+".")})),o+=i,0!=t.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&pd.hasOwnProperty(t)&&(t=pd[t]))}return dd[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),hd.forEach((function(r){r!=n&&(0,vd[r])(e)&&(t+=r+".")})),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded((function(){return t(i)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(Qh)).\u0275fac=function(e){return new(e||od)(Ye(rf))},od.\u0275prov=he({token:od,factory:od.\u0275fac}),od),md=((id=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||id)},id.\u0275prov=he({factory:function(){return Ye(yd)},token:id,providedIn:"root"}),id),yd=((rd=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r}return _createClass(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case Qr.NONE:return t;case Qr.HTML:return _r(t,"HTML")?br(t):zr(this._doc,String(t));case Qr.STYLE:return _r(t,"Style")?br(t):function(e){if(!(e=String(e).trim()))return"";var t=e.match(Yr);return t&&Ar(t[1])===t[1]||e.match(Jr)&&function(e){for(var t=!0,n=!0,r=0;r0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i0&&void 0!==arguments[0]?arguments[0]:Gd;return function(t){return t.lift(new jd(e))}}var jd=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Hd(e,this.errorFactory))}}]),e}(),Hd=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).errorFactory=r,i.hasValue=!1,i}return _createClass(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(v);function Gd(){return new Id}function Zd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new Wd(e))}}var Wd=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new zd(e,this.defaultValue))}}]),e}(),zd=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).defaultValue=r,i.isEmpty=!0,i}return _createClass(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(v);function Xd(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Fd((function(t,n){return e(t,n,r)})):y,Nd(1),n?Zd(t):Bd((function(){return new Id})))}}function Qd(e){return function(t){var n=new Jd(e),r=t.lift(n);return n.caught=r}}var Jd=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Yd(e,this.selector,this.caught))}}]),e}(),Yd=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).selector=r,o.caught=i,o}return _createClass(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(o){return void _get(_getPrototypeOf(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var r=new R(this,void 0,void 0);this.add(r);var i=N(this,t,void 0,void 0,r);i!==r&&this.add(i)}}}]),n}(P);function Kd(e){return function(t){return 0===e?Od():t.lift(new qd(e))}}var qd=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new Ld}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new $d(e,this.total))}}]),e}(),$d=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).total=r,i.count=0,i}return _createClass(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(v);function ep(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Fd((function(t,n){return e(t,n,r)})):y,Kd(1),n?Zd(t):Bd((function(){return new Id})))}}var tp=function(){function e(t,n,r){_classCallCheck(this,e),this.predicate=t,this.thisArg=n,this.source=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new np(e,this.predicate,this.thisArg,this.source))}}]),e}(),np=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e)).predicate=r,a.thisArg=i,a.source=o,a.index=0,a.thisArg=i||_assertThisInitialized(a),a}return _createClass(n,[{key:"notifyComplete",value:function(e){this.destination.next(e),this.destination.complete()}},{key:"_next",value:function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(v);function rp(e,t){return"function"==typeof t?function(n){return n.pipe(rp((function(n,r){return G(e(n,r)).pipe(M((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new ip(e))}}var ip=function(){function e(t){_classCallCheck(this,e),this.project=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new op(e,this.project))}}]),e}(),op=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).project=r,i.index=0,i}return _createClass(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new R(this,t,n),o=this.destination;o.add(i),this.innerSubscription=N(this,e,void 0,void 0,i),this.innerSubscription!==i&&o.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_get(_getPrototypeOf(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}}]),n}(P);function ap(){return Vd()(kd.apply(void 0,arguments))}function sp(){for(var e=arguments.length,t=new Array(e),n=0;n=2&&(n=!0),function(r){return r.lift(new cp(e,t,n))}}var cp=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new lp(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),lp=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e)).accumulator=r,a._seed=i,a.hasSeed=o,a.index=0,a}return _createClass(n,[{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)}},{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}}]),n}(v);function fp(e,t){return Z(e,t,1)}function hp(){}function dp(e,t,n){return function(r){return r.lift(new vp(e,t,n))}}var pp,vp=function(){function e(t,n,r){_classCallCheck(this,e),this.nextOrObserver=t,this.error=n,this.complete=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new gp(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),gp=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,e))._tapNext=hp,s._tapError=hp,s._tapComplete=hp,s._tapError=o||hp,s._tapComplete=a||hp,r(i)?(s._context=_assertThisInitialized(s),s._tapNext=i):i&&(s._context=i,s._tapNext=i.next||hp,s._tapError=i.error||hp,s._tapComplete=i.complete||hp),s}return _createClass(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(v),mp=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new yp(e,this.callback))}}]),e}(),yp=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).add(new h(r)),i}return n}(v),bp=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},_p=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(i=t.call(this,e,r)).navigationTrigger=o,i.restoredState=a,i}return _createClass(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(bp),Cp=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).urlAfterRedirects=i,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(bp),kp=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).reason=i,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(bp),wp=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).error=i,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(bp),Ip=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(bp),Sp=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(bp),xp=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,e,r)).urlAfterRedirects=i,s.state=o,s.shouldActivate=a,s}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(bp),Ep=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(bp),Ap=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(bp),Tp=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),Op=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),Rp=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Vp=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Fp=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Dp=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Up=function(){function e(t,n,r){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=r}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),Lp=((pp=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||pp)},pp.\u0275cmp=vt({type:pp,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Ga(0,"router-outlet")},directives:function(){return[Xg]},encapsulation:2}),pp),Np=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return this.params.hasOwnProperty(e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Pp(e){return new Np(e)}function Mp(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Bp(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length1&&void 0!==arguments[1]?arguments[1]:"",n=0;n-1})):e===t}function Qp(e){return Array.prototype.concat.apply([],e)}function Jp(e){return e.length>0?e[e.length-1]:null}function Yp(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Kp(e){return Qa(e)?e:Xa(e)?G(Promise.resolve(e)):kd(e)}function qp(e,t,n){return n?function(e,t){return zp(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!nv(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return Xp(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!nv(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!nv(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!e(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!!nv(n.segments,a)&&!!n.children.primary&&t(n.children.primary,r,s)}(t,n,n.segments)}(e.root,t.root)}var $p=function(){function e(t,n,r){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=r}return _createClass(e,[{key:"toString",value:function(){return av.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Pp(this.queryParams)),this._queryParamMap}}]),e}(),ev=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,Yp(n,(function(e,t){return e.parent=r}))}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return sv(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),e}(),tv=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"toString",value:function(){return dv(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Pp(this.parameters)),this._parameterMap}}]),e}();function nv(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function rv(e,t){var n=[];return Yp(e.children,(function(e,r){"primary"===r&&(n=n.concat(t(e,r)))})),Yp(e.children,(function(e,r){"primary"!==r&&(n=n.concat(t(e,r)))})),n}var iv=function e(){_classCallCheck(this,e)},ov=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new yv(e);return new $p(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+function e(t,n){if(!t.hasChildren())return sv(t);if(n){var r=t.children.primary?e(t.children.primary,!1):"",i=[];return Yp(t.children,(function(t,n){"primary"!==n&&i.push("".concat(n,":").concat(e(t,!1)))})),i.length>0?"".concat(r,"(").concat(i.join("//"),")"):r}var o=rv(t,(function(n,r){return"primary"===r?[e(t.children.primary,!1)]:["".concat(r,":").concat(e(n,!1))]}));return"".concat(sv(t),"/(").concat(o.join("//"),")")}(e.root,!0)).concat((t=e.queryParams,n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return"".concat(cv(e),"=").concat(cv(t))})).join("&"):"".concat(cv(e),"=").concat(cv(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+function(e){return encodeURI(e)}(e.fragment):"");var t,n}}]),e}(),av=new ov;function sv(e){return e.segments.map((function(e){return dv(e)})).join("/")}function uv(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function cv(e){return uv(e).replace(/%3B/gi,";")}function lv(e){return uv(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fv(e){return decodeURIComponent(e)}function hv(e){return fv(e.replace(/\+/g,"%20"))}function dv(e){return"".concat(lv(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(lv(e),"=").concat(lv(t[e]))})).join("")));var t}var pv=/^[^\/()?;=#]+/;function vv(e){var t=e.match(pv);return t?t[0]:""}var gv=/^[^=?&#]+/,mv=/^[^?&#]+/,yv=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ev([],{}):new ev([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new ev(e,t)),n}},{key:"parseSegment",value:function(){var e=vv(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new tv(fv(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=vv(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=vv(this.remaining);r&&(n=r,this.capture(n))}e[fv(t)]=fv(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(gv);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(mv);return t?t[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var i=hv(t),o=hv(n);if(e.hasOwnProperty(i)){var a=e[i];Array.isArray(a)||(a=[a],e[i]=a),a.push(o)}else e[i]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=vv(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '".concat(this.url,"'"));var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i="primary");var o=this.parseChildren();t[i]=1===Object.keys(o).length?o.primary:new ev([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),bv=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=_v(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=_v(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Cv(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))}},{key:"pathFromRoot",value:function(e){return Cv(e,this._root).map((function(e){return e.value}))}},{key:"root",get:function(){return this._root.value}}]),e}();function _v(e,t){if(e===t.value)return t;var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var i=_v(e,n.value);if(i)return i}}catch(o){r.e(o)}finally{r.f()}return null}function Cv(e,t){if(e===t.value)return[t];var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var i=Cv(e,n.value);if(i.length)return i.unshift(t),i}}catch(o){r.e(o)}finally{r.f()}return[]}var kv=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function wv(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var Iv=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).snapshot=r,Ov(_assertThisInitialized(i),e),i}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(bv);function Sv(e,t){var n=function(e,t){var n=new Av([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Tv("",new kv(n,[]))}(e,t),r=new wd([new tv("",{})]),i=new wd({}),o=new wd({}),a=new wd({}),s=new wd(""),u=new xv(r,i,a,s,o,"primary",t,n.root);return u.snapshot=n.root,new Iv(new kv(u,[]),n)}var xv=function(){function e(t,n,r,i,o,a,s,u){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=u}return _createClass(e,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(M((function(e){return Pp(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(M((function(e){return Pp(e)})))),this._queryParamMap}}]),e}();function Ev(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(e){return e.reduce((function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var Av=function(){function e(t,n,r,i,o,a,s,u,c,l,f){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=u,this._urlSegment=c,this._lastPathIndex=l,this._resolve=f}return _createClass(e,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Pp(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Pp(this.queryParams)),this._queryParamMap}}]),e}(),Tv=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,r)).url=e,Ov(_assertThisInitialized(i),r),i}return _createClass(n,[{key:"toString",value:function(){return Rv(this._root)}}]),n}(bv);function Ov(e,t){t.value._routerState=e,t.children.forEach((function(t){return Ov(e,t)}))}function Rv(e){var t=e.children.length>0?" { ".concat(e.children.map(Rv).join(", ")," } "):"";return"".concat(e.value).concat(t)}function Vv(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,zp(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),zp(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&Dv(r[0]))throw new Error("Root segment cannot have matrix parameters");var i=r.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(i&&i!==Jp(r))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),Nv=function e(t,n,r){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=r};function Pv(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function Mv(e,t,n){if(e||(e=new ev([],{})),0===e.segments.length&&e.hasChildren())return Bv(e,t,n);var r=function(e,t,n){for(var r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var a=e.segments[i],s=Pv(n[r]),u=r0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!Zv(s,u,a))return o;r+=2}else{if(!Zv(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new ev([],{primary:e}):e;return new $p(r,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(M((function(e){return new ev([],e)}))):this.expandSegment(e,n,t,n.segments,r,!0)}},{key:"expandChildren",value:function(e,t,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return kd({});var o=[],a=[],s={};return Yp(n,(function(n,i){var u,c,l=(u=i,c=n,r.expandSegmentGroup(e,t,c,u)).pipe(M((function(e){return s[i]=e})));"primary"===i?o.push(l):a.push(l)})),kd.apply(null,o.concat(a)).pipe(Vd(),Xd(),M((function(){return s})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,r,i,o){var a=this;return kd.apply(void 0,_toConsumableArray(n)).pipe(M((function(s){return a.expandSegmentAgainstRoute(e,t,n,s,r,i,o).pipe(Qd((function(e){if(e instanceof Jv)return kd(null);throw e})))})),Vd(),ep((function(e){return!!e})),Qd((function(e,n){if(e instanceof Id||"EmptyError"===e.name){if(a.noLeftoversInUrl(t,r,i))return kd(new ev([],{}));throw new Jv(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,r,i,o,a){return ig(r)!==o?Kv(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):Kv(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?qv(o):this.lineralizeSegments(n,o).pipe(Z((function(n){var o=new ev(n,{});return i.expandSegment(e,o,t,n,r,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,o){var a=this,s=tg(t,r,i),u=s.matched,c=s.consumedSegments,l=s.lastChild,f=s.positionalParamSegments;if(!u)return Kv(t);var h=this.applyRedirectCommands(c,r.redirectTo,f);return r.redirectTo.startsWith("/")?qv(h):this.lineralizeSegments(r,h).pipe(Z((function(r){return a.expandSegment(e,t,n,r.concat(i.slice(l)),o,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(M((function(e){return n._loadedConfig=e,new ev(r,{})}))):kd(new ev(r,{}));var o=tg(t,n,r),a=o.matched,s=o.consumedSegments,u=o.lastChild;if(!a)return Kv(t);var c=r.slice(u);return this.getChildConfig(e,n,r).pipe(Z((function(e){var n=e.module,r=e.routes,o=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some((function(n){return rg(e,t,n)&&"primary"!==ig(n)}))}(e,n,r)?{segmentGroup:ng(new ev(t,function(e,t){var n={};n.primary=t;var r,i=_createForOfIteratorHelper(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;""===o.path&&"primary"!==ig(o)&&(n[ig(o)]=new ev([],{}))}}catch(a){i.e(a)}finally{i.f()}return n}(r,new ev(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return rg(e,t,n)}))}(e,n,r)?{segmentGroup:ng(new ev(e.segments,function(e,t,n,r){var i,o={},a=_createForOfIteratorHelper(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;rg(e,t,s)&&!r[ig(s)]&&(o[ig(s)]=new ev([],{}))}}catch(u){a.e(u)}finally{a.f()}return Object.assign(Object.assign({},r),o)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,c,r),a=o.segmentGroup,u=o.slicedSegments;return 0===u.length&&a.hasChildren()?i.expandChildren(n,r,a).pipe(M((function(e){return new ev(s,e)}))):0===r.length&&0===u.length?kd(new ev(s,{})):i.expandSegment(n,a,r,u,"primary",!0).pipe(M((function(e){return new ev(s.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var r=this;return t.children?kd(new jp(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?kd(t._loadedConfig):function(e,t,n){var r,i=t.canLoad;return i&&0!==i.length?G(i).pipe(M((function(r){var i,o=e.get(r);if(function(e){return e&&Xv(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!Xv(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return Kp(i)}))).pipe(Vd(),(r=function(e){return!0===e},function(e){return e.lift(new tp(r,void 0,e))})):kd(!0)}(e.injector,t,n).pipe(Z((function(n){return n?r.configLoader.load(e.injector,t).pipe(M((function(e){return t._loadedConfig=e,e}))):function(e){return new k((function(t){return t.error(Mp("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):kd(new jp([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return kd(n);if(r.numberOfChildren>1||!r.children.primary)return $v(e.redirectTo);r=r.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new $p(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Yp(e,(function(e,r){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[r]=t[i]}else n[r]=e})),n}},{key:"createSegmentGroup",value:function(e,t,n,r){var i=this,o=this.createSegments(e,t.segments,n,r),a={};return Yp(t.children,(function(t,o){a[o]=i.createSegmentGroup(e,t,n,r)})),new ev(o,a)}},{key:"createSegments",value:function(e,t,n,r){var i=this;return t.map((function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)}))}},{key:"findPosParam",value:function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return r}},{key:"findOrReturn",value:function(e,t){var n,r=0,i=_createForOfIteratorHelper(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(r),o;r++}}catch(a){i.e(a)}finally{i.f()}return e}}]),e}();function tg(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||Bp)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ng(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new ev(e.segments.concat(t.segments),t.children)}return e}function rg(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function ig(e){return e.outlet||"primary"}var og=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},ag=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function sg(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function ug(e,t,n){var r=wv(e),i=e.value;Yp(r,(function(e,r){ug(e,i.component?t?t.children.getContext(r):null:t,n)})),n.canDeactivateChecks.push(new ag(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var cg=Symbol("INITIAL_VALUE");function lg(){return rp((function(e){return xd.apply(void 0,_toConsumableArray(e.map((function(e){return e.pipe(Kd(1),sp(cg))})))).pipe(up((function(e,t){var n=!1;return t.reduce((function(e,r,i){if(e!==cg)return e;if(r===cg&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||Qv(r))return r}return e}),e)}),cg),Fd((function(e){return e!==cg})),M((function(e){return Qv(e)?e:!0===e})),Kd(1))}))}function fg(e,t){return null!==e&&t&&t(new Fp(e)),kd(!0)}function hg(e,t){return null!==e&&t&&t(new Rp(e)),kd(!0)}function dg(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?kd(r.map((function(r){return Rd((function(){var i,o=sg(r,t,n);if(function(e){return e&&Xv(e.canActivate)}(o))i=Kp(o.canActivate(t,e));else{if(!Xv(o))throw new Error("Invalid CanActivate guard");i=Kp(o(t,e))}return i.pipe(ep())}))}))).pipe(lg()):kd(!0)}function pg(e,t,n){var r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return Rd((function(){return kd(t.guards.map((function(i){var o,a=sg(i,t.node,n);if(function(e){return e&&Xv(e.canActivateChild)}(a))o=Kp(a.canActivateChild(r,e));else{if(!Xv(a))throw new Error("Invalid CanActivateChild guard");o=Kp(a(r,e))}return o.pipe(ep())}))).pipe(lg())}))}));return kd(i).pipe(lg())}var vg=function e(){_classCallCheck(this,e)},gg=function(){function e(t,n,r,i,o,a){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return _createClass(e,[{key:"recognize",value:function(){try{var e=bg(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new Av([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new kv(n,t),i=new Tv(this.url,r);return this.inheritParamsAndData(i._root),kd(i)}catch(o){return new k((function(e){return e.error(o)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,r=Ev(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){var n,r=this,i=rv(t,(function(t,n){return r.processSegmentGroup(e,t,n)}));return n={},i.forEach((function(e){var t=n[e.value.outlet];if(t){var r=t.url.map((function(e){return e.toString()})).join("/"),i=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(r,"' and '").concat(i,"'."))}n[e.value.outlet]=e.value})),i.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),i}},{key:"processSegment",value:function(e,t,n,r){var i,o=_createForOfIteratorHelper(e);try{for(o.s();!(i=o.n()).done;){var a=i.value;try{return this.processSegmentAgainstRoute(a,t,n,r)}catch(s){if(!(s instanceof vg))throw s}}}catch(u){o.e(u)}finally{o.f()}if(this.noLeftoversInUrl(t,n,r))return[];throw new vg}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"processSegmentAgainstRoute",value:function(e,t,n,r){if(e.redirectTo)throw new vg;if((e.outlet||"primary")!==r)throw new vg;var i,o=[],a=[];if("**"===e.path){var s=n.length>0?Jp(n).parameters:{};i=new Av(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,kg(e),r,e.component,e,mg(t),yg(t)+n.length,wg(e))}else{var u=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new vg;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||Bp)(n,e,t);if(!r)throw new vg;var i={};Yp(r.posParams,(function(e,t){i[t]=e.path}));var o=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(t,e,n);o=u.consumedSegments,a=n.slice(u.lastChild),i=new Av(o,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,kg(e),r,e.component,e,mg(t),yg(t)+o.length,wg(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),l=bg(t,o,a,c,this.relativeLinkResolution),f=l.segmentGroup,h=l.slicedSegments;if(0===h.length&&f.hasChildren()){var d=this.processChildren(c,f);return[new kv(i,d)]}if(0===c.length&&0===h.length)return[new kv(i,[])];var p=this.processSegment(c,f,h,"primary");return[new kv(i,p)]}}]),e}();function mg(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function yg(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function bg(e,t,n,r,i){if(n.length>0&&function(e,t,n){return n.some((function(n){return _g(e,t,n)&&"primary"!==Cg(n)}))}(e,n,r)){var o=new ev(t,function(e,t,n,r){var i={};i.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;var o,a=_createForOfIteratorHelper(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&"primary"!==Cg(s)){var u=new ev([],{});u._sourceSegment=e,u._segmentIndexShift=t.length,i[Cg(s)]=u}}}catch(c){a.e(c)}finally{a.f()}return i}(e,t,r,new ev(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return _g(e,t,n)}))}(e,n,r)){var a=new ev(e.segments,function(e,t,n,r,i,o){var a,s={},u=_createForOfIteratorHelper(r);try{for(u.s();!(a=u.n()).done;){var c=a.value;if(_g(e,n,c)&&!i[Cg(c)]){var l=new ev([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Cg(c)]=l}}}catch(f){u.e(f)}finally{u.f()}return Object.assign(Object.assign({},i),s)}(e,t,n,r,e.children,i));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new ev(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function _g(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Cg(e){return e.outlet||"primary"}function kg(e){return e.data||{}}function wg(e){return e.resolve||{}}function Ig(e,t,n,r){var i=sg(e,t,r);return Kp(i.resolve?i.resolve(t,n):i(t,n))}function Sg(e){return function(t){return t.pipe(rp((function(t){var n=e(t);return n?G(n).pipe(M((function(){return t}))):G([t])})))}}var xg=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}(),Eg=new je("ROUTES"),Ag=function(){function e(t,n,r,i){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}return _createClass(e,[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(M((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new jp(Qp(i.injector.get(Eg)).map(Wp),i)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?G(this.loader.load(e)):Kp(e()).pipe(Z((function(e){return e instanceof tt?kd(e):G(t.compiler.compileModuleAsync(e))})))}}]),e}(),Tg=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Og(e){throw e}function Rg(e,t,n){return t.parse("/")}function Vg(e,t){return kd(null)}var Fg,Dg,Ug,Lg=((Ug=function(){function e(t,n,r,i,o,a,s,u){var c=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=r,this.location=i,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new A,this.errorHandler=Og,this.malformedUriErrorHandler=Rg,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Vg,afterPreactivation:Vg},this.urlHandlingStrategy=new Tg,this.routeReuseStrategy=new xg,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(et),this.console=o.get(cl);var l=o.get(wl);this.isNgZoneEnabled=l instanceof wl,this.resetConfig(u),this.currentUrlTree=new $p(new ev([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ag(a,s,(function(e){return c.triggerEvent(new Tp(e))}),(function(e){return c.triggerEvent(new Op(e))})),this.routerState=Sv(this.currentUrlTree,this.rootComponentType),this.transitions=new wd({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(Fd((function(e){return 0!==e.id})),M((function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),rp((function(e){var r,i,o,a,s=!1,u=!1;return kd(e).pipe(dp((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),rp((function(e){var r,i,o,a,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return kd(e).pipe(rp((function(e){var r=t.transitions.getValue();return n.next(new _p(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?Td:[e]})),rp((function(e){return Promise.resolve(e)})),(r=t.ngModule.injector,i=t.configLoader,o=t.urlSerializer,a=t.config,function(e){return e.pipe(rp((function(e){return function(e,t,n,r,i){return new eg(e,t,n,r,i).apply()}(r,i,o,e.extractedUrl,a).pipe(M((function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})})))})))}),dp((function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,r,i,o){return function(r){return r.pipe(Z((function(r){return function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new gg(e,t,n,r,i,o).recognize()}(e,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,t.serializeUrl(a)),i,o).pipe(M((function(e){return Object.assign(Object.assign({},r),{targetSnapshot:e})})));var a})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),dp((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),dp((function(e){var r=new Ip(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)})));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.id,c=e.extractedUrl,l=e.source,f=e.restoredState,h=e.extras,d=new _p(u,t.serializeUrl(c),l,f);n.next(d);var p=Sv(c,t.rootComponentType).snapshot;return kd(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:c,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Td})),Sg((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})})),dp((function(e){var n=new Sp(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),M((function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,r=e.currentSnapshot,i=t.rootContexts,o=n._root,function e(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=wv(n);return t.children.forEach((function(t){!function(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=t.value,s=n?n.value:null,u=r?r.getContext(t.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!nv(e.url,t.url);case"pathParamsOrQueryParamsChange":return!nv(e.url,t.url)||!zp(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Fv(e,t)||!zp(e.queryParams,t.queryParams);case"paramsChange":default:return!Fv(e,t)}}(s,a,a.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new og(i)):(a.data=s.data,a._resolvedData=s._resolvedData),e(t,n,a.component?u?u.children:null:r,i,o),c&&o.canDeactivateChecks.push(new ag(u&&u.outlet&&u.outlet.component||null,s))}else s&&ug(n,u,o),o.canActivateChecks.push(new og(i)),e(t,null,a.component?u?u.children:null:r,i,o)}(t,a[t.value.outlet],r,i.concat([t.value]),o),delete a[t.value.outlet]})),Yp(a,(function(e,t){return ug(e,r.getContext(t),o)})),o}(o,r?r._root:null,i,[o.value]))});var n,r,i,o})),function(e,t){return function(n){return n.pipe(Z((function(n){var r=n.targetSnapshot,i=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,s=o.canDeactivateChecks;return 0===s.length&&0===a.length?kd(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return G(e).pipe(Z((function(e){return function(e,t,n,r,i){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?kd(o.map((function(o){var a,s=sg(o,t,i);if(function(e){return e&&Xv(e.canDeactivate)}(s))a=Kp(s.canDeactivate(e,t,n,r));else{if(!Xv(s))throw new Error("Invalid CanDeactivate guard");a=Kp(s(e,t,n,r))}return a.pipe(ep())}))).pipe(lg()):kd(!0)}(e.component,e.route,n,t,r)})),ep((function(e){return!0!==e}),!0))}(s,r,i,e).pipe(Z((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return G(t).pipe(fp((function(t){return G([hg(t.route.parent,r),fg(t.route,r),pg(e,t.path,n),dg(e,t.route,n)]).pipe(Vd(),ep((function(e){return!0!==e}),!0))})),ep((function(e){return!0!==e}),!0))}(r,a,e,t):kd(n)})),M((function(e){return Object.assign(Object.assign({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),dp((function(e){if(Qv(e.guardsResult)){var n=Mp('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),dp((function(e){var n=new xp(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),Fd((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new kp(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),Sg((function(e){if(e.guards.canActivateChecks.length)return kd(e).pipe(dp((function(e){var n=new Ep(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(Z((function(e){var t=e.targetSnapshot,i=e.guards.canActivateChecks;return i.length?G(i).pipe(fp((function(e){return function(e,t,n,r){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return kd({});if(1===i.length){var o=i[0];return Ig(e[o],t,n,r).pipe(M((function(e){return _defineProperty2({},o,e)})))}var a={};return G(i).pipe(Z((function(i){return Ig(e[i],t,n,r).pipe(M((function(e){return a[i]=e,e})))}))).pipe(Xd(),M((function(){return a})))}(e._resolve,e,t,r).pipe(M((function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Ev(e,n).resolve),null})))}(e.route,t,n,r)})),function(e,t){return arguments.length>=2?function(n){return b(up(e,t),Nd(1),Zd(t))(n)}:function(t){return b(up((function(t,n,r){return e(t,n,r+1)})),Nd(1))(t)}}((function(e,t){return e})),M((function(t){return e}))):kd(e)})))}),dp((function(e){var n=new Ap(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,r})),Sg((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,u=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!u})})),M((function(e){var n=function(e,t,n){var r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){var i=r.value;i._futureSnapshot=n.value;var o=function(t,n,r){return n.children.map((function(n){var i,o=_createForOfIteratorHelper(r.children);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(t.shouldReuseRoute(a.value.snapshot,n.value))return e(t,n,a)}}catch(s){o.e(s)}finally{o.f()}return e(t,n)}))}(t,n,r);return new kv(i,o)}var a=t.retrieve(n.value);if(a){var s=a.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,r=t.queryParams,i=t.fragment,o=t.preserveQueryParams,a=t.queryParamsHandling,s=t.preserveFragment;Ir()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,c=s?this.currentUrlTree.fragment:i,l=null;if(a)switch(a){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=r||null}else l=o?this.currentUrlTree.queryParams:r||null;return null!==l&&(l=this.removeEmptyProps(l)),function(e,t,n,r,i){if(0===n.length)return Uv(t.root,t.root,t,r,i);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Lv(!0,0,e);var t=0,n=!1,r=e.reduce((function(e,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return Yp(r.outlets,(function(e,t){o[t]="string"==typeof e?e.split("/"):e})),[].concat(_toConsumableArray(e),[{outlets:o}])}if(r.segmentPath)return[].concat(_toConsumableArray(e),[r.segmentPath])}return"string"!=typeof r?[].concat(_toConsumableArray(e),[r]):0===i?(r.split("/").forEach((function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))})),e):[].concat(_toConsumableArray(e),[r])}),[]);return new Lv(n,t,r)}(n);if(o.toRoot())return Uv(t.root,new ev([],{}),t,r,i);var a=function(e,t,n){if(e.isAbsolute)return new Nv(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new Nv(n.snapshot._urlSegment,!0,0);var r=Dv(e.commands[0])?0:1;return function(e,t,n){for(var r=e,i=t,o=n;o>i;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new Nv(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?Bv(a.segmentGroup,a.index,o.commands):Mv(a.segmentGroup,a.index,o.commands);return Uv(a.segmentGroup,s,t,r,i)}(u,this.currentUrlTree,e,l,c)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Ir()&&this.isNgZoneEnabled&&!wl.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Qv(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof _p?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Cp&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof Up&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new Up(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){Pa()},Hg.\u0275dir=Ct({type:Hg}),Hg),$g=new je("ROUTER_CONFIGURATION"),em=new je("ROUTER_FORROOT_GUARD"),tm=[If,{provide:iv,useClass:ov},{provide:Lg,useFactory:function(e,t,n,r,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,l=new Lg(null,e,t,n,r,i,o,Qp(a));if(u&&(l.urlHandlingStrategy=u),c&&(l.routeReuseStrategy=c),s.errorHandler&&(l.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(l.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var f=tf();l.events.subscribe((function(e){f.logGroup("Router Event: "+e.constructor.name),f.log(e.toString()),f.log(e),f.logGroupEnd()}))}return s.onSameUrlNavigation&&(l.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(l.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(l.relativeLinkResolution=s.relativeLinkResolution),l},deps:[iv,zg,If,ga,Wl,bl,Eg,$g,[function(){return function e(){_classCallCheck(this,e)}}(),new ae],[function(){return function e(){_classCallCheck(this,e)}}(),new ae]]},zg,{provide:xv,useFactory:function(e){return e.routerState.root},deps:[Lg]},{provide:Wl,useClass:Ql},Kg,Yg,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(Qd((function(){return kd(null)})))}}]),e}(),{provide:$g,useValue:{enableTracing:!1}}];function nm(){return new Nl("Router",Lg)}var rm,im=((rm=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[tm,um(t),{provide:em,useFactory:sm,deps:[[Lg,new ae,new ue]]},{provide:$g,useValue:n||{}},{provide:gf,useFactory:am,deps:[of,[new oe(Cf),new ae],$g]},{provide:qg,useFactory:om,deps:[Lg,Mh,$g]},{provide:Jg,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Yg},{provide:Nl,multi:!0,useFactory:nm},[lm,{provide:tl,multi:!0,useFactory:fm,deps:[lm]},{provide:dm,useFactory:hm,deps:[lm]},{provide:ul,multi:!0,useExisting:dm}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[um(t)]}}}]),e}()).\u0275mod=bt({type:rm}),rm.\u0275inj=de({factory:function(e){return new(e||rm)(Ye(em,8),Ye(Lg,8))}}),rm);function om(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new qg(e,t,n)}function am(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new wf(e,t):new kf(e,t)}function sm(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function um(e){return[{provide:ma,multi:!0,useValue:e},{provide:Eg,multi:!0,useValue:e}]}var cm,lm=((cm=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new A}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(uf,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),r=e.injector.get(Lg),i=e.injector.get($g);if(e.isLegacyDisabled(i)||e.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(i.initialNavigation,"'"));r.hooks.afterPreactivation=function(){return e.initNavigation?kd(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get($g),n=this.injector.get(Kg),r=this.injector.get(qg),i=this.injector.get(Lg),o=this.injector.get(Gl);e===o.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}]),e}()).\u0275fac=function(e){return new(e||cm)(Ye(ga))},cm.\u0275prov=he({token:cm,factory:cm.\u0275fac}),cm);function fm(e){return e.appInitializer.bind(e)}function hm(e){return e.bootstrapListener.bind(e)}var dm=new je("Router Initializer"),pm=function(e,t){return(pm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function vm(e,t){function n(){this.constructor=e}pm(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var gm=function(){return(gm=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0?Sy:Iy)(e)},Ey=Math.min,Ay=function(e){return e>0?Ey(xy(e),9007199254740991):0},Ty=Math.max,Oy=Math.min,Ry=function(e){return function(t,n,r){var i,o=Lm(t),a=Ay(o.length),s=function(e,t){var n=xy(e);return n<0?Ty(n+t,0):Oy(n,t)}(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Vy={includes:Ry(!0),indexOf:Ry(!1)},Fy=Vy.indexOf,Dy=function(e,t){var n,r=Lm(e),i=0,o=[];for(n in r)!Bm(hy,n)&&Bm(r,n)&&o.push(n);for(;t.length>i;)Bm(r,n=t[i++])&&(~Fy(o,n)||o.push(n));return o},Uy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ly=Uy.concat("length","prototype"),Ny={f:Object.getOwnPropertyNames||function(e){return Dy(e,Ly)}},Py={f:Object.getOwnPropertySymbols},My=wy("Reflect","ownKeys")||function(e){var t=Ny.f(Xm(e)),n=Py.f;return n?t.concat(n(e)):t},By=function(e,t){for(var n=My(t),r=Jm.f,i=zm.f,o=0;o1?arguments[1]:void 0,t.length)),r=String(e);return sb?sb.call(t,r,n):t.slice(n,n+r.length)===r}});var fb,hb,db=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},pb=function(e,t,n){if(db(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},vb=Function.call,gb=function(e,t,n){return pb(vb,Im[e].prototype[t],n)},mb=(gb("String","startsWith"),Array.isArray||function(e){return"Array"==Vm(e)}),yb=function(e){return Object(Um(e))},bb=function(e,t,n){var r=Pm(t);r in e?Jm.f(e,r,Om(0,n)):e[r]=n},_b=tb("species"),Cb=function(e,t){var n;return mb(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!mb(n.prototype)?Nm(n)&&null===(n=n[_b])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},kb=wy("navigator","userAgent")||"",wb=Im.process,Ib=wb&&wb.versions,Sb=Ib&&Ib.v8;Sb?hb=(fb=Sb.split("."))[0]+fb[1]:kb&&(!(fb=kb.match(/Edge\/(\d+)/))||fb[1]>=74)&&(fb=kb.match(/Chrome\/(\d+)/))&&(hb=fb[1]);var xb=hb&&+hb,Eb=tb("species"),Ab=tb("isConcatSpreadable"),Tb=xb>=51||!Sm((function(){var e=[];return e[Ab]=!1,e.concat()[0]!==e})),Ob=xb>=51||!Sm((function(){var e=[];return(e.constructor={})[Eb]=function(){return{foo:1}},1!==e.concat(Boolean).foo})),Rb=function(e){if(!Nm(e))return!1;var t=e[Ab];return void 0!==t?!!t:mb(e)};Jy({target:"Array",proto:!0,forced:!Tb||!Ob},{concat:function(e){var t,n,r,i,o,a=yb(this),s=Cb(a,0),u=0;for(t=-1,r=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");bb(s,u++,o)}return s.length=u,s}});var Vb={};Vb[tb("toStringTag")]="z";var Fb="[object z]"===String(Vb),Db=tb("toStringTag"),Ub="Arguments"==Vm(function(){return arguments}()),Lb=Fb?Vm:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Db))?n:Ub?Vm(t):"Object"==(r=Vm(t))&&"function"==typeof t.callee?"Arguments":r};Fb||_y(Object.prototype,"toString",Fb?{}.toString:function(){return"[object "+Lb(this)+"]"},{unsafe:!0});var Nb,Pb=Object.keys||function(e){return Dy(e,Uy)},Mb=xm?Object.defineProperties:function(e,t){Xm(e);for(var n,r=Pb(t),i=r.length,o=0;i>o;)Jm.f(e,n=r[o++],t[n]);return e},Bb=wy("document","documentElement"),jb=fy("IE_PROTO"),Hb=function(){},Gb=function(e){return"