text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},"6foH":function(t,e,n){var r,i;void 0===(i="function"==typeof(r=function(){"use strict";function t(t){return null!=t}function e(t){t.preventDefault()}function n(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}function r(t,e,n){n>0&&(a(t,e),setTimeout((function(){u(t,e)}),n))}function i(t){return Math.max(Math.min(t,100),0)}function o(t){return Array.isArray(t)?t:[t]}function s(t){var e=(t=String(t)).split(".");return e.length>1?e[1].length:0}function a(t,e){t.classList?t.classList.add(e):t.className+=" "+e}function u(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")}function l(t){var e=void 0!==window.pageXOffset,n="CSS1Compat"===(t.compatMode||"");return{x:e?window.pageXOffset:n?t.documentElement.scrollLeft:t.body.scrollLeft,y:e?window.pageYOffset:n?t.documentElement.scrollTop:t.body.scrollTop}}function c(t,e){return 100/(e-t)}function h(t,e){return 100*e/(t[1]-t[0])}function f(t,e){for(var n=1;t>=e[n];)n+=1;return n}function p(t,e,r){var i;if("number"==typeof e&&(e=[e]),!Array.isArray(e))throw new Error("noUiSlider (11.1.0): 'range' contains invalid value.");if(!n(i="min"===t?0:"max"===t?100:parseFloat(t))||!n(e[0]))throw new Error("noUiSlider (11.1.0): 'range' value isn't numeric.");r.xPct.push(i),r.xVal.push(e[0]),i?r.xSteps.push(!isNaN(e[1])&&e[1]):isNaN(e[1])||(r.xSteps[0]=e[1]),r.xHighestCompleteStep.push(0)}function d(t,e,n){if(!e)return!0;n.xSteps[t]=h([n.xVal[t],n.xVal[t+1]],e)/c(n.xPct[t],n.xPct[t+1]);var r=Math.ceil(Number(((n.xVal[t+1]-n.xVal[t])/n.xNumSteps[t]).toFixed(3))-1);n.xHighestCompleteStep[t]=n.xVal[t]+n.xNumSteps[t]*r}function m(t,e,n){var r;this.xPct=[],this.xVal=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.xHighestCompleteStep=[],this.snap=e;var i=[];for(r in t)t.hasOwnProperty(r)&&i.push([t[r],r]);for(i.sort(i.length&&"object"==typeof i[0][0]?function(t,e){return t[0][0]-e[0][0]}:function(t,e){return t[0]-e[0]}),r=0;r<i.length;r++)p(i[r][1],i[r][0],this);for(this.xNumSteps=this.xSteps.slice(0),r=0;r<this.xNumSteps.length;r++)d(r,this.xNumSteps[r],this)}m.prototype.getMargin=function(t){var e=this.xNumSteps[0];if(e&&t/e%1!=0)throw new Error("noUiSlider (11.1.0): 'limit', 'margin' and 'padding' must be divisible by step.");return 2===this.xPct.length&&h(this.xVal,t)},m.prototype.toStepping=function(t){return function(t,e,n){if(n>=t.slice(-1)[0])return 100;var r=f(n,t),i=e[r-1],o=e[r];return i+function(t,e){return h(t,t[0]<0?e+Math.abs(t[0]):e-t[0])}([t[r-1],t[r]],n)/c(i,o)}(this.xVal,this.xPct,t)},m.prototype.fromStepping=function(t){return function(t,e,n){if(n>=100)return t.slice(-1)[0];var r=f(n,e),i=e[r-1];return function(t,e){return e*(t[1]-t[0])/100+t[0]}([t[r-1],t[r]],(n-i)*c(i,e[r]))}(this.xVal,this.xPct,t)},m.prototype.getStep=function(t){return function(t,e,n,r){if(100===r)return r;var i=f(r,t),o=t[i-1],s=t[i];return n?r-o>(s-o)/2?s:o:e[i-1]?t[i-1]+function(t,e){return Math.round(t/e)*e}(r-t[i-1],e[i-1]):r}(this.xPct,this.xSteps,this.snap,t)},m.prototype.getNearbySteps=function(t){var e=f(t,this.xPct);return{stepBefore:{startValue:this.xVal[e-2],step:this.xNumSteps[e-2],highestStep:this.xHighestCompleteStep[e-2]},thisStep:{startValue:this.xVal[e-1],step:this.xNumSteps[e-1],highestStep:this.xHighestCompleteStep[e-1]},stepAfter:{startValue:this.xVal[e-0],step:this.xNumSteps[e-0],highestStep:this.xHighestCompleteStep[e-0]}}},m.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(s);return Math.max.apply(null,t)},m.prototype.convert=function(t){return this.getStep(this.toStepping(t))};var y={to:function(t){return void 0!==t&&t.toFixed(2)},from:Number};function g(t){if(function(t){return"object"==typeof t&&"function"==typeof t.to&&"function"==typeof t.from}(t))return!0;throw new Error("noUiSlider (11.1.0): 'format' requires 'to' and 'from' methods.")}function v(t,e){if(!n(e))throw new Error("noUiSlider (11.1.0): 'step' is not numeric.");t.singleStep=e}function _(t,e){if("object"!=typeof e||Array.isArray(e))throw new Error("noUiSlider (11.1.0): 'range' is not an object.");if(void 0===e.min||void 0===e.max)throw new Error("noUiSlider (11.1.0): Missing 'min' or 'max' in 'range'.");if(e.min===e.max)throw new Error("noUiSlider (11.1.0): 'range' 'min' and 'max' cannot be equal.");t.spectrum=new m(e,t.snap,t.singleStep)}function b(t,e){if(e=o(e),!Array.isArray(e)||!e.length)throw new Error("noUiSlider (11.1.0): 'start' option is incorrect.");t.handles=e.length,t.start=e}function w(t,e){if(t.snap=e,"boolean"!=typeof e)throw new Error("noUiSlider (11.1.0): 'snap' option must be a boolean.")}function S(t,e){if(t.animate=e,"boolean"!=typeof e)throw new Error("noUiSlider (11.1.0): 'animate' option must be a boolean.")}function C(t,e){if(t.animationDuration=e,"number"!=typeof e)throw new Error("noUiSlider (11.1.0): 'animationDuration' option must be a number.")}function k(t,e){var n,r=[!1];if("lower"===e?e=[!0,!1]:"upper"===e&&(e=[!1,!0]),!0===e||!1===e){for(n=1;n<t.handles;n++)r.push(e);r.push(!1)}else{if(!Array.isArray(e)||!e.length||e.length!==t.handles+1)throw new Error("noUiSlider (11.1.0): 'connect' option doesn't match handle count.");r=e}t.connect=r}function E(t,e){switch(e){case"horizontal":t.ort=0;break;case"vertical":t.ort=1;break;default:throw new Error("noUiSlider (11.1.0): 'orientation' option is invalid.")}}function x(t,e){if(!n(e))throw new Error("noUiSlider (11.1.0): 'margin' option must be numeric.");if(0!==e&&(t.margin=t.spectrum.getMargin(e),!t.margin))throw new Error("noUiSlider (11.1.0): 'margin' option is only supported on linear sliders.")}function T(t,e){if(!n(e))throw new Error("noUiSlider (11.1.0): 'limit' option must be numeric.");if(t.limit=t.spectrum.getMargin(e),!t.limit||t.handles<2)throw new Error("noUiSlider (11.1.0): 'limit' option is only supported on linear sliders with 2 or more handles.")}function D(t,e){if(!n(e)&&!Array.isArray(e))throw new Error("noUiSlider (11.1.0): 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(e)&&2!==e.length&&!n(e[0])&&!n(e[1]))throw new Error("noUiSlider (11.1.0): 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==e){if(Array.isArray(e)||(e=[e,e]),t.padding=[t.spectrum.getMargin(e[0]),t.spectrum.getMargin(e[1])],!1===t.padding[0]||!1===t.padding[1])throw new Error("noUiSlider (11.1.0): 'padding' option is only supported on linear sliders.");if(t.padding[0]<0||t.padding[1]<0)throw new Error("noUiSlider (11.1.0): 'padding' option must be a positive number(s).");if(t.padding[0]+t.padding[1]>=100)throw new Error("noUiSlider (11.1.0): 'padding' option must not exceed 100% of the range.")}}function O(t,e){switch(e){case"ltr":t.dir=0;break;case"rtl":t.dir=1;break;default:throw new Error("noUiSlider (11.1.0): 'direction' option was not recognized.")}}function P(t,e){if("string"!=typeof e)throw new Error("noUiSlider (11.1.0): 'behaviour' must be a string containing options.");var n=e.indexOf("tap")>=0,r=e.indexOf("drag")>=0,i=e.indexOf("fixed")>=0,o=e.indexOf("snap")>=0,s=e.indexOf("hover")>=0;if(i){if(2!==t.handles)throw new Error("noUiSlider (11.1.0): 'fixed' behaviour must be used with 2 handles");x(t,t.start[1]-t.start[0])}t.events={tap:n||o,drag:r,fixed:i,snap:o,hover:s}}function A(t,e){if(!1!==e)if(!0===e){t.tooltips=[];for(var n=0;n<t.handles;n++)t.tooltips.push(!0)}else{if(t.tooltips=o(e),t.tooltips.length!==t.handles)throw new Error("noUiSlider (11.1.0): must pass a formatter for all handles.");t.tooltips.forEach((function(t){if("boolean"!=typeof t&&("object"!=typeof t||"function"!=typeof t.to))throw new Error("noUiSlider (11.1.0): 'tooltips' must be passed a formatter or 'false'.")}))}}function M(t,e){t.ariaFormat=e,g(e)}function I(t,e){t.format=e,g(e)}function R(t,e){if("string"!=typeof e&&!1!==e)throw new Error("noUiSlider (11.1.0): 'cssPrefix' must be a string or `false`.");t.cssPrefix=e}function N(t,e){if("object"!=typeof e)throw new Error("noUiSlider (11.1.0): 'cssClasses' must be an object.");if("string"==typeof t.cssPrefix)for(var n in t.cssClasses={},e)e.hasOwnProperty(n)&&(t.cssClasses[n]=t.cssPrefix+e[n]);else t.cssClasses=e}function j(e){var n={margin:0,limit:0,padding:0,animate:!0,animationDuration:300,ariaFormat:y,format:y},r={step:{r:!1,t:v},start:{r:!0,t:b},connect:{r:!0,t:k},direction:{r:!0,t:O},snap:{r:!1,t:w},animate:{r:!1,t:S},animationDuration:{r:!1,t:C},range:{r:!0,t:_},orientation:{r:!1,t:E},margin:{r:!1,t:x},limit:{r:!1,t:T},padding:{r:!1,t:D},behaviour:{r:!0,t:P},ariaFormat:{r:!1,t:M},format:{r:!1,t:I},tooltips:{r:!1,t:A},cssPrefix:{r:!0,t:R},cssClasses:{r:!0,t:N}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",cssPrefix:"noUi-",cssClasses:{target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"}};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(r).forEach((function(o){if(!t(e[o])&&void 0===i[o]){if(r[o].r)throw new Error("noUiSlider (11.1.0): '"+o+"' is required.");return!0}r[o].t(n,t(e[o])?e[o]:i[o])})),n.pips=e.pips;var o=document.createElement("div");return n.transformRule=void 0!==o.style.transform?"transform":void 0!==o.style.msTransform?"msTransform":"webkitTransform",n.style=[["left","top"],["right","bottom"]][n.dir][n.ort],n}return{version:"11.1.0",create:function(t,n){if(!t||!t.nodeName)throw new Error("noUiSlider (11.1.0): create requires a single element, got: "+t);if(t.noUiSlider)throw new Error("noUiSlider (11.1.0): Slider was already initialized.");var s=function(t,n,s){var c,h,f,p,d,m,y,g,v=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},_=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(n){}return t}(),b=t,w=[],S=[],C=0,k=n.spectrum,E=[],x={},T=t.ownerDocument,D=T.documentElement,O=T.body,P="rtl"===T.dir||1===n.ort?0:100;function A(t,e){var n=T.createElement("div");return e&&a(n,e),t.appendChild(n),n}function M(t,e){var r=A(t,n.cssClasses.origin),i=A(r,n.cssClasses.handle);return i.setAttribute("data-handle",e),i.setAttribute("tabindex","0"),i.setAttribute("role","slider"),i.setAttribute("aria-orientation",n.ort?"vertical":"horizontal"),0===e?a(i,n.cssClasses.handleLower):e===n.handles-1&&a(i,n.cssClasses.handleUpper),r}function I(t,e){return!!e&&A(t,n.cssClasses.connect)}function R(){var t;d&&((t=d).parentElement.removeChild(t),d=null)}function N(t){R();var e=t.mode,r=t.density||1,i=t.filter||!1,o=function(t,e,n){if("range"===t||"steps"===t)return k.xVal;if("count"===t){if(e<2)throw new Error("noUiSlider (11.1.0): 'values' (>= 2) required for mode 'count'.");var r=e-1,i=100/r;for(e=[];r--;)e[r]=r*i;e.push(100),t="positions"}return"positions"===t?e.map((function(t){return k.fromStepping(n?k.getStep(t):t)})):"values"===t?n?e.map((function(t){return k.fromStepping(k.getStep(k.toStepping(t)))})):e:void 0}(e,t.values||!1,t.stepped||!1),s=function(t,e,n){var r,i={},o=k.xVal[0],s=k.xVal[k.xVal.length-1],a=!1,u=!1,l=0;return r=n.slice().sort((function(t,e){return t-e})),(n=r.filter((function(t){return!this[t]&&(this[t]=!0)}),{}))[0]!==o&&(n.unshift(o),a=!0),n[n.length-1]!==s&&(n.push(s),u=!0),n.forEach((function(r,o){var s,c,h,f,p,d,m,y,g=r,v=n[o+1];if("steps"===e&&(s=k.xNumSteps[o]),s||(s=v-g),!1!==g&&void 0!==v)for(s=Math.max(s,1e-7),c=g;c<=v;c=(c+s).toFixed(7)/1){for(y=(p=(f=k.toStepping(c))-l)/(m=Math.round(p/t)),h=1;h<=m;h+=1)i[(l+h*y).toFixed(5)]=["x",0];d=n.indexOf(c)>-1?1:"steps"===e?2:0,!o&&a&&(d=0),c===v&&u||(i[f.toFixed(5)]=[c,d]),l=f}})),i}(r,e,o),u=t.format||{to:Math.round};return d=b.appendChild(function(t,e,r){var i=T.createElement("div"),o=[n.cssClasses.valueNormal,n.cssClasses.valueLarge,n.cssClasses.valueSub],s=[n.cssClasses.markerNormal,n.cssClasses.markerLarge,n.cssClasses.markerSub],u=[n.cssClasses.valueHorizontal,n.cssClasses.valueVertical],l=[n.cssClasses.markerHorizontal,n.cssClasses.markerVertical];function c(t,e){var r=e===n.cssClasses.value;return e+" "+(r?u:l)[n.ort]+" "+(r?o:s)[t]}return a(i,n.cssClasses.pips),a(i,0===n.ort?n.cssClasses.pipsHorizontal:n.cssClasses.pipsVertical),Object.keys(t).forEach((function(o){!function(t,o){o[1]=o[1]&&e?e(o[0],o[1]):o[1];var s=A(i,!1);s.className=c(o[1],n.cssClasses.marker),s.style[n.style]=t+"%",o[1]&&((s=A(i,!1)).className=c(o[1],n.cssClasses.value),s.setAttribute("data-value",o[0]),s.style[n.style]=t+"%",s.innerText=r.to(o[0]))}(o,t[o])})),i}(s,i,u))}function F(){var t=c.getBoundingClientRect(),e="offset"+["Width","Height"][n.ort];return 0===n.ort?t.width||c[e]:t.height||c[e]}function V(t,e,r,i){var o=function(o){return!!(o=function(t,e,n){var r,i,o=0===t.type.indexOf("touch"),s=0===t.type.indexOf("mouse"),a=0===t.type.indexOf("pointer");if(0===t.type.indexOf("MSPointer")&&(a=!0),o){var u=function(t){return t.target===n||n.contains(t.target)};if("touchstart"===t.type){var c=Array.prototype.filter.call(t.touches,u);if(c.length>1)return!1;r=c[0].pageX,i=c[0].pageY}else{var h=Array.prototype.find.call(t.changedTouches,u);if(!h)return!1;r=h.pageX,i=h.pageY}}return e=e||l(T),(s||a)&&(r=t.clientX+e.x,i=t.clientY+e.y),t.pageOffset=e,t.points=[r,i],t.cursor=s||a,t}(o,i.pageOffset,i.target||e))&&!(b.hasAttribute("disabled")&&!i.doNotReject)&&(a=n.cssClasses.tap,!(((s=b).classList?s.classList.contains(a):new RegExp("\\b"+a+"\\b").test(s.className))&&!i.doNotReject)&&!(t===v.start&&void 0!==o.buttons&&o.buttons>1)&&(!i.hover||!o.buttons)&&(_||o.preventDefault(),o.calcPoint=o.points[n.ort],void r(o,i)));var s,a},s=[];return t.split(" ").forEach((function(t){e.addEventListener(t,o,!!_&&{passive:!0}),s.push([t,o])})),s}function L(t){var e,r,o,s,a,u,h=100*(t-(r=n.ort,o=(e=c).getBoundingClientRect(),a=(s=e.ownerDocument).documentElement,u=l(s),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(u.x=0),r?o.top+u.y-a.clientTop:o.left+u.x-a.clientLeft))/F();return h=i(h),n.dir?100-h:h}function H(t,e){"mouseout"===t.type&&"HTML"===t.target.nodeName&&null===t.relatedTarget&&B(t,e)}function U(t,e){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===t.buttons&&0!==e.buttonsProperty)return B(t,e);var r=(n.dir?-1:1)*(t.calcPoint-e.startCalcPoint);K(r>0,100*r/e.baseSize,e.locations,e.handleNumbers)}function B(t,r){r.handle&&(u(r.handle,n.cssClasses.active),C-=1),r.listeners.forEach((function(t){D.removeEventListener(t[0],t[1])})),0===C&&(u(b,n.cssClasses.drag),$(),t.cursor&&(O.style.cursor="",O.removeEventListener("selectstart",e))),r.handleNumbers.forEach((function(t){W("change",t),W("set",t),W("end",t)}))}function z(t,r){var i;if(1===r.handleNumbers.length){var o=h[r.handleNumbers[0]];if(o.hasAttribute("disabled"))return!1;C+=1,a(i=o.children[0],n.cssClasses.active)}t.stopPropagation();var s=[],u=V(v.move,D,U,{target:t.target,handle:i,listeners:s,startCalcPoint:t.calcPoint,baseSize:F(),pageOffset:t.pageOffset,handleNumbers:r.handleNumbers,buttonsProperty:t.buttons,locations:w.slice()}),l=V(v.end,D,B,{target:t.target,handle:i,listeners:s,doNotReject:!0,handleNumbers:r.handleNumbers}),c=V("mouseout",D,H,{target:t.target,handle:i,listeners:s,doNotReject:!0,handleNumbers:r.handleNumbers});s.push.apply(s,u.concat(l,c)),t.cursor&&(O.style.cursor=getComputedStyle(t.target).cursor,h.length>1&&a(b,n.cssClasses.drag),O.addEventListener("selectstart",e,!1)),r.handleNumbers.forEach((function(t){W("start",t)}))}function Y(t,e){x[t]=x[t]||[],x[t].push(e),"update"===t.split(".")[0]&&h.forEach((function(t,e){W("update",e)}))}function W(t,e,r){Object.keys(x).forEach((function(i){var o=i.split(".")[0];t===o&&x[i].forEach((function(t){t.call(p,E.map(n.format.to),e,E.slice(),r||!1,w.slice())}))}))}function q(t){return t+"%"}function G(t,e,r,o,s,a){return h.length>1&&(o&&e>0&&(r=Math.max(r,t[e-1]+n.margin)),s&&e<h.length-1&&(r=Math.min(r,t[e+1]-n.margin))),h.length>1&&n.limit&&(o&&e>0&&(r=Math.min(r,t[e-1]+n.limit)),s&&e<h.length-1&&(r=Math.max(r,t[e+1]-n.limit))),n.padding&&(0===e&&(r=Math.max(r,n.padding[0])),e===h.length-1&&(r=Math.min(r,100-n.padding[1]))),!((r=i(r=k.getStep(r)))===t[e]&&!a)&&r}function Q(t,e){var r=n.ort;return(r?e:t)+", "+(r?t:e)}function K(t,e,n,r){var i=n.slice(),o=[!t,t],s=[t,!t];r=r.slice(),t&&r.reverse(),r.length>1?r.forEach((function(t,n){var r=G(i,t,i[t]+e,o[n],s[n],!1);!1===r?e=0:(e=r-i[t],i[t]=r)})):o=s=[!0];var a=!1;r.forEach((function(t,r){a=J(t,n[t]+e,o[r],s[r])||a})),a&&r.forEach((function(t){W("update",t),W("slide",t)}))}function Z(t,e){return n.dir?100-t-e:t}function $(){S.forEach((function(t){h[t].style.zIndex=3+(h.length+(w[t]>50?-1:1)*t)}))}function J(t,e,r,i){return!1!==(e=G(w,t,e,r,i,!1))&&(function(t,e){w[t]=e,E[t]=k.fromStepping(e);var r="translate("+Q(q(Z(e,0)-P),"0")+")";h[t].style[n.transformRule]=r,X(t),X(t+1)}(t,e),!0)}function X(t){if(f[t]){var e=0,r=100;0!==t&&(e=w[t-1]),t!==f.length-1&&(r=w[t]);var i=r-e,o="translate("+Q(q(Z(e,i)),"0")+")",s="scale("+Q(i/100,"1")+")";f[t].style[n.transformRule]=o+" "+s}}function tt(t,e){var i=o(t);e=void 0===e||!!e,n.animate&&!(void 0===w[0])&&r(b,n.cssClasses.tap,n.animationDuration),S.forEach((function(t){J(t,function(t,e){return null===t||!1===t||void 0===t?w[e]:("number"==typeof t&&(t=String(t)),t=n.format.from(t),!1===(t=k.toStepping(t))||isNaN(t)?w[e]:t)}(i[t],t),!0,!1)})),S.forEach((function(t){J(t,w[t],!0,!0)})),$(),S.forEach((function(t){W("update",t),null!==i[t]&&e&&W("set",t)}))}function et(){var t=E.map(n.format.to);return 1===t.length?t[0]:t}return a(m=b,n.cssClasses.target),a(m,0===n.dir?n.cssClasses.ltr:n.cssClasses.rtl),a(m,0===n.ort?n.cssClasses.horizontal:n.cssClasses.vertical),c=A(m,n.cssClasses.base),function(t,e){var r=A(e,n.cssClasses.connects);h=[],(f=[]).push(I(r,t[0]));for(var i=0;i<n.handles;i++)h.push(M(e,i)),S[i]=i,f.push(I(r,t[i+1]))}(n.connect,c),(y=n.events).fixed||h.forEach((function(t,e){V(v.start,t.children[0],z,{handleNumbers:[e]})})),y.tap&&V(v.start,c,(function(t){t.stopPropagation();var e=L(t.calcPoint),i=function(t){var e=100,n=!1;return h.forEach((function(r,i){if(!r.hasAttribute("disabled")){var o=Math.abs(w[i]-t);(o<e||100===o&&100===e)&&(n=i,e=o)}})),n}(e);if(!1===i)return!1;n.events.snap||r(b,n.cssClasses.tap,n.animationDuration),J(i,e,!0,!0),$(),W("slide",i,!0),W("update",i,!0),W("change",i,!0),W("set",i,!0),n.events.snap&&z(t,{handleNumbers:[i]})}),{}),y.hover&&V(v.move,c,(function(t){var e=L(t.calcPoint),n=k.getStep(e),r=k.fromStepping(n);Object.keys(x).forEach((function(t){"hover"===t.split(".")[0]&&x[t].forEach((function(t){t.call(p,r)}))}))}),{hover:!0}),y.drag&&f.forEach((function(t,e){if(!1!==t&&0!==e&&e!==f.length-1){var r=h[e-1],i=h[e],o=[t];a(t,n.cssClasses.draggable),y.fixed&&(o.push(r.children[0]),o.push(i.children[0])),o.forEach((function(t){V(v.start,t,z,{handles:[r,i],handleNumbers:[e-1,e]})}))}})),tt(n.start),p={destroy:function(){for(var t in n.cssClasses)n.cssClasses.hasOwnProperty(t)&&u(b,n.cssClasses[t]);for(;b.firstChild;)b.removeChild(b.firstChild);delete b.noUiSlider},steps:function(){return w.map((function(t,e){var n=k.getNearbySteps(t),r=E[e],i=n.thisStep.step,o=null;!1!==i&&r+i>n.stepAfter.startValue&&(i=n.stepAfter.startValue-r),o=r>n.thisStep.startValue?n.thisStep.step:!1!==n.stepBefore.step&&r-n.stepBefore.highestStep,100===t?i=null:0===t&&(o=null);var s=k.countStepDecimals();return null!==i&&!1!==i&&(i=Number(i.toFixed(s))),null!==o&&!1!==o&&(o=Number(o.toFixed(s))),[o,i]}))},on:Y,off:function(t){var e=t&&t.split(".")[0],n=e&&t.substring(e.length);Object.keys(x).forEach((function(t){var r=t.split(".")[0],i=t.substring(r.length);e&&e!==r||n&&n!==i||delete x[t]}))},get:et,set:tt,reset:function(t){tt(n.start,t)},__moveHandles:function(t,e,n){K(t,e,w,n)},options:s,updateOptions:function(t,e){var r=et(),i=["margin","limit","padding","range","animate","snap","step","format"];i.forEach((function(e){void 0!==t[e]&&(s[e]=t[e])}));var o=j(s);i.forEach((function(e){void 0!==t[e]&&(n[e]=o[e])})),k=o.spectrum,n.margin=o.margin,n.limit=o.limit,n.padding=o.padding,n.pips&&N(n.pips),w=[],tt(t.start||r,e)},target:b,removePips:R,pips:N},n.pips&&N(n.pips),n.tooltips&&(g=h.map((function(t,e){return!!n.tooltips[e]&&A(t.firstChild,n.cssClasses.tooltip)})),Y("update",(function(t,e,r){if(g[e]){var i=t[e];!0!==n.tooltips[e]&&(i=n.tooltips[e].to(r[e])),g[e].innerHTML=i}}))),Y("update",(function(t,e,r,i,o){S.forEach((function(t){var e=h[t],i=G(w,t,0,!0,!0,!0),s=G(w,t,100,!0,!0,!0),a=o[t],u=n.ariaFormat.to(r[t]);e.children[0].setAttribute("aria-valuemin",i.toFixed(1)),e.children[0].setAttribute("aria-valuemax",s.toFixed(1)),e.children[0].setAttribute("aria-valuenow",a.toFixed(1)),e.children[0].setAttribute("aria-valuetext",u)}))})),p}(t,j(n),n);return t.noUiSlider=s,s}}})?r.apply(e,[]):r)||(t.exports=i)},crnd:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},zUnb:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function s(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function a(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function l(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(u(arguments[e]));return t}var c=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}();function h(t){return null!==t&&"object"==typeof t}function f(t){return"function"==typeof t}var p=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),d=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this._parentOrParents,r=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var o=0;o<n.length;++o)n[o].remove(this);if(f(r))try{r.call(this)}catch(u){e=u instanceof p?m(u.errors):[u]}if(c(i)){o=-1;for(var s=i.length;++o<s;){var a=i[o];if(h(a))try{a.unsubscribe()}catch(u){e=e||[],u instanceof p?e=e.concat(m(u.errors)):e.push(u)}}}if(e)throw new p(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();function m(t){return t.reduce((function(t,e){return t.concat(e instanceof p?e.errors:e)}),[])}var y=!1,g={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){y=t},get useDeprecatedSynchronousErrorHandling(){return y}};function v(t){setTimeout((function(){throw t}),0)}var _={closed:!0,next:function(t){},error:function(t){if(g.useDeprecatedSynchronousErrorHandling)throw t;v(t)},complete:function(){}},b=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),w=function(t){function e(n,r,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=_;break;case 1:if(!n){o.destination=_;break}if("object"==typeof n){n instanceof e?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new S(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new S(o,n,r,i)}return o}return i(e,t),e.prototype[b]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(d),S=function(t){function e(e,n,r,i){var o,s=t.call(this)||this;s._parentSubscriber=e;var a=s;return f(n)?o=n:n&&(o=n.next,r=n.error,i=n.complete,n!==_&&(f((a=Object.create(n)).unsubscribe)&&s.add(a.unsubscribe.bind(a)),a.unsubscribe=s.unsubscribe.bind(s))),s._context=a,s._next=o,s._error=r,s._complete=i,s}return i(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;g.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=g.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):v(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;v(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};g.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),g.useDeprecatedSynchronousErrorHandling)throw n;v(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!g.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return g.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(v(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(w),C=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function k(){}function E(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return x(t)}function x(t){return t?1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}:k}var T=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=function(t,e,n){if(t){if(t instanceof w)return t;if(t[b])return t[b]()}return t||e||n?new w(t,e,n):new w(_)}(t,e,n);if(i.add(r?r.call(i,this.source):this.source||g.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),g.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){g.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof w?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=D(e))((function(e,r){var i;i=n.subscribe((function(e){try{t(e)}catch(n){r(n),i&&i.unsubscribe()}}),r,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[C]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:x(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=D(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}();function D(t){if(t||(t=g.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var O=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}(),P=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return i(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(d),A=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return i(e,t),e}(w),M=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return i(e,t),e.prototype[b]=function(){return new A(this)},e.prototype.lift=function(t){var e=new I(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new O;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new O;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new O;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new O;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new O;return this.hasError?(t.error(this.thrownError),d.EMPTY):this.isStopped?(t.complete(),d.EMPTY):(this.observers.push(t),new P(this,t))},e.prototype.asObservable=function(){var t=new T;return t.source=this,t},e.create=function(t,e){return new I(t,e)},e}(T),I=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return i(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):d.EMPTY},e}(M);function R(t){return t&&"function"==typeof t.schedule}var N=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return i(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(w),j=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}};function F(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var V=F(),L=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function H(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var U=function(t){if(t&&"function"==typeof t[C])return r=t,function(t){var e=r[C]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(L(t))return j(t);if(H(t))return n=t,function(t){return n.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,v),t};if(t&&"function"==typeof t[V])return e=t,function(t){for(var n=e[V]();;){var r=n.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add((function(){n.return&&n.return()})),t};var e,n,r,i=h(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function B(t,e,n,r,i){if(void 0===i&&(i=new N(t,n,r)),!i.closed)return e instanceof T?e.subscribe(i):U(e)(i)}var z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(w);function Y(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new W(t,e))}}var W=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new q(t,this.project,this.thisArg))},t}(),q=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return i(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(w);function G(t,e){return new T((function(n){var r=new d,i=0;return r.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}function Q(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[C]}(t))return function(t,e){return new T((function(n){var r=new d;return r.add(e.schedule((function(){var i=t[C]();r.add(i.subscribe({next:function(t){r.add(e.schedule((function(){return n.next(t)})))},error:function(t){r.add(e.schedule((function(){return n.error(t)})))},complete:function(){r.add(e.schedule((function(){return n.complete()})))}}))}))),r}))}(t,e);if(H(t))return function(t,e){return new T((function(n){var r=new d;return r.add(e.schedule((function(){return t.then((function(t){r.add(e.schedule((function(){n.next(t),r.add(e.schedule((function(){return n.complete()})))})))}),(function(t){r.add(e.schedule((function(){return n.error(t)})))}))}))),r}))}(t,e);if(L(t))return G(t,e);if(function(t){return t&&"function"==typeof t[V]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new T((function(n){var r,i=new d;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(e.schedule((function(){r=t[V](),i.add(e.schedule((function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(o){return void n.error(o)}e?n.complete():(n.next(t),this.schedule())}})))}))),i}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof T?t:new T(U(t))}function K(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(K((function(n,r){return Q(t(n,r)).pipe(Y((function(t,i){return e(n,t,r,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new Z(t,n))})}var Z=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new $(t,this.project,this.concurrent))},t}(),$=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return i(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new N(this,e,n),i=this.destination;i.add(r);var o=B(this,t,void 0,void 0,r);o!==r&&i.add(o)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(z);function J(t){return t}function X(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),K(J,t)}function tt(t,e){return e?G(t,e):new T(j(t))}function et(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,i=t[t.length-1];return R(i)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof T?t[0]:X(n)(tt(t,r))}function nt(){return function(t){return t.lift(new rt(t))}}var rt=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new it(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),it=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return i(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(w),ot=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return i(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new d).add(this.source.subscribe(new at(this.getSubject(),this))),t.closed&&(this._connection=null,t=d.EMPTY)),t},e.prototype.refCount=function(){return nt()(this)},e}(T),st=function(){var t=ot.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),at=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return i(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(A);function ut(){return new M}function lt(t){return{toString:t}.toString()}var ct="__parameters__";function ht(t,e,n){return lt((function(){var r=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,l(e));for(var i in r)this[i]=r[i]}}}(e);function i(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof i)return r.apply(this,e),this;var o=new((t=i).bind.apply(t,l([void 0],e)));return s.annotation=o,s;function s(t,e,n){for(var r=t.hasOwnProperty(ct)?t[ct]:Object.defineProperty(t,ct,{value:[]})[ct];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}))}var ft=ht("Inject",(function(t){return{token:t}})),pt=ht("Optional"),dt=ht("Self"),mt=ht("SkipSelf"),yt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function gt(t){for(var e in t)if(t[e]===gt)return e;throw Error("Could not find renamed property on target object.")}function vt(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function _t(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function bt(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function wt(t){return St(t,t[kt])||St(t,t[Tt])}function St(t,e){return e&&e.token===t?e:null}function Ct(t){return t&&(t.hasOwnProperty(Et)||t.hasOwnProperty(Dt))?t[Et]:null}var kt=gt({"\u0275prov":gt}),Et=gt({"\u0275inj":gt}),xt=gt({"\u0275provFallback":gt}),Tt=gt({ngInjectableDef:gt}),Dt=gt({ngInjectorDef:gt});function Ot(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Ot).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Pt(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}var At=gt({__forward_ref__:gt});function Mt(t){return t.__forward_ref__=Mt,t.toString=function(){return Ot(this())},t}function It(t){return Rt(t)?t():t}function Rt(t){return"function"==typeof t&&t.hasOwnProperty(At)&&t.__forward_ref__===Mt}var Nt,jt="undefined"!=typeof globalThis&&globalThis,Ft="undefined"!=typeof window&&window,Vt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Lt="undefined"!=typeof global&&global,Ht=jt||Lt||Ft||Vt,Ut=gt({"\u0275cmp":gt}),Bt=gt({"\u0275dir":gt}),zt=gt({"\u0275pipe":gt}),Yt=gt({"\u0275mod":gt}),Wt=gt({"\u0275loc":gt}),qt=gt({"\u0275fac":gt}),Gt=gt({__NG_ELEMENT_ID__:gt}),Qt=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=_t({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),Kt=new Qt("INJECTOR",-1),Zt={},$t=/\n/gm,Jt=gt({provide:String,useValue:gt}),Xt=void 0;function te(t){var e=Xt;return Xt=t,e}function ee(t){var e=Nt;return Nt=t,e}function ne(t,e){if(void 0===e&&(e=yt.Default),void 0===Xt)throw new Error("inject() must be called from an injection context");return null===Xt?ie(t,void 0,e):Xt.get(t,e&yt.Optional?null:void 0,e)}function re(t,e){return void 0===e&&(e=yt.Default),(Nt||ne)(It(t),e)}function ie(t,e,n){var r=wt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&yt.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+Ot(t)+"]")}function oe(t){for(var e=[],n=0;n<t.length;n++){var r=It(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=yt.Default,s=0;s<r.length;s++){var a=r[s];a instanceof pt||"Optional"===a.ngMetadataName||a===pt?o|=yt.Optional:a instanceof mt||"SkipSelf"===a.ngMetadataName||a===mt?o|=yt.SkipSelf:a instanceof dt||"Self"===a.ngMetadataName||a===dt?o|=yt.Self:i=a instanceof ft||a===ft?a.token:a}e.push(re(i,o))}else e.push(re(r))}return e}var se=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=Zt),e===Zt){var n=new Error("NullInjectorError: No provider for "+Ot(t)+"!");throw n.name="NullInjectorError",n}return e},t}();var ae=function(){return function(){}}(),ue=function(){return function(){}}();function le(t,e){t.forEach((function(t){return Array.isArray(t)?le(t,e):e(t)}))}function ce(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function he(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function fe(t,e){for(var n=[],r=0;r<t;r++)n.push(e);return n}function pe(t,e,n){var r=me(t,e);return r>=0?t[1|r]=n:function(t,e,n,r){var i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r=~r,e,n),r}function de(t,e){var n=me(t,e);if(n>=0)return t[1|n]}function me(t,e){return function(t,e,n){for(var r=0,i=t.length>>1;i!==r;){var o=r+(i-r>>1),s=t[o<<1];if(e===s)return o<<1;s>e?i=o:r=o+1}return~(i<<1)}(t,e)}var ye=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),ge=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),ve={},_e=[],be=0;function we(t){return lt((function(){var e=t.type,n=e.prototype,r={},i={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.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:t.changeDetection===ye.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||_e,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ge.Emulated,id:"c",styles:t.styles||_e,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.directives,s=t.features,a=t.pipes;return i.id+=be++,i.inputs=xe(t.inputs,r),i.outputs=xe(t.outputs),s&&s.forEach((function(t){return t(i)})),i.directiveDefs=o?function(){return("function"==typeof o?o():o).map(Se)}:null,i.pipeDefs=a?function(){return("function"==typeof a?a():a).map(Ce)}:null,i}))}function Se(t){return De(t)||function(t){return t[Bt]||null}(t)}function Ce(t){return function(t){return t[zt]||null}(t)}var ke={};function Ee(t){var e={type:t.type,bootstrap:t.bootstrap||_e,declarations:t.declarations||_e,imports:t.imports||_e,exports:t.exports||_e,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&lt((function(){ke[t.id]=t.type})),e}function xe(t,e){if(null==t)return ve;var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}var Te=we;function De(t){return t[Ut]||null}function Oe(t,e){return t.hasOwnProperty(qt)?t[qt]:null}function Pe(t,e){var n=t[Yt]||null;if(!n&&!0===e)throw new Error("Type "+Ot(t)+" does not have '\u0275mod' property.");return n}function Ae(t){return Array.isArray(t)&&"object"==typeof t[1]}function Me(t){return Array.isArray(t)&&!0===t[1]}function Ie(t){return 0!=(8&t.flags)}function Re(t){return 2==(2&t.flags)}function Ne(t){return 1==(1&t.flags)}function je(t){return null!==t.template}function Fe(t){return 0!=(512&t[2])}var Ve={lFrame:on(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Le(){return Ve.bindingsEnabled}function He(){return Ve.lFrame.lView}function Ue(){return Ve.lFrame.tView}function Be(t){Ve.lFrame.contextLView=t}function ze(){return Ve.lFrame.previousOrParentTNode}function Ye(t,e){Ve.lFrame.previousOrParentTNode=t,Ve.lFrame.isParent=e}function We(){return Ve.lFrame.isParent}function qe(){Ve.lFrame.isParent=!1}function Ge(){return Ve.checkNoChangesMode}function Qe(t){Ve.checkNoChangesMode=t}function Ke(){var t=Ve.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Ze(){return Ve.lFrame.bindingIndex++}function $e(t){var e=Ve.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Je(t,e){var n=Ve.lFrame;n.bindingIndex=n.bindingRootIndex=t,n.currentDirectiveIndex=e}function Xe(){return Ve.lFrame.currentQueryIndex}function tn(t){Ve.lFrame.currentQueryIndex=t}function en(t,e){var n=rn();Ve.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function nn(t,e){var n=rn(),r=t[1];Ve.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function rn(){var t=Ve.lFrame,e=null===t?null:t.child;return null===e?on(t):e}function on(t){var e={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:t,child:null};return null!==t&&(t.child=e),e}function sn(){var t=Ve.lFrame;return Ve.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}var an=sn;function un(){var t=sn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ln(){return Ve.lFrame.selectedIndex}function cn(t){Ve.lFrame.selectedIndex=t}function hn(t,e){for(var n=e.directiveStart,r=e.directiveEnd;n<r;n++){var i=t.data[n];i.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-n,i.afterContentInit),i.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,i.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,i.afterContentChecked)),i.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-n,i.afterViewInit),i.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,i.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,i.afterViewChecked)),null!=i.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,i.onDestroy)}}function fn(t,e,n){mn(t,e,3,n)}function pn(t,e,n,r){(3&t[2])===n&&mn(t,e,n,r)}function dn(t,e){var n=t[2];(3&n)===e&&(n&=1023,t[2]=n+=1)}function mn(t,e,n,r){for(var i=null!=r?r:-1,o=0,s=void 0!==r?65535&t[18]:0;s<e.length;s++)if("number"==typeof e[s+1]){if(o=e[s],null!=r&&o>=r)break}else e[s]<0&&(t[18]+=65536),(o<i||-1==i)&&(yn(t,n,e,s),t[18]=(4294901760&t[18])+s+2),s++}function yn(t,e,n,r){var i=n[r]<0,o=n[r+1],s=t[i?-n[r]:n[r]];i?t[2]>>10<t[18]>>16&&(3&t[2])===e&&(t[2]+=1024,o.call(s)):o.call(s)}var gn=function(){return function(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}(),vn=void 0;function _n(){return void 0!==vn?vn:"undefined"!=typeof document?document:void 0}function bn(t){return!!t.listen}var wn={createRenderer:function(t,e){return _n()}};function Sn(t,e,n){for(var r=bn(t),i=0;i<n.length;){var o=n[i];if("number"==typeof o){if(0!==o)break;i++;var s=n[i++],a=n[i++],u=n[i++];r?t.setAttribute(e,a,u,s):e.setAttributeNS(s,a,u)}else u=n[++i],kn(a=o)?r&&t.setProperty(e,a,u):r?t.setAttribute(e,a,u):e.setAttribute(a,u),i++}return i}function Cn(t){return 3===t||4===t||6===t}function kn(t){return 64===t.charCodeAt(0)}function En(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else for(var n=-1,r=0;r<e.length;r++){var i=e[r];"number"==typeof i?n=i:0===n||xn(t,n,i,null,-1===n||2===n?e[++r]:null)}return t}function xn(t,e,n,r,i){var o=0,s=t.length;if(-1===e)s=-1;else for(;o<t.length;){var a=t[o++];if("number"==typeof a){if(a===e){s=-1;break}if(a>e){s=o-1;break}}}for(;o<t.length;){var u=t[o];if("number"==typeof u)break;if(u===n){if(null===r)return void(null!==i&&(t[o+1]=i));if(r===t[o+1])return void(t[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),null!==r&&t.splice(o++,0,r),null!==i&&t.splice(o++,0,i)}function Tn(t){return-1!==t}function Dn(t){return 32767&t}function On(t){return t>>16}function Pn(t,e){for(var n=On(t),r=e;n>0;)r=r[15],n--;return r}function An(t){return"string"==typeof t?t:null==t?"":""+t}function Mn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():An(t)}var In=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ht)}();function Rn(t){return{name:"window",target:t.ownerDocument.defaultView}}function Nn(t){return{name:"document",target:t.ownerDocument}}function jn(t){return t instanceof Function?t():t}var Fn=!0;function Vn(t){var e=Fn;return Fn=t,e}var Ln=0;function Hn(t,e){var n=Bn(t,e);if(-1!==n)return n;var r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Un(r.data,t),Un(e,null),Un(r.blueprint,null));var i=zn(t,e),o=t.injectorIndex;if(Tn(i))for(var s=Dn(i),a=Pn(i,e),u=a[1].data,l=0;l<8;l++)e[o+l]=a[s+l]|u[s+l];return e[o+8]=i,o}function Un(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Bn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function zn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[6],r=1;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Yn(t,e,n){!function(t,e,n){var r="string"!=typeof n?n[Gt]:n.charCodeAt(0)||0;null==r&&(r=n[Gt]=Ln++);var i=255&r,o=1<<i,s=64&i,a=32&i,u=e.data;128&i?s?a?u[t+7]|=o:u[t+6]|=o:a?u[t+5]|=o:u[t+4]|=o:s?a?u[t+3]|=o:u[t+2]|=o:a?u[t+1]|=o:u[t]|=o}(t,e,n)}function Wn(t,e,n,r,i){if(void 0===r&&(r=yt.Default),null!==t){var o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t[Gt];return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof o){en(e,t);try{var s=o();if(null!=s||r&yt.Optional)return s;throw new Error("No provider for "+Mn(n)+"!")}finally{an()}}else if("number"==typeof o){if(-1===o)return new Jn(t,e);var a=null,u=Bn(t,e),l=-1,c=r&yt.Host?e[16][6]:null;for((-1===u||r&yt.SkipSelf)&&(l=-1===u?zn(t,e):e[u+8],$n(r,!1)?(a=e[1],u=Dn(l),e=Pn(l,e)):u=-1);-1!==u;){l=e[u+8];var h=e[1];if(Zn(o,u,h.data)){var f=Gn(u,e,n,a,r,c);if(f!==qn)return f}$n(r,e[1].data[u+8]===c)&&Zn(o,u,e)?(a=h,u=Dn(l),e=Pn(l,e)):u=-1}}}if(r&yt.Optional&&void 0===i&&(i=null),0==(r&(yt.Self|yt.Host))){var p=e[9],d=ee(void 0);try{return p?p.get(n,i,r&yt.Optional):ie(n,i,r&yt.Optional)}finally{ee(d)}}if(r&yt.Optional)return i;throw new Error("NodeInjector: NOT_FOUND ["+Mn(n)+"]")}var qn={};function Gn(t,e,n,r,i,o){var s=e[1],a=s.data[t+8],u=Qn(a,s,n,null==r?Re(a)&&Fn:r!=s&&3===a.type,i&yt.Host&&o===a);return null!==u?Kn(e,s,u,a):qn}function Qn(t,e,n,r,i){for(var o=t.providerIndexes,s=e.data,a=65535&o,u=t.directiveStart,l=o>>16,c=i?a+l:t.directiveEnd,h=r?a:a+l;h<c;h++){var f=s[h];if(h<u&&n===f||h>=u&&f.type===n)return h}if(i){var p=s[u];if(p&&je(p)&&p.type===n)return u}return null}function Kn(t,e,n,r){var i=t[n],o=e.data;if(i instanceof gn){var s=i;if(s.resolving)throw new Error("Circular dep for "+Mn(o[n]));var a=Vn(s.canSeeViewProviders);s.resolving=!0;var u=void 0;s.injectImpl&&(u=ee(s.injectImpl)),en(t,r);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){var r=e.onChanges,i=e.onInit,o=e.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{s.injectImpl&&ee(u),Vn(a),s.resolving=!1,an()}}return i}function Zn(t,e,n){var r=64&t,i=32&t;return!!((128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e])&1<<t)}function $n(t,e){return!(t&yt.Self||t&yt.Host&&e)}var Jn=function(){function t(t,e){this._tNode=t,this._lView=e}return t.prototype.get=function(t,e){return Wn(this._tNode,this._lView,t,void 0,e)},t}();function Xn(t){return lt((function(){var e=Object.getPrototypeOf(t.prototype).constructor,n=e[qt]||function t(e){var n=e;if(Rt(e))return function(){var e=t(It(n));return e?e():null};var r=Oe(n);if(null===r){var i=Ct(n);r=i&&i.factory}return r||null}(e);return null!==n?n:function(t){return new t}}))}function tr(t){return t.ngDebugContext}function er(t){return t.ngOriginalError}function nr(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,l(e))}var rr=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||nr}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?tr(t)?tr(t):this._findContext(er(t)):null},t.prototype._findOriginalError=function(t){for(var e=er(t);e&&er(e);)e=er(e);return e},t}(),ir=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}();function or(t){return t instanceof ir?t.changingThisBreaksApplicationSecurity:t}function sr(t,e){var n=function(t){return t instanceof ir&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error("Required a safe "+e+", got a "+n+" (see http://g.co/ng/security#xss)")}return n===e}var ar=!0,ur=!1;function lr(){return ur=!0,ar}var cr=function(){function t(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");var e=this.inertDocument.body;if(null==e){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n),e=this.inertDocument.createElement("body"),n.appendChild(e)}e.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!e.querySelector||e.querySelector("svg")?(e.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=e.querySelector&&e.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;var n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var r=e.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.removeAttribute(r)}for(var i=t.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling},t}(),hr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,fr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function pr(t){return(t=String(t)).match(hr)||t.match(fr)?t:(lr()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function dr(t){var e,n,r={};try{for(var i=a(t.split(",")),o=i.next();!o.done;o=i.next())r[o.value]=!0}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}function mr(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};try{for(var o=a(n),s=o.next();!s.done;s=o.next()){var u=s.value;for(var l in u)u.hasOwnProperty(l)&&(i[l]=!0)}}catch(c){t={error:c}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return i}var yr,gr=dr("area,br,col,hr,img,wbr"),vr=dr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_r=dr("rp,rt"),br=mr(_r,vr),wr=mr(gr,mr(vr,dr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),mr(_r,dr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),br),Sr=dr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cr=dr("srcset"),kr=mr(Sr,Cr,dr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),dr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Er=dr("script,style,template"),xr=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e,n=t.nodeName.toLowerCase();if(!wr.hasOwnProperty(n))return this.sanitizedSomething=!0,!Er.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=t.attributes,i=0;i<r.length;i++){var o=r.item(i),s=o.name,a=s.toLowerCase();if(kr.hasOwnProperty(a)){var u=o.value;Sr[a]&&(u=pr(u)),Cr[a]&&(e=u,u=(e=String(e)).split(",").map((function(t){return pr(t.trim())})).join(", ")),this.buf.push(" ",s,'="',Or(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();wr.hasOwnProperty(e)&&!gr.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(Or(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),Tr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Dr=/([^\#-~ |!])/g;function Or(t){return t.replace(/&/g,"&amp;").replace(Tr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Dr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Pr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ar=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Mr(t){var e=Rr();return e?e.sanitize(Ar.HTML,t)||"":sr(t,"HTML")?or(t):function(t,e){var n=null;try{yr=yr||new cr(t);var r=e?String(e):"";n=yr.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=yr.getInertBodyElement(r)}while(r!==o);var s=new xr,a=s.sanitizeChildren(Pr(n)||n);return lr()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var u=Pr(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}(_n(),An(t))}function Ir(t){var e=Rr();return e?e.sanitize(Ar.URL,t)||"":sr(t,"URL")?or(t):pr(An(t))}function Rr(){var t=He();return t&&t[12]}function Nr(t){for(;Array.isArray(t);)t=t[0];return t}function jr(t,e){return Nr(e[t+19])}function Fr(t,e){return Nr(e[t.index])}function Vr(t,e){return t.data[e+19]}function Lr(t,e){var n=e[t];return Ae(n)?n:n[0]}function Hr(t){var e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ur(t){return 4==(4&t[2])}function Br(t){return 128==(128&t[2])}function zr(t,e){return null===t||null==e?null:t[e]}function Yr(t){t[18]=0}function Wr(t,e){t.__ngContext__=e}function qr(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function Gr(){throw new Error("Cannot mix multi providers and regular providers")}function Qr(t,e,n){for(var r=t.length;;){var i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){var o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}function Kr(t,e,n){for(var r=0;r<t.length;){var i=t[r++];if(n&&"class"===i){if(-1!==Qr((i=t[r]).toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function Zr(t,e,n){return e===(0!==t.type||n?t.tagName:"ng-template")}function $r(t,e,n){for(var r=4,i=t.attrs||[],o=function(t){for(var e=0;e<t.length;e++)if(Cn(t[e]))return e;return t.length}(i),s=!1,a=0;a<e.length;a++){var u=e[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!Zr(t,u,n)||""===u&&1===e.length){if(Jr(r))return!1;s=!0}}else{var l=8&r?u:e[++a];if(8&r&&null!==t.attrs){if(!Kr(t.attrs,l,n)){if(Jr(r))return!1;s=!0}continue}var c=Xr(8&r?"class":u,i,0==t.type&&"ng-template"!==t.tagName,n);if(-1===c){if(Jr(r))return!1;s=!0;continue}if(""!==l){var h;h=c>o?"":i[c+1].toLowerCase();var f=8&r?h:null;if(f&&-1!==Qr(f,l,0)||2&r&&l!==h){if(Jr(r))return!1;s=!0}}}}else{if(!s&&!Jr(r)&&!Jr(u))return!1;if(s&&Jr(u))continue;s=!1,r=u|1&r}}return Jr(r)||s}function Jr(t){return 0==(1&t)}function Xr(t,e,n,r){if(null===e)return-1;var i=0;if(r||!n){for(var o=!1;i<e.length;){var s=e[i];if(s===t)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){for(var a=e[++i];"string"==typeof a;)a=e[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function(t,e){var n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){if(t[n]===e)return n;n++}return-1}(e,t)}function ti(t,e,n){void 0===n&&(n=!1);for(var r=0;r<e.length;r++)if($r(t,e[r],n))return!0;return!1}function ei(t,e){t:for(var n=0;n<e.length;n++){var r=e[n];if(t.length===r.length){for(var i=0;i<t.length;i++)if(t[i]!==r[i])continue t;return!0}}return!1}function ni(t,e){return t?":not("+e.trim()+")":e}function ri(t){for(var e=t[0],n=1,r=2,i="",o=!1;n<t.length;){var s=t[n];if("string"==typeof s)if(2&r){var a=t[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||Jr(s)||(e+=ni(o,i),i=""),r=s,o=o||!Jr(r);n++}return""!==i&&(e+=ni(o,i)),e}var ii={};function oi(t){var e=t[3];return Me(e)?e[3]:e}function si(t){ai(Ue(),He(),ln()+t,Ge())}function ai(t,e,n,r){if(!r)if(3==(3&e[2])){var i=t.preOrderCheckHooks;null!==i&&fn(e,i,n)}else{var o=t.preOrderHooks;null!==o&&pn(e,o,0,n)}cn(n)}function ui(t,e){return t<<17|e<<2}function li(t){return t>>17&32767}function ci(t){return 2|t}function hi(t){return(131068&t)>>2}function fi(t,e){return-131069&t|e<<2}function pi(t){return 1|t}function di(t,e){var n=t.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r+1];if(-1!==i){var o=t.data[i];tn(n[r]),o.contentQueries(2,e[i],i)}}}function mi(t,e,n){return bn(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function yi(t,e,n,r,i,o,s,a,u,l){var c=e.blueprint.slice();return c[0]=i,c[2]=140|r,Yr(c),c[3]=c[15]=t,c[8]=n,c[10]=s||t&&t[10],c[11]=a||t&&t[11],c[12]=u||t&&t[12]||null,c[9]=l||t&&t[9]||null,c[6]=o,c[16]=2==e.type?t[16]:c,c}function gi(t,e,n,r,i,o){var s=n+19,a=t.data[s]||function(t,e,n,r,i,o){var s=ze(),a=We(),u=a?s:s&&s.parent,l=t.data[n]=xi(0,u&&u!==e?u:null,r,n,i,o);return null===t.firstChild&&(t.firstChild=l),s&&(!a||null!=s.child||null===l.parent&&2!==s.type?a||(s.next=l):s.child=l),l}(t,e,s,r,i,o);return Ye(a,!0),a}function vi(t,e,n){nn(e,e[6]);try{var r=t.viewQuery;null!==r&&Ki(1,r,n);var i=t.template;null!==i&&wi(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&di(t,e),t.staticViewQueries&&Ki(2,t.viewQuery,n);var o=t.components;null!==o&&function(t,e){for(var n=0;n<e.length;n++)Yi(t,e[n])}(e,o)}finally{e[2]&=-5,un()}}function _i(t,e,n,r){var i=e[2];if(256!=(256&i)){nn(e,e[6]);var o=Ge();try{Yr(e),Ve.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&wi(t,e,n,2,r);var s=3==(3&i);if(!o)if(s){var a=t.preOrderCheckHooks;null!==a&&fn(e,a,null)}else{var u=t.preOrderHooks;null!==u&&pn(e,u,0,null),dn(e,0)}if(function(t){for(var e=t[13];null!==e;){var n=void 0;if(Me(e)&&(n=e[2])>>1==-1){for(var r=9;r<e.length;r++){var i=e[r],o=i[1];Br(i)&&_i(o,i,o.template,i[8])}0!=(1&n)&&Bi(e,t[16])}e=e[4]}}(e),null!==t.contentQueries&&di(t,e),!o)if(s){var l=t.contentCheckHooks;null!==l&&fn(e,l)}else{var c=t.contentHooks;null!==c&&pn(e,c,1),dn(e,1)}!function(t,e){try{var n=t.expandoInstructions;if(null!==n)for(var r=t.expandoStartIndex,i=-1,o=0;o<n.length;o++){var s=n[o];"number"==typeof s?s<=0?(cn(0-s),i=r+=9+n[++o]):r+=s:(null!==s&&(Je(r,i),s(2,e[i])),i++)}}finally{cn(-1)}}(t,e);var h=t.components;null!==h&&function(t,e){for(var n=0;n<e.length;n++)zi(t,e[n])}(e,h);var f=t.viewQuery;if(null!==f&&Ki(2,f,r),!o)if(s){var p=t.viewCheckHooks;null!==p&&fn(e,p)}else{var d=t.viewHooks;null!==d&&pn(e,d,2),dn(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),o||(e[2]&=-73)}finally{un()}}}function bi(t,e,n,r){var i=e[10],o=!Ge(),s=Ur(e);try{o&&!s&&i.begin&&i.begin(),s&&vi(t,e,r),_i(t,e,n,r)}finally{o&&!s&&i.end&&i.end()}}function wi(t,e,n,r,i){var o=ln();try{cn(-1),2&r&&e.length>19&&ai(t,e,0,Ge()),n(r,i)}finally{cn(o)}}function Si(t,e,n){Le()&&(function(t,e,n,r){var i=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||Hn(n,e),Wr(r,e);for(var s=n.initialInputs,a=i;a<o;a++){var u=t.data[a],l=je(u);l&&Vi(e,n,u);var c=Kn(e,t,a,n);Wr(c,e),null!==s&&Li(0,a-i,c,u,0,s),l&&(Lr(n.index,e)[8]=c)}}(t,e,n,Fr(n,e)),128==(128&n.flags)&&function(t,e,n){var r=n.directiveStart,i=n.directiveEnd,o=t.expandoInstructions,s=t.firstCreatePass,a=n.index-19;try{cn(a);for(var u=r;u<i;u++){var l=t.data[u];null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs?Mi(l,e[u]):s&&o.push(null)}}finally{cn(-1)}}(t,e,n))}function Ci(t,e,n){void 0===n&&(n=Fr);var r=e.localNames;if(null!==r)for(var i=e.index+1,o=0;o<r.length;o+=2){var s=r[o+1],a=-1===s?n(e,t):t[s];t[i++]=a}}function ki(t){return t.tView||(t.tView=Ei(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts))}function Ei(t,e,n,r,i,o,s,a,u,l){var c=19+r,h=c+i,f=function(t,e){for(var n=[],r=0;r<e;r++)n.push(r<t?null:ii);return n}(c,h);return f[1]={type:t,id:e,blueprint:f,template:n,queries:null,viewQuery:a,node:null,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:l}}function xi(t,e,n,r,i,o){return{type:n,index:r,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,residualStyles:void 0,classes:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ti(t,e,n){for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function Di(t,e,n,r,i,o,s,a){var u,l,c=jr(n,e),h=Vr(t,n),f=h.inputs;if(!s&&null!=f&&(u=f[r]))to(t,e,u,r,i),Re(h)&&function(t,e){var n=Lr(e,t);16&n[2]||(n[2]|=64)}(e,n+19);else if(3===h.type){r="class"===(l=r)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l;var p=a?a(h,e):e[11];i=null!=o?o(i,h.tagName||"",r):i,bn(p)?p.setProperty(c,r,i):kn(r)||(c.setProperty?c.setProperty(r,i):c[r]=i)}}function Oi(t,e,n,r){var i=!1;if(Le()){var o=function(t,e,n){var r=t.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var s=r[o];ti(n,s.selectors,!1)&&(i||(i=[]),Yn(Hn(n,e),t,s.type),je(s)?(2&n.flags&&qr(n),Ri(t,n),i.unshift(s)):i.push(s))}return i}(t,e,n),s=null===r?null:{"":-1};if(null!==o){var a=0;i=!0,ji(n,t.data.length,o.length);for(var u=0;u<o.length;u++)(h=o[u]).providersResolver&&h.providersResolver(h);Ii(t,n,o.length);var l=!1,c=!1;for(u=0;u<o.length;u++){var h;n.mergedAttrs=En(n.mergedAttrs,(h=o[u]).hostAttrs),Fi(t,e,h),Ni(t.data.length-1,h,s),null!==h.contentQueries&&(n.flags|=8),null===h.hostBindings&&null===h.hostAttrs&&0===h.hostVars||(n.flags|=128),!l&&(h.onChanges||h.onInit||h.doCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-19),l=!0),c||!h.onChanges&&!h.doCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-19),c=!0),Pi(t,h),a+=h.hostVars}!function(t,e){for(var n=e.directiveEnd,r=t.data,i=e.attrs,o=[],s=null,a=null,u=e.directiveStart;u<n;u++){var l=r[u],c=l.inputs;o.push(null!==i?Hi(c,i):null),s=Ti(c,u,s),a=Ti(l.outputs,u,a)}null!==s&&(s.hasOwnProperty("class")&&(e.flags|=16),s.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=s,e.outputs=a}(t,n),Ai(t,e,a)}s&&function(t,e,n){if(e)for(var r=t.localNames=[],i=0;i<e.length;i+=2){var o=n[e[i+1]];if(null==o)throw new Error("Export of name '"+e[i+1]+"' not found!");r.push(e[i],o)}}(n,r,s)}return n.mergedAttrs=En(n.mergedAttrs,n.attrs),i}function Pi(t,e){var n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function Ai(t,e,n){for(var r=0;r<n;r++)e.push(ii),t.blueprint.push(ii),t.data.push(null)}function Mi(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ii(t,e,n){var r=19-e.index,i=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,i,n)}function Ri(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Ni(t,e,n){if(n){if(e.exportAs)for(var r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;je(e)&&(n[""]=t)}}function ji(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Fi(t,e,n){t.data.push(n);var r=n.factory||(n.factory=Oe(n.type)),i=new gn(r,je(n),null);t.blueprint.push(i),e.push(i)}function Vi(t,e,n){var r=Fr(e,t),i=ki(n),o=t[10],s=Wi(t,yi(t,i,null,n.onPush?64:16,r,e,o,o.createRenderer(r,n)));t[e.index]=s}function Li(t,e,n,r,i,o){var s=o[e];if(null!==s)for(var a=r.setInput,u=0;u<s.length;){var l=s[u++],c=s[u++],h=s[u++];null!==a?r.setInput(n,h,l,c):n[c]=h}}function Hi(t,e){for(var n=null,r=0;r<e.length;){var i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function Ui(t,e,n,r){return new Array(t,!0,-2,e,null,null,r,n,null)}function Bi(t,e){for(var n=t[5],r=0;r<n.length;r++){var i=n[r],o=i[3][3][16];if(o!==e&&0==(16&o[2])){var s=i[1];_i(s,i,s.template,i[8])}}}function zi(t,e){var n=Lr(e,t);if(Br(n)&&80&n[2]){var r=n[1];_i(r,n,r.template,n[8])}}function Yi(t,e){var n=Lr(e,t),r=n[1];!function(t,e){for(var n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),vi(r,n,n[8])}function Wi(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function qi(t){for(;t;){t[2]|=64;var e=oi(t);if(Fe(t)&&!e)return t;t=e}return null}function Gi(t,e,n){var r=e[10];r.begin&&r.begin();try{_i(t,e,t.template,n)}catch(i){throw Xi(e,i),i}finally{r.end&&r.end()}}function Qi(t){!function(t){for(var e=0;e<t.components.length;e++){var n=t.components[e],r=Hr(n),i=r[1];bi(i,r,i.template,n)}}(t[8])}function Ki(t,e,n){tn(0),e(t,n)}var Zi=function(){return Promise.resolve(null)}();function $i(t){return t[7]||(t[7]=[])}function Ji(t){return t.cleanup||(t.cleanup=[])}function Xi(t,e){var n=t[9],r=n?n.get(rr,null):null;r&&r.handleError(e)}function to(t,e,n,r,i){for(var o=0;o<n.length;){var s=n[o++],a=n[o++],u=e[s],l=t.data[s];null!==l.setInput?l.setInput(u,i,r,a):u[a]=i}}function eo(t,e){var n=e[3];return-1===t.index?Me(n)?n:null:n}function no(t,e){var n=eo(t,e);return n?mo(e[11],n[7]):null}function ro(t,e,n,r,i){if(null!=r){var o=void 0,s=!1;Me(r)?o=r:Ae(r)&&(s=!0,r=r[0]);var a=Nr(r);0===t&&null!==n?null==i?fo(e,n,a):ho(e,n,a,i||null):1===t&&null!==n?ho(e,n,a,i||null):2===t?function(t,e,n){var r=mo(t,e);r&&function(t,e,n,r){bn(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,r,i){var o=n[7];o!==Nr(n)&&ro(e,t,r,o,i);for(var s=9;s<n.length;s++){var a=n[s];bo(a[1],a,t,e,r,o)}}(e,t,o,n,i)}}function io(t,e,n,r){var i=no(t.node,e);i&&bo(t,e,e[11],n?1:2,i,r)}function oo(t,e){var n=t[5],r=n.indexOf(e);n.splice(r,1)}function so(t,e){if(!(t.length<=9)){var n=9+e,r=t[n];if(r){var i=r[17];null!==i&&i!==t&&oo(i,r),e>0&&(t[n-1][4]=r[4]);var o=he(t,9+e);io(r[1],r,!1,null);var s=o[5];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function ao(t,e){if(!(256&e[2])){var n=e[11];bn(n)&&n.destroyNode&&bo(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return lo(t[1],t);for(;e;){var n=null;if(Ae(e))n=e[13];else{var r=e[9];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)Ae(e)&&lo(e[1],e),e=uo(e,t);null===e&&(e=t),Ae(e)&&lo(e[1],e),n=e&&e[4]}e=n}}(e)}}function uo(t,e){var n;return Ae(t)&&(n=t[6])&&2===n.type?eo(n,t):t[3]===e?null:t[3]}function lo(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var r=0;r<n.length;r+=2){var i=e[n[r]];i instanceof gn||n[r+1].call(i)}}(t,e),function(t,e){var n=t.cleanup;if(null!==n){for(var r=e[7],i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){var o=n[i+1],s="function"==typeof o?o(e):Nr(e[o]),a=n[i+3];"boolean"==typeof a?s.removeEventListener(n[i],r[n[i+2]],a):a>=0?r[a]():r[-a].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);e[7]=null}}(t,e);var n=e[6];n&&3===n.type&&bn(e[11])&&e[11].destroy();var r=e[17];if(null!==r&&Me(e[3])){r!==e[3]&&oo(r,e);var i=e[5];null!==i&&i.detachView(t)}}}function co(t,e,n){for(var r=e.parent;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){var i=n[6];return 2===i.type?no(i,n):n[0]}if(e&&5===e.type&&4&e.flags)return Fr(e,n).parentNode;if(2&r.flags){var o=t.data,s=o[o[r.index].directiveStart].encapsulation;if(s!==ge.ShadowDom&&s!==ge.Native)return null}return Fr(r,n)}function ho(t,e,n,r){bn(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function fo(t,e,n){bn(t)?t.appendChild(e,n):e.appendChild(n)}function po(t,e,n,r){null!==r?ho(t,e,n,r):fo(t,e,n)}function mo(t,e){return bn(t)?t.parentNode(e):e.parentNode}function yo(t,e){if(2===t.type){var n=eo(t,e);return null===n?null:vo(n.indexOf(e,9)-9,n)}return 4===t.type||5===t.type?Fr(t,e):null}function go(t,e,n,r){var i=co(t,r,e);if(null!=i){var o=e[11],s=yo(r.parent||e[6],e);if(Array.isArray(n))for(var a=0;a<n.length;a++)po(o,i,n[a],s);else po(o,i,n,s)}}function vo(t,e){var n=9+t+1;if(n<e.length){var r=e[n],i=r[1].firstChild;if(null!==i)return function t(e,n){if(null!==n){var r=n.type;if(3===r)return Fr(n,e);if(0===r)return vo(-1,e[n.index]);if(4===r||5===r){var i=n.child;if(null!==i)return t(e,i);var o=e[n.index];return Me(o)?vo(-1,o):Nr(o)}var s=e[16],a=s[6],u=oi(s),l=a.projection[n.projection];return null!=l?t(u,l):t(e,n.next)}return null}(r,i)}return e[7]}function _o(t,e,n,r,i,o,s){for(;null!=n;){var a=r[n.index],u=n.type;s&&0===e&&(a&&Wr(Nr(a),r),n.flags|=4),64!=(64&n.flags)&&(4===u||5===u?(_o(t,e,n.child,r,i,o,!1),ro(e,t,i,a,o)):1===u?wo(t,e,r,n,i,o):ro(e,t,i,a,o)),n=s?n.projectionNext:n.next}}function bo(t,e,n,r,i,o){_o(n,r,t.node.child,e,i,o,!1)}function wo(t,e,n,r,i,o){var s=n[16],a=s[6].projection[r.projection];if(Array.isArray(a))for(var u=0;u<a.length;u++)ro(e,t,i,a[u],o);else _o(t,e,a,s[3],i,o,!0)}function So(t,e,n){bn(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Co(t,e,n){bn(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}var ko,Eo,xo,To=function(){function t(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){var t=this._lView;return null==t[0]?function t(e,n,r,i,o){for(void 0===o&&(o=!1);null!==r;){var s=n[r.index];if(null!==s&&i.push(Nr(s)),Me(s))for(var a=9;a<s.length;a++){var u=s[a],l=u[1].firstChild;null!==l&&t(u[1],u,l,i)}var c=r.type;if(4===c||5===c)t(e,n,r.child,i);else if(1===c){var h=n[16],f=h[6],p=oi(h),d=f.projection[r.projection];null!==d&&null!==p&&t(p[1],p,d,i,!0)}r=o?r.projectionNext:r.next}return i}(t[1],t,t[6].child,[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._lView[8]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 256==(256&this._lView[2])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}ao(this._lView[1],this._lView)},t.prototype.onDestroy=function(t){var e,n,r;e=this._lView[1],r=t,$i(n=this._lView).push(r),e.firstCreatePass&&Ji(e).push(n[7].length-1,null)},t.prototype.markForCheck=function(){qi(this._cdRefInjectingView||this._lView)},t.prototype.detach=function(){this._lView[2]&=-129},t.prototype.reattach=function(){this._lView[2]|=128},t.prototype.detectChanges=function(){Gi(this._lView[1],this._lView,this.context)},t.prototype.checkNoChanges=function(){!function(t,e,n){Qe(!0);try{Gi(t,e,n)}finally{Qe(!1)}}(this._lView[1],this._lView,this.context)},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){var t;this._appRef=null,bo(this._lView[1],t=this._lView,t[11],2,null,null)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t}(),Do=function(t){function e(e){var n=t.call(this,e)||this;return n._view=e,n}return i(e,t),e.prototype.detectChanges=function(){Qi(this._view)},e.prototype.checkNoChanges=function(){!function(t){Qe(!0);try{Qi(t)}finally{Qe(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(To);function Oo(t,e,n){return ko||(ko=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(t)),new ko(Fr(e,n))}function Po(t,e,n,r){return Eo||(Eo=function(t){function e(e,n,r){var i=t.call(this)||this;return i._declarationView=e,i._declarationTContainer=n,i.elementRef=r,i}return i(e,t),e.prototype.createEmbeddedView=function(t){var e=this._declarationTContainer.tViews,n=yi(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[5];null!==r&&(n[5]=r.createEmbeddedView(e)),vi(e,n,t);var i=new To(n);return i._tViewNode=n[6],i},e}(t)),0===n.type?new Eo(r,n,Oo(e,n,r)):null}function Ao(t,e,n,r){var o;xo||(xo=function(t){function n(e,n,r){var i=t.call(this)||this;return i._lContainer=e,i._hostTNode=n,i._hostView=r,i}return i(n,t),Object.defineProperty(n.prototype,"element",{get:function(){return Oo(e,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new Jn(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var t=zn(this._hostTNode,this._hostView),e=Pn(t,this._hostView),n=function(t,e,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=On(t),s=e,a=e[6];o>1;)a=(s=s[15])[6],o--;return a}(t,this._hostView,this._hostTNode);return Tn(t)&&null!=n?new Jn(n,e):new Jn(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this.length>0;)this.remove(this.length-1)},n.prototype.get=function(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer.length-9},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},n.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;if(!i&&null==t.ngModule&&o){var s=o.get(ae,null);s&&(i=s)}var a=t.create(o,r,void 0,i);return this.insert(a.hostView,e),a},n.prototype.insert=function(t,e){var n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Me(n[3])){var i=this.indexOf(t);if(-1!==i)this.detach(i);else{var o=n[3],s=new xo(o,o[6],o[3]);s.detach(s.indexOf(t))}}var a=this._adjustIndex(e);return function(t,e,n,r){var i=9+r,o=n.length;r>0&&(n[i-1][4]=e),r<o-9?(e[4]=n[i],ce(n,9+r,e)):(n.push(e),e[4]=null),e[3]=n;var s=e[17];null!==s&&n!==s&&function(t,e){var n=t[5],r=e[3][3][16];16!=(16&r[2])&&e[16]!==r&&(t[2]|=1),null===n?t[5]=[e]:n.push(e)}(s,e);var a=e[5];null!==a&&a.insertView(t),e[2]|=128}(r,n,this._lContainer,a),io(r,n,!0,vo(a,this._lContainer)),t.attachToViewContainerRef(this),ce(this._lContainer[8],a,t),t},n.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)},n.prototype.indexOf=function(t){var e=this._lContainer[8];return null!==e?e.indexOf(t):-1},n.prototype.remove=function(t){this.allocateContainerIfNeeded();var e=this._adjustIndex(t,-1);(function(t,e){var n=so(t,e);n&&ao(n[1],n)})(this._lContainer,e),he(this._lContainer[8],e)},n.prototype.detach=function(t){this.allocateContainerIfNeeded();var e=this._adjustIndex(t,-1),n=so(this._lContainer,e);return n&&null!=he(this._lContainer[8],e)?new To(n):null},n.prototype._adjustIndex=function(t,e){return void 0===e&&(e=0),null==t?this.length+e:t},n.prototype.allocateContainerIfNeeded=function(){null===this._lContainer[8]&&(this._lContainer[8]=[])},n}(t));var s=r[n.index];if(Me(s))!function(t,e){t[2]=-2}(o=s);else{var a=void 0;if(4===n.type)a=Nr(s);else if(a=r[11].createComment(""),Fe(r)){var u=r[11],l=Fr(n,r);ho(u,mo(u,l),a,function(t,e){return bn(t)?t.nextSibling(e):e.nextSibling}(u,l))}else go(r[1],r,a,n);r[n.index]=o=Ui(s,r,a,n),Wi(r,o)}return new xo(o,n,r)}function Mo(t){return void 0===t&&(t=!1),function(t,e,n){if(!n&&Re(t)){var r=Lr(t.index,e);return new To(r,r)}return 3===t.type||0===t.type||4===t.type||5===t.type?new To(e[16],e):null}(ze(),He(),t)}var Io=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Ro()},t}(),Ro=Mo,No=new Qt("Set Injector scope."),jo={},Fo={},Vo=[],Lo=void 0;function Ho(){return void 0===Lo&&(Lo=new se),Lo}function Uo(t,e,n,r){return void 0===e&&(e=null),void 0===n&&(n=null),new Bo(t,n,e||Ho(),r)}var Bo=function(){function t(t,e,n,r){var i=this;void 0===r&&(r=null),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];e&&le(e,(function(n){return i.processProvider(n,t,e)})),le([t],(function(t){return i.processInjectorType(t,[],o)})),this.records.set(Kt,Wo(void 0,this));var s=this.records.get(No);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:Ot(t))}return Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(t){return t.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},t.prototype.get=function(t,e,n){void 0===e&&(e=Zt),void 0===n&&(n=yt.Default),this.assertNotDestroyed();var r,i=te(this);try{if(!(n&yt.SkipSelf)){var o=this.records.get(t);if(void 0===o){var s=("function"==typeof(r=t)||"object"==typeof r&&r instanceof Qt)&&wt(t);o=s&&this.injectableDefInScope(s)?Wo(zo(t),jo):null,this.records.set(t,o)}if(null!=o)return this.hydrate(t,o)}return(n&yt.Self?Ho():this.parent).get(t,e=n&yt.Optional&&e===Zt?null:e)}catch(a){if("NullInjectorError"===a.name){if((a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(Ot(t)),i)throw a;return function(t,e,n,r){var i=t.ngTempTokenPath;throw e.__source&&i.unshift(e.__source),t.message=function(t,e,n,r){void 0===r&&(r=null),t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var i=Ot(e);if(Array.isArray(e))i=e.map(Ot).join(" -> ");else if("object"==typeof e){var o=[];for(var s in e)if(e.hasOwnProperty(s)){var a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Ot(a)))}i="{"+o.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+i+"]: "+t.replace($t,"\n  ")}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(a,t,"R3InjectorError",this.source)}throw a}finally{te(i)}},t.prototype._resolveInjectorDefTypes=function(){var t=this;this.injectorDefTypes.forEach((function(e){return t.get(e)}))},t.prototype.toString=function(){var t=[];return this.records.forEach((function(e,n){return t.push(Ot(n))})),"R3Injector["+t.join(", ")+"]"},t.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e,n){var r=this;if(!(t=It(t)))return!1;var i=Ct(t),o=null==i&&t.ngModule||void 0,s=void 0===o?t:o,a=-1!==n.indexOf(s);if(void 0!==o&&(i=Ct(o)),null==i)return!1;if(null!=i.imports&&!a){var u;n.push(s);try{le(i.imports,(function(t){r.processInjectorType(t,e,n)&&(void 0===u&&(u=[]),u.push(t))}))}finally{}if(void 0!==u)for(var l=function(t){var e=u[t],n=e.ngModule,i=e.providers;le(i,(function(t){return r.processProvider(t,n,i||Vo)}))},c=0;c<u.length;c++)l(c)}this.injectorDefTypes.add(s),this.records.set(s,Wo(i.factory,jo));var h=i.providers;if(null!=h&&!a){var f=t;le(h,(function(t){return r.processProvider(t,f,h)}))}return void 0!==o&&void 0!==t.providers},t.prototype.processProvider=function(t,e,n){var r=Go(t=It(t))?t:It(t&&t.provide),i=function(t,e,n){return qo(t)?Wo(void 0,t.useValue):Wo(Yo(t,e,n),jo)}(t,e,n);if(Go(t)||!0!==t.multi){var o=this.records.get(r);o&&void 0!==o.multi&&Gr()}else{var s=this.records.get(r);s?void 0===s.multi&&Gr():((s=Wo(void 0,jo,!0)).factory=function(){return oe(s.multi)},this.records.set(r,s)),r=t,s.multi.push(t)}this.records.set(r,i)},t.prototype.hydrate=function(t,e){var n;return e.value===Fo?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(Ot(t)):e.value===jo&&(e.value=Fo,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value},t.prototype.injectableDefInScope=function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))},t}();function zo(t){var e=wt(t),n=null!==e?e.factory:Oe(t);if(null!==n)return n;var r=Ct(t);if(null!==r)return r.factory;if(t instanceof Qt)throw new Error("Token "+Ot(t)+" is missing a \u0275prov definition.");if(t instanceof Function)return function(t){var e=t.length;if(e>0){var n=fe(e,"?");throw new Error("Can't resolve all parameters for "+Ot(t)+": ("+n.join(", ")+").")}var r=function(t){var e=t&&(t[kt]||t[Tt]||t[xt]&&t[xt]());if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'+n+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+n+'" class.'),e}return null}(t);return null!==r?function(){return r.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function Yo(t,e,n){var r,i=void 0;if(Go(t)){var o=It(t);return Oe(o)||zo(o)}if(qo(t))i=function(){return It(t.useValue)};else if((r=t)&&r.useFactory)i=function(){return t.useFactory.apply(t,l(oe(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))i=function(){return re(It(t.useExisting))};else{var s=It(t&&(t.useClass||t.provide));if(s||function(t,e,n){var r="";throw t&&e&&(r=" - only instances of Provider and Type are allowed, got: ["+e.map((function(t){return t==n?"?"+n+"?":"..."})).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+Ot(t)+"'"+r)}(e,n,t),!function(t){return!!t.deps}(t))return Oe(s)||zo(s);i=function(){return new(s.bind.apply(s,l([void 0],oe(t.deps))))}}return i}function Wo(t,e,n){return void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function qo(t){return null!==t&&"object"==typeof t&&Jt in t}function Go(t){return"function"==typeof t}var Qo=function(t,e,n){return function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null);var i=Uo(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)},Ko=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?Qo(t,e,""):Qo(t.providers,t.parent,t.name||"")},t.THROW_IF_NOT_FOUND=Zt,t.NULL=new se,t.\u0275prov=_t({token:t,providedIn:"any",factory:function(){return re(Kt)}}),t.__NG_ELEMENT_ID__=-1,t}(),Zo=new Qt("AnalyzeForEntryComponents"),$o=new Map,Jo=new Set;function Xo(t){return"string"==typeof t?t:t.text()}function ts(t,e){for(var n=t.styles,r=t.classes,i=0,o=0;o<e.length;o++){var s=e[o];"number"==typeof s?i=s:1==i?r=Pt(r,s):2==i&&(n=Pt(n,s+": "+e[++o]+";"))}null!==n&&(t.styles=n),null!==r&&(t.classes=r)}var es=null;function ns(){if(!es){var t=Ht.Symbol;if(t&&t.iterator)es=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(es=r)}}return es}function rs(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}var is=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}();function os(t){return!!ss(t)&&(Array.isArray(t)||!(t instanceof Map)&&ns()in t)}function ss(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function as(t,e,n){return t[e]=n}function us(t,e){return t[e]}function ls(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function cs(t,e,n,r){var i=ls(t,e,n);return ls(t,e+1,r)||i}function hs(t,e,n,r,i,o){var s=cs(t,e,n,r);return cs(t,e+2,i,o)||s}function fs(t,e,n,r){var i=He();return ls(i,Ze(),e)&&function(t,e,n,r,i,o,s){var a=jr(t,i),u=i[11];if(null==n)bn(u)?u.removeAttribute(a,e,s):a.removeAttribute(e);else{var l=Vr(r,t),c=null==o?An(n):o(n,l.tagName||"",e);bn(u)?u.setAttribute(a,e,c,s):s?a.setAttributeNS(s,e,c):a.setAttribute(e,c)}}(ln(),t,e,Ue(),i,n,r),fs}function ps(t,e,n,r){return ls(t,Ze(),n)?e+An(n)+r:ii}function ds(t,e,n,r,i,o,s,a){var u=He(),l=Ue(),c=t+19,h=l.firstCreatePass?function(t,e,n,r,i,o,s,a,u){var l=e.consts,c=gi(e,n[6],t,0,s||null,zr(l,a));Oi(e,n,c,zr(l,u)),hn(e,c);var h=c.tViews=Ei(2,-1,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l),f=xi(0,null,2,-1,null,null);return f.injectorIndex=c.injectorIndex,h.node=f,null!==e.queries&&(e.queries.template(e,c),h.queries=e.queries.embeddedTView(c)),c}(t,l,u,e,n,r,i,o,s):l.data[c];Ye(h,!1);var f=u[11].createComment("");go(l,u,f,h),Wr(f,u),Wi(u,u[c]=Ui(f,u,f,h)),Ne(h)&&Si(l,u,h),null!=s&&Ci(u,h,a)}function ms(t,e){void 0===e&&(e=yt.Default);var n=He();return null==n?re(t,e):Wn(ze(),n,It(t),e)}function ys(){throw new Error("invalid")}function gs(t,e,n){var r=He();if(ls(r,Ze(),e)){var i=ln();Di(Ue(),r,i,t,e,n)}return gs}function vs(t,e,n,r,i){var o=i?"class":"style";to(t,n,e.inputs[o],o,r)}function _s(t,e,n,r){var i=He(),o=Ue(),s=19+t,a=i[11],u=i[s]=mi(e,a,Ve.lFrame.currentNamespace),l=o.firstCreatePass?function(t,e,n,r,i,o,s){var a=e.consts,u=zr(a,o),l=gi(e,n[6],t,3,i,u);return Oi(e,n,l,zr(a,s)),null!==l.mergedAttrs&&ts(l,l.mergedAttrs),null!==e.queries&&e.queries.elementStart(e,l),l}(t,o,i,0,e,n,r):o.data[s];Ye(l,!0);var c=l.mergedAttrs;null!==c&&Sn(a,u,c);var h=l.classes;null!==h&&Co(a,u,h);var f=l.styles;null!==f&&So(a,u,f),go(o,i,u,l),0===Ve.lFrame.elementDepthCount&&Wr(u,i),Ve.lFrame.elementDepthCount++,Ne(l)&&(Si(o,i,l),function(t,e,n){if(Ie(e))for(var r=e.directiveEnd,i=e.directiveStart;i<r;i++){var o=t.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}(o,l,i)),null!==r&&Ci(i,l)}function bs(){var t=ze();We()?qe():Ye(t=t.parent,!1);var e=t;Ve.lFrame.elementDepthCount--;var n=Ue();n.firstCreatePass&&(hn(n,t),Ie(t)&&n.queries.elementEnd(t)),null!==e.classes&&function(t){return 0!=(16&t.flags)}(e)&&vs(n,e,He(),e.classes,!0),null!==e.styles&&function(t){return 0!=(32&t.flags)}(e)&&vs(n,e,He(),e.styles,!1)}function ws(t,e,n,r){_s(t,e,n,r),bs()}function Ss(){return He()}function Cs(t){return!!t&&"function"==typeof t.then}function ks(t){return!!t&&"function"==typeof t.subscribe}function Es(t,e,n,r){void 0===n&&(n=!1);var i=He(),o=Ue(),s=ze();return function(t,e,n,r,i,o,s,a){void 0===s&&(s=!1);var u=Ne(r),l=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),c=$i(e),h=!0;if(3===r.type){var f=Fr(r,e),p=a?a(f):ve,d=p.target||f,m=c.length,y=a?function(t){return a(Nr(t[r.index])).target}:r.index;if(bn(n)){var g=null;if(!a&&u&&(g=function(t,e,n,r){var i=t.cleanup;if(null!=i)for(var o=0;o<i.length-1;o+=2){var s=i[o];if(s===n&&i[o+1]===r){var a=e[7],u=i[o+2];return a.length>u?a[u]:null}"string"==typeof s&&(o+=2)}return null}(t,e,i,r.index)),null!==g)(g.__ngLastListenerFn__||g).__ngNextListenerFn__=o,g.__ngLastListenerFn__=o,h=!1;else{o=Ts(r,e,o,!1);var v=n.listen(p.name||d,i,o);c.push(o,v),l&&l.push(i,y,m,m+1)}}else o=Ts(r,e,o,!0),d.addEventListener(i,o,s),c.push(o),l&&l.push(i,y,m,s)}var _,b=r.outputs;if(h&&null!==b&&(_=b[i])){var w=_.length;if(w)for(var S=0;S<w;S+=2){var C=e[_[S]][_[S+1]].subscribe(o),k=c.length;c.push(o,C),l&&l.push(i,r.index,k,-(k+1))}}}(o,i,i[11],s,t,e,n,r),Es}function xs(t,e,n){try{return!1!==e(n)}catch(r){return Xi(t,r),!1}}function Ts(t,e,n,r){return function i(o){if(o===Function)return n;var s=2&t.flags?Lr(t.index,e):e;0==(32&e[2])&&qi(s);for(var a=xs(e,n,o),u=i.__ngNextListenerFn__;u;)a=xs(e,u,o)&&a,u=u.__ngNextListenerFn__;return r&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function Ds(t){return void 0===t&&(t=1),function(t){return(Ve.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Ve.lFrame.contextLView))[8]}(t)}function Os(t,e){for(var n=null,r=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),i=0;i<e.length;i++){var o=e[i];if("*"!==o){if(null===r?ti(t,o,!0):ei(r,o))return i}else n=i}return n}function Ps(t){var e=He()[16][6];if(!e.projection)for(var n=e.projection=fe(t?t.length:1,null),r=n.slice(),i=e.child;null!==i;){var o=t?Os(i,t):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}function As(t,e,n){void 0===e&&(e=0);var r=He(),i=Ue(),o=gi(i,r[6],t,1,null,n||null);null===o.projection&&(o.projection=e),qe(),function(t,e,n){wo(e[11],0,e,n,co(t,n,e),yo(n.parent||e[6],e))}(i,r,o)}var Ms=[];function Is(t,e,n,r,i){for(var o=t[n+1],s=null===e,a=r?li(o):hi(o),u=!1;0!==a&&(!1===u||s);){var l=t[a+1];Rs(t[a],e)&&(u=!0,t[a+1]=r?pi(l):ci(l)),a=r?li(l):hi(l)}u&&(t[n+1]=r?ci(o):pi(o))}function Rs(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&me(t,e)>=0}var Ns={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function js(t){return t.substring(Ns.key,Ns.keyEnd)}function Fs(t,e){var n=Ns.textEnd;return n===e?-1:(e=Ns.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Ns.key=e,n),Vs(t,e,n))}function Vs(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function Ls(t,e,n){return zs(t,e,n,!1),Ls}function Hs(t,e){return zs(t,e,null,!0),Hs}function Us(t){Ys(pe,Bs,t,!0)}function Bs(t,e){for(var n=function(t){return function(t){Ns.key=0,Ns.keyEnd=0,Ns.value=0,Ns.valueEnd=0,Ns.textEnd=t.length}(t),Fs(t,Vs(t,0,Ns.textEnd))}(e);n>=0;n=Fs(e,n))pe(t,js(e),!0)}function zs(t,e,n,r){var i,o=He(),s=Ue(),a=$e(2);if(s.firstUpdatePass&&qs(s,t,a,r),e!==ii&&ls(o,a,e)){var u=void 0;null==n&&(u=null===(i=Ve.lFrame)?null:i.currentSanitizer)&&(n=u),Ks(s,s.data[ln()+19],o,o[11],t,o[a+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=Ot(or(t)))),t}(e,n),r,a)}}function Ys(t,e,n,r){var i=Ue(),o=$e(2);i.firstUpdatePass&&qs(i,null,o,r);var s=He();if(n!==ii&&ls(s,o,n)){var a=i.data[ln()+19];if(Js(a,r)&&!Ws(i,o)){var u=r?a.classes:a.styles;null!==u&&(n=Pt(u,n||"")),vs(i,a,s,n,r)}else!function(t,e,n,r,i,o,s,a){i===ii&&(i=Ms);for(var u=0,l=0,c=0<i.length?i[0]:null,h=0<o.length?o[0]:null;null!==c||null!==h;){var f=u<i.length?i[u+1]:void 0,p=l<o.length?o[l+1]:void 0,d=null,m=void 0;c===h?(u+=2,l+=2,f!==p&&(d=h,m=p)):null===h||null!==c&&c<h?(u+=2,d=c):(l+=2,d=h,m=p),null!==d&&Ks(t,e,n,r,d,m,s,a),c=u<i.length?i[u]:null,h=l<o.length?o[l]:null}}(i,a,s,s[11],s[o+1],s[o+1]=function(t,e,n){if(null==n||""===n)return Ms;var r=[],i=or(n);if(Array.isArray(i))for(var o=0;o<i.length;o++)t(r,i[o],!0);else if("object"==typeof i)for(var s in i)i.hasOwnProperty(s)&&t(r,s,i[s]);else"string"==typeof i&&e(r,i);return r}(t,e,n),r,o)}}function Ws(t,e){return e>=t.expandoStartIndex}function qs(t,e,n,r){var i=t.data;if(null===i[n+1]){var o=i[ln()+19],s=Ws(t,n);Js(o,r)&&null===e&&!s&&(e=!1),e=function(t,e,n,r){var i=function(t){var e=Ve.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t),o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=Qs(n=Gs(null,t,e,n,r),e.attrs,r),o=null);else{var s=e.directiveStylingLast;if(-1===s||t[s]!==i)if(n=Gs(i,t,e,n,r),null===o){var a=function(t,e,n){var r=n?e.classBindings:e.styleBindings;if(0!==hi(r))return t[li(r)]}(t,e,r);void 0!==a&&Array.isArray(a)&&function(t,e,n,r){t[li(n?e.classBindings:e.styleBindings)]=r}(t,e,r,a=Qs(a=Gs(null,t,e,a[1],r),e.attrs,r))}else o=function(t,e,n){for(var r=void 0,i=e.directiveEnd,o=1+e.directiveStylingLast;o<i;o++)r=Qs(r,t[o].hostAttrs,n);return Qs(r,e.attrs,n)}(t,e,r)}return void 0!==o&&(r?e.residualClasses=o:e.residualStyles=o),n}(i,o,e,r),function(t,e,n,r,i,o){var s=o?e.classBindings:e.styleBindings,a=li(s),u=hi(s);t[r]=n;var l,c=!1;if(Array.isArray(n)?(null===(l=n[1])||me(n,l)>0)&&(c=!0):l=n,i)if(0!==u){var h=li(t[a+1]);t[r+1]=ui(h,a),0!==h&&(t[h+1]=fi(t[h+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=ui(a,0),0!==a&&(t[a+1]=fi(t[a+1],r)),a=r;else t[r+1]=ui(u,0),0===a?a=r:t[u+1]=fi(t[u+1],r),u=r;c&&(t[r+1]=ci(t[r+1])),Is(t,l,r,!0),Is(t,l,r,!1),function(t,e,n,r,i){var o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&me(o,e)>=0&&(n[r+1]=pi(n[r+1]))}(e,l,t,r,o),s=ui(a,u),o?e.classBindings=s:e.styleBindings=s}(i,o,e,n,s,r)}}function Gs(t,e,n,r,i){var o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(r=Qs(r,(o=e[a]).hostAttrs,i),o!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function Qs(t,e,n){var r=n?1:2,i=-1;if(null!==e)for(var o=0;o<e.length;o++){var s=e[o];"number"==typeof s?i=s:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),pe(t,s,!!n||e[++o]))}return void 0===t?null:t}function Ks(t,e,n,r,i,o,s,a){if(3===e.type){var u=t.data,l=u[a+1];$s(1==(1&l)?Zs(u,e,n,i,hi(l),s):void 0)||($s(o)||function(t){return 2==(2&t)}(l)&&(o=Zs(u,null,n,i,a,s)),function(t,e,n,r,i){var o=bn(t);if(e)i?o?t.addClass(n,r):n.classList.add(r):o?t.removeClass(n,r):n.classList.remove(r);else{var s=-1==r.indexOf("-")?void 0:2;null==i?o?t.removeStyle(n,r,s):n.style.removeProperty(r):o?t.setStyle(n,r,i,s):n.style.setProperty(r,i)}}(r,s,jr(ln(),n),i,o))}}function Zs(t,e,n,r,i,o){for(var s=null===e,a=void 0;i>0;){var u=t[i],l=Array.isArray(u),c=l?u[1]:u,h=null===c,f=n[i+1];f===ii&&(f=h?Ms:void 0);var p=h?de(f,r):c===r?f:void 0;if(l&&!$s(p)&&(p=de(u,r)),$s(p)&&(a=p,s))return a;var d=t[i+1];i=s?li(d):hi(d)}if(null!==e){var m=o?e.residualClasses:e.residualStyles;null!=m&&(a=de(m,r))}return a}function $s(t){return void 0!==t}function Js(t,e){return 0!=(t.flags&(e?16:32))}function Xs(t,e){void 0===e&&(e="");var n=He(),r=Ue(),i=t+19,o=r.firstCreatePass?gi(r,n[6],t,3,null,null):r.data[i],s=n[i]=function(t,e){return bn(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);go(r,n,s,o),Ye(o,!1)}function ta(t){return ea("",t,""),ta}function ea(t,e,n){var r=He(),i=ps(r,t,e,n);return i!==ii&&function(t,e,n){var r=jr(e,t),i=t[11];bn(i)?i.setValue(r,n):r.textContent=n}(r,ln(),i),ea}function na(t,e,n){var r=He();if(ls(r,Ze(),e)){var i=ln();Di(Ue(),r,i,t,e,n,!0)}return na}function ra(t,e){var n=Hr(t)[1],r=n.data.length-1;hn(n,{directiveStart:r,directiveEnd:r+1})}function ia(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0,r=[t];e;){var i=void 0;if(je(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);var o=t;o.inputs=oa(t.inputs),o.declaredInputs=oa(t.declaredInputs),o.outputs=oa(t.outputs);var s=i.hostBindings;s&&ua(t,s);var a=i.viewQuery,u=i.contentQueries;if(a&&sa(t,a),u&&aa(t,u),vt(t.inputs,i.inputs),vt(t.declaredInputs,i.declaredInputs),vt(t.outputs,i.outputs),je(i)&&i.data.animation){var l=t.data;l.animation=(l.animation||[]).concat(i.data.animation)}o.afterContentChecked=o.afterContentChecked||i.afterContentChecked,o.afterContentInit=t.afterContentInit||i.afterContentInit,o.afterViewChecked=t.afterViewChecked||i.afterViewChecked,o.afterViewInit=t.afterViewInit||i.afterViewInit,o.doCheck=t.doCheck||i.doCheck,o.onDestroy=t.onDestroy||i.onDestroy,o.onInit=t.onInit||i.onInit}var c=i.features;if(c)for(var h=0;h<c.length;h++){var f=c[h];f&&f.ngInherit&&f(t),f===ia&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){for(var e=0,n=null,r=t.length-1;r>=0;r--){var i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=En(i.hostAttrs,n=En(n,i.hostAttrs))}}(r)}function oa(t){return t===ve?{}:t===_e?[]:t}function sa(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,r){e(t,r),n(t,r)}:e}function aa(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,r,i){e(t,r,i),n(t,r,i)}:e}function ua(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,r){e(t,r),n(t,r)}:e}var la=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function ca(t){t.type.prototype.ngOnChanges&&(t.setInput=ha,t.onChanges=function(){var t=fa(this),e=t&&t.current;if(e){var n=t.previous;if(n===ve)t.previous=e;else for(var r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}})}function ha(t,e,n,r){var i=fa(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:ve,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],u=s[a];o[a]=new la(u&&u.currentValue,e,s===ve),t[r]=e}function fa(t){return t.__ngSimpleChanges__||null}function pa(t,e,n,r,i){if(t=It(t),Array.isArray(t))for(var o=0;o<t.length;o++)pa(t[o],e,n,r,i);else{var s=Ue(),a=He(),u=Go(t)?t:It(t.provide),l=Yo(t),c=ze(),h=65535&c.providerIndexes,f=c.directiveStart,p=c.providerIndexes>>16;if(Go(t)||!t.multi){var d=new gn(l,i,ms),m=ya(u,e,i?h:h+p,f);-1===m?(Yn(Hn(c,a),s,u),da(s,t,e.length),e.push(u),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(d),a.push(d)):(n[m]=d,a[m]=d)}else{var y=ya(u,e,h+p,f),g=ya(u,e,h,h+p),v=g>=0&&n[g];i&&!v||!i&&!(y>=0&&n[y])?(Yn(Hn(c,a),s,u),d=function(t,e,n,r,i){var o=new gn(t,n,ms);return o.multi=[],o.index=e,o.componentProviders=0,ma(o,i,r&&!n),o}(i?va:ga,n.length,i,r,l),!i&&v&&(n[g].providerFactory=d),da(s,t,e.length),e.push(u),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(d),a.push(d)):(da(s,t,y>-1?y:g),ma(n[i?g:y],l,!i&&r)),!i&&r&&v&&n[g].componentProviders++}}}function da(t,e,n){if(Go(e)||e.useClass){var r=(e.useClass||e).prototype.ngOnDestroy;r&&(t.destroyHooks||(t.destroyHooks=[])).push(n,r)}}function ma(t,e,n){t.multi.push(e),n&&t.componentProviders++}function ya(t,e,n,r){for(var i=n;i<r;i++)if(e[i]===t)return i;return-1}function ga(t,e,n,r){return _a(this.multi,[])}function va(t,e,n,r){var i,o=this.multi;if(this.providerFactory){var s=this.providerFactory.componentProviders,a=Kn(n,n[1],this.providerFactory.index,r);_a(o,i=a.slice(0,s));for(var u=s;u<a.length;u++)i.push(a[u])}else _a(o,i=[]);return i}function _a(t,e){for(var n=0;n<t.length;n++)e.push((0,t[n])());return e}function ba(t,e){return void 0===e&&(e=[]),function(n){n.providersResolver=function(n,r){return function(t,e,n){var r=Ue();if(r.firstCreatePass){var i=je(t);pa(n,r.data,r.blueprint,i,!0),pa(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}}ca.ngInherit=!0;var wa=function(){return function(){}}(),Sa=function(){return function(){}}(),Ca=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw function(t){var e=Error("No component factory found for "+Ot(t)+". Did you add it to @NgModule.entryComponents?");return e.ngComponent=t,e}(t)},t}(),ka=function(){function t(){}return t.NULL=new Ca,t}(),Ea=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return xa(t)},t}(),xa=function(t){return Oo(t,ze(),He())},Ta=function(){return function(){}}(),Da=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Oa=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Pa()},t}(),Pa=function(){var t=He(),e=Lr(ze().index,t);return function(t){var e=t[11];if(bn(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ae(e)?e:t)},Aa=function(){function t(){}return t.\u0275prov=_t({token:t,providedIn:"root",factory:function(){return null}}),t}(),Ma=new(function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}())("9.0.6"),Ia=function(){function t(){}return t.prototype.supports=function(t){return os(t)},t.prototype.create=function(t){return new Na(t)},t}(),Ra=function(t,e){return e},Na=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ra}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex<La(n,r,i)?e:n,s=La(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);var u=s-r,l=a-r;if(u!=l){for(var c=0;c<u;c++){var h=c<i.length?i[c]:i[c]=0,f=h+c;l<=f&&f<u&&(i[c]=h+1)}i[o.previousIndex]=l-u}}s!==a&&t(o,s,a)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!os(t))throw new Error("Error trying to diff '"+Ot(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,i,o=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(var a=0;a<this.length;a++)i=this._trackByFn(a,r=t[a]),null!==o&&rs(o.trackById,i)?(s&&(o=this._verifyReinsertion(o,r,i,a)),rs(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,a),s=!0),o=o._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[ns()](),i=void 0;!(i=r.next()).done;)e(i.value)}(t,(function(t){i=e._trackByFn(n,t),null!==o&&rs(o.trackById,i)?(s&&(o=e._verifyReinsertion(o,t,i,n)),rs(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,i,n),s=!0),o=o._next,n++})),this.length=n;return this._truncate(o),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(rs(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(rs(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new ja(e,n),i,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Va),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Va),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),ja=function(){return function(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),Fa=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&rs(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),Va=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Fa,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function La(t,e,n){var r=t.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+e+i}var Ha=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||ss(t)},t.prototype.create=function(){return new Ua},t}(),Ua=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||ss(t)))throw new Error("Error trying to diff '"+Ot(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var i=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,i)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new Ba(t);return this._records.set(t,o),o.currentValue=e,this._addToAdditions(o),o},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){rs(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach((function(n){return e(t[n],n)}))},t}(),Ba=function(){return function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),za=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new mt,new pt]]}},t.prototype.find=function(t){var e,n=this.factories.find((function(e){return e.supports(t)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t.\u0275prov=_t({token:t,providedIn:"root",factory:function(){return new t([new Ia])}}),t}(),Ya=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new mt,new pt]]}},t.prototype.find=function(t){var e=this.factories.find((function(e){return e.supports(t)}));if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t.\u0275prov=_t({token:t,providedIn:"root",factory:function(){return new t([new Ha])}}),t}(),Wa=[new Ha],qa=new za([new Ia]),Ga=new Ya(Wa),Qa=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Ka(t,Ea)},t}(),Ka=function(t,e){return Po(t,e,ze(),He())},Za=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return $a(t,Ea)},t}(),$a=function(t,e){return Ao(t,e,ze(),He())},Ja={},Xa=function(t){function e(e){var n=t.call(this)||this;return n.ngModule=e,n}return i(e,t),e.prototype.resolveComponentFactory=function(t){var e=De(t);return new nu(e,this.ngModule)},e}(ka);function tu(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var eu=new Qt("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return In}}),nu=function(t){function e(e,n){var r=t.call(this)||this;return r.componentDef=e,r.ngModule=n,r.componentType=e.type,r.selector=e.selectors.map(ri).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!n,r}return i(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return tu(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return tu(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){var i,o,s=(r=r||this.ngModule)?function(t,e){return{get:function(n,r,i){var o=t.get(n,Ja,i);return o!==Ja||r===Ja?o:e.get(n,r,i)}}}(t,r.injector):t,a=s.get(Ta,wn),u=s.get(Aa,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",h=n?function(t,e,n){if(bn(t))return t.selectRootElement(e,n===ge.ShadowDom);var r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(l,n,this.componentDef.encapsulation):mi(c,a.createRenderer(null,this.componentDef),function(t){var e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(c)),f=this.componentDef.onPush?576:528,p="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d={components:[],scheduler:In,clean:Zi,playerHandler:null,flags:0},m=Ei(0,-1,null,1,0,null,null,null,null,null),y=yi(null,m,d,f,null,null,a,l,u,s);nn(y,null);try{var g=function(t,e,n,r,i,o){var s=n[1];n[19]=t;var a=gi(s,null,0,3,null,null),u=a.mergedAttrs=e.hostAttrs;null!==u&&(ts(a,u),null!==t&&(Sn(i,t,u),null!==a.classes&&Co(i,t,a.classes),null!==a.styles&&So(i,t,a.styles)));var l=r.createRenderer(t,e),c=yi(n,ki(e),null,e.onPush?64:16,n[19],a,r,l,void 0);return s.firstCreatePass&&(Yn(Hn(a,n),s,e.type),Ri(s,a),ji(a,n.length,1)),Wi(n,c),n[19]=c}(h,this.componentDef,y,a,l);if(h)if(n)Sn(l,h,["ng-version",Ma.full]);else{var v=function(t){for(var e=[],n=[],r=1,i=2;r<t.length;){var o=t[r];if("string"==typeof o)2===i?""!==o&&e.push(o,t[++r]):8===i&&n.push(o);else{if(!Jr(i))break;i=o}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]),_=v.attrs,b=v.classes;_&&Sn(l,h,_),b&&b.length>0&&Co(l,h,b.join(" "))}o=Vr(y[1],0),e&&(o.projection=e.map((function(t){return Array.from(t)}))),i=function(t,e,n,r,i){var o=n[1],s=function(t,e,n){var r=ze();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ii(t,r,1),Fi(t,e,n));var i=Kn(e,t,e.length-1,r);Wr(i,e);var o=Fr(r,e);return o&&Wr(o,e),i}(o,n,e);r.components.push(s),t[8]=s,i&&i.forEach((function(t){return t(s,e)})),e.contentQueries&&e.contentQueries(1,s,n.length-1);var a=ze();if(o.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){cn(a.index-19);var u=n[1];Pi(u,e),Ai(u,n,e.hostVars),Mi(e,s)}return s}(g,this.componentDef,y,d,[ra]),vi(m,y,null)}finally{un()}var w=new ru(this.componentType,i,Oo(Ea,o,y),y,o);return n&&!p||(w.hostView._tViewNode.child=o),w},e}(Sa),ru=function(t){function e(e,n,r,i,o){var s,a,u,l=t.call(this)||this;return l.location=r,l._rootLView=i,l._tNode=o,l.destroyCbs=[],l.instance=n,l.hostView=l.changeDetectorRef=new Do(i),l.hostView._tViewNode=(null,-1,a=i,null==(u=(s=i[1]).node)&&(s.node=u=xi(0,null,2,-1,null,null)),a[6]=u),l.componentType=e,l}return i(e,t),Object.defineProperty(e.prototype,"injector",{get:function(){return new Jn(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs&&(this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())},e.prototype.onDestroy=function(t){this.destroyCbs&&this.destroyCbs.push(t)},e}(wa),iu=void 0,ou=["en",[["a","p"],["AM","PM"],iu],[["AM","PM"],iu,iu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],iu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],iu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",iu,"{1} 'at' {0}",iu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],su={};function au(t){return t in su||(su[t]=Ht.ng&&Ht.ng.common&&Ht.ng.common.locales&&Ht.ng.common.locales[t]),su[t]}var uu=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.PluralCase=19]="PluralCase",t[t.ExtraData=20]="ExtraData",t}({});function lu(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+" [Expected=> null != "+e+" <=Actual]")}(n,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}var cu=new Map,hu=function(t){function e(e,n){var r=t.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[],r.componentFactoryResolver=new Xa(r);var i=Pe(e),o=e[Wt]||null;return o&&lu(o),r._bootstrapComponents=jn(i.bootstrap),r._r3Injector=Uo(e,n,[{provide:ae,useValue:r},{provide:ka,useValue:r.componentFactoryResolver}],Ot(e)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(e),r}return i(e,t),e.prototype.get=function(t,e,n){return void 0===e&&(e=Ko.THROW_IF_NOT_FOUND),void 0===n&&(n=yt.Default),t===Ko||t===ae||t===Kt?this:this._r3Injector.get(t,e,n)},e.prototype.destroy=function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(ae),fu=function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,null!==Pe(e)&&function t(e){if(null!==e.\u0275mod.id){var n=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for "+t+" - "+Ot(e)+" vs "+Ot(e.name))})(n,cu.get(n),e),cu.set(n,e)}var r=e.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(e){return t(e)}))}(e),n}return i(e,t),e.prototype.create=function(t){return new hu(this.moduleType,t)},e}(ue);function pu(t,e,n){var r=Ke()+t,i=He();return i[r]===ii?as(i,r,n?e.call(n):e()):us(i,r)}function du(t,e,n,r){return gu(He(),Ke(),t,e,n,r)}function mu(t,e,n,r,i){return function(t,e,n,r,i,o,s){var a=e+n;return cs(t,a,i,o)?as(t,a+2,s?r.call(s,i,o):r(i,o)):us(t,a+2)}(He(),Ke(),t,e,n,r,i)}function yu(t,e,n,r,i,o,s){return function(t,e,n,r,i,o,s,a,u){var l=e+n;return hs(t,l,i,o,s,a)?as(t,l+4,u?r.call(u,i,o,s,a):r(i,o,s,a)):us(t,l+4)}(He(),Ke(),t,e,n,r,i,o,s)}function gu(t,e,n,r,i,o){var s=e+n;return ls(t,s,i)?as(t,s+1,o?r.call(o,i):r(i)):us(t,s+1)}function vu(t,e){var n,r=Ue(),i=t+19;r.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var r=e[n];if(t===r.name)return r}throw new Error("The pipe '"+t+"' could not be found!")}(e,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=Oe(n.type)),s=ee(ms),a=o();return ee(s),function(t,e,n,r){var i=n+19;i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=r}(r,He(),t,a),a}function _u(t,e,n){var r=He(),i=function(t,e){return t[e+19]}(r,t);return function(t,e){return is.isWrapped(e)&&(e=is.unwrap(e),t[Ve.lFrame.bindingIndex]=ii),e}(r,function(t,e){return t[1].data[e+19].pure}(r,t)?gu(r,Ke(),e,i.transform,n,i):i.transform(n))}var bu=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return i(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},s=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&&(s=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout((function(){return n(t)}))}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var a=t.prototype.subscribe.call(this,i,o,s);return e instanceof d&&e.add(a),a},e}(M);function wu(){return this._results[ns()]()}var Su=function(){function t(){this.dirty=!0,this._results=[],this.changes=new bu,this.length=0;var e=ns(),n=t.prototype;n[e]||(n[e]=wu)}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e,n){void 0===n&&(n=e);for(var r=0;r<e.length;r++){var i=e[r];Array.isArray(i)?(n===e&&(n=e.slice(0,r)),t(i,n)):n!==e&&n.push(i)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Cu=function(){function t(t){this.queryList=t,this.matches=null}return t.prototype.clone=function(){return new t(this.queryList)},t.prototype.setDirty=function(){this.queryList.setDirty()},t}(),ku=function(){function t(t){void 0===t&&(t=[]),this.queries=t}return t.prototype.createEmbeddedView=function(e){var n=e.queries;if(null!==n){for(var r=null!==e.contentQueries?e.contentQueries[0]:n.length,i=[],o=0;o<r;o++){var s=n.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new t(i)}return null},t.prototype.insertView=function(t){this.dirtyQueriesWithMatches(t)},t.prototype.detachView=function(t){this.dirtyQueriesWithMatches(t)},t.prototype.dirtyQueriesWithMatches=function(t){for(var e=0;e<this.queries.length;e++)null!==Au(t,e).matches&&this.queries[e].setDirty()},t}(),Eu=function(){return function(t,e,n,r){void 0===r&&(r=null),this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}(),xu=function(){function t(t){void 0===t&&(t=[]),this.queries=t}return t.prototype.elementStart=function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)},t.prototype.elementEnd=function(t){for(var e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)},t.prototype.embeddedTView=function(e){for(var n=null,r=0;r<this.length;r++){var i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(e,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new t(n):null},t.prototype.template=function(t,e){for(var n=0;n<this.queries.length;n++)this.queries[n].template(t,e)},t.prototype.getByIndex=function(t){return this.queries[t]},Object.defineProperty(t.prototype,"length",{get:function(){return this.queries.length},enumerable:!0,configurable:!0}),t.prototype.track=function(t){this.queries.push(t)},t}(),Tu=function(){function t(t,e){void 0===e&&(e=-1),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}return t.prototype.elementStart=function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)},t.prototype.elementEnd=function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)},t.prototype.template=function(t,e){this.elementStart(t,e)},t.prototype.embeddedTView=function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null},t.prototype.isApplyingToNode=function(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode},t.prototype.matchTNode=function(t,e){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,r=0;r<n.length;r++)this.matchTNodeWithReadOption(t,e,Du(e,n[r]));else{var i=this.metadata.predicate;i===Qa?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Qn(e,t,i,!1,!1))}},t.prototype.matchTNodeWithReadOption=function(t,e,n){if(null!==n){var r=this.metadata.read;if(null!==r)if(r===Ea||r===Za||r===Qa&&0===e.type)this.addMatch(e.index,-2);else{var i=Qn(e,t,r,!1,!1);null!==i&&this.addMatch(e.index,i)}else this.addMatch(e.index,n)}},t.prototype.addMatch=function(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)},t}();function Du(t,e){var n=t.localNames;if(null!==n)for(var r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function Ou(t,e,n,r){return-1===n?function(t,e){return 3===t.type||4===t.type?Oo(Ea,t,e):0===t.type?Po(Qa,Ea,t,e):null}(e,t):-2===n?function(t,e,n){return n===Ea?Oo(Ea,e,t):n===Qa?Po(Qa,Ea,e,t):n===Za?Ao(Za,Ea,e,t):void 0}(t,e,r):Kn(t,t[1],n,e)}function Pu(t,e,n,r){var i=e[5].queries[r];if(null===i.matches){for(var o=t.data,s=n.matches,a=[],u=0;u<s.length;u+=2){var l=s[u];a.push(l<0?null:Ou(e,o[l],s[u+1],n.metadata.read))}i.matches=a}return i.matches}function Au(t,e){return t.queries.getByIndex(e)}var Mu=new Qt("Application Initializer"),Iu=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(t,n){e.resolve=t,e.reject=n}))}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();Cs(i)&&e.push(i)}Promise.all(e).then((function(){n()})).catch((function(e){t.reject(e)})),0===e.length&&n(),this.initialized=!0}},t.\u0275fac=function(e){return new(e||t)(re(Mu,8))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Ru=new Qt("AppId"),Nu={provide:Ru,useFactory:function(){return""+ju()+ju()+ju()},deps:[]};function ju(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Fu=new Qt("Platform Initializer"),Vu=new Qt("Platform ID"),Lu=new Qt("appBootstrapListener"),Hu=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Uu=new Qt("LocaleId"),Bu=new Qt("DefaultCurrencyCode"),zu=function(){return function(t,e){this.ngModuleFactory=t,this.componentFactories=e}}(),Yu=function(t){return new fu(t)},Wu=Yu,qu=function(t){return Promise.resolve(Yu(t))},Gu=function(t){var e=Yu(t),n=jn(Pe(t).declarations).reduce((function(t,e){var n=De(e);return n&&t.push(new nu(n)),t}),[]);return new zu(e,n)},Qu=Gu,Ku=function(t){return Promise.resolve(Gu(t))},Zu=function(){function t(){this.compileModuleSync=Wu,this.compileModuleAsync=qu,this.compileModuleAndAllComponentsSync=Qu,this.compileModuleAndAllComponentsAsync=Ku}return t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),$u=new Qt("compilerOptions"),Ju=function(){return Promise.resolve(0)}();function Xu(t){"undefined"==typeof Zone?Ju.then((function(){t&&t.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}var tl=function(){function t(t){var e,n,r=t.enableLongStackTrace,i=void 0!==r&&r,o=t.shouldCoalesceEventChangeDetection,s=void 0!==o&&o;if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bu(!1),this.onMicrotaskEmpty=new bu(!1),this.onStable=new bu(!1),this.onError=new bu(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=s,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var t=Ht.requestAnimationFrame,e=Ht.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){var n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);var r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,n=!!(e=this).shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&function(){!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ht,(function(){t.lastRequestAnimationFrameId=-1,il(t),rl(t)})),il(t))}(e)},e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:n},onInvokeTask:function(t,r,i,o,s,a){try{return ol(e),t.invokeTask(i,o,s,a)}finally{n&&"eventTask"===o.type&&n(),sl(e)}},onInvoke:function(t,n,r,i,o,s,a){try{return ol(e),t.invoke(r,i,o,s,a)}finally{sl(e)}},onHasTask:function(t,n,r,i){t.hasTask(r,i),n===r&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,il(e),rl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:function(t,n,r,i){return t.handleError(r,i),e.runOutsideAngular((function(){return e.onError.emit(i)})),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,nl,el,el);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function el(){}var nl={};function rl(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular((function(){return t.onStable.emit(null)}))}finally{t.isStable=!0}}}function il(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function ol(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function sl(t){t._nesting--,rl(t)}var al,ul=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bu,this.onMicrotaskEmpty=new bu,this.onStable=new bu,this.onError=new bu}return t.prototype.run=function(t,e,n){return t.apply(e,n)},t.prototype.runGuarded=function(t,e,n){return t.apply(e,n)},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t,e,n,r){return t.apply(e,n)},t}(),ll=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.subscribe({next:function(){tl.assertNotInAngularZone(),Xu((function(){t._isZoneStable=!0,t._runCallbacksIfReady()}))}})}))},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())Xu((function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1}));else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)})),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}})):[]},t.prototype.addCallback=function(t,e,n){var r=this,i=-1;e&&e>0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(t){return t.timeoutId!==i})),t(r._didWork,r.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t.\u0275fac=function(e){return new(e||t)(re(tl))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),cl=function(){function t(){this._applications=new Map,hl.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),hl.findTestabilityInTree(this,t,e)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),hl=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),fl=function(t,e,n){var r=new fu(n);if(0===$o.size)return Promise.resolve(r);var i,o,s=(i=t.get($u,[]).concat(e).map((function(t){return t.providers})),o=[],i.forEach((function(t){return t&&o.push.apply(o,l(t))})),o);if(0===s.length)return Promise.resolve(r);var a=function(){var t=Ht.ng;if(!t||!t.\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 t.\u0275compilerFacade}(),u=Ko.create({providers:s}).get(a.ResourceLoader);return function(t){var e=[],n=new Map;function r(t){var e=n.get(t);if(!e){var r=function(t){return Promise.resolve(u.get(t))}(t);n.set(t,e=r.then(Xo))}return e}return $o.forEach((function(t,n){var i=[];t.templateUrl&&i.push(r(t.templateUrl).then((function(e){t.template=e})));var o=t.styleUrls,s=t.styles||(t.styles=[]),a=t.styles.length;o&&o.forEach((function(e,n){s.push(""),i.push(r(e).then((function(r){s[a+n]=r,o.splice(o.indexOf(e),1),0==o.length&&(t.styleUrls=void 0)})))}));var u=Promise.all(i).then((function(){return function(t){Jo.delete(t)}(n)}));e.push(u)})),$o=new Map,Promise.all(e).then((function(){}))}().then((function(){return r}))},pl=new Qt("AllowMultipleToken"),dl=function(){return function(t,e){this.name=t,this.token=e}}();function ml(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new Qt(r);return function(e){void 0===e&&(e=[]);var o=yl();if(!o||o.injector.get(pl,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var s=n.concat(e).concat({provide:i,useValue:!0},{provide:No,useValue:"platform"});!function(t){if(al&&!al.destroyed&&!al.injector.get(pl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");al=t.get(gl);var e=t.get(Fu,null);e&&e.forEach((function(t){return t()}))}(Ko.create({providers:s,name:r}))}return function(t){var e=yl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function yl(){return al&&!al.destroyed?al:null}var gl=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r,i=this,o=(r=e&&e.ngZoneEventCoalescing||!1,"noop"===(n=e?e.ngZone:void 0)?new ul:("zone.js"===n?void 0:n)||new tl({enableLongStackTrace:lr(),shouldCoalesceEventChangeDetection:r})),s=[{provide:tl,useValue:o}];return o.run((function(){var e=Ko.create({providers:s,parent:i.injector,name:t.moduleType.name}),n=t.create(e),r=n.injector.get(rr,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return bl(i._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(t){r.handleError(t)}})})),function(t,e,r){try{var o=((s=n.injector.get(Iu)).runInitializers(),s.donePromise.then((function(){return lu(n.injector.get(Uu,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return Cs(o)?o.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):o}catch(a){throw e.runOutsideAngular((function(){return t.handleError(a)})),a}var s}(r,o)}))},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=vl({},e);return fl(this.injector,r,t).then((function(t){return n.bootstrapModuleFactory(t,r)}))},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(_l);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Ot(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.\u0275fac=function(e){return new(e||t)(re(Ko))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function vl(t,e){return Array.isArray(e)?e.reduce(vl,t):o(o({},t),e)}var _l=function(){function t(t,e,n,r,i,o){var s=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=lr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var a=new T((function(t){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){t.next(s._stable),t.complete()}))})),u=new T((function(t){var e;s._zone.runOutsideAngular((function(){e=s._zone.onStable.subscribe((function(){tl.assertNotInAngularZone(),Xu((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,t.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){tl.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=et(a,u.pipe((function(t){return nt()((e=ut,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,st);return r.source=t,r.subjectFactory=n,r})(t));var e})))}return t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Sa?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(ae),o=n.create(Ko.NULL,[],e||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var s=o.injector.get(ll,null);return s&&o.injector.get(cl).registerApplication(o.location.nativeElement,s),this._loadComponent(o),lr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t,e,n,r,i=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;try{for(var o=a(this._views),s=o.next();!s.done;s=o.next())s.value.detectChanges()}catch(c){t={error:c}}finally{try{s&&!s.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}if(this._enforceNoNewChanges)try{for(var u=a(this._views),l=u.next();!l.done;l=u.next())l.value.checkNoChanges()}catch(h){n={error:h}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}catch(f){this._zone.runOutsideAngular((function(){return i._exceptionHandler.handleError(f)}))}finally{this._runningTick=!1}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;bl(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Lu,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),bl(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(t){return t.destroy()}))},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t.\u0275fac=function(e){return new(e||t)(re(tl),re(Hu),re(Ko),re(rr),re(ka),re(Iu))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function bl(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var wl=function(){return function(){}}(),Sl=function(){return function(){}}(),Cl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},kl=function(){function t(t,e){this._compiler=t,this._config=e||Cl}return t.prototype.load=function(t){return this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=u(t.split("#"),2),i=r[0],o=r[1];return void 0===o&&(o="default"),n("crnd")(i).then((function(t){return t[o]})).then((function(t){return El(t,i,o)})).then((function(t){return e._compiler.compileModuleAsync(t)}))},t.prototype.loadFactory=function(t){var e=u(t.split("#"),2),r=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(t){return t[i+o]})).then((function(t){return El(t,r,i)}))},t.\u0275fac=function(e){return new(e||t)(re(Zu),re(Sl,8))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function El(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var xl=ml(null,"core",[{provide:Vu,useValue:"unknown"},{provide:gl,deps:[Ko]},{provide:cl,deps:[]},{provide:Hu,deps:[]}]),Tl=[{provide:_l,useClass:_l,deps:[tl,Hu,Ko,rr,ka,Iu]},{provide:eu,deps:[tl],useFactory:function(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}},{provide:Iu,useClass:Iu,deps:[[new pt,Mu]]},{provide:Zu,useClass:Zu,deps:[]},Nu,{provide:za,useFactory:function(){return qa},deps:[]},{provide:Ya,useFactory:function(){return Ga},deps:[]},{provide:Uu,useFactory:function(t){return lu(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new ft(Uu),new pt,new mt]]},{provide:Bu,useValue:"USD"}],Dl=function(){function t(t){}return t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)(re(_l))},providers:Tl}),t}(),Ol=null;function Pl(){return Ol}var Al=function(){return function(){}}(),Ml=new Qt("DocumentToken"),Il=function(){function t(){}return t.\u0275prov=_t({factory:Rl,token:t,providedIn:"platform"}),t.\u0275fac=function(e){return new(e||t)},t}();function Rl(){return re(jl)}var Nl=new Qt("Location Initialized"),jl=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return i(e,t),e.prototype._init=function(){this.location=Pl().getLocation(),this._history=Pl().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return Pl().getBaseHref(this._doc)},e.prototype.onPopState=function(t){Pl().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){Pl().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){Fl()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){Fl()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.prototype.getState=function(){return this._history.state},e.\u0275prov=_t({factory:Vl,token:e,providedIn:"platform"}),e.\u0275fac=function(t){return new(t||e)(re(Ml))},e}(Il);function Fl(){return!!window.history.pushState}function Vl(){return new jl(re(Ml))}function Ll(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function Hl(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function Ul(t){return t&&"?"!==t[0]?"?"+t:t}var Bl=function(){function t(){}return t.\u0275prov=_t({factory:zl,token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)},t}();function zl(t){var e=re(Ml).location;return new Wl(re(Il),e&&e.origin||"")}var Yl=new Qt("appBaseHref"),Wl=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return i(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return Ll(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Ul(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Ul(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Ul(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.\u0275fac=function(t){return new(t||e)(re(Il),re(Yl,8))},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(Bl),ql=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return i(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=Ll(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Ul(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Ul(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e.\u0275fac=function(t){return new(t||e)(re(Il),re(Yl,8))},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(Bl),Gl=function(){function t(t,e){var n=this;this._subject=new bu,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Hl(Kl(r)),this._platformStrategy.onPopState((function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})}))}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.getState=function(){return this._platformLocation.getState()},t.prototype.isCurrentPathEqualTo=function(t,e){return void 0===e&&(e=""),this.path()==this.normalize(t+Ul(e))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Kl(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ul(e)),n)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ul(e)),n)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.onUrlChange=function(t){var e=this;this._urlChangeListeners.push(t),this.subscribe((function(t){e._notifyUrlChangeListeners(t.url,t.state)}))},t.prototype._notifyUrlChangeListeners=function(t,e){void 0===t&&(t=""),this._urlChangeListeners.forEach((function(n){return n(t,e)}))},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=Ul,t.joinWithSlash=Ll,t.stripTrailingSlash=Hl,t.\u0275prov=_t({factory:Ql,token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(re(Bl),re(Il))},t}();function Ql(){return new Gl(re(Bl),re(Il))}function Kl(t){return t.replace(/\/index.html$/,"")}var Zl=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),$l=function(){return function(){}}(),Jl=function(t){function e(e){var n=t.call(this)||this;return n.locale=e,n}return i(e,t),e.prototype.getPluralCategory=function(t,e){switch(function(t){return function(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=au(e);if(n)return n;var r=e.split("-")[0];if(n=au(r))return n;if("en"===r)return ou;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[uu.PluralCase]}(e||this.locale)(t)){case Zl.Zero:return"zero";case Zl.One:return"one";case Zl.Two:return"two";case Zl.Few:return"few";case Zl.Many:return"many";default:return"other"}},e.\u0275fac=function(t){return new(t||e)(re(Uu))},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}}),e}($l);function Xl(t,e){var n,r;e=encodeURIComponent(e);try{for(var i=a(t.split(";")),o=i.next();!o.done;o=i.next()){var s=o.value,l=s.indexOf("="),c=u(-1==l?[s,""]:[s.slice(0,l),s.slice(l+1)],2),h=c[1];if(c[0].trim()===e)return decodeURIComponent(h)}}catch(f){n={error:f}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var tc=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(os(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){t.previousValue&&e._toggleClass(t.key,!1)}))},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem((function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Ot(t.item));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!0)})):Object.keys(t).forEach((function(n){return e._toggleClass(n,!!t[n])})))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!1)})):Object.keys(t).forEach((function(t){return e._toggleClass(t,!1)})))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach((function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)}))},t.\u0275fac=function(e){return new(e||t)(ms(za),ms(Ya),ms(Ea),ms(Oa))},t.\u0275dir=Te({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),ec=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),nc=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){lr()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation((function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new ec(null,e._ngForOf,-1,-1),null===i?void 0:i),s=new rc(t,o);n.push(s)}else null==i?e._viewContainer.remove(null===r?void 0:r):null!==r&&(o=e._viewContainer.get(r),e._viewContainer.move(o,i),s=new rc(t,o),n.push(s))}));for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var i=this._viewContainer.length;r<i;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=i,o.context.ngForOf=this._ngForOf}t.forEachIdentityChange((function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item}))},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.ngTemplateContextGuard=function(t,e){return!0},t.\u0275fac=function(e){return new(e||t)(ms(Za),ms(Qa),ms(za))},t.\u0275dir=Te({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t}(),rc=function(){return function(t,e){this.record=t,this.view=e}}(),ic=function(){function t(t,e){this._viewContainer=t,this._context=new oc,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){sc("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){sc("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t.ngTemplateContextGuard=function(t,e){return!0},t.\u0275fac=function(e){return new(e||t)(ms(Za),ms(Qa))},t.\u0275dir=Te({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t}(),oc=function(){return function(){this.$implicit=null,this.ngIf=null}}();function sc(t,e){if(e&&!e.createEmbeddedView)throw new Error(t+" must be a TemplateRef, but received '"+Ot(e)+"'.")}var ac,uc=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}return t.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},t.prototype.enforceState=function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()},t}(),lc=function(){function t(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),t.prototype._addCase=function(){return this._caseCount++},t.prototype._addDefault=function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)},t.prototype._matchCase=function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},t.prototype._updateDefaultCases=function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}},t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Te({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t}(),cc=function(){function t(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new uc(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t.\u0275fac=function(e){return new(e||t)(ms(Za),ms(Qa),ms(lc,1))},t.\u0275dir=Te({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t}(),hc=function(){function t(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}return Object.defineProperty(t.prototype,"ngStyle",{set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}},t.prototype._setStyle=function(t,e){var n=u(t.split("."),2),r=n[0],i=n[1];null!=(e=null!=e&&i?""+e+i:e)?this._renderer.setStyle(this._ngEl.nativeElement,r,e):this._renderer.removeStyle(this._ngEl.nativeElement,r)},t.prototype._applyChanges=function(t){var e=this;t.forEachRemovedItem((function(t){return e._setStyle(t.key,null)})),t.forEachAddedItem((function(t){return e._setStyle(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._setStyle(t.key,t.currentValue)}))},t.\u0275fac=function(e){return new(e||t)(ms(Ea),ms(Ya),ms(Oa))},t.\u0275dir=Te({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t}(),fc=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),pc=new(function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,(function(t){throw t}))},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}()),dc=new fc,mc=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var e,n;return e=t,t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):rs(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,is.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,(function(n){return e._updateLatestValue(t,n)}))},t.prototype._selectStrategy=function(t){if(Cs(t))return pc;if(ks(t))return dc;throw Error("InvalidPipeArgument: '"+t+"' for pipe '"+Ot(e)+"'")},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t.\u0275fac=function(e){return new(e||t)(function(t){void 0===t&&(t=yt.Default);var e=Mo(!0);if(null!=e||t&yt.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}())},t.\u0275pipe={type:(n={name:"async",type:t,pure:!1}).type,name:n.name,factory:null,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null},t}(),yc=function(){function t(){}return t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},providers:[{provide:$l,useClass:Jl}]}),t}(),gc=function(){function t(){}return t.\u0275prov=_t({token:t,providedIn:"root",factory:function(){return new vc(re(Ml),window,re(rr))}}),t}(),vc=function(){function t(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}(),_c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.makeCurrent=function(){var t;t=new e,Ol||(Ol=t)},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.getValue=function(t){return t.value},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=bc||(bc=document.querySelector("base"))?bc.getAttribute("href"):null;return null==n?null:(e=n,ac||(ac=document.createElement("a")),ac.setAttribute("href",e),"/"===ac.pathname.charAt(0)?ac.pathname:"/"+ac.pathname)},e.prototype.resetBaseElement=function(){bc=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return Xl(document.cookie,t)},e}(function(t){function e(){return t.call(this)||this}return i(e,t),e.prototype.supportsDOMEvents=function(){return!0},e}(Al)),bc=null,wc=new Qt("TRANSITION_ID"),Sc=[{provide:Mu,useFactory:function(t,e,n){return function(){n.get(Iu).donePromise.then((function(){var n=Pl();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter((function(e){return e.getAttribute("ng-transition")===t})).forEach((function(t){return n.remove(t)}))}))}},deps:[wc,Ml,Ko],multi:!0}],Cc=function(){function t(){}return t.init=function(){var e;e=new t,hl=e},t.prototype.addToWindow=function(t){Ht.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ht.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Ht.getAllAngularRootElements=function(){return t.getAllRootElements()},Ht.frameworkStabilizers||(Ht.frameworkStabilizers=[]),Ht.frameworkStabilizers.push((function(t){var e=Ht.getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,0==--n&&t(r)};e.forEach((function(t){t.whenStable(i)}))}))},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?Pl().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null},t}(),kc=new Qt("EventManagerPlugins"),Ec=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach((function(t){return t.manager=n})),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(t))return this._eventNameToPlugin.set(t,i),i}throw new Error("No event manager plugin found for event "+t)},t.\u0275fac=function(e){return new(e||t)(re(kc),re(tl))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),xc=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=Pl().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),Tc=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach((function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))})),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Dc=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return i(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach((function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))}))},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach((function(n){return e._addStylesToHost(t,n)}))},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach((function(t){return Pl().remove(t)}))},e.\u0275fac=function(t){return new(t||e)(re(Ml))},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(Tc),Oc={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Pc=/%COMP%/g;function Ac(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];Array.isArray(i)?Ac(t,i,n):(i=i.replace(Pc,t),n.push(i))}return n}function Mc(t){return function(e){if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var Ic=function(){function t(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Rc(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case ge.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new Nc(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case ge.Native:case ge.ShadowDom:return new jc(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=Ac(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t.\u0275fac=function(e){return new(e||t)(re(Ec),re(Dc),re(Ru))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Rc=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(Oc[e]||e,t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var i=Oc[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=Oc[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&Da.DashCase?t.style.setProperty(e,n,r&Da.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&Da.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Mc(n)):this.eventManager.addEventListener(t,e,Mc(n))},t}(),Nc=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;o.component=r;var s=Ac(i+"-"+r.id,r.styles,[]);return n.addStyles(s),o.contentAttr="_ngcontent-%COMP%".replace(Pc,i+"-"+r.id),o.hostAttr=function(t){return"_nghost-%COMP%".replace(Pc,t)}(i+"-"+r.id),o}return i(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(Rc),jc=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;o.sharedStylesHost=n,o.hostEl=r,o.component=i,o.shadowRoot=i.encapsulation===ge.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),o.sharedStylesHost.addHost(o.shadowRoot);for(var s=Ac(i.id,i.styles,[]),a=0;a<s.length;a++){var u=document.createElement("style");u.textContent=s[a],o.shadowRoot.appendChild(u)}return o}return i(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(Rc),Fc=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this;return t.addEventListener(e,n,!1),function(){return r.removeEventListener(t,e,n)}},e.prototype.removeEventListener=function(t,e,n){return t.removeEventListener(e,n)},e.\u0275fac=function(t){return new(t||e)(re(Ml))},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(xc),Vc=["alt","control","meta","shift"],Lc={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Hc={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Uc={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Bc=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var i=n.parseEventName(e),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Pl().onAndCancel(t,i.domEventName,o)}))},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(e.pop()),o="";if(Vc.forEach((function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")})),o+=i,0!=e.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Hc.hasOwnProperty(e)&&(e=Hc[e]))}return Lc[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Vc.forEach((function(r){r!=n&&(0,Uc[r])(t)&&(e+=r+".")})),e+=n},e.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded((function(){return e(i)}))}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e.\u0275fac=function(t){return new(t||e)(re(Ml))},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(xc),zc=ml(xl,"browser",[{provide:Vu,useValue:"browser"},{provide:Fu,useValue:function(){_c.makeCurrent(),Cc.init()},multi:!0},{provide:Ml,useFactory:function(){return function(t){vn=t}(document),document},deps:[]}]),Yc=[[],{provide:No,useValue:"root"},{provide:rr,useFactory:function(){return new rr},deps:[]},{provide:kc,useClass:Fc,multi:!0,deps:[Ml,tl,Vu]},{provide:kc,useClass:Bc,multi:!0,deps:[Ml]},[],{provide:Ic,useClass:Ic,deps:[Ec,Dc,Ru]},{provide:Ta,useExisting:Ic},{provide:Tc,useExisting:Dc},{provide:Dc,useClass:Dc,deps:[Ml]},{provide:ll,useClass:ll,deps:[tl]},{provide:Ec,useClass:Ec,deps:[kc,tl]},[]],Wc=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:Ru,useValue:t.appId},{provide:wc,useExisting:Ru},Sc]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(n){return new(n||t)(re(e,12))},providers:Yc,imports:[yc,Dl]}),t}();"undefined"!=typeof window&&window;var qc=function(){return function(){}}(),Gc=function(){return function(){}}();function Qc(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function Kc(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function Zc(t){return{type:6,styles:t,offset:null}}function $c(t,e,n){return{type:0,name:t,styles:e,options:n}}function Jc(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}function Xc(t){Promise.resolve(null).then(t)}var th=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;Xc((function(){return t._onFinish()}))},t.prototype._onStart=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),eh=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,r=0,i=0,o=this.players.length;0==o?Xc((function(){return e._onFinish()})):this.players.forEach((function(t){t.onDone((function(){++n==o&&e._onFinish()})),t.onDestroy((function(){++r==o&&e._onDestroy()})),t.onStart((function(){++i==o&&e._onStart()}))})),this.totalTime=this.players.reduce((function(t,e){return Math.max(t,e.totalTime)}),0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach((function(t){return t.init()}))},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(t){return t.play()}))},t.prototype.pause=function(){this.players.forEach((function(t){return t.pause()}))},t.prototype.restart=function(){this.players.forEach((function(t){return t.restart()}))},t.prototype.finish=function(){this._onFinish(),this.players.forEach((function(t){return t.finish()}))},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(t){return t.destroy()})),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach((function(t){return t.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach((function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)}))},t.prototype.getPosition=function(){var t=0;return this.players.forEach((function(e){var n=e.getPosition();t=Math.min(n,t)})),t},t.prototype.beforeDestroy=function(){this.players.forEach((function(t){t.beforeDestroy&&t.beforeDestroy()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}();function nh(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function rh(t){switch(t.length){case 0:return new th;case 1:return t[0];default:return new eh(t)}}function ih(t,e,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var s=[],a=[],u=-1,l=null;if(r.forEach((function(t){var n=t.offset,r=n==u,c=r&&l||{};Object.keys(t).forEach((function(n){var r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,s),a){case"!":a=i[n];break;case"*":a=o[n];break;default:a=e.normalizeStyleValue(n,r,a,s)}c[r]=a})),r||a.push(c),l=c,u=n})),s.length)throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "));return a}function oh(t,e,n,r){switch(e){case"start":t.onStart((function(){return r(n&&sh(n,"start",t))}));break;case"done":t.onDone((function(){return r(n&&sh(n,"done",t))}));break;case"destroy":t.onDestroy((function(){return r(n&&sh(n,"destroy",t))}))}}function sh(t,e,n){var r=n.totalTime,i=ah(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function ah(t,e,n,r,i,o,s){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function uh(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function lh(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var ch=function(t,e){return!1},hh=function(t,e){return!1},fh=function(t,e,n){return[]},ph=nh();(ph||"undefined"!=typeof Element)&&(ch=function(t,e){return t.contains(e)},hh=function(){if(ph||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:hh}(),fh=function(t,e,n){var r=[];if(n)r.push.apply(r,l(t.querySelectorAll(e)));else{var i=t.querySelector(e);i&&r.push(i)}return r});var dh=null,mh=!1;function yh(t){dh||(dh=("undefined"!=typeof document?document.body:null)||{},mh=!!dh.style&&"WebkitAppearance"in dh.style);var e=!0;return dh.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in dh.style)&&mh&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in dh.style),e}var gh=hh,vh=ch,_h=fh;function bh(t){var e={};return Object.keys(t).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]})),e}var wh=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return yh(t)},t.prototype.matchesElement=function(t,e){return gh(t,e)},t.prototype.containsElement=function(t,e){return vh(t,e)},t.prototype.query=function(t,e,n){return _h(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,i,o,s){return void 0===o&&(o=[]),new th(n,r)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Sh=function(){function t(){}return t.NOOP=new wh,t}();function Ch(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:kh(parseFloat(e[1]),e[2])}function kh(t,e){switch(e){case"s":return 1e3*t;default:return t}}function Eh(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=0,o="";if("string"==typeof t){var s=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=kh(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(i=kh(parseFloat(a),s[4]));var u=s[5];u&&(o=u)}else r=t;if(!n){var l=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),l=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function xh(t,e){return void 0===e&&(e={}),Object.keys(t).forEach((function(n){e[n]=t[n]})),e}function Th(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else xh(t,n);return n}function Dh(t,e,n){return n?e+":"+n+";":""}function Oh(t){for(var e="",n=0;n<t.style.length;n++)e+=Dh(0,r=t.style.item(n),t.style.getPropertyValue(r));for(var r in t.style)t.style.hasOwnProperty(r)&&!r.startsWith("_")&&(e+=Dh(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[r]));t.setAttribute("style",e)}function Ph(t,e,n){t.style&&(Object.keys(e).forEach((function(r){var i=Vh(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]})),nh()&&Oh(t))}function Ah(t,e){t.style&&(Object.keys(e).forEach((function(e){var n=Vh(e);t.style[n]=""})),nh()&&Oh(t))}function Mh(t){return Array.isArray(t)?1==t.length?t[0]:Kc(t):t}var Ih=new RegExp("{{\\s*(.+?)\\s*}}","g");function Rh(t){var e=[];if("string"==typeof t){for(var n=void 0;n=Ih.exec(t);)e.push(n[1]);Ih.lastIndex=0}return e}function Nh(t,e,n){var r=t.toString(),i=r.replace(Ih,(function(t,r){var i=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()}));return i==r?t:i}function jh(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var Fh=/-+([a-z0-9])/g;function Vh(t){return t.replace(Fh,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()}))}function Lh(t,e){return 0===t||0===e}function Hh(t,e,n){var r=Object.keys(n);if(r.length&&e.length){var i=e[0],o=[];if(r.forEach((function(t){i.hasOwnProperty(t)||o.push(t),i[t]=n[t]})),o.length)for(var s=function(){var n=e[a];o.forEach((function(e){n[e]=Bh(t,e)}))},a=1;a<e.length;a++)s()}return e}function Uh(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function Bh(t,e){return window.getComputedStyle(t)[e]}var zh=new Set(["true","1"]),Yh=new Set(["false","0"]);function Wh(t,e){var n=zh.has(t)||Yh.has(t),r=zh.has(e)||Yh.has(e);return function(i,o){var s="*"==t||t==i,a="*"==e||e==o;return!s&&n&&"boolean"==typeof i&&(s=i?zh.has(t):Yh.has(t)),!a&&r&&"boolean"==typeof o&&(a=o?zh.has(e):Yh.has(e)),s&&a}}var qh=new RegExp("s*:selfs*,?","g");function Gh(t,e,n){return new Qh(t).build(e,n)}var Qh=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new Kh(e);return this._resetContextStyleTimingState(n),Uh(this,Mh(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,e){var n=this,r=e.queryCount=0,i=e.depCount=0,o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach((function(t){if(n._resetContextStyleTimingState(e),0==t.type){var a=t,u=a.name;u.toString().split(/\s*,\s*/).forEach((function(t){a.name=t,o.push(n.visitState(a,e))})),a.name=u}else if(1==t.type){var l=n.visitTransition(t,e);r+=l.queryCount,i+=l.depCount,s.push(l)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach((function(t){if(Zh(t)){var e=t;Object.keys(e).forEach((function(t){Rh(e[t]).forEach((function(t){o.hasOwnProperty(t)||i.add(t)}))}))}})),i.size){var s=jh(i.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+s.join(", "))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n,r,i,o=Uh(this,Mh(t.animation),e);return{type:1,matchers:(n=t.expr,r=e.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach((function(t){return function(t,e,n){if(":"==t[0]){var r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'+t+'" is not supported'),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],s=i[2],a=i[3];e.push(Wh(o,a)),"<"!=s[0]||"*"==o&&"*"==a||e.push(Wh(a,o))}(t,i,r)})):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:$h(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return Uh(n,t,e)})),options:$h(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map((function(t){e.currentTime=r;var o=Uh(n,t,e);return i=Math.max(i,e.currentTime),o}));return e.currentTime=i,{type:3,steps:o,options:$h(t.options)}},t.prototype.visitAnimate=function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Jh(Eh(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var i=Jh(0,0,"");return i.dynamic=!0,i.strValue=r,i}return Jh((n=n||Eh(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var i=t.styles?t.styles:Zc({});if(5==i.type)n=this.visitKeyframes(i,e);else{var o=t.styles,s=!1;if(!o){s=!0;var a={};r.easing&&(a.easing=r.easing),o=Zc(a)}e.currentTime+=r.duration+r.delay;var u=this.visitStyle(o,e);u.isEmptyStep=s,n=u}return e.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(t){"string"==typeof t?"*"==t?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)})):n.push(t.styles);var r=!1,i=null;return n.forEach((function(t){if(Zh(t)){var e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(var o in e)if(e[o].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(r){if(n._driver.validateStyleProperty(r)){var s,a,u,l=e.collectedStyles[e.currentQuerySelector],c=l[r],h=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),h=!1),o=c.startTime),h&&(l[r]={startTime:o,endTime:i}),e.options&&(s=e.errors,a=e.options.params||{},(u=Rh(t[r])).length&&u.forEach((function(t){a.hasOwnProperty(t)||s.push("Unable to resolve the local animation param "+t+" in the given list of values")})))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')}))}))},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,u=0,l=t.steps.map((function(t){var r=n._makeStyleAst(t,e),l=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach((function(t){if(Zh(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if(Zh(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=l&&(i++,c=r.offset=l),a=a||c<0||c>1,s=s||c<u,u=c,o.push(c),r}));a&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&e.errors.push("Please ensure that all keyframe offsets are in order");var c=t.steps.length,h=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(h=1/(c-1));var f=c-1,p=e.currentTime,d=e.currentAnimateTimings,m=d.duration;return l.forEach((function(t,i){var s=h>0?i==f?1:h*i:o[i],a=s*m;e.currentTime=p+d.delay+a,d.duration=a,n._validateStyleAst(t,e),t.offset=s,r.styles.push(t)})),r},t.prototype.visitReference=function(t,e){return{type:8,animation:Uh(this,Mh(t.animation),e),options:$h(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:$h(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:$h(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=u(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(qh,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(t){return".ng-trigger-"+t.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),o=i[0],s=i[1];e.currentQuerySelector=n.length?n+" "+o:o,uh(e.collectedStyles,e.currentQuerySelector,{});var a=Uh(this,Mh(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:$h(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:Eh(t.timings,e.errors,!0);return{type:12,animation:Uh(this,Mh(t.animation),e),timings:n,options:null}},t}(),Kh=function(){return function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function Zh(t){return!Array.isArray(t)&&"object"==typeof t}function $h(t){var e;return t?(t=xh(t)).params&&(t.params=(e=t.params)?xh(e):null):t={},t}function Jh(t,e,n){return{duration:t,delay:e,easing:n}}function Xh(t,e,n,r,i,o,s,a){return void 0===s&&(s=null),void 0===a&&(a=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var tf=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,l(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),ef=new RegExp(":enter","g"),nf=new RegExp(":leave","g");function rf(t,e,n,r,i,o,s,a,u,l){return void 0===o&&(o={}),void 0===s&&(s={}),void 0===l&&(l=[]),(new of).buildKeyframes(t,e,n,r,i,o,s,a,u,l)}var of=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,s,a,u,l){void 0===l&&(l=[]),u=u||new tf;var c=new af(t,e,u,r,i,l,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),Uh(this,n,c);var h=c.timelines.filter((function(t){return t.containsAnimation()}));if(h.length&&Object.keys(s).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([s],null,c.errors,a)}return h.length?h.map((function(t){return t.buildKeyframes()})):[Xh(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?Ch(n.duration):null,o=null!=n.delay?Ch(n.delay):null;return 0!==i&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)})),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),Uh(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=sf);var s=Ch(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach((function(t){return Uh(n,t,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?Ch(t.options.delay):0;t.steps.forEach((function(s){var a=e.createSubContext(t.options);o&&a.delayNextStep(o),Uh(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)})),r.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return Eh(e.params?Nh(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?Ch(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=sf);var s=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;var u=null;a.forEach((function(r,i){e.currentQueryIndex=i;var a=e.createSubContext(t.options,r);o&&a.delayNextStep(o),r===e.element&&(u=a.currentTimeline),Uh(n,t.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),s=o*(e.currentQueryTotal-1),a=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var u=e.currentTimeline;a&&u.delayNextStep(a);var l=u.currentTime;Uh(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)},t}(),sf={},af=function(){function t(t,e,n,r,i,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=sf,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new uf(this._driver,e,0),s.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=Ch(r.duration)),null!=r.delay&&(i.delay=Ch(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach((function(t){e&&s.hasOwnProperty(t)||(s[t]=Nh(o[t],s,n.errors))}))}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach((function(t){n[t]=e[t]}))}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=sf,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new lf(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(ef,"."+this._enterClassName)).replace(nf,"."+this._leaveClassName);var a=this._driver.query(this.element,t,1!=n);0!==n&&(a=n<0?a.slice(a.length+n,a.length):a.slice(0,n)),s.push.apply(s,l(a))}return i||0!=s.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),s},t}(),uf=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||"*",e._currentKeyframe[t]="*"})),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},s=function(t,e){var n,r={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){r[t]="*"})):Th(t,!1,r)})),r}(t,this._globalTimelineStyles);Object.keys(s).forEach((function(t){var e=Nh(s[t],o,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:"*"),i._updateStyle(t,e)}))},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){t._currentKeyframe[n]=e[n]})),Object.keys(this._localTimelineStyles).forEach((function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])})))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach((function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)}))},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach((function(o,s){var a=Th(o,!0);Object.keys(a).forEach((function(t){var r=a[t];"!"==r?e.add(t):"*"==r&&n.add(t)})),r||(a.offset=s/t.duration),i.push(a)}));var o=e.size?jh(e.values()):[],s=n.size?jh(n.values()):[];if(r){var a=i[0],u=xh(a);a.offset=0,u.offset=1,i=[a,u]}return Xh(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},t}(),lf=function(t){function e(e,n,r,i,o,s,a){void 0===a&&(a=!1);var u=t.call(this,e,n,s.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=i,u.postStyleProps=o,u._stretchStartingKeyframe=a,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return i(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,u=Th(t[0],!1);u.offset=0,o.push(u);var l=Th(t[0],!1);l.offset=cf(a),o.push(l);for(var c=t.length-1,h=1;h<=c;h++){var f=Th(t[h],!1);f.offset=cf((n+f.offset*r)/s),o.push(f)}r=s,n=0,i="",t=o}return Xh(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(uf);function cf(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var hf=function(){return function(){}}(),ff=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.normalizePropertyName=function(t,e){return Vh(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(pf[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(hf),pf=function(){return t="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),e={},t.forEach((function(t){return e[t]=!0})),e;var t,e}();function df(t,e,n,r,i,o,s,a,u,l,c,h,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:h,errors:f}}var mf={},yf=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,i){return t.some((function(t){return t(e,n,r,i)}))}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,s,a,u,l,c){var h=[],f=this.ast.options&&this.ast.options.params||mf,p=this.buildStyles(n,a&&a.params||mf,h),d=u&&u.params||mf,m=this.buildStyles(r,d,h),y=new Set,g=new Map,v=new Map,_="void"===r,b={params:o(o({},f),d)},w=c?[]:rf(t,e,this.ast.animation,i,s,p,m,b,l,h),S=0;if(w.forEach((function(t){S=Math.max(t.duration+t.delay,S)})),h.length)return df(e,this._triggerName,n,r,_,p,m,[],[],g,v,S,h);w.forEach((function(t){var n=t.element,r=uh(g,n,{});t.preStyleProps.forEach((function(t){return r[t]=!0}));var i=uh(v,n,{});t.postStyleProps.forEach((function(t){return i[t]=!0})),n!==e&&y.add(n)}));var C=jh(y.values());return df(e,this._triggerName,n,r,_,p,m,w,C,g,v,S)},t}(),gf=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=xh(this.defaultParams);return Object.keys(t).forEach((function(e){var n=t[e];null!=n&&(r[e]=n)})),this.styles.styles.forEach((function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach((function(t){var o=i[t];o.length>1&&(o=Nh(o,r,e)),n[t]=o}))}})),n},t}(),vf=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach((function(t){n.states[t.name]=new gf(t.style,t.options&&t.options.params||{})})),_f(this.states,"true","1"),_f(this.states,"false","0"),e.transitions.forEach((function(e){n.transitionFactories.push(new yf(t,e,n.states))})),this.fallbackTransition=new yf(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find((function(i){return i.match(t,e,n,r)}))||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function _f(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var bf=new tf,wf=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=Gh(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=ih(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var i,o=[],s=this._animations[t],a=new Map;if(s?(i=rf(this._driver,e,s,"ng-enter","ng-leave",{},{},n,bf,o)).forEach((function(t){var e=uh(a,t.element,{});t.postStyleProps.forEach((function(t){return e[t]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=r._driver.computeStyle(e,n,"*")}))}));var u=rh(i.map((function(t){var e=a.get(t.element);return r._buildPlayer(t,{},e)})));return this._playersById[t]=u,u.onDestroy((function(){return r.destroy(t)})),this.players.push(u),u},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=ah(e,"","","");return oh(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),Sf=[],Cf={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},kf={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ef=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n,r=t&&t.hasOwnProperty("value");if(this.value=null!=(n=r?t.value:t)?n:null,r){var i=xh(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach((function(t){null==n[t]&&(n[t]=e[t])}))}},t}(),xf=new Ef("void"),Tf=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Rf(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var s=uh(this._elementListeners,t,[]),a={name:e,phase:n,callback:r};s.push(a);var u=uh(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(Rf(t,"ng-trigger"),Rf(t,"ng-trigger-"+e),u[e]=xf),function(){o._engine.afterFlush((function(){var t=s.indexOf(a);t>=0&&s.splice(t,1),o._triggers[e]||delete u[e]}))}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),s=new Of(this.id,e,t),a=this._engine.statesByElement.get(t);a||(Rf(t,"ng-trigger"),Rf(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var u=a[e],l=new Ef(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),a[e]=l,u||(u=xf),"void"===l.value||u.value!==l.value){var c=uh(this._engine.playersByElement,t,[]);c.forEach((function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()}));var h=o.matchTransition(u.value,l.value,t,l.params),f=!1;if(!h){if(!r)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:u,toState:l,player:s,isFallbackTransition:f}),f||(Rf(t,"ng-animate-queued"),s.onStart((function(){Nf(t,"ng-animate-queued")}))),s.onDone((function(){var e=i.players.indexOf(s);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}})),this.players.push(s),c.push(s),s}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}(u.params,l.params)){var p=[],d=o.matchStyles(u.value,u.params,p),m=o.matchStyles(l.value,l.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush((function(){Ah(t,d),Ph(t,m)}))}},t.prototype.deregister=function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach((function(e,n){delete e[t]})),this._elementListeners.forEach((function(n,r){e._elementListeners.set(r,n.filter((function(e){return e.name!=t})))}))},t.prototype.clearElementCache=function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach((function(t){return t.destroy()})),this._engine.playersByElement.delete(t))},t.prototype._signalRemovalForInnerTriggers=function(t,e){var n=this,r=this._engine.driver.query(t,".ng-trigger",!0);r.forEach((function(t){if(!t.__ng_removed){var r=n._engine.fetchNamespacesByElement(t);r.size?r.forEach((function(n){return n.triggerLeaveAnimation(t,e,!1,!0)})):n.clearElementCache(t)}})),this._engine.afterFlushAnimationsDone((function(){return r.forEach((function(t){return n.clearElementCache(t)}))}))},t.prototype.triggerLeaveAnimation=function(t,e,n,r){var i=this,o=this._engine.statesByElement.get(t);if(o){var s=[];if(Object.keys(o).forEach((function(e){if(i._triggers[e]){var n=i.trigger(t,e,"void",r);n&&s.push(n)}})),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&rh(s).onDone((function(){return i._engine.processLeaveNode(t)})),!0}return!1},t.prototype.prepareLeaveAnimationListeners=function(t){var e=this,n=this._elementListeners.get(t);if(n){var r=new Set;n.forEach((function(n){var i=n.name;if(!r.has(i)){r.add(i);var o=e._triggers[i].fallbackTransition,s=e._engine.statesByElement.get(t)[i]||xf,a=new Ef("void"),u=new Of(e.id,i,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:i,transition:o,fromState:s,toState:a,player:u,isFallbackTransition:!0})}}))}},t.prototype.removeNode=function(t,e){var n=this,r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),!this.triggerLeaveAnimation(t,e,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else for(var s=t;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}if(this.prepareLeaveAnimationListeners(t),i)r.markElementAsRemoved(this.id,t,!1,e);else{var a=t.__ng_removed;a&&a!==Cf||(r.afterFlush((function(){return n.clearElementCache(t)})),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}}},t.prototype.insertNode=function(t,e){Rf(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(t){var e=this,n=[];return this._queue.forEach((function(r){var i=r.player;if(!i.destroyed){var o=r.element,s=e._elementListeners.get(o);s&&s.forEach((function(e){if(e.name==r.triggerName){var n=ah(o,r.triggerName,r.fromState.value,r.toState.value);n._data=t,oh(r.player,e.phase,n,e.callback)}})),i.markedForDestroy?e._engine.afterFlush((function(){i.destroy()})):n.push(r)}})),this._queue=[],n.sort((function(t,n){var r=t.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:e._engine.driver.containsElement(t.element,n.element)?1:-1}))},t.prototype.destroy=function(t){this.players.forEach((function(t){return t.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,t)},t.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),!!this._queue.find((function(e){return e.element===t}))||e},t}(),Df=function(){function t(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach((function(e){e.players.forEach((function(e){e.queued&&t.push(e)}))})),t},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new Tf(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(e)}))}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var s=this._fetchNamespace(o);s&&e.add(s)}}return e},t.prototype.trigger=function(t,e,n,r){if(Pf(e)){var i=this._fetchNamespace(t);if(i)return i.trigger(e,n,r),!0}return!1},t.prototype.insertNode=function(t,e,n,r){if(Pf(e)){var i=e.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){var s=this._fetchNamespace(t);s&&s.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Rf(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Nf(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,r){if(Pf(e)){var i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){var o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,r)}}else this._onRemovalComplete(e,r)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return Pf(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach((function(t){return e.destroyActiveAnimationsForElement(t)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach((function(t){return e.finishActiveQueriedAnimationOnElement(t)}))},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))},t.prototype.whenRenderingDone=function(){var t=this;return new Promise((function(e){if(t.players.length)return rh(t.players).onDone((function(){return e()}));e()}))},t.prototype.processLeaveNode=function(t){var e=this,n=t.__ng_removed;if(n&&n.setForRemoval){if(t.__ng_removed=Cf,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach((function(t){e.markElementAsDisabled(t,!1)}))},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)Rf(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{n=this._flushAnimations(i,t)}finally{for(r=0;r<i.length;r++)i[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(t){return t()})),this._flushFns=[],this._whenQuietFns.length){var o=this._whenQuietFns;this._whenQuietFns=[],n.length?rh(n).onDone((function(){o.forEach((function(t){return t()}))})):o.forEach((function(t){return t()}))}},t.prototype.reportError=function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))},t.prototype._flushAnimations=function(t,e){var n=this,r=new tf,i=[],s=new Map,a=[],u=new Map,c=new Map,h=new Map,f=new Set;this.disabledNodes.forEach((function(t){f.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),r=0;r<e.length;r++)f.add(e[r])}));var p=this.bodyNode,d=Array.from(this.statesByElement.keys()),m=If(d,this.collectedEnterElements),y=new Map,g=0;m.forEach((function(t,e){var n="ng-enter"+g++;y.set(e,n),t.forEach((function(t){return Rf(t,n)}))}));for(var v=[],_=new Set,b=new Set,w=0;w<this.collectedLeaveElements.length;w++)(V=(F=this.collectedLeaveElements[w]).__ng_removed)&&V.setForRemoval&&(v.push(F),_.add(F),V.hasAnimation?this.driver.query(F,".ng-star-inserted",!0).forEach((function(t){return _.add(t)})):b.add(F));var S=new Map,C=If(d,Array.from(_));C.forEach((function(t,e){var n="ng-leave"+g++;S.set(e,n),t.forEach((function(t){return Rf(t,n)}))})),t.push((function(){m.forEach((function(t,e){var n=y.get(e);t.forEach((function(t){return Nf(t,n)}))})),C.forEach((function(t,e){var n=S.get(e);t.forEach((function(t){return Nf(t,n)}))})),v.forEach((function(t){n.processLeaveNode(t)}))}));for(var k=[],E=[],x=this._namespaceList.length-1;x>=0;x--)this._namespaceList[x].drainQueuedTransitions(e).forEach((function(t){var e=t.player,o=t.element;if(k.push(e),n.collectedEnterElements.length){var s=o.__ng_removed;if(s&&s.setForMove)return void e.destroy()}var l=!p||!n.driver.containsElement(p,o),f=S.get(o),d=y.get(o),m=n._buildInstruction(t,r,d,f,l);if(m.errors&&m.errors.length)E.push(m);else{if(l)return e.onStart((function(){return Ah(o,m.fromStyles)})),e.onDestroy((function(){return Ph(o,m.toStyles)})),void i.push(e);if(t.isFallbackTransition)return e.onStart((function(){return Ah(o,m.fromStyles)})),e.onDestroy((function(){return Ph(o,m.toStyles)})),void i.push(e);m.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),r.append(o,m.timelines),a.push({instruction:m,player:e,element:o}),m.queriedElements.forEach((function(t){return uh(u,t,[]).push(e)})),m.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var r=c.get(e);r||c.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))}})),m.postStyleProps.forEach((function(t,e){var n=Object.keys(t),r=h.get(e);r||h.set(e,r=new Set),n.forEach((function(t){return r.add(t)}))}))}}));if(E.length){var T=[];E.forEach((function(t){T.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach((function(t){return T.push("- "+t+"\n")}))})),k.forEach((function(t){return t.destroy()})),this.reportError(T)}var D=new Map,O=new Map;a.forEach((function(t){var e=t.element;r.has(e)&&(O.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,D))})),i.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){uh(D,e,[]).push(t),t.destroy()}))}));var P=v.filter((function(t){return Ff(t,c,h)})),A=new Map;Mf(A,this.driver,b,h,"*").forEach((function(t){Ff(t,c,h)&&P.push(t)}));var M=new Map;m.forEach((function(t,e){Mf(M,n.driver,new Set(t),c,"!")})),P.forEach((function(t){var e=A.get(t),n=M.get(t);A.set(t,o(o({},e),n))}));var I=[],R=[],N={};a.forEach((function(t){var e=t.element,o=t.player,a=t.instruction;if(r.has(e)){if(f.has(e))return o.onDestroy((function(){return Ph(e,a.toStyles)})),o.disabled=!0,o.overrideTotalTime(a.totalTime),void i.push(o);var u=N;if(O.size>1){for(var l=e,c=[];l=l.parentNode;){var h=O.get(l);if(h){u=h;break}c.push(l)}c.forEach((function(t){return O.set(t,u)}))}var p=n._buildAnimation(o.namespaceId,a,D,s,M,A);if(o.setRealPlayer(p),u===N)I.push(o);else{var d=n.playersByElement.get(u);d&&d.length&&(o.parentPlayer=rh(d)),i.push(o)}}else Ah(e,a.fromStyles),o.onDestroy((function(){return Ph(e,a.toStyles)})),R.push(o),f.has(e)&&i.push(o)})),R.forEach((function(t){var e=s.get(t.element);if(e&&e.length){var n=rh(e);t.setRealPlayer(n)}})),i.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var j=0;j<v.length;j++){var F,V=(F=v[j]).__ng_removed;if(Nf(F,"ng-leave"),!V||!V.hasAnimation){var L=[];if(u.size){var H=u.get(F);H&&H.length&&L.push.apply(L,l(H));for(var U=this.driver.query(F,".ng-animating",!0),B=0;B<U.length;B++){var z=u.get(U[B]);z&&z.length&&L.push.apply(L,l(z))}}var Y=L.filter((function(t){return!t.destroyed}));Y.length?jf(this,F,Y):this.processLeaveNode(F)}}return v.length=0,I.forEach((function(t){n.players.push(t),t.onDone((function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)})),t.play()})),I},t.prototype.elementContainsData=function(t,e){var n=!1,r=e.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n},t.prototype.afterFlush=function(t){this._flushFns.push(t)},t.prototype.afterFlushAnimationsDone=function(t){this._whenQuietFns.push(t)},t.prototype._getPreviousPlayers=function(t,e,n,r,i){var o=[];if(e){var s=this.playersByQueriedElement.get(t);s&&(o=s)}else{var a=this.playersByElement.get(t);if(a){var u=!i||"void"==i;a.forEach((function(t){t.queued||(u||t.triggerName==r)&&o.push(t)}))}}return(n||r)&&(o=o.filter((function(t){return!(n&&n!=t.namespaceId||r&&r!=t.triggerName)}))),o},t.prototype._beforeAnimationBuild=function(t,e,n){var r,i,o=e.element,s=e.isRemovalTransition?void 0:t,u=e.isRemovalTransition?void 0:e.triggerName,l=function(t){var r=t.element,i=r!==o,a=uh(n,r,[]);c._getPreviousPlayers(r,i,s,u,e.toState).forEach((function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),a.push(t)}))},c=this;try{for(var h=a(e.timelines),f=h.next();!f.done;f=h.next())l(f.value)}catch(p){r={error:p}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}Ah(o,e.fromStyles)},t.prototype._buildAnimation=function(t,e,n,r,i,o){var s=this,a=e.triggerName,u=e.element,l=[],c=new Set,h=new Set,f=e.timelines.map((function(e){var f=e.element;c.add(f);var p=f.__ng_removed;if(p&&p.removedBeforeQueried)return new th(e.duration,e.delay);var d,m,y=f!==u,g=(d=(n.get(f)||Sf).map((function(t){return t.getRealPlayer()})),m=[],function t(e,n){for(var r=0;r<e.length;r++){var i=e[r];i instanceof eh?t(i.players,n):n.push(i)}}(d,m),m).filter((function(t){return!!t.element&&t.element===f})),v=i.get(f),_=o.get(f),b=ih(0,s._normalizer,0,e.keyframes,v,_),w=s._buildPlayer(e,b,g);if(e.subTimeline&&r&&h.add(f),y){var S=new Of(t,a,f);S.setRealPlayer(w),l.push(S)}return w}));l.forEach((function(t){uh(s.playersByQueriedElement,t.element,[]).push(t),t.onDone((function(){return function(t,e,n){var r;if(t instanceof Map){if(r=t.get(e)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&t.delete(e)}}else(r=t[e])&&(r.length&&(i=r.indexOf(n),r.splice(i,1)),0==r.length&&delete t[e]);return r}(s.playersByQueriedElement,t.element,t)}))})),c.forEach((function(t){return Rf(t,"ng-animating")}));var p=rh(f);return p.onDestroy((function(){c.forEach((function(t){return Nf(t,"ng-animating")})),Ph(u,e.toStyles)})),h.forEach((function(t){uh(r,t,[]).push(p)})),p},t.prototype._buildPlayer=function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new th(t.duration,t.delay)},t}(),Of=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new th,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return oh(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart((function(){return n.triggerCallback("start")})),t.onDone((function(){return e.finish()})),t.onDestroy((function(){return e.destroy()}))},t.prototype._queueEvent=function(t,e){uh(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function Pf(t){return t&&1===t.nodeType}function Af(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Mf(t,e,n,r,i){var o=[];n.forEach((function(t){return o.push(Af(t))}));var s=[];r.forEach((function(n,r){var o={};n.forEach((function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r.__ng_removed=kf,s.push(r))})),t.set(r,o)}));var a=0;return n.forEach((function(t){return Af(t,o[a++])})),s}function If(t,e){var n=new Map;if(t.forEach((function(t){return n.set(t,[])})),0==e.length)return n;var r=new Set(e),i=new Map;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var o=i.get(e);if(o)return o;var s=e.parentNode;return o=n.has(s)?s:r.has(s)?1:t(s),i.set(e,o),o}(t);1!==e&&n.get(e).push(t)})),n}function Rf(t,e){if(t.classList)t.classList.add(e);else{var n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Nf(t,e){if(t.classList)t.classList.remove(e);else{var n=t.$$classes;n&&delete n[e]}}function jf(t,e,n){rh(n).onDone((function(){return t.processLeaveNode(e)}))}function Ff(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach((function(t){return i.add(t)})):e.set(t,r),n.delete(t),!0}var Vf=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Df(t,e,n),this._timelineEngine=new wf(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,s=this._triggerCache[o];if(!s){var a=[],u=Gh(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=function(t,e){return new vf(t,e)}(r,u),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,r,s)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=u(lh(n),2);this._timelineEngine.command(i[0],e,i[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=u(lh(n),2);return this._timelineEngine.listen(o[0],e,o[1],i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}();function Lf(t,e){var n=null,r=null;return Array.isArray(e)&&e.length?(n=Uf(e[0]),e.length>1&&(r=Uf(e[e.length-1]))):e&&(n=Uf(e)),n||r?new Hf(t,n,r):null}var Hf=function(){function t(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;var i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}return t.prototype.start=function(){this._state<1&&(this._startStyles&&Ph(this._element,this._startStyles,this._initialStyles),this._state=1)},t.prototype.finish=function(){this.start(),this._state<2&&(Ph(this._element,this._initialStyles),this._endStyles&&(Ph(this._element,this._endStyles),this._endStyles=null),this._state=1)},t.prototype.destroy=function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ah(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ah(this._element,this._endStyles),this._endStyles=null),Ph(this._element,this._initialStyles),this._state=3)},t.initialStylesByElement=new WeakMap,t}();function Uf(t){for(var e=null,n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];Bf(i)&&((e=e||{})[i]=t[i])}return e}function Bf(t){return"display"===t||"position"===t}var zf=function(){function t(t,e,n,r,i,o,s){var a=this;this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return a._handleCallback(t)}}return t.prototype.apply=function(){var t,e,n;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=Kf(t=this._element,"").trim()).length&&(function(t,e){for(var n=0;n<t.length;n++)","===t.charAt(n)&&0}(n),e=n+", "+e),Qf(t,"",e),Gf(this._element,this._eventFn,!1),this._startTime=Date.now()},t.prototype.pause=function(){Yf(this._element,this._name,"paused")},t.prototype.resume=function(){Yf(this._element,this._name,"running")},t.prototype.setPosition=function(t){var e=Wf(this._element,this._name);this._position=t*this._duration,Qf(this._element,"Delay","-"+this._position+"ms",e)},t.prototype.getPosition=function(){return this._position},t.prototype._handleCallback=function(t){var e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Gf(this._element,this._eventFn,!0))},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){var n=Kf(t,"").split(","),r=qf(n,e);r>=0&&(n.splice(r,1),Qf(t,"",n.join(",")))}(this._element,this._name))},t}();function Yf(t,e,n){Qf(t,"PlayState",n,Wf(t,e))}function Wf(t,e){var n=Kf(t,"");return n.indexOf(",")>0?qf(n.split(","),e):qf([n],e)}function qf(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Gf(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Qf(t,e,n,r){var i="animation"+e;if(null!=r){var o=t.style[i];if(o.length){var s=o.split(",");s[r]=n,n=s.join(",")}}t.style[i]=n}function Kf(t,e){return t.style["animation"+e]}var Zf=function(){function t(t,e,n,r,i,o,s,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new zf(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:Bh(t.element,r))}))}this.currentSnapshot=e},t}(),$f=function(t){function e(e,n){var r=t.call(this)||this;return r.element=e,r._startingStyles={},r.__initialized=!1,r._styles=bh(n),r}return i(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,t.prototype.destroy.call(this))},e}(th),Jf=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return yh(t)},t.prototype.matchesElement=function(t,e){return gh(t,e)},t.prototype.containsElement=function(t,e){return vh(t,e)},t.prototype.query=function(t,e,n){return _h(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map((function(t){return bh(t)}));var r="@keyframes "+e+" {\n",i="";n.forEach((function(t){i=" ";var e=parseFloat(t.offset);r+=""+i+100*e+"% {\n",i+=" ",Object.keys(t).forEach((function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+e+": "+n+";\n")}})),r+=i+"}\n"})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},t.prototype.animate=function(t,e,n,r,i,o,s){void 0===o&&(o=[]),s&&this._notifyFaultyScrubber();var a=o.filter((function(t){return t instanceof Zf})),u={};Lh(n,r)&&a.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return u[t]=e[t]}))}));var l=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach((function(t){Object.keys(t).forEach((function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])}))})),e}(e=Hh(t,e,u));if(0==n)return new $f(t,l);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);var f=Lf(t,e),p=new Zf(t,e,c,n,r,i,l,f);return p.onDestroy((function(){var t;(t=h).parentNode.removeChild(t)})),p},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),Xf=function(){function t(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return t._onFinish()}))}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Bh(t.element,n))})),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0},t}(),tp=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ep().toString()),this._cssKeyframesDriver=new Jf}return t.prototype.validateStyleProperty=function(t){return yh(t)},t.prototype.matchesElement=function(t,e){return gh(t,e)},t.prototype.containsElement=function(t,e){return vh(t,e)},t.prototype.query=function(t,e,n){return _h(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,i,o,s){if(void 0===o&&(o=[]),!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);var u={},l=o.filter((function(t){return t instanceof Xf}));Lh(n,r)&&l.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return u[t]=e[t]}))}));var c=Lf(t,e=Hh(t,e=e.map((function(t){return Th(t,!1)})),u));return new Xf(t,e,a,c)},t}();function ep(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var np=function(t){function e(e,n){var r=t.call(this)||this;return r._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:ge.None,styles:[],data:{animation:[]}}),r}return i(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Kc(t):t;return op(this._renderer,null,e,"register",[n]),new rp(e,this._renderer)},e.\u0275fac=function(t){return new(t||e)(re(Ta),re(Ml))},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(qc),rp=function(t){function e(e,n){var r=t.call(this)||this;return r._id=e,r._renderer=n,r}return i(e,t),e.prototype.create=function(t,e){return new ip(this._id,t,e||{},this._renderer)},e}(Gc),ip=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return op(this._renderer,this.element,this.id,t,e)},t.prototype.onDone=function(t){this._listen("done",t)},t.prototype.onStart=function(t){this._listen("start",t)},t.prototype.onDestroy=function(t){this._listen("destroy",t)},t.prototype.init=function(){this._command("init")},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this._command("play"),this._started=!0},t.prototype.pause=function(){this._command("pause")},t.prototype.restart=function(){this._command("restart")},t.prototype.finish=function(){this._command("finish")},t.prototype.destroy=function(){this._command("destroy")},t.prototype.reset=function(){this._command("reset")},t.prototype.setPosition=function(t){this._command("setPosition",t)},t.prototype.getPosition=function(){return 0},t}();function op(t,e,n,r,i){return t.setProperty(e,"@@"+n+":"+r,i)}var sp=function(){function t(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return t.prototype.createRenderer=function(t,e){var n=this,r=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var i=this._rendererCache.get(r);return i||(i=new ap("",r,this.engine),this._rendererCache.set(r,i)),i}var o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);var a=function(e){Array.isArray(e)?e.forEach(a):n.engine.registerTrigger(o,s,t,e.name,e)};return e.data.animation.forEach(a),new up(this,s,r,this.engine)},t.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},t.prototype._scheduleCountTask=function(){var t=this;this.promise.then((function(){t._microtaskId++}))},t.prototype.scheduleListenerCallback=function(t,e,n){var r=this;t>=0&&t<this._microtaskId?this._zone.run((function(){return e(n)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){r._zone.run((function(){r._animationCallbacksBuffer.forEach((function(t){var e=u(t,2);(0,e[0])(e[1])})),r._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([e,n]))},t.prototype.end=function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)})),this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},t.\u0275fac=function(e){return new(e||t)(re(Ta),re(Vf),re(tl))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),ap=function(){function t(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(t){return e.destroyNode(t)}:null}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},t.prototype.createElement=function(t,e){return this.delegate.createElement(t,e)},t.prototype.createComment=function(t){return this.delegate.createComment(t)},t.prototype.createText=function(t){return this.delegate.createText(t)},t.prototype.appendChild=function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)},t.prototype.insertBefore=function(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)},t.prototype.removeChild=function(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)},t.prototype.selectRootElement=function(t,e){return this.delegate.selectRootElement(t,e)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setAttribute=function(t,e,n,r){this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)},t.prototype.setValue=function(t,e){this.delegate.setValue(t,e)},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.disableAnimations=function(t,e){this.engine.disableAnimations(t,e)},t}(),up=function(t){function e(e,n,r,i){var o=t.call(this,n,r,i)||this;return o.factory=e,o.namespaceId=n,o}return i(e,t),e.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)},e.prototype.listen=function(t,e,n){var r,i,o,s=this;if("@"==e.charAt(0)){var a=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),l=e.substr(1),c="";return"@"!=l.charAt(0)&&(l=(r=u((i=l,o=i.indexOf("."),[i.substring(0,o),i.substr(o+1)]),2))[0],c=r[1]),this.engine.listen(this.namespaceId,a,l,c,(function(t){s.factory.scheduleListenerCallback(t._data||-1,n,t)}))}return this.delegate.listen(t,e,n)},e}(ap),lp=function(t){function e(e,n,r){return t.call(this,e.body,n,r)||this}return i(e,t),e.\u0275fac=function(t){return new(t||e)(re(Ml),re(Sh),re(hf))},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(Vf),cp=new Qt("AnimationModuleType"),hp=[{provide:qc,useClass:np},{provide:hf,useFactory:function(){return new ff}},{provide:Vf,useClass:lp},{provide:Ta,useFactory:function(t,e,n){return new sp(t,e,n)},deps:[Ic,Vf,tl]}],fp=l([{provide:Sh,useFactory:function(){return"function"==typeof ep()?new tp:new Jf}},{provide:cp,useValue:"BrowserAnimations"}],hp),pp=(l([{provide:Sh,useClass:wh},{provide:cp,useValue:"NoopAnimations"}],hp),function(){function t(){}return t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},providers:fp,imports:[Wc]}),t}());function dp(t,e){return new T((function(n){var r=t.length;if(0!==r)for(var i=new Array(r),o=0,s=0,a=function(a){var u=Q(t[a]),l=!1;n.add(u.subscribe({next:function(t){l||(l=!0,s++),i[a]=t},error:function(t){return n.error(t)},complete:function(){++o!==r&&l||(s===r&&n.next(e?e.reduce((function(t,e,n){return t[e]=i[n],t}),{}):i),n.complete())}}))},u=0;u<r;u++)a(u);else n.complete()}))}var mp=new Qt("NgValueAccessor"),yp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}i(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return n(t||e)},e.\u0275dir=Te({type:e,features:[ia]});var n=Xn(e);return e}(function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Te({type:t}),t}()),gp=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.\u0275fac=function(t){return new(t||e)(ms(yp,2))},e.\u0275dir=Te({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&Hs("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[ia]}),e}(function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}());function vp(t){return null==t||0===t.length}var _p=new Qt("NgValidators"),bp=new Qt("NgAsyncValidators"),wp=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Sp=function(){function t(){}return t.min=function(t){return function(e){if(vp(e.value)||vp(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(vp(e.value)||vp(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return vp(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return vp(t.value)?null:wp.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(vp(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(vp(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(Cp);return 0==e.length?null:function(t){return Ep(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(Cp);return 0==e.length?null:function(t){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var n=t[0];if(c(n))return dp(n,null);if(h(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return dp(r.map((function(t){return n[t]})),r)}}if("function"==typeof t[t.length-1]){var i=t.pop();return dp(t=1===t.length&&c(t[0])?t[0]:t,null).pipe(Y((function(t){return i.apply(void 0,t)})))}return dp(t,null)}(function(t,e){return e.map((function(e){return e(t)}))}(t,e).map(kp)).pipe(Y(Ep))}},t}();function Cp(t){return null!=t}function kp(t){var e=Cs(t)?Q(t):t;if(!ks(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Ep(t){var e={};return t.forEach((function(t){e=null!=t?o(o({},e),t):e})),0===Object.keys(e).length?null:e}function xp(t){return t.validate?function(e){return t.validate(e)}:t}function Tp(t){return t.validate?function(e){return t.validate(e)}:t}var Dp=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach((function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)}))},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function Op(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Pp(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function Ap(t){return null!=t?Sp.compose(t.map(xp)):null}function Mp(t){return null!=t?Sp.composeAsync(t.map(Tp)):null}function Ip(t){var e=Np(t)?t.validators:t;return Array.isArray(e)?Ap(e):e||null}function Rp(t,e){var n=Np(e)?e.asyncValidators:t;return Array.isArray(n)?Mp(n):n||null}function Np(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var jp=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=Ip(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=Rp(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(o(o({},t),{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(o(o({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))},t.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(o(o({},t),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(o(o({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=kp(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;var r=t;return e.forEach((function(t){r=r instanceof Vp?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof Lp&&r.at(t)||null})),r}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new bu,this.statusChanges=new bu},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls((function(e){return e.status===t}))},t.prototype._anyControlsDirty=function(){return this._anyControls((function(t){return t.dirty}))},t.prototype._anyControlsTouched=function(){return this._anyControls((function(t){return t.touched}))},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){Np(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t.prototype._parentMarkedDirty=function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},t}(),Fp=function(t){function e(e,n,r){void 0===e&&(e=null);var i=t.call(this,Ip(n),Rp(r,n))||this;return i._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return i(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((function(t){return t(n.value,!1!==e.emitViewToModelChange)})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(jp),Vp=function(t){function e(e,n,r){var i=t.call(this,Ip(n),Rp(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach((function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach((function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof Fp?e.value:e.getRawValue(),t}))},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild((function(r,i){n=n||e.contains(i)&&t(r)})),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},(function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e}))},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild((function(t,r){n=e(n,t,r)})),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=a(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},e}(jp),Lp=function(t){function e(e,n,r){var i=t.call(this,Ip(n),Rp(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach((function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach((function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map((function(t){return t instanceof Fp?t.value:t.getRawValue()}))},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},e.prototype._syncPendingControls=function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach((function(e,n){t(e,n)}))},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))},e.prototype._anyControls=function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))},e.prototype._setUpControls=function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))},e.prototype._checkAllValuesPresent=function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=a(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(jp),Hp={provide:yp,useExisting:Mt((function(){return Bp}))},Up=function(){return Promise.resolve(null)}(),Bp=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new bu,r.form=new Vp({},Ap(e),Mp(n)),r}return i(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Up.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),function(t,e){t||Pp(e,"Cannot find control with"),e.valueAccessor||Pp(e,"No value accessor for form control with"),t.validator=Sp.compose([t.validator,e.validator]),t.asyncValidator=Sp.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange((function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Op(t,e)}))}(t,e),function(t,e){t.registerOnChange((function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Op(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange((function(t){e.valueAccessor.setDisabledState(t)})),e._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))})),e._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange((function(){return t.updateValueAndValidity()}))}))}(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Up.then((function(){var n,r,i=e._findContainer(t.path);i&&i.removeControl(t.name),(r=(n=e._directives).indexOf(t))>-1&&n.splice(r,1)}))},e.prototype.addFormGroup=function(t){var e=this;Up.then((function(){var n=e._findContainer(t.path),r=new Vp({});(function(t,e){null==t&&Pp(e,"Cannot find control with"),t.validator=Sp.compose([t.validator,e.validator]),t.asyncValidator=Sp.composeAsync([t.asyncValidator,e.asyncValidator])})(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})}))},e.prototype.removeFormGroup=function(t){var e=this;Up.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Up.then((function(){n.form.get(t.path).setValue(e)}))},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach((function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})),this.ngSubmit.emit(t),!1;var e},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e.\u0275fac=function(t){return new(t||e)(ms(_p,10),ms(bp,10))},e.\u0275dir=Te({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&Es("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ba([Hp]),ia]}),e}(yp),zp=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Te({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),Yp=function(){function t(){}return t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)}}),t}(),Wp=function(){function t(){}return t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},providers:[Dp],imports:[Yp]}),t}();function qp(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return R(n)?(t.pop(),G(t,n)):tt(t)}var Gp=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return i(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new O;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(M),Qp=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),Kp={};function Zp(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return R(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&c(t[0])&&(t=t[0]),tt(t,r).lift(new $p(n))}var $p=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Jp(t,this.resultSelector))},t}(),Jp=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return i(e,t),e.prototype._next=function(t){this.values.push(Kp),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(B(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,s=this.toRespond?o[n]===Kp?--this.toRespond:this.toRespond:0;o[n]=e,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(z),Xp=new T((function(t){return t.complete()}));function td(t){return t?function(t){return new T((function(e){return t.schedule((function(){return e.complete()}))}))}(t):Xp}function ed(t){return new T((function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?Q(n):td()).subscribe(e)}))}function nd(){return X(1)}function rd(t,e){return function(n){return n.lift(new id(t,e))}}var id=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new od(t,this.predicate,this.thisArg))},t}(),od=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return i(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(w),sd=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}();function ad(t){return function(e){return 0===t?td():e.lift(new ud(t))}}var ud=function(){function t(t){if(this.total=t,this.total<0)throw new sd}return t.prototype.call=function(t,e){return e.subscribe(new ld(t,this.total))},t}(),ld=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return i(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(w);function cd(t){return void 0===t&&(t=pd),function(e){return e.lift(new hd(t))}}var hd=function(){function t(t){this.errorFactory=t}return t.prototype.call=function(t,e){return e.subscribe(new fd(t,this.errorFactory))},t}(),fd=function(t){function e(e,n){var r=t.call(this,e)||this;return r.errorFactory=n,r.hasValue=!1,r}return i(e,t),e.prototype._next=function(t){this.hasValue=!0,this.destination.next(t)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var t=void 0;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)},e}(w);function pd(){return new Qp}function dd(t){return void 0===t&&(t=null),function(e){return e.lift(new md(t))}}var md=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new yd(t,this.defaultValue))},t}(),yd=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return i(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(w);function gd(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?rd((function(e,n){return t(e,n,r)})):J,ad(1),n?dd(e):cd((function(){return new Qp})))}}function vd(t){return function(e){var n=new _d(t),r=e.lift(n);return n.caught=r}}var _d=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new bd(t,this.selector,this.caught))},t}(),bd=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(o){return void t.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new N(this,void 0,void 0);this.add(r);var i=B(this,n,void 0,void 0,r);i!==r&&this.add(i)}},e}(z);function wd(t){return function(e){return 0===t?td():e.lift(new Sd(t))}}var Sd=function(){function t(t){if(this.total=t,this.total<0)throw new sd}return t.prototype.call=function(t,e){return e.subscribe(new Cd(t,this.total))},t}(),Cd=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return i(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(w);function kd(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?rd((function(e,n){return t(e,n,r)})):J,wd(1),n?dd(e):cd((function(){return new Qp})))}}var Ed=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new xd(t,this.predicate,this.thisArg,this.source))},t}(),xd=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return i(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(w);function Td(t,e){return"function"==typeof e?function(n){return n.pipe(Td((function(n,r){return Q(t(n,r)).pipe(Y((function(t,i){return e(n,t,r,i)})))})))}:function(e){return e.lift(new Dd(t))}}var Dd=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Od(t,this.project))},t}(),Od=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return i(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new N(this,e,n),o=this.destination;o.add(i),this.innerSubscription=B(this,t,void 0,void 0,i),this.innerSubscription!==i&&o.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e}(z);function Pd(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return nd()(qp.apply(void 0,t))}function Ad(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Md(t,e,n))}}var Md=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Id(t,this.accumulator,this.seed,this.hasSeed))},t}(),Id=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return i(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(w);function Rd(t,e){return K(t,e,1)}function Nd(t,e,n){return function(r){return r.lift(new jd(t,e,n))}}var jd=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new Fd(t,this.nextOrObserver,this.error,this.complete))},t}(),Fd=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._tapNext=k,o._tapError=k,o._tapComplete=k,o._tapError=r||k,o._tapComplete=i||k,f(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||k,o._tapError=n.error||k,o._tapComplete=n.complete||k),o}return i(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(w),Vd=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Ld(t,this.callback))},t}(),Ld=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new d(n)),r}return i(e,t),e}(w),Hd=function(){return function(t,e){this.id=t,this.url=e}}(),Ud=function(t){function e(e,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=t.call(this,e,n)||this;return o.navigationTrigger=r,o.restoredState=i,o}return i(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(Hd),Bd=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(Hd),zd=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.reason=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(Hd),Yd=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.error=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(Hd),Wd=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Hd),qd=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Hd),Gd=function(t){function e(e,n,r,i,o){var s=t.call(this,e,n)||this;return s.urlAfterRedirects=r,s.state=i,s.shouldActivate=o,s}return i(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(Hd),Qd=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Hd),Kd=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Hd),Zd=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),$d=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Jd=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Xd=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),tm=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),em=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),nm=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),rm=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&ws(0,"router-outlet")},directives:function(){return[ug]},encapsulation:2}),t}(),im=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function om(t){return new im(t)}function sm(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function am(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var i={},o=0;o<r.length;o++){var s=r[o],a=t[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}var um=function(){return function(t,e){this.routes=t,this.module=e}}();function lm(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];cm(r,hm(e,r))}}function cm(t,e){if(!t)throw new Error("\n      Invalid configuration of route '"+e+"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&"primary"!==t.outlet)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&lm(t.children,e)}function hm(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function fm(t){var e=t.children&&t.children.map(fm),n=e?o(o({},t),{children:e}):o({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=rm),n}function pm(t,e){var n,r=Object.keys(t),i=Object.keys(e);if(!r||!i||r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(!dm(t[n=r[o]],e[n]))return!1;return!0}function dm(t,e){return Array.isArray(t)&&Array.isArray(e)?t.length==e.length&&t.every((function(t){return e.indexOf(t)>-1})):t===e}function mm(t){return Array.prototype.concat.apply([],t)}function ym(t){return t.length>0?t[t.length-1]:null}function gm(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function vm(t){return ks(t)?t:Cs(t)?Q(Promise.resolve(t)):qp(t)}function _m(t,e,n){return n?function(t,e){return pm(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Cm(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return dm(t[n],e[n])}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Cm(s=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Cm(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!t(n.children[o],r.children[o]))return!1}return!0}var s=i.slice(0,n.segments.length),a=i.slice(n.segments.length);return!!Cm(n.segments,s)&&!!n.children.primary&&e(n.children.primary,r,a)}(e,n,n.segments)}(t.root,e.root)}var bm=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=om(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Tm.serialize(this)},t}(),wm=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,gm(e,(function(t,e){return t.parent=n}))}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Dm(this)},t}(),Sm=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=om(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Rm(this)},t}();function Cm(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function km(t,e){var n=[];return gm(t.children,(function(t,r){"primary"===r&&(n=n.concat(e(t,r)))})),gm(t.children,(function(t,r){"primary"!==r&&(n=n.concat(e(t,r)))})),n}var Em=function(){return function(){}}(),xm=function(){function t(){}return t.prototype.parse=function(t){var e=new Lm(t);return new bm(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Dm(e);if(n){var r=e.children.primary?t(e.children.primary,!1):"",i=[];return gm(e.children,(function(e,n){"primary"!==n&&i.push(n+":"+t(e,!1))})),i.length>0?r+"("+i.join("//")+")":r}var o=km(e,(function(n,r){return"primary"===r?[t(e.children.primary,!1)]:[r+":"+t(n,!1)]}));return Dm(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map((function(t){var n=e[t];return Array.isArray(n)?n.map((function(e){return Pm(t)+"="+Pm(e)})).join("&"):Pm(t)+"="+Pm(n)}))).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Tm=new xm;function Dm(t){return t.segments.map((function(t){return Rm(t)})).join("/")}function Om(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pm(t){return Om(t).replace(/%3B/gi,";")}function Am(t){return Om(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Mm(t){return decodeURIComponent(t)}function Im(t){return Mm(t.replace(/\+/g,"%20"))}function Rm(t){return""+Am(t.path)+(e=t.parameters,Object.keys(e).map((function(t){return";"+Am(t)+"="+Am(e[t])})).join(""));var e}var Nm=/^[^\/()?;=#]+/;function jm(t){var e=t.match(Nm);return e?e[0]:""}var Fm=/^[^=?&#]+/,Vm=/^[^?&#]+/,Lm=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wm([],{}):new wm([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new wm(t,e)),n},t.prototype.parseSegment=function(){var t=jm(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Sm(Mm(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=jm(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=jm(this.remaining);r&&this.capture(n=r)}t[Mm(e)]=Mm(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Fm))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(Vm);return e?e[0]:""}(this.remaining);i&&this.capture(r=i)}var o=Im(n),s=Im(r);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(t[o]=a=[a]),a.push(s)}else t[o]=s}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=jm(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i="primary");var o=this.parseChildren();e[i]=1===Object.keys(o).length?o.primary:new wm([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Hm=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Um(t,this._root);return e?e.children.map((function(t){return t.value})):[]},t.prototype.firstChild=function(t){var e=Um(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Bm(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))},t.prototype.pathFromRoot=function(t){return Bm(t,this._root).map((function(t){return t.value}))},t}();function Um(t,e){var n,r;if(t===e.value)return e;try{for(var i=a(e.children),o=i.next();!o.done;o=i.next()){var s=Um(t,o.value);if(s)return s}}catch(u){n={error:u}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}function Bm(t,e){var n,r;if(t===e.value)return[e];try{for(var i=a(e.children),o=i.next();!o.done;o=i.next()){var s=Bm(t,o.value);if(s.length)return s.unshift(e),s}}catch(u){n={error:u}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return[]}var zm=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function Ym(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var Wm=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,$m(r,e),r}return i(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Hm);function qm(t,e){var n=function(t,e){var n=new Km([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Zm("",new zm(n,[]))}(t,e),r=new Gp([new Sm("",{})]),i=new Gp({}),o=new Gp({}),s=new Gp({}),a=new Gp(""),u=new Gm(r,i,s,a,o,"primary",e,n.root);return u.snapshot=n.root,new Wm(new zm(u,[]),n)}var Gm=function(){function t(t,e,n,r,i,o,s,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this._futureSnapshot=a}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Y((function(t){return om(t)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Y((function(t){return om(t)})))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Qm(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var i=n[r],s=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(s.component)break;r--}}return function(t){return t.reduce((function(t,e){return{params:o(o({},t.params),e.params),data:o(o({},t.data),e.data),resolve:o(o({},t.resolve),e._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var Km=function(){function t(t,e,n,r,i,o,s,a,u,l,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=u,this._lastPathIndex=l,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=om(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=om(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map((function(t){return t.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),Zm=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,$m(r,n),r}return i(e,t),e.prototype.toString=function(){return Jm(this._root)},e}(Hm);function $m(t,e){e.value._routerState=t,e.children.forEach((function(e){return $m(t,e)}))}function Jm(t){var e=t.children.length>0?" { "+t.children.map(Jm).join(", ")+" } ":"";return""+t.value+e}function Xm(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,pm(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),pm(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!pm(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),pm(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function ty(t,e){var n,r;return pm(t.params,e.params)&&Cm(n=t.url,r=e.url)&&n.every((function(t,e){return pm(t.parameters,r[e].parameters)}))&&!(!t.parent!=!e.parent)&&(!t.parent||ty(t.parent,e.parent))}function ey(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ny(t,e,n,r,i){var o={};return r&&gm(r,(function(t,e){o[e]=Array.isArray(t)?t.map((function(t){return""+t})):""+t})),new bm(n.root===t?e:function t(e,n,r){var i={};return gm(e.children,(function(e,o){i[o]=e===n?r:t(e,n,r)})),new wm(e.segments,i)}(n.root,t,e),o,i)}var ry=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&ey(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==ym(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),iy=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function oy(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function sy(t,e,n){if(t||(t=new wm([],{})),0===t.segments.length&&t.hasChildren())return ay(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i<t.segments.length;){if(r>=n.length)return o;var s=t.segments[i],a=oy(n[r]),u=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&u&&"object"==typeof u&&void 0===u.outlets){if(!hy(a,u,s))return o;r+=2}else{if(!hy(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var o=new wm(t.segments.slice(0,r.pathIndex),{});return o.children.primary=new wm(t.segments.slice(r.pathIndex),t.children),ay(o,0,i)}return r.match&&0===i.length?new wm(t.segments,{}):r.match&&!t.hasChildren()?uy(t,e,n):r.match?ay(t,0,i):uy(t,e,n)}function ay(t,e,n){if(0===n.length)return new wm(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={}).primary=t,e):void 0===t[0].outlets?((n={}).primary=t,n):t[0].outlets}(n),i={};return gm(r,(function(n,r){null!==n&&(i[r]=sy(t.children[r],e,n))})),gm(t.children,(function(t,e){void 0===r[e]&&(i[e]=t)})),new wm(t.segments,i)}function uy(t,e,n){for(var r=t.segments.slice(0,e),i=0;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){var o=ly(n[i].outlets);return new wm(r,o)}if(0===i&&ey(n[0]))r.push(new Sm(t.segments[e].path,n[0])),i++;else{var s=oy(n[i]),a=i<n.length-1?n[i+1]:null;s&&a&&ey(a)?(r.push(new Sm(s,cy(a))),i+=2):(r.push(new Sm(s,{})),i++)}}return new wm(r,{})}function ly(t){var e={};return gm(t,(function(t,n){null!==t&&(e[n]=uy(new wm([],{}),0,t))})),e}function cy(t){var e={};return gm(t,(function(t,n){return e[n]=""+t})),e}function hy(t,e,n){return t==n.path&&pm(e,n.parameters)}var fy=function(){function t(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Xm(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,i=Ym(e);t.children.forEach((function(t){var e=t.value.outlet;r.deactivateRoutes(t,i[e],n),delete i[e]})),gm(i,(function(t,e){r.deactivateRouteAndItsChildren(t,n)}))},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,i=e?e.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:i})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var i=Ym(t),o=t.value.component?r.children:e;gm(i,(function(t,e){return n.deactivateRouteAndItsChildren(t,o)})),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,i=Ym(e);t.children.forEach((function(t){r.activateRoutes(t,i[t.value.outlet],n),r.forwardEvent(new em(t.value.snapshot))})),t.children.length&&this.forwardEvent(new Xd(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,i=e?e.value:null;if(Xm(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(r.component)if(o=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),py(s.route)}else{var a=function(t){for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(r.snapshot),u=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=r,o.resolver=u,o.outlet&&o.outlet.activateWith(r,u),this.activateChildRoutes(t,null,o.children)}else this.activateChildRoutes(t,null,n)},t}();function py(t){Xm(t.value),t.children.forEach(py)}function dy(t){return"function"==typeof t}function my(t){return t instanceof bm}var yy=function(){return function(t){this.segmentGroup=t||null}}(),gy=function(){return function(t){this.urlTree=t}}();function vy(t){return new T((function(e){return e.error(new yy(t))}))}function _y(t){return new T((function(e){return e.error(new gy(t))}))}function by(t){return new T((function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))}))}var wy=function(){function t(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(ae)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Y((function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)}))).pipe(vd((function(e){if(e instanceof gy)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof yy)throw t.noMatchError(e);throw e})))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(Y((function(n){return e.createUrlTree(n,t.queryParams,t.fragment)}))).pipe(vd((function(t){if(t instanceof yy)throw e.noMatchError(t);throw t})))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,i=t.segments.length>0?new wm([],((r={}).primary=t,r)):t;return new bm(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Y((function(t){return new wm([],t)}))):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return qp({});var o=[],s=[],a={};return gm(n,(function(n,i){var u,l,c=(u=i,l=n,r.expandSegmentGroup(t,e,l,u)).pipe(Y((function(t){return a[i]=t})));"primary"===i?o.push(c):s.push(c)})),qp.apply(null,o.concat(s)).pipe(nd(),gd(),Y((function(){return a})))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,i,o){var s=this;return qp.apply(void 0,l(n)).pipe(Y((function(a){return s.expandSegmentAgainstRoute(t,e,n,a,r,i,o).pipe(vd((function(t){if(t instanceof yy)return qp(null);throw t})))})),nd(),kd((function(t){return!!t})),vd((function(t,n){if(t instanceof Qp||"EmptyError"===t.name){if(s.noLeftoversInUrl(e,r,i))return qp(new wm([],{}));throw new yy(e)}throw t})))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,s){return Ey(r)!==o?vy(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):vy(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?_y(o):this.lineralizeSegments(n,o).pipe(K((function(n){var o=new wm(n,{});return i.expandSegment(t,o,e,n,r,!1)})))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var s=this,a=Sy(e,r,i),u=a.consumedSegments,l=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return vy(e);var h=this.applyRedirectCommands(u,r.redirectTo,c);return r.redirectTo.startsWith("/")?_y(h):this.lineralizeSegments(r,h).pipe(K((function(r){return s.expandSegment(t,e,n,r.concat(i.slice(l)),o,!1)})))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Y((function(t){return n._loadedConfig=t,new wm(r,{})}))):qp(new wm(r,{}));var s=Sy(e,n,r),u=s.consumedSegments,l=s.lastChild;if(!s.matched)return vy(e);var c=r.slice(l);return this.getChildConfig(t,n,r).pipe(K((function(t){var n=t.module,r=t.routes,s=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some((function(n){return ky(t,e,n)&&"primary"!==Ey(n)}))}(t,n,r)?{segmentGroup:Cy(new wm(e,function(t,e){var n,r,i={};i.primary=e;try{for(var o=a(t),s=o.next();!s.done;s=o.next()){var u=s.value;""===u.path&&"primary"!==Ey(u)&&(i[Ey(u)]=new wm([],{}))}}catch(l){n={error:l}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new wm(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return ky(t,e,n)}))}(t,n,r)?{segmentGroup:Cy(new wm(t.segments,function(t,e,n,r){var i,s,u={};try{for(var l=a(n),c=l.next();!c.done;c=l.next()){var h=c.value;ky(t,e,h)&&!r[Ey(h)]&&(u[Ey(h)]=new wm([],{}))}}catch(f){i={error:f}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(i)throw i.error}}return o(o({},r),u)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,c,r),l=s.segmentGroup,h=s.slicedSegments;return 0===h.length&&l.hasChildren()?i.expandChildren(n,r,l).pipe(Y((function(t){return new wm(u,t)}))):0===r.length&&0===h.length?qp(new wm(u,{})):i.expandSegment(n,l,r,h,"primary",!0).pipe(Y((function(t){return new wm(u.concat(t.segments),t.children)})))})))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?qp(new um(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?qp(e._loadedConfig):function(t,e,n){var r,i=e.canLoad;return i&&0!==i.length?Q(i).pipe(Y((function(r){var i,o=t.get(r);if(function(t){return t&&dy(t.canLoad)}(o))i=o.canLoad(e,n);else{if(!dy(o))throw new Error("Invalid CanLoad guard");i=o(e,n)}return vm(i)}))).pipe(nd(),(r=function(t){return!0===t},function(t){return t.lift(new Ed(r,void 0,t))})):qp(!0)}(t.injector,e,n).pipe(K((function(n){return n?r.configLoader.load(t.injector,e).pipe(Y((function(t){return e._loadedConfig=t,t}))):function(t){return new T((function(e){return e.error(sm("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))}))}(e)}))):qp(new um([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return qp(n);if(r.numberOfChildren>1||!r.children.primary)return by(t.redirectTo);r=r.children.primary}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new bm(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return gm(t,(function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t})),n},t.prototype.createSegmentGroup=function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),s={};return gm(e.children,(function(e,o){s[o]=i.createSegmentGroup(t,e,n,r)})),new wm(o,s)},t.prototype.createSegments=function(t,e,n,r){var i=this;return e.map((function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)}))},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,i=0;try{for(var o=a(e),s=o.next();!s.done;s=o.next()){var u=s.value;if(u.path===t.path)return e.splice(i),u;i++}}catch(l){n={error:l}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return t},t}();function Sy(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||am)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Cy(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new wm(t.segments.concat(e.segments),e.children)}return t}function ky(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ey(t){return t.outlet||"primary"}var xy=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Ty=function(){return function(t,e){this.component=t,this.route=e}}();function Dy(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Oy(t,e,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=Ym(e);return t.children.forEach((function(t){!function(t,e,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Cm(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Cm(t.url,e.url)||!pm(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ty(t,e)||!pm(t.queryParams,e.queryParams);case"paramsChange":default:return!ty(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new xy(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Oy(t,e,o.component?a?a.children:null:n,r,i),u&&i.canDeactivateChecks.push(new Ty(a&&a.outlet&&a.outlet.component||null,s))}else s&&Py(e,a,i),i.canActivateChecks.push(new xy(r)),Oy(t,null,o.component?a?a.children:null:n,r,i)}(t,o[t.value.outlet],n,r.concat([t.value]),i),delete o[t.value.outlet]})),gm(o,(function(t,e){return Py(t,n.getContext(e),i)})),i}function Py(t,e,n){var r=Ym(t),i=t.value;gm(r,(function(t,r){Py(t,i.component?e?e.children.getContext(r):null:e,n)})),n.canDeactivateChecks.push(new Ty(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var Ay=Symbol("INITIAL_VALUE");function My(){return Td((function(t){return Zp.apply(void 0,l(t.map((function(t){return t.pipe(wd(1),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return R(n)?(t.pop(),function(e){return Pd(t,e,n)}):function(e){return Pd(t,e)}}(Ay))})))).pipe(Ad((function(t,e){var n=!1;return e.reduce((function(t,r,i){if(t!==Ay)return t;if(r===Ay&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||my(r))return r}return t}),t)}),Ay),rd((function(t){return t!==Ay})),Y((function(t){return my(t)?t:!0===t})),wd(1))}))}function Iy(t,e){return null!==t&&e&&e(new tm(t)),qp(!0)}function Ry(t,e){return null!==t&&e&&e(new Jd(t)),qp(!0)}function Ny(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?qp(r.map((function(r){return ed((function(){var i,o=Dy(r,e,n);if(function(t){return t&&dy(t.canActivate)}(o))i=vm(o.canActivate(e,t));else{if(!dy(o))throw new Error("Invalid CanActivate guard");i=vm(o(e,t))}return i.pipe(kd())}))}))).pipe(My()):qp(!0)}function jy(t,e,n){var r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map((function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)})).filter((function(t){return null!==t})).map((function(e){return ed((function(){return qp(e.guards.map((function(i){var o,s=Dy(i,e.node,n);if(function(t){return t&&dy(t.canActivateChild)}(s))o=vm(s.canActivateChild(r,t));else{if(!dy(s))throw new Error("Invalid CanActivateChild guard");o=vm(s(r,t))}return o.pipe(kd())}))).pipe(My())}))}));return qp(i).pipe(My())}var Fy=function(){return function(){}}(),Vy=function(){function t(t,e,n,r,i,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=Uy(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new Km([],Object.freeze({}),Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new zm(n,e),i=new Zm(this.url,r);return this.inheritParamsAndData(i._root),qp(i)}catch(s){return new T((function(t){return t.error(s)}))}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=Qm(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,i=km(e,(function(e,n){return r.processSegmentGroup(t,e,n)}));return n={},i.forEach((function(t){var e=n[t.value.outlet];if(e){var r=e.url.map((function(t){return t.toString()})).join("/"),i=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[t.value.outlet]=t.value})),function(t){t.sort((function(t,e){return"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)}))}(i),i},t.prototype.processSegment=function(t,e,n,r){var i,o;try{for(var s=a(t),u=s.next();!u.done;u=s.next()){var l=u.value;try{return this.processSegmentAgainstRoute(l,e,n,r)}catch(c){if(!(c instanceof Fy))throw c}}}catch(h){i={error:h}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new Fy},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new Fy;if((t.outlet||"primary")!==r)throw new Fy;var i,s=[],a=[];if("**"===t.path){var u=n.length>0?ym(n).parameters:{};i=new Km(n,u,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,Yy(t),r,t.component,t,Ly(e),Hy(e)+n.length,Wy(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Fy;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||am)(n,t,e);if(!r)throw new Fy;var i={};gm(r.posParams,(function(t,e){i[e]=t.path}));var s=r.consumed.length>0?o(o({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s}}(e,t,n);s=l.consumedSegments,a=n.slice(l.lastChild),i=new Km(s,l.parameters,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,Yy(t),r,t.component,t,Ly(e),Hy(e)+s.length,Wy(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=Uy(e,s,a,c,this.relativeLinkResolution),f=h.segmentGroup,p=h.slicedSegments;if(0===p.length&&f.hasChildren()){var d=this.processChildren(c,f);return[new zm(i,d)]}if(0===c.length&&0===p.length)return[new zm(i,[])];var m=this.processSegment(c,f,p,"primary");return[new zm(i,m)]},t}();function Ly(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Hy(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Uy(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some((function(n){return By(t,e,n)&&"primary"!==zy(n)}))}(t,n,r)){var s=new wm(e,function(t,e,n,r){var i,o,s={};s.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var u=a(n),l=u.next();!l.done;l=u.next()){var c=l.value;if(""===c.path&&"primary"!==zy(c)){var h=new wm([],{});h._sourceSegment=t,h._segmentIndexShift=e.length,s[zy(c)]=h}}}catch(f){i={error:f}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return s}(t,e,r,new wm(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return By(t,e,n)}))}(t,n,r)){var u=new wm(t.segments,function(t,e,n,r,i,s){var u,l,c={};try{for(var h=a(r),f=h.next();!f.done;f=h.next()){var p=f.value;if(By(t,n,p)&&!i[zy(p)]){var d=new wm([],{});d._sourceSegment=t,d._segmentIndexShift="legacy"===s?t.segments.length:e.length,c[zy(p)]=d}}}catch(m){u={error:m}}finally{try{f&&!f.done&&(l=h.return)&&l.call(h)}finally{if(u)throw u.error}}return o(o({},i),c)}(t,e,n,r,t.children,i));return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}var l=new wm(t.segments,t.children);return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:n}}function By(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function zy(t){return t.outlet||"primary"}function Yy(t){return t.data||{}}function Wy(t){return t.resolve||{}}function qy(t,e,n,r){var i=Dy(t,e,r);return vm(i.resolve?i.resolve(e,n):i(e,n))}function Gy(t){return function(e){return e.pipe(Td((function(e){var n=t(e);return n?Q(n).pipe(Y((function(){return e}))):Q([e])})))}}var Qy=function(){return function(){}}(),Ky=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Zy=new Qt("ROUTES"),$y=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Y((function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new um(mm(i.injector.get(Zy)).map(fm),i)})))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Q(this.loader.load(t)):vm(t()).pipe(K((function(t){return t instanceof ue?qp(t):Q(e.compiler.compileModuleAsync(t))})))},t}(),Jy=function(){return function(){}}(),Xy=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function tg(t){throw t}function eg(t,e,n){return e.parse("/")}function ng(t,e){return qp(null)}var rg=function(){function t(t,e,n,r,i,o,s,a){var u=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new M,this.errorHandler=tg,this.malformedUriErrorHandler=eg,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ng,afterPreactivation:ng},this.urlHandlingStrategy=new Xy,this.routeReuseStrategy=new Ky,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(ae),this.console=i.get(Hu);var l=i.get(tl);this.isNgZoneEnabled=l instanceof tl,this.resetConfig(a),this.currentUrlTree=new bm(new wm([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new $y(o,s,(function(t){return u.triggerEvent(new Zd(t))}),(function(t){return u.triggerEvent(new $d(t))})),this.routerState=qm(this.currentUrlTree,this.rootComponentType),this.transitions=new Gp({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(rd((function(t){return 0!==t.id})),Y((function(t){return o(o({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),Td((function(t){var r,i,s,u,l=!1,c=!1;return qp(t).pipe(Nd((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?o(o({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Td((function(t){var r,i,s,a,u=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||u)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return qp(t).pipe(Td((function(t){var r=e.transitions.getValue();return n.next(new Ud(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?Xp:[t]})),Td((function(t){return Promise.resolve(t)})),(r=e.ngModule.injector,i=e.configLoader,s=e.urlSerializer,a=e.config,function(t){return t.pipe(Td((function(t){return function(t,e,n,r,i){return new wy(t,e,n,r,i).apply()}(r,i,s,t.extractedUrl,a).pipe(Y((function(e){return o(o({},t),{urlAfterRedirects:e})})))})))}),Nd((function(t){e.currentNavigation=o(o({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})})),function(t,n,r,i,s){return function(r){return r.pipe(K((function(r){return function(t,e,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new Vy(t,e,n,r,i,o).recognize()}(t,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,e.serializeUrl(a)),i,s).pipe(Y((function(t){return o(o({},r),{targetSnapshot:t})})));var a})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Nd((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Nd((function(t){var r=new Wd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)})));if(u&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.extractedUrl,c=t.source,h=t.restoredState,f=t.extras,p=new Ud(t.id,e.serializeUrl(l),c,h);n.next(p);var d=qm(l,e.rootComponentType).snapshot;return qp(o(o({},t),{targetSnapshot:d,urlAfterRedirects:l,extras:o(o({},f),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Xp})),Gy((function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Nd((function(t){var n=new qd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Y((function(t){return o(o({},t),{guards:(n=t.targetSnapshot,r=t.currentSnapshot,i=e.rootContexts,s=n._root,Oy(s,r?r._root:null,i,[s.value]))});var n,r,i,s})),function(t,e){return function(n){return n.pipe(K((function(n){var r=n.targetSnapshot,i=n.currentSnapshot,s=n.guards,a=s.canActivateChecks,u=s.canDeactivateChecks;return 0===u.length&&0===a.length?qp(o(o({},n),{guardsResult:!0})):function(t,e,n,r){return Q(t).pipe(K((function(t){return function(t,e,n,r,i){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?qp(o.map((function(o){var s,a=Dy(o,e,i);if(function(t){return t&&dy(t.canDeactivate)}(a))s=vm(a.canDeactivate(t,e,n,r));else{if(!dy(a))throw new Error("Invalid CanDeactivate guard");s=vm(a(t,e,n,r))}return s.pipe(kd())}))).pipe(My()):qp(!0)}(t.component,t.route,n,e,r)})),kd((function(t){return!0!==t}),!0))}(u,r,i,t).pipe(K((function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return Q(e).pipe(Rd((function(e){return Q([Ry(e.route.parent,r),Iy(e.route,r),jy(t,e.path,n),Ny(t,e.route,n)]).pipe(nd(),kd((function(t){return!0!==t}),!0))})),kd((function(t){return!0!==t}),!0))}(r,a,t,e):qp(n)})),Y((function(t){return o(o({},n),{guardsResult:t})})))})))}}(e.ngModule.injector,(function(t){return e.triggerEvent(t)})),Nd((function(t){if(my(t.guardsResult)){var n=sm('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}})),Nd((function(t){var n=new Gd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),rd((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new zd(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0})),Gy((function(t){if(t.guards.canActivateChecks.length)return qp(t).pipe(Nd((function(t){var n=new Qd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(K((function(t){var e=t.targetSnapshot,i=t.guards.canActivateChecks;return i.length?Q(i).pipe(Rd((function(t){return function(t,e,n,r){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return qp({});if(1===i.length){var o=i[0];return qy(t[o],e,n,r).pipe(Y((function(t){var e;return(e={})[o]=t,e})))}var s={};return Q(i).pipe(K((function(i){return qy(t[i],e,n,r).pipe(Y((function(t){return s[i]=t,t})))}))).pipe(gd(),Y((function(){return s})))}(t._resolve,t,e,r).pipe(Y((function(e){return t._resolvedData=e,t.data=o(o({},t.data),Qm(t,n).resolve),null})))}(t.route,e,n,r)})),function(t,e){return arguments.length>=2?function(n){return E(Ad(t,e),ad(1),dd(e))(n)}:function(e){return E(Ad((function(e,n,r){return t(e,n,r+1)})),ad(1))(e)}}((function(t,e){return t})),Y((function(e){return t}))):qp(t)})))}),Nd((function(t){var n=new Kd(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})));var n,r})),Gy((function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Y((function(t){var n,r,i,s=(i=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var i=function(e,n,r){return n.children.map((function(n){var i,o;try{for(var s=a(r.children),u=s.next();!u.done;u=s.next()){var l=u.value;if(e.shouldReuseRoute(l.value.snapshot,n.value))return t(e,n,l)}}catch(c){i={error:c}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return t(e,n)}))}(e,n,r);return new zm(l,i)}var o=e.retrieve(n.value);if(o){var s=o.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,s),s}var u,l=new Gm(new Gp((u=n.value).url),new Gp(u.params),new Gp(u.queryParams),new Gp(u.fragment),new Gp(u.data),u.outlet,u.component,u);return i=n.children.map((function(n){return t(e,n)})),new zm(l,i)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new Wm(i,n));return o(o({},t),{targetRouterState:s})})),Nd((function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),(i=e.rootContexts,s=e.routeReuseStrategy,u=function(t){return e.triggerEvent(t)},Y((function(t){return new fy(s,t.targetRouterState,t.currentRouterState,u).activate(i),t}))),Nd({next:function(){l=!0},complete:function(){l=!0}}),(r=function(){if(!l&&!c){e.resetUrlToCurrentUrlTree();var r=new zd(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(r),t.resolve(!1)}e.currentNavigation=null},function(t){return t.lift(new Vd(r))}),vd((function(r){if(c=!0,(a=r)&&a.ngNavigationCancelingError){var i=my(r.url);i||(e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));var o=new zd(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(o),i?setTimeout((function(){var n=e.urlHandlingStrategy.merge(r.url,e.rawUrlTree);return e.scheduleNavigation(n,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})}),0):t.resolve(!1)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var s=new Yd(t.id,e.serializeUrl(t.extractedUrl),r);n.next(s);try{t.resolve(e.errorHandler(r))}catch(u){t.reject(u)}}var a;return Xp})))})))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t},t.prototype.setTransition=function(t){this.transitions.next(o(o({},this.getTransition()),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",i=e.state&&e.state.navigationId?e.state:null;setTimeout((function(){t.scheduleNavigation(n,r,i,{replaceUrl:!0})}),0)})))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.getCurrentNavigation=function(){return this.currentNavigation},t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){lm(t),this.config=t.map(fm),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,i=e.fragment,s=e.preserveQueryParams,a=e.queryParamsHandling,u=e.preserveFragment;lr()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,h=u?this.currentUrlTree.fragment:i,f=null;if(a)switch(a){case"merge":f=o(o({},this.currentUrlTree.queryParams),r);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=r||null}else f=s?this.currentUrlTree.queryParams:r||null;return null!==f&&(f=this.removeEmptyProps(f)),function(t,e,n,r,i){if(0===n.length)return ny(e.root,e.root,e,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ry(!0,0,t);var e=0,n=!1,r=t.reduce((function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return gm(r.outlets,(function(t,e){o[e]="string"==typeof t?t.split("/"):t})),l(t,[{outlets:o}])}if(r.segmentPath)return l(t,[r.segmentPath])}return"string"!=typeof r?l(t,[r]):0===i?(r.split("/").forEach((function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))})),t):l(t,[r])}),[]);return new ry(n,e,r)}(n);if(o.toRoot())return ny(e.root,new wm([],{}),e,r,i);var s=function(t,e,n){if(t.isAbsolute)return new iy(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new iy(n.snapshot._urlSegment,!0,0);var r=ey(t.commands[0])?0:1;return function(t,e,n){for(var r=t,i=e,o=n;o>i;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new iy(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),a=s.processChildren?ay(s.segmentGroup,s.index,o.commands):sy(s.segmentGroup,s.index,o.commands);return ny(s.segmentGroup,a,e,r,i)}(c,this.currentUrlTree,t,f,h)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),lr()&&this.isNgZoneEnabled&&!tl.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=my(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(my(t))return _m(this.currentUrlTree,t,e);var n=this.parseUrl(t);return _m(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce((function(e,n){var r=t[n];return null!=r&&(e[n]=r),e}),{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe((function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new Bd(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)}),(function(e){t.console.warn("Unhandled Navigation Error: ")}))},t.prototype.scheduleNavigation=function(t,e,n,r,i){var o,s,a,u=this.getTransition();if(u&&"imperative"!==e&&"imperative"===u.source&&u.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(u&&"hashchange"==e&&"popstate"===u.source&&u.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(u&&"popstate"==e&&"hashchange"===u.source&&u.rawUrl.toString()===t.toString())return Promise.resolve(!0);i?(o=i.resolve,s=i.reject,a=i.promise):a=new Promise((function(t,e){o=t,s=e}));var l=++this.navigationId;return this.setTransition({id:l,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:o,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch((function(t){return Promise.reject(t)}))},t.prototype.setBrowserUrl=function(t,e,n,r){var i=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",o(o({},r),{navigationId:n})):this.location.go(i,"",o(o({},r),{navigationId:n}))},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t.\u0275fac=function(t){ys()},t.\u0275dir=Te({type:t}),t}(),ig=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe((function(t){t instanceof Bd&&r.updateTargetUrlAndHref()}))}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){lr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:og(this.skipLocationChange),replaceUrl:og(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:og(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:og(this.preserveFragment)})},enumerable:!0,configurable:!0}),t.\u0275fac=function(e){return new(e||t)(ms(rg),ms(Gm),ms(Bl))},t.\u0275dir=Te({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Es("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)})),2&t&&(na("href",e.href,Ir),fs("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[ca]}),t}();function og(t){return""===t||!!t}var sg=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ag,this.attachRef=null}}(),ag=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new sg,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),ug=function(){function t(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new bu,this.deactivateEvents=new bu,this.name=r||"primary",t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new lg(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t.\u0275fac=function(e){return new(e||t)(ms(ag),ms(Za),ms(ka),("name",function(t,e){var n=t.attrs;if(n)for(var r=n.length,i=0;i<r;){var o=n[i];if(Cn(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if("name"===o)return n[i+1];i+=2}}return null}(ze())),ms(Io))},t.\u0275dir=Te({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t}(),lg=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===Gm?this.route:t===ag?this.childContexts:this.parent.get(t,e)},t}(),cg=function(){return function(){}}(),hg=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(vd((function(){return qp(null)})))},t}(),fg=function(){function t(){}return t.prototype.preload=function(t,e){return qp(null)},t}(),pg=function(){function t(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=new $y(e,n,(function(e){return t.triggerEvent(new Zd(e))}),(function(e){return t.triggerEvent(new $d(e))}))}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(rd((function(t){return t instanceof Bd})),Rd((function(){return t.preload()}))).subscribe((function(){}))},t.prototype.preload=function(){var t=this.injector.get(ae);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,r,i=[];try{for(var o=a(e),s=o.next();!s.done;s=o.next()){var u=s.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var l=u._loadedConfig;i.push(this.processRoutes(l.module,l.routes))}else u.loadChildren&&!u.canLoad?i.push(this.preloadConfig(t,u)):u.children&&i.push(this.processRoutes(t,u.children))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return Q(i).pipe(X(),Y((function(t){})))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,(function(){return n.loader.load(t.injector,e).pipe(K((function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)})))}))},t.\u0275fac=function(e){return new(e||t)(re(rg),re(wl),re(Zu),re(Ko),re(cg))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),dg=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe((function(e){e instanceof Ud?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Bd&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))}))},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe((function(e){e instanceof nm&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))}))},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new nm(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t.\u0275fac=function(t){ys()},t.\u0275dir=Te({type:t}),t}(),mg=new Qt("ROUTER_CONFIGURATION"),yg=new Qt("ROUTER_FORROOT_GUARD"),gg=[Gl,{provide:Em,useClass:xm},{provide:rg,useFactory:function(t,e,n,r,i,o,s,a,u,l){void 0===a&&(a={});var c=new rg(null,t,e,n,r,i,o,mm(s));if(u&&(c.urlHandlingStrategy=u),l&&(c.routeReuseStrategy=l),a.errorHandler&&(c.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(c.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){var h=Pl();c.events.subscribe((function(t){h.logGroup("Router Event: "+t.constructor.name),h.log(t.toString()),h.log(t),h.logGroupEnd()}))}return a.onSameUrlNavigation&&(c.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(c.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(c.relativeLinkResolution=a.relativeLinkResolution),c},deps:[Em,ag,Gl,Ko,wl,Zu,Zy,mg,[Jy,new pt],[Qy,new pt]]},ag,{provide:Gm,useFactory:function(t){return t.routerState.root},deps:[rg]},{provide:wl,useClass:kl},pg,fg,hg,{provide:mg,useValue:{enableTracing:!1}}];function vg(){return new dl("Router",rg)}var _g=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[gg,Cg(t),{provide:yg,useFactory:Sg,deps:[[rg,new pt,new mt]]},{provide:mg,useValue:n||{}},{provide:Bl,useFactory:wg,deps:[Il,[new ft(Yl),new pt],mg]},{provide:dg,useFactory:bg,deps:[rg,gc,mg]},{provide:cg,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:fg},{provide:dl,multi:!0,useFactory:vg},[kg,{provide:Mu,multi:!0,useFactory:Eg,deps:[kg]},{provide:Tg,useFactory:xg,deps:[kg]},{provide:Lu,multi:!0,useExisting:Tg}]]}},t.forChild=function(t){return{ngModule:e,providers:[Cg(t)]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)(re(yg,8),re(rg,8))}}),t}();function bg(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new dg(t,e,n)}function wg(t,e,n){return void 0===n&&(n={}),n.useHash?new ql(t,e):new Wl(t,e)}function Sg(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Cg(t){return[{provide:Zo,multi:!0,useValue:t},{provide:Zy,multi:!0,useValue:t}]}var kg=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new M}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(Nl,Promise.resolve(null)).then((function(){var e=null,n=new Promise((function(t){return e=t})),r=t.injector.get(rg),i=t.injector.get(mg);if(t.isLegacyDisabled(i)||t.isLegacyEnabled(i))e(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '"+i.initialNavigation+"'");r.hooks.afterPreactivation=function(){return t.initNavigation?qp(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n}))},t.prototype.bootstrapListener=function(t){var e=this.injector.get(mg),n=this.injector.get(pg),r=this.injector.get(dg),i=this.injector.get(rg),o=this.injector.get(_l);t===o.components[0]&&(this.isLegacyEnabled(e)?i.initialNavigation():this.isLegacyDisabled(e)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t.\u0275fac=function(e){return new(e||t)(re(Ko))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function Eg(t){return t.appInitializer.bind(t)}function xg(t){return t.bootstrapListener.bind(t)}var Tg=new Qt("Router Initializer"),Dg=n("6foH"),Og=n.n(Dg),Pg=function(){function t(t,e){this.open=t,this.close=e||t}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),Ag={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function Mg(t,e){void 0===e&&(e=Ag);var n=(t||"").trim();if(0===n.length)return[];var r=n.split(/\s+/).map((function(t){return t.split(":")})).map((function(t){var n=e[t[0]]||t;return new Pg(n[0],n[1])})),i=r.filter((function(t){return t.isManual()}));if(i.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===i.length&&r.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return r}var Ig,Rg="undefined"!=typeof window&&window||{};function Ng(){return void 0===Rg||(void 0===Rg.__theme?Ig?"bs3"===Ig:"bs3"===(Ig=function(){if("undefined"==typeof document)return null;var t=document.createElement("span");t.innerText="test bs version",document.body.appendChild(t),t.classList.add("d-none");var e=t.getBoundingClientRect();return document.body.removeChild(t),e&&0===e.top?"bs4":"bs3"}()):"bs4"!==Rg.__theme)}var jg=function(){function t(){this.length=0,this.asArray=[]}return t.prototype.get=function(t){if(!(0===this.length||t<0||t>=this.length)){for(var e=this.head,n=0;n<t;n++)e=e.next;return e.value}},t.prototype.add=function(t,e){if(void 0===e&&(e=this.length),e<0||e>this.length)throw new Error("Position is out of the list");var n={value:t,next:void 0,previous:void 0};if(0===this.length)this.head=n,this.tail=n,this.current=n;else if(0===e)n.next=this.head,this.head.previous=n,this.head=n;else if(e===this.length)this.tail.next=n,n.previous=this.tail,this.tail=n;else{var r=this.getNode(e-1),i=r.next;r.next=n,i.previous=n,n.previous=r,n.next=i}this.length++,this.createInternalArrayRepresentation()},t.prototype.remove=function(t){if(void 0===t&&(t=0),0===this.length||t<0||t>=this.length)throw new Error("Position is out of the list");if(0===t)this.head=this.head.next,this.head?this.head.previous=void 0:this.tail=void 0;else if(t===this.length-1)this.tail=this.tail.previous,this.tail.next=void 0;else{var e=this.getNode(t);e.next.previous=e.previous,e.previous.next=e.next}this.length--,this.createInternalArrayRepresentation()},t.prototype.set=function(t,e){if(0===this.length||t<0||t>=this.length)throw new Error("Position is out of the list");this.getNode(t).value=e,this.createInternalArrayRepresentation()},t.prototype.toArray=function(){return this.asArray},t.prototype.findAll=function(t){for(var e=this.head,n=[],r=0;r<this.length;r++)t(e.value,r)&&n.push({index:r,value:e.value}),e=e.next;return n},t.prototype.push=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.forEach((function(e){t.add(e)})),this.length},t.prototype.pop=function(){if(0!==this.length){var t=this.tail;return this.remove(this.length-1),t.value}},t.prototype.unshift=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.reverse(),e.forEach((function(e){t.add(e,0)})),this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.value;return this.remove(),t}},t.prototype.forEach=function(t){for(var e=this.head,n=0;n<this.length;n++)t(e.value,n),e=e.next},t.prototype.indexOf=function(t){for(var e=this.head,n=0,r=0;r<this.length;r++){if(e.value===t){n=r;break}e=e.next}return n},t.prototype.some=function(t){for(var e=this.head,n=!1;e&&!n;){if(t(e.value)){n=!0;break}e=e.next}return n},t.prototype.every=function(t){for(var e=this.head,n=!0;e&&n;)t(e.value)||(n=!1),e=e.next;return n},t.prototype.toString=function(){return"[Linked List]"},t.prototype.find=function(t){for(var e,n=this.head,r=0;r<this.length;r++){if(t(n.value,r)){e=n.value;break}n=n.next}return e},t.prototype.findIndex=function(t){for(var e,n=this.head,r=0;r<this.length;r++){if(t(n.value,r)){e=r;break}n=n.next}return e},t.prototype.getNode=function(t){if(0===this.length||t<0||t>=this.length)throw new Error("Position is out of the list");for(var e=this.head,n=0;n<t;n++)e=e.next;return e},t.prototype.createInternalArrayRepresentation=function(){for(var t=[],e=this.head;e;)t.push(e.value),e=e.next;this.asArray=t},t}(),Fg=function(){function t(){}return t.reflow=function(t){},t.getStyles=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=Rg),e.getComputedStyle(t)},t}(),Vg={},Lg="undefined"==typeof console||!("warn"in console);function Hg(t){!lr()||Lg||t in Vg||(Vg[t]=!0,console.warn(t))}function Ug(t,e,n,r){return f(n)&&(r=n,n=void 0),r?Ug(t,e,n).pipe(Y((function(t){return c(t)?r.apply(void 0,t):r(t)}))):new T((function(r){!function t(e,n,r,i,o){var s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var a=e;e.addEventListener(n,r,o),s=function(){return a.removeEventListener(n,r,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var u=e;e.on(n,r),s=function(){return u.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var l=e;e.addListener(n,r),s=function(){return l.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c<h;c++)t(e[c],n,r,i,o)}i.add(s)}(t,e,(function(t){r.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),r,n)}))}var Bg=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return i(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return i(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(d)),zg=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return i(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(Bg),Yg=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),Wg=function(t){function e(n,r){void 0===r&&(r=Yg.now);var i=t.call(this,n,(function(){return e.delegate&&e.delegate!==i?e.delegate.now():r()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return i(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(Yg),qg=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(Wg))(zg);function Gg(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function Qg(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function Kg(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Gg(t),n=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(String(e.overflow)+String(r)+String(n))?t:Kg(Qg(t))}var Zg="undefined"!=typeof window&&"undefined"!=typeof document,$g=Zg&&!(!window.MSInputMethodContext||!document.documentMode),Jg=Zg&&!(!window.MSInputMethodContext||!/MSIE 10/.test(navigator.userAgent));function Xg(t){return 11===t?$g:10===t?Jg:$g||Jg}function tv(t){if(!t)return document.documentElement;for(var e,n=Xg(10)?document.body:null,r=t.offsetParent||null;r===n&&t.nextElementSibling&&e!==t.nextElementSibling;)r=(e=t.nextElementSibling).offsetParent;var i=r&&r.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===Gg(r,"position")?tv(r):r:e?e.ownerDocument.documentElement:document.documentElement}function ev(t){return null!==t.parentNode?ev(t.parentNode):t}function nv(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var s,a,u=o.commonAncestorContainer;if(t!==u&&e!==u||r.contains(i))return"BODY"===(a=(s=u).nodeName)||"HTML"!==a&&tv(s.firstElementChild)!==s?tv(u):u;var l=ev(t);return l.host?nv(l.host,e):nv(t,ev(e).host)}function rv(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function iv(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],Xg(10)?parseInt(n["offset"+t],10)+parseInt(r["margin"+("Height"===t?"Top":"Left")],10)+parseInt(r["margin"+("Height"===t?"Bottom":"Right")],10):0)}function ov(t){var e=t.body,n=t.documentElement,r=Xg(10)&&getComputedStyle(n);return{height:iv("Height",e,n,r),width:iv("Width",e,n,r)}}function sv(t,e){void 0===e&&(e="top");var n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;return"BODY"===r||"HTML"===r?(t.ownerDocument.scrollingElement||t.ownerDocument.documentElement)[n]:t[n]}function av(t){return o({},t,{right:t.left+t.width,bottom:t.top+t.height})}function uv(t){var e={};try{if(Xg(10)){e=t.getBoundingClientRect();var n=sv(t,"top"),r=sv(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(l){return}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?ov(t.ownerDocument):{},s=t.offsetWidth-(o.width||t.clientWidth||i.right-i.left),a=t.offsetHeight-(o.height||t.clientHeight||i.bottom-i.top);if(s||a){var u=Gg(t);s-=rv(u,"x"),a-=rv(u,"y"),i.width-=s,i.height-=a}return av(i)}function lv(t,e,n){void 0===n&&(n=!1);var r=Xg(10),i="HTML"===e.nodeName,o=uv(t),s=uv(e),a=Kg(t),u=Gg(e),l=parseFloat(u.borderTopWidth),c=parseFloat(u.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=av({top:o.top-s.top-l,left:o.left-s.left-c,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!r&&i){var f=parseFloat(u.marginTop),p=parseFloat(u.marginLeft);h.top-=l-f,h.bottom-=l-f,h.left-=c-p,h.right-=c-p,h.marginTop=f,h.marginLeft=p}return(r&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(h=function(t,e,n){void 0===n&&(n=!1);var r=sv(e,"top"),i=sv(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}(h,e)),h}function cv(t){if(!t||!t.parentElement||Xg())return document.documentElement;for(var e=t.parentElement;e&&"none"===Gg(e,"transform");)e=e.parentElement;return e||document.documentElement}function hv(t,e,n,r,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o={top:0,left:0},s=i?cv(t):nv(t,e);if("viewport"===r)o=function(t,e){void 0===e&&(e=!1);var n=t.ownerDocument.documentElement,r=lv(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:sv(n),a=e?0:sv(n,"left");return av({top:s-Number(r.top)+Number(r.marginTop),left:a-Number(r.left)+Number(r.marginLeft),width:i,height:o})}(s,i);else{var a=void 0;"scrollParent"===r?"BODY"===(a=Kg(Qg(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===r?t.ownerDocument.documentElement:r;var u=lv(a,s,i);if("HTML"!==a.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===Gg(e,"position")||t(Qg(e)))}(s))o=u;else{var l=ov(t.ownerDocument),c=l.height,h=l.width;o.top+=u.top-u.marginTop,o.bottom=Number(c)+Number(u.top),o.left+=u.left-u.marginLeft,o.right=Number(h)+Number(u.left)}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function fv(t,e,n,r,i,s,a){if(void 0===i&&(i=["top","bottom","right","left"]),void 0===s&&(s="viewport"),void 0===a&&(a=0),-1===t.indexOf("auto"))return t;var u=hv(n,r,a,s),l={top:{width:u.width,height:e.top-u.top},right:{width:u.right-e.right,height:u.height},bottom:{width:u.width,height:u.bottom-e.bottom},left:{width:e.left-u.left,height:u.height}},c=Object.keys(l).map((function(t){return o({key:t},l[t],{area:(e=l[t],e.width*e.height)});var e})).sort((function(t,e){return e.area-t.area})),h=c.filter((function(t){return t.width>=n.clientWidth&&t.height>=n.clientHeight})),f=(h=h.filter((function(t){return i.some((function(e){return e===t.key}))}))).length>0?h[0].key:c[0].key,p=t.split(" ")[1];return n.className=n.className.replace(/bs-tooltip-auto/g,"bs-tooltip-"+f),f+(p?"-"+p:"")}function pv(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:Number(t.offsetWidth)+r,height:Number(t.offsetHeight)+n}}function dv(t,e,n){return void 0===n&&(n=null),lv(e,n?cv(t):nv(t,e),n)}function mv(t,e,n){var r=n.split(" ")[0],i=pv(t),o={width:i.width,height:i.height},s=-1!==["right","left"].indexOf(r),a=s?"top":"left",u=s?"left":"top",l=s?"height":"width",c=s?"width":"height";return o[a]=e[a]+e[l]/2-i[l]/2,o[u]=r===u?e[u]-i[c]:e[function(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}(u)],o}function yv(t,e){return t&&t.modifiers&&t.modifiers[e]&&t.modifiers[e].enabled}function gv(t,e,n){Object.keys(e).forEach((function(r){var i,o="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&""!==(i=e[r])&&!isNaN(parseFloat(i))&&isFinite(i)&&(o="px"),n?n.setStyle(t,r,""+String(e[r])+o):t.style[r]=String(e[r])+o}))}function vv(t){var e,n=t.offsets.target,r=t.instance.target.querySelector(".arrow");if(!r)return t;var i=-1!==["left","right"].indexOf(t.placement),o=i?"height":"width",s=i?"Top":"Left",a=s.toLowerCase(),u=i?"left":"top",l=i?"bottom":"right",c=pv(r)[o];t.offsets.host[l]-c<n[a]&&(n[a]-=n[a]-(t.offsets.host[l]-c)),Number(t.offsets.host[a])+Number(c)>n[l]&&(n[a]+=Number(t.offsets.host[a])+Number(c)-Number(n[l])),n=av(n);var h=Number(t.offsets.host[a])+Number(t.offsets.host[o]/2-c/2),f=Gg(t.instance.target),p=parseFloat(f["margin"+s]),d=parseFloat(f["border"+s+"Width"]),m=h-n[a]-p-d;return m=Math.max(Math.min(n[o]-c,m),0),t.offsets.arrow=((e={})[a]=Math.round(m),e[u]="",e),t.instance.arrow=r,t}function _v(t){if(t.offsets.target=av(t.offsets.target),!yv(t.options,"flip"))return t.offsets.target=o({},t.offsets.target,mv(t.instance.target,t.offsets.host,t.placement)),t;var e=hv(t.instance.target,t.instance.host,0,"viewport",!1),n=t.placement.split(" ")[0],r=t.placement.split(" ")[1]||"",i=fv("auto",t.offsets.host,t.instance.target,t.instance.host,t.options.allowedPositions),s=[n,i];return s.forEach((function(i,a){if(n!==i||s.length===a+1)return t;var u="left"===(n=t.placement.split(" ")[0])&&Math.floor(t.offsets.target.right)>Math.floor(t.offsets.host.left)||"right"===n&&Math.floor(t.offsets.target.left)<Math.floor(t.offsets.host.right)||"top"===n&&Math.floor(t.offsets.target.bottom)>Math.floor(t.offsets.host.top)||"bottom"===n&&Math.floor(t.offsets.target.top)<Math.floor(t.offsets.host.bottom),l=Math.floor(t.offsets.target.left)<Math.floor(e.left),c=Math.floor(t.offsets.target.right)>Math.floor(e.right),h=Math.floor(t.offsets.target.top)<Math.floor(e.top),f=Math.floor(t.offsets.target.bottom)>Math.floor(e.bottom),p="left"===n&&l||"right"===n&&c||"top"===n&&h||"bottom"===n&&f,d=-1!==["top","bottom"].indexOf(n),m=d&&"left"===r&&l||d&&"right"===r&&c||!d&&"left"===r&&h||!d&&"right"===r&&f;(u||p||m)&&((u||p)&&(n=s[a+1]),m&&(r=function(t){return"right"===t?"left":"left"===t?"right":t}(r)),t.placement=n+(r?" "+r:""),t.offsets.target=o({},t.offsets.target,mv(t.instance.target,t.offsets.host,t.placement)))})),t}function bv(t){if(!yv(t.options,"preventOverflow"))return t;var e=t.instance.target.style,n=e.top,r=e.left,i=e.transform;e.top="",e.left="",e.transform="";var s=hv(t.instance.target,t.instance.host,0,"scrollParent",!1);e.top=n,e.left=r,e.transform=i;var a,u={primary:function(e){var n,r=t.offsets.target[e];return t.offsets.target[e]<s[e]&&(r=Math.max(t.offsets.target[e],s[e])),(n={})[e]=r,n},secondary:function(e){var n,r="right"===e?"left":"top",i=t.offsets.target[r];return t.offsets.target[e]>s[e]&&(i=Math.min(t.offsets.target[r],s[e]-("right"===e?t.offsets.target.width:t.offsets.target.height))),(n={})[r]=i,n}};return["left","right","top","bottom"].forEach((function(e){a=-1!==["left","top"].indexOf(e)?"primary":"secondary",t.offsets.target=o({},t.offsets.target,u[a](e))})),t}function wv(t){var e,n,r=t.placement,i=r.split(" ")[0],s=r.split(" ")[1];if(s){var a=t.offsets,u=a.host,l=a.target,c=-1!==["bottom","top"].indexOf(i),h=c?"left":"top",f=c?"width":"height",p={start:(e={},e[h]=u[h],e),end:(n={},n[h]=u[h]+u[f]-l[f],n)};t.offsets.target=o({},l,p[s])}return t}var Sv=new(function(){function t(){}return t.prototype.position=function(t,e,n){return this.offset(t,e,!1)},t.prototype.offset=function(t,e,n){return dv(e,t)},t.prototype.positionElements=function(t,e,n,r,i){return[_v,wv,bv,vv].reduce((function(t,e){return e(t)}),function(t,e,n,r){var i=dv(t,e);n.match(/^(auto)*\s*(left|right|top|bottom)*$/)||n.match(/^(left|right|top|bottom)*\s*(start|end)*$/)||(n="auto");var o=!!n.match(/auto/g),s=n.match(/auto\s(left|right|top|bottom)/)?n.split(" ")[1]||"auto":n;return{options:r,instance:{target:t,host:e,arrow:null},offsets:{target:mv(t,i,s),host:i,arrow:null},positionFixed:!1,placement:s=fv(s,i,t,e,r?r.allowedPositions:void 0),placementAuto:o}}(e,t,n,i))},t}()),Cv=function(){function t(t,e){var n=this;this.update$$=new M,this.positionElements=new Map,this.isDisabled=!1,function(t){return"browser"===t}(e)&&(this.triggerEvent$=et(Ug(window,"scroll"),Ug(window,"resize"),qp(0,qg),this.update$$),this.triggerEvent$.subscribe((function(){n.isDisabled||n.positionElements.forEach((function(e){var r,i,o,s,a,u,l,c;r=kv(e.target),i=kv(e.element),o=e.attachment,s=e.appendToBody,a=n.options,u=t.createRenderer(null,null),gv(i,{"will-change":"transform",top:"0px",left:"0px",transform:"translate3d("+(c=function(t){return{width:t.offsets.target.width,height:t.offsets.target.height,left:Math.floor(t.offsets.target.left),top:Math.round(t.offsets.target.top),bottom:Math.round(t.offsets.target.bottom),right:Math.floor(t.offsets.target.right)}}(l=Sv.positionElements(r,i,o,s,a))).left+"px, "+c.top+"px, 0px)"},u),l.instance.arrow&&gv(l.instance.arrow,l.offsets.arrow,u),function(t,e){var n=t.instance.target,r=n.className;t.placementAuto&&(-1!==(r=(r=(r=r.replace(/bs-popover-auto/g,"bs-popover-"+t.placement)).replace(/bs-tooltip-auto/g,"bs-tooltip-"+t.placement)).replace(/\sauto/g," "+t.placement)).indexOf("popover")&&-1===r.indexOf("popover-auto")&&(r+=" popover-auto"),-1!==r.indexOf("tooltip")&&-1===r.indexOf("tooltip-auto")&&(r+=" tooltip-auto")),r=r.replace(/left|right|top|bottom/g,""+t.placement.split(" ")[0]),e?e.setAttribute(n,"class",r):n.className=r}(l,u)}))})))}return t.prototype.position=function(t){this.addPositionElement(t)},Object.defineProperty(t.prototype,"event$",{get:function(){return this.triggerEvent$},enumerable:!0,configurable:!0}),t.prototype.disable=function(){this.isDisabled=!0},t.prototype.enable=function(){this.isDisabled=!1},t.prototype.addPositionElement=function(t){this.positionElements.set(kv(t.element),t)},t.prototype.calcPosition=function(){this.update$$.next()},t.prototype.deletePositionElement=function(t){this.positionElements.delete(kv(t))},t.prototype.setOptions=function(t){this.options=t},t.\u0275fac=function(e){return new(e||t)(re(Ta),re(Vu))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function kv(t){return"string"==typeof t?document.querySelector(t):t instanceof Ea?t.nativeElement:t}var Ev=function(){return function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}(),xv=function(){function t(t,e,n,r,i,o,s,a){this._viewContainerRef=t,this._renderer=e,this._elementRef=n,this._injector=r,this._componentFactoryResolver=i,this._ngZone=o,this._applicationRef=s,this._posService=a,this.onBeforeShow=new bu,this.onShown=new bu,this.onBeforeHide=new bu,this.onHidden=new bu,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}return Object.defineProperty(t.prototype,"isShown",{get:function(){return!this._isHiding&&!!this._componentRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this},t.prototype.to=function(t){return this.container=t||this.container,this},t.prototype.position=function(t){return this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this},t.prototype.provide=function(t){return this._providers.push(t),this},t.prototype.show=function(t){if(void 0===t&&(t={}),this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context,t.initialState);var e=Ko.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(e,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof Ea&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&"undefined"!=typeof document&&(document.querySelector(this.container)||document.querySelector(this.containerDefaultSelector)).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef},t.prototype.hide=function(){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);var t=this._componentRef.location.nativeElement;return t.parentNode.removeChild(t),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this},t.prototype.toggle=function(){this.isShown?this.hide():this.show()},t.prototype.dispose=function(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()},t.prototype.listen=function(t){var e=this;this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,this._listenOpts.outsideEsc=t.outsideEsc,t.target=t.target||this._elementRef.nativeElement;var n=this._listenOpts.hide=function(){return t.hide?t.hide():void e.hide()},r=this._listenOpts.show=function(n){t.show?t.show(n):e.show(n),n()};return this._unregisterListenersFn=function(t,e){var n=Mg(e.triggers),r=e.target;if(1===n.length&&n[0].isManual())return Function.prototype;var i=[],o=[],s=function(){o.forEach((function(t){return i.push(t())})),o.length=0};return n.forEach((function(n){var a=n.open===n.close,u=a?e.toggle:e.show;a||o.push((function(){return t.listen(r,n.close,e.hide)})),i.push(t.listen(r,n.open,(function(){return u(s)})))})),function(){i.forEach((function(t){return t()}))}}(this._renderer,{target:t.target,triggers:t.triggers,show:r,hide:n,toggle:function(t){e.isShown?n():r(t)}}),this},t.prototype._removeGlobalListener=function(){this._globalListener&&(this._globalListener(),this._globalListener=null)},t.prototype.attachInline=function(t,e){return this._inlineViewRef=t.createEmbeddedView(e),this},t.prototype._registerOutsideClick=function(){var t=this;if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){var e=this._componentRef.location.nativeElement;setTimeout((function(){var n;t._globalListener=(n={targets:[e,t._elementRef.nativeElement],outsideClick:t._listenOpts.outsideClick,hide:function(){return t._listenOpts.hide()}}).outsideClick?t._renderer.listen("document","click",(function(t){n.target&&n.target.contains(t.target)||n.targets&&n.targets.some((function(e){return e.contains(t.target)}))||n.hide()})):Function.prototype}))}var n;this._listenOpts.outsideEsc&&(this._globalListener=(n={targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:function(){return t._listenOpts.hide()}}).outsideEsc?this._renderer.listen("document","keyup.esc",(function(t){n.target&&n.target.contains(t.target)||n.targets&&n.targets.some((function(e){return e.contains(t.target)}))||n.hide()})):Function.prototype)}},t.prototype.getInnerComponent=function(){return this._innerComponent},t.prototype._subscribePositioning=function(){var t=this;!this._zoneSubscription&&this.attachment&&(this.onShown.subscribe((function(){t._posService.position({element:t._componentRef.location,target:t._elementRef,attachment:t.attachment,appendToBody:"body"===t.container})})),this._zoneSubscription=this._ngZone.onStable.subscribe((function(){t._componentRef&&t._posService.calcPosition()})))},t.prototype._unsubscribePositioning=function(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)},t.prototype._getContentRef=function(t,e,n){if(!t)return new Ev([]);if(t instanceof Qa){if(this._viewContainerRef){var r=this._viewContainerRef.createEmbeddedView(t,e);return r.markForCheck(),new Ev([r.rootNodes],r)}var i=t.createEmbeddedView({});return this._applicationRef.attachView(i),new Ev([i.rootNodes],i)}if("function"==typeof t){var o=this._componentFactoryResolver.resolveComponentFactory(t),s=Ko.create({providers:this._providers,parent:this._injector}),a=o.create(s);return Object.assign(a.instance,n),this._applicationRef.attachView(a.hostView),new Ev([[a.location.nativeElement]],a.hostView,a)}return new Ev([[this._renderer.createText(""+t)]])},t}(),Tv=function(){function t(t,e,n,r,i){this._componentFactoryResolver=t,this._ngZone=e,this._injector=n,this._posService=r,this._applicationRef=i}return t.prototype.createLoader=function(t,e,n){return new xv(e,n,t,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)},t.\u0275fac=function(e){return new(e||t)(re(ka),re(tl),re(Ko),re(Cv),re(_l))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Dv=new Wg(Bg);function Ov(t){return!c(t)&&t-parseFloat(t)+1>=0}function Pv(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}var Av=["*"],Mv=function(){function t(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Iv=function(){function t(t){Object.assign(this,t)}return Object.defineProperty(t.prototype,"isBs3",{get:function(){return Ng()},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this.classMap={in:!1,fade:!1},this.classMap[this.placement]=!0,this.classMap["tooltip-"+this.placement]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)},t.\u0275fac=function(e){return new(e||t)(ms(Mv))},t.\u0275cmp=we({type:t,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:7,hostBindings:function(t,e){2&t&&(fs("id",e.id),Us("tooltip in tooltip-"+e.placement+" bs-tooltip-"+e.placement+" "+e.placement+" "+e.containerClass),Hs("show",!e.isBs3)("bs3",e.isBs3))},ngContentSelectors:Av,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(t,e){1&t&&(Ps(),ws(0,"div",0),_s(1,"div",1),As(2),bs())},styles:[".tooltip[_nghost-%COMP%] {\n      display: block;\n      pointer-events: none;\n    }\n    .bs3.tooltip.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%] {\n      margin-left: -2px;\n    }\n    .bs3.tooltip.bottom[_nghost-%COMP%] {\n      margin-top: 0px;\n    }\n    .bs3.bs-tooltip-left[_nghost-%COMP%], .bs3.bs-tooltip-right[_nghost-%COMP%]{\n      margin: 0px;\n    }\n    .bs3.bs-tooltip-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs3.bs-tooltip-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\n      margin: .3rem 0;\n    }"],changeDetection:0}),t}(),Rv=0,Nv=function(){function t(t,e,n,r,i,o){this._elementRef=r,this._renderer=i,this._positionService=o,this.tooltipId=Rv++,this.tooltipChange=new bu,this.containerClass="",this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.ariaDescribedby="tooltip-"+this.tooltipId,this.tooltipStateChanged=new bu,this._tooltip=e.createLoader(this._elementRef,t,this._renderer).provide({provide:Mv,useValue:n}),Object.assign(this,n),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}return Object.defineProperty(t.prototype,"isOpen",{get:function(){return this._tooltip.isShown},set:function(t){t?this.show():this.hide()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"htmlContent",{set:function(t){Hg("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_placement",{set:function(t){Hg("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isOpen",{get:function(){return Hg("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen},set:function(t){Hg("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_enable",{get:function(){return Hg("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled},set:function(t){Hg("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_appendToBody",{get:function(){return Hg('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container},set:function(t){Hg('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=t?"body":this.container},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_popupClass",{set:function(t){Hg("tooltipClass deprecated")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_tooltipContext",{set:function(t){Hg("tooltipContext deprecated")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_tooltipPopupDelay",{set:function(t){Hg("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_tooltipTrigger",{get:function(){return Hg("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers},set:function(t){Hg("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(t||"").toString()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._tooltip.listen({triggers:this.triggers,show:function(){return t.show()}}),this.tooltipChange.subscribe((function(e){e||t._tooltip.hide()}))},t.prototype.toggle=function(){if(this.isOpen)return this.hide();this.show()},t.prototype.show=function(){var t=this;if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition}}}),!(this.isOpen||this.isDisabled||this._delayTimeoutId)&&this.tooltip){var e=function(){t._delayTimeoutId&&(t._delayTimeoutId=void 0),t._tooltip.attach(Iv).to(t.container).position({attachment:t.placement}).show({content:t.tooltip,placement:t.placement,containerClass:t.containerClass,id:t.ariaDescribedby})},n=function(){t._tooltipCancelShowFn&&t._tooltipCancelShowFn()};if(this.delay){var r=function(t,e,n){void 0===t&&(t=0);var r=-1;return Ov(void 0)?r=Number(void 0)<1?1:Number(void 0):R(void 0)&&(n=void 0),R(n)||(n=Dv),new T((function(e){var i=Ov(t)?t:+t-n.now();return n.schedule(Pv,i,{index:0,period:r,subscriber:e})}))}(this.delay).subscribe((function(){e(),n()}));if(this.triggers){var i=Mg(this.triggers);this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,i[0].close,(function(){r.unsubscribe(),n()}))}}else e()}},t.prototype.hide=function(){var t=this;this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance.classMap.in=!1,setTimeout((function(){t._tooltip.hide()}),this.tooltipFadeDuration))},t.prototype.ngOnDestroy=function(){this._tooltip.dispose()},function(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);o>3&&s&&Object.defineProperty(e,n,s)}([function(t,e){var n=" __"+e+"Value";Object.defineProperty(t,e,{get:function(){return this[n]},set:function(t){var r=this[n];this[n]=t,r!==t&&this[e+"Change"]&&this[e+"Change"].emit(t)}})},s("design:type",Object)],t.prototype,"tooltip",void 0),t.\u0275fac=function(e){return new(e||t)(ms(Za),ms(Tv),ms(Mv),ms(Ea),ms(Oa),ms(Cv))},t.\u0275dir=Te({type:t,selectors:[["","tooltip",""],["","tooltipHtml",""]],hostVars:1,hostBindings:function(t,e){2&t&&fs("aria-describedby",e.ariaDescribedby)},inputs:{containerClass:"containerClass",tooltipAnimation:"tooltipAnimation",tooltipFadeDuration:"tooltipFadeDuration",isOpen:"isOpen",htmlContent:["tooltipHtml","htmlContent"],_placement:["tooltipPlacement","_placement"],_isOpen:["tooltipIsOpen","_isOpen"],_enable:["tooltipEnable","_enable"],_appendToBody:["tooltipAppendToBody","_appendToBody"],_popupClass:["tooltipClass","_popupClass"],_tooltipContext:["tooltipContext","_tooltipContext"],_tooltipPopupDelay:["tooltipPopupDelay","_tooltipPopupDelay"],_tooltipTrigger:["tooltipTrigger","_tooltipTrigger"],adaptivePosition:"adaptivePosition",tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",isDisabled:"isDisabled",delay:"delay"},outputs:{tooltipChange:"tooltipChange",tooltipStateChanged:"tooltipStateChanged",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-tooltip"]}),t}(),jv=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Mv,Tv,Cv]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},imports:[[yc]]}),t}(),Fv=["*"],Vv=function(){function t(){this.autoClose=!0,this.insideClick=!1}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Lv=function(){function t(){var t=this;this.direction="down",this.isOpenChange=new bu,this.isDisabledChange=new bu,this.toggleClick=new bu,this.dropdownMenu=new Promise((function(e){t.resolveDropdownMenu=e}))}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Hv=function(){function t(t,e,n,r){var i=this;this._state=t,this.cd=e,this._renderer=n,this._element=r,this.isOpen=!1,this._subscription=t.isOpenChange.subscribe((function(t){i.isOpen=t;var e=i._element.nativeElement.querySelector(".dropdown-menu");e&&!Ng()&&(i._renderer.addClass(e,"show"),e.classList.contains("dropdown-menu-right")&&(i._renderer.setStyle(e,"left","auto"),i._renderer.setStyle(e,"right","0")),"up"===i.direction&&(i._renderer.setStyle(e,"top","auto"),i._renderer.setStyle(e,"transform","translateY(-101%)"))),i.cd.markForCheck(),i.cd.detectChanges()}))}return Object.defineProperty(t.prototype,"direction",{get:function(){return this._state.direction},enumerable:!0,configurable:!0}),t.prototype._contains=function(t){return this._element.nativeElement.contains(t)},t.prototype.ngOnDestroy=function(){this._subscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)(ms(Lv),ms(Io),ms(Oa),ms(Ea))},t.\u0275cmp=we({type:t,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute"],ngContentSelectors:Fv,decls:2,vars:8,template:function(t,e){1&t&&(Ps(),_s(0,"div"),As(1),bs()),2&t&&Hs("dropup","up"===e.direction)("dropdown","down"===e.direction)("show",e.isOpen)("open",e.isOpen)},directives:function(){return[Uv]},encapsulation:2,changeDetection:0}),t}(),Uv=function(){function t(t,e,n,r,i,o){this._elementRef=t,this._renderer=e,this._viewContainerRef=n,this._cis=r,this._config=i,this._state=o,this._isInlineOpen=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:Lv,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}return Object.defineProperty(t.prototype,"autoClose",{get:function(){return this._state.autoClose},set:function(t){this._state.autoClose=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"insideClick",{get:function(){return this._state.insideClick},set:function(t){this._state.insideClick=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this._isDisabled},set:function(t){this._isDisabled=t,this._state.isDisabledChange.emit(t),t&&this.hide()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isOpen",{get:function(){return this._showInline?this._isInlineOpen:this._dropdown.isShown},set:function(t){t?this.show():this.hide()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isBs4",{get:function(){return!Ng()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_showInline",{get:function(){return!this.container},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:function(){return t.show()}}),this._subscriptions.push(this._state.toggleClick.subscribe((function(e){return t.toggle(e)}))),this._subscriptions.push(this._state.isDisabledChange.pipe(rd((function(t){return t}))).subscribe((function(e){return t.hide()}))))},t.prototype.show=function(){var t=this;if(!this.isOpen&&!this.isDisabled)return this._showInline?(this._inlinedMenu||this._state.dropdownMenu.then((function(e){t._dropdown.attachInline(e.viewContainer,e.templateRef),t._inlinedMenu=t._dropdown._inlineViewRef,t.addBs4Polyfills()})).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),void this._state.isOpenChange.emit(!0)):void this._state.dropdownMenu.then((function(e){var n=t.dropup||void 0!==t.dropup&&t.dropup;t._state.direction=n?"up":"down";var r=t.placement||(n?"top start":"bottom start");t._dropdown.attach(Hv).to(t.container).position({attachment:r}).show({content:e.templateRef,placement:r}),t._state.isOpenChange.emit(!0)})).catch()},t.prototype.hide=function(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))},t.prototype.toggle=function(t){return this.isOpen||!t?this.hide():this.show()},t.prototype._contains=function(t){return this._elementRef.nativeElement.contains(t.target)||this._dropdown.instance&&this._dropdown.instance._contains(t.target)},t.prototype.ngOnDestroy=function(){var t,e;try{for(var n=a(this._subscriptions),r=n.next();!r.done;r=n.next())r.value.unsubscribe()}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}this._dropdown.dispose()},t.prototype.addBs4Polyfills=function(){Ng()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())},t.prototype.addShowClass=function(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")},t.prototype.removeShowClass=function(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")},t.prototype.checkRightAlignment=function(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){var t=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",t?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",t?"0":"auto")}},t.prototype.addDropupStyles=function(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))},t.prototype.removeDropupStyles=function(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))},t.\u0275fac=function(e){return new(e||t)(ms(Ea),ms(Oa),ms(Za),ms(Tv),ms(Vv),ms(Lv))},t.\u0275dir=Te({type:t,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(t,e){2&t&&Hs("dropup",e.dropup)("open",e.isOpen)("show",e.isOpen&&e.isBs4)},inputs:{autoClose:"autoClose",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen",placement:"placement",triggers:"triggers",container:"container",dropup:"dropup"},outputs:{onShown:"onShown",onHidden:"onHidden",isOpenChange:"isOpenChange"},exportAs:["bs-dropdown"],features:[ba([Lv])]}),t}(),Bv=function(){function t(t,e,n){t.resolveDropdownMenu({templateRef:n,viewContainer:e})}return t.\u0275fac=function(e){return new(e||t)(ms(Lv),ms(Za),ms(Qa))},t.\u0275dir=Te({type:t,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),t}(),zv=function(){function t(t,e,n,r,i){var o=this;this._changeDetectorRef=t,this._dropdown=e,this._element=n,this._renderer=r,this._state=i,this.isDisabled=null,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((function(t){o.isOpen=t,t?(o._documentClickListener=o._renderer.listen("document","click",(function(t){!o._state.autoClose||2===t.button||o._element.nativeElement.contains(t.target)||o._state.insideClick&&o._dropdown._contains(t)||(o._state.toggleClick.emit(!1),o._changeDetectorRef.detectChanges())})),o._escKeyUpListener=o._renderer.listen(o._element.nativeElement,"keyup.esc",(function(){o._state.autoClose&&(o._state.toggleClick.emit(!1),o._changeDetectorRef.detectChanges())}))):(o._documentClickListener(),o._escKeyUpListener())}))),this._subscriptions.push(this._state.isDisabledChange.subscribe((function(t){return o.isDisabled=t||null})))}return t.prototype.onClick=function(){this.isDisabled||this._state.toggleClick.emit(!0)},t.prototype.ngOnDestroy=function(){var t,e;this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();try{for(var n=a(this._subscriptions),r=n.next();!r.done;r=n.next())r.value.unsubscribe()}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},t.\u0275fac=function(e){return new(e||t)(ms(Io),ms(Uv),ms(Ea),ms(Oa),ms(Lv))},t.\u0275dir=Te({type:t,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(t,e){1&t&&Es("click",(function(){return e.onClick()})),2&t&&fs("aria-haspopup",!0)("disabled",e.isDisabled)("aria-expanded",e.isOpen)},exportAs:["bs-dropdown-toggle"]}),t}(),Yv=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[Tv,Cv,Lv,{provide:Vv,useValue:e||{autoClose:!0,insideClick:!1}}]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)}}),t}(),Wv=function(){return["/Strategy"]},qv=function(){return["/Team"]},Gv=function(){return["/Maps"]},Qv=function(){return["/Videos"]},Kv=function(){return["/register"]};function Zv(t,e){1&t&&(_s(0,"div",26),_s(1,"a",27),ws(2,"i",28),Xs(3," Strategy "),bs(),_s(4,"a",27),ws(5,"i",29),Xs(6,"Team "),bs(),_s(7,"a",27),ws(8,"i",30),Xs(9," Maps "),bs(),_s(10,"a",27),ws(11,"i",31),Xs(12," Videos "),bs(),_s(13,"a",27),ws(14,"i",32),Xs(15," Data "),bs(),_s(16,"a",27),ws(17,"i",33),Xs(18," Documents "),bs(),bs()),2&t&&(si(1),gs("routerLink",pu(6,Wv)),si(3),gs("routerLink",pu(7,qv)),si(3),gs("routerLink",pu(8,Gv)),si(3),gs("routerLink",pu(9,Qv)),si(3),gs("routerLink",pu(10,Kv)),si(3),gs("routerLink",pu(11,Kv)))}var $v=function(){return["/home"]},Jv=function(){function t(){}return t.prototype.ngOnInit=function(){},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["app-navbar"]],decls:36,vars:2,consts:[["color-on-scroll","100","id","navbar-top",1,"navbar","navbar-expand-lg","fixed-top","navbar-transparent"],[1,"container"],[1,"navbar-translate"],["placement","bottom","target","_blank",1,"navbar-brand",3,"routerLink"],["aria-controls","navigation-index","aria-label","Toggle navigation","id","navigation","type","button",1,"navbar-toggler","navbar-toggler"],[1,"navbar-toggler-bar","bar1"],[1,"navbar-toggler-bar","bar2"],[1,"navbar-toggler-bar","bar3"],["id","navigation",1,"navbar-collapse","justify-content-end"],[1,"navbar-collapse-header"],[1,"row"],[1,"col-6","collapse-brand"],[1,"col-6","collapse-close","text-right"],["aria-controls","navigation-index","aria-label","Toggle navigation","id","navigation","type","button",1,"navbar-toggler"],[1,"tim-icons","icon-simple-remove"],[1,"navbar-nav"],[1,"nav-item","p-0"],["href","https://github.com/AVBLANCO/TesisArquitecturaEMVM","placement","bottom","target","_blank","tooltip","Repositorio codigo",1,"nav-link"],[1,"fab","fa-github"],[1,"d-lg-none","d-xl-none"],["href","https://hub.docker.com/","placement","bottom","target","_blank",1,"nav-link"],[1,"fab","fa-docker"],["dropdown","",1,"dropdown","nav-item"],["data-toggle","dropdown","dropdownToggle","","href","javascript:void(0)",1,"dropdown-toggle","nav-link","dropdown-toggle"],[1,"fa","fa-cogs","d-lg-none","d-xl-none"],["class","dropdown-menu dropdown-with-icons",4,"dropdownMenu"],[1,"dropdown-menu","dropdown-with-icons"],[1,"dropdown-item",3,"routerLink"],[1,"tim-icons","icon-app"],[1,"tim-icons","icon-single-02"],[1,"tim-icons","icon-map-big"],[1,"tim-icons","icon-video-66"],[1,"tim-icons","icon-single-copy-04"],[1,"tim-icons","icon-paper"]],template:function(t,e){1&t&&(_s(0,"nav",0),_s(1,"div",1),_s(2,"div",2),_s(3,"a",3),_s(4,"span"),Xs(5," \u2022 ArchITecture \u2022 "),bs(),ws(6,"img"),bs(),_s(7,"button",4),ws(8,"span",5),ws(9,"span",6),ws(10,"span",7),bs(),bs(),_s(11,"div",8),_s(12,"div",9),_s(13,"div",10),_s(14,"div",11),_s(15,"a"),Xs(16," \u2022ArchITecture\u2022 "),bs(),bs(),_s(17,"div",12),_s(18,"button",13),ws(19,"i",14),bs(),bs(),bs(),bs(),_s(20,"ul",15),_s(21,"li",16),_s(22,"a",17),ws(23,"i",18),_s(24,"p",19),Xs(25,"Git Hub"),bs(),bs(),bs(),_s(26,"li",16),_s(27,"a",20),ws(28,"i",21),_s(29,"p",19),Xs(30,"Docker"),bs(),bs(),bs(),_s(31,"li",22),_s(32,"a",23),ws(33,"i",24),Xs(34," Menu "),bs(),ds(35,Zv,19,12,"div",25),bs(),bs(),bs(),bs(),bs()),2&t&&(si(3),gs("routerLink",pu(1,$v)))},directives:[ig,Nv,Uv,zv,Bv],encapsulation:2}),t}(),Xv=function(){function t(){}return t.prototype.ngOnInit=function(){},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["app-footer"]],decls:71,vars:0,consts:[[1,"main",2,"background-color","#707070 !important"],["id","basic-elements",1,"section","section-basic",2,"background-color","#707070 !important"],["src","https://1.bp.blogspot.com/-L8a_4PeHejs/X-yOtu8h3DI/AAAAAAAAAgE/nzRjo0dKVUQxRPxqibScJohzrW0Jm16mwCLcBGAsYHQ/s2048/blob.png",1,"path"],[1,"container",2,"background-color","#707070 !important"],[1,"footer-top"],[1,"container"],[1,"row"],[1,"col-lg-3","col-md-6","mb-md-0","mb-5"],[1,"avatar","mx-auto"],["src","https://1.bp.blogspot.com/-JaGt5K_Pt9k/X-yOsHne6YI/AAAAAAAAAf4/vFmFJ2Yl-IMSCxI_KzfRbLk-uz55ZVgogCLcBGAsYHQ/s0/arquitectura.png","alt","Sample avatar",1,"z-depth-1"],["src","https://1.bp.blogspot.com/-cZx4kLTUe-M/X-yO0sxYzlI/AAAAAAAAAg8/rsMPO8iMfQ028CYdr96uON-QE5g5gVNogCLcBGAsYHQ/s320/ingsistemas.png","alt","Sample avatar",1,"z-depth-1"],["src","https://1.bp.blogspot.com/-ScJk5aEd0XM/X-yO9Yi11bI/AAAAAAAAAiY/XqDQTgqepsEHjgeIJCYS8QZ8ylqUiCBwQCLcBGAsYHQ/s0/silux2.png","alt","Sample avatar",1,""],["src","https://1.bp.blogspot.com/-cZx4kLTUe-M/X-yO0sxYzlI/AAAAAAAAAg8/rsMPO8iMfQ028CYdr96uON-QE5g5gVNogCLcBGAsYHQ/s320/ingsistemas.png","alt","Sample avatar",1,""],[1,"col-lg-6"],[1,"col-sm-6"],[1,"footer-newsletter"],[2,"text-align","justify"],[1,"footer-links"],[1,"social-links"],["data-toggle","tooltip","data-placement","top","title","","data-original-title","Repositorio GitHub."],["href","https://github.com/AVBLANCO/TesisArquitecturaEMVM.git","target","_blank","rel","noopener noreferrer",1,"github"],["src","https://1.bp.blogspot.com/-sKBjHWCw6Qo/X-yOyuMCYqI/AAAAAAAAAgs/hS6DZ28MVCs5Qm4oC85rc8irh0gzpfftACLcBGAsYHQ/s320/git.png","alt","DockerHub",2,"width","50px","height","40px"],["data-toggle","tooltip","data-placement","top","title","","data-original-title","Repositorio DockerHub."],["href","https://hub.docker.com/","target","_blank","rel","noopener noreferrer"],["src","https://1.bp.blogspot.com/-giN4WNAFx3c/X-yOwNWSm2I/AAAAAAAAAgY/BYwmSLo3T2Mnb8MqUNuTAzIW9T_GSkqqwCLcBGAsYHQ/s320/docker.png","alt","DockerHub",2,"width","50px","height","50px"],[1,"form"],["method","post","role","form","action",""],["type","hidden","name","csrfmiddlewaretoken","value","4t3dPNYt8cLIQlGo86FwTUmhkB53MzdnGkKBkoA5Ajs5zdyJkShdDoYbVjj4KCUa"],[1,"form-group"],["type","text","name","name","id","name","maxlength","80","placeholder","Nombre","data-rule","minlen:4","required","",1,"form-control"],["type","email","name","email","id","email","maxlength","80","placeholder","Correo Electronico","data-rule","email","required","",1,"form-control"],["name","message","rows","5","maxlength","80","data-rule","required","required","","placeholder","Mensaje",1,"form-control"],[1,"text-center"],["type","submit","title","Send Message"]],template:function(t,e){1&t&&(_s(0,"div",0),_s(1,"div",1),ws(2,"img",2),ws(3,"div",3),_s(4,"div",4),_s(5,"div",5),_s(6,"div",6),_s(7,"div",7),_s(8,"div",8),ws(9,"img",9),bs(),bs(),_s(10,"div",7),_s(11,"div",8),ws(12,"img",10),bs(),bs(),_s(13,"div",7),_s(14,"div",8),ws(15,"img",11),bs(),bs(),_s(16,"div",7),_s(17,"div",8),ws(18,"img",12),bs(),bs(),bs(),_s(19,"div",6),_s(20,"div",13),_s(21,"div",6),_s(22,"div",14),_s(23,"div",15),_s(24,"h3"),Xs(25,"\u2022ArchITecture\u2022"),bs(),_s(26,"p",16),Xs(27,"ArchITecture es una iniciativa de profesores y estudiantes de la UFPS de los programas de Arquitectura e Ingenier\xeda de Sistemas para lideras la transformaci\xf3n digital de la regi\xf3n desde la Arquitectura y aprovechando las TIC (Tecnolog\xedas de Informaci\xf3n y Comunicaci\xf3n en ingl\xe9s IT Information Technology)"),bs(),ws(28,"br"),bs(),ws(29,"br"),bs(),_s(30,"div",14),_s(31,"div",17),_s(32,"h4"),Xs(33,"CONTACTENOS"),bs(),_s(34,"p",16),Xs(35," Programa de Ingenier\xeda de Sistemas de la Universidad Francisco de Paula Santander."),ws(36,"br"),Xs(37," Avenida Gran Colombia No. 12E-96 Barrio Colsag, C\xfacuta, Colombia. "),ws(38,"br"),_s(39,"strong"),Xs(40,"Telefono:"),bs(),Xs(41," +(57) 7 5776655 Extensiones 201 y 203"),ws(42,"br"),_s(43,"strong"),Xs(44,"Correo:"),bs(),Xs(45," architectureufps@gmail.com"),ws(46,"br"),bs(),bs(),_s(47,"div",18),_s(48,"label",19),_s(49,"a",20),ws(50,"img",21),bs(),bs(),_s(51,"label",22),_s(52,"a",23),ws(53,"img",24),bs(),bs(),bs(),bs(),bs(),bs(),_s(54,"div",13),_s(55,"div",25),_s(56,"h4"),Xs(57,"Dejanos un comentario"),bs(),_s(58,"p",16),Xs(59,"Al dejarnos un comentario realizas un gran aporte y nos ayudas a mejorar cada d\xeda."),bs(),_s(60,"form",26),ws(61,"input",27),_s(62,"div",28),ws(63,"input",29),bs(),_s(64,"div",28),ws(65,"input",30),bs(),_s(66,"div",28),ws(67,"textarea",31),bs(),_s(68,"div",32),_s(69,"button",33),Xs(70,"Enviar Comentario"),bs(),bs(),bs(),bs(),bs(),bs(),bs(),bs(),bs(),bs())},directives:[zp,gp,Bp],encapsulation:2}),t}(),t_=function(){function t(){this.isCollapsed=!0,this.date=new Date,this.pagination=3,this.pagination1=1}return t.prototype.scrollToDownload=function(t){t.scrollIntoView({behavior:"smooth"})},t.prototype.ngOnInit=function(){document.getElementsByTagName("body")[0].classList.add("index-page");var t=document.getElementById("sliderRegular");Og.a.create(t,{start:40,connect:!1,range:{min:0,max:100}});var e=document.getElementById("sliderDouble");Og.a.create(e,{start:[20,60],connect:!0,range:{min:0,max:100}})},t.prototype.ngOnDestroy=function(){document.getElementsByTagName("body")[0].classList.remove("index-page")},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["app-index"]],decls:25,vars:0,consts:[[1,"wrapper",2,"background-color","#707070 !important"],[1,"page-header","header-filter"],[1,"squares","square1"],[1,"squares","square2"],[1,"squares","square3"],[1,"squares","square4"],[1,"squares","square5"],[1,"squares","square6"],[1,"squares","square7"],[1,"container"],[1,"content-center"],[1,"h1-seo"],[1,"main",2,"background-color","#707070 !important"],["id","basic-elements",1,"section","section-basic",2,"background-color","#707070 !important"],["src","assets/img/path1.png",1,"path"],[1,"container",2,"background-color","#707070 !important"]],template:function(t,e){1&t&&(ws(0,"app-navbar"),_s(1,"div",0),_s(2,"div",1),ws(3,"div",2),ws(4,"div",3),ws(5,"div",4),ws(6,"div",5),ws(7,"div",6),ws(8,"div",7),ws(9,"div",8),_s(10,"div",9),_s(11,"div",10),ws(12,"br"),ws(13,"br"),ws(14,"br"),ws(15,"br"),_s(16,"h1",11),Xs(17,"\u2022ArchITecture\u2022"),bs(),_s(18,"h3"),Xs(19," Estrategia de Monitoreo de Variables de Movilidad en el Barrio San Martin Mediante el Apoyo de Tic's en la Ciudad de C\xfacuta "),bs(),bs(),bs(),bs(),_s(20,"div",12),_s(21,"div",13),ws(22,"img",14),ws(23,"div",15),ws(24,"app-footer"),bs(),bs(),bs())},directives:[Jv,Xv],encapsulation:2}),t}();function e_(t,e){if(1&t){var n=Ss();_s(0,"li",7),Es("click",(function(){Be(n);var t=e.index;return Ds(2).selectSlide(t)})),bs()}2&t&&Hs("active",!0===e.$implicit.active)}function n_(t,e){if(1&t&&(_s(0,"ol",5),ds(1,e_,1,2,"li",6),bs()),2&t){var n=Ds();si(1),gs("ngForOf",n.indicatorsSlides())}}function r_(t,e){1&t&&(_s(0,"span",11),Xs(1,"Previous"),bs())}function i_(t,e){if(1&t){var n=Ss();_s(0,"a",8),Es("click",(function(){return Be(n),Ds().previousSlide()})),ws(1,"span",9),ds(2,r_,2,0,"span",10),bs()}if(2&t){var r=Ds();Hs("disabled",0===r.activeSlide&&r.noWrap),si(2),gs("ngIf",r.isBs4)}}function o_(t,e){if(1&t){var n=Ss();_s(0,"a",12),Es("click",(function(){return Be(n),Ds().nextSlide()})),ws(1,"span",13),_s(2,"span",11),Xs(3,"Next"),bs(),bs()}if(2&t){var r=Ds();Hs("disabled",r.isLast(r.activeSlide)&&r.noWrap)}}var s_=function(t){return{display:t}},a_=["*"],u_=function(){function t(){this.interval=5e3,this.noPause=!1,this.noWrap=!1,this.showIndicators=!0,this.pauseOnFocus=!1,this.indicatorsByChunk=!1,this.itemsPerSlide=1,this.singleSlideOffset=!1}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),l_=function(){var t={UNKNOWN:0,NEXT:1,PREV:2};return t[t.UNKNOWN]="UNKNOWN",t[t.NEXT]="NEXT",t[t.PREV]="PREV",t}(),c_=function(){function t(t,e){this.ngZone=e,this.indicatorsByChunk=!1,this.itemsPerSlide=1,this.singleSlideOffset=!1,this.activeSlideChange=new bu(!1),this.slideRangeChange=new bu,this.startFromIndex=0,this._slides=new jg,this._currentVisibleSlidesIndex=0,this.destroyed=!1,this.getActive=function(t){return t.active},this.makeSlidesConsistent=function(t){t.forEach((function(t,e){return t.item.order=e}))},Object.assign(this,t)}return Object.defineProperty(t.prototype,"activeSlide",{get:function(){return this._currentActiveSlide},set:function(t){this.multilist||this._slides.length&&t!==this._currentActiveSlide&&this._select(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"interval",{get:function(){return this._interval},set:function(t){this._interval=t,this.restartTimer()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"slides",{get:function(){return this._slides.toArray()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isBs4",{get:function(){return!Ng()},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;setTimeout((function(){t.singleSlideOffset&&(t.indicatorsByChunk=!1),t.multilist&&(t._chunkedSlides=function(t,e){for(var n=[],r=Math.ceil(t.length/e),i=0;i<r;){var o=t.splice(0,i===r-1&&e<t.length?t.length:e);n.push(o),i++}return n}(t.mapSlidesAndIndexes(),t.itemsPerSlide),t.selectInitialSlides())}),0)},t.prototype.ngOnDestroy=function(){this.destroyed=!0},t.prototype.addSlide=function(t){this._slides.add(t),this.multilist&&this._slides.length<=this.itemsPerSlide&&(t.active=!0),this.multilist||1!==this._slides.length||(this._currentActiveSlide=void 0,this.activeSlide=0,this.play()),this.multilist&&this._slides.length>this.itemsPerSlide&&this.play()},t.prototype.removeSlide=function(t){var e=this,n=this._slides.indexOf(t);if(this._currentActiveSlide===n){var r=void 0;this._slides.length>1&&(r=this.isLast(n)?this.noWrap?n-1:0:n),this._slides.remove(n),setTimeout((function(){e._select(r)}),0)}else{this._slides.remove(n);var i=this.getCurrentSlideIndex();setTimeout((function(){e._currentActiveSlide=i,e.activeSlideChange.emit(e._currentActiveSlide)}),0)}},t.prototype.nextSlideFromInterval=function(t){void 0===t&&(t=!1),this.move(l_.NEXT,t)},t.prototype.nextSlide=function(t){void 0===t&&(t=!1),this.isPlaying&&this.restartTimer(),this.move(l_.NEXT,t)},t.prototype.previousSlide=function(t){void 0===t&&(t=!1),this.isPlaying&&this.restartTimer(),this.move(l_.PREV,t)},t.prototype.getFirstVisibleIndex=function(){return this.slides.findIndex(this.getActive)},t.prototype.getLastVisibleIndex=function(){return function(t,e){for(var n=t.length;n--;)if(e(t[n],n,t))return n;return-1}(this.slides,this.getActive)},t.prototype.move=function(t,e){void 0===e&&(e=!1);var n=this.getFirstVisibleIndex(),r=this.getLastVisibleIndex();this.noWrap&&(t===l_.NEXT&&this.isLast(r)||t===l_.PREV&&0===n)||(this.multilist?this.moveMultilist(t):this.activeSlide=this.findNextSlideIndex(t,e))},t.prototype.keydownPress=function(t){if(13===t.keyCode||"Enter"===t.key||32===t.keyCode||"Space"===t.key)return this.nextSlide(),void t.preventDefault();37!==t.keyCode&&"LeftArrow"!==t.key?39!==t.keyCode&&"RightArrow"!==t.key||this.nextSlide():this.previousSlide()},t.prototype.onMouseLeave=function(){this.pauseOnFocus||this.play()},t.prototype.onMouseUp=function(){this.pauseOnFocus||this.play()},t.prototype.pauseFocusIn=function(){this.pauseOnFocus&&(this.isPlaying=!1,this.resetTimer())},t.prototype.pauseFocusOut=function(){this.play()},t.prototype.selectSlide=function(t){this.isPlaying&&this.restartTimer(),this.multilist?this.selectSlideRange(this.indicatorsByChunk?t*this.itemsPerSlide:t):this.activeSlide=this.indicatorsByChunk?t*this.itemsPerSlide:t},t.prototype.play=function(){this.isPlaying||(this.isPlaying=!0,this.restartTimer())},t.prototype.pause=function(){this.noPause||(this.isPlaying=!1,this.resetTimer())},t.prototype.getCurrentSlideIndex=function(){return this._slides.findIndex(this.getActive)},t.prototype.isLast=function(t){return t+1>=this._slides.length},t.prototype.isFirst=function(t){return 0===t},t.prototype.indicatorsSlides=function(){var t=this;return this.slides.filter((function(e,n){return!t.indicatorsByChunk||n%t.itemsPerSlide==0}))},t.prototype.selectInitialSlides=function(){var t=this.startFromIndex<=this._slides.length?this.startFromIndex:0;if(this.hideSlides(),this.singleSlideOffset){if(this._slidesWithIndexes=this.mapSlidesAndIndexes(),this._slides.length-t<this.itemsPerSlide){var e=this._slidesWithIndexes.slice(0,t);this._slidesWithIndexes=l(this._slidesWithIndexes,e).slice(e.length).slice(0,this.itemsPerSlide)}else this._slidesWithIndexes=this._slidesWithIndexes.slice(t,t+this.itemsPerSlide);this._slidesWithIndexes.forEach((function(t){return t.item.active=!0})),this.makeSlidesConsistent(this._slidesWithIndexes)}else this.selectRangeByNestedIndex(t);this.slideRangeChange.emit(this.getVisibleIndexes())},t.prototype.findNextSlideIndex=function(t,e){var n=0;if(e||!this.isLast(this.activeSlide)||t===l_.PREV||!this.noWrap){switch(t){case l_.NEXT:n=this.isLast(this._currentActiveSlide)?!e&&this.noWrap?this._currentActiveSlide:0:this._currentActiveSlide+1;break;case l_.PREV:n=this._currentActiveSlide>0?this._currentActiveSlide-1:!e&&this.noWrap?this._currentActiveSlide:this._slides.length-1;break;default:throw new Error("Unknown direction")}return n}},t.prototype.mapSlidesAndIndexes=function(){return this.slides.slice().map((function(t,e){return{index:e,item:t}}))},t.prototype.selectSlideRange=function(t){if(!this.isIndexInRange(t)){if(this.hideSlides(),this.singleSlideOffset){var e=this.isIndexOnTheEdges(t)?t:t-this.itemsPerSlide+1,n=this.isIndexOnTheEdges(t)?t+this.itemsPerSlide:t+1;this._slidesWithIndexes=this.mapSlidesAndIndexes().slice(e,n),this.makeSlidesConsistent(this._slidesWithIndexes),this._slidesWithIndexes.forEach((function(t){return t.item.active=!0}))}else this.selectRangeByNestedIndex(t);this.slideRangeChange.emit(this.getVisibleIndexes())}},t.prototype.selectRangeByNestedIndex=function(t){var e=this._chunkedSlides.map((function(t,e){return{index:e,list:t}})).find((function(e){return void 0!==e.list.find((function(e){return e.index===t}))}));this._currentVisibleSlidesIndex=e.index,this._chunkedSlides[e.index].forEach((function(t){t.item.active=!0}))},t.prototype.isIndexOnTheEdges=function(t){return t+1-this.itemsPerSlide<=0||t+this.itemsPerSlide<=this._slides.length},t.prototype.isIndexInRange=function(t){return this.singleSlideOffset?this._slidesWithIndexes.map((function(t){return t.index})).indexOf(t)>=0:t<=this.getLastVisibleIndex()&&t>=this.getFirstVisibleIndex()},t.prototype.hideSlides=function(){this.slides.forEach((function(t){return t.active=!1}))},t.prototype.isVisibleSlideListLast=function(){return this._currentVisibleSlidesIndex===this._chunkedSlides.length-1},t.prototype.isVisibleSlideListFirst=function(){return 0===this._currentVisibleSlidesIndex},t.prototype.moveSliderByOneItem=function(t){var e,n,r,i;if(this.noWrap){e=this.getFirstVisibleIndex(),n=this.getLastVisibleIndex(),r=t===l_.NEXT?e:n,i=t!==l_.NEXT?e-1:this.isLast(n)?0:n+1,this._slides.get(r).active=!1,this._slides.get(i).active=!0;var o=this.mapSlidesAndIndexes().filter((function(t){return t.item.active}));this.makeSlidesConsistent(o),this.slideRangeChange.emit(this.getVisibleIndexes())}else{var s=void 0;e=this._slidesWithIndexes[0].index,n=this._slidesWithIndexes[this._slidesWithIndexes.length-1].index,t===l_.NEXT?(this._slidesWithIndexes.shift(),s=this.isLast(n)?0:n+1,this._slidesWithIndexes.push({index:s,item:this._slides.get(s)})):(this._slidesWithIndexes.pop(),s=this.isFirst(e)?this._slides.length-1:e-1,this._slidesWithIndexes=l([{index:s,item:this._slides.get(s)}],this._slidesWithIndexes)),this.hideSlides(),this._slidesWithIndexes.forEach((function(t){return t.item.active=!0})),this.makeSlidesConsistent(this._slidesWithIndexes),this.slideRangeChange.emit(this._slidesWithIndexes.map((function(t){return t.index})))}},t.prototype.moveMultilist=function(t){this.singleSlideOffset?this.moveSliderByOneItem(t):(this.hideSlides(),this._currentVisibleSlidesIndex=this.noWrap?t===l_.NEXT?this._currentVisibleSlidesIndex+1:this._currentVisibleSlidesIndex-1:t===l_.NEXT?this.isVisibleSlideListLast()?0:this._currentVisibleSlidesIndex+1:this.isVisibleSlideListFirst()?this._chunkedSlides.length-1:this._currentVisibleSlidesIndex-1,this._chunkedSlides[this._currentVisibleSlidesIndex].forEach((function(t){return t.item.active=!0})),this.slideRangeChange.emit(this.getVisibleIndexes()))},t.prototype.getVisibleIndexes=function(){return this.singleSlideOffset?this._slidesWithIndexes.map((function(t){return t.index})):this._chunkedSlides[this._currentVisibleSlidesIndex].map((function(t){return t.index}))},t.prototype._select=function(t){if(isNaN(t))this.pause();else{if(!this.multilist){var e=this._slides.get(this._currentActiveSlide);e&&(e.active=!1)}var n=this._slides.get(t);n&&(this._currentActiveSlide=t,n.active=!0,this.activeSlide=t,this.activeSlideChange.emit(t))}},t.prototype.restartTimer=function(){var t=this;this.resetTimer();var e=+this.interval;!isNaN(e)&&e>0&&(this.currentInterval=this.ngZone.runOutsideAngular((function(){return setInterval((function(){var e=+t.interval;t.ngZone.run((function(){t.isPlaying&&!isNaN(t.interval)&&e>0&&t.slides.length?t.nextSlideFromInterval():t.pause()}))}),e)})))},Object.defineProperty(t.prototype,"multilist",{get:function(){return this.itemsPerSlide>1},enumerable:!0,configurable:!0}),t.prototype.resetTimer=function(){this.currentInterval&&(clearInterval(this.currentInterval),this.currentInterval=void 0)},t.\u0275fac=function(e){return new(e||t)(ms(u_),ms(tl))},t.\u0275cmp=we({type:t,selectors:[["carousel"]],inputs:{indicatorsByChunk:"indicatorsByChunk",itemsPerSlide:"itemsPerSlide",singleSlideOffset:"singleSlideOffset",startFromIndex:"startFromIndex",activeSlide:"activeSlide",interval:"interval",noWrap:"noWrap",noPause:"noPause",showIndicators:"showIndicators",pauseOnFocus:"pauseOnFocus"},outputs:{activeSlideChange:"activeSlideChange",slideRangeChange:"slideRangeChange"},ngContentSelectors:a_,decls:6,vars:6,consts:[["tabindex","0",1,"carousel","slide",3,"mouseenter","mouseleave","mouseup","keydown","focusin","focusout"],["class","carousel-indicators",4,"ngIf"],[1,"carousel-inner",3,"ngStyle"],["class","left carousel-control carousel-control-prev","tabindex","0","role","button",3,"disabled","click",4,"ngIf"],["class","right carousel-control carousel-control-next","tabindex","0","role","button",3,"disabled","click",4,"ngIf"],[1,"carousel-indicators"],[3,"active","click",4,"ngFor","ngForOf"],[3,"click"],["tabindex","0","role","button",1,"left","carousel-control","carousel-control-prev",3,"click"],["aria-hidden","true",1,"icon-prev","carousel-control-prev-icon"],["class","sr-only",4,"ngIf"],[1,"sr-only"],["tabindex","0","role","button",1,"right","carousel-control","carousel-control-next",3,"click"],["aria-hidden","true",1,"icon-next","carousel-control-next-icon"]],template:function(t,e){1&t&&(Ps(),_s(0,"div",0),Es("mouseenter",(function(){return e.pause()}))("mouseleave",(function(){return e.onMouseLeave()}))("mouseup",(function(){return e.onMouseUp()}))("keydown",(function(t){return e.keydownPress(t)}))("focusin",(function(){return e.pauseFocusIn()}))("focusout",(function(){return e.pauseFocusOut()})),ds(1,n_,2,1,"ol",1),_s(2,"div",2),As(3),bs(),ds(4,i_,3,3,"a",3),ds(5,o_,4,2,"a",4),bs()),2&t&&(si(1),gs("ngIf",e.showIndicators&&e.slides.length>1),si(1),gs("ngStyle",du(4,s_,e.multilist?"flex":"block")),si(2),gs("ngIf",e.slides.length>1),si(1),gs("ngIf",e.slides.length>1))},directives:[ic,hc,nc],encapsulation:2}),t}(),h_=function(){function t(t){this.itemWidth="100%",this.order=0,this.addClass=!0,this.carousel=t}return t.prototype.ngOnInit=function(){this.carousel.addSlide(this),this.itemWidth=100/this.carousel.itemsPerSlide+"%"},t.prototype.ngOnDestroy=function(){this.carousel.removeSlide(this)},t.\u0275fac=function(e){return new(e||t)(ms(c_))},t.\u0275cmp=we({type:t,selectors:[["slide"]],hostVars:11,hostBindings:function(t,e){2&t&&(fs("aria-hidden",!e.active),Ls("width",e.itemWidth)("order",e.order),Hs("item",e.addClass)("carousel-item",e.addClass)("active",e.active))},inputs:{active:"active"},ngContentSelectors:a_,decls:2,vars:2,consts:[[1,"item"]],template:function(t,e){1&t&&(Ps(),_s(0,"div",0),As(1),bs()),2&t&&Hs("active",e.active)},encapsulation:2}),t}(),f_=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},providers:[u_],imports:[[yc]]}),t}(),p_=function(){function t(){this.isCollapsed=!0}return t.prototype.ngOnInit=function(){document.getElementsByTagName("body")[0].classList.add("profile-page")},t.prototype.ngOnDestroy=function(){document.getElementsByTagName("body")[0].classList.remove("profile-page")},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["app-profilepage"]],decls:79,vars:4,consts:[[1,"wrapper",2,"background-color","#707070 !important"],[1,"page-header"],["src","https://1.bp.blogspot.com/-ObR0mD7No_I/X-yO69qeDCI/AAAAAAAAAh0/xNeDKnnea1EXKSnW5PvFQArVuNBNl3TlgCLcBGAsYHQ/s2048/path4.png",1,"path"],[1,"container","align-items-center"],[1,"row"],[1,"col-lg-6","col-md-6"],[1,"profile-title","text-left"],[1,"text-on-back"],[1,"btn-wrapper","profile","pt-3"],["href","https://www.mitma.gob.es/areas-de-actividad/arquitectura-vivienda-y-suelo/urbanismo-y-politica-de-suelo/urbanismo-y-sostenibilidad-urbana/estrategia-espan%CC%83ola-de-movilidad-sostenible-eems","target","_blank",1,"btn","btn-icon","btn-neutral","btn-round","btn-simple","mr-1"],[1,"fa","fa-paperclip"],[1,"col-md-5"],[1,"row","justify-content-between","align-items-center"],[3,"showIndicators"],["alt","First slide","src","https://miciudadatodogas.com/wp-content/uploads/2020/09/estrategia-moviliad.jpg",1,"d-block"],[1,"carousel-caption","d-none","d-md-block"],[1,"section"],[1,"container"],[1,"row","justify-content-between"],[1,"col-md-6"],["alt","First slide","src","https://pbs.twimg.com/media/EjZ487iXcAAIjGa?format=jpg&name=900x900",1,"d-block"],[1,"btn-wrapper","pt-3"],["href","https://www.laopinion.com.co/cucuta/senti-que-me-dieron-en-la-cara-con-la-puerta-203517?platform=hootsuite","target","_blank",1,"btn","btn-icon","btn-neutral","btn-round","btn-simple","mr-1"],["href","http://pedroduranbarajas.blogspot.com/p/arborizacin-urbana.html","target","_blank",1,"btn","btn-icon","btn-neutral","btn-round","btn-simple","mr-1"],["alt","First slide","src","https://1.bp.blogspot.com/-hv9b57d2Ioo/VLADulWGJKI/AAAAAAAAA2w/Dmop9r5yeag/s1600/Arborizaci%C3%B3n%2BSector%2BSur%2BOccidental.jpg",1,"d-block"],["href","https://drive.google.com/drive/folders/17UY6YoRiCAinTRgyFBh4bn_-9xaU0vjP?usp=sharing","target","_blank",1,"btn","btn-icon","btn-neutral","btn-round","btn-simple","mr-1"]],template:function(t,e){1&t&&(ws(0,"app-navbar"),_s(1,"div",0),_s(2,"div",1),ws(3,"img",2),_s(4,"div",3),_s(5,"div",4),_s(6,"div",5),_s(7,"h1",6),Xs(8,"Estrategias de movilidad urbana y conectada"),bs(),_s(9,"h5",7),Xs(10,"a"),bs(),_s(11,"div",8),_s(12,"a",9),ws(13,"i",10),bs(),bs(),bs(),_s(14,"div",11),_s(15,"div",12),_s(16,"carousel",13),_s(17,"slide"),ws(18,"img",14),_s(19,"div",15),_s(20,"h5"),Xs(21,"Cucuta, Norte de Santander"),bs(),bs(),bs(),bs(),bs(),bs(),bs(),bs(),bs(),_s(22,"div",16),_s(23,"div",17),_s(24,"div",18),_s(25,"div",19),_s(26,"div",12),_s(27,"carousel",13),_s(28,"slide"),ws(29,"img",20),_s(30,"div",15),_s(31,"h5"),Xs(32,"Cucuta, Norte de Santander"),bs(),bs(),bs(),bs(),bs(),bs(),_s(33,"div",11),_s(34,"h1",6),Xs(35,"Estrategia de monitoreo de movilidad (YOLO)"),bs(),_s(36,"h5",7),Xs(37,"b"),bs(),_s(38,"div",21),_s(39,"a",22),ws(40,"i",10),bs(),bs(),bs(),bs(),bs(),bs(),_s(41,"div",3),_s(42,"div",4),_s(43,"div",5),_s(44,"h1",6),Xs(45,"Estrategia de arborizaci\xf3n"),bs(),_s(46,"h5",7),Xs(47,"c"),bs(),_s(48,"div",8),_s(49,"a",23),ws(50,"i",10),bs(),bs(),bs(),_s(51,"div",11),_s(52,"div",12),_s(53,"carousel",13),_s(54,"slide"),ws(55,"img",24),_s(56,"div",15),_s(57,"h5"),Xs(58,"Cucuta, Norte de Santander"),bs(),bs(),bs(),bs(),bs(),bs(),bs(),bs(),_s(59,"div",16),_s(60,"div",17),_s(61,"div",18),_s(62,"div",19),_s(63,"div",12),_s(64,"carousel",13),_s(65,"slide"),ws(66,"img",20),_s(67,"div",15),_s(68,"h5"),Xs(69,"Cucuta, Norte de Santander"),bs(),bs(),bs(),bs(),bs(),bs(),_s(70,"div",11),_s(71,"h1",6),Xs(72,"Estrategia de monitoreo de variables de movilidad (Mapa)"),bs(),_s(73,"h5",7),Xs(74,"d"),bs(),_s(75,"div",21),_s(76,"a",25),ws(77,"i",10),bs(),bs(),bs(),bs(),bs(),bs(),ws(78,"app-footer"),bs()),2&t&&(si(16),gs("showIndicators",!0),si(11),gs("showIndicators",!0),si(26),gs("showIndicators",!0),si(11),gs("showIndicators",!0))},directives:[Jv,c_,h_,Xv],encapsulation:2}),t}(),d_=function(){function t(){this.isCollapsed=!0}return t.prototype.onMouseMove=function(t){var e=document.getElementById("square1"),n=document.getElementById("square2"),r=document.getElementById("square3"),i=document.getElementById("square4"),o=document.getElementById("square5"),s=document.getElementById("square6"),a=document.getElementById("square7"),u=document.getElementById("square8"),l=t.clientX-window.innerWidth/2,c=t.clientY-window.innerWidth/6;e.style.transform="perspective(500px) rotateY("+.05*l+"deg) rotateX("+-.05*c+"deg)",n.style.transform="perspective(500px) rotateY("+.05*l+"deg) rotateX("+-.05*c+"deg)",r.style.transform="perspective(500px) rotateY("+.05*l+"deg) rotateX("+-.05*c+"deg)",i.style.transform="perspective(500px) rotateY("+.05*l+"deg) rotateX("+-.05*c+"deg)",o.style.transform="perspective(500px) rotateY("+.05*l+"deg) rotateX("+-.05*c+"deg)",s.style.transform="perspective(500px) rotateY("+.05*l+"deg) rotateX("+-.05*c+"deg)",a.style.transform="perspective(500px) rotateY("+.02*l+"deg) rotateX("+-.02*c+"deg)",u.style.transform="perspective(500px) rotateY("+.02*l+"deg) rotateX("+-.02*c+"deg)"},t.prototype.ngOnInit=function(){document.getElementsByTagName("body")[0].classList.add("register-page"),this.onMouseMove(event)},t.prototype.ngOnDestroy=function(){document.getElementsByTagName("body")[0].classList.remove("register-page")},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["app-registerpage"]],hostBindings:function(t,e){1&t&&Es("mousemove",(function(t){return e.onMouseMove(t)}),!1,Nn)},decls:33,vars:0,consts:[[1,"wrapper",2,"background-color","#707070 !important"],[1,"section"],[1,"container","align-items-center"],[1,"row"],[1,"col-lg-6","col-md-6"],[1,"profile-title","text-left"],[1,"col-md-5"],[1,"row","justify-content-between","align-items-center"],["width","560","height","315","src","https://www.youtube.com/embed/VzKErB2jQNo","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],[1,"container"],[1,"row","justify-content-between"],[1,"col-md-6"],["width","560","height","315","src","https://www.youtube.com/embed/iJOG1yDG9ec","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""]],template:function(t,e){1&t&&(ws(0,"app-navbar"),_s(1,"div",0),ws(2,"br"),ws(3,"br"),ws(4,"br"),ws(5,"br"),_s(6,"div",1),_s(7,"div",2),_s(8,"div",3),_s(9,"div",4),ws(10,"br"),ws(11,"br"),ws(12,"br"),ws(13,"br"),_s(14,"h1",5),Xs(15,"Mapa Recorrido 3D Barrio San Martin"),bs(),bs(),_s(16,"div",6),_s(17,"div",7),ws(18,"iframe",8),bs(),bs(),bs(),bs(),bs(),_s(19,"div",1),_s(20,"div",9),_s(21,"div",10),_s(22,"div",11),_s(23,"div",7),ws(24,"iframe",12),bs(),bs(),_s(25,"div",6),ws(26,"br"),ws(27,"br"),ws(28,"br"),ws(29,"br"),_s(30,"h1",5),Xs(31,"Estrategia de monitoreo de movilidad (YOLO)"),bs(),bs(),bs(),bs(),bs(),ws(32,"app-footer"),bs())},directives:[Jv,Xv],encapsulation:2}),t}(),m_=function(){function t(){this.isCollapsed=!0}return t.prototype.ngOnInit=function(){document.getElementsByTagName("body")[0].classList.add("ruta-page")},t.prototype.ngOnDestroy=function(){document.getElementsByTagName("body")[0].classList.remove("ruta-page")},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["app-rutas"]],decls:75,vars:0,consts:[[1,"wrapper",2,"background-color","#707070 !important"],[1,"section","section-lg"],[1,"team-section","text-center","my-5"],[1,"h1-responsive","font-weight-bold","my-5"],[1,"grey-text","w-responsive","mx-auto","mb-5"],[1,"row"],[1,"col-lg-3","col-md-6","mb-lg-0","mb-5"],[1,"avatar","mx-auto"],["src","https://1.bp.blogspot.com/-hhRv8fFMgQM/X-yPB3KeHKI/AAAAAAAAAjI/dhcAeaHSRLc295TEfqvg-D7r8dhEO5ejgCLcBGAsYHQ/s0/zerimar.png","alt","Sample avatar",1,"rounded-circle","z-depth-1"],[1,"font-weight-bold","mt-4","mb-3"],[1,"text-uppercase","blue-text"],[1,"grey-text"],[1,"list-unstyled","mb-0"],[1,"p-2","fa-lg","fb-ic"],[1,"fab","fa-facebook-f","blue-text"],[1,"p-2","fa-lg","tw-ic"],[1,"fab","fa-twitter","blue-text"],[1,"p-2","fa-lg","ins-ic"],[1,"fab","fa-instagram","blue-text"],["src","https://1.bp.blogspot.com/-Nt19Fr_pZp0/X-yO2ALjgLI/AAAAAAAAAhI/YvM_z7NpLhMYWwxSDfKHRwiRSiQLZ6W9gCLcBGAsYHQ/s0/kattya.png","alt","Sample avatar",1,"rounded-circle","z-depth-1"],["src","https://redprogramacioncompetitiva.com/images/JuecesRPC_Milton.jpg","alt","Sample avatar",1,"rounded-circle","z-depth-1"],[1,"col-lg-3","col-md-6","mb-md-0","mb-5"],["src","https://1.bp.blogspot.com/-dYiakn_MLXs/X-yPBXRJXJI/AAAAAAAAAjA/GPOe5h6hf3cpBuNT0G2c0cc5dkCs8xhPQCLcBGAsYHQ/s0/vb.jpg","alt","Sample avatar",1,"rounded-circle","z-depth-1"],[1,"fab","fa-dribbble","blue-text"]],template:function(t,e){1&t&&(ws(0,"app-navbar"),_s(1,"div",0),_s(2,"section",1),_s(3,"section",2),_s(4,"h2",3),Xs(5,"Nuestro Equipo"),bs(),ws(6,"p",4),_s(7,"div",5),_s(8,"div",6),_s(9,"div",7),ws(10,"img",8),bs(),_s(11,"h5",9),Xs(12,"KATTYA ZERIMAR RAMIREZ MENDEZ"),bs(),_s(13,"p",10),_s(14,"strong"),Xs(15,"Arquitecta"),bs(),bs(),_s(16,"p",11),Xs(17,"Universidad Francisco de Paula Santander"),bs(),_s(18,"ul",12),_s(19,"a",13),ws(20,"i",14),bs(),_s(21,"a",15),ws(22,"i",16),bs(),_s(23,"a",17),ws(24,"i",18),bs(),bs(),bs(),_s(25,"div",6),_s(26,"div",7),ws(27,"img",19),bs(),_s(28,"h5",9),Xs(29,"JOHANNA CAMILA CASTILLO RUBIO "),bs(),_s(30,"p",10),_s(31,"strong"),Xs(32,"Arquitecta"),bs(),bs(),_s(33,"p",11),Xs(34,"Universidad Francisco de Paula Santander"),bs(),_s(35,"ul",12),_s(36,"a",13),ws(37,"i",14),bs(),_s(38,"a",15),ws(39,"i",16),bs(),_s(40,"a",17),ws(41,"i",18),bs(),bs(),bs(),_s(42,"div",6),_s(43,"div",7),ws(44,"img",20),bs(),_s(45,"h5",9),Xs(46,"Milton Jesus Vera"),bs(),_s(47,"p",10),_s(48,"strong"),Xs(49,"Docente "),bs(),bs(),_s(50,"p",11),Xs(51,"Universidad Fancisco De Paula Santader"),bs(),_s(52,"ul",12),_s(53,"a",13),ws(54,"i",14),bs(),_s(55,"a",17),ws(56,"i",18),bs(),bs(),bs(),_s(57,"div",21),_s(58,"div",7),ws(59,"img",22),bs(),_s(60,"h5",9),Xs(61,"Victor Manuel Blanco Mancera"),bs(),_s(62,"p",10),_s(63,"strong"),Xs(64,"Estudiante de Ingenieria de Sistemas"),bs(),bs(),_s(65,"p",11),Xs(66,"Universidad Francisco de Paula Santander"),bs(),_s(67,"ul",12),_s(68,"a",13),ws(69,"i",14),bs(),_s(70,"a",17),ws(71,"i",18),bs(),_s(72,"a",17),ws(73,"i",23),bs(),bs(),bs(),bs(),bs(),bs(),ws(74,"app-footer"),bs())},directives:[Jv,Xv],encapsulation:2}),t}(),y_=function(){function t(){this.isCollapsed=!0}return t.prototype.ngOnInit=function(){document.getElementsByTagName("body")[0].classList.add("mapa-page")},t.prototype.ngOnDestroy=function(){document.getElementsByTagName("body")[0].classList.remove("mapa-page")},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["app-mapa"]],decls:58,vars:3,consts:[[1,"wrapper",2,"background-color","#707070 !important"],[1,"section"],[1,"container"],[1,"row","justify-content-between"],[1,"col-md-6"],[1,"row","justify-content-between","align-items-center"],[3,"showIndicators"],["alt","First slide","src","https://1.bp.blogspot.com/-PMBRCrTRQHY/X-yOrydMfZI/AAAAAAAAAfs/x0qUgazgWGw7orSrbI_z_tXwbY5VJtLTwCLcBGAsYHQ/s320/Etrategia%2BMovilidad.png",1,"d-block"],[1,"col-md-5"],[1,"profile-title","text-left"],["href","https://vblanko.maps.arcgis.com/apps/opsdashboard/index.html#/c0cd16338ff443ad82815fb21e269622?mode=edit","target","_blank",1,"btn","btn-icon","btn-neutral","btn-round","btn-simple","mr-1"],[1,"fa","fa-paperclip"],[1,"container","align-items-center"],[1,"row"],[1,"col-lg-6","col-md-6"],["href","https://vblanko.maps.arcgis.com/home/item.html?id=c0cd16338ff443ad82815fb21e269622l","target","_blank",1,"btn","btn-icon","btn-neutral","btn-round","btn-simple","mr-1"],["alt","First slide","src","https://1.bp.blogspot.com/-CQyqV8rD_bo/X-yOzZkP4MI/AAAAAAAAAgw/ezaI6Q1kQ2cwYp-HwdQgXU42UthirriawCLcBGAsYHQ/s320/img1.jpeg",1,"d-block"],["alt","First slide","src","https://1.bp.blogspot.com/-FdUz7KiysXA/X-yO52BNoVI/AAAAAAAAAhk/ujlCBcdtX8IofZ7U3yt0RSbjKhjffWkQwCLcBGAsYHQ/s320/opcion2.png",1,"d-block"]],template:function(t,e){1&t&&(ws(0,"app-navbar"),_s(1,"div",0),ws(2,"br"),ws(3,"br"),_s(4,"div",1),_s(5,"div",2),_s(6,"div",3),_s(7,"div",4),_s(8,"div",5),_s(9,"carousel",6),_s(10,"slide"),ws(11,"img",7),bs(),bs(),bs(),bs(),_s(12,"div",8),ws(13,"br"),ws(14,"br"),ws(15,"br"),ws(16,"br"),ws(17,"br"),ws(18,"br"),ws(19,"br"),_s(20,"h1",9),Xs(21,"Mapas de Estrategias de movilidad"),bs(),_s(22,"a",10),ws(23,"i",11),bs(),bs(),bs(),bs(),bs(),_s(24,"div",12),_s(25,"div",13),_s(26,"div",14),ws(27,"br"),ws(28,"br"),ws(29,"br"),ws(30,"br"),_s(31,"h1",9),Xs(32,"Rutas de Acceso vehicular"),bs(),_s(33,"a",15),ws(34,"i",11),bs(),bs(),_s(35,"div",8),_s(36,"div",5),_s(37,"carousel",6),_s(38,"slide"),ws(39,"img",16),bs(),bs(),bs(),bs(),bs(),bs(),_s(40,"div",1),_s(41,"div",2),_s(42,"div",3),_s(43,"div",4),_s(44,"div",5),_s(45,"carousel",6),_s(46,"slide"),ws(47,"img",17),bs(),bs(),bs(),bs(),_s(48,"div",8),ws(49,"br"),ws(50,"br"),ws(51,"br"),ws(52,"br"),_s(53,"h1",9),Xs(54,"Estrategia de monitoreo de variables de movilidad (Mapa)"),bs(),_s(55,"a",15),ws(56,"i",11),bs(),bs(),bs(),bs(),bs(),ws(57,"app-footer"),bs()),2&t&&(si(9),gs("showIndicators",!0),si(28),gs("showIndicators",!0),si(8),gs("showIndicators",!0))},directives:[Jv,c_,h_,Xv],encapsulation:2}),t}(),g_=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:t_},{path:"Strategy",component:p_},{path:"Videos",component:d_},{path:"Team",component:m_},{path:"videos",component:function(){function t(){}return t.prototype.ngOnInit=function(){},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["app-videos"]],decls:2,vars:0,template:function(t,e){1&t&&(_s(0,"p"),Xs(1,"videos works!"),bs())},encapsulation:2}),t}()},{path:"Maps",component:y_},{path:"**",pathMatch:"full",redirectTo:"home"}],v_=function(){function t(){}return t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},imports:[[yc,Wc,_g.forRoot(g_,{useHash:!0})]]}),t}(),__=function(){function t(t,e,n){this.renderer=t,this.location=e}return t.prototype.onWindowScroll=function(t){var e;window.pageYOffset>100?(e=document.getElementById("navbar-top"))&&(e.classList.remove("navbar-transparent"),e.classList.add("bg-danger")):(e=document.getElementById("navbar-top"))&&(e.classList.add("navbar-transparent"),e.classList.remove("bg-danger"))},t.prototype.ngOnInit=function(){this.onWindowScroll(event)},t.\u0275fac=function(e){return new(e||t)(ms(Oa),ms(Gl),ms(Ml))},t.\u0275cmp=we({type:t,selectors:[["app-root"]],hostBindings:function(t,e){1&t&&Es("scroll",(function(t){return e.onWindowScroll(t)}),!1,Rn)},decls:1,vars:0,template:function(t,e){1&t&&ws(0,"router-outlet")},directives:[ug],styles:[""]}),t}(),b_=function(){return function(){}}(),w_=function(){return function(){}}(),S_=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach((function(t){var n=t.indexOf(":");if(n>0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}}))}:function(){e.headers=new Map,Object.keys(t).forEach((function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))}))}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(t){return e.applyUpdate(t)})),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach((function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))}))},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,l(n)),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter((function(t){return-1===i.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return t(e.normalizedNames.get(n),e.headers.get(n))}))},t}(),C_=function(){function t(){}return t.prototype.encodeKey=function(t){return k_(t)},t.prototype.encodeValue=function(t){return k_(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function k_(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var E_=function(){function t(t){var e,n,r,i=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new C_,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),i=u(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),o=i[0],s=i[1],a=r.get(o)||[];a.push(s),r.set(o,a)})),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map((function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map((function(e){return n+"="+t.encoder.encodeValue(e)})).join("&")})).filter((function(t){return""!==t})).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return t.map.set(e,t.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)},t}();function x_(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function T_(t){return"undefined"!=typeof Blob&&t instanceof Blob}function D_(t){return"undefined"!=typeof FormData&&t instanceof FormData}var O_=function(){function t(t,e,n,r){var i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new S_),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s<e.length-1?"&":"")+o}}else this.params=new E_,this.urlWithParams=e}return t.prototype.serializeBody=function(){return null===this.body?null:x_(this.body)||T_(this.body)||D_(this.body)||"string"==typeof this.body?this.body:this.body instanceof E_?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},t.prototype.detectContentTypeHeader=function(){return null===this.body?null:D_(this.body)?null:T_(this.body)?this.body.type||null:x_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof E_?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},t.prototype.clone=function(e){void 0===e&&(e={});var n=e.method||this.method,r=e.url||this.url,i=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,s=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,u=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(u=Object.keys(e.setHeaders).reduce((function(t,n){return t.set(n,e.setHeaders[n])}),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((function(t,n){return t.set(n,e.setParams[n])}),l)),new t(n,r,o,{params:l,headers:u,reportProgress:a,responseType:i,withCredentials:s})},t}(),P_=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),A_=function(){return function(t,e,n){void 0===e&&(e=200),void 0===n&&(n="OK"),this.headers=t.headers||new S_,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}(),M_=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=P_.ResponseHeader,n}return i(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(A_),I_=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=P_.Response,n.body=void 0!==e.body?e.body:null,n}return i(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(A_),R_=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return i(e,t),e}(A_);function N_(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var j_=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,i=this;if(void 0===n&&(n={}),t instanceof O_)r=t;else{var o;o=n.headers instanceof S_?n.headers:new S_(n.headers);var s=void 0;n.params&&(s=n.params instanceof E_?n.params:new E_({fromObject:n.params})),r=new O_(t,e,void 0!==n.body?n.body:null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=qp(r).pipe(Rd((function(t){return i.handler.handle(t)})));if(t instanceof O_||"events"===n.observe)return a;var u=a.pipe(rd((function(t){return t instanceof I_})));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return u.pipe(Y((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return u.pipe(Y((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return u.pipe(Y((function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));case"json":default:return u.pipe(Y((function(t){return t.body})))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new E_).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,N_(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,N_(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,N_(n,e))},t.\u0275fac=function(e){return new(e||t)(re(b_))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),F_=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),V_=new Qt("HTTP_INTERCEPTORS"),L_=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),H_=/^\)\]\}',?\n/,U_=function(){return function(){}}(),B_=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),z_=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new T((function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach((function(t,e){return r.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var s=t.serializeBody(),a=null,u=function(){if(null!==a)return a;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new S_(r.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return a=new M_({headers:i,status:e,statusText:n,url:o})},l=function(){var e=u(),i=e.headers,o=e.status,s=e.statusText,a=e.url,l=null;204!==o&&(l=void 0===r.response?r.responseText:r.response),0===o&&(o=l?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof l){var h=l;l=l.replace(H_,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=h,c&&(c=!1,l={error:f,text:l})}}c?(n.next(new I_({body:l,headers:i,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new R_({error:l,headers:i,status:o,statusText:s,url:a||void 0}))},c=function(t){var e=u().url,i=new R_({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)},h=!1,f=function(e){h||(n.next(u()),h=!0);var i={type:P_.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},p=function(t){var e={type:P_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",l),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",f),null!==s&&r.upload&&r.upload.addEventListener("progress",p)),r.send(s),n.next({type:P_.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",l),t.reportProgress&&(r.removeEventListener("progress",f),null!==s&&r.upload&&r.upload.removeEventListener("progress",p)),r.abort()}}))},t.\u0275fac=function(e){return new(e||t)(re(U_))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Y_=new Qt("XSRF_COOKIE_NAME"),W_=new Qt("XSRF_HEADER_NAME"),q_=function(){return function(){}}(),G_=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Xl(t,this.cookieName),this.lastCookieString=t),this.lastToken},t.\u0275fac=function(e){return new(e||t)(re(Ml),re(Vu),re(Y_))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Q_=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t.\u0275fac=function(e){return new(e||t)(re(q_),re(W_))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),K_=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(V_,[]);this.chain=e.reduceRight((function(t,e){return new F_(t,e)}),this.backend)}return this.chain.handle(t)},t.\u0275fac=function(e){return new(e||t)(re(w_),re(Ko))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Z_=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:Q_,useClass:L_}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:Y_,useValue:t.cookieName}:[],t.headerName?{provide:W_,useValue:t.headerName}:[]]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},providers:[Q_,{provide:V_,useExisting:Q_,multi:!0},{provide:q_,useClass:G_},{provide:Y_,useValue:"XSRF-TOKEN"},{provide:W_,useValue:"X-XSRF-TOKEN"}]}),t}(),$_=function(){function t(){}return t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},providers:[j_,{provide:b_,useClass:K_},z_,{provide:w_,useExisting:z_},B_,{provide:U_,useExisting:B_}],imports:[[Z_.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}(),J_=function(){function t(){this.animate=!1,this.max=100}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),X_=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[J_]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},imports:[[yc]]}),t}(),tb=(Zc({height:0,visibility:"hidden"}),Qc("400ms cubic-bezier(0.4,0.0,0.2,1)",Zc({height:"*",visibility:"visible"})),Zc({height:"*",visibility:"visible"}),Qc("400ms cubic-bezier(0.4,0.0,0.2,1)",Zc({height:0,visibility:"hidden"})),function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)}}),t}()),eb=function(){function t(){this.type="tabs"}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),nb=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[eb]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},imports:[[yc]]}),t}(),rb=function(t,e){return{"pull-right":t,"float-right":e}};function ib(t,e){if(1&t){var n=Ss();_s(0,"li",6),_s(1,"a",7),Es("click",(function(t){return Be(n),Ds().selectPage(1,t)})),bs(),bs()}if(2&t){var r=Ds();Hs("disabled",r.noPrevious()||r.disabled),si(1),gs("innerHTML",r.getText("first"),Mr)}}function ob(t,e){if(1&t){var n=Ss();_s(0,"li",8),_s(1,"a",7),Es("click",(function(t){Be(n);var e=Ds();return e.selectPage(e.page-1,t)})),bs(),bs()}if(2&t){var r=Ds();Hs("disabled",r.noPrevious()||r.disabled),si(1),gs("innerHTML",r.getText("previous"),Mr)}}function sb(t,e){if(1&t){var n=Ss();_s(0,"li",9),_s(1,"a",7),Es("click",(function(t){Be(n);var r=e.$implicit;return Ds().selectPage(r.number,t)})),bs(),bs()}if(2&t){var r=e.$implicit,i=Ds();Hs("active",r.active)("disabled",i.disabled&&!r.active),si(1),gs("innerHTML",r.text,Mr)}}function ab(t,e){if(1&t){var n=Ss();_s(0,"li",10),_s(1,"a",7),Es("click",(function(t){Be(n);var e=Ds();return e.selectPage(e.page+1,t)})),bs(),bs()}if(2&t){var r=Ds();Hs("disabled",r.noNext()||r.disabled),si(1),gs("innerHTML",r.getText("next"),Mr)}}function ub(t,e){if(1&t){var n=Ss();_s(0,"li",11),_s(1,"a",7),Es("click",(function(t){Be(n);var e=Ds();return e.selectPage(e.totalPages,t)})),bs(),bs()}if(2&t){var r=Ds();Hs("disabled",r.noNext()||r.disabled),si(1),gs("innerHTML",r.getText("last"),Mr)}}var lb=function(){function t(){this.main={maxSize:void 0,itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",pageBtnClass:"",rotate:!0},this.pager={itemsPerPage:15,previousText:"\xab Previous",nextText:"Next \xbb",pageBtnClass:"",align:!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),cb={provide:mp,useExisting:Mt((function(){return hb})),multi:!0},hb=function(){function t(t,e,n){this.elementRef=t,this.changeDetection=n,this.numPages=new bu,this.pageChanged=new bu,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.inited=!1,this._page=1,this.elementRef=t,this.config||this.configureOptions(Object.assign({},e.main,e.pager))}return Object.defineProperty(t.prototype,"itemsPerPage",{get:function(){return this._itemsPerPage},set:function(t){this._itemsPerPage=t,this.totalPages=this.calculateTotalPages()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"totalItems",{get:function(){return this._totalItems},set:function(t){this._totalItems=t,this.totalPages=this.calculateTotalPages()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"totalPages",{get:function(){return this._totalPages},set:function(t){this._totalPages=t,this.numPages.emit(t),this.inited&&this.selectPage(this.page)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(t){var e=this._page;this._page=t>this.totalPages?this.totalPages:t||1,this.changeDetection.markForCheck(),e!==this._page&&void 0!==e&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})},enumerable:!0,configurable:!0}),t.prototype.configureOptions=function(t){this.config=Object.assign({},t)},t.prototype.ngOnInit=function(){"undefined"!=typeof window&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),this.maxSize=void 0!==this.maxSize?this.maxSize:this.config.maxSize,this.rotate=void 0!==this.rotate?this.rotate:this.config.rotate,this.boundaryLinks=void 0!==this.boundaryLinks?this.boundaryLinks:this.config.boundaryLinks,this.directionLinks=void 0!==this.directionLinks?this.directionLinks:this.config.directionLinks,this.pageBtnClass=void 0!==this.pageBtnClass?this.pageBtnClass:this.config.pageBtnClass,this.itemsPerPage=void 0!==this.itemsPerPage?this.itemsPerPage:this.config.itemsPerPage,this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0},t.prototype.writeValue=function(t){this.page=t,this.pages=this.getPages(this.page,this.totalPages)},t.prototype.getText=function(t){return this[t+"Text"]||this.config[t+"Text"]},t.prototype.noPrevious=function(){return 1===this.page},t.prototype.noNext=function(){return this.page===this.totalPages},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.selectPage=function(t,e){e&&e.preventDefault(),this.disabled||(e&&e.target&&e.target.blur(),this.writeValue(t),this.onChange(this.page))},t.prototype.makePage=function(t,e,n){return{text:e,number:t,active:n}},t.prototype.getPages=function(t,e){var n=[],r=1,i=e,o=void 0!==this.maxSize&&this.maxSize<e;o&&(this.rotate?(i=(r=Math.max(t-Math.floor(this.maxSize/2),1))+this.maxSize-1)>e&&(r=(i=e)-this.maxSize+1):(r=(Math.ceil(t/this.maxSize)-1)*this.maxSize+1,i=Math.min(r+this.maxSize-1,e)));for(var s=r;s<=i;s++){var a=this.makePage(s,s.toString(),s===t);n.push(a)}if(o&&!this.rotate){if(r>1){var u=this.makePage(r-1,"...",!1);n.unshift(u)}if(i<e){var l=this.makePage(i+1,"...",!1);n.push(l)}}return n},t.prototype.calculateTotalPages=function(){var t=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(t||0,1)},t.\u0275fac=function(e){return new(e||t)(ms(Ea),ms(lb),ms(Io))},t.\u0275cmp=we({type:t,selectors:[["pager"]],inputs:{itemsPerPage:"itemsPerPage",totalItems:"totalItems",maxSize:"maxSize",rotate:"rotate",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",pageBtnClass:"pageBtnClass",align:"align",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",disabled:"disabled"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[ba([cb])],decls:7,vars:24,consts:[[1,"pager"],[3,"ngClass"],["href","",3,"click"]],template:function(t,e){1&t&&(_s(0,"ul",0),_s(1,"li",1),_s(2,"a",2),Es("click",(function(t){return e.selectPage(e.page-1,t)})),Xs(3),bs(),bs(),_s(4,"li",1),_s(5,"a",2),Es("click",(function(t){return e.selectPage(e.page+1,t)})),Xs(6),bs(),bs(),bs()),2&t&&(si(1),Us(e.pageBtnClass),Hs("disabled",e.noPrevious())("previous",e.align),gs("ngClass",mu(18,rb,e.align,e.align)),si(2),ta(e.getText("previous")),si(1),Us(e.pageBtnClass),Hs("disabled",e.noNext())("next",e.align),gs("ngClass",mu(21,rb,e.align,e.align)),si(2),ta(e.getText("next")))},directives:[tc],encapsulation:2}),t}(),fb={provide:mp,useExisting:Mt((function(){return pb})),multi:!0},pb=function(){function t(t,e,n){this.elementRef=t,this.changeDetection=n,this.numPages=new bu,this.pageChanged=new bu,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.inited=!1,this._page=1,this.elementRef=t,this.config||this.configureOptions(e.main)}return Object.defineProperty(t.prototype,"itemsPerPage",{get:function(){return this._itemsPerPage},set:function(t){this._itemsPerPage=t,this.totalPages=this.calculateTotalPages()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"totalItems",{get:function(){return this._totalItems},set:function(t){this._totalItems=t,this.totalPages=this.calculateTotalPages()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"totalPages",{get:function(){return this._totalPages},set:function(t){this._totalPages=t,this.numPages.emit(t),this.inited&&this.selectPage(this.page)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(t){var e=this._page;this._page=t>this.totalPages?this.totalPages:t||1,this.changeDetection.markForCheck(),e!==this._page&&void 0!==e&&this.pageChanged.emit({page:this._page,itemsPerPage:this.itemsPerPage})},enumerable:!0,configurable:!0}),t.prototype.configureOptions=function(t){this.config=Object.assign({},t)},t.prototype.ngOnInit=function(){"undefined"!=typeof window&&(this.classMap=this.elementRef.nativeElement.getAttribute("class")||""),this.maxSize=void 0!==this.maxSize?this.maxSize:this.config.maxSize,this.rotate=void 0!==this.rotate?this.rotate:this.config.rotate,this.boundaryLinks=void 0!==this.boundaryLinks?this.boundaryLinks:this.config.boundaryLinks,this.directionLinks=void 0!==this.directionLinks?this.directionLinks:this.config.directionLinks,this.pageBtnClass=void 0!==this.pageBtnClass?this.pageBtnClass:this.config.pageBtnClass,this.itemsPerPage=void 0!==this.itemsPerPage?this.itemsPerPage:this.config.itemsPerPage,this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(this.page,this.totalPages),this.inited=!0},t.prototype.writeValue=function(t){this.page=t,this.pages=this.getPages(this.page,this.totalPages)},t.prototype.getText=function(t){return this[t+"Text"]||this.config[t+"Text"]},t.prototype.noPrevious=function(){return 1===this.page},t.prototype.noNext=function(){return this.page===this.totalPages},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.selectPage=function(t,e){e&&e.preventDefault(),this.disabled||(e&&e.target&&e.target.blur(),this.writeValue(t),this.onChange(this.page))},t.prototype.makePage=function(t,e,n){return{text:e,number:t,active:n}},t.prototype.getPages=function(t,e){var n=[],r=1,i=e,o=void 0!==this.maxSize&&this.maxSize<e;o&&(this.rotate?(i=(r=Math.max(t-Math.floor(this.maxSize/2),1))+this.maxSize-1)>e&&(r=(i=e)-this.maxSize+1):(r=(Math.ceil(t/this.maxSize)-1)*this.maxSize+1,i=Math.min(r+this.maxSize-1,e)));for(var s=r;s<=i;s++){var a=this.makePage(s,s.toString(),s===t);n.push(a)}if(o&&!this.rotate){if(r>1){var u=this.makePage(r-1,"...",!1);n.unshift(u)}if(i<e){var l=this.makePage(i+1,"...",!1);n.push(l)}}return n},t.prototype.calculateTotalPages=function(){var t=this.itemsPerPage<1?1:Math.ceil(this.totalItems/this.itemsPerPage);return Math.max(t||0,1)},t.\u0275fac=function(e){return new(e||t)(ms(Ea),ms(lb),ms(Io))},t.\u0275cmp=we({type:t,selectors:[["pagination"]],inputs:{itemsPerPage:"itemsPerPage",totalItems:"totalItems",maxSize:"maxSize",rotate:"rotate",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",pageBtnClass:"pageBtnClass",align:"align",firstText:"firstText",previousText:"previousText",nextText:"nextText",lastText:"lastText",disabled:"disabled"},outputs:{numPages:"numPages",pageChanged:"pageChanged"},features:[ba([fb])],decls:6,vars:6,consts:[[1,"pagination",3,"ngClass"],["class","pagination-first page-item",3,"disabled",4,"ngIf"],["class","pagination-prev page-item",3,"disabled",4,"ngIf"],["class","pagination-page page-item",3,"active","disabled",4,"ngFor","ngForOf"],["class","pagination-next page-item",3,"disabled",4,"ngIf"],["class","pagination-last page-item",3,"disabled",4,"ngIf"],[1,"pagination-first","page-item"],["href","",1,"page-link",3,"innerHTML","click"],[1,"pagination-prev","page-item"],[1,"pagination-page","page-item"],[1,"pagination-next","page-item"],[1,"pagination-last","page-item"]],template:function(t,e){1&t&&(_s(0,"ul",0),ds(1,ib,2,3,"li",1),ds(2,ob,2,3,"li",2),ds(3,sb,2,5,"li",3),ds(4,ab,2,3,"li",4),ds(5,ub,2,3,"li",5),bs()),2&t&&(gs("ngClass",e.classMap),si(1),gs("ngIf",e.boundaryLinks),si(1),gs("ngIf",e.directionLinks),si(1),gs("ngForOf",e.pages),si(1),gs("ngIf",e.directionLinks),si(1),gs("ngIf",e.boundaryLinks))},directives:[tc,ic,nc],encapsulation:2}),t}(),db=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[lb]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},imports:[[yc]]}),t}(),mb=function(){function t(){this.type="warning",this.dismissible=!1,this.dismissOnTimeout=void 0}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),yb=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[mb]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},imports:[[yc]]}),t}();function gb(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function vb(t){return"string"==typeof t}function _b(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function bb(t){return t&&t.getTime&&!isNaN(t.getTime())}function wb(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function Sb(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function Cb(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function kb(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Eb(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function xb(t){return void 0===t}function Tb(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=gb(e)),n}var Db={},Ob={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function Pb(t,e){var n=t.toLowerCase(),r=t;n in Ob&&(r=Ob[n]),Db[n]=Db[n+"s"]=Db[e]=r}function Ab(t){return vb(t)?Db[t]||Db[t.toLowerCase()]:void 0}function Mb(t,e,n){var r=""+Math.abs(t);return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-r.length)).toString().substr(1)+r}var Ib={},Rb={},Nb=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function jb(t,e,n,r){t&&(Rb[t]=r),e&&(Rb[e[0]]=function(){return Mb(r.apply(null,arguments),e[1],e[2])}),n&&(Rb[n]=function(e,n){return n.locale.ordinal(r.apply(null,arguments),t)})}function Fb(t,e,n){var r=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(r.getUTCFullYear())&&r.setUTCFullYear(t),r}function Vb(t,e,n,r,i,o,s){void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=0),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0);var a=new Date(t,e,n,r,i,o,s);return t<100&&t>=0&&isFinite(a.getFullYear())&&a.setFullYear(t),a}function Lb(t,e){return void 0===e&&(e=!1),e?t.getUTCHours():t.getHours()}function Hb(t,e){return void 0===e&&(e=!1),e?t.getUTCMinutes():t.getMinutes()}function Ub(t,e){return void 0===e&&(e=!1),e?t.getUTCSeconds():t.getSeconds()}function Bb(t,e){return void 0===e&&(e=!1),e?t.getUTCMilliseconds():t.getMilliseconds()}function zb(t,e){return void 0===e&&(e=!1),e?t.getUTCDay():t.getDay()}function Yb(t,e){return void 0===e&&(e=!1),e?t.getUTCDate():t.getDate()}function Wb(t,e){return void 0===e&&(e=!1),e?t.getUTCMonth():t.getMonth()}function qb(t,e){return void 0===e&&(e=!1),e?t.getUTCFullYear():t.getFullYear()}function Gb(t,e){return!(!t||!e)&&Qb(t,e)&&Wb(t)===Wb(e)}function Qb(t,e){return!(!t||!e)&&qb(t)===qb(e)}function Kb(t,e){return!(!t||!e)&&Qb(t,e)&&Gb(t,e)&&Yb(t)===Yb(e)}var Zb=/\d/,$b=/\d\d/,Jb=/\d{3}/,Xb=/\d{4}/,tw=/[+-]?\d{6}/,ew=/\d\d?/,nw=/\d\d\d\d?/,rw=/\d\d\d\d\d\d?/,iw=/\d{1,3}/,ow=/\d{1,4}/,sw=/[+-]?\d{1,6}/,aw=/\d+/,uw=/[+-]?\d+/,lw=/Z|[+-]\d\d(?::?\d\d)?/gi,cw=/[+-]?\d+(\.\d{1,3})?/,hw=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,fw={};function pw(t,e,n){fw[t]=wb(e)?e:function(t,r){return t&&n?n:e}}function dw(t,e){return kb(fw,t)?fw[t](!1,e):new RegExp(mw(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,i){return e||n||r||i}))))}function mw(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var yw={};function gw(t,e){var n=vb(t)?[t]:t,r=e;if(Sb(e)&&(r=function(t,n,r){return n[e]=Tb(t),r}),Cb(n)&&wb(r)){var i=void 0;for(i=0;i<n.length;i++)yw[n[i]]=r}}function vw(t,e){gw(t,(function(t,n,r,i){return r._w=r._w||{},e(t,r._w,r,i)}))}function _w(t,e,n){return null!=e&&kb(yw,t)&&yw[t](e,n._a,n,t),n}function bw(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function ww(t,e){return qb(t,e.isUTC).toString()}function Sw(t){return Tb(t)+(Tb(t)>68?1900:2e3)}function Cw(t){return kw(t)?366:365}function kw(t){return t%4==0&&t%100!=0||t%400==0}function Ew(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return 1===n?kw(t+(e-n)/12)?29:28:31-n%7%2}var xw={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function Tw(t,e){var n=Object.assign({},xw,e),r=t.getFullYear()+(n.year||0),i=t.getMonth()+(n.month||0),o=t.getDate()+(n.day||0);return n.month&&!n.day&&(o=Math.min(o,Ew(r,i))),Vb(r,i,o,t.getHours()+(n.hour||0),t.getMinutes()+(n.minute||0),t.getSeconds()+(n.seconds||0))}function Dw(t,e){return Sb(e)?e:t}function Ow(t,e,n){var r=Math.min(Yb(t),Ew(qb(t),e));return n?t.setUTCMonth(e,r):t.setMonth(e,r),t}function Pw(t,e,n){return n?t.setUTCDate(e):t.setDate(e),t}function Aw(t){return new Date(t.getTime())}function Mw(t,e,n){var r=Aw(t);switch(e){case"year":Ow(r,0,n);case"quarter":case"month":Pw(r,1,n);case"week":case"isoWeek":case"day":case"date":!function(t,e,n){n?t.setUTCHours(0):t.setHours(0)}(r,0,n);case"hours":!function(t,e,n){n?t.setUTCMinutes(0):t.setMinutes(0)}(r,0,n);case"minutes":!function(t,e,n){n?t.setUTCSeconds(0):t.setSeconds(0)}(r,0,n);case"seconds":!function(t,e,n){n?t.setUTCMilliseconds(0):t.setMilliseconds(0)}(r,0,n)}return"week"===e&&function(t,e,n){void 0===n&&(n={}),qS(t,0-KS(t,n.locale,n.isUTC),"day")}(r,0,{isUTC:n}),"isoWeek"===e&&function(t,e,n){void 0===n&&(n={});var r,i=(void 0===(r=n.locale)&&(r=lS()),vb(1)?r.weekdaysParse(1)%7||7:Sb(1)&&isNaN(1)?null:1);QS(t,function(t,e){return zb(t,void 0)}(t)%7?i:i-7)}(r),"quarter"===e&&Ow(r,3*Math.floor(Wb(r,n)/3),n),r}function Iw(t,e,n){var r=e;return"date"===r&&(r="day"),function(t,e,n,r){return GS(t,zS(1,"milliseconds"),-1,r)}(qS(Mw(t,r,n),1,"isoWeek"===r?"week":r,n),0,0,n)}function Rw(t,e){var n=+Mw(t,"day",e),r=+Mw(t,"year",e);return Math.round((n-r)/864e5)+1}function Nw(t,e,n){var r=e-n+7;return-(Fb(t,0,r).getUTCDay()-e+7)%7+r-1}function jw(t,e,n,r){var i,o,s=Nw(qb(t,r),e,n),a=Math.floor((Rw(t,r)-s-1)/7)+1;return a<1?i=a+Fw(o=qb(t,r)-1,e,n):a>Fw(qb(t,r),e,n)?(i=a-Fw(qb(t,r),e,n),o=qb(t,r)+1):(o=qb(t,r),i=a),{week:i,year:o}}function Fw(t,e,n){var r=Nw(t,e,n),i=Nw(t+1,e,n);return(Cw(t)-r+i)/7}var Vw=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Lw="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Hw="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Uw="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bw="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),zw="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Yw={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ww=hw,qw=hw,Gw=function(){function t(t){t&&this.set(t)}return t.prototype.set=function(t){var e;for(e in t)if(t.hasOwnProperty(e)){var n=t[e];this[wb(n)?e:"_"+e]=n}this._config=t},t.prototype.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return wb(r)?r.call(null,e,n):r},t.prototype.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])},Object.defineProperty(t.prototype,"invalidDate",{get:function(){return this._invalidDate},set:function(t){this._invalidDate=t},enumerable:!0,configurable:!0}),t.prototype.ordinal=function(t,e){return this._ordinal.replace("%d",t.toString(10))},t.prototype.preparse=function(t){return t},t.prototype.postformat=function(t){return t},t.prototype.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return wb(i)?i(t,e,n,r):i.replace(/%d/i,t.toString(10))},t.prototype.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return wb(n)?n(e):n.replace(/%s/i,e)},t.prototype.months=function(t,e,n){if(void 0===n&&(n=!1),!t)return Cb(this._months)?this._months:this._months.standalone;if(Cb(this._months))return this._months[Wb(t,n)];var r=(this._months.isFormat||Vw).test(e)?"format":"standalone";return this._months[r][Wb(t,n)]},t.prototype.monthsShort=function(t,e,n){if(void 0===n&&(n=!1),!t)return Cb(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(Cb(this._monthsShort))return this._monthsShort[Wb(t,n)];var r=Vw.test(e)?"format":"standalone";return this._monthsShort[r][Wb(t,n)]},t.prototype.monthsParse=function(t,e,n){var r,i,o;if(this._monthsParseExact)return this.handleMonthStrictParse(t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=new Date(Date.UTC(2e3,o)),n&&!this._longMonthsParse[o]){var s=this.months(r,"",!0).replace(".",""),a=this.monthsShort(r,"",!0).replace(".","");this._longMonthsParse[o]=new RegExp("^"+s+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+a+"$","i")}if(n||this._monthsParse[o]||(i="^"+this.months(r,"",!0)+"|^"+this.monthsShort(r,"",!0),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[o].test(t))return o;if(n&&"MMM"===e&&this._shortMonthsParse[o].test(t))return o;if(!n&&this._monthsParse[o].test(t))return o}},t.prototype.monthsRegex=function(t){return this._monthsParseExact?(kb(this,"_monthsRegex")||this.computeMonthsParse(),t?this._monthsStrictRegex:this._monthsRegex):(kb(this,"_monthsRegex")||(this._monthsRegex=qw),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},t.prototype.monthsShortRegex=function(t){return this._monthsParseExact?(kb(this,"_monthsRegex")||this.computeMonthsParse(),t?this._monthsShortStrictRegex:this._monthsShortRegex):(kb(this,"_monthsShortRegex")||(this._monthsShortRegex=Ww),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},t.prototype.week=function(t,e){return jw(t,this._week.dow,this._week.doy,e).week},t.prototype.firstDayOfWeek=function(){return this._week.dow},t.prototype.firstDayOfYear=function(){return this._week.doy},t.prototype.weekdays=function(t,e,n){if(!t)return Cb(this._weekdays)?this._weekdays:this._weekdays.standalone;if(Cb(this._weekdays))return this._weekdays[zb(t,n)];var r=this._weekdays.isFormat.test(e)?"format":"standalone";return this._weekdays[r][zb(t,n)]},t.prototype.weekdaysMin=function(t,e,n){return t?this._weekdaysMin[zb(t,n)]:this._weekdaysMin},t.prototype.weekdaysShort=function(t,e,n){return t?this._weekdaysShort[zb(t,n)]:this._weekdaysShort},t.prototype.weekdaysParse=function(t,e,n){var r,i;if(this._weekdaysParseExact)return this.handleWeekStrictParse(t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){var o=QS(new Date(Date.UTC(2e3,1)),r,null,!0);if(n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"",!0).replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"",!0).replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"",!0).replace(".",".?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"",!0)+"|^"+this.weekdaysShort(o,"",!0)+"|^"+this.weekdaysMin(o,"",!0),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),!(Cb(this._fullWeekdaysParse)&&Cb(this._shortWeekdaysParse)&&Cb(this._minWeekdaysParse)&&Cb(this._weekdaysParse)))return;if(n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},t.prototype.weekdaysRegex=function(t){return this._weekdaysParseExact?(kb(this,"_weekdaysRegex")||this.computeWeekdaysParse(),t?this._weekdaysStrictRegex:this._weekdaysRegex):(kb(this,"_weekdaysRegex")||(this._weekdaysRegex=hw),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},t.prototype.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(kb(this,"_weekdaysRegex")||this.computeWeekdaysParse(),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(kb(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=hw),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},t.prototype.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(kb(this,"_weekdaysRegex")||this.computeWeekdaysParse(),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(kb(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=hw),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},t.prototype.isPM=function(t){return"p"===t.toLowerCase().charAt(0)},t.prototype.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},t.prototype.formatLongDate=function(t){this._longDateFormat=this._longDateFormat?this._longDateFormat:Yw;var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])},t.prototype.handleMonthStrictParse=function(t,e,n){var r,i,o,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=new Date(2e3,r),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=this._shortMonthsParse.indexOf(s))?i:null:-1!==(i=this._longMonthsParse.indexOf(s))?i:null:"MMM"===e?-1!==(i=this._shortMonthsParse.indexOf(s))?i:-1!==(i=this._longMonthsParse.indexOf(s))?i:null:-1!==(i=this._longMonthsParse.indexOf(s))?i:-1!==(i=this._shortMonthsParse.indexOf(s))?i:null},t.prototype.handleWeekStrictParse=function(t,e,n){var r,i=t.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];var o=void 0;for(o=0;o<7;++o){var s=QS(new Date(Date.UTC(2e3,1)),o,null,!0);this._minWeekdaysParse[o]=this.weekdaysMin(s).toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(s).toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(s,"").toLocaleLowerCase()}}if(Cb(this._weekdaysParse)&&Cb(this._shortWeekdaysParse)&&Cb(this._minWeekdaysParse))return n?"dddd"===e?-1!==(r=this._weekdaysParse.indexOf(i))?r:null:"ddd"===e?-1!==(r=this._shortWeekdaysParse.indexOf(i))?r:null:-1!==(r=this._minWeekdaysParse.indexOf(i))?r:null:"dddd"===e?-1!==(r=this._weekdaysParse.indexOf(i))?r:-1!==(r=this._shortWeekdaysParse.indexOf(i))?r:-1!==(r=this._minWeekdaysParse.indexOf(i))?r:null:"ddd"===e?-1!==(r=this._shortWeekdaysParse.indexOf(i))?r:-1!==(r=this._weekdaysParse.indexOf(i))?r:-1!==(r=this._minWeekdaysParse.indexOf(i))?r:null:-1!==(r=this._minWeekdaysParse.indexOf(i))?r:-1!==(r=this._weekdaysParse.indexOf(i))?r:-1!==(r=this._shortWeekdaysParse.indexOf(i))?r:null},t.prototype.computeMonthsParse=function(){var t,e,n=[],r=[],i=[];for(e=0;e<12;e++)t=new Date(2e3,e),n.push(this.monthsShort(t,"")),r.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(Qw),r.sort(Qw),i.sort(Qw),e=0;e<12;e++)n[e]=mw(n[e]),r[e]=mw(r[e]);for(e=0;e<24;e++)i[e]=mw(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")},t.prototype.computeWeekdaysParse=function(){var t,e=[],n=[],r=[],i=[];for(t=0;t<7;t++){var o=QS(new Date(Date.UTC(2e3,1)),t,null,!0),s=this.weekdaysMin(o),a=this.weekdaysShort(o),u=this.weekdays(o);e.push(s),n.push(a),r.push(u),i.push(s),i.push(a),i.push(u)}for(e.sort(Qw),n.sort(Qw),r.sort(Qw),i.sort(Qw),t=0;t<7;t++)n[t]=mw(n[t]),r[t]=mw(r[t]),i[t]=mw(i[t]);this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")},t}();function Qw(t,e){return e.length-t.length}var Kw={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:Yw,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Lw,monthsShort:Hw,week:{dow:0,doy:6},weekdays:Uw,weekdaysMin:zw,weekdaysShort:Bw,meridiemParse:/[ap]\.?m?\.?/i};function Zw(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&Tb(t[r])!==Tb(e[r]))&&s++;return s+o}function $w(t,e){jb(null,[t,t.length,!1],null,e)}function Jw(t,e){return tS(t,e.locale).toString()}function Xw(t){return eS(t).toString()}function tS(t,e,n){return void 0===e&&(e=lS()),jw(t,e.firstDayOfWeek(),e.firstDayOfYear(),n).year}function eS(t,e){return jw(t,1,4,e).year}function nS(t,e){jb(t,null,null,(function(t,n){var r=function(t,e){return void 0===e&&(e={}),e._isUTC?e._offset||0:function(t){return 15*-Math.round(t.getTimezoneOffset()/15)}(t)}(t,{_isUTC:n.isUTC,_offset:n.offset}),i="+";return r<0&&(r=-r,i="-"),i+Mb(~~(r/60),2)+e+Mb(~~r%60,2)}))}var rS,iS=/([\+\-]|\d\d)/gi,oS={},sS={};function aS(t){return t?t.toLowerCase().replace("_","-"):t}function uS(t){return oS[t]||console.error('Khronos locale error: please load locale "'+t+'" before using it'),oS[t]}function lS(t){return oS.en||(function t(e,n){var r;return e&&(xb(n)?r=lS(e):vb(e)&&(r=function e(n,r){if(null===r)return delete oS[n],rS=lS("en"),null;if(r){var i=Kw;if(r.abbr=n,null!=r.parentLocale){if(null==oS[r.parentLocale])return sS[r.parentLocale]||(sS[r.parentLocale]=[]),sS[r.parentLocale].push({name:n,config:r}),null;i=oS[r.parentLocale]._config}return oS[n]=new Gw(function(t,e){var n=Object.assign({},t);for(var r in e)kb(e,r)&&(Eb(t[r])&&Eb(e[r])?(n[r]={},Object.assign(n[r],t[r]),Object.assign(n[r],e[r])):null!=e[r]?n[r]=e[r]:delete n[r]);for(var i in t)kb(t,i)&&!kb(e,i)&&Eb(t[i])&&(n[i]=Object.assign({},n[i]));return n}(i,r)),sS[n]&&sS[n].forEach((function(t){e(t.name,t.config)})),t(n),oS[n]}}(e,n)),r&&(rS=r)),rS&&rS._abbr}("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===Tb(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),jb("w",["ww",2,!1],"wo",(function(t,e){return function(t,e,n){return void 0===e&&(e=lS()),e.week(t,void 0)}(t,e.locale).toString(10)})),jb("W",["WW",2,!1],"Wo",(function(t){return function(t,e){return jw(t,1,4,void 0).week}(t).toString(10)})),Pb("week","w"),Pb("isoWeek","W"),pw("w",ew),pw("ww",ew,$b),pw("W",ew),pw("WW",ew,$b),vw(["w","ww","W","WW"],(function(t,e,n,r){return e[r.substr(0,1)]=Tb(t),n})),jb(null,["gg",2,!1],null,(function(t,e){return(tS(t,e.locale)%100).toString()})),jb(null,["GG",2,!1],null,(function(t){return(eS(t)%100).toString()})),$w("gggg",Jw),$w("ggggg",Jw),$w("GGGG",Xw),$w("GGGGG",Xw),Pb("weekYear","gg"),Pb("isoWeekYear","GG"),pw("G",uw),pw("g",uw),pw("GG",ew,$b),pw("gg",ew,$b),pw("GGGG",ow,Xb),pw("gggg",ow,Xb),pw("GGGGG",sw,tw),pw("ggggg",sw,tw),vw(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){return e[r.substr(0,2)]=Tb(t),n})),vw(["gg","GG"],(function(t,e,n,r){return e[r]=Sw(t),n})),jb("Y",null,null,(function(t,e){var n=qb(t,e.isUTC);return n<=9999?n.toString(10):"+"+n})),jb(null,["YY",2,!1],null,(function(t,e){return(qb(t,e.isUTC)%100).toString(10)})),jb(null,["YYYY",4,!1],null,ww),jb(null,["YYYYY",5,!1],null,ww),jb(null,["YYYYYY",6,!0],null,ww),Pb("year","y"),pw("Y",uw),pw("YY",ew,$b),pw("YYYY",ow,Xb),pw("YYYYY",sw,tw),pw("YYYYYY",sw,tw),gw(["YYYYY","YYYYYY"],0),gw("YYYY",(function(t,e,n){return e[0]=2===t.length?Sw(t):Tb(t),n})),gw("YY",(function(t,e,n){return e[0]=Sw(t),n})),gw("Y",(function(t,e,n){return e[0]=parseInt(t,10),n})),jb("z",null,null,(function(t,e){return e.isUTC?"UTC":""})),jb("zz",null,null,(function(t,e){return e.isUTC?"Coordinated Universal Time":""})),jb("X",null,null,(function(t){return function(t){return Math.floor(t.valueOf()/1e3)}(t).toString(10)})),jb("x",null,null,(function(t){return t.valueOf().toString(10)})),pw("x",uw),pw("X",cw),gw("X",(function(t,e,n){return n._d=new Date(1e3*parseFloat(t)),n})),gw("x",(function(t,e,n){return n._d=new Date(Tb(t)),n})),jb("s",["ss",2,!1],null,(function(t,e){return Ub(t,e.isUTC).toString(10)})),Pb("second","s"),pw("s",ew),pw("ss",ew,$b),gw(["s","ss"],5),jb("Q",null,"Qo",(function(t,e){return function(t,e){return void 0===e&&(e=!1),Math.ceil((Wb(t,e)+1)/3)}(t,e.isUTC).toString(10)})),Pb("quarter","Q"),pw("Q",Zb),gw("Q",(function(t,e,n){return e[1]=3*(Tb(t)-1),n})),nS("Z",":"),nS("ZZ",""),pw("Z",lw),pw("ZZ",lw),gw(["Z","ZZ"],(function(t,e,n){return n._useUTC=!0,n._tzm=function(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1].match(iS)||["-","0","0"],i=60*parseInt(r[1],10)+Tb(r[2]);return 0===i?0:"+"===r[0]?i:-i}(lw,t),n})),jb("M",["MM",2,!1],"Mo",(function(t,e){return(Wb(t,e.isUTC)+1).toString(10)})),jb("MMM",null,null,(function(t,e){return e.locale.monthsShort(t,e.format,e.isUTC)})),jb("MMMM",null,null,(function(t,e){return e.locale.months(t,e.format,e.isUTC)})),Pb("month","M"),pw("M",ew),pw("MM",ew,$b),pw("MMM",(function(t,e){return e.monthsShortRegex(t)})),pw("MMMM",(function(t,e){return e.monthsRegex(t)})),gw(["M","MM"],(function(t,e,n){return e[1]=Tb(t)-1,n})),gw(["MMM","MMMM"],(function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);return null!=i?e[1]=i:bw(n).invalidMonth=!!t,n})),jb("m",["mm",2,!1],null,(function(t,e){return Hb(t,e.isUTC).toString(10)})),Pb("minute","m"),pw("m",ew),pw("mm",ew,$b),gw(["m","mm"],4),function(){var t;for(jb("S",null,null,(function(t,e){return(~~(Bb(t,e.isUTC)/100)).toString(10)})),jb(null,["SS",2,!1],null,(function(t,e){return(~~(Bb(t,e.isUTC)/10)).toString(10)})),jb(null,["SSS",3,!1],null,(function(t,e){return Bb(t,e.isUTC).toString(10)})),jb(null,["SSSS",4,!1],null,(function(t,e){return(10*Bb(t,e.isUTC)).toString(10)})),jb(null,["SSSSS",5,!1],null,(function(t,e){return(100*Bb(t,e.isUTC)).toString(10)})),jb(null,["SSSSSS",6,!1],null,(function(t,e){return(1e3*Bb(t,e.isUTC)).toString(10)})),jb(null,["SSSSSSS",7,!1],null,(function(t,e){return(1e4*Bb(t,e.isUTC)).toString(10)})),jb(null,["SSSSSSSS",8,!1],null,(function(t,e){return(1e5*Bb(t,e.isUTC)).toString(10)})),jb(null,["SSSSSSSSS",9,!1],null,(function(t,e){return(1e6*Bb(t,e.isUTC)).toString(10)})),Pb("millisecond","ms"),pw("S",iw,Zb),pw("SS",iw,$b),pw("SSS",iw,Jb),t="SSSS";t.length<=9;t+="S")pw(t,aw);function e(t,e,n){return e[6]=Tb(1e3*parseFloat("0."+t)),n}for(t="S";t.length<=9;t+="S")gw(t,e)}(),function(){function t(t,e){return Lb(t,e)%12||12}function e(t,e){jb(t,null,null,(function(t,n){return n.locale.meridiem(Lb(t,n.isUTC),Hb(t,n.isUTC),e)}))}function n(t,e){return e._meridiemParse}jb("H",["HH",2,!1],null,(function(t,e){return Lb(t,e.isUTC).toString(10)})),jb("h",["hh",2,!1],null,(function(e,n){return t(e,n.isUTC).toString(10)})),jb("k",["kk",2,!1],null,(function(t,e){return function(t,e){return Lb(t,e)||24}(t,e.isUTC).toString(10)})),jb("hmm",null,null,(function(e,n){return""+t(e,n.isUTC)+Mb(Hb(e,n.isUTC),2)})),jb("hmmss",null,null,(function(e,n){return""+t(e,n.isUTC)+Mb(Hb(e,n.isUTC),2)+Mb(Ub(e,n.isUTC),2)})),jb("Hmm",null,null,(function(t,e){return""+Lb(t,e.isUTC)+Mb(Hb(t,e.isUTC),2)})),jb("Hmmss",null,null,(function(t,e){return""+Lb(t,e.isUTC)+Mb(Hb(t,e.isUTC),2)+Mb(Ub(t,e.isUTC),2)})),e("a",!0),e("A",!1),Pb("hour","h"),pw("a",n),pw("A",n),pw("H",ew),pw("h",ew),pw("k",ew),pw("HH",ew,$b),pw("hh",ew,$b),pw("kk",ew,$b),pw("hmm",nw),pw("hmmss",rw),pw("Hmm",nw),pw("Hmmss",rw),gw(["H","HH"],3),gw(["k","kk"],(function(t,e,n){var r=Tb(t);return e[3]=24===r?0:r,n})),gw(["a","A"],(function(t,e,n){return n._isPm=n._locale.isPM(t),n._meridiem=t,n})),gw(["h","hh"],(function(t,e,n){return e[3]=Tb(t),bw(n).bigHour=!0,n})),gw("hmm",(function(t,e,n){var r=t.length-2;return e[3]=Tb(t.substr(0,r)),e[4]=Tb(t.substr(r)),bw(n).bigHour=!0,n})),gw("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;return e[3]=Tb(t.substr(0,r)),e[4]=Tb(t.substr(r,2)),e[5]=Tb(t.substr(i)),bw(n).bigHour=!0,n})),gw("Hmm",(function(t,e,n){var r=t.length-2;return e[3]=Tb(t.substr(0,r)),e[4]=Tb(t.substr(r)),n})),gw("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;return e[3]=Tb(t.substr(0,r)),e[4]=Tb(t.substr(r,2)),e[5]=Tb(t.substr(i)),n}))}(),jb("DDD",["DDDD",3,!1],"DDDo",(function(t){return Rw(t).toString(10)})),Pb("dayOfYear","DDD"),pw("DDD",iw),pw("DDDD",Jb),gw(["DDD","DDDD"],(function(t,e,n){return n._dayOfYear=Tb(t),n})),jb("d",null,"do",(function(t,e){return zb(t,e.isUTC).toString(10)})),jb("dd",null,null,(function(t,e){return e.locale.weekdaysMin(t,e.format,e.isUTC)})),jb("ddd",null,null,(function(t,e){return e.locale.weekdaysShort(t,e.format,e.isUTC)})),jb("dddd",null,null,(function(t,e){return e.locale.weekdays(t,e.format,e.isUTC)})),jb("e",null,null,(function(t,e){return KS(t,e.locale,e.isUTC).toString(10)})),jb("E",null,null,(function(t,e){return function(t,e){return zb(t,e)||7}(t,e.isUTC).toString(10)})),Pb("day","d"),Pb("weekday","e"),Pb("isoWeekday","E"),pw("d",ew),pw("e",ew),pw("E",ew),pw("dd",(function(t,e){return e.weekdaysMinRegex(t)})),pw("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),pw("dddd",(function(t,e){return e.weekdaysRegex(t)})),vw(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);return null!=i?e.d=i:bw(n).invalidWeekday=!!t,n})),vw(["d","e","E"],(function(t,e,n,r){return e[r]=Tb(t),n})),jb("D",["DD",2,!1],"Do",(function(t,e){return Yb(t,e.isUTC).toString(10)})),Pb("date","D"),pw("D",ew),pw("DD",ew,$b),pw("Do",(function(t,e){return e._dayOfMonthOrdinalParse||e._ordinalParse})),gw(["D","DD"],2),gw("Do",(function(t,e,n){return e[2]=Tb(t.match(ew)[0]),n}))),t?function(t){for(var e,n,r=0;r<t.length;){var i=aS(t[r]).split("-"),o=i.length;for(e=(e=aS(t[r+1]))?e.split("-"):null;o>0;){if(n=uS(i.slice(0,o).join("-")))return n;if(e&&e.length>=o&&Zw(i,e,!0)>=o-1)break;o--}r++}return null}(Cb(t)?t:[t]):rS}var cS=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],hS=cS.reduce((function(t,e){return t[e]=!0,t}),{});function fS(t){return t<0?Math.floor(t):Math.ceil(t)}function pS(t){return 4800*t/146097}function dS(t){return 146097*t/4800}var mS=Math.round;function yS(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}var gS=function(){function t(t,e){void 0===e&&(e={}),this._data={},this._locale=lS(),this._locale=e&&e._locale||lS();var n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,s=t.day||0,a=t.hours||0,u=t.minutes||0,l=t.seconds||0,c=t.milliseconds||0;return this._isValid=function(t){if(Object.keys(t).some((function(e){return e in hS&&null===t[e]||isNaN(t[e])})))return!1;for(var e=!1,n=0;n<cS.length;++n)if(t[cS[n]]){if(e)return!1;t[cS[n]]!==Tb(t[cS[n]])&&(e=!0)}return!0}(t),this._milliseconds=+c+1e3*l+60*u*1e3+1e3*a*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,function(t){var e=t._milliseconds,n=t._days,r=t._months,i=t._data;e>=0&&n>=0&&r>=0||e<=0&&n<=0&&r<=0||(e+=864e5*fS(dS(r)+n),n=0,r=0),i.milliseconds=e%1e3;var o=gb(e/1e3);i.seconds=o%60;var s=gb(o/60);i.minutes=s%60;var a=gb(s/60);i.hours=a%24,n+=gb(a/24);var u=gb(pS(n));r+=u,n-=fS(dS(u));var l=gb(r/12);return r%=12,i.day=n,i.month=r,i.year=l,t}(this)}return t.prototype.isValid=function(){return this._isValid},t.prototype.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate;var e=this.localeData(),n=function(t,e,n){var r=zS(t).abs(),i=mS(r.as("s")),o=mS(r.as("m")),s=mS(r.as("h")),a=mS(r.as("d")),u=mS(r.as("M")),l=mS(r.as("y")),c=i<=44&&["s",i]||i<45&&["ss",i]||o<=1&&["m"]||o<45&&["mm",o]||s<=1&&["h"]||s<22&&["hh",s]||a<=1&&["d"]||a<26&&["dd",a]||u<=1&&["M"]||u<11&&["MM",u]||l<=1&&["y"]||["yy",l];return yS.apply(null,[c[0],c[1],e,+t>0,n])}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},t.prototype.localeData=function(){return this._locale},t.prototype.locale=function(t){return t?(this._locale=lS(t)||this._locale,this):this._locale._abbr},t.prototype.abs=function(){var t=Math.abs,e=this._data;return this._milliseconds=t(this._milliseconds),this._days=t(this._days),this._months=t(this._months),e.milliseconds=t(e.milliseconds),e.seconds=t(e.seconds),e.minutes=t(e.minutes),e.hours=t(e.hours),e.month=t(e.month),e.year=t(e.year),this},t.prototype.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds,i=Ab(t);if("month"===i||"year"===i)return n=this._months+pS(e=this._days+r/864e5),"month"===i?n:n/12;switch(e=this._days+Math.round(dS(this._months)),i){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hours":return 24*e+r/36e5;case"minutes":return 1440*e+r/6e4;case"seconds":return 86400*e+r/1e3;case"milliseconds":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+i)}},t.prototype.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Tb(this._months/12):NaN},t}();function vS(t){if(null==t._isValid){var e=bw(t),n=Array.prototype.some.call(e.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d&&t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function _S(t,e){return t._d=new Date(NaN),Object.assign(bw(t),e||{userInvalidated:!0}),t}var bS=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wS=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,SS=/Z|[+-]\d\d(?::?\d\d)?/,CS=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],kS=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ES=/^\/?Date\((\-?\d+)/i,xS={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},TS=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function DS(t){if(!vb(t._i))return t;var e,n,r,i,o,s,a=t._i,u=bS.exec(a)||wS.exec(a);if(!u)return t._isValid=!1,t;for(o=0,s=CS.length;o<s;o++)if(CS[o][1].exec(u[1])){n=CS[o][0],e=!1!==CS[o][2];break}if(null==n)return t._isValid=!1,t;if(u[3]){for(o=0,s=kS.length;o<s;o++)if(kS[o][1].exec(u[3])){r=(u[2]||" ")+kS[o][0];break}if(null==r)return t._isValid=!1,t}if(!e&&null!=r)return t._isValid=!1,t;if(u[4]){if(!SS.exec(u[4]))return t._isValid=!1,t;i="Z"}return t._f=n+(r||"")+(i||""),jS(t)}function OS(t){var e=parseInt(t,10);return e<=49?e+2e3:e}function PS(t){if(!vb(t._i))return t;var e=TS.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(!e)return function(t){return t._isValid=!1,t}(t);var n,r,i,o,s,a,u=(n=e[3],r=e[2],i=e[5],o=e[6],s=e[7],a=[OS(e[4]),Hw.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(o,10)],s&&a.push(parseInt(s,10)),a);return function(t,e,n){return!t||Bw.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(bw(n).weekdayMismatch=!0,n._isValid=!1,!1)}(e[1],u,t)?(t._a=u,t._tzm=function(t,e,n){if(t)return xS[t];if(e)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(e[8],e[9],e[10]),t._d=Fb.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),bw(t).rfc2822=!0,t):t}function AS(t,e,n,r,i){void 0===i&&(i=0);var o=lS(n||"en");if(!o)throw new Error('Locale "'+n+'" is not defined, please add it with "defineLocale(...)"');var s=function(t,e,n,r,i){if(void 0===i&&(i=0),!bb(t))return n.invalidDate;var o=MS(e,n);return Ib[o]=Ib[o]||function(t){for(var e=t.match(Nb),n=e.length,r=new Array(n),i=0;i<n;i++)r[i]=Rb[e[i]]?Rb[e[i]]:(o=e[i]).match(/\[[\s\S]/)?o.replace(/^\[|\]$/g,""):o.replace(/\\/g,"");var o;return(function(e,i,o,s){void 0===s&&(s=0);for(var a="",u=0;u<n;u++)a+=wb(r[u])?r[u].call(null,e,{format:t,locale:i,isUTC:o,offset:s}):r[u];return a})}(o),Ib[o](t,n,r,i)}(t,e||(r?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),o,r,i);return s?o.postformat(s):s}function MS(t,e){var n=t,r=5,i=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,o=function(t){return e.formatLongDate(t)||t};for(i.lastIndex=0;r>=0&&i.test(n);)n=n.replace(i,o),i.lastIndex=0,r-=1;return n}function IS(t,e,n){return null!=t?t:null!=e?e:n}function RS(t){var e,n,r,i,o,s=[];if(t._d)return t;for(r=function(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,r,i,o,s,a,u;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,s=4,n=IS(e.GG,t._a[0],jw(new Date,1,4).year),r=IS(e.W,1),((i=IS(e.E,1))<1||i>7)&&(u=!0);else{o=t._locale._week.dow,s=t._locale._week.doy;var l=jw(new Date,o,s);n=IS(e.gg,t._a[0],l.year),r=IS(e.w,l.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o}r<1||r>Fw(n,o,s)?bw(t)._overflowWeeks=!0:null!=u?bw(t)._overflowWeekday=!0:(a=function(t,e,n,r,i){var o,s,a=1+7*(e-1)+(7+n-r)%7+Nw(t,r,i);return a<=0?s=Cw(o=t-1)+a:a>Cw(t)?(o=t+1,s=a-Cw(t)):(o=t,s=a),{year:o,dayOfYear:s}}(n,r,i,o,s),t._a[0]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(o=IS(t._a[0],r[0]),(t._dayOfYear>Cw(o)||0===t._dayOfYear)&&(bw(t)._overflowDayOfYear=!0),n=new Date(Date.UTC(o,0,t._dayOfYear)),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];return 24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Fb:Vb).apply(null,s),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(bw(t).weekdayMismatch=!0),t}function NS(t){var e,n=t._a;return n&&-2===bw(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ew(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,bw(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),bw(t)._overflowWeeks&&-1===e&&(e=7),bw(t)._overflowWeekday&&-1===e&&(e=8),bw(t).overflow=e),t}function jS(t){if("ISO_8601"===t._f)return DS(t);if("RFC_2822"===t._f)return PS(t);if(t._a=[],bw(t).empty=!0,Cb(t._f)||!t._i&&0!==t._i)return t;var e,n,r,i,o=t._i.toString(),s=0,a=o.length,u=MS(t._f,t._locale).match(Nb)||[];for(e=0;e<u.length;e++)(r=(o.match(dw(n=u[e],t._locale))||[])[0])&&((i=o.substr(0,o.indexOf(r))).length>0&&bw(t).unusedInput.push(i),o=o.slice(o.indexOf(r)+r.length),s+=r.length),Rb[n]?(r?bw(t).empty=!1:bw(t).unusedTokens.push(n),_w(n,r,t)):t._strict&&!r&&bw(t).unusedTokens.push(n);return bw(t).charsLeftOver=a-s,o.length>0&&bw(t).unusedInput.push(o),t._a[3]<=12&&!0===bw(t).bigHour&&t._a[3]>0&&(bw(t).bigHour=void 0),bw(t).parsedDateParts=t._a.slice(0),bw(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var r=e;if(null==n)return r;if(null!=t.meridiemHour)return t.meridiemHour(r,n);if(null==t.isPM)return r;var i=t.isPM(n);return i&&r<12&&(r+=12),i||12!==r||(r=0),r}(t._locale,t._a[3],t._meridiem),RS(t),NS(t)}function FS(t,e,n,r,i){return _b(t)?t:function(t,e,n,r,i){var o={},s=t;return(Eb(s)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(s)||Cb(s)&&0===s.length)&&(s=void 0),o._useUTC=o._isUTC=i,o._l=n,o._i=s,o._f=e,o._strict=r,function(t){var e=NS(function(t){var e=t._i,n=t._f;return t._locale=t._locale||lS(t._l),null===e||void 0===n&&""===e?_S(t,{nullInput:!0}):(vb(e)&&(t._i=e=t._locale.preparse(e)),_b(e)?(t._d=Aw(e),t):(Cb(n)?function(t){var e,n,r,i,o;if(!t._f||0===t._f.length)return bw(t).invalidFormat=!0,_S(t);for(o=0;o<t._f.length;o++)i=0,e=Object.assign({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],jS(e),vS(e)&&(i+=bw(e).charsLeftOver,i+=10*bw(e).unusedTokens.length,bw(e).score=i,(null==r||i<r)&&(r=i,n=e));Object.assign(t,n||e)}(t):n?jS(t):function(t){var e=t._i;if(xb(e))t._d=new Date;else if(_b(e))t._d=Aw(e);else if(vb(e))!function(t){if(!vb(t._i))return t;var e=ES.exec(t._i);null!==e?t._d=new Date(+e[1]):(DS(t),!1!==t._isValid||(delete t._isValid,PS(t),!1!==t._isValid||(delete t._isValid,_S(t))))}(t);else if(Cb(e)&&e.length){var n=e.slice(0);t._a=n.map((function(t){return vb(t)?parseInt(t,10):t})),RS(t)}else if(Eb(e))!function(t){if(t._d)return t;var e=t._i;if(Eb(e)){var n=function(t){var e,n,r={};for(n in t)kb(t,n)&&(e=Ab(n))&&(r[e]=t[n]);return(r)}(e);t._a=[n.year,n.month,n.day,n.hours,n.minutes,n.seconds,n.milliseconds].map((function(t){return vb(t)?parseInt(t,10):t}))}RS(t)}(t);else{if(!Sb(e))return _S(t);t._d=new Date(e)}}(t),vS(t)||(t._d=null),t))}(t));return e._d=new Date(null!=e._d?e._d.getTime():NaN),vS(Object.assign({},e,{_isValid:null}))||(e._d=new Date(NaN)),e}(o)}(t,e,n,r,i)._d}function VS(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function LS(t,e,n){return void 0===n&&(n="milliseconds"),!(!t||!e)&&("milliseconds"===n?t.valueOf()>e.valueOf():e.valueOf()<Mw(t,n).valueOf())}function HS(t,e,n){return void 0===n&&(n="milliseconds"),!(!t||!e)&&("milliseconds"===n?t.valueOf()<e.valueOf():Iw(t,n).valueOf()<e.valueOf())}var US=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,BS=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function zS(t,e,n){void 0===n&&(n={});var r=function(t,e){var n;if(null==t)return{};if(t instanceof gS)return{milliseconds:t._milliseconds,day:t._days,month:t._months};if(Sb(t))return e?((n={})[e]=t,n):{milliseconds:t};if(vb(t)){var r=US.exec(t);if(r){var i="-"===r[1]?-1:1;return{year:0,day:Tb(r[2])*i,hours:Tb(r[3])*i,minutes:Tb(r[4])*i,seconds:Tb(r[5])*i,milliseconds:Tb(VS(1e3*Tb(r[6])))*i}}if(r=BS.exec(t))return{year:YS(r[2],i="-"===r[1]?-1:1),month:YS(r[3],i),week:YS(r[4],i),day:YS(r[5],i),hours:YS(r[6],i),minutes:YS(r[7],i),seconds:YS(r[8],i)}}if(Eb(t)&&("from"in t||"to"in t)){var o=function(t,e){if(!bb(t)||!bb(e))return{milliseconds:0,months:0};var n,r=function(t,e,n){if(void 0===n&&(n={}),!n._isUTC)return t;var r=Aw(e),i=6e4*(n._offset||0),o=t.valueOf()-r.valueOf()+i;return r.setTime(r.valueOf()+o),r}(e,t,{_offset:t.getTimezoneOffset()});return HS(t,r)?n=WS(t,r):((n=WS(r,t)).milliseconds=-n.milliseconds,n.months=-n.months),n}(FS(t.from),FS(t.to));return{milliseconds:o.milliseconds,month:o.months}}return t}(t,e);return new gS(r,n)}function YS(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function WS(t,e){var n={milliseconds:0,months:0};return n.months=Wb(e)-Wb(t)+12*(qb(e)-qb(t)),LS(qS(Aw(t),n.months,"month"),e)&&--n.months,n.milliseconds=+e-+qS(Aw(t),n.months,"month"),n}function qS(t,e,n,r){return GS(t,zS(e,n),1,r)}function GS(t,e,n,r){var i=e._milliseconds,o=VS(e._days),s=VS(e._months);return s&&Ow(t,Wb(t,r)+s*n,r),o&&Pw(t,Yb(t,r)+o*n,r),i&&function(t,e){t.setTime(e)}(t,function(t){return t.getTime()}(t)+i*n),Aw(t)}function QS(t,e,n,r){void 0===n&&(n=lS());var i=zb(t,r);return qS(t,function(t,e){if(!vb(t))return t;var n=parseInt(t,10);if(!isNaN(n))return n;var r=e.weekdaysParse(t);return Sb(r)?r:null}(e,n)-i,"day")}function KS(t,e,n){return void 0===e&&(e=lS()),(zb(t,n)+7-e.firstDayOfWeek())%7}var ZS=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},$S={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},JS=function(t){return function(e,n){var r=ZS(e),i=$S[t][ZS(e)];return 2===r&&(i=i[n?0:1]),i.replace(/%d/i,e.toString())}},XS=("\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),JS("s"),JS("s"),JS("m"),JS("m"),JS("h"),JS("h"),JS("d"),JS("d"),JS("M"),JS("M"),JS("y"),JS("y"),"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),"ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),"diu._dil._dim._dix._dij._div._dis.".split("_"),"dg_dl_dt_dc_dj_dv_ds".split("_"),"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_")),tC="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");(function(t,e){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i")})(XS,tC),function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i")}(tC),function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i")}(XS),"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),"S\xf8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xf8rdag".split("_"),"S\xf8n_Man_Tir_Ons_Tor_Fre_L\xf8r".split("_"),"S\xf8_Ma_Ti_On_To_Fr_L\xf8".split("_"),"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),"P_E_T_K_N_R_L".split("_"),"P_E_T_K_N_R_L".split("_"),"nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),"dim._lun._mar._mer._jeu._ven._sam.".split("_"),"di_lu_ma_me_je_ve_sa".split("_"),"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),"xan_feb_mar_abr_mai_xu\xf1_xul_ago_set_out_nov_dec".split("_"),"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),"vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" "),"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),"v_h_k_sze_cs_p_szo".split("_"),"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),"dom_lun_mar_mer_gio_ven_sab".split("_"),"do_lu_ma_me_gi_ve_sa".split("_"),"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),"S_P_A_T_K_Pn_\u0160".split("_"),"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),"stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),"ne_po_to_sr_\u010de_pe_so".split("_"),"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_");var eC=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return i(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(Bg),nC=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Wg))(eC),rC=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){var t;switch(this.kind){case"N":return qp(this.value);case"E":return t=this.error,new T((function(e){return e.error(t)}));case"C":return td()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),iC=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new oC(t,this.scheduler,this.delay))},t}(),oC=function(t){function e(e,n,r){void 0===r&&(r=0);var i=t.call(this,e)||this;return i.scheduler=n,i.delay=r,i}return i(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new sC(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(rC.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(rC.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(rC.createComplete()),this.unsubscribe()},e}(w),sC=function(){return function(t,e){this.notification=t,this.destination=e}}(),aC=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new uC(t,this.compare,this.keySelector))},t}(),uC=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return i(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(w),lC=function(t){function e(e,n,r){var i,o,s=t.call(this,e)||this;return n.pipe((i=nC,void 0===o&&(o=0),function(t){return t.lift(new iC(i,o))})).pipe(Ad((function(t,e){return e?r(t,e):t}),e)).subscribe((function(t){return s.next(t)})),s}return i(e,t),e}(Gp),cC=function(t){function e(e,n,r){var i=t.call(this)||this;return i._dispatcher=e,i._reducer=n,i.source=r,i}return i(e,t),e.prototype.select=function(t){return this.source.pipe(Y(t)).pipe((function(t){return t.lift(new aC(void 0,void 0))}))},e.prototype.lift=function(t){var n=new e(this._dispatcher,this._reducer,this);return n.operator=t,n},e.prototype.dispatch=function(t){this._dispatcher.next(t)},e.prototype.next=function(t){this._dispatcher.next(t)},e.prototype.error=function(t){this._dispatcher.error(t)},e.prototype.complete=function(){},e}(T);function hC(t,e){if(1&t){var n=Ss();_s(0,"bs-days-calendar-view",9),Es("onNavigate",(function(t){return Be(n),Ds(3).navigateTo(t)}))("onViewMode",(function(t){return Be(n),Ds(3).setViewMode(t)}))("onHover",(function(t){return Be(n),Ds(3).dayHoverHandler(t)}))("onHoverWeek",(function(t){return Be(n),Ds(3).weekHoverHandler(t)}))("onSelect",(function(t){return Be(n),Ds(3).daySelectHandler(t)})),vu(1,"async"),vu(2,"async"),bs()}if(2&t){var r,i=e.$implicit,o=Ds(3);Hs("bs-datepicker-multiple",(null==(r=_u(1,4,o.daysCalendar))?null:r.length)>1),gs("calendar",i)("options",_u(2,6,o.options))}}function fC(t,e){if(1&t&&(_s(0,"div",7),ds(1,hC,3,8,"bs-days-calendar-view",8),vu(2,"async"),bs()),2&t){var n=Ds(2);si(1),gs("ngForOf",_u(2,1,n.daysCalendar))}}function pC(t,e){if(1&t){var n=Ss();_s(0,"bs-month-calendar-view",11),Es("onNavigate",(function(t){return Be(n),Ds(3).navigateTo(t)}))("onViewMode",(function(t){return Be(n),Ds(3).setViewMode(t)}))("onHover",(function(t){return Be(n),Ds(3).monthHoverHandler(t)}))("onSelect",(function(t){return Be(n),Ds(3).monthSelectHandler(t)})),vu(1,"async"),bs()}if(2&t){var r,i=e.$implicit;Hs("bs-datepicker-multiple",(null==(r=_u(1,3,Ds(3).daysCalendar))?null:r.length)>1),gs("calendar",i)}}function dC(t,e){if(1&t&&(_s(0,"div",7),ds(1,pC,2,5,"bs-month-calendar-view",10),vu(2,"async"),bs()),2&t){var n=Ds(2);si(1),gs("ngForOf",_u(2,1,n.monthsCalendar))}}function mC(t,e){if(1&t){var n=Ss();_s(0,"bs-years-calendar-view",11),Es("onNavigate",(function(t){return Be(n),Ds(3).navigateTo(t)}))("onViewMode",(function(t){return Be(n),Ds(3).setViewMode(t)}))("onHover",(function(t){return Be(n),Ds(3).yearHoverHandler(t)}))("onSelect",(function(t){return Be(n),Ds(3).yearSelectHandler(t)})),vu(1,"async"),bs()}if(2&t){var r,i=e.$implicit;Hs("bs-datepicker-multiple",(null==(r=_u(1,3,Ds(3).daysCalendar))?null:r.length)>1),gs("calendar",i)}}function yC(t,e){if(1&t&&(_s(0,"div",7),ds(1,mC,2,5,"bs-years-calendar-view",10),vu(2,"async"),bs()),2&t){var n=Ds(2);si(1),gs("ngForOf",_u(2,1,n.yearsCalendar))}}function gC(t,e){1&t&&(_s(0,"div",12),_s(1,"button",13),Xs(2,"Apply"),bs(),_s(3,"button",14),Xs(4,"Cancel"),bs(),bs())}function vC(t,e){if(1&t&&(_s(0,"div",15),ws(1,"bs-custom-date-view",16),bs()),2&t){var n=Ds(2);si(1),gs("ranges",n._customRangesFish)}}function _C(t,e){if(1&t){var n=Ss();_s(0,"div",1),_s(1,"div",2),Es("@datepickerAnimation.done",(function(){return Be(n),Ds().positionServiceEnable()})),_s(2,"div",3),vu(3,"async"),ds(4,fC,3,3,"div",4),ds(5,dC,3,3,"div",4),ds(6,yC,3,3,"div",4),bs(),ds(7,gC,5,0,"div",5),bs(),ds(8,vC,2,1,"div",6),bs()}if(2&t){var r=Ds();gs("ngClass",r.containerClass),si(1),gs("@datepickerAnimation",r.animationState),si(1),gs("ngSwitch",_u(3,8,r.viewMode)),si(2),gs("ngSwitchCase","day"),si(1),gs("ngSwitchCase","month"),si(1),gs("ngSwitchCase","year"),si(1),gs("ngIf",!1),si(1),gs("ngIf",!1)}}function bC(t,e){if(1&t){var n=Ss();_s(0,"bs-days-calendar-view",9),Es("onNavigate",(function(t){return Be(n),Ds(3).navigateTo(t)}))("onViewMode",(function(t){return Be(n),Ds(3).setViewMode(t)}))("onHover",(function(t){return Be(n),Ds(3).dayHoverHandler(t)}))("onHoverWeek",(function(t){return Be(n),Ds(3).weekHoverHandler(t)}))("onSelect",(function(t){return Be(n),Ds(3).daySelectHandler(t)})),vu(1,"async"),vu(2,"async"),bs()}if(2&t){var r,i=e.$implicit,o=Ds(3);Hs("bs-datepicker-multiple",(null==(r=_u(1,4,o.daysCalendar))?null:r.length)>1),gs("calendar",i)("options",_u(2,6,o.options))}}function wC(t,e){if(1&t&&(_s(0,"div",7),ds(1,bC,3,8,"bs-days-calendar-view",8),vu(2,"async"),bs()),2&t){var n=Ds(2);si(1),gs("ngForOf",_u(2,1,n.daysCalendar))}}function SC(t,e){if(1&t){var n=Ss();_s(0,"bs-month-calendar-view",11),Es("onNavigate",(function(t){return Be(n),Ds(3).navigateTo(t)}))("onViewMode",(function(t){return Be(n),Ds(3).setViewMode(t)}))("onHover",(function(t){return Be(n),Ds(3).monthHoverHandler(t)}))("onSelect",(function(t){return Be(n),Ds(3).monthSelectHandler(t)})),vu(1,"async"),bs()}if(2&t){var r,i=e.$implicit;Hs("bs-datepicker-multiple",(null==(r=_u(1,3,Ds(3).daysCalendar))?null:r.length)>1),gs("calendar",i)}}function CC(t,e){if(1&t&&(_s(0,"div",7),ds(1,SC,2,5,"bs-month-calendar-view",10),vu(2,"async"),bs()),2&t){var n=Ds(2);si(1),gs("ngForOf",_u(2,1,n.monthsCalendar))}}function kC(t,e){if(1&t){var n=Ss();_s(0,"bs-years-calendar-view",11),Es("onNavigate",(function(t){return Be(n),Ds(3).navigateTo(t)}))("onViewMode",(function(t){return Be(n),Ds(3).setViewMode(t)}))("onHover",(function(t){return Be(n),Ds(3).yearHoverHandler(t)}))("onSelect",(function(t){return Be(n),Ds(3).yearSelectHandler(t)})),vu(1,"async"),bs()}if(2&t){var r,i=e.$implicit;Hs("bs-datepicker-multiple",(null==(r=_u(1,3,Ds(3).daysCalendar))?null:r.length)>1),gs("calendar",i)}}function EC(t,e){if(1&t&&(_s(0,"div",7),ds(1,kC,2,5,"bs-years-calendar-view",10),vu(2,"async"),bs()),2&t){var n=Ds(2);si(1),gs("ngForOf",_u(2,1,n.yearsCalendar))}}function xC(t,e){1&t&&(_s(0,"div",12),_s(1,"button",13),Xs(2,"Apply"),bs(),_s(3,"button",14),Xs(4,"Cancel"),bs(),bs())}function TC(t,e){if(1&t&&(_s(0,"div",15),ws(1,"bs-custom-date-view",16),bs()),2&t){var n=Ds(2);si(1),gs("ranges",n._customRangesFish)}}function DC(t,e){if(1&t){var n=Ss();_s(0,"div",1),_s(1,"div",2),Es("@datepickerAnimation.done",(function(){return Be(n),Ds().positionServiceEnable()})),_s(2,"div",3),vu(3,"async"),ds(4,wC,3,3,"div",4),ds(5,CC,3,3,"div",4),ds(6,EC,3,3,"div",4),bs(),ds(7,xC,5,0,"div",5),bs(),ds(8,TC,2,1,"div",6),bs()}if(2&t){var r=Ds();gs("ngClass",r.containerClass),si(1),gs("@datepickerAnimation",r.animationState),si(1),gs("ngSwitch",_u(3,8,r.viewMode)),si(2),gs("ngSwitchCase","day"),si(1),gs("ngSwitchCase","month"),si(1),gs("ngSwitchCase","year"),si(1),gs("ngIf",!1),si(1),gs("ngIf",!1)}}function OC(t,e){1&t&&ws(0,"bs-current-date",4)}function PC(t,e){1&t&&ws(0,"bs-timepicker")}var AC=[[["bs-datepicker-navigation-view"]],"*"],MC=["bs-datepicker-navigation-view","*"];function IC(t,e){if(1&t&&(_s(0,"button"),Xs(1),bs()),2&t){var n=e.$implicit;si(1),ta(n.label)}}function RC(t,e){1&t&&(_s(0,"button"),Xs(1,"Custom Range"),bs())}var NC=["bsDatepickerDayDecorator",""];function jC(t,e){if(1&t){var n=Ss();_s(0,"button",2),Es("click",(function(){return Be(n),Ds().view("month")})),_s(1,"span"),Xs(2),bs(),bs()}if(2&t){var r=Ds();si(2),ta(r.calendar.monthTitle)}}function FC(t,e){1&t&&ws(0,"th")}function VC(t,e){if(1&t&&(_s(0,"th",5),Xs(1),bs()),2&t){var n=e.index,r=Ds();si(1),ea("",r.calendar.weekdays[n]," ")}}function LC(t,e){if(1&t){var n=Ss();_s(0,"td",8),_s(1,"span",9),Es("click",(function(){Be(n);var t=Ds().$implicit;return Ds().selectWeek(t)}))("mouseenter",(function(){Be(n);var t=Ds().$implicit;return Ds().weekHoverHandler(t,!0)}))("mouseleave",(function(){Be(n);var t=Ds().$implicit;return Ds().weekHoverHandler(t,!1)})),Xs(2),bs(),bs()}if(2&t){var r=Ds().index,i=Ds();Hs("active-week",i.isWeekHovered),si(2),ta(i.calendar.weekNumbers[r])}}function HC(t,e){if(1&t){var n=Ss();_s(0,"td",10),_s(1,"span",11),Es("click",(function(){Be(n);var t=e.$implicit;return Ds(2).selectDay(t)}))("mouseenter",(function(){Be(n);var t=e.$implicit;return Ds(2).hoverDay(t,!0)}))("mouseleave",(function(){Be(n);var t=e.$implicit;return Ds(2).hoverDay(t,!1)})),Xs(2),bs(),bs()}if(2&t){var r=e.$implicit;si(1),gs("day",r),si(1),ta(r.label)}}function UC(t,e){if(1&t&&(_s(0,"tr"),ds(1,LC,3,3,"td",6),ds(2,HC,3,2,"td",7),bs()),2&t){var n=e.$implicit,r=Ds();si(1),gs("ngIf",r.options.showWeekNumbers),si(1),gs("ngForOf",n.days)}}function BC(t,e){if(1&t){var n=Ss();_s(0,"td",4),Es("click",(function(){Be(n);var t=e.$implicit;return Ds(2).viewMonth(t)}))("mouseenter",(function(){Be(n);var t=e.$implicit;return Ds(2).hoverMonth(t,!0)}))("mouseleave",(function(){Be(n);var t=e.$implicit;return Ds(2).hoverMonth(t,!1)})),_s(1,"span"),Xs(2),bs(),bs()}if(2&t){var r=e.$implicit;Hs("disabled",r.isDisabled)("is-highlighted",r.isHovered),si(2),ta(r.label)}}function zC(t,e){if(1&t&&(_s(0,"tr"),ds(1,BC,3,5,"td",3),bs()),2&t){var n=e.$implicit;si(1),gs("ngForOf",n)}}function YC(t,e){if(1&t){var n=Ss();_s(0,"td",4),Es("click",(function(){Be(n);var t=e.$implicit;return Ds(2).viewYear(t)}))("mouseenter",(function(){Be(n);var t=e.$implicit;return Ds(2).hoverYear(t,!0)}))("mouseleave",(function(){Be(n);var t=e.$implicit;return Ds(2).hoverYear(t,!1)})),_s(1,"span"),Xs(2),bs(),bs()}if(2&t){var r=e.$implicit;Hs("disabled",r.isDisabled)("is-highlighted",r.isHovered),si(2),ta(r.label)}}function WC(t,e){if(1&t&&(_s(0,"tr"),ds(1,YC,3,5,"td",3),bs()),2&t){var n=e.$implicit;si(1),gs("ngForOf",n)}}function qC(t,e){1&t&&(_s(0,"div",1),As(1),bs())}var GC=["*"];function QC(t,e){if(1&t){var n=Ss();_s(0,"button",8),Es("click",(function(){return Be(n),Ds(2).datePicker.move(-1)})),Xs(1,"\u2039"),bs()}}function KC(t,e){if(1&t){var n=Ss();_s(0,"button",8),Es("click",(function(){return Be(n),Ds(2).datePicker.move(-1)})),Xs(1,"<"),bs()}}function ZC(t,e){if(1&t){var n=Ss();_s(0,"button",9),Es("click",(function(){return Be(n),Ds(2).datePicker.move(1)})),Xs(1,"\u203a"),bs()}}function $C(t,e){if(1&t){var n=Ss();_s(0,"button",9),Es("click",(function(){return Be(n),Ds(2).datePicker.move(1)})),Xs(1,"> "),bs()}}function JC(t,e){1&t&&ws(0,"th")}function XC(t,e){if(1&t&&(_s(0,"th",10),_s(1,"small",11),_s(2,"b"),Xs(3),bs(),bs(),bs()),2&t){var n=e.$implicit;si(3),ta(n.abbr)}}function tk(t,e){if(1&t&&(_s(0,"td",10),_s(1,"em"),Xs(2),bs(),bs()),2&t){var n=Ds(2).index,r=Ds(2);si(2),ta(r.weekNumbers[n])}}var ek=function(t,e,n,r,i){return{"btn-secondary":t,"btn-info":e,disabled:n,active:r,"btn-default":i}},nk=function(t,e){return{"text-muted":t,"text-info":e}};function rk(t,e){if(1&t){var n=Ss();_s(0,"button",16),Es("click",(function(){Be(n);var t=Ds().$implicit;return Ds(4).datePicker.select(t.date)})),_s(1,"span",17),Xs(2),bs(),bs()}if(2&t){var r=Ds().$implicit,i=Ds(4);"btn btn-sm ",d=r.customClass,"",Ys(pe,Bs,ps(He(),"btn btn-sm ",d,""),!0),gs("ngClass",(7,o=ek,s=i.isBs4&&!r.selected&&!i.datePicker.isActive(r),a=r.selected,u=r.disabled,l=!i.isBs4&&i.datePicker.isActive(r),c=!i.isBs4,h=Ke()+7,p=hs(f=He(),h,s,a,u,l),ls(f,h+4,c)||p?as(f,h+5,o(s,a,u,l,c)):us(f,h+5)))("disabled",r.disabled),si(1),gs("ngClass",mu(13,nk,r.secondary||r.current,!i.isBs4&&r.current)),si(1),ta(r.label)}var o,s,a,u,l,c,h,f,p,d}function ik(t,e){if(1&t&&(_s(0,"td",14),ds(1,rk,3,16,"button",15),bs()),2&t){var n=e.$implicit,r=Ds(4);gs("id",n.uid),si(1),gs("ngIf",!(r.datePicker.onlyCurrentMonth&&n.secondary))}}function ok(t,e){if(1&t&&(_s(0,"tr"),ds(1,tk,3,1,"td",12),ds(2,ik,2,2,"td",13),bs()),2&t){var n=Ds().$implicit,r=Ds(2);si(1),gs("ngIf",r.datePicker.showWeeks),si(1),gs("ngForOf",n)}}function sk(t,e){if(1&t&&ds(0,ok,3,2,"tr",5),2&t){var n=e.$implicit;gs("ngIf",!(Ds(2).datePicker.onlyCurrentMonth&&n[0].secondary&&n[6].secondary))}}var ak=function(t){return{disabled:t}};function uk(t,e){if(1&t){var n=Ss();_s(0,"table",1),_s(1,"thead"),_s(2,"tr"),_s(3,"th"),ds(4,QC,2,0,"button",2),ds(5,KC,2,0,"button",2),bs(),_s(6,"th"),_s(7,"button",3),Es("click",(function(){return Be(n),Ds().datePicker.toggleMode(0)})),_s(8,"strong"),Xs(9),bs(),bs(),bs(),_s(10,"th"),ds(11,ZC,2,0,"button",4),ds(12,$C,2,0,"button",4),bs(),bs(),_s(13,"tr"),ds(14,JC,1,0,"th",5),ds(15,XC,4,1,"th",6),bs(),bs(),_s(16,"tbody"),ds(17,sk,1,1,"ng-template",7),bs(),bs()}if(2&t){var r=Ds();fs("aria-labelledby",r.datePicker.uniqueId+"-title"),si(4),gs("ngIf",!r.isBs4),si(1),gs("ngIf",r.isBs4),si(1),fs("colspan",5+(r.datePicker.showWeeks?1:0)),si(1),gs("id",r.datePicker.uniqueId+"-title")("disabled",r.datePicker.datepickerMode===r.datePicker.maxMode)("ngClass",du(13,ak,r.datePicker.datepickerMode===r.datePicker.maxMode)),si(2),ta(r.title),si(2),gs("ngIf",!r.isBs4),si(1),gs("ngIf",r.isBs4),si(2),gs("ngIf",r.datePicker.showWeeks),si(1),gs("ngForOf",r.labels),si(2),gs("ngForOf",r.rows)}}var lk=function(t,e,n,r){return{"btn-link":t,"btn-info":e,disabled:n,active:r}},ck=function(t,e){return{"text-success":t,"text-info":e}};function hk(t,e){if(1&t){var n=Ss();_s(0,"td",7),_s(1,"button",8),Es("click",(function(){Be(n);var t=e.$implicit;return Ds(3).datePicker.select(t.date)})),_s(2,"span",9),Xs(3),bs(),bs(),bs()}if(2&t){var r=e.$implicit,i=Ds(3);gs("ngClass",r.customClass),fs("id",r.uid),si(1),gs("ngClass",yu(6,lk,i.isBs4&&!r.selected&&!i.datePicker.isActive(r),r.selected||i.isBs4&&!r.selected&&i.datePicker.isActive(r),r.disabled,!i.isBs4&&i.datePicker.isActive(r)))("disabled",r.disabled),si(1),gs("ngClass",mu(11,ck,i.isBs4&&r.current,!i.isBs4&&r.current)),si(1),ta(r.label)}}function fk(t,e){if(1&t&&(_s(0,"tr"),ds(1,hk,4,14,"td",6),bs()),2&t){var n=e.$implicit;si(1),gs("ngForOf",n)}}function pk(t,e){if(1&t){var n=Ss();_s(0,"table",1),_s(1,"thead"),_s(2,"tr"),_s(3,"th"),_s(4,"button",2),Es("click",(function(){return Be(n),Ds().datePicker.move(-1)})),Xs(5,"\u2039"),bs(),bs(),_s(6,"th"),_s(7,"button",3),Es("click",(function(){return Be(n),Ds().datePicker.toggleMode(0)})),_s(8,"strong"),Xs(9),bs(),bs(),bs(),_s(10,"th"),_s(11,"button",4),Es("click",(function(){return Be(n),Ds().datePicker.move(1)})),Xs(12,"\u203a"),bs(),bs(),bs(),bs(),_s(13,"tbody"),ds(14,fk,2,1,"tr",5),bs(),bs()}if(2&t){var r=Ds();si(6),fs("colspan",r.datePicker.monthColLimit-2<=0?1:r.datePicker.monthColLimit-2),si(1),gs("id",r.datePicker.uniqueId+"-title")("disabled",r.datePicker.datepickerMode===r.maxMode)("ngClass",du(6,ak,r.datePicker.datepickerMode===r.maxMode)),si(2),ta(r.title),si(5),gs("ngForOf",r.rows)}}function dk(t,e){if(1&t){var n=Ss();_s(0,"td",7),_s(1,"button",8),Es("click",(function(){Be(n);var t=e.$implicit;return Ds(3).datePicker.select(t.date)})),_s(2,"span",9),Xs(3),bs(),bs(),bs()}if(2&t){var r=e.$implicit,i=Ds(3);fs("id",r.uid),si(1),gs("ngClass",yu(5,lk,i.isBs4&&!r.selected&&!i.datePicker.isActive(r),r.selected||i.isBs4&&!r.selected&&i.datePicker.isActive(r),r.disabled,!i.isBs4&&i.datePicker.isActive(r)))("disabled",r.disabled),si(1),gs("ngClass",mu(10,ck,i.isBs4&&r.current,!i.isBs4&&r.current)),si(1),ta(r.label)}}function mk(t,e){if(1&t&&(_s(0,"tr"),ds(1,dk,4,13,"td",6),bs()),2&t){var n=e.$implicit;si(1),gs("ngForOf",n)}}function yk(t,e){if(1&t){var n=Ss();_s(0,"table",1),_s(1,"thead"),_s(2,"tr"),_s(3,"th"),_s(4,"button",2),Es("click",(function(){return Be(n),Ds().datePicker.move(-1)})),Xs(5,"\u2039"),bs(),bs(),_s(6,"th"),_s(7,"button",3),Es("click",(function(){return Be(n),Ds().datePicker.toggleMode(0)})),_s(8,"strong"),Xs(9),bs(),bs(),bs(),_s(10,"th"),_s(11,"button",4),Es("click",(function(){return Be(n),Ds().datePicker.move(1)})),Xs(12,"\u203a"),bs(),bs(),bs(),bs(),_s(13,"tbody"),ds(14,mk,2,1,"tr",5),bs(),bs()}if(2&t){var r=Ds();si(6),fs("colspan",r.datePicker.yearColLimit-2<=0?1:r.datePicker.yearColLimit-2),si(1),gs("id",r.datePicker.uniqueId+"-title")("disabled",r.datePicker.datepickerMode===r.datePicker.maxMode)("ngClass",du(6,ak,r.datePicker.datepickerMode===r.datePicker.maxMode)),si(2),ta(r.title),si(5),gs("ngForOf",r.rows)}}var gk=function(){function t(){this.adaptivePosition=!1,this.isAnimated=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w"}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),vk=function(){function t(){this._customRangesFish=[]}return Object.defineProperty(t.prototype,"minDate",{set:function(t){this._effects.setMinDate(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{set:function(t){this._effects.setMaxDate(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"daysDisabled",{set:function(t){this._effects.setDaysDisabled(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"datesDisabled",{set:function(t){this._effects.setDatesDisabled(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{set:function(t){this._effects.setDisabled(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateCustomClasses",{set:function(t){this._effects.setDateCustomClasses(t)},enumerable:!0,configurable:!0}),t.prototype.setViewMode=function(t){},t.prototype.navigateTo=function(t){},t.prototype.dayHoverHandler=function(t){},t.prototype.weekHoverHandler=function(t){},t.prototype.monthHoverHandler=function(t){},t.prototype.yearHoverHandler=function(t){},t.prototype.daySelectHandler=function(t){},t.prototype.monthSelectHandler=function(t){},t.prototype.yearSelectHandler=function(t){},t.prototype._stopPropagation=function(t){t.stopPropagation()},t}(),_k=function(){function t(){}return t.prototype.calculate=function(){return{type:t.CALCULATE}},t.prototype.format=function(){return{type:t.FORMAT}},t.prototype.flag=function(){return{type:t.FLAG}},t.prototype.select=function(e){return{type:t.SELECT,payload:e}},t.prototype.changeViewMode=function(e){return{type:t.CHANGE_VIEWMODE,payload:e}},t.prototype.navigateTo=function(e){return{type:t.NAVIGATE_TO,payload:e}},t.prototype.navigateStep=function(e){return{type:t.NAVIGATE_OFFSET,payload:e}},t.prototype.setOptions=function(e){return{type:t.SET_OPTIONS,payload:e}},t.prototype.selectRange=function(e){return{type:t.SELECT_RANGE,payload:e}},t.prototype.hoverDay=function(e){return{type:t.HOVER,payload:e.isHovered?e.cell.date:null}},t.prototype.minDate=function(e){return{type:t.SET_MIN_DATE,payload:e}},t.prototype.maxDate=function(e){return{type:t.SET_MAX_DATE,payload:e}},t.prototype.daysDisabled=function(e){return{type:t.SET_DAYSDISABLED,payload:e}},t.prototype.datesDisabled=function(e){return{type:t.SET_DATESDISABLED,payload:e}},t.prototype.isDisabled=function(e){return{type:t.SET_IS_DISABLED,payload:e}},t.prototype.setDateCustomClasses=function(e){return{type:t.SET_DATE_CUSTOM_CLASSES,payload:e}},t.prototype.setLocale=function(e){return{type:t.SET_LOCALE,payload:e}},t.CALCULATE="[datepicker] calculate dates matrix",t.FORMAT="[datepicker] format datepicker values",t.FLAG="[datepicker] set flags",t.SELECT="[datepicker] select date",t.NAVIGATE_OFFSET="[datepicker] shift view date",t.NAVIGATE_TO="[datepicker] change view date",t.SET_OPTIONS="[datepicker] update render options",t.HOVER="[datepicker] hover date",t.CHANGE_VIEWMODE="[datepicker] switch view mode",t.SET_MIN_DATE="[datepicker] set min date",t.SET_MAX_DATE="[datepicker] set max date",t.SET_DAYSDISABLED="[datepicker] set days disabled",t.SET_DATESDISABLED="[datepicker] set dates disabled",t.SET_IS_DISABLED="[datepicker] set is disabled",t.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes",t.SET_LOCALE="[datepicker] set datepicker locale",t.SELECT_RANGE="[daterangepicker] select dates range",t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),bk=function(){function t(){this._defaultLocale="en",this._locale=new Gp(this._defaultLocale),this._localeChange=this._locale.asObservable()}return Object.defineProperty(t.prototype,"locale",{get:function(){return this._locale},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localeChange",{get:function(){return this._localeChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLocale",{get:function(){return this._locale.getValue()},enumerable:!0,configurable:!0}),t.prototype.use=function(t){t!==this.currentLocale&&this._locale.next(t)},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),wk=function(){function t(t,e){this._actions=t,this._localeService=e,this._subs=[]}return t.prototype.init=function(t){return this._store=t,this},t.prototype.setValue=function(t){this._store.dispatch(this._actions.select(t))},t.prototype.setRangeValue=function(t){this._store.dispatch(this._actions.selectRange(t))},t.prototype.setMinDate=function(t){return this._store.dispatch(this._actions.minDate(t)),this},t.prototype.setMaxDate=function(t){return this._store.dispatch(this._actions.maxDate(t)),this},t.prototype.setDaysDisabled=function(t){return this._store.dispatch(this._actions.daysDisabled(t)),this},t.prototype.setDatesDisabled=function(t){return this._store.dispatch(this._actions.datesDisabled(t)),this},t.prototype.setDisabled=function(t){return this._store.dispatch(this._actions.isDisabled(t)),this},t.prototype.setDateCustomClasses=function(t){return this._store.dispatch(this._actions.setDateCustomClasses(t)),this},t.prototype.setOptions=function(t){var e=Object.assign({locale:this._localeService.currentLocale},t);return this._store.dispatch(this._actions.setOptions(e)),this},t.prototype.setBindings=function(t){return t.daysCalendar=this._store.select((function(t){return t.flaggedMonths})).pipe(rd((function(t){return!!t}))),t.monthsCalendar=this._store.select((function(t){return t.flaggedMonthsCalendar})).pipe(rd((function(t){return!!t}))),t.yearsCalendar=this._store.select((function(t){return t.yearsCalendarFlagged})).pipe(rd((function(t){return!!t}))),t.viewMode=this._store.select((function(t){return t.view.mode})),t.options=this._store.select((function(t){return t.showWeekNumbers})).pipe(Y((function(t){return{showWeekNumbers:t}}))),this},t.prototype.setEventHandlers=function(t){var e=this;return t.setViewMode=function(t){e._store.dispatch(e._actions.changeViewMode(t))},t.navigateTo=function(t){e._store.dispatch(e._actions.navigateStep(t.step))},t.dayHoverHandler=function(t){var n=t.cell;n.isOtherMonth||n.isDisabled||(e._store.dispatch(e._actions.hoverDay(t)),n.isHovered=t.isHovered)},t.monthHoverHandler=function(t){t.cell.isHovered=t.isHovered},t.yearHoverHandler=function(t){t.cell.isHovered=t.isHovered},t.monthSelectHandler=function(t){t.isDisabled||e._store.dispatch(e._actions.navigateTo({unit:{month:Wb(t.date),year:qb(t.date)},viewMode:"day"}))},t.yearSelectHandler=function(t){t.isDisabled||e._store.dispatch(e._actions.navigateTo({unit:{year:qb(t.date)},viewMode:"month"}))},this},t.prototype.registerDatepickerSideEffects=function(){var t=this;return this._subs.push(this._store.select((function(t){return t.view})).subscribe((function(e){t._store.dispatch(t._actions.calculate())}))),this._subs.push(this._store.select((function(t){return t.monthsModel})).pipe(rd((function(t){return!!t}))).subscribe((function(e){return t._store.dispatch(t._actions.format())}))),this._subs.push(this._store.select((function(t){return t.formattedMonths})).pipe(rd((function(t){return!!t}))).subscribe((function(e){return t._store.dispatch(t._actions.flag())}))),this._subs.push(this._store.select((function(t){return t.selectedDate})).pipe(rd((function(t){return!!t}))).subscribe((function(e){return t._store.dispatch(t._actions.flag())}))),this._subs.push(this._store.select((function(t){return t.selectedRange})).pipe(rd((function(t){return!!t}))).subscribe((function(e){return t._store.dispatch(t._actions.flag())}))),this._subs.push(this._store.select((function(t){return t.monthsCalendar})).subscribe((function(){return t._store.dispatch(t._actions.flag())}))),this._subs.push(this._store.select((function(t){return t.yearsCalendarModel})).pipe(rd((function(t){return!!t}))).subscribe((function(){return t._store.dispatch(t._actions.flag())}))),this._subs.push(this._store.select((function(t){return t.hoveredDate})).pipe(rd((function(t){return!!t}))).subscribe((function(e){return t._store.dispatch(t._actions.flag())}))),this._subs.push(this._store.select((function(t){return t.dateCustomClasses})).pipe(rd((function(t){return!!t}))).subscribe((function(e){return t._store.dispatch(t._actions.flag())}))),this._subs.push(this._localeService.localeChange.subscribe((function(e){return t._store.dispatch(t._actions.setLocale(e))}))),this},t.prototype.destroy=function(){var t,e;try{for(var n=a(this._subs),r=n.next();!r.done;r=n.next())r.value.unsubscribe()}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},t.\u0275fac=function(e){return new(e||t)(re(_k),re(bk))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),Sk={date:new Date,mode:"day"},Ck=Object.assign(new gk,{locale:"en",view:Sk,selectedRange:[],monthViewOptions:{width:7,height:6}});function kk(t,e,n){var r=e&&HS(Iw(t,"month"),e,"day"),i=n&&LS(Mw(t,"month"),n,"day");return r||i}function Ek(t,e,n){var r=e&&HS(Iw(t,"year"),e,"day"),i=n&&LS(Mw(t,"year"),n,"day");return r||i}function xk(t,e){for(var n=t.initialDate,r=new Array(t.height),i=0;i<t.height;i++){r[i]=new Array(t.width);for(var o=0;o<t.width;o++)r[i][o]=e(n),n=Tw(n,t.shift)}return r}function Tk(t,e){var n,r=Vb((n=t).getFullYear(),n.getMonth(),1,n.getHours(),n.getMinutes(),n.getSeconds()),i=function(t,e){return function(t,e){return t.getDay()===e}(t,e.firstDayOfWeek)?t:Tw(t,{day:-function(t,e){if(0===e)return t;var n=t-e%7;return n<0?n+7:n}(zb(t),e.firstDayOfWeek)})}(r,e);return{daysMatrix:xk({width:e.width,height:e.height,initialDate:i,shift:{day:1}},(function(t){return t})),month:r}}function Dk(t){var e=lS(t),n=e.weekdaysShort(),r=e.firstDayOfWeek();return l(n.slice(r),n.slice(0,r))}function Ok(t,e){return!e||t>=e}var Pk={month:1};function Ak(t,e){return{months:xk({width:3,height:4,initialDate:Mw(t,"year"),shift:Pk},(function(t){return{date:t,label:AS(t,e.monthLabel,e.locale)}})),monthTitle:"",yearTitle:AS(t,e.yearTitle,e.locale)}}var Mk=-1*(Math.floor(8)-1),Ik={year:1};function Rk(t,e){var n=xk({width:4,height:4,initialDate:Tw(t,{year:Mk}),shift:Ik},(function(t){return{date:t,label:AS(t,e.yearLabel,e.locale)}}));return{years:n,monthTitle:"",yearTitle:function(t,e){return AS(t[0][0].date,e.yearTitle,e.locale)+" - "+AS(t[3][3].date,e.yearTitle,e.locale)}(n,e)}}function Nk(t,e){switch(void 0===t&&(t=Ck),e.type){case _k.CALCULATE:return function(t){var e=t.displayMonths,n=t.view.date;if("day"===t.view.mode){t.monthViewOptions.firstDayOfWeek=lS(t.locale).firstDayOfWeek();for(var r=new Array(e),i=0;i<e;i++)r[i]=Tk(n,t.monthViewOptions),n=Tw(n,{month:1});return Object.assign({},t,{monthsModel:r})}if("month"===t.view.mode){for(var o=new Array(e),s=0;s<e;s++)o[s]=Ak(n,jk(t)),n=Tw(n,{year:1});return Object.assign({},t,{monthsCalendar:o})}if("year"===t.view.mode){var a=new Array(e);for(s=0;s<e;s++)a[s]=Rk(n,jk(t)),n=Tw(n,{year:16});return Object.assign({},t,{yearsCalendarModel:a})}return t}(t);case _k.FORMAT:return function(t,e){if("day"===t.view.mode){var n=t.monthsModel.map((function(e,n){return function(t,e,n){return{month:t.month,monthTitle:AS(t.month,e.monthTitle,e.locale),yearTitle:AS(t.month,e.yearTitle,e.locale),weekNumbers:(r=t.daysMatrix,i=e.weekNumbers,o=e.locale,r.map((function(t){return t[0]?AS(t[0],i,o):""}))),weekdays:Dk(e.locale),weeks:t.daysMatrix.map((function(t,r){return{days:t.map((function(t,i){return{date:t,label:AS(t,e.dayLabel,e.locale),monthIndex:n,weekIndex:r,dayIndex:i}}))}}))};var r,i,o}(e,jk(t),n)}));return Object.assign({},t,{formattedMonths:n})}var r=t.displayMonths,i=t.view.date;if("month"===t.view.mode){for(var o=new Array(r),s=0;s<r;s++)o[s]=Ak(i,jk(t)),i=Tw(i,{year:1});return Object.assign({},t,{monthsCalendar:o})}if("year"===t.view.mode){var a=new Array(r);for(s=0;s<r;s++)a[s]=Rk(i,jk(t)),i=Tw(i,{year:16});return Object.assign({},t,{yearsCalendarModel:a})}return t}(t);case _k.FLAG:return function(t,e){if("day"===t.view.mode){var n=t.formattedMonths.map((function(e,n){return function(t,e){return t.weeks.forEach((function(n){n.days.forEach((function(r,i){var o,s,a=!Gb(r.date,t.month),u=!a&&Kb(r.date,e.hoveredDate),l=!a&&e.selectedRange&&Kb(r.date,e.selectedRange[0]),c=!a&&e.selectedRange&&Kb(r.date,e.selectedRange[1]),h=!a&&Kb(r.date,e.selectedDate)||l||c,f=!a&&e.selectedRange&&function(t,e,n){return!(!t||!e[0])&&(e[1]?t>e[0]&&t<=e[1]:!!n&&t>e[0]&&t<=n)}(r.date,e.selectedRange,e.hoveredDate),p=e.isDisabled||HS(r.date,e.minDate,"day")||LS(r.date,e.maxDate,"day")||(o=r.date,!(void 0===(s=e.daysDisabled)||!s||!s.length)&&s.some((function(t){return t===o.getDay()})))||function(t,e){return!(void 0===e||!e||!e.length)&&e.some((function(e){return function(t,e,n){if(void 0===n&&(n="milliseconds"),!t||!e)return!1;if("milliseconds"===n)return t.valueOf()===e.valueOf();var r=e.valueOf();return Mw(t,n).valueOf()<=r&&r<=Iw(t,n).valueOf()}(t,e,"date")}))}(r.date,e.datesDisabled),d=new Date,m=!a&&Kb(r.date,d),y=e.dateCustomClasses&&e.dateCustomClasses.map((function(t){return Kb(r.date,t.date)?t.classes:[]})).reduce((function(t,e){return t.concat(e)}),[]).join(" ")||"",g=Object.assign({},r,{isOtherMonth:a,isHovered:u,isSelected:h,isSelectionStart:l,isSelectionEnd:c,isInRange:f,isDisabled:p,isToday:m,customClasses:y});r.isOtherMonth===g.isOtherMonth&&r.isHovered===g.isHovered&&r.isSelected===g.isSelected&&r.isSelectionStart===g.isSelectionStart&&r.isSelectionEnd===g.isSelectionEnd&&r.isDisabled===g.isDisabled&&r.isInRange===g.isInRange&&r.customClasses===g.customClasses||(n.days[i]=g)}))})),t.hideLeftArrow=e.isDisabled||e.monthIndex>0&&e.monthIndex!==e.displayMonths,t.hideRightArrow=e.isDisabled||e.monthIndex<e.displayMonths&&e.monthIndex+1!==e.displayMonths,t.disableLeftArrow=kk(Tw(t.month,{month:-1}),e.minDate,e.maxDate),t.disableRightArrow=kk(Tw(t.month,{month:1}),e.minDate,e.maxDate),t}(e,{isDisabled:t.isDisabled,minDate:t.minDate,maxDate:t.maxDate,daysDisabled:t.daysDisabled,datesDisabled:t.datesDisabled,hoveredDate:t.hoveredDate,selectedDate:t.selectedDate,selectedRange:t.selectedRange,displayMonths:t.displayMonths,dateCustomClasses:t.dateCustomClasses,monthIndex:n})}));return Object.assign({},t,{flaggedMonths:n})}if("month"===t.view.mode){var r=t.monthsCalendar.map((function(e,n){return i={isDisabled:t.isDisabled,minDate:t.minDate,maxDate:t.maxDate,hoveredMonth:t.hoveredMonth,displayMonths:t.displayMonths,monthIndex:n},(r=e).months.forEach((function(t,e){t.forEach((function(t,n){var o=Gb(t.date,i.hoveredMonth),s=i.isDisabled||kk(t.date,i.minDate,i.maxDate),a=Object.assign(t,{isHovered:o,isDisabled:s});t.isHovered===a.isHovered&&t.isDisabled===a.isDisabled||(r.months[e][n]=a)}))})),r.hideLeftArrow=i.monthIndex>0&&i.monthIndex!==i.displayMonths,r.hideRightArrow=i.monthIndex<i.displayMonths&&i.monthIndex+1!==i.displayMonths,r.disableLeftArrow=Ek(Tw(r.months[0][0].date,{year:-1}),i.minDate,i.maxDate),r.disableRightArrow=Ek(Tw(r.months[0][0].date,{year:1}),i.minDate,i.maxDate),r;var r,i}));return Object.assign({},t,{flaggedMonthsCalendar:r})}if("year"===t.view.mode){var i=t.yearsCalendarModel.map((function(e,n){return function(t,e){t.years.forEach((function(n,r){n.forEach((function(n,i){var o=Qb(n.date,e.hoveredYear),s=e.isDisabled||Ek(n.date,e.minDate,e.maxDate),a=Object.assign(n,{isHovered:o,isDisabled:s});n.isHovered===a.isHovered&&n.isDisabled===a.isDisabled||(t.years[r][i]=a)}))})),t.hideLeftArrow=e.yearIndex>0&&e.yearIndex!==e.displayMonths,t.hideRightArrow=e.yearIndex<e.displayMonths&&e.yearIndex+1!==e.displayMonths,t.disableLeftArrow=Ek(Tw(t.years[0][0].date,{year:-1}),e.minDate,e.maxDate);var n=t.years.length-1;return t.disableRightArrow=Ek(Tw(t.years[n][t.years[n].length-1].date,{year:1}),e.minDate,e.maxDate),t}(e,{isDisabled:t.isDisabled,minDate:t.minDate,maxDate:t.maxDate,hoveredYear:t.hoveredYear,displayMonths:t.displayMonths,yearIndex:n})}));return Object.assign({},t,{yearsCalendarFlagged:i})}return t}(t);case _k.NAVIGATE_OFFSET:var n=Tw(Mw(t.view.date,"month"),e.payload),r={view:{mode:t.view.mode,date:n}};return Object.assign({},t,r);case _k.NAVIGATE_TO:var i=e.payload,o=(n=function(t,e){return Vb(Dw(t.getFullYear(),e.year),Dw(t.getMonth(),e.month),Dw(t.getDate(),e.day),Dw(t.getHours(),e.hour),Dw(t.getMinutes(),e.minute),Dw(t.getSeconds(),e.seconds),Dw(t.getMilliseconds(),e.milliseconds))}(t.view.date,i.unit),void(r=void 0));return r=Ok(i.viewMode,t.minMode)?{view:{date:n,mode:o=i.viewMode}}:{selectedDate:n,view:{date:n,mode:o=t.view.mode}},Object.assign({},t,r);case _k.CHANGE_VIEWMODE:return Ok(e.payload,t.minMode)?(r={view:{date:n=t.view.date,mode:o=e.payload}},Object.assign({},t,r)):t;case _k.HOVER:return Object.assign({},t,{hoveredDate:e.payload});case _k.SELECT:return r={selectedDate:e.payload,view:t.view},o=t.view.mode,n=Fk(e.payload||t.view.date,t.minDate,t.maxDate),r.view={mode:o,date:n},Object.assign({},t,r);case _k.SET_OPTIONS:return o=(r=e.payload).minMode?r.minMode:t.view.mode,n=Fk(bb(r.value)&&r.value||Cb(r.value)&&bb(r.value[0])&&r.value[0]||t.view.date,r.minDate,r.maxDate),r.view={mode:o,date:n},r.value&&(Cb(r.value)&&(r.selectedRange=r.value),r.value instanceof Date&&(r.selectedDate=r.value)),Object.assign({},t,r);case _k.SELECT_RANGE:return r={selectedRange:e.payload,view:t.view},o=t.view.mode,n=Fk(e.payload&&e.payload[0]||t.view.date,t.minDate,t.maxDate),r.view={mode:o,date:n},Object.assign({},t,r);case _k.SET_MIN_DATE:return Object.assign({},t,{minDate:e.payload});case _k.SET_MAX_DATE:return Object.assign({},t,{maxDate:e.payload});case _k.SET_IS_DISABLED:return Object.assign({},t,{isDisabled:e.payload});case _k.SET_DATE_CUSTOM_CLASSES:return Object.assign({},t,{dateCustomClasses:e.payload});default:return t}}function jk(t){return{locale:t.locale,monthTitle:t.monthTitle,yearTitle:t.yearTitle,dayLabel:t.dayLabel,monthLabel:t.monthLabel,yearLabel:t.yearLabel,weekNumbers:t.weekNumbers}}function Fk(t,e,n){var r=Array.isArray(t)?t[0]:t;return e&&LS(e,r,"day")?e:n&&HS(n,r,"day")?n:r}var Vk=function(t){function e(){var e=new Gp({type:"[datepicker] dispatcher init"}),n=new lC(Ck,e,Nk);return t.call(this,e,Nk,n)||this}return i(e,t),e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(cC),Lk={type:7,name:"datepickerAnimation",definitions:[$c("animated-down",Zc({height:"*",overflow:"hidden"})),Jc("* => animated-down",[Zc({height:0,overflow:"hidden"}),Qc("220ms cubic-bezier(0, 0, 0.2, 1)")]),$c("animated-up",Zc({height:"*",overflow:"hidden"})),Jc("* => animated-up",[Zc({height:"*",overflow:"hidden"}),Qc("220ms cubic-bezier(0, 0, 0.2, 1)")]),Jc("* => unanimated",Qc("0s"))],options:{}},Hk=function(t){function e(e,n,r,i,o,s,a){var u=t.call(this)||this;return u._config=n,u._store=r,u._element=i,u._actions=o,u._positionService=a,u.valueChange=new bu,u.animationState="void",u._subs=[],u._effects=s,e.setStyle(i.nativeElement,"display","block"),e.setStyle(i.nativeElement,"position","absolute"),u}return i(e,t),Object.defineProperty(e.prototype,"value",{set:function(t){this._effects.setValue(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),this._positionService.event$.pipe(wd(1)).subscribe((function(){t._positionService.disable(),t.animationState=t._config.isAnimated?t.isTopPosition?"animated-up":"animated-down":"unanimated"})),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this._effects.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select((function(t){return t.selectedDate})).subscribe((function(e){return t.valueChange.emit(e)})))},Object.defineProperty(e.prototype,"isTopPosition",{get:function(){return this._element.nativeElement.classList.contains("top")},enumerable:!0,configurable:!0}),e.prototype.positionServiceEnable=function(){this._positionService.enable()},e.prototype.daySelectHandler=function(t){(this.isOtherMonthsActive?t.isDisabled:t.isOtherMonth||t.isDisabled)||this._store.dispatch(this._actions.select(t.date))},e.prototype.ngOnDestroy=function(){var t,e;try{for(var n=a(this._subs),r=n.next();!r.done;r=n.next())r.value.unsubscribe()}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}this._effects.destroy()},e.\u0275fac=function(t){return new(t||e)(ms(Oa),ms(gk),ms(Vk),ms(Ea),ms(_k),ms(wk),ms(Cv))},e.\u0275cmp=we({type:e,selectors:[["bs-datepicker-container"]],hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostBindings:function(t,e){1&t&&Es("click",(function(t){return e._stopPropagation(t)}))},features:[ba([Vk,wk]),ia],decls:2,vars:3,consts:[["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],[3,"calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"calendar","onNavigate","onViewMode","onHover","onSelect"],[1,"bs-datepicker-buttons"],[1,"btn","btn-success"],[1,"btn","btn-default"],[1,"bs-datepicker-custom-range"],[3,"ranges"]],template:function(t,e){1&t&&(ds(0,_C,9,10,"div",0),vu(1,"async")),2&t&&gs("ngIf",_u(1,1,e.viewMode))},directives:function(){return[ic,tc,lc,cc,nc,iE,oE,aE,tE]},pipes:function(){return[mc]},encapsulation:2,data:{animation:[Lk]}}),e}(vk),Uk=function(){function t(t,e,n,r,i){this._config=t,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.bsValueChange=new bu,this._subs=[],Object.assign(this,this._config),this._datepicker=i.createLoader(e,r,n),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden}return Object.defineProperty(t.prototype,"isOpen",{get:function(){return this._datepicker.isShown},set:function(t){t?this.show():this.hide()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bsValue",{set:function(t){this._bsValue!==t&&(this._bsValue=t,this.bsValueChange.emit(t))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:function(){return t.show()}}),this.setConfig()},t.prototype.ngOnChanges=function(t){this._datepickerRef&&this._datepickerRef.instance&&(t.minDate&&(this._datepickerRef.instance.minDate=this.minDate),t.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),t.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),t.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),t.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),t.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))},t.prototype.show=function(){var t=this;this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:gk,useValue:this._config}).attach(Hk).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe((function(e){t._datepickerRef.instance.value=e}))),this._subs.push(this._datepickerRef.instance.valueChange.subscribe((function(e){t.bsValue=e,t.hide()}))))},t.prototype.hide=function(){var t,e;this.isOpen&&this._datepicker.hide();try{for(var n=a(this._subs),r=n.next();!r.done;r=n.next())r.value.unsubscribe()}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},t.prototype.toggle=function(){if(this.isOpen)return this.hide();this.show()},t.prototype.setConfig=function(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._bsValue,isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode})},t.prototype.ngOnDestroy=function(){this._datepicker.dispose()},t.\u0275fac=function(e){return new(e||t)(ms(gk),ms(Ea),ms(Oa),ms(Za),ms(Tv))},t.\u0275dir=Te({type:t,selectors:[["","bsDatepicker",""]],inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",dateCustomClasses:"dateCustomClasses"},outputs:{bsValueChange:"bsValueChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bsDatepicker"],features:[ca]}),t}(),Bk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}i(e,t),e.\u0275fac=function(t){return n(t||e)},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}});var n=Xn(e);return e}(gk),zk={provide:mp,useExisting:Mt((function(){return Wk})),multi:!0},Yk={provide:_p,useExisting:Mt((function(){return Wk})),multi:!0},Wk=function(){function t(t,e,n,r,i){var o=this;this._picker=t,this._localeService=e,this._renderer=n,this._elRef=r,this.changeDetection=i,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._picker.bsValueChange.subscribe((function(t){o._setInputValue(t),o._value!==t&&(o._value=t,o._onChange(t),o._onTouched()),o.changeDetection.markForCheck()})),this._localeService.localeChange.subscribe((function(){o._setInputValue(o._value)}))}return t.prototype._setInputValue=function(t){var e=t?AS(t,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",e)},t.prototype.onChange=function(t){this.writeValue(t.target.value),this._onChange(this._value),this._onTouched()},t.prototype.validate=function(t){var e=t.value;if(null==e||""===e)return null;if(_b(e)){if(!bb(e))return{bsDate:{invalid:e}};if(this._picker&&this._picker.minDate&&HS(e,this._picker.minDate,"date"))return{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&LS(e,this._picker.maxDate,"date"))return{bsDate:{maxDate:this._picker.maxDate}}}},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.writeValue=function(t){if(t){var e=this._localeService.currentLocale;if(!lS(e))throw new Error('Locale "'+e+'" is not defined, please add it with "defineLocale(...)"');this._value=FS(t,this._picker._config.dateInputFormat,this._localeService.currentLocale)}else this._value=null;this._picker.bsValue=this._value},t.prototype.setDisabledState=function(t){this._picker.isDisabled=t,t?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.onBlur=function(){this._onTouched()},t.prototype.hide=function(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur()},t.\u0275fac=function(e){return new(e||t)(ms(Uk,1),ms(bk),ms(Oa),ms(Ea),ms(Io))},t.\u0275dir=Te({type:t,selectors:[["input","bsDatepicker",""]],hostBindings:function(t,e){1&t&&Es("change",(function(t){return e.onChange(t)}))("keyup.esc",(function(){return e.hide()}))("blur",(function(){return e.onBlur()}))},features:[ba([zk,Yk])]}),t}(),qk=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.displayMonths=2,e.isAnimated=!1,e}i(e,t),e.\u0275fac=function(t){return n(t||e)},e.\u0275prov=_t({token:e,factory:function(t){return e.\u0275fac(t)}});var n=Xn(e);return e}(gk),Gk=function(t){function e(e,n,r,i,o,s){var a=t.call(this)||this;return a._actions=n,a._config=r,a._store=i,a._element=o,a._positionService=s,a.valueChange=new bu,a.animationState="void",a._rangeStack=[],a._subs=[],a._effects=e,a}return i(e,t),Object.defineProperty(e.prototype,"value",{set:function(t){this._effects.setRangeValue(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition}},allowedPositions:["top","bottom"]}),this._positionService.event$.pipe(wd(1)).subscribe((function(){t._positionService.disable(),t.animationState=t._config.isAnimated?t.isTopPosition?"animated-up":"animated-down":"unanimated"})),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this._effects.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select((function(t){return t.selectedRange})).subscribe((function(e){return t.valueChange.emit(e)})))},Object.defineProperty(e.prototype,"isTopPosition",{get:function(){return this._element.nativeElement.classList.contains("top")},enumerable:!0,configurable:!0}),e.prototype.positionServiceEnable=function(){this._positionService.enable()},e.prototype.daySelectHandler=function(t){(this.isOtherMonthsActive?t.isDisabled:t.isOtherMonth||t.isDisabled)||(1===this._rangeStack.length&&(this._rangeStack=t.date>=this._rangeStack[0]?[this._rangeStack[0],t.date]:[t.date]),0===this._rangeStack.length&&(this._rangeStack=[t.date]),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[]))},e.prototype.ngOnDestroy=function(){var t,e;try{for(var n=a(this._subs),r=n.next();!r.done;r=n.next())r.value.unsubscribe()}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}this._effects.destroy()},e.\u0275fac=function(t){return new(t||e)(ms(wk),ms(_k),ms(gk),ms(Vk),ms(Ea),ms(Cv))},e.\u0275cmp=we({type:e,selectors:[["bs-daterangepicker-container"]],hostAttrs:["role","dialog","aria-label","calendar",1,"bottom",2,"position","absolute","display","block"],hostBindings:function(t,e){1&t&&Es("click",(function(t){return e._stopPropagation(t)}))},features:[ba([Vk,wk]),ia],decls:2,vars:3,consts:[["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],[3,"calendar","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"calendar","onNavigate","onViewMode","onHover","onSelect"],[1,"bs-datepicker-buttons"],[1,"btn","btn-success"],[1,"btn","btn-default"],[1,"bs-datepicker-custom-range"],[3,"ranges"]],template:function(t,e){1&t&&(ds(0,DC,9,10,"div",0),vu(1,"async")),2&t&&gs("ngIf",_u(1,1,e.viewMode))},directives:function(){return[ic,tc,lc,cc,nc,iE,oE,aE,tE]},pipes:function(){return[mc]},encapsulation:2,data:{animation:[Lk]}}),e}(vk),Qk=function(){function t(t,e,n,r,i){this._config=t,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.bsValueChange=new bu,this._subs=[],this._datepicker=i.createLoader(e,r,n),Object.assign(this,t),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden}return Object.defineProperty(t.prototype,"isOpen",{get:function(){return this._datepicker.isShown},set:function(t){t?this.show():this.hide()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bsValue",{set:function(t){this._bsValue!==t&&(this._bsValue=t,this.bsValueChange.emit(t))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:function(){return t.show()}}),this.setConfig()},t.prototype.ngOnChanges=function(t){this._datepickerRef&&this._datepickerRef.instance&&(t.minDate&&(this._datepickerRef.instance.minDate=this.minDate),t.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),t.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),t.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),t.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))},t.prototype.show=function(){var t=this;this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:gk,useValue:this._config}).attach(Gk).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this._subs.push(this.bsValueChange.subscribe((function(e){t._datepickerRef.instance.value=e}))),this._subs.push(this._datepickerRef.instance.valueChange.pipe(rd((function(t){return t&&t[0]&&!!t[1]}))).subscribe((function(e){t.bsValue=e,t.hide()}))))},t.prototype.setConfig=function(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._bsValue,isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled})},t.prototype.hide=function(){var t,e;this.isOpen&&this._datepicker.hide();try{for(var n=a(this._subs),r=n.next();!r.done;r=n.next())r.value.unsubscribe()}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},t.prototype.toggle=function(){if(this.isOpen)return this.hide();this.show()},t.prototype.ngOnDestroy=function(){this._datepicker.dispose()},t.\u0275fac=function(e){return new(e||t)(ms(qk),ms(Ea),ms(Oa),ms(Za),ms(Tv))},t.\u0275dir=Te({type:t,selectors:[["","bsDaterangepicker",""]],inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",datesDisabled:"datesDisabled"},outputs:{bsValueChange:"bsValueChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bsDaterangepicker"],features:[ca]}),t}(),Kk={provide:mp,useExisting:Mt((function(){return $k})),multi:!0},Zk={provide:_p,useExisting:Mt((function(){return $k})),multi:!0},$k=function(){function t(t,e,n,r,i){var o=this;this._picker=t,this._localeService=e,this._renderer=n,this._elRef=r,this.changeDetection=i,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._picker.bsValueChange.subscribe((function(t){o._setInputValue(t),o._value!==t&&(o._value=t,o._onChange(t),o._onTouched()),o.changeDetection.markForCheck()})),this._localeService.localeChange.subscribe((function(){o._setInputValue(o._value)}))}return t.prototype._setInputValue=function(t){var e="";if(t){var n=t[0]?AS(t[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",r=t[1]?AS(t[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";e=n&&r?n+this._picker._config.rangeSeparator+r:""}this._renderer.setProperty(this._elRef.nativeElement,"value",e)},t.prototype.onChange=function(t){this.writeValue(t.target.value),this._onChange(this._value),this._onTouched()},t.prototype.validate=function(t){var e=t.value;if(null==e||!Cb(e))return null;var n=bb(e[0]),r=bb(e[1]);return n?r?this._picker&&this._picker.minDate&&HS(e[0],this._picker.minDate,"date")?{bsDate:{minDate:this._picker.minDate}}:this._picker&&this._picker.maxDate&&LS(e[1],this._picker.maxDate,"date")?{bsDate:{maxDate:this._picker.maxDate}}:void 0:{bsDate:{invalid:e[1]}}:{bsDate:{invalid:e[0]}}},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.writeValue=function(t){var e=this;if(t){var n=this._localeService.currentLocale;if(!lS(n))throw new Error('Locale "'+n+'" is not defined, please add it with "defineLocale(...)"');var r=[];"string"==typeof t&&(r=t.split(this._picker._config.rangeSeparator)),Array.isArray(t)&&(r=t),this._value=r.map((function(t){return FS(t,e._picker._config.dateInputFormat,e._localeService.currentLocale)})).map((function(t){return isNaN(t.valueOf())?null:t}))}else this._value=null;this._picker.bsValue=this._value},t.prototype.setDisabledState=function(t){this._picker.isDisabled=t,t?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.onBlur=function(){this._onTouched()},t.prototype.hide=function(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur()},t.\u0275fac=function(e){return new(e||t)(ms(Qk,1),ms(bk),ms(Oa),ms(Ea),ms(Io))},t.\u0275dir=Te({type:t,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(t,e){1&t&&Es("change",(function(t){return e.onChange(t)}))("keyup.esc",(function(){return e.hide()}))("blur",(function(){return e.onBlur()}))},features:[ba([Kk,Zk])]}),t}(),Jk=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["bs-calendar-layout"]],ngContentSelectors:MC,decls:6,vars:2,consts:[["title","hey there",4,"ngIf"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"],[4,"ngIf"],["title","hey there"]],template:function(t,e){1&t&&(Ps(AC),ds(0,OC,1,0,"bs-current-date",0),_s(1,"div",1),As(2),bs(),_s(3,"div",2),As(4,1),bs(),ds(5,PC,1,0,"bs-timepicker",3)),2&t&&(gs("ngIf",!1),si(5),gs("ngIf",!1))},directives:function(){return[ic,Xk,sE]},encapsulation:2}),t}(),Xk=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["bs-current-date"]],inputs:{title:"title"},decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(t,e){1&t&&(_s(0,"div",0),_s(1,"span"),Xs(2),bs(),bs()),2&t&&(si(2),ta(e.title))},encapsulation:2}),t}(),tE=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["bs-custom-date-view"]],inputs:{isCustomRangeShown:"isCustomRangeShown",ranges:"ranges"},decls:3,vars:2,consts:[[1,"bs-datepicker-predefined-btns"],[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(t,e){1&t&&(_s(0,"div",0),ds(1,IC,2,1,"button",1),ds(2,RC,2,0,"button",2),bs()),2&t&&(si(1),gs("ngForOf",e.ranges),si(1),gs("ngIf",e.isCustomRangeShown))},directives:[nc,ic],encapsulation:2,changeDetection:0}),t}(),eE=function(){function t(t,e,n){this._config=t,this._elRef=e,this._renderer=n}return t.prototype.ngOnInit=function(){var t=this;this.day.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof this.day.customClasses&&this.day.customClasses.split(" ").filter((function(t){return t})).forEach((function(e){t._renderer.addClass(t._elRef.nativeElement,e)}))},t.\u0275fac=function(e){return new(e||t)(ms(gk),ms(Ea),ms(Oa))},t.\u0275cmp=we({type:t,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(t,e){2&t&&Hs("disabled",e.day.isDisabled)("is-highlighted",e.day.isHovered)("is-other-month",e.day.isOtherMonth)("is-active-other-month",e.day.isOtherMonthHovered)("in-range",e.day.isInRange)("select-start",e.day.isSelectionStart)("select-end",e.day.isSelectionEnd)("selected",e.day.isSelected)},inputs:{day:"day"},attrs:NC,decls:1,vars:1,template:function(t,e){1&t&&Xs(0),2&t&&ta(e.day.label)},encapsulation:2,changeDetection:0}),t}(),nE=function(){var t={UP:0,DOWN:1};return t[t.UP]="UP",t[t.DOWN]="DOWN",t}(),rE=function(){function t(){this.onNavigate=new bu,this.onViewMode=new bu}return t.prototype.navTo=function(t){this.onNavigate.emit(t?nE.DOWN:nE.UP)},t.prototype.view=function(t){this.onViewMode.emit(t)},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},decls:13,vars:8,consts:[[1,"previous",3,"disabled","click"],["class","current",3,"click",4,"ngIf"],[1,"current",3,"click"],[1,"next",3,"disabled","click"]],template:function(t,e){1&t&&(_s(0,"button",0),Es("click",(function(){return e.navTo(!0)})),_s(1,"span"),Xs(2,"\u2039"),bs(),bs(),Xs(3," \u200b "),ds(4,jC,3,1,"button",1),Xs(5," \u200b "),_s(6,"button",2),Es("click",(function(){return e.view("year")})),_s(7,"span"),Xs(8),bs(),bs(),Xs(9," \u200b "),_s(10,"button",3),Es("click",(function(){return e.navTo(!1)})),_s(11,"span"),Xs(12,"\u203a"),bs(),bs()),2&t&&(Ls("visibility",e.calendar.hideLeftArrow?"hidden":"visible"),gs("disabled",e.calendar.disableLeftArrow),si(4),gs("ngIf",e.calendar.monthTitle),si(4),ta(e.calendar.yearTitle),si(2),Ls("visibility",e.calendar.hideRightArrow?"hidden":"visible"),gs("disabled",e.calendar.disableRightArrow))},directives:[ic],encapsulation:2,changeDetection:0}),t}(),iE=function(){function t(t){this._config=t,this.onNavigate=new bu,this.onViewMode=new bu,this.onSelect=new bu,this.onHover=new bu,this.onHoverWeek=new bu}return t.prototype.navigateTo=function(t){this.onNavigate.emit({step:{month:nE.DOWN===t?-1:1}})},t.prototype.changeViewMode=function(t){this.onViewMode.emit(t)},t.prototype.selectDay=function(t){this.onSelect.emit(t)},t.prototype.selectWeek=function(t){var e=this;if(this._config.selectWeek)if(t.days&&t.days[0]&&!t.days[0].isDisabled&&this._config.selectFromOtherMonth)this.onSelect.emit(t.days[0]);else if(0!==t.days.length){var n=t.days.find((function(t){return e._config.selectFromOtherMonth?!t.isDisabled:!t.isOtherMonth&&!t.isDisabled}));this.onSelect.emit(n)}},t.prototype.weekHoverHandler=function(t,e){var n=this;this._config.selectWeek&&t.days.find((function(t){return n._config.selectFromOtherMonth?!t.isDisabled:!t.isOtherMonth&&!t.isDisabled}))&&(t.isHovered=e,this.isWeekHovered=e,this.onHoverWeek.emit(t))},t.prototype.hoverDay=function(t,e){this._config.selectFromOtherMonth&&t.isOtherMonth&&(t.isOtherMonthHovered=e),this.onHover.emit({cell:t,isHovered:e})},t.\u0275fac=function(e){return new(e||t)(ms(gk))},t.\u0275cmp=we({type:t,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},decls:9,vars:4,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"days","weeks"],[4,"ngIf"],["aria-label","weekday",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["aria-label","weekday"],["class","week",3,"active-week",4,"ngIf"],["role","gridcell",4,"ngFor","ngForOf"],[1,"week"],[3,"click","mouseenter","mouseleave"],["role","gridcell"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave"]],template:function(t,e){1&t&&(_s(0,"bs-calendar-layout"),_s(1,"bs-datepicker-navigation-view",0),Es("onNavigate",(function(t){return e.navigateTo(t)}))("onViewMode",(function(t){return e.changeViewMode(t)})),bs(),_s(2,"table",1),_s(3,"thead"),_s(4,"tr"),ds(5,FC,1,0,"th",2),ds(6,VC,2,1,"th",3),bs(),bs(),_s(7,"tbody"),ds(8,UC,3,2,"tr",4),bs(),bs(),bs()),2&t&&(si(1),gs("calendar",e.calendar),si(4),gs("ngIf",e.options.showWeekNumbers),si(1),gs("ngForOf",e.calendar.weekdays),si(2),gs("ngForOf",e.calendar.weeks))},directives:[Jk,rE,ic,nc,eE],encapsulation:2}),t}(),oE=function(){function t(){this.onNavigate=new bu,this.onViewMode=new bu,this.onSelect=new bu,this.onHover=new bu}return t.prototype.navigateTo=function(t){this.onNavigate.emit({step:{year:nE.DOWN===t?-1:1}})},t.prototype.viewMonth=function(t){this.onSelect.emit(t)},t.prototype.hoverMonth=function(t,e){this.onHover.emit({cell:t,isHovered:e})},t.prototype.changeViewMode=function(t){this.onViewMode.emit(t)},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"months"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(t,e){1&t&&(_s(0,"bs-calendar-layout"),_s(1,"bs-datepicker-navigation-view",0),Es("onNavigate",(function(t){return e.navigateTo(t)}))("onViewMode",(function(t){return e.changeViewMode(t)})),bs(),_s(2,"table",1),_s(3,"tbody"),ds(4,zC,2,1,"tr",2),bs(),bs(),bs()),2&t&&(si(1),gs("calendar",e.calendar),si(3),gs("ngForOf",e.calendar.months))},directives:[Jk,rE,nc],encapsulation:2}),t}(),sE=function(){function t(){this.ampm="ok",this.hours=0,this.minutes=0}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["bs-timepicker"]],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-controls"],[1,"bs-decrease"],["type","text","placeholder","00",3,"value"],[1,"bs-increase"],[1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(t,e){1&t&&(_s(0,"div",0),_s(1,"div",1),_s(2,"button",2),Xs(3,"-"),bs(),ws(4,"input",3),_s(5,"button",4),Xs(6,"+"),bs(),bs(),_s(7,"div",1),_s(8,"button",2),Xs(9,"-"),bs(),ws(10,"input",3),_s(11,"button",4),Xs(12,"+"),bs(),bs(),_s(13,"button",5),Xs(14),ws(15,"img",6),bs(),bs()),2&t&&(si(4),gs("value",e.hours),si(6),gs("value",e.minutes),si(4),ea("",e.ampm," "))},encapsulation:2}),t}(),aE=function(){function t(){this.onNavigate=new bu,this.onViewMode=new bu,this.onSelect=new bu,this.onHover=new bu}return t.prototype.navigateTo=function(t){this.onNavigate.emit({step:{year:16*(nE.DOWN===t?-1:1)}})},t.prototype.viewYear=function(t){this.onSelect.emit(t)},t.prototype.hoverYear=function(t,e){this.onHover.emit({cell:t,isHovered:e})},t.prototype.changeViewMode=function(t){this.onViewMode.emit(t)},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"years"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(t,e){1&t&&(_s(0,"bs-calendar-layout"),_s(1,"bs-datepicker-navigation-view",0),Es("onNavigate",(function(t){return e.navigateTo(t)}))("onViewMode",(function(t){return e.changeViewMode(t)})),bs(),_s(2,"table",1),_s(3,"tbody"),ds(4,WC,2,1,"tr",2),bs(),bs(),bs()),2&t&&(si(1),gs("calendar",e.calendar),si(3),gs("ngForOf",e.calendar.years))},directives:[Jk,rE,nc],encapsulation:2}),t}(),uE=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[Tv,Cv,Vk,_k,gk,qk,Bk,wk,bk]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},imports:[[yc]]}),t}(),lE=function(){function t(){}return t.prototype.format=function(t,e,n){return AS(t,e,n)},t}(),cE=function(){function t(){this.selectionDone=new bu(void 0),this.update=new bu(!1),this.activeDateChange=new bu(void 0),this.stepDay={},this.stepMonth={},this.stepYear={},this.modes=["day","month","year"],this.dateFormatter=new lE}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){this._activeDate=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.uniqueId="datepicker--"+Math.floor(1e4*Math.random()),this.initDate?(this.activeDate=this.initDate,this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate)):void 0===this.activeDate&&(this.activeDate=new Date)},t.prototype.ngOnChanges=function(t){this.refreshView(),this.checkIfActiveDateGotUpdated(t.activeDate)},t.prototype.checkIfActiveDateGotUpdated=function(t){if(t&&!t.firstChange){var e=t.previousValue;e&&e instanceof Date&&e.getTime()!==t.currentValue.getTime()&&this.activeDateChange.emit(this.activeDate)}},t.prototype.setCompareHandler=function(t,e){"day"===e&&(this.compareHandlerDay=t),"month"===e&&(this.compareHandlerMonth=t),"year"===e&&(this.compareHandlerYear=t)},t.prototype.compare=function(t,e){if(void 0!==t&&void 0!==e)return"day"===this.datepickerMode&&this.compareHandlerDay?this.compareHandlerDay(t,e):"month"===this.datepickerMode&&this.compareHandlerMonth?this.compareHandlerMonth(t,e):"year"===this.datepickerMode&&this.compareHandlerYear?this.compareHandlerYear(t,e):void 0},t.prototype.setRefreshViewHandler=function(t,e){"day"===e&&(this.refreshViewHandlerDay=t),"month"===e&&(this.refreshViewHandlerMonth=t),"year"===e&&(this.refreshViewHandlerYear=t)},t.prototype.refreshView=function(){"day"===this.datepickerMode&&this.refreshViewHandlerDay&&this.refreshViewHandlerDay(),"month"===this.datepickerMode&&this.refreshViewHandlerMonth&&this.refreshViewHandlerMonth(),"year"===this.datepickerMode&&this.refreshViewHandlerYear&&this.refreshViewHandlerYear()},t.prototype.dateFilter=function(t,e){return this.dateFormatter.format(t,e,this.locale)},t.prototype.isActive=function(t){return 0===this.compare(t.date,this.activeDate)&&(this.activeDateId=t.uid,!0)},t.prototype.createDateObject=function(t,e){var n={};return n.date=new Date(t.getFullYear(),t.getMonth(),t.getDate()),n.date=this.fixTimeZone(n.date),n.label=this.dateFilter(t,e),n.selected=0===this.compare(t,this.selectedDate),n.disabled=this.isDisabled(t),n.current=0===this.compare(t,new Date),n.customClass=this.getCustomClassForDate(n.date),n},t.prototype.split=function(t,e){for(var n=[];t.length>0;)n.push(t.splice(0,e));return n},t.prototype.fixTimeZone=function(t){var e=t.getHours();return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23===e?e+2:0)},t.prototype.select=function(t,e){void 0===e&&(e=!0),this.datepickerMode===this.minMode?(this.activeDate||(this.activeDate=new Date(0,0,0,0,0,0,0)),this.activeDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),e&&this.selectionDone.emit(this.activeDate)):(this.activeDate=new Date(t.getFullYear(),t.getMonth(),t.getDate()),this.activeDate=this.fixTimeZone(this.activeDate),e&&(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)-1])),this.selectedDate=new Date(this.activeDate.valueOf()),this.update.emit(this.activeDate),this.refreshView()},t.prototype.move=function(t){var e;if("day"===this.datepickerMode&&(e=this.stepDay),"month"===this.datepickerMode&&(e=this.stepMonth),"year"===this.datepickerMode&&(e=this.stepYear),e){var n=this.activeDate.getFullYear()+t*(e.years||0),r=this.activeDate.getMonth()+t*(e.months||0);this.activeDate=new Date(n,r,1),this.refreshView(),this.activeDateChange.emit(this.activeDate)}},t.prototype.toggleMode=function(t){var e=t||1;this.datepickerMode===this.maxMode&&1===e||this.datepickerMode===this.minMode&&-1===e||(this.datepickerMode=this.modes[this.modes.indexOf(this.datepickerMode)+e],this.refreshView())},t.prototype.getCustomClassForDate=function(t){var e=this;if(!this.customClass)return"";var n=this.customClass.find((function(n){return n.date.valueOf()===t.valueOf()&&n.mode===e.datepickerMode}),this);return void 0===n?"":n.clazz},t.prototype.compareDateDisabled=function(t,e){if(void 0!==t&&void 0!==e)return"day"===t.mode&&this.compareHandlerDay?this.compareHandlerDay(t.date,e):"month"===t.mode&&this.compareHandlerMonth?this.compareHandlerMonth(t.date,e):"year"===t.mode&&this.compareHandlerYear?this.compareHandlerYear(t.date,e):void 0},t.prototype.isDisabled=function(t){var e=this,n=!1;return this.dateDisabled&&this.dateDisabled.forEach((function(r){0===e.compareDateDisabled(r,t)&&(n=!0)})),this.dayDisabled&&(n=n||this.dayDisabled.indexOf(t.getDay())>-1),n||this.minDate&&this.compare(t,this.minDate)<0||this.maxDate&&this.compare(t,this.maxDate)>0},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=we({type:t,selectors:[["datepicker-inner"]],inputs:{activeDate:"activeDate",datepickerMode:"datepickerMode",locale:"locale",startingDay:"startingDay",yearRange:"yearRange",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",maxMode:"maxMode",showWeeks:"showWeeks",formatDay:"formatDay",formatMonth:"formatMonth",formatYear:"formatYear",formatDayHeader:"formatDayHeader",formatDayTitle:"formatDayTitle",formatMonthTitle:"formatMonthTitle",onlyCurrentMonth:"onlyCurrentMonth",shortcutPropagation:"shortcutPropagation",customClass:"customClass",monthColLimit:"monthColLimit",yearColLimit:"yearColLimit",dateDisabled:"dateDisabled",dayDisabled:"dayDisabled",initDate:"initDate"},outputs:{selectionDone:"selectionDone",update:"update",activeDateChange:"activeDateChange"},features:[ca],ngContentSelectors:GC,decls:1,vars:1,consts:[["class","well well-sm bg-faded p-a card","role","application",4,"ngIf"],["role","application",1,"well","well-sm","bg-faded","p-a","card"]],template:function(t,e){1&t&&(Ps(),ds(0,qC,2,0,"div",0)),2&t&&gs("ngIf",e.datepickerMode)},directives:[ic],encapsulation:2}),t}(),hE=function(){function t(){this.locale="en",this.datepickerMode="day",this.startingDay=0,this.yearRange=20,this.minMode="day",this.maxMode="year",this.showWeeks=!0,this.formatDay="DD",this.formatMonth="MMMM",this.formatYear="YYYY",this.formatDayHeader="dd",this.formatDayTitle="MMMM YYYY",this.formatMonthTitle="YYYY",this.onlyCurrentMonth=!1,this.monthColLimit=3,this.yearColLimit=5,this.shortcutPropagation=!1}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),fE={provide:mp,useExisting:Mt((function(){return pE})),multi:!0},pE=function(){function t(t){this.datepickerMode="day",this.showWeeks=!0,this.selectionDone=new bu(void 0),this.activeDateChange=new bu(void 0),this.onChange=Function.prototype,this.onTouched=Function.prototype,this._now=new Date,this.config=t,this.configureOptions()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate||this._now},set:function(t){this._activeDate=t},enumerable:!0,configurable:!0}),t.prototype.configureOptions=function(){Object.assign(this,this.config)},t.prototype.onUpdate=function(t){this.activeDate=t,this.onChange(t)},t.prototype.onSelectionDone=function(t){this.selectionDone.emit(t)},t.prototype.onActiveDateChange=function(t){this.activeDateChange.emit(t)},t.prototype.writeValue=function(t){if(0!==this._datePicker.compare(t,this._activeDate))return t&&t instanceof Date?(this.activeDate=t,void this._datePicker.select(t,!1)):void(this.activeDate=t?new Date(t):void 0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.\u0275fac=function(e){return new(e||t)(ms(hE))},t.\u0275cmp=we({type:t,selectors:[["datepicker"]],viewQuery:function(t,e){var n,r,i,o,s,a;1&t&&(o=cE,s=!0,function(t,e,n,r,i,o){t.firstCreatePass&&function(t,e,n){null===t.queries&&(t.queries=new xu),t.queries.track(new Tu(e,-1))}(t,new Eu(n,r,!1,i)),function(t,e){var n=new Su;!function(t,e,n,r){var i=$i(e);i.push(n),t.firstCreatePass&&Ji(t).push(r,i.length-1)}(t,e,n,n.destroy),null===e[5]&&(e[5]=new ku),e[5].queries.push(new Cu(n))}(t,e)}(Ue(),He(),o,s,a)),2&t&&function(t){var e=He(),n=Ue(),r=Xe();tn(r+1);var i=Au(n,r);if(t.dirty&&Ur(e)===i.metadata.isStatic){if(null===i.matches)t.reset([]);else{var o=i.crossesNgTemplate?function t(e,n,r,i){var o=e.queries.getByIndex(r),s=o.matches;if(null!==s)for(var a=Pu(e,n,o,r),u=0;u<s.length;u+=2){var l=s[u];if(l>0)i.push(a[u/2]);else{for(var c=s[u+1],h=n[-l],f=9;f<h.length;f++)(m=h[f])[17]===m[3]&&t(m[1],m,c,i);if(null!==h[5])for(var p=h[5],d=0;d<p.length;d++){var m;t((m=p[d])[1],m,c,i)}}}return i}(n,e,r,[]):Pu(n,e,i,r);t.reset(o),t.notifyOnChanges()}return!0}return!1}((r=He(),i=Xe(),n=r[5].queries[i].queryList))&&(e._datePicker=n.first)},inputs:{datepickerMode:"datepickerMode",showWeeks:"showWeeks",activeDate:"activeDate",initDate:"initDate",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",maxMode:"maxMode",formatDay:"formatDay",formatMonth:"formatMonth",formatYear:"formatYear",formatDayHeader:"formatDayHeader",formatDayTitle:"formatDayTitle",formatMonthTitle:"formatMonthTitle",startingDay:"startingDay",yearRange:"yearRange",onlyCurrentMonth:"onlyCurrentMonth",shortcutPropagation:"shortcutPropagation",monthColLimit:"monthColLimit",yearColLimit:"yearColLimit",customClass:"customClass",dateDisabled:"dateDisabled",dayDisabled:"dayDisabled"},outputs:{selectionDone:"selectionDone",activeDateChange:"activeDateChange"},features:[ba([fE])],decls:4,vars:24,consts:[[3,"activeDate","locale","datepickerMode","initDate","minDate","maxDate","minMode","maxMode","showWeeks","formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","startingDay","yearRange","customClass","dateDisabled","dayDisabled","onlyCurrentMonth","shortcutPropagation","monthColLimit","yearColLimit","update","selectionDone","activeDateChange"],["tabindex","0"]],template:function(t,e){1&t&&(_s(0,"datepicker-inner",0),Es("update",(function(t){return e.onUpdate(t)}))("selectionDone",(function(t){return e.onSelectionDone(t)}))("activeDateChange",(function(t){return e.onActiveDateChange(t)})),ws(1,"daypicker",1),ws(2,"monthpicker",1),ws(3,"yearpicker",1),bs()),2&t&&gs("activeDate",e.activeDate)("locale",e.config.locale)("datepickerMode",e.datepickerMode)("initDate",e.initDate)("minDate",e.minDate)("maxDate",e.maxDate)("minMode",e.minMode)("maxMode",e.maxMode)("showWeeks",e.showWeeks)("formatDay",e.formatDay)("formatMonth",e.formatMonth)("formatYear",e.formatYear)("formatDayHeader",e.formatDayHeader)("formatDayTitle",e.formatDayTitle)("formatMonthTitle",e.formatMonthTitle)("startingDay",e.startingDay)("yearRange",e.yearRange)("customClass",e.customClass)("dateDisabled",e.dateDisabled)("dayDisabled",e.dayDisabled)("onlyCurrentMonth",e.onlyCurrentMonth)("shortcutPropagation",e.shortcutPropagation)("monthColLimit",e.monthColLimit)("yearColLimit",e.yearColLimit)},directives:function(){return[cE,dE,mE,yE]},encapsulation:2}),t}(),dE=function(){function t(t){this.labels=[],this.rows=[],this.weekNumbers=[],this.datePicker=t}return Object.defineProperty(t.prototype,"isBs4",{get:function(){return!Ng()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.datePicker.stepDay={months:1},this.datePicker.setRefreshViewHandler((function(){var e=this.activeDate.getFullYear(),n=this.activeDate.getMonth(),r=new Date(e,n,1),i=this.startingDay-r.getDay(),o=i>0?7-i:-i,s=new Date(r.getTime());o>0&&s.setDate(1-o);for(var a=t.getDates(s,42),u=[],l=0;l<42;l++){var c=this.createDateObject(a[l],this.formatDay);c.secondary=a[l].getMonth()!==n,c.uid=this.uniqueId+"-"+l,u[l]=c}t.labels=[];for(var h=0;h<7;h++)t.labels[h]={},t.labels[h].abbr=this.dateFilter(u[h].date,this.formatDayHeader),t.labels[h].full=this.dateFilter(u[h].date,"EEEE");if(t.title=this.dateFilter(this.activeDate,this.formatDayTitle),t.rows=this.split(u,7),this.showWeeks){t.weekNumbers=[];for(var f=(11-this.startingDay)%7,p=t.rows.length,d=0;d<p;d++)t.weekNumbers.push(t.getISO8601WeekNumber(t.rows[d][f].date))}}),"day"),this.datePicker.setCompareHandler((function(t,e){var n=new Date(t.getFullYear(),t.getMonth(),t.getDate()),r=new Date(e.getFullYear(),e.getMonth(),e.getDate());return n.getTime()-r.getTime()}),"day"),this.datePicker.refreshView()},t.prototype.getDates=function(t,e){for(var n,r=new Array(e),i=new Date(t.getTime()),o=0;o<e;)n=new Date(i.getTime()),n=this.datePicker.fixTimeZone(n),r[o++]=n,i=new Date(n.getFullYear(),n.getMonth(),n.getDate()+1);return r},t.prototype.getISO8601WeekNumber=function(t){var e=new Date(t.getTime());e.setDate(e.getDate()+4-(e.getDay()||7));var n=e.getTime();return e.setMonth(0),e.setDate(1),Math.floor(Math.round((n-e.getTime())/864e5)/7)+1},t.\u0275fac=function(e){return new(e||t)(ms(cE))},t.\u0275cmp=we({type:t,selectors:[["daypicker"]],decls:1,vars:1,consts:[["role","grid","aria-activedescendant","activeDateId",4,"ngIf"],["role","grid","aria-activedescendant","activeDateId"],["type","button","class","btn btn-default btn-secondary btn-sm pull-left float-left","tabindex","-1",3,"click",4,"ngIf"],["type","button","tabindex","-1",1,"btn","btn-default","btn-secondary","btn-sm",2,"width","100%",3,"id","disabled","ngClass","click"],["type","button","class","btn btn-default btn-secondary btn-sm pull-right float-right","tabindex","-1",3,"click",4,"ngIf"],[4,"ngIf"],["class","text-center",4,"ngFor","ngForOf"],["ngFor","",3,"ngForOf"],["type","button","tabindex","-1",1,"btn","btn-default","btn-secondary","btn-sm","pull-left","float-left",3,"click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-secondary","btn-sm","pull-right","float-right",3,"click"],[1,"text-center"],["aria-label","labelz.full"],["class","h6","class","text-center",4,"ngIf"],["class","text-center","role","gridcell",3,"id",4,"ngFor","ngForOf"],["role","gridcell",1,"text-center",3,"id"],["type","button","style","min-width:100%;","tabindex","-1",3,"class","ngClass","disabled","click",4,"ngIf"],["type","button","tabindex","-1",2,"min-width","100%",3,"ngClass","disabled","click"],[3,"ngClass"]],template:function(t,e){1&t&&ds(0,uk,18,15,"table",0),2&t&&gs("ngIf","day"===e.datePicker.datepickerMode)},directives:[ic,tc,nc],styles:["[_nghost-%COMP%]   .btn-secondary[_ngcontent-%COMP%] {\n      color: #292b2c;\n      background-color: #fff;\n      border-color: #ccc;\n    }\n    [_nghost-%COMP%]   .btn-info[_ngcontent-%COMP%]   .text-muted[_ngcontent-%COMP%] {\n      color: #292b2c !important;\n    }"]}),t}(),mE=function(){function t(t){this.rows=[],this.datePicker=t}return Object.defineProperty(t.prototype,"isBs4",{get:function(){return!Ng()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.datePicker.stepMonth={years:1},this.datePicker.setRefreshViewHandler((function(){for(var e,n=new Array(12),r=this.activeDate.getFullYear(),i=0;i<12;i++)e=new Date(r,i,1),e=this.fixTimeZone(e),n[i]=this.createDateObject(e,this.formatMonth),n[i].uid=this.uniqueId+"-"+i;t.title=this.dateFilter(this.activeDate,this.formatMonthTitle),t.rows=this.split(n,t.datePicker.monthColLimit)}),"month"),this.datePicker.setCompareHandler((function(t,e){var n=new Date(t.getFullYear(),t.getMonth()),r=new Date(e.getFullYear(),e.getMonth());return n.getTime()-r.getTime()}),"month"),this.datePicker.refreshView()},t.\u0275fac=function(e){return new(e||t)(ms(cE))},t.\u0275cmp=we({type:t,selectors:[["monthpicker"]],decls:1,vars:1,consts:[["role","grid",4,"ngIf"],["role","grid"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-left","float-left",3,"click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm",2,"width","100%",3,"id","disabled","ngClass","click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-right","float-right",3,"click"],[4,"ngFor","ngForOf"],["class","text-center","role","gridcell",3,"ngClass",4,"ngFor","ngForOf"],["role","gridcell",1,"text-center",3,"ngClass"],["type","button","tabindex","-1",1,"btn","btn-default",2,"min-width","100%",3,"ngClass","disabled","click"],[3,"ngClass"]],template:function(t,e){1&t&&ds(0,pk,15,8,"table",0),2&t&&gs("ngIf","month"===e.datePicker.datepickerMode)},directives:[ic,tc,nc],styles:["[_nghost-%COMP%]   .btn-info[_ngcontent-%COMP%]   .text-success[_ngcontent-%COMP%] {\n      color: #fff !important;\n    }"]}),t}(),yE=function(){function t(t){this.rows=[],this.datePicker=t}return Object.defineProperty(t.prototype,"isBs4",{get:function(){return!Ng()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.datePicker.stepYear={years:this.datePicker.yearRange},this.datePicker.setRefreshViewHandler((function(){for(var e,n=new Array(this.yearRange),r=t.getStartingYear(this.activeDate.getFullYear()),i=0;i<this.yearRange;i++)e=new Date(r+i,0,1),e=this.fixTimeZone(e),n[i]=this.createDateObject(e,this.formatYear),n[i].uid=this.uniqueId+"-"+i;t.title=[n[0].label,n[this.yearRange-1].label].join(" - "),t.rows=this.split(n,t.datePicker.yearColLimit)}),"year"),this.datePicker.setCompareHandler((function(t,e){return t.getFullYear()-e.getFullYear()}),"year"),this.datePicker.refreshView()},t.prototype.getStartingYear=function(t){return(t-1)/this.datePicker.yearRange*this.datePicker.yearRange+1},t.\u0275fac=function(e){return new(e||t)(ms(cE))},t.\u0275cmp=we({type:t,selectors:[["yearpicker"]],decls:1,vars:1,consts:[["role","grid",4,"ngIf"],["role","grid"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-left","float-left",3,"click"],["role","heading","type","button","tabindex","-1",1,"btn","btn-default","btn-sm",2,"width","100%",3,"id","disabled","ngClass","click"],["type","button","tabindex","-1",1,"btn","btn-default","btn-sm","pull-right","float-right",3,"click"],[4,"ngFor","ngForOf"],["class","text-center","role","gridcell",4,"ngFor","ngForOf"],["role","gridcell",1,"text-center"],["type","button","tabindex","-1",1,"btn","btn-default",2,"min-width","100%",3,"ngClass","disabled","click"],[3,"ngClass"]],template:function(t,e){1&t&&ds(0,yk,15,8,"table",0),2&t&&gs("ngIf","year"===e.datePicker.datepickerMode)},directives:[ic,tc,nc],styles:["[_nghost-%COMP%]   .btn-info[_ngcontent-%COMP%]   .text-success[_ngcontent-%COMP%] {\n      color: #fff !important;\n    }"]}),t}(),gE=["*"],vE=function(){function t(){this.hide=Function,this.setClass=Function}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),_E=function(){function t(){}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),bE={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{}},wE=function(){function t(t,e,n){this._element=e,this._renderer=n,this.isShown=!1,this.isModalHiding=!1,this.config=Object.assign({},t)}return t.prototype.ngOnInit=function(){var t=this;this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout((function(){t.isShown=!0,t._renderer.addClass(t._element.nativeElement,Ng()?"in":"show")}),this.isAnimated?150:0),document&&document.body&&(1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(document.body,"modal-open")),this._element.nativeElement&&this._element.nativeElement.focus()},t.prototype.onClick=function(t){this.config.ignoreBackdropClick||"static"===this.config.backdrop||t.target!==this._element.nativeElement||(this.bsModalService.setDismissReason("backdrop-click"),this.hide())},t.prototype.onEsc=function(t){this.isShown&&(27!==t.keyCode&&"Escape"!==t.key||t.preventDefault(),this.config.keyboard&&this.level===this.bsModalService.getModalsCount()&&(this.bsModalService.setDismissReason("esc"),this.hide()))},t.prototype.ngOnDestroy=function(){this.isShown&&this.hide()},t.prototype.hide=function(){var t=this;!this.isModalHiding&&this.isShown&&(this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,Ng()?"in":"show"),setTimeout((function(){t.isShown=!1,document&&document.body&&1===t.bsModalService.getModalsCount()&&t._renderer.removeClass(document.body,"modal-open"),t.bsModalService.hide(t.level),t.isModalHiding=!1}),this.isAnimated?300:0))},t.\u0275fac=function(e){return new(e||t)(ms(_E),ms(Ea),ms(Oa))},t.\u0275cmp=we({type:t,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:1,hostBindings:function(t,e){1&t&&Es("click",(function(t){return e.onClick(t)}))("keydown.esc",(function(t){return e.onEsc(t)}),!1,Rn),2&t&&fs("aria-modal",!0)},ngContentSelectors:gE,decls:3,vars:2,consts:[["role","document"],[1,"modal-content"]],template:function(t,e){1&t&&(Ps(),_s(0,"div",0),_s(1,"div",1),As(2),bs(),bs()),2&t&&Us("modal-dialog"+(e.config.class?" "+e.config.class:""))},encapsulation:2}),t}(),SE=function(){function t(t,e){this._isShown=!1,this.element=t,this.renderer=e}return Object.defineProperty(t.prototype,"isAnimated",{get:function(){return this._isAnimated},set:function(t){this._isAnimated=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isShown",{get:function(){return this._isShown},set:function(t){this._isShown=t,t?this.renderer.addClass(this.element.nativeElement,"in"):this.renderer.removeClass(this.element.nativeElement,"in"),Ng()||(t?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show"))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),Fg.reflow(this.element.nativeElement)),this.isShown=!0},t.\u0275fac=function(e){return new(e||t)(ms(Ea),ms(Oa))},t.\u0275cmp=we({type:t,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t}(),CE=function(){function t(t,e){this.clf=e,this.config=bE,this.onShow=new bu,this.onShown=new bu,this.onHide=new bu,this.onHidden=new bu,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.lastDismissReason="",this.loaders=[],this._backdropLoader=this.clf.createLoader(null,null,null),this._renderer=t.createRenderer(null,null)}return t.prototype.show=function(t,e){return this.modalsCount++,this._createLoaders(),this.config=Object.assign({},bE,e),this._showBackdrop(),this.lastDismissReason=null,this._showModal(t)},t.prototype.hide=function(t){var e=this;1===this.modalsCount&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1?this.modalsCount-1:0,setTimeout((function(){e._hideModal(t),e.removeLoaders(t)}),this.config.animated?150:0)},t.prototype._showBackdrop=function(){var t=this.config.backdrop||"static"===this.config.backdrop,e=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),t&&e&&(this._backdropLoader.attach(SE).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))},t.prototype._hideBackdrop=function(){var t=this;this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout((function(){return t.removeBackdrop()}),this.config.animated?150:0))},t.prototype._showModal=function(t){var e=this.loaders[this.loaders.length-1],n=new vE,r=e.provide({provide:_E,useValue:this.config}).provide({provide:vE,useValue:n}).attach(wE).to("body").show({content:t,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this});return r.instance.level=this.getModalsCount(),n.hide=function(){r.instance.hide()},n.content=e.getInnerComponent()||null,n.setClass=function(t){r.instance.config.class=t},n},t.prototype._hideModal=function(t){var e=this.loaders[t-1];e&&e.hide()},t.prototype.getModalsCount=function(){return this.modalsCount},t.prototype.setDismissReason=function(t){this.lastDismissReason=t},t.prototype.removeBackdrop=function(){this._backdropLoader.hide(),this.backdropRef=null},t.prototype.checkScrollbar=function(){this.isBodyOverflowing=document.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()},t.prototype.setScrollbar=function(){document&&(this.originalBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(document.body.style.paddingRight=this.originalBodyPadding+this.scrollbarWidth+"px"))},t.prototype.resetScrollbar=function(){document.body.style.paddingRight=this.originalBodyPadding+"px"},t.prototype.getScrollbarWidth=function(){var t=this._renderer.createElement("div");this._renderer.addClass(t,"modal-scrollbar-measure"),this._renderer.appendChild(document.body,t);var e=t.offsetWidth-t.clientWidth;return this._renderer.removeChild(document.body,t),e},t.prototype._createLoaders=function(){var t=this.clf.createLoader(null,null,null);this.copyEvent(t.onBeforeShow,this.onShow),this.copyEvent(t.onShown,this.onShown),this.copyEvent(t.onBeforeHide,this.onHide),this.copyEvent(t.onHidden,this.onHidden),this.loaders.push(t)},t.prototype.removeLoaders=function(t){this.loaders.splice(t-1,1),this.loaders.forEach((function(t,e){t.instance.level=e+1}))},t.prototype.copyEvent=function(t,e){var n=this;t.subscribe((function(){e.emit(n.lastDismissReason)}))},t.\u0275fac=function(e){return new(e||t)(re(Ta),re(Tv))},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),kE=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[CE,Tv,Cv]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)}}),t}(),EE=function(){function t(){}return t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},imports:[[yc,Wp]]}),t}(),xE=function(){function t(){this.adaptivePosition=!0,this.placement="top",this.triggers="click",this.outsideClick=!1}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=_t({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),TE=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[xE,Tv,Cv]}},t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},imports:[[yc]]}),t}(),DE=function(){function t(){}return t.\u0275mod=Ee({type:t}),t.\u0275inj=bt({factory:function(e){return new(e||t)},providers:[],imports:[[yc,Wc,Wp,_g,Yv.forRoot(),X_.forRoot(),jv.forRoot(),TE.forRoot(),tb.forRoot(),EE,nb.forRoot(),db.forRoot(),yb.forRoot(),uE.forRoot(),f_.forRoot(),kE.forRoot()]]}),t}(),OE=function(){function t(){}return t.\u0275mod=Ee({type:t,bootstrap:[__]}),t.\u0275inj=bt({factory:function(e){return new(e||t)},providers:[],imports:[[pp,Wp,$_,_g,v_,DE]]}),t}();(function(){if(ur)throw new Error("Cannot enable prod mode after platform setup.");ar=!1})(),zc().bootstrapModule(OE).catch((function(t){return console.error(t)}))}},[[0,0]]]);