text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},EVdn:function(e,t,n){var r;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,o){"use strict";var i=[],a=n.document,u=Object.getPrototypeOf,s=i.slice,l=i.concat,c=i.push,f=i.indexOf,p={},h=p.toString,d=p.hasOwnProperty,v=d.toString,g=v.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},w={type:!0,src:!0,noModule:!0};function _(e,t,n){var r,o=(t=t||a).createElement("script");if(o.text=e,n)for(r in w)n[r]&&(o[r]=n[r]);t.head.appendChild(o).parentNode.removeChild(o)}function C(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[h.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)},E=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function S(e){var t=!!e&&"length"in e&&e.length,n=C(e);return!m(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:"3.3.1",constructor:x,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},x.extend=x.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},u=1,s=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[u]||{},u++),"object"==typeof a||m(a)||(a={}),u===s&&(a=this,u--);u<s;u++)if(null!=(e=arguments[u]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(x.isPlainObject(r)||(o=Array.isArray(r)))?(o?(o=!1,i=n&&Array.isArray(n)?n:[]):i=n&&x.isPlainObject(n)?n:{},a[t]=x.extend(l,i,r)):void 0!==r&&(a[t]=r));return a},x.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==h.call(e)||(t=u(e))&&("function"!=typeof(n=d.call(t,"constructor")&&t.constructor)||v.call(n)!==g))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){_(e)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(E,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?x.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:f.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(S(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return l.apply([],a)},guid:1,support:y}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=i[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){p["[object "+t+"]"]=t.toLowerCase()});var T=function(e){var t,n,r,o,i,a,u,s,l,c,f,p,h,d,v,g,y,m,b,w="sizzle"+1*new Date,_=e.document,C=0,x=0,E=ae(),S=ae(),T=ae(),k=function(e,t){return e===t&&(f=!0),0},A={}.hasOwnProperty,O=[],P=O.pop,I=O.push,N=O.push,R=O.slice,D=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",V="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",L="\\["+V+"*("+M+")(?:"+V+"*([*^$|!~]?=)"+V+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+V+"*\\]",H=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+L+")*)|.*)\\)|)",U=new RegExp(V+"+","g"),F=new RegExp("^"+V+"+|((?:^|[^\\\\])(?:\\\\.)*)"+V+"+$","g"),q=new RegExp("^"+V+"*,"+V+"*"),z=new RegExp("^"+V+"*([>+~]|"+V+")"+V+"*"),B=new RegExp("="+V+"*([^\\]'\"]*?)"+V+"*\\]","g"),W=new RegExp(H),G=new RegExp("^"+M+"$"),Q={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+V+"*(even|odd|(([+-]|)(\\d*)n|)"+V+"*(?:([+-]|)"+V+"*(\\d+)|))"+V+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+V+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+V+"*((?:-\\d)?\\d*)"+V+"*\\)|)(?=[^-]|$)","i")},Z=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Y=new RegExp("\\\\([\\da-f]{1,6}"+V+"?|("+V+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},oe=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{N.apply(O=R.call(_.childNodes),_.childNodes)}catch(xe){N={apply:O.length?function(e,t){I.apply(e,R.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,r,o){var i,u,l,c,f,d,y,m=t&&t.ownerDocument,C=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return r;if(!o&&((t?t.ownerDocument||t:_)!==h&&p(t),t=t||h,v)){if(11!==C&&(f=X.exec(e)))if(i=f[1]){if(9===C){if(!(l=t.getElementById(i)))return r;if(l.id===i)return r.push(l),r}else if(m&&(l=m.getElementById(i))&&b(t,l)&&l.id===i)return r.push(l),r}else{if(f[2])return N.apply(r,t.getElementsByTagName(e)),r;if((i=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!T[e+" "]&&(!g||!g.test(e))){if(1!==C)m=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=w),u=(d=a(e)).length;u--;)d[u]="#"+c+" "+ye(d[u]);y=d.join(","),m=J.test(e)&&ve(t.parentNode)||t}if(y)try{return N.apply(r,m.querySelectorAll(y)),r}catch(x){}finally{c===w&&t.removeAttribute("id")}}}return s(e.replace(F,"$1"),t,r,o)}function ae(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ue(e){return e[w]=!0,e}function se(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(xe){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function de(e){return ue(function(t){return t=+t,ue(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ie.support={},i=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=ie.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:_;return a!==h&&9===a.nodeType&&a.documentElement?(d=(h=a).documentElement,v=!i(h),_!==h&&(o=h.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",re,!1):o.attachEvent&&o.attachEvent("onunload",re)),n.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=se(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=K.test(h.getElementsByClassName),n.getById=se(function(e){return d.appendChild(e).id=w,!h.getElementsByName||!h.getElementsByName(w).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Y,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Y,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&v)return t.getElementsByClassName(e)},y=[],g=[],(n.qsa=K.test(h.querySelectorAll))&&(se(function(e){d.appendChild(e).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+V+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+V+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+w+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]")}),se(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+V+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),d.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=K.test(m=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&se(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),y.push("!=",H)}),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),t=K.test(d.compareDocumentPosition),b=t||K.test(d.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},k=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===h||e.ownerDocument===_&&b(_,e)?-1:t===h||t.ownerDocument===_&&b(_,t)?1:c?D(c,e)-D(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],u=[t];if(!o||!i)return e===h?-1:t===h?1:o?-1:i?1:c?D(c,e)-D(c,t):0;if(o===i)return ce(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?ce(a[r],u[r]):a[r]===_?-1:u[r]===_?1:0},h):h},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==h&&p(e),t=t.replace(B,"='$1']"),n.matchesSelector&&v&&!T[t+" "]&&(!y||!y.test(t))&&(!g||!g.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(xe){}return ie(t,h,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==h&&p(e),b(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==h&&p(e);var o=r.attrHandle[t.toLowerCase()],i=o&&A.call(r.attrHandle,t.toLowerCase())?o(e,t,!v):void 0;return void 0!==i?i:n.attributes||!v?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ie.escape=function(e){return(e+"").replace(te,ne)},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],o=0,i=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(k),f){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return c=null,e},o=ie.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=ie.selectors={cacheLength:50,createPseudo:ue,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Y,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Y,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Y,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+V+")"+e+"("+V+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var o=ie.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),u="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,s){var l,c,f,p,h,d,v=i!==a?"nextSibling":"previousSibling",g=t.parentNode,y=u&&t.nodeName.toLowerCase(),m=!s&&!u,b=!1;if(g){if(i){for(;v;){for(p=t;p=p[v];)if(u?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=v="only"===e&&!d&&"nextSibling"}return!0}if(d=[a?g.firstChild:g.lastChild],a&&m){for(b=(h=(l=(c=(f=(p=g)[w]||(p[w]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===C&&l[1])&&l[2],p=h&&g.childNodes[h];p=++h&&p&&p[v]||(b=h=0)||d.pop();)if(1===p.nodeType&&++b&&p===t){c[e]=[C,h,b];break}}else if(m&&(b=h=(l=(c=(f=(p=t)[w]||(p[w]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===C&&l[1]),!1===b)for(;(p=++h&&p&&p[v]||(b=h=0)||d.pop())&&((u?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++b||(m&&((c=(f=p[w]||(p[w]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[C,b]),p!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return o[w]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ue(function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=D(e,i[a])]=!(n[r]=i[a])}):function(e){return o(e,0,n)}):o}},pseudos:{not:ue(function(e){var t=[],n=[],r=u(e.replace(F,"$1"));return r[w]?ue(function(e,t,n,o){for(var i,a=r(e,null,o,[]),u=e.length;u--;)(i=a[u])&&(e[u]=!(t[u]=i))}):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}}),has:ue(function(e){return function(t){return ie(e,t).length>0}}),contains:ue(function(e){return e=e.replace(Y,ee),function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:ue(function(e){return G.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(Y,ee).toLowerCase(),function(t){var n;do{if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:de(function(){return[0]}),last:de(function(e,t){return[t-1]}),eq:de(function(e,t,n){return[n<0?n+t:n]}),even:de(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:de(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:de(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:de(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ge(){}function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,u=x++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,s){var l,c,f,p=[C,u];if(s){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,s))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(f=t[w]||(t[w]={}))[t.uniqueID]||(f[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[i])&&l[0]===C&&l[1]===u)return p[2]=l[2];if(c[i]=p,p[2]=e(t,n,s))return!0}return!1}}function be(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,o){for(var i,a=[],u=0,s=e.length,l=null!=t;u<s;u++)(i=e[u])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(u)));return a}function _e(e,t,n,r,o,i){return r&&!r[w]&&(r=_e(r)),o&&!o[w]&&(o=_e(o,i)),ue(function(i,a,u,s){var l,c,f,p=[],h=[],d=a.length,v=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)ie(e,t[r],n);return n}(t||"*",u.nodeType?[u]:u,[]),g=!e||!i&&t?v:we(v,p,e,u,s),y=n?o||(i?e:d||r)?[]:a:g;if(n&&n(g,y,u,s),r)for(l=we(y,h),r(l,[],u,s),c=l.length;c--;)(f=l[c])&&(y[h[c]]=!(g[h[c]]=f));if(i){if(o||e){if(o){for(l=[],c=y.length;c--;)(f=y[c])&&l.push(g[c]=f);o(null,y=[],l,s)}for(c=y.length;c--;)(f=y[c])&&(l=o?D(i,f):p[c])>-1&&(i[l]=!(a[l]=f))}}else y=we(y===a?y.splice(d,y.length):y),o?o(null,a,y,s):N.apply(a,y)})}function Ce(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],u=a||r.relative[" "],s=a?1:0,c=me(function(e){return e===t},u,!0),f=me(function(e){return D(t,e)>-1},u,!0),p=[function(e,n,r){var o=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,o}];s<i;s++)if(n=r.relative[e[s].type])p=[me(be(p),n)];else{if((n=r.filter[e[s].type].apply(null,e[s].matches))[w]){for(o=++s;o<i&&!r.relative[e[o].type];o++);return _e(s>1&&be(p),s>1&&ye(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(F,"$1"),n,s<o&&Ce(e.slice(s,o)),o<i&&Ce(e=e.slice(o)),o<i&&ye(e))}p.push(n)}return be(p)}return ge.prototype=r.filters=r.pseudos,r.setFilters=new ge,a=ie.tokenize=function(e,t){var n,o,i,a,u,s,l,c=S[e+" "];if(c)return t?0:c.slice(0);for(u=e,s=[],l=r.preFilter;u;){for(a in n&&!(o=q.exec(u))||(o&&(u=u.slice(o[0].length)||u),s.push(i=[])),n=!1,(o=z.exec(u))&&(n=o.shift(),i.push({value:n,type:o[0].replace(F," ")}),u=u.slice(n.length)),r.filter)!(o=Q[a].exec(u))||l[a]&&!(o=l[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),u=u.slice(n.length));if(!n)break}return t?u.length:u?ie.error(e):S(e,s).slice(0)},u=ie.compile=function(e,t){var n,o=[],i=[],u=T[e+" "];if(!u){for(t||(t=a(e)),n=t.length;n--;)(u=Ce(t[n]))[w]?o.push(u):i.push(u);(u=T(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,u,s,c){var f,d,g,y=0,m="0",b=i&&[],w=[],_=l,x=i||o&&r.find.TAG("*",c),E=C+=null==_?1:Math.random()||.1,S=x.length;for(c&&(l=a===h||a||c);m!==S&&null!=(f=x[m]);m++){if(o&&f){for(d=0,a||f.ownerDocument===h||(p(f),u=!v);g=e[d++];)if(g(f,a||h,u)){s.push(f);break}c&&(C=E)}n&&((f=!g&&f)&&y--,i&&b.push(f))}if(y+=m,n&&m!==y){for(d=0;g=t[d++];)g(b,w,a,u);if(i){if(y>0)for(;m--;)b[m]||w[m]||(w[m]=P.call(s));w=we(w)}N.apply(s,w),c&&!i&&w.length>0&&y+t.length>1&&ie.uniqueSort(s)}return c&&(C=E,l=_),b};return n?ue(i):i}(i,o))).selector=e}return u},s=ie.select=function(e,t,n,o){var i,s,l,c,f,p="function"==typeof e&&e,h=!o&&a(e=p.selector||e);if(n=n||[],1===h.length){if((s=h[0]=h[0].slice(0)).length>2&&"ID"===(l=s[0]).type&&9===t.nodeType&&v&&r.relative[s[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Y,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(i=Q.needsContext.test(e)?0:s.length;i--&&!r.relative[c=(l=s[i]).type];)if((f=r.find[c])&&(o=f(l.matches[0].replace(Y,ee),J.test(s[0].type)&&ve(t.parentNode)||t))){if(s.splice(i,1),!(e=o.length&&ye(s)))return N.apply(n,o),n;break}}return(p||u(e,h))(o,t,!v,n,!t||J.test(e)&&ve(t.parentNode)||t),n},n.sortStable=w.split("").sort(k).join("")===w,n.detectDuplicates=!!f,p(),n.sortDetached=se(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),se(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&se(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||le(j,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ie}(n);x.find=T,x.expr=T.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=T.uniqueSort,x.text=T.getText,x.isXMLDoc=T.isXML,x.contains=T.contains,x.escapeSelector=T.escape;var k=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&x(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},O=x.expr.match.needsContext;function P(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,n){return m(t)?x.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return f.call(t,e)>-1!==n}):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t<r;t++)if(x.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)x.find(e,o[t],n);return r>1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,"string"==typeof e&&O.test(e)?x(e):e||[],!1).length}});var R,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||R,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:D.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(x.merge(this,x.parseHTML(r[1],(t=t instanceof x?t[0]:t)&&t.nodeType?t.ownerDocument||t:a,!0)),I.test(r[1])&&x.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=a.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,R=x(a);var j=/^(?:parents|prev(?:Until|All))/,V={children:!0,contents:!0,next:!0,prev:!0};function M(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&x(e);if(!O.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?x.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?f.call(x(e),this[0]):f.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return M(e,"nextSibling")},prev:function(e){return M(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return P(e,"iframe")?e.contentDocument:(P(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(e,t){x.fn[e]=function(n,r){var o=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=x.filter(r,o)),this.length>1&&(V[e]||x.uniqueSort(o),j.test(e)&&o.reverse()),this.pushStack(o)}});var L=/[^\x20\t\r\n\f]+/g;function H(e){return e}function U(e){throw e}function F(e,t,n,r){var o;try{e&&m(o=e.promise)?o.call(e).done(t).fail(n):e&&m(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(L)||[],function(e,n){t[n]=!0}),t}(e):x.extend({},e);var t,n,r,o,i=[],a=[],u=-1,s=function(){for(o=o||e.once,r=t=!0;a.length;u=-1)for(n=a.shift();++u<i.length;)!1===i[u].apply(n[0],n[1])&&e.stopOnFalse&&(u=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},l={add:function(){return i&&(n&&!t&&(u=i.length-1,a.push(n)),function t(n){x.each(n,function(n,r){m(r)?e.unique&&l.has(r)||i.push(r):r&&r.length&&"string"!==C(r)&&t(r)})}(arguments),n&&!t&&s()),this},remove:function(){return x.each(arguments,function(e,t){for(var n;(n=x.inArray(t,i,n))>-1;)i.splice(n,1),n<=u&&u--}),this},has:function(e){return e?x.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||s()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,r){var o=m(e[r[4]])&&e[r[4]];i[r[1]](function(){var e=o&&o.apply(this,arguments);e&&m(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,r,o){var i=0;function a(e,t,r,o){return function(){var u=this,s=arguments,l=function(){var n,l;if(!(e<i)){if((n=r.apply(u,s))===t.promise())throw new TypeError("Thenable self-resolution");m(l=n&&("object"==typeof n||"function"==typeof n)&&n.then)?o?l.call(n,a(i,t,H,o),a(i,t,U,o)):l.call(n,a(++i,t,H,o),a(i,t,U,o),a(i,t,H,t.notifyWith)):(r!==H&&(u=void 0,s=[n]),(o||t.resolveWith)(u,s))}},c=o?l:function(){try{l()}catch(n){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(n,c.stackTrace),e+1>=i&&(r!==U&&(u=void 0,s=[n]),t.rejectWith(u,s))}};e?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),n.setTimeout(c))}}return x.Deferred(function(n){t[0][3].add(a(0,n,m(o)?o:H,n.notifyWith)),t[1][3].add(a(0,n,m(e)?e:H)),t[2][3].add(a(0,n,m(r)?r:U))}).promise()},promise:function(e){return null!=e?x.extend(e,o):o}},i={};return x.each(t,function(e,n){var a=n[2],u=n[5];o[n[1]]=a.add,u&&a.add(function(){r=u},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith}),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=x.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(F(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||m(o[n]&&o[n].then)))return i.then();for(;n--;)F(o[n],a(n),i.reject);return i.promise()}});var q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&q.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){n.setTimeout(function(){throw e})};var z=x.Deferred();function B(){a.removeEventListener("DOMContentLoaded",B),n.removeEventListener("load",B),x.ready()}x.fn.ready=function(e){return z.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||z.resolveWith(a,[x]))}}),x.ready.then=z.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(x.ready):(a.addEventListener("DOMContentLoaded",B),n.addEventListener("load",B));var W=function(e,t,n,r,o,i,a){var u=0,s=e.length,l=null==n;if("object"===C(n))for(u in o=!0,n)W(e,t,u,n[u],!0,i,a);else if(void 0!==r&&(o=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;u<s;u++)t(e[u],n,a?r:r.call(e[u],u,t(e[u],n)));return o?e:l?t.call(e):s?t(e[0],n):i},G=/^-ms-/,Q=/-([a-z])/g;function Z(e,t){return t.toUpperCase()}function $(e){return e.replace(G,"ms-").replace(Q,Z)}var K=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=x.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},K(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[$(t)]=n;else for(r in t)o[$(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][$(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map($):(t=$(t))in r?[t]:t.match(L)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||x.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!x.isEmptyObject(t)}};var J=new X,Y=new X,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(o){}Y.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return Y.hasData(e)||J.hasData(e)},data:function(e,t,n){return Y.access(e,t,n)},removeData:function(e,t){Y.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Y.get(i),1===i.nodeType&&!J.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=$(r.slice(5)),ne(i,r,o[r]));J.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Y.set(this,e)}):W(this,function(t){var n;if(i&&void 0===t)return void 0!==(n=Y.get(i,e))?n:void 0!==(n=ne(i,e))?n:void 0;this.each(function(){Y.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Y.remove(this,e)})}}),x.extend({queue:function(e,t,n){var r;if(e)return r=J.get(e,t=(t||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=J.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){var n=x.queue(e,t=t||"fx"),r=n.length,o=n.shift(),i=x._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,function(){x.dequeue(e,t)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:x.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?x.queue(this[0],e):void 0===t?this:this.each(function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=x.Deferred(),i=this,a=this.length,u=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=J.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(u));return u(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&x.contains(e.ownerDocument,e)&&"none"===x.css(e,"display")},ue=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in o=n.apply(e,r||[]),t)e.style[i]=a[i];return o};function se(e,t,n,r){var o,i,a=20,u=r?function(){return r.cur()}:function(){return x.css(e,t,"")},s=u(),l=n&&n[3]||(x.cssNumber[t]?"":"px"),c=(x.cssNumber[t]||"px"!==l&&+s)&&oe.exec(x.css(e,t));if(c&&c[3]!==l){for(l=l||c[3],c=+(s/=2)||1;a--;)x.style(e,t,c+l),(1-i)*(1-(i=u()/s||.5))<=0&&(a=0),c/=i;x.style(e,t,(c*=2)+l),n=n||[]}return n&&(c=+c||+s||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=o)),o}var le={};function ce(e){var t,n=e.ownerDocument,r=e.nodeName,o=le[r];return o||(t=n.body.appendChild(n.createElement(r)),o=x.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),le[r]=o,o)}function fe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=J.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ae(r)&&(o[i]=ce(r))):"none"!==n&&(o[i]="none",J.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}x.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?x(this).show():x(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,he=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,de=/^$|^module$|\/(?:java|ecma)script/i,ve={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&P(e,t)?x.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}ve.optgroup=ve.option,ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td;var me,be,we=/<|&#?\w+;/;function _e(e,t,n,r,o){for(var i,a,u,s,l,c,f=t.createDocumentFragment(),p=[],h=0,d=e.length;h<d;h++)if((i=e[h])||0===i)if("object"===C(i))x.merge(p,i.nodeType?[i]:i);else if(we.test(i)){for(a=a||f.appendChild(t.createElement("div")),u=(he.exec(i)||["",""])[1].toLowerCase(),a.innerHTML=(s=ve[u]||ve._default)[1]+x.htmlPrefilter(i)+s[2],c=s[0];c--;)a=a.lastChild;x.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(i));for(f.textContent="",h=0;i=p[h++];)if(r&&x.inArray(i,r)>-1)o&&o.push(i);else if(l=x.contains(i.ownerDocument,i),a=ge(f.appendChild(i),"script"),l&&ye(a),n)for(c=0;i=a[c++];)de.test(i.type||"")&&n.push(i);return f}me=a.createDocumentFragment().appendChild(a.createElement("div")),(be=a.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),me.appendChild(be),y.checkClone=me.cloneNode(!0).cloneNode(!0).lastChild.checked,me.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Ce=a.documentElement,xe=/^key/,Ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Se=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function ke(){return!1}function Ae(){try{return a.activeElement}catch(e){}}function Oe(e,t,n,r,o,i){var a,u;if("object"==typeof t){for(u in"string"!=typeof n&&(r=r||n,n=void 0),t)Oe(e,u,n,r,t[u],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=ke;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return x().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),e.each(function(){x.event.add(this,t,o,r,n)})}x.event={global:{},add:function(e,t,n,r,o){var i,a,u,s,l,c,f,p,h,d,v,g=J.get(e);if(g)for(n.handler&&(n=(i=n).handler,o=i.selector),o&&x.find.matchesSelector(Ce,o),n.guid||(n.guid=x.guid++),(s=g.events)||(s=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(L)||[""]).length;l--;)h=v=(u=Se.exec(t[l])||[])[1],d=(u[2]||"").split(".").sort(),h&&(f=x.event.special[h]||{},f=x.event.special[h=(o?f.delegateType:f.bindType)||h]||{},c=x.extend({type:h,origType:v,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:d.join(".")},i),(p=s[h])||((p=s[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,d,a)||e.addEventListener&&e.addEventListener(h,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,c):p.push(c),x.event.global[h]=!0)},remove:function(e,t,n,r,o){var i,a,u,s,l,c,f,p,h,d,v,g=J.hasData(e)&&J.get(e);if(g&&(s=g.events)){for(l=(t=(t||"").match(L)||[""]).length;l--;)if(h=v=(u=Se.exec(t[l])||[])[1],d=(u[2]||"").split(".").sort(),h){for(f=x.event.special[h]||{},p=s[h=(r?f.delegateType:f.bindType)||h]||[],u=u[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)c=p[i],!o&&v!==c.origType||n&&n.guid!==c.guid||u&&!u.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(i,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,d,g.handle)||x.removeEvent(e,h,g.handle),delete s[h])}else for(h in s)x.event.remove(e,h+t[l],n,r,!0);x.isEmptyObject(s)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,u=x.event.fix(e),s=new Array(arguments.length),l=(J.get(this,"events")||{})[u.type]||[],c=x.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=x.event.handlers.call(this,u,l),t=0;(o=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!u.rnamespace.test(i.namespace)||(u.handleObj=i,u.data=i.data,void 0!==(r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,o,i,a,u=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(i=[],a={},n=0;n<s;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?x(o,this).index(l)>-1:x.find(o,this,null,[l]).length),a[o]&&i.push(r);i.length&&u.push({elem:l,handlers:i})}return l=this,s<t.length&&u.push({elem:l,handlers:t.slice(s)}),u},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Ae()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Ae()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&P(this,"input"))return this.click(),!1},_default:function(e){return P(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Te:ke,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&xe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ee.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},x.event.addProp),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||x.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.fn.extend({on:function(e,t,n,r){return Oe(this,e,t,n,r)},one:function(e,t,n,r){return Oe(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ke),this.each(function(){x.event.remove(this,e,n,t)})}});var Pe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ie=/<script|<style|<link/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,Re=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function De(e,t){return P(e,"table")&&P(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ve(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,o,i,a,u,s,l;if(1===t.nodeType){if(J.hasData(e)&&(i=J.access(e),a=J.set(t,i),l=i.events))for(o in delete a.handle,a.events={},l)for(n=0,r=l[o].length;n<r;n++)x.event.add(t,o,l[o][n]);Y.hasData(e)&&(u=Y.access(e),s=x.extend({},u),Y.set(t,s))}}function Le(e,t,n,r){t=l.apply([],t);var o,i,a,u,s,c,f=0,p=e.length,h=p-1,d=t[0],v=m(d);if(v||p>1&&"string"==typeof d&&!y.checkClone&&Ne.test(d))return e.each(function(o){var i=e.eq(o);v&&(t[0]=d.call(this,o,i.html())),Le(i,t,n,r)});if(p&&(i=(o=_e(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(u=(a=x.map(ge(o,"script"),je)).length;f<p;f++)s=o,f!==h&&(s=x.clone(s,!0,!0),u&&x.merge(a,ge(s,"script"))),n.call(e[f],s,f);if(u)for(c=a[a.length-1].ownerDocument,x.map(a,Ve),f=0;f<u;f++)de.test((s=a[f]).type||"")&&!J.access(s,"globalEval")&&x.contains(c,s)&&(s.src&&"module"!==(s.type||"").toLowerCase()?x._evalUrl&&x._evalUrl(s.src):_(s.textContent.replace(Re,""),c,s))}return e}function He(e,t,n){for(var r,o=t?x.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||x.cleanData(ge(r)),r.parentNode&&(n&&x.contains(r.ownerDocument,r)&&ye(ge(r,"script")),r.parentNode.removeChild(r));return e}x.extend({htmlPrefilter:function(e){return e.replace(Pe,"<$1></$2>")},clone:function(e,t,n){var r,o,i,a,u,s,l,c=e.cloneNode(!0),f=x.contains(e.ownerDocument,e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(a=ge(c),r=0,o=(i=ge(e)).length;r<o;r++)u=i[r],"input"===(l=(s=a[r]).nodeName.toLowerCase())&&pe.test(u.type)?s.checked=u.checked:"input"!==l&&"textarea"!==l||(s.defaultValue=u.defaultValue);if(t)if(n)for(i=i||ge(e),a=a||ge(c),r=0,o=i.length;r<o;r++)Me(i[r],a[r]);else Me(e,c);return(a=ge(c,"script")).length>0&&ye(a,!f&&ge(e,"script")),c},cleanData:function(e){for(var t,n,r,o=x.event.special,i=0;void 0!==(n=e[i]);i++)if(K(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)o[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[Y.expando]&&(n[Y.expando]=void 0)}}}),x.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return W(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Le(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||De(this,e).appendChild(e)})},prepend:function(){return Le(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=De(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Le(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Le(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return W(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ie.test(e)&&!ve[(he.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(x.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Le(this,arguments,function(t){var n=this.parentNode;x.inArray(this,e)<0&&(x.cleanData(ge(this)),n&&n.replaceChild(t,this))},e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){for(var n,r=[],o=x(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),x(o[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}});var Ue=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Fe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},qe=new RegExp(ie.join("|"),"i");function ze(e,t,n){var r,o,i,a,u=e.style;return(n=n||Fe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||x.contains(e.ownerDocument,e)||(a=x.style(e,t)),!y.pixelBoxStyles()&&Ue.test(a)&&qe.test(t)&&(r=u.width,o=u.minWidth,i=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=o,u.maxWidth=i)),void 0!==a?a+"":a}function Be(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ce.appendChild(l).appendChild(c);var e=n.getComputedStyle(c);r="1%"!==e.top,s=12===t(e.marginLeft),c.style.right="60%",u=36===t(e.right),o=36===t(e.width),c.style.position="absolute",i=36===c.offsetWidth||"absolute",Ce.removeChild(l),c=null}}function t(e){return Math.round(parseFloat(e))}var r,o,i,u,s,l=a.createElement("div"),c=a.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===c.style.backgroundClip,x.extend(y,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),u},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i}}))}();var We=/^(none|table(?!-c[ea]).+)/,Ge=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Ze={letterSpacing:"0",fontWeight:"400"},$e=["Webkit","Moz","ms"],Ke=a.createElement("div").style;function Xe(e){var t=x.cssProps[e];return t||(t=x.cssProps[e]=function(e){if(e in Ke)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=$e.length;n--;)if((e=$e[n]+t)in Ke)return e}(e)||e),t}function Je(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ye(e,t,n,r,o,i){var a="width"===t?1:0,u=0,s=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(s+=x.css(e,n+ie[a],!0,o)),r?("content"===n&&(s-=x.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(s-=x.css(e,"border"+ie[a]+"Width",!0,o))):(s+=x.css(e,"padding"+ie[a],!0,o),"padding"!==n?s+=x.css(e,"border"+ie[a]+"Width",!0,o):u+=x.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-s-u-.5))),s}function et(e,t,n){var r=Fe(e),o=ze(e,t,r),i="border-box"===x.css(e,"boxSizing",!1,r),a=i;if(Ue.test(o)){if(!n)return o;o="auto"}return a=a&&(y.boxSizingReliable()||o===e.style[t]),("auto"===o||!parseFloat(o)&&"inline"===x.css(e,"display",!1,r))&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(o=parseFloat(o)||0)+Ye(e,t,n||(i?"border":"content"),a,r,o)+"px"}function tt(e,t,n,r,o){return new tt.prototype.init(e,t,n,r,o)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,u=$(t),s=Ge.test(t),l=e.style;if(s||(t=Xe(u)),a=x.cssHooks[t]||x.cssHooks[u],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:l[t];"string"==(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=se(e,t,o),i="number"),null!=n&&n==n&&("number"===i&&(n+=o&&o[3]||(x.cssNumber[u]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(s?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var o,i,a,u=$(t);return Ge.test(t)||(t=Xe(u)),(a=x.cssHooks[t]||x.cssHooks[u])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=ze(e,t,r)),"normal"===o&&t in Ze&&(o=Ze[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!We.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):ue(e,Qe,function(){return et(e,t,r)})},set:function(e,n,r){var o,i=Fe(e),a="border-box"===x.css(e,"boxSizing",!1,i),u=r&&Ye(e,t,r,a,i);return a&&y.scrollboxSize()===i.position&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-Ye(e,t,"border",!1,i)-.5)),u&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),Je(0,n,u)}}}),x.cssHooks.marginLeft=Be(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(x.cssHooks[e+t].set=Je)}),x.fn.extend({css:function(e,t){return W(this,function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Fe(e),o=t.length;a<o;a++)i[t[a]]=x.css(e,t[a],!1,r);return i}return void 0!==n?x.style(e,t,n):x.css(e,t)},e,t,arguments.length>1)}}),x.Tween=tt,(tt.prototype={constructor:tt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(x.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}}).init.prototype=tt.prototype,(tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[x.cssProps[e.prop]]&&!x.cssHooks[e.prop]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=tt.prototype.init,x.fx.step={};var nt,rt,ot=/^(?:toggle|show|hide)$/,it=/queueHooks$/;function at(){rt&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,x.fx.interval),x.fx.tick())}function ut(){return n.setTimeout(function(){nt=void 0}),nt=Date.now()}function st(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function lt(e,t,n){for(var r,o=(ct.tweeners[t]||[]).concat(ct.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function ct(e,t,n){var r,o,i=0,a=ct.prefilters.length,u=x.Deferred().always(function(){delete s.elem}),s=function(){if(o)return!1;for(var t=nt||ut(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),i=0,a=l.tweens.length;i<a;i++)l.tweens[i].run(r);return u.notifyWith(e,[l,r,n]),r<1&&a?n:(a||u.notifyWith(e,[l,1,0]),u.resolveWith(e,[l]),!1)},l=u.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)l.tweens[n].run(1);return t?(u.notifyWith(e,[l,1,0]),u.resolveWith(e,[l,t])):u.rejectWith(e,[l,t]),this}}),c=l.props;for(function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=$(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=x.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(c,l.opts.specialEasing);i<a;i++)if(r=ct.prefilters[i].call(l,e,c,l.opts))return m(r.stop)&&(x._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return x.map(c,lt,l),m(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),x.fx.timer(x.extend(s,{elem:e,anim:l,queue:l.opts.queue})),l}x.Animation=x.extend(ct,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(L);for(var n,r=0,o=e.length;r<o;r++)(ct.tweeners[n=e[r]]=ct.tweeners[n]||[]).unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,u,s,l,c,f="width"in t||"height"in t,p=this,h={},d=e.style,v=e.nodeType&&ae(e),g=J.get(e,"fxshow");for(r in n.queue||(null==(a=x._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,x.queue(e,"fx").length||a.empty.fire()})})),t)if(ot.test(o=t[r])){if(delete t[r],i=i||"toggle"===o,o===(v?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;v=!0}h[r]=g&&g[r]||x.style(e,r)}if((s=!x.isEmptyObject(t))||!x.isEmptyObject(h))for(r in f&&1===e.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],null==(l=g&&g.display)&&(l=J.get(e,"display")),"none"===(c=x.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=x.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===x.css(e,"float")&&(s||(p.done(function(){d.display=l}),null==l&&(l="none"===(c=d.display)?"":c)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",p.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),s=!1,h)s||(g?"hidden"in g&&(v=g.hidden):g=J.access(e,"fxshow",{display:l}),i&&(g.hidden=!v),v&&fe([e],!0),p.done(function(){for(r in v||fe([e]),J.remove(e,"fxshow"),h)x.style(e,r,h[r])})),s=lt(v?g[r]:0,r,p),r in g||(g[r]=s.start,v&&(s.end=s.start,s.start=0))}],prefilter:function(e,t){t?ct.prefilters.unshift(e):ct.prefilters.push(e)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return x.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration=r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=x.isEmptyObject(e),i=x.speed(t,n,r),a=function(){var t=ct(this,x.extend({},e),i);(o||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=x.timers,a=J.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&it.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||x.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(st(t,!0),e,r,o)}}),x.each({slideDown:st("show"),slideUp:st("hide"),slideToggle:st("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),nt=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){rt||(rt=!0,at())},x.fx.stop=function(){rt=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(e,t){return e=x.fx&&x.fx.speeds[e]||e,this.queue(t=t||"fx",function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}})},function(){var e=a.createElement("input"),t=a.createElement("select").appendChild(a.createElement("option"));e.type="checkbox",y.checkOn=""!==e.value,y.optSelected=t.selected,(e=a.createElement("input")).value="t",e.type="radio",y.radioValue="t"===e.value}();var ft,pt=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return W(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?x.prop(e,t,n):(1===i&&x.isXMLDoc(e)||(o=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&P(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(L);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=pt[t]||x.find.attr;pt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=pt[a],pt[a]=o,o=null!=n(e,t,r)?a:null,pt[a]=i),o}});var ht=/^(?:input|select|textarea|button)$/i,dt=/^(?:a|area)$/i;function vt(e){return(e.match(L)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function yt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(L)||[]}x.fn.extend({prop:function(e,t){return W(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&x.isXMLDoc(e)||(o=x.propHooks[t=x.propFix[t]||t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||dt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(x.propHooks.selected={get:function(e){return null},set:function(e){}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,r,o,i,a,u,s=0;if(m(e))return this.each(function(t){x(this).addClass(e.call(this,t,gt(this)))});if((t=yt(e)).length)for(;n=this[s++];)if(o=gt(n),r=1===n.nodeType&&" "+vt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(u=vt(r))&&n.setAttribute("class",u)}return this},removeClass:function(e){var t,n,r,o,i,a,u,s=0;if(m(e))return this.each(function(t){x(this).removeClass(e.call(this,t,gt(this)))});if(!arguments.length)return this.attr("class","");if((t=yt(e)).length)for(;n=this[s++];)if(o=gt(n),r=1===n.nodeType&&" "+vt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(u=vt(r))&&n.setAttribute("class",u)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):m(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,gt(this),t),t)}):this.each(function(){var t,o,i,a;if(r)for(o=0,i=x(this),a=yt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+vt(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var mt=/\r/g;x.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=m(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,x(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(mt,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:vt(x.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,u=a?null:[],s=a?i+1:o.length;for(r=i<0?s:a?i:0;r<s;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!P(n.parentNode,"optgroup"))){if(t=x(n).val(),a)return t;u.push(t)}return u},set:function(e,t){for(var n,r,o=e.options,i=x.makeArray(t),a=o.length;a--;)((r=o[a]).selected=x.inArray(x.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},y.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in n;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,r,o){var i,u,s,l,c,f,p,h,v=[r||a],g=d.call(e,"type")?e.type:e,y=d.call(e,"namespace")?e.namespace.split("."):[];if(u=h=s=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!bt.test(g+x.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[x.expando]?e:new x.Event(g,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:x.makeArray(t,[e]),p=x.event.special[g]||{},o||!p.trigger||!1!==p.trigger.apply(r,t))){if(!o&&!p.noBubble&&!b(r)){for(bt.test((l=p.delegateType||g)+g)||(u=u.parentNode);u;u=u.parentNode)v.push(u),s=u;s===(r.ownerDocument||a)&&v.push(s.defaultView||s.parentWindow||n)}for(i=0;(u=v[i++])&&!e.isPropagationStopped();)h=u,e.type=i>1?l:p.bindType||g,(f=(J.get(u,"events")||{})[e.type]&&J.get(u,"handle"))&&f.apply(u,t),(f=c&&u[c])&&f.apply&&K(u)&&(e.result=f.apply(u,t),!1===e.result&&e.preventDefault());return e.type=g,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(v.pop(),t)||!K(r)||c&&m(r[g])&&!b(r)&&((s=r[c])&&(r[c]=null),x.event.triggered=g,e.isPropagationStopped()&&h.addEventListener(g,wt),r[g](),e.isPropagationStopped()&&h.removeEventListener(g,wt),x.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),y.focusin||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=J.access(r,t);o||r.addEventListener(e,n,!0),J.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=J.access(r,t)-1;o?J.access(r,t,o):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var _t=n.location,Ct=Date.now(),xt=/\?/;x.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(r){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+e),t};var Et=/\[\]$/,St=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,kt=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var o;if(Array.isArray(t))x.each(t,function(t,o){n||Et.test(e)?r(e,o):At(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==C(t))r(e,t);else for(o in t)At(e+"["+o+"]",t[o],n,r)}x.param=function(e,t){var n,r=[],o=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(n in e)At(n,e[n],t,o);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&kt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}});var Ot=/%20/g,Pt=/#.*$/,It=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Dt=/^\/\//,jt={},Vt={},Mt="*/".concat("*"),Lt=a.createElement("a");function Ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(L)||[];if(m(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ut(e,t,n,r){var o={},i=e===Vt;function a(u){var s;return o[u]=!0,x.each(e[u]||[],function(e,u){var l=u(t,n,r);return"string"!=typeof l||i||o[l]?i?!(s=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),s}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Ft(e,t){var n,r,o=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}Lt.href=_t.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Mt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ft(Ft(e,x.ajaxSettings),t):Ft(x.ajaxSettings,e)},ajaxPrefilter:Ht(jt),ajaxTransport:Ht(Vt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var r,o,i,u,s,l,c,f,p,h,d=x.ajaxSetup({},t=t||{}),v=d.context||d,g=d.context&&(v.nodeType||v.jquery)?x(v):x.event,y=x.Deferred(),m=x.Callbacks("once memory"),b=d.statusCode||{},w={},_={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!u)for(u={};t=Nt.exec(i);)u[t[1].toLowerCase()]=t[2];t=u[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),S(0,t),this}};if(y.promise(E),d.url=((e||d.url||_t.href)+"").replace(Dt,_t.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(L)||[""],null==d.crossDomain){l=a.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=Lt.protocol+"//"+Lt.host!=l.protocol+"//"+l.host}catch(T){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=x.param(d.data,d.traditional)),Ut(jt,d,t,E),c)return E;for(p in(f=x.event&&d.global)&&0==x.active++&&x.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Rt.test(d.type),o=d.url.replace(Pt,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Ot,"+")):(h=d.url.slice(o.length),d.data&&(d.processData||"string"==typeof d.data)&&(o+=(xt.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(o=o.replace(It,"$1"),h=(xt.test(o)?"&":"?")+"_="+Ct+++h),d.url=o+h),d.ifModified&&(x.lastModified[o]&&E.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&E.setRequestHeader("If-None-Match",x.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&E.setRequestHeader("Content-Type",d.contentType),E.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Mt+"; q=0.01":""):d.accepts["*"]),d.headers)E.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(!1===d.beforeSend.call(v,E,d)||c))return E.abort();if(C="abort",m.add(d.complete),E.done(d.success),E.fail(d.error),r=Ut(Vt,d,t,E)){if(E.readyState=1,f&&g.trigger("ajaxSend",[E,d]),c)return E;d.async&&d.timeout>0&&(s=n.setTimeout(function(){E.abort("timeout")},d.timeout));try{c=!1,r.send(w,S)}catch(T){if(c)throw T;S(-1,T)}}else S(-1,"No Transport");function S(e,t,a,u){var l,p,h,w,_,C=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,i=u||"",E.readyState=e>0?4:0,l=e>=200&&e<300||304===e,a&&(w=function(e,t,n){for(var r,o,i,a,u=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in u)if(u[o]&&u[o].test(r)){s.unshift(o);break}if(s[0]in n)i=s[0];else{for(o in n){if(!s[0]||e.converters[o+" "+s[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==s[0]&&s.unshift(i),n[i]}(d,E,a)),w=function(e,t,n,r){var o,i,a,u,s,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!s&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=i,i=c.shift())if("*"===i)i=s;else if("*"!==s&&s!==i){if(!(a=l[s+" "+i]||l["* "+i]))for(o in l)if((u=o.split(" "))[1]===i&&(a=l[s+" "+u[0]]||l["* "+u[0]])){!0===a?a=l[o]:!0!==l[o]&&(i=u[0],c.unshift(u[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(T){return{state:"parsererror",error:a?T:"No conversion from "+s+" to "+i}}}return{state:"success",data:t}}(d,w,E,l),l?(d.ifModified&&((_=E.getResponseHeader("Last-Modified"))&&(x.lastModified[o]=_),(_=E.getResponseHeader("etag"))&&(x.etag[o]=_)),204===e||"HEAD"===d.type?C="nocontent":304===e?C="notmodified":(C=w.state,p=w.data,l=!(h=w.error))):(h=C,!e&&C||(C="error",e<0&&(e=0))),E.status=e,E.statusText=(t||C)+"",l?y.resolveWith(v,[p,C,E]):y.rejectWith(v,[E,C,h]),E.statusCode(b),b=void 0,f&&g.trigger(l?"ajaxSuccess":"ajaxError",[E,d,l?p:h]),m.fireWith(v,[E,C]),f&&(g.trigger("ajaxComplete",[E,d]),--x.active||x.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,r,o){return m(n)&&(o=o||r,r=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:o,data:n,success:r},x.isPlainObject(e)&&e))}}),x._evalUrl=function(e){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return m(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},zt=x.ajaxSettings.xhr();y.cors=!!zt&&"withCredentials"in zt,y.ajax=zt=!!zt,x.ajaxTransport(function(e){var t,r;if(y.cors||zt&&!e.crossDomain)return{send:function(o,i){var a,u=e.xhr();if(u.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)u[a]=e.xhrFields[a];for(a in e.mimeType&&u.overrideMimeType&&u.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)u.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===e?u.abort():"error"===e?"number"!=typeof u.status?i(0,"error"):i(u.status,u.statusText):i(qt[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=t(),r=u.onerror=u.ontimeout=t("error"),void 0!==u.onabort?u.onabort=r:u.onreadystatechange=function(){4===u.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{u.send(e.hasContent&&e.data||null)}catch(s){if(t)throw s}},abort:function(){t&&t()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,o){t=x("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),a.head.appendChild(t[0])},abort:function(){n&&n()}}});var Bt,Wt=[],Gt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||x.expando+"_"+Ct++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(e,t,r){var o,i,a,u=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");if(u||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,u?e[u]=e[u].replace(Gt,"$1"+o):!1!==e.jsonp&&(e.url+=(xt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||x.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always(function(){void 0===i?x(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Wt.push(o)),a&&m(i)&&i(a[0]),a=i=void 0}),"script"}),y.createHTMLDocument=((Bt=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Bt.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,t.head.appendChild(r)):t=a),i=!n&&[],(o=I.exec(e))?[t.createElement(o[1])]:(o=_e([e],t,i),i&&i.length&&x(i).remove(),x.merge([],o.childNodes)));var r,o,i},x.fn.load=function(e,t,n){var r,o,i,a=this,u=e.indexOf(" ");return u>-1&&(r=vt(e.slice(u)),e=e.slice(0,u)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&x.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.expr.pseudos.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length},x.offset={setOffset:function(e,t,n){var r,o,i,a,u,s,l=x.css(e,"position"),c=x(e),f={};"static"===l&&(e.style.position="relative"),u=c.offset(),i=x.css(e,"top"),s=x.css(e,"left"),("absolute"===l||"fixed"===l)&&(i+s).indexOf("auto")>-1?(a=(r=c.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(s)||0),m(t)&&(t=t.call(e,n,x.extend({},u))),null!=t.top&&(f.top=t.top-u.top+a),null!=t.left&&(f.left=t.left-u.left+o),"using"in t?t.using.call(e,f):c.css(f)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){x.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?{top:(t=r.getBoundingClientRect()).top+(n=r.ownerDocument.defaultView).pageYOffset,left:t.left+n.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===x.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),o.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-x.css(r,"marginTop",!0),left:t.left-o.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||Ce})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;x.fn[e]=function(r){return W(this,function(e,r,o){var i;if(b(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o},e,r,arguments.length)}}),x.each(["top","left"],function(e,t){x.cssHooks[t]=Be(y.pixelPosition,function(e,n){if(n)return n=ze(e,t),Ue.test(n)?x(e).position()[t]+"px":n})}),x.each({Height:"height",Width:"width"},function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){x.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),u=n||(!0===o||!0===i?"margin":"border");return W(this,function(t,n,o){var i;return b(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?x.css(t,n,u):x.style(t,n,o,u)},t,a?o:void 0,a)}})}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),x.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||x.guid++,o},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=P,x.isFunction=m,x.isWindow=b,x.camelCase=$,x.type=C,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(r=(function(){return x}).apply(t,[]))||(e.exports=r);var Qt=n.jQuery,Zt=n.$;return x.noConflict=function(e){return n.$===x&&(n.$=Zt),e&&n.jQuery===x&&(n.jQuery=Qt),x},o||(n.jQuery=n.$=x),x})},crnd:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},zUnb:function(e,t,n){"use strict";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function s(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e}var f=Array.isArray||function(e){return e&&"number"==typeof e.length};function p(e){return null!=e&&"object"==typeof e}function h(e){return"function"==typeof e}var d,v={e:{}};function g(){try{return d.apply(this,arguments)}catch(e){return v.e=e,v}}function y(e){return d=e,g}function m(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}m.prototype=Object.create(Error.prototype);var b=m,w=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,u=r?r.length:0;n;)n.remove(this),n=++a<u&&r[a]||null;if(h(o)&&y(o).call(this)===v&&(t=!0,e=e||(v.e instanceof b?_(v.e.errors):[v.e])),f(i))for(a=-1,u=i.length;++a<u;){var s=i[a];if(p(s)&&y(s.unsubscribe).call(s)===v){t=!0,e=e||[];var l=v.e;l instanceof b?e=e.concat(_(l.errors)):e.push(l)}}if(t)throw new b(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function _(e){return e.reduce(function(e,t){return e.concat(t instanceof b?t.errors:t)},[])}var C=!1,x={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){C=e},get useDeprecatedSynchronousErrorHandling(){return C}};function E(e){setTimeout(function(){throw e})}var S={closed:!0,next:function(e){},error:function(e){if(x.useDeprecatedSynchronousErrorHandling)throw e;E(e)},complete:function(){}},T="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),k=function(e){function t(n,r,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,i._parentSubscription=null,arguments.length){case 0:i.destination=S;break;case 1:if(!n){i.destination=S;break}if("object"==typeof n){n instanceof t?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new A(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new A(i,n,r,o)}return i}return o(t,e),t.prototype[T]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this._parentSubscription=null,this},t}(w),A=function(e){function t(t,n,r,o){var i,a=e.call(this)||this;a._parentSubscriber=t;var u=a;return h(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==S&&(h((u=Object.create(n)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=i,a._error=r,a._complete=o,a}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;x.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=x.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):E(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;E(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};x.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),x.useDeprecatedSynchronousErrorHandling)throw n;E(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!x.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return x.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(E(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(k),O="function"==typeof Symbol&&Symbol.observable||"@@observable";function P(){}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return N(e)}function N(e){return e?1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}:P}var R=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=function(e,t,n){if(e){if(e instanceof k)return e;if(e[T])return e[T]()}return e||t||n?new k(e,t,n):new k(S)}(e,t,n);if(r?r.call(o,this.source):o.add(this.source||x.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),x.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){x.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof k?t:null}return!0}(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=D(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(n){r(n),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[O]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:N(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=D(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function D(e){if(e||(e=x.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function j(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}j.prototype=Object.create(Error.prototype);var V=j,M=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return o(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(w),L=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(k),H=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype[T]=function(){return new L(this)},t.prototype.lift=function(e){var t=new U(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new V;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new V;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new V;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new V;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new V;return this.hasError?(e.error(this.thrownError),w.EMPTY):this.isStopped?(e.complete(),w.EMPTY):(this.observers.push(e),new M(this,e))},t.prototype.asObservable=function(){var e=new R;return e.source=this,e},t.create=function(e,t){return new U(e,t)},t}(R),U=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return o(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):w.EMPTY},t}(H);function F(e){return e&&"function"==typeof e.schedule}var q=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(k),z=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}},B=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,E),t}};function W(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var G=W(),Q=function(e){return function(t){for(var n=e[G]();;){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}},Z=function(e){return function(t){var n=e[O]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},$=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function K(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var X=function(e){if(e instanceof R)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[O])return Z(e);if($(e))return z(e);if(K(e))return B(e);if(e&&"function"==typeof e[G])return Q(e);var t=p(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function J(e,t,n,r,o){if(void 0===o&&(o=new q(e,n,r)),!o.closed)return X(t)(o)}var Y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(k);function ee(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new te(e,t))}}var te=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new ne(e,this.project,this.thisArg))},e}(),ne=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(k);function re(e,t){return new R(t?function(n){var r=new w,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:z(e))}function oe(e,t){if(!t)return e instanceof R?e:new R(X(e));if(null!=e){if(function(e){return e&&"function"==typeof e[O]}(e))return function(e,t){return new R(t?function(n){var r=new w;return r.add(t.schedule(function(){var o=e[O]();r.add(o.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r}:Z(e))}(e,t);if(K(e))return function(e,t){return new R(t?function(n){var r=new w;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r}:B(e))}(e,t);if($(e))return re(e,t);if(function(e){return e&&"function"==typeof e[G]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new R(t?function(n){var r,o=new w;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(t.schedule(function(){r=e[G](),o.add(t.schedule(function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}}))})),o}:Q(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function ie(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(ie(function(n,r){return oe(e(n,r)).pipe(ee(function(e,o){return t(n,e,r,o)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new ae(e,n))})}var ae=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new ue(e,this.project,this.concurrent))},e}(),ue=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=new q(this,void 0,void 0);this.destination.add(r),J(this,e,t,n,r)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(Y);function se(e){return e}function le(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),ie(se,e)}function ce(){return function(e){return e.lift(new fe(e))}}var fe=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new pe(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),pe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(k),he=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new w).add(this.source.subscribe(new ve(this.getSubject(),this))),e.closed?(this._connection=null,e=w.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return ce()(this)},t}(R).prototype,de={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:he._subscribe},_isComplete:{value:he._isComplete,writable:!0},getSubject:{value:he.getSubject},connect:{value:he.connect},refCount:{value:he.refCount}},ve=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(L);function ge(){return new H}function ye(e){for(var t in e)if(e[t]===ye)return t;throw Error("Could not find renamed property on target object.")}function me(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}var be=ye({ngComponentDef:ye}),we=ye({ngInjectableDef:ye}),_e=ye({ngInjectorDef:ye}),Ce=ye({ngModuleDef:ye}),xe=ye({ngBaseDef:ye}),Ee=ye({__NG_ELEMENT_ID__:ye});function Se(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Te(e){return e.hasOwnProperty(we)?e[we]:null}function ke(e){return e.hasOwnProperty(_e)?e[_e]:null}var Ae=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?Se({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),Oe="__parameters__",Pe="__prop__metadata__";function Ie(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,c(t));for(var o in r)this[o]=r[o]}}}function Ne(e,t,n){var r=Ie(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,c([void 0],t)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(Oe)?e[Oe]:Object.defineProperty(e,Oe,{value:[]})[Oe];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}function Re(e,t,n,r){var o=Ie(t);function i(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof i)return o.apply(this,t),this;var a=new((e=i).bind.apply(e,c([void 0],t)));return function(e,n){var o=e.constructor,i=o.hasOwnProperty(Pe)?o[Pe]:Object.defineProperty(o,Pe,{value:{}})[Pe];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(a),r&&r.apply(void 0,c([e,n],t))}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}var De=new Ae("AnalyzeForEntryComponents"),je=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Ve="undefined"!=typeof window&&window,Me="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Le="undefined"!=typeof global&&global||Ve||Me,He=Promise.resolve(0),Ue=null;function Fe(){if(!Ue){var e=Le.Symbol;if(e&&e.iterator)Ue=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ue=r)}}return Ue}function qe(e){"undefined"==typeof Zone?He.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function ze(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Be(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Be).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}var We,Ge=Ne("Inject",function(e){return{token:e}}),Qe=Ne("Optional"),Ze=Ne("Self"),$e=Ne("SkipSelf"),Ke=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({}),Xe=void 0;function Je(e){var t=Xe;return Xe=e,t}function Ye(e){var t=We;return We=e,t}function et(e,t){return void 0===t&&(t=Ke.Default),(We||function(e,t){if(void 0===t&&(t=Ke.Default),void 0===Xe)throw new Error("inject() must be called from an injection context");return null===Xe?tt(e,void 0,t):Xe.get(e,t&Ke.Optional?null:void 0,t)})(e,t)}function tt(e,t,n){var r=Te(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&Ke.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND ["+Be(e)+"]")}function nt(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=Ke.Default,a=0;a<r.length;a++){var u=r[a];u instanceof Qe||"Optional"===u.ngMetadataName?i|=Ke.Optional:u instanceof $e||"SkipSelf"===u.ngMetadataName?i|=Ke.SkipSelf:u instanceof Ze||"Self"===u.ngMetadataName?i|=Ke.Self:o=u instanceof Ge?u.token:u}t.push(et(o,i))}else t.push(et(r))}return t}var rt=8,ot=8,it=9,at=-1,ut=function(){return function(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}(),st=ut.prototype,lt=17,ct=0,ft=1,pt=2,ht=3,dt=4,vt=5,gt=6,yt=7,mt=8,bt=9,wt=10,_t=11,Ct=12,xt=14,Et=16;function St(e,t,n){e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked))}function Tt(e,t,n){e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked))}function kt(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function At(e,t,n,r){var o=r?t:n;o&&Ot(e,o)}function Ot(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}function Pt(e,t){var n=Rt(e),r=Rt(t);return n&&r?function(e,t,n){for(var r=e[Fe()](),o=t[Fe()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,Pt):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||ze(e,t)}var It=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),Nt=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function Rt(e){return!!Dt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Fe()in e)}function Dt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var jt=0,Vt=1,Mt=6,Lt="__ngContext__";function Ht(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}function Ut(e){for(;Array.isArray(e);)e=e[vt];return e}function Ft(e,t){return Ut(t[e.index])}function qt(e,t){var n=t[e];return n.length>=lt?n:n[vt]}function zt(e){return e[Lt]}function Bt(e){var t=zt(e);return t?Array.isArray(t)?t:t.lViewData:null}function Wt(e){return 32767&e}function Gt(e,t){for(var n=e>>16,r=t;n>0;)r=r[Et],n--;return r}var Qt,Zt,$t,Kt,Xt,Jt,Yt,en,tn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Le);function nn(){return Qt}function rn(){return Zt}function on(){return $t}function an(e){$t=e}function un(e,t){$t=e,en=t}function sn(){return Kt}function ln(e){Kt=e}function cn(){return Xt}function fn(){return Yt}function pn(){return en}var hn=!1;function dn(){return hn}function vn(e){hn=e}var gn=!0;function yn(e){gn=e}function mn(e,t){var n=en;return Xt=e&&e[ct],Yt=e&&1==(1&e[ft]),gn=e&&Xt.firstTemplatePass,Qt=e&&e[_t],$t=t,Kt=!0,en=e,n&&(n[dt]=Jt),Jt=e&&e[dt],n}function bn(e,t){t||(hn||At(en,Xt.viewHooks,Xt.viewCheckHooks,Yt),en[ft]&=-6),en[ft]|=16,en[yt]=Xt.bindingStartIndex,mn(e,null)}var wn=!1;function _n(e){var t=wn;return wn=e,t}var Cn=255,xn=0;function En(e,t){var n=Tn(e,t);if(-1!==n)return n;var r=t[ct];r.firstTemplatePass&&(e.injectorIndex=t.length,Sn(r.data,e),Sn(t,null),Sn(r.blueprint,null));var o=kn(e,t),i=Wt(o),a=Gt(o,t),u=e.injectorIndex;if(o!==at)for(var s=a[ct].data,l=0;l<8;l++)t[u+l]=a[i+l]|s[i+l];return t[u+ot]=o,u}function Sn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+ot]?-1:e.injectorIndex}function kn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[gt],r=1;n&&-1===n.injectorIndex;)n=(t=t[Et])[gt],r++;return n?n.injectorIndex|r<<16|(n&&3===n.type?32768:0):-1}var An={};function On(e,t,n,r){var o=t[ct],i=o.data[e+rt],a=i.flags,u=i.providerIndexes,s=o.data,l=!1;(null==r&&function(e){return 4096==(4096&e.flags)}(i)&&wn||null!=r&&r!=o&&(null==o.node||3===o.node.type))&&(l=!0);for(var c=65535&u,f=a>>16,p=4095&a,h=l?c:c+(u>>16);h<f+p;h++){var d=s[h];if(h<f&&n===d||h>=f&&d.type===n)return Pn(s,t,h,i)}return An}function Pn(e,t,n,r){var o,i=t[n];if(null!=(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==st){var a=i;if(a.resolving)throw new Error("Circular dep for "+Ht(e[n]));var u=_n(a.canSeeViewProviders);a.resolving=!0;var s=void 0;a.injectImpl&&(s=Ye(a.injectImpl));var l=on(),c=pn();un(r,t);try{i=t[n]=a.factory(null,e,t,r)}finally{a.injectImpl&&Ye(s),_n(u),a.resolving=!1,un(l,c)}}return i}function In(e,t,n){var r=64&e,o=32&e;return!!((128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t])&1<<e)}function Nn(e,t){return!(e&Ke.Self||e&Ke.Host&&32768&t)}var Rn=function(){function e(e,t){this._tNode=e,this._hostView=t,this._injectorIndex=En(e,t)}return e.prototype.get=function(e){return un(this._tNode,this._hostView),function(e,t,n,r,o){void 0===r&&(r=Ke.Default);var i=function(e){var t=e[Ee];return"number"==typeof t?t&Cn:t}(n);if("function"==typeof i){var a=on(),u=pn();un(e,t);try{var s=i();if(null!=s||r&Ke.Optional)return s;throw new Error("No provider for "+Ht(n))}finally{un(a,u)}}else if("number"==typeof i){var l=null,c=Tn(e,t),f=at;for((-1===c||r&Ke.SkipSelf)&&(Nn(r,f=-1===c?kn(e,t):t[c+ot])?(l=t[ct],c=Wt(f),t=Gt(f,t)):c=-1);-1!==c;){f=t[c+ot];var p=t[ct];if(In(i,c,p.data)){var h=On(c,t,n,l);if(h!==An)return h}Nn(r,f)&&In(i,c,t)?(l=p,c=Wt(f),t=Gt(f,t)):c=-1}}if(r&Ke.Optional&&void 0===o&&(o=null),0==(r&(Ke.Self|Ke.Host))){var d=t[wt];return d?d.get(n,o,r&Ke.Optional):tt(n,o,r&Ke.Optional)}if(r&Ke.Optional)return o;throw new Error("NodeInjector: NOT_FOUND ["+Ht(n)+"]")}(this._tNode,this._hostView,e)},e}();function Dn(e,t){e[Lt]=t}function jn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var Vn=ye({__forward_ref__:ye});function Mn(e){return e.__forward_ref__=Mn,e.toString=function(){return Be(this())},e}function Ln(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(Vn)&&t.__forward_ref__===Mn?t():e}var Hn="__source",Un=new Object,Fn=Un,qn=new Ae("INJECTOR"),zn=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Un),t===Un)throw new Error("NullInjectorError: No provider for "+Be(e)+"!");return t},e}(),Bn=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new er(e,t):new er(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=Un,e.NULL=new zn,e.ngInjectableDef=Se({providedIn:"any",factory:function(){return et(qn)}}),e.__NG_ELEMENT_ID__=function(){return Wn()},e}(),Wn=jn,Gn=function(e){return e},Qn=[],Zn=Gn,$n=function(){return Array.prototype.slice.call(arguments)},Kn=ye({provide:String,useValue:ye}),Xn=Bn.NULL,Jn=/\n/gm,Yn="\u0275",er=function(){function e(e,t,n){void 0===t&&(t=Xn),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(Bn,{token:Bn,fn:Gn,deps:Qn,value:this,useNew:!1}),r.set(qn,{token:qn,fn:Gn,deps:Qn,value:this,useNew:!1}),function e(t,n){if(n)if((n=Ln(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw rr("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw rr("Unexpected provider",n);var o=Ln(n.provide),i=function(e){var t=function(e){var t=Qn,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=Ln(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof Qe||u==Qe?o|=1:u instanceof $e||u==$e?o&=-3:u instanceof Ze||u==Ze?o&=-5:s=u instanceof Ge?u.token:Ln(u)}t.push({token:s,options:o})}}else if(e.useExisting){var s;t=[{token:s=Ln(e.useExisting),options:6}]}else if(!(n||Kn in e))throw rr("'deps' required",e);return t}(e),n=Gn,r=Qn,o=!1,i=Ln(e.provide);if(Kn in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=Ln(e.useClass);else{if("function"!=typeof i)throw rr("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=t.get(o);if(a){if(a.fn!==$n)throw tr(o)}else t.set(o,a={token:n.provide,deps:[],useNew:!1,fn:$n,value:Qn});a.deps.push({token:o=n,options:6})}var u=t.get(o);if(u&&u.fn==$n)throw tr(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=Ke.Default);var r=this._records.get(e);try{return function e(t,n,r,o,i,a){try{return function(t,n,r,o,i,a){var u,s;if(!n||a&Ke.SkipSelf)a&Ke.Self||(s=o.get(t,i,Ke.Default));else{if((s=n.value)==Zn)throw Error(Yn+"Circular dependency");if(s===Qn){n.value=Zn;var l=n.useNew,f=n.fn,p=n.deps,h=Qn;if(p.length){h=[];for(var d=0;d<p.length;d++){var v=p[d],g=v.options,y=2&g?r.get(v.token):void 0;h.push(e(v.token,y,r,y||4&g?o:Xn,1&g?null:Bn.THROW_IF_NOT_FOUND,Ke.Default))}}n.value=s=l?new((u=f).bind.apply(u,c([void 0],h))):f.apply(void 0,h)}}return s}(t,n,r,o,i,a)}catch(u){throw u instanceof Error||(u=new Error(u)),(u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(t),n&&n.value==Zn&&(n.value=Qn),u}}(e,r,this._records,this.parent,t,n)}catch(i){var o=i.ngTempTokenPath;throw e[Hn]&&o.unshift(e[Hn]),i.message=nr("\n"+i.message,o,this.source),i.ngTokenPath=o,i.ngTempTokenPath=null,i}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(Be(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function tr(e){return rr("Cannot mix multi providers and regular providers",e)}function nr(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Yn?e.substr(2):e;var r=Be(t);if(t instanceof Array)r=t.map(Be).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):Be(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(Jn,"\n  ")}function rr(e,t){return new Error(nr(e,t))}var or=function(){return function(){}}(),ir=function(){return function(){}}(),ar="ngProjectAs";function ur(e){return!!e.listen}var sr={createRenderer:function(e,t){return document}},lr=[];function cr(e){for(var t=e[gt];t&&2===t.type;)t=(e=e[pt])[gt];return e}function fr(e,t,n,r,o){0===e?ur(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?ur(t)?t.removeChild(n,r):n.removeChild(r):2===e&&t.destroyNode(r)}function pr(e){var t=e[ct].childIndex;return-1===t?null:e[t]}function hr(e,t){var n;return e.length>=lt&&(n=e[gt])&&2===n.type?function(t,n){if(-1===t.index){var r=e[xt];return r>-1?e[pt][r]:null}return e[pt][t.parent.index]}(n):e[pt]===t?null:e[pt]}function dr(e){if(e.length>=lt){var t=e;!function(e){var t=e[ct].cleanup;if(null!=t){for(var n=0;n<t.length-1;n+=2)"string"==typeof t[n]?(Ut(e[t[n+1]]).removeEventListener(t[n],e[mt][t[n+2]],t[n+3]),n+=2):"number"==typeof t[n]?(0,e[mt][t[n]])():t[n].call(e[mt][t[n+1]]);e[mt]=null}}(t),function(e){var t,n=e[ct];null!=n&&null!=(t=n.destroyHooks)&&Ot(e,t)}(t),(r=(n=t)[ct]&&n[ct].pipeDestroyHooks)&&Ot(n,r),-1===t[ct].id&&ur(t[_t])&&t[_t].destroy()}var n,r}var vr={},gr=Promise.resolve(null);function yr(e,t){var n=cn(),r=gn;if(n.firstTemplatePass=!1,yn(!1),1!==t){var o=fn(),i=dn();i||function(e,t,n){16&e[ft]&&(At(e,t.initHooks,t.checkHooks,n),e[ft]&=-17)}(e,n,o),function(t){for(var n=pr(e);null!==n;n=n[ht])if(n.length<lt&&-1===n[jt])for(var r=n,o=0;o<r[Vt].length;o++){var i=r[Vt][o];wr(i,i[ct],i[bt],2)}}(),function(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.data[n].contentQueriesRefresh(n-lt,e.contentQueries[t+1])}}(n),i||At(e,n.contentHooks,n.contentCheckHooks,o),function(e,t){if(e.expandoInstructions)for(var n=t[yt]=e.expandoStartIndex,r=-1,o=-1,i=0;i<e.expandoInstructions.length;i++){var a=e.expandoInstructions[i];if("number"==typeof a)if(a<=0){o=-a;var u=e.expandoInstructions[++i];r=n+=it+u}else n+=a;else t[yt]=n,an(cn().data[o+lt]),a(r-lt,o),r++}}(n,e)}!function(e,t,n){if(null!=e)for(var r=0;r<e.length;r++)Ar(e[r],t,n)}(n.components,r,t)}function mr(e,t,n,r,o,i,a){var u=n.blueprint.slice();return u[ft]=25|o,u[pt]=u[Et]=e,u[bt]=r,u[wt]=void 0===a?e?e[wt]:null:a,u[_t]=t,u[Ct]=i||null,u}function br(e,t,n,r,o){var i=pn(),a=cn(),u=e+lt;i[u]=n;var s=a.data[u];if(null==s){var l=on(),c=sn();s=a.data[u]=kr(i,t,u,r,o,null),l&&(!c||null!=l.child||null===s.parent&&2!==l.type?c||(l.next=s):l.child=s)}return null==a.firstChild&&3===t&&(a.firstChild=s),an(s),ln(!0),s}function wr(e,t,n,r){var o,i=sn(),a=on();if(ln(!0),an(null),64&e[ft])Pr(function(e){for(var t=Array.isArray(e)?e:Bt(e);t&&!(64&t[ft]);)t=t[pt];return t}(e)[bt]);else try{ln(!0),an(null),o=mn(e,e[gt]),Er(),t.template(r,n),2&r?yr(e,null):(e[ct].firstTemplatePass=!1,yn(!1))}finally{bn(o,1==(1&r)),ln(i),an(a)}}function _r(e,t,n,r){var o=rn(),i=mn(e,e[gt]);try{o.begin&&o.begin(),r&&(Er(),r(n||Cr(e),t)),yr(e,n)}finally{o.end&&o.end(),bn(i)}}function Cr(e){return 1&e[ft]?3:2}var xr=null;function Er(){xr=null}function Sr(e,t,n,r,o,i,a){var u=lt+n,s=u+r,l=function(e,t){var n=new Array(t).fill(null,0,e).fill(vr,e);return n[xt]=-1,n[yt]=e,n}(u,s);return l[ct]={id:e,blueprint:l,template:t,viewQuery:a,node:null,data:l.slice(),childIndex:-1,bindingStartIndex:u,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null}}function Tr(e,t){!function(e){Zt=e}(e);var n=e.createRenderer(null,null);return"string"==typeof t?ur(n)?n.selectRootElement(t):n.querySelector(t):t}function kr(e,t,n,r,o,i){var a=on(),u=sn()?a:a&&a.parent,s=u&&e&&u!==e[gt]?u:null;return{type:t,index:n,injectorIndex:s?s.injectorIndex:-1,flags:0,providerIndexes:0,tagName:r,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:s,detached:null,stylingTemplate:null,projection:null}}function Ar(e,t,n){var r=qt(e,pn());Or(r)&&6&r[ft]&&(t&&function(e){for(var t=e[ct],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(r),Rr(r,r[bt],n))}function Or(e){return 8==(8&e[ft])}function Pr(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];_r(Bt(n),n,2)}}function Ir(e){Rr(function(e){var t,n=zt(e);if(Array.isArray(n)){var r=function(e,t){var n=e[ct].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(qt(o,e)[bt]===t)return o}else if(qt(lt,e)[bt]===t)return lt;return-1}(n,e);(o=function(e,t,n){return{lViewData:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}(n,r,(t=qt(r,n))[vt])).component=e,Dn(e,o),Dn(o.native,o)}else{var o;t=qt((o=n).nodeIndex,o.lViewData)}return t}(e),e,null)}function Nr(e){Pr(e[bt])}function Rr(e,t,n){var r=e[ct],o=mn(e,e[gt]),i=r.template,a=r.viewQuery;try{Er(),function(t,r,o,i){t&&(1===n||null===n&&1&e[ft])&&t(1,i)}(a,0,0,t),i(n||Cr(e),t),yr(e,n),function(t,n,r){t&&2&e[ft]&&t(2,r)}(a,0,t)}finally{bn(o,1===n)}}var Dr,jr=gr,Vr=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return o(t,e),t.prototype.detectChanges=function(){Nr(this._view)},t.prototype.checkNoChanges=function(){!function(e){vn(!0);try{Nr(e)}finally{vn(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(function(){function e(e,t,n){this._context=t,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=e}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return null==this._view[vt]?function e(t,n,r){for(var o=n.child;o;)r.push(Ft(o,t)),4===o.type&&e(t,o,r),o=o.next;return r}(this._view,this._view[gt],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 32==(32&this._view[ft])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var e,t;this._viewContainerRef&&Or(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),ur(t=(e=this._view)[_t])&&t.destroyNode&&function(t,n,r,o,i){for(var a=e[ct].node,u=-1,s=e,l=a.child;l;){var c=null;if(3===l.type){fr(2,r,null,Ft(l,s),i);var f=s[l.index];v=f,Array.isArray(v)&&"number"==typeof v[jt]&&fr(2,r,null,f[Mt],i)}else if(0===l.type){var p=s[l.index];fr(2,r,null,p[Mt],i),p[Vt].length&&(c=(s=p[Vt][0])[ct].node,i=p[Mt])}else if(1===l.type){var h=cr(s),d=h[gt].projection[l.projection];lr[++u]=l,lr[++u]=s,d&&(c=(s=h[pt])[ct].data[d.index])}else c=l.child;if(null===c)for(null===l.next&&8192&l.flags&&(s=lr[u--],l=lr[u--]),c=l.next;!c;){if(null===(l=l.parent||s[ct].node)||l===a)return null;0===l.type&&(i=(s=s[pt])[l.index][Mt]),c=2===l.type&&s[ht]?(s=s[ht])[ct].node:l.next}l=c}var v}(0,0,t),function(e){if(-1===e[ct].childIndex)return dr(e);for(var t=pr(e);t;){var n=null;if(t.length>=lt?t[ct].childIndex>-1&&(n=pr(t)):t[Vt].length&&(n=t[Vt][0]),null==n){for(;t&&!t[ht]&&t!==e;)dr(t),t=hr(t,e);dr(t||e),n=t&&t[ht]}t=n}}(e),e[ft]|=32},e.prototype.onDestroy=function(e){var t,n;n=e,function(e){return e[mt]||(e[mt]=[])}(t=this._view).push(n),t[ct].firstTemplatePass&&function(e){return e[ct].cleanup||(e[ct].cleanup=[])}(t).push(t[mt].length-1,null)},e.prototype.markForCheck=function(){!function(e){for(var t=e;t&&!(64&t[ft]);)t[ft]|=4,t=t[pt];var n,r,o;t[ft]|=4,o=0===(n=t[bt]).flags,n.flags|=1,o&&n.clean==gr&&(n.clean=new Promise(function(e){return r=e}),n.scheduler(function(){if(1&n.flags&&(n.flags&=-2,Pr(n)),2&n.flags){n.flags&=-3;var e=n.playerHandler;e&&e.flushPlayers()}n.clean=gr,r(null)}))}(this._view)},e.prototype.detach=function(){this._view[ft]&=-9},e.prototype.reattach=function(){this._view[ft]|=8},e.prototype.detectChanges=function(){var e=rn();e.begin&&e.begin(),Ir(this.context),e.end&&e.end()},e.prototype.checkNoChanges=function(){!function(e){vn(!0);try{Ir(e)}finally{vn(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._view[pt][this._componentIndex]},e}());function Mr(e,t,n,r,o){var i=n[ct],a=function(e,t,n){var r=on();e.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),function(e,t,n){var o=-(r.index-lt),i=e.data.length-(65535&r.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(o,i,1)}(e),function(e,t,n,r){e.data.push(n);var o=new ut(r,function(e){return null!==e.template}(n),null);e.blueprint.push(o),t.push(o),function(e,t){e.expandoInstructions.push(t.hostBindings||jn),t.hostVars&&e.expandoInstructions.push(t.hostVars)}(e,n)}(e,t,n,n.factory));var o=Pn(e.data,t,t.length-1,r);return function(e,t,n,r){var o=Ft(t,e);Dn(n,e),o&&Dn(o,e),null!=r.attributes&&3==t.type&&function(e,t){for(var n=nn(),r=ur(n),o=0;o<t.length;){var i=t[o];if(1===i)break;if(i===ar)o+=2;else if(0===i){var a=t[o+1],u=t[o+2],s=t[o+3];r?n.setAttribute(e,u,s,a):e.setAttributeNS(a,u,s),o+=4}else s=t[o+1],r?n.setAttribute(e,i,s):e.setAttribute(i,s),o+=2}}(o,r.attributes)}(t,r,o,n),o}(i,n,t);return r.components.push(a),e[bt]=a,o&&o.forEach(function(e){return e(a,t)}),i.firstTemplatePass&&function(e,t,n){for(var r=0;r<n;r++)t.push(vr),e.blueprint.push(vr),e.data.push(null)}(i,n,t.hostVars),a}function Lr(e,t){return{components:[],scheduler:e||tn,clean:jr,playerHandler:t||null,flags:0}}function Hr(e,t){var n,r,o,i,a=Bt(e)[ct],u=a.data.length-1;n=u,o=t.doCheck,i=a,(r=t.onInit)&&(i.initHooks||(i.initHooks=[])).push(n,r),o&&((i.initHooks||(i.initHooks=[])).push(n,o),(i.checkHooks||(i.checkHooks=[])).push(n,o)),function(e,t){if(t.firstTemplatePass)for(var n=e>>16,r=n+(4095&e),o=n;o<r;o++){var i=t.data[o];St(i,t,o),Tt(i,t,o),kt(i,t,o)}}(u<<16|1,a)}var Ur=new Ae("The presence of this token marks an injector as being the root injector."),Fr={},qr={},zr=[],Br=void 0;function Wr(){return void 0===Br&&(Br=new zn),Br}var Gr=function(){function e(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var o=[];$r([e],function(e){return r.processInjectorType(e,[],o)}),t&&$r(t,function(e){return r.processProvider(e)}),this.records.set(qn,Zr(void 0,this)),this.isRootInjector=this.records.has(Ur),this.injectorDefTypes.forEach(function(e){return r.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=Fn),void 0===n&&(n=Ke.Default),this.assertNotDestroyed();var r,o=Je(this);try{if(!(n&Ke.SkipSelf)){var i=this.records.get(e);if(void 0===i){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof Ae)&&Te(e);a&&this.injectableDefInScope(a)&&(i=Zr(Qr(e),Fr),this.records.set(e,i))}if(void 0!==i)return this.hydrate(e,i)}return(n&Ke.Self?Wr():this.parent).get(e,t)}finally{Je(o)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var r=this;if(e=Ln(e)){var o=ke(e),i=null==o&&e.ngModule||void 0,a=void 0===i?e:i;if(-1===n.indexOf(a)){var u=void 0!==i&&e.providers||zr;if(void 0!==i&&(o=ke(i)),null!=o){if(this.injectorDefTypes.add(a),this.records.set(a,Zr(o.factory)),null!=o.imports){n.push(a);try{$r(o.imports,function(e){return r.processInjectorType(e,t,n)})}finally{}}null!=o.providers&&$r(o.providers,function(e){return r.processProvider(e)}),$r(u,function(e){return r.processProvider(e)})}}}},e.prototype.processProvider=function(e){var t=Xr(e=Ln(e))?e:Ln(e.provide),n=function(e){var t=function(e){var t=void 0;if(Xr(e))return Qr(Ln(e));if(Kr(e))t=function(){return Ln(e.useValue)};else if(e.useExisting)t=function(){return et(Ln(e.useExisting))};else if(e.useFactory)t=function(){return e.useFactory.apply(e,c(nt(e.deps||[])))};else{var n=Ln(e.useClass||e.provide);if(!e.deps)return Qr(n);t=function(){return new(n.bind.apply(n,c([void 0],nt(e.deps))))}}return t}(e);return Kr(e)?Zr(void 0,e.useValue):Zr(t,Fr)}(e);if(Xr(e)||!0!==e.multi){var r=this.records.get(t);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+Be(t))}else{var o=this.records.get(t);if(o){if(void 0===o.multi)throw new Error("Mixed multi-provider for "+t+".")}else(o=Zr(void 0,Fr,!0)).factory=function(){return nt(o.multi)},this.records.set(t,o);t=e,o.multi.push(e)}this.records.set(t,n)},e.prototype.hydrate=function(e,t){if(t.value===qr)throw new Error("Circular dep for "+Be(e));var n;return t.value===Fr&&(t.value=qr,t.value=t.factory()),"object"==typeof t.value&&t.value&&"object"==typeof(n=t.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function Qr(e){var t=Te(e);if(null===t){if(e instanceof Ae)throw new Error("Token "+Be(e)+" is missing an ngInjectableDef definition.");return function(){return new e}}return t.factory}function Zr(e,t,n){return void 0===t&&(t=Fr),void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function $r(e,t){e.forEach(function(e){return Array.isArray(e)?$r(e,t):t(e)})}function Kr(e){return Kn in e}function Xr(e){return"function"==typeof e}var Jr=function(){return function(){}}(),Yr=function(){return function(){}}();function eo(e){var t=Error("No component factory found for "+Be(e)+". Did you add it to @NgModule.entryComponents?");return t[to]=e,t}var to="ngComponent",no=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw eo(e)},e}(),ro=function(){function e(){}return e.NULL=new no,e}(),oo=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw eo(e);return new io(t,this._ngModule)},e}(),io=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Yr),ao=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return uo(e)},e}(),uo=jn,so=function(){return function(){}}(),lo=function(){return function(){}}(),co=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),fo=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return po()},e}(),po=jn,ho=new(function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}())("7.1.4"),vo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.resolveComponentFactory=function(e){return new _o(e[be]||null)},t}(ro);function go(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var yo=new Ae("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Lr(et(mo))}}),mo=new Ae("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return tn}}),bo=new Ae("WRAP_RENDERER_FACTORY2"),wo={},_o=function(e){function t(t){var n=e.call(this)||this;return n.componentDef=t,n.componentType=t.type,n.selector=t.selectors[0][0],n.ngContentSelectors=[],n}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return go(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return go(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){var i,a=void 0===n;i=r?r.injector.get(bo,function(e){return e})(r.injector.get(lo)):sr;var u,s,l=a?(u=this.selector,ur(s=i.createRenderer(null,this.componentDef)||nn())?s.createElement(u,xr):null===xr?s.createElement(u):s.createElementNS(xr,u)):Tr(i,n),c=this.componentDef.onPush?68:66,f=r&&!a?r.injector.get(yo):Lr(),p=i.createRenderer(l,this.componentDef),h=r?function(e,t){return{get:function(n,r){var o=e.get(n,wo);return o!==wo?o:t.get(n,r)}}}(e,r.injector):e;n&&l&&(ur(p)?p.setAttribute(l,"ng-version",ho.full):l.setAttribute("ng-version",ho.full));var d,v,g=mr(null,p,Sr(-1,null,1,0,null,null,null),f,c,void 0,h),y=mn(g,null);try{i.begin&&i.begin();var m=function(e,t,n,r,o){Kt=!1,$t=null;var i,a,u,s=n[ct],l=mr(n,r,(i=t.template).ngPrivateData||(i.ngPrivateData=Sr(-1,i,t.consts,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery)),null,t.onPush?4:2,o),c=br(0,3,e,null,null);return s.firstTemplatePass&&(a=En(c,n),u=t.type,function(e,t,n){var r=u[Ee];null==r&&(r=u[Ee]=xn++);var o=r&Cn,i=1<<o,a=64&o,s=32&o,l=t.data;128&o?a?s?l[e+7]|=i:l[e+6]|=i:s?l[e+5]|=i:l[e+4]|=i:a?s?l[e+3]|=i:l[e+2]|=i:s?l[e+1]|=i:l[e]|=i}(a,n[ct]),c.flags=4096,function(e,t,n){e.flags=t<<16|4096&e.flags|1,e.providerIndexes=t}(c,n.length),function(e){var t=cn();(t.components||(t.components=[])).push(e.index)}(c)),l[vt]=n[lt],l[gt]=c,n[lt]=l}(l,this.componentDef,g,p);if(v=g[ct].data[0+lt],t)for(var b=0,w=g[ct],_=v.projection=[],C=0;C<t.length;C++){for(var x=t[C],E=null,S=null,T=0;T<x.length;T++){w.firstTemplatePass&&(w.expandoStartIndex++,w.blueprint.splice(++b+lt,0,null),w.data.splice(b+lt,0,null),g.splice(b+lt,0,null));var k=br(b,3,x[T],null,null);S?S.next=k:E=k,S=k}_.push(E)}d=Mr(m,this.componentDef,g,f,[Hr]),yr(g,1)}finally{bn(y,!0),i.end&&i.end()}var A=new Co(this.componentType,d,function(e,t,n){return Dr||(Dr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(ao)),new Dr(Ft(t,n))}(0,v,g),g,v);return a&&(A.hostView._tViewNode.child=v),A},t}(Yr),Co=function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a.location=r,a._rootView=o,a._tNode=i,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new Vr(o),a.hostView._tViewNode=function(e,t){null==t[ct].node&&(t[ct].node=kr(t,2,-1,null,null,null)),ln(!0);var n=t[ct].node;return an(n),t[gt]=n}(0,o),a.componentType=t,a}return o(t,e),Object.defineProperty(t.prototype,"injector",{get:function(){return new Rn(this._tNode,this._rootView)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Jr),xo=!0,Eo=!1;function So(){return Eo=!0,xo}var To=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),ko=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Ao=/^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 Oo(e){return(e=String(e)).match(ko)||e.match(Ao)?e:(So()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Po(e){var t,n,r={};try{for(var o=s(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(a){t={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function Io(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=s(n),a=i.next();!a.done;a=i.next()){var u=a.value;for(var l in u)u.hasOwnProperty(l)&&(o[l]=!0)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var No,Ro=Po("area,br,col,hr,img,wbr"),Do=Po("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jo=Po("rp,rt"),Vo=Io(jo,Do),Mo=Io(Ro,Io(Do,Po("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")),Io(jo,Po("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")),Vo),Lo=Po("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ho=Po("srcset"),Uo=Io(Lo,Ho,Po("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")),Fo=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t,n=e.nodeName.toLowerCase();if(!Mo.hasOwnProperty(n))return this.sanitizedSomething=!0,!1;this.buf.push("<"),this.buf.push(n);for(var r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(Uo.hasOwnProperty(u)){var s=i.value;Lo[u]&&(s=Oo(s)),Ho[u]&&(t=s,s=(t=String(t)).split(",").map(function(e){return Oo(e.trim())}).join(", ")),this.buf.push(" ",a,'="',Bo(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Mo.hasOwnProperty(t)&&!Ro.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(Bo(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),qo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zo=/([^\#-~ |!])/g;function Bo(e){return e.replace(/&/g,"&amp;").replace(qo,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(zo,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Wo(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Go={provide:ro,useFactory:function(){return new vo},deps:[]},Qo=function(e){function t(t,n){var r=e.call(this)||this;return r._bootstrapComponents=[],r.destroyCbs=[],r._bootstrapComponents=(t[Ce]||null).bootstrap,r.injector=function(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Wr(),new Gr(e,n,t)}(t,n,[Go,{provide:or,useValue:r}]),r.instance=r.injector.get(t),r.componentFactoryResolver=new vo,r}return o(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(or);!function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}o(t,e),t.prototype.create=function(e){return new Qo(this.moduleType,e)}}(ir);var Zo=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},a=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(a=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var u=e.prototype.subscribe.call(this,o,i,a);return t instanceof w&&t.add(u),u},t}(H),$o=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ko(e,ao)},e}(),Ko=jn,Xo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Jo=function(){return function(){}}(),Yo=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ei=/^url\(([^)]+)\)$/;Function;var ti=Re("Input",function(e){return{bindingPropertyName:e}},void 0,function(e){return function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=e.constructor;o.hasOwnProperty(xe)||function(e){var t=e.constructor,n=t.ngBaseDef,r=t.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(me(r.inputs,n.inputs),me(r.outputs,n.outputs),me(r.declaredInputs,n.declaredInputs))}(e),(function(e){return e.inputs||{}}(o.ngBaseDef))[t]=n[0]}}()),ni=Re("HostBinding",function(e){return{hostPropertyName:e}});String,String;var ri="ngDebugContext",oi="ngOriginalError",ii="ngErrorLogger";function ai(e){return e[ri]}function ui(e){return e[oi]}function si(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,c(t))}var li=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[ii]||si}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?ai(e)?ai(e):this._findContext(ui(e)):null},e.prototype._findOriginalError=function(e){for(var t=ui(e);t&&ui(t);)t=ui(t);return t},e}();function ci(e){return!!e&&"function"==typeof e.then}function fi(e){return!!e&&"function"==typeof e.subscribe}var pi=new Ae("Application Initializer"),hi=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();ci(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),di=new Ae("AppId");function vi(){return""+gi()+gi()+gi()}function gi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var yi=new Ae("Platform Initializer"),mi=new Ae("Platform ID"),bi=new Ae("appBootstrapListener"),wi=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function _i(){throw new Error("Runtime compiler is not loaded")}var Ci,xi,Ei=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw _i()},e.prototype.compileModuleAsync=function(e){throw _i()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw _i()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw _i()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),Si=function(){return function(){}}();function Ti(){var e=Le.wtf;return!(!e||!(Ci=e.trace)||(xi=Ci.events,0))}var ki=Ti();function Ai(e,t){return null}var Oi=ki?function(e,t){return void 0===t&&(t=null),xi.createScope(e,t)}:function(e,t){return Ai},Pi=ki?function(e,t){return Ci.leaveScope(e,t),t}:function(e,t){return t},Ii=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zo(!1),this.onMicrotaskEmpty=new Zo(!1),this.onStable=new Zo(!1),this.onError=new Zo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,a){try{return ji(t),e.invokeTask(r,o,i,a)}finally{Vi(t)}},onInvoke:function(e,n,r,o,i,a,u){try{return ji(t),e.invoke(r,o,i,a,u)}finally{Vi(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,Di(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Ri,Ni,Ni);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Ni(){}var Ri={};function Di(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function ji(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vi(e){e._nesting--,Di(e)}var Mi,Li=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zo,this.onMicrotaskEmpty=new Zo,this.onStable=new Zo,this.onError=new Zo}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),Hi=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Ii.assertNotInAngularZone(),qe(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())qe(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Ui=function(){function e(){this._applications=new Map,Fi.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Fi.findTestabilityInTree(this,e,t)},a([u("design:paramtypes",[])],e)}(),Fi=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),qi=new Ae("AllowMultipleToken"),zi=function(){return function(e,t){this.name=e,this.token=t}}();function Bi(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new Ae(r);return function(t){void 0===t&&(t=[]);var i=Wi();if(!i||i.injector.get(qi,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(Mi&&!Mi.destroyed&&!Mi.injector.get(qi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Mi=e.get(Gi);var t=e.get(yi,null);t&&t.forEach(function(e){return e()})}(Bn.create({providers:a,name:r}))}return function(e){var t=Wi();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function Wi(){return Mi&&!Mi.destroyed?Mi:null}var Gi=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new Li:("zone.js"===n?void 0:n)||new Ii({enableLongStackTrace:So()}),i=[{provide:Ii,useValue:o}];return o.run(function(){var t=Bn.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(li,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return $i(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){a.handleError(e)}})}),function(e,t,o){try{var i=((a=n.injector.get(hi)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return ci(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(u){throw t.runOutsideAngular(function(){return e.handleError(u)}),u}var a}(a,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=Qi({},t);return function(e,t,n){return e.get(Si).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Zi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Be(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Qi(e,t){return Array.isArray(t)?t.reduce(Qi,e):i({},e,t)}var Zi=function(){function e(e,t,n,r,o,i){var a=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=So(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new R(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),s=new R(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){Ii.assertNotInAngularZone(),qe(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Ii.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,o=e[e.length-1];return F(o)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof o&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof R?e[0]:le(n)(re(e,r))}(u,s.pipe(function(e){return ce()((t=ge,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,de);return r.source=e,r.subjectFactory=n,r})(e));var t}))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Yr?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof io?null:this._injector.get(or),i=n.create(Bn.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(Hi,null);return a&&i.injector.get(Ui).registerApplication(i.location.nativeElement,a),this._loadComponent(i),So()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,Pi(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;$i(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(bi,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),$i(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Oi("ApplicationRef#tick()"),e}();function $i(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Ki=function(){return function(){}}(),Xi=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Zo,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Fe()]=function(){return this._results[Fe()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),Ji=function(){return function(){}}(),Yi={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},ea=function(){function e(e,t){this._compiler=e,this._config=t||Yi}return e.prototype.load=function(e){return this._compiler instanceof Ei?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=l(e.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then(function(e){return e[i]}).then(function(e){return ta(e,o,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=l(e.split("#"),2),r=t[0],o=t[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[o+i]}).then(function(e){return ta(e,r,o)})},e}();function ta(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var na,ra=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return oa(e,ao)},e}(),oa=jn,ia=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return aa()},e}(),aa=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},ua=(o(function(){return null!==na&&na.apply(this,arguments)||this},na=ia),function(){return function(e,t){this.name=e,this.callback=t}}()),sa=function(){function e(e,t,n){this.nativeNode=e,this._debugContext=n,this.listeners=[],this.parent=null,t&&t instanceof la&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),la=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,c([o+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof la&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,r){t instanceof la&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof la&&e(t,n,r)})}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(sa),ca=new Map;function fa(e){return ca.get(e)||null}function pa(e){ca.set(e.nativeNode,e)}var ha=function(){function e(){}return e.prototype.supports=function(e){return Rt(e)},e.prototype.create=function(e){return new va(e)},e}(),da=function(e,t){return t},va=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||da}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<ba(n,r,o)?t:n,a=ba(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var s=a-r,l=u-r;if(s!=l){for(var c=0;c<s;c++){var f=c<o.length?o[c]:o[c]=0,p=f+c;l<=p&&p<s&&(o[c]=f+1)}o[i.previousIndex]=l-s}}a!==u&&e(i,a,u)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!Rt(e))throw new Error("Error trying to diff '"+Be(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=e[u]),null!==i&&ze(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),ze(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[Fe()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&ze(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),ze(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(ze(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ze(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new ga(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}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)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new ma),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ma),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),ga=function(){return function(e,t){this.item=e,this.trackById=t,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}}(),ya=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&ze(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),ma=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new ya,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function ba(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var wa=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||Dt(e)},e.prototype.create=function(){return new _a},e}(),_a=function(){function e(){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(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||Dt(e)))throw new Error("Error trying to diff '"+Be(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}}),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},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Ca(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){ze(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),Ca=function(){return function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),xa=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new $e,new Qe]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=Se({providedIn:"root",factory:function(){return new e([new ha])}}),e}(),Ea=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new $e,new Qe]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e.ngInjectableDef=Se({providedIn:"root",factory:function(){return new e([new wa])}}),e}(),Sa=[new wa],Ta=new xa([new ha]),ka=new Ea(Sa),Aa=Bi(null,"core",[{provide:mi,useValue:"unknown"},{provide:Gi,deps:[Bn]},{provide:Ui,deps:[]},{provide:wi,deps:[]}]),Oa=new Ae("LocaleId");function Pa(){return Ta}function Ia(){return ka}function Na(e){return e||"en-US"}var Ra=function(){return function(e){}}();function Da(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function ja(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Va(e,t){return e.nodes[t]}function Ma(e,t){return e.nodes[t]}function La(e,t){return e.nodes[t]}function Ha(e,t){return e.nodes[t]}function Ua(e,t){return e.nodes[t]}var Fa={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function qa(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return za(n,t),n}(o,e)}function za(e,t){e[ri]=t,e[ii]=t.logError.bind(t)}function Ba(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var Wa=function(){},Ga=new Map;function Qa(e){var t=Ga.get(e);return t||(t=Be(e)+"_"+Ga.size,Ga.set(e,t)),t}var Za="$$undefined",$a="$$empty";function Ka(e){return{id:Za,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Xa=0;function Ja(e,t,n,r){return!(!(2&e.state)&&ze(e.oldValues[t.bindingIndex+n],r))}function Ya(e,t,n,r){return!!Ja(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function eu(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Pt(o,r)){var i=t.bindings[n].name;throw qa(Fa.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function tu(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function nu(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function ru(e,t,n,r){try{return tu(33554432&e.def.nodes[t].flags?Ma(e,t).componentView:e),Fa.handleEvent(e,t,n,r)}catch(o){e.root.errorHandler.handleError(o)}}function ou(e){return e.parent?Ma(e.parent,e.parentNodeDef.nodeIndex):null}function iu(e){return e.parent?e.parentNodeDef.parent:null}function au(e,t){switch(201347067&t.flags){case 1:return Ma(e,t.nodeIndex).renderElement;case 2:return Va(e,t.nodeIndex).renderText}}function uu(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function su(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function lu(e){return 1<<e%32}function cu(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=l(e,2),i=o[0],a=o[1];"number"==typeof i?(t[i]=a,n|=lu(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function fu(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(o=(n=l(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,Hn,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:Qa(r)}})}function pu(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===je.Native?Ma(e,n.renderParent.nodeIndex).renderElement:void 0:t}var hu=new WeakMap;function du(e){var t=hu.get(e);return t||((t=e(function(){return Wa})).factory=e,hu.set(e,t)),t}function vu(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(au(e,e.def.lastRenderRootNode))),gu(e,t,0,e.def.nodes.length-1,n,r,o)}function gu(e,t,n,r,o,i,a){for(var u=n;u<=r;u++){var s=e.def.nodes[u];11&s.flags&&mu(e,s,t,o,i,a),u+=s.childCount}}function yu(e,t,n,r,o,i){for(var a=e;a&&!uu(a);)a=a.parent;for(var u=a.parent,s=iu(a),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var f=u.def.nodes[c];f.ngContentIndex===t&&mu(u,f,n,r,o,i),c+=f.childCount}if(!u.parent){var p=e.root.projectableNodes[t];if(p)for(c=0;c<p.length;c++)bu(e,p[c],n,r,o,i)}}function mu(e,t,n,r,o,i){if(8&t.flags)yu(e,t.ngContent.index,n,r,o,i);else{var a=au(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&bu(e,a,n,r,o,i),32&t.bindingFlags&&bu(Ma(e,t.nodeIndex).componentView,a,n,r,o,i)):bu(e,a,n,r,o,i),16777216&t.flags)for(var u=Ma(e,t.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)vu(u[s],n,r,o,i);1&t.flags&&!t.element.name&&gu(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function bu(e,t,n,r,o,i){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,o);break;case 3:a.removeChild(r,t);break;case 0:i.push(t)}}var wu=/^:([^:]+):(.+)$/;function _u(e){if(":"===e[0]){var t=e.match(wu);return[t[1],t[2]]}return["",e]}function Cu(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function xu(e,t,n,r,o,i,a,u,s,l,c,f,p,h,d,v,g,y,m,b){switch(e){case 1:return t+Eu(n)+r;case 2:return t+Eu(n)+r+Eu(o)+i;case 3:return t+Eu(n)+r+Eu(o)+i+Eu(a)+u;case 4:return t+Eu(n)+r+Eu(o)+i+Eu(a)+u+Eu(s)+l;case 5:return t+Eu(n)+r+Eu(o)+i+Eu(a)+u+Eu(s)+l+Eu(c)+f;case 6:return t+Eu(n)+r+Eu(o)+i+Eu(a)+u+Eu(s)+l+Eu(c)+f+Eu(p)+h;case 7:return t+Eu(n)+r+Eu(o)+i+Eu(a)+u+Eu(s)+l+Eu(c)+f+Eu(p)+h+Eu(d)+v;case 8:return t+Eu(n)+r+Eu(o)+i+Eu(a)+u+Eu(s)+l+Eu(c)+f+Eu(p)+h+Eu(d)+v+Eu(g)+y;case 9:return t+Eu(n)+r+Eu(o)+i+Eu(a)+u+Eu(s)+l+Eu(c)+f+Eu(p)+h+Eu(d)+v+Eu(g)+y+Eu(m)+b;default:throw new Error("Does not support more than 9 expressions")}}function Eu(e){return null!=e?e.toString():""}function Su(e,t,n,r,o,i){e|=1;var a=cu(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?du(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Wa},provider:null,text:null,query:null,ngContent:null}}function Tu(e,t,n,r,o,i,a,u,s,c,f,p){var h;void 0===a&&(a=[]),c||(c=Wa);var d=cu(n),v=d.matchedQueries,g=d.references,y=d.matchedQueryIds,m=null,b=null;i&&(m=(h=l(_u(i),2))[0],b=h[1]),u=u||[];for(var w=new Array(u.length),_=0;_<u.length;_++){var C=l(u[_],3),x=C[0],E=C[2],S=l(_u(C[1]),2),T=S[0],k=S[1],A=void 0,O=void 0;switch(15&x){case 4:O=E;break;case 1:case 8:A=E}w[_]={flags:x,ns:T,name:k,nonMinifiedName:k,securityContext:A,suffix:O}}s=s||[];var P=new Array(s.length);for(_=0;_<s.length;_++){var I=l(s[_],2);P[_]={type:0,target:I[0],eventName:I[1],propName:null}}var N=(a=a||[]).map(function(e){var t=l(e,2),n=t[1],r=l(_u(t[0]),2);return[r[0],r[1],n]});return p=function(e){if(e&&e.id===Za){var t=null!=e.encapsulation&&e.encapsulation!==je.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Xa++:$a}return e&&e.id===$a&&(e=null),e||null}(p),f&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:y,references:g,ngContentIndex:r,childCount:o,bindings:w,bindingFlags:Cu(w),outputs:P,element:{ns:m,name:b,attrs:N,template:null,componentProvider:null,componentView:f||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||Wa},provider:null,text:null,query:null,ngContent:null}}function ku(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,a=e.renderer;if(e.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var u=pu(e,t,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===je.ShadowDom);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var c=l(o.attrs[s],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function Au(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=Ou(e,n.nodeIndex,(f=i.eventName,(c=i.target)?c+":"+f:f)),u=i.target,s=e;"component"===i.target&&(u=null,s=t);var l=s.renderer.listen(u||r,i.eventName,a);e.disposables[n.outputIndex+o]=l}var c,f}function Ou(e,t,n){return function(r){return ru(e,t,n,r)}}function Pu(e,t,n,r){if(!Ya(e,t,n,r))return!1;var o=t.bindings[n],i=Ma(e,t.nodeIndex),a=i.renderElement,u=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var a=t.securityContext,u=a?e.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var s=e.renderer;null!=i?s.setAttribute(n,o,u,r):s.removeAttribute(n,o,r)}(e,o,a,o.ns,u,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,a,u,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(Xo.STYLE,o);if(null!=i){i=i.toString();var a=t.suffix;null!=a&&(i+=a)}else i=null;var u=e.renderer;null!=i?u.setStyle(n,r,i):u.removeStyle(n,r)}(e,o,a,u,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,a,u,r)}return!0}var Iu=new Object,Nu=Qa(Bn),Ru=Qa(qn),Du=Qa(or);function ju(e,t,n,r){return n=Ln(n),{index:-1,deps:fu(r,Be(t)),flags:e,token:t,value:n}}function Vu(e,t,n){void 0===n&&(n=Bn.THROW_IF_NOT_FOUND);var r,o,i=Je(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var a=t.tokenKey;switch(a){case Nu:case Ru:case Du:return e}var u,s=e._def.providersByKey[a];if(s){var l=e._providers[s.index];return void 0===l&&(l=e._providers[s.index]=Mu(e,s)),l===Iu?void 0:l}if((u=Te(t.token))&&(r=e,null!=(o=u).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:t.token},e._providers[c]=Iu,e._providers[c]=Mu(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Je(i)}}function Mu(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(Vu(e,n[0]));case 2:return new t(Vu(e,n[0]),Vu(e,n[1]));case 3:return new t(Vu(e,n[0]),Vu(e,n[1]),Vu(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Vu(e,n[i]);return new(t.bind.apply(t,c([void 0],o)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(Vu(e,n[0]));case 2:return t(Vu(e,n[0]),Vu(e,n[1]));case 3:return t(Vu(e,n[0]),Vu(e,n[1]),Vu(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Vu(e,n[i]);return t.apply(void 0,c(o))}}(e,t.value,t.deps);break;case 2048:n=Vu(e,t.deps[0]);break;case 256:n=t.value}return n===Iu||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Iu:n}function Lu(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,qu(n,t),Fa.dirtyParentQueries(r),Uu(r),r}function Hu(e,t,n){var r=t?au(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);vu(n,2,o,i,void 0)}function Uu(e){vu(e,3,null,null,void 0)}function Fu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function qu(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var zu=new Object;function Bu(e,t,n,r,o,i){return new Wu(e,t,n,r,o,i)}var Wu=function(e){function t(t,n,r,o,i,a){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=du(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Fa.createRootView(e,t||[],n,o,r,zu),u=La(a,i).instance;return n&&a.renderer.setAttribute(Ma(a,0).renderElement,"ng-version",ho.full),new Gu(a,new Ku(a),u)},t}(Yr),Gu=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new ao(Ma(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new es(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Jr);function Qu(e,t,n){return new Zu(e,t,n)}var Zu=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new ao(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new es(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=iu(e),e=e.parent;return e?new es(e,t):new es(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Lu(this._data,e);Fa.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Ku(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof io||(o=i.get(or));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=e;return i=(n=this._data).viewContainer._embeddedViews,null==(r=t)&&(r=i.length),(o=a._view).viewContainerParent=this._view,Fu(i,r,o),function(e,t){var n=ou(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),Fa.dirtyParentQueries(o),Hu(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,u=this._embeddedViews.indexOf(e._view);return o=t,a=(i=(n=this._data).viewContainer._embeddedViews)[r=u],qu(i,r),null==o&&(o=i.length),Fu(i,o,a),Fa.dirtyParentQueries(a),Uu(a),Hu(n,o>0?i[o-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Lu(this._data,e);t&&Fa.destroyView(t)},e.prototype.detach=function(e){var t=Lu(this._data,e);return t?new Ku(t):null},e}();function $u(e){return new Ku(e)}var Ku=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return vu(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){tu(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Fa.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Fa.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Fa.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Uu(this._view),Fa.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Xu(e,t){return new Ju(e,t)}var Ju=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new Ku(Fa.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new ao(Ma(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}($o);function Yu(e,t){return new es(e,t)}var es=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=Bn.THROW_IF_NOT_FOUND),Fa.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Qa(e)},t)},e}();function ts(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Ma(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Va(e,n.nodeIndex).renderText;if(20240&n.flags)return La(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function ns(e){return new rs(e.renderer)}var rs=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=l(_u(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=l(_u(t),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function os(e,t,n,r){return new is(e,t,n,r)}var is=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Mu(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=Bn.THROW_IF_NOT_FOUND),void 0===n&&(n=Ke.Default);var r=0;return n&Ke.SkipSelf?r|=1:n&Ke.Self&&(r|=4),Vu(this,{token:e,tokenKey:Qa(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(ro)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Be(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=e._providers[o];if(i&&i!==Iu){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),as=Qa(so),us=Qa(fo),ss=Qa(ao),ls=Qa(ra),cs=Qa($o),fs=Qa(ia),ps=Qa(Bn),hs=Qa(qn);function ds(e,t,n,r,o,i,a,u){var s=[];if(a)for(var c in a){var f=l(a[c],2);s[f[0]]={flags:8,name:c,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var h in u)p.push({type:1,propName:h,target:null,eventName:u[h]});return gs(e,t|=16384,n,r,o,o,i,s,p)}function vs(e,t,n,r,o){return gs(-1,e,t,0,n,r,o)}function gs(e,t,n,r,o,i,a,u,s){var l=cu(n),c=l.matchedQueries,f=l.references,p=l.matchedQueryIds;s||(s=[]),u||(u=[]),i=Ln(i);var h=fu(a,Be(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:f,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:Cu(u),outputs:s,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function ys(e,t){return _s(e,t)}function ms(e,t){for(var n=e;n.parent&&!uu(n);)n=n.parent;return Cs(n.parent,iu(n),!0,t.provider.value,t.provider.deps)}function bs(e,t){var n=Cs(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName];if(!fi(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(ws(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=a.unsubscribe.bind(a)}return n}function ws(e,t,n){return function(r){return ru(e,t,n,r)}}function _s(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Cs(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(Es(e,t,n,o[0]));case 2:return r(Es(e,t,n,o[0]),Es(e,t,n,o[1]));case 3:return r(Es(e,t,n,o[0]),Es(e,t,n,o[1]),Es(e,t,n,o[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=Es(e,t,n,o[u]);return r.apply(void 0,c(a))}}(e,t.parent,n,r.value,r.deps);case 2048:return Es(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Cs(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Es(e,t,n,o[0]));case 2:return new r(Es(e,t,n,o[0]),Es(e,t,n,o[1]));case 3:return new r(Es(e,t,n,o[0]),Es(e,t,n,o[1]),Es(e,t,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=Es(e,t,n,o[u]);return new(r.bind.apply(r,c([void 0],a)))}}var xs={};function Es(e,t,n,r,o){if(void 0===o&&(o=Bn.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===fs&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var u=e;u;){if(t)switch(a){case as:return ns(Ss(u,t,n));case us:return Ss(u,t,n).renderer;case ss:return new ao(Ma(u,t.nodeIndex).renderElement);case ls:return Ma(u,t.nodeIndex).viewContainer;case cs:if(t.element.template)return Ma(u,t.nodeIndex).template;break;case fs:return $u(Ss(u,t,n));case ps:case hs:return Yu(u,t);default:var s=(n?t.element.allProviders:t.element.publicProviders)[a];if(s){var l=La(u,s.nodeIndex);return l||(l={instance:_s(u,s)},u.nodes[s.nodeIndex]=l),l.instance}}n=uu(u),t=iu(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,xs);return c!==xs||o===xs?c:i.root.ngModule.injector.get(r.token,o)}function Ss(e,t,n){var r;if(n)r=Ma(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!uu(r);)r=r.parent;return r}function Ts(e,t,n,r,o,i){if(32768&n.flags){var a=Ma(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=It.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Nt(u,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function ks(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&t&&Os(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=As(e,a,t,r)),a=a.parent}}function As(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&Os(e,o,i.flags&n,r++),o+=i.childCount}return r}function Os(e,t,n,r){var o=La(e,t);if(o){var i=o.instance;i&&(Fa.setCurrentNode(e,t),1048576&n&&ja(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&ja(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Ps(e,t,n){var r=[];for(var o in n)r.push({propName:o,bindingType:n[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:lu(t),bindings:r},ngContent:null}}function Is(e){for(var t=e.def.nodeMatchedQueries;e.parent&&su(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&Ua(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&Ua(e,o).setDirty(),o+=i.childCount}}function Ns(e,t){var n=Ua(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=Rs(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=La(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=Rs(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var a=t.query.bindings,u=!1,s=0;s<a.length;s++){var l=a[s],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,u=!0}r[l.propName]=c}u&&n.notifyOnChanges()}}function Rs(e,t,n,r,o){for(var i=t;i<=n;i++){var a=e.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(Ds(e,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Ma(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(Rs(e,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var l=s.viewContainer._embeddedViews,c=0;c<l.length;c++){var f=l[c],p=ou(f);p&&p===s&&Rs(f,0,f.def.nodes.length-1,r,o)}var h=s.template._projectedViews;if(h)for(c=0;c<h.length;c++){var d=h[c];Rs(d,0,d.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Ds(e,t,n){if(null!=n)switch(n){case 1:return Ma(e,t.nodeIndex).renderElement;case 0:return new ao(Ma(e,t.nodeIndex).renderElement);case 2:return Ma(e,t.nodeIndex).template;case 3:return Ma(e,t.nodeIndex).viewContainer;case 4:return La(e,t.nodeIndex).instance}}function js(e,t,n){var r=pu(e,t,n);r&&yu(e,n.ngContent.index,1,r,null,void 0)}function Vs(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Ms(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=pu(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Ls(e,t){return(null!=e?e.toString():"")+t.suffix}function Hs(e,t,n,r){for(var o=0,i=0,a=0,u=0,s=0,l=null,c=null,f=!1,p=!1,h=null,d=0;d<t.length;d++){var v=t[d];if(v.nodeIndex=d,v.parent=l,v.bindingIndex=o,v.outputIndex=i,v.renderParent=c,a|=v.flags,s|=v.matchedQueryIds,v.element){var g=v.element;g.publicProviders=l?l.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,f=!1,p=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(Fs(l,v,t.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(h=v),20224&v.flags){f||(f=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var y=0!=(32768&v.flags);0==(8192&v.flags)||y?l.element.publicProviders[Qa(v.provider.token)]=v:(p||(p=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Qa(v.provider.token)]=v),y&&(l.element.componentProvider=v)}if(l?(l.childFlags|=v.flags,l.directChildFlags|=v.flags,l.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(l.childMatchedQueries|=v.element.template.nodeMatchedQueries)):u|=v.flags,v.childCount>0)l=v,Us(v)||(c=v);else for(;l&&d===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&Us(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||Wa,updateRenderer:r||Wa,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:h}}function Us(e){return 0!=(1&e.flags)&&null===e.element.name}function Fs(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function qs(e,t,n,r){var o=Ws(e.root,e.renderer,e,t,n);return Gs(o,e.component,r),Qs(o),o}function zs(e,t,n){var r=Ws(e,e.renderer,null,null,t);return Gs(r,n,n),Qs(r),r}function Bs(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Ws(e.root,o,e,t.element.componentProvider,n)}function Ws(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Gs(e,t,n){e.component=t,e.context=n}function Qs(e){var t;uu(e)&&(t=Ma(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Fa.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var u=ku(e,t,i),s=void 0;if(33554432&i.flags){var l=du(i.element.componentView);s=Fa.createComponentView(e,i,l,u)}Au(e,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?Xu(e,i):void 0},16777216&i.flags&&(a.viewContainer=Qu(e,i,a));break;case 2:a=Ms(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:ys(e,i)});break;case 16:a={instance:ms(e,i)};break;case 16384:(a=r[o])||(a={instance:bs(e,i)}),32768&i.flags&&Gs(Ma(e,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new Xi;break;case 8:js(e,t,i),a=void 0}r[o]=a}nl(e,tl.CreateViewNodes),al(e,201326592,268435456,0)}function Zs(e){Xs(e),Fa.updateDirectives(e,1),rl(e,tl.CheckNoChanges),Fa.updateRenderer(e,1),nl(e,tl.CheckNoChanges),e.state&=-97}function $s(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Da(e,0,256),Xs(e),Fa.updateDirectives(e,0),rl(e,tl.CheckAndUpdate),al(e,67108864,536870912,0);var t=Da(e,256,512);ks(e,2097152|(t?1048576:0)),Fa.updateRenderer(e,0),nl(e,tl.CheckAndUpdate),al(e,134217728,536870912,0),ks(e,8388608|((t=Da(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Da(e,768,1024)}function Ks(e,t,n,r,o,i,a,u,s,l,f,p,h){return 0===n?function(e,t,n,r,o,i,a,u,s,l,c,f){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,a,u,s,l,c,f){var p=t.bindings.length,h=!1;return p>0&&Pu(e,t,0,n)&&(h=!0),p>1&&Pu(e,t,1,r)&&(h=!0),p>2&&Pu(e,t,2,o)&&(h=!0),p>3&&Pu(e,t,3,i)&&(h=!0),p>4&&Pu(e,t,4,a)&&(h=!0),p>5&&Pu(e,t,5,u)&&(h=!0),p>6&&Pu(e,t,6,s)&&(h=!0),p>7&&Pu(e,t,7,l)&&(h=!0),p>8&&Pu(e,t,8,c)&&(h=!0),p>9&&Pu(e,t,9,f)&&(h=!0),h}(e,t,n,r,o,i,a,u,s,l,c,f);case 2:return function(e,t,n,r,o,i,a,u,s,l,c,f){var p=!1,h=t.bindings,d=h.length;if(d>0&&Ya(e,t,0,n)&&(p=!0),d>1&&Ya(e,t,1,r)&&(p=!0),d>2&&Ya(e,t,2,o)&&(p=!0),d>3&&Ya(e,t,3,i)&&(p=!0),d>4&&Ya(e,t,4,a)&&(p=!0),d>5&&Ya(e,t,5,u)&&(p=!0),d>6&&Ya(e,t,6,s)&&(p=!0),d>7&&Ya(e,t,7,l)&&(p=!0),d>8&&Ya(e,t,8,c)&&(p=!0),d>9&&Ya(e,t,9,f)&&(p=!0),p){var v=t.text.prefix;d>0&&(v+=Ls(n,h[0])),d>1&&(v+=Ls(r,h[1])),d>2&&(v+=Ls(o,h[2])),d>3&&(v+=Ls(i,h[3])),d>4&&(v+=Ls(a,h[4])),d>5&&(v+=Ls(u,h[5])),d>6&&(v+=Ls(s,h[6])),d>7&&(v+=Ls(l,h[7])),d>8&&(v+=Ls(c,h[8])),d>9&&(v+=Ls(f,h[9]));var g=Va(e,t.nodeIndex).renderText;e.renderer.setValue(g,v)}return p}(e,t,n,r,o,i,a,u,s,l,c,f);case 16384:return function(e,t,n,r,o,i,a,u,s,l,c,f){var p=La(e,t.nodeIndex),h=p.instance,d=!1,v=void 0,g=t.bindings.length;return g>0&&Ja(e,t,0,n)&&(d=!0,v=Ts(e,p,t,0,n,v)),g>1&&Ja(e,t,1,r)&&(d=!0,v=Ts(e,p,t,1,r,v)),g>2&&Ja(e,t,2,o)&&(d=!0,v=Ts(e,p,t,2,o,v)),g>3&&Ja(e,t,3,i)&&(d=!0,v=Ts(e,p,t,3,i,v)),g>4&&Ja(e,t,4,a)&&(d=!0,v=Ts(e,p,t,4,a,v)),g>5&&Ja(e,t,5,u)&&(d=!0,v=Ts(e,p,t,5,u,v)),g>6&&Ja(e,t,6,s)&&(d=!0,v=Ts(e,p,t,6,s,v)),g>7&&Ja(e,t,7,l)&&(d=!0,v=Ts(e,p,t,7,l,v)),g>8&&Ja(e,t,8,c)&&(d=!0,v=Ts(e,p,t,8,c,v)),g>9&&Ja(e,t,9,f)&&(d=!0,v=Ts(e,p,t,9,f,v)),v&&h.ngOnChanges(v),65536&t.flags&&ja(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),d}(e,t,n,r,o,i,a,u,s,l,c,f);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,u,s,l,c,f){var p=t.bindings,h=!1,d=p.length;if(d>0&&Ya(e,t,0,n)&&(h=!0),d>1&&Ya(e,t,1,r)&&(h=!0),d>2&&Ya(e,t,2,o)&&(h=!0),d>3&&Ya(e,t,3,i)&&(h=!0),d>4&&Ya(e,t,4,a)&&(h=!0),d>5&&Ya(e,t,5,u)&&(h=!0),d>6&&Ya(e,t,6,s)&&(h=!0),d>7&&Ya(e,t,7,l)&&(h=!0),d>8&&Ya(e,t,8,c)&&(h=!0),d>9&&Ya(e,t,9,f)&&(h=!0),h){var v=Ha(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(p.length),d>0&&(g[0]=n),d>1&&(g[1]=r),d>2&&(g[2]=o),d>3&&(g[3]=i),d>4&&(g[4]=a),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=l),d>8&&(g[8]=c),d>9&&(g[9]=f);break;case 64:g={},d>0&&(g[p[0].name]=n),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=o),d>3&&(g[p[3].name]=i),d>4&&(g[p[4].name]=a),d>5&&(g[p[5].name]=u),d>6&&(g[p[6].name]=s),d>7&&(g[p[7].name]=l),d>8&&(g[p[8].name]=c),d>9&&(g[p[9].name]=f);break;case 128:var y=n;switch(d){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,a);break;case 6:g=y.transform(r,o,i,a,u);break;case 7:g=y.transform(r,o,i,a,u,s);break;case 8:g=y.transform(r,o,i,a,u,s,l);break;case 9:g=y.transform(r,o,i,a,u,s,l,c);break;case 10:g=y.transform(r,o,i,a,u,s,l,c,f)}}v.value=g}return h}(e,t,n,r,o,i,a,u,s,l,c,f);default:throw"unreachable"}}(e,t,r,o,i,a,u,s,l,f,p,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o<n.length;o++)Pu(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Ya(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=Ls(n[i],r[i]);a=t.text.prefix+a;var u=Va(e,t.nodeIndex).renderText;e.renderer.setValue(u,a)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=La(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)Ja(e,t,u,n[u])&&(i=!0,a=Ts(e,r,t,u,n[u],a));return a&&o.ngOnChanges(a),65536&t.flags&&ja(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Ya(e,t,i,n[i])&&(o=!0);if(o){var a=Ha(e,t.nodeIndex),u=void 0;switch(201347067&t.flags){case 32:u=n;break;case 64:for(u={},i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var s=n[0],l=n.slice(1);u=s.transform.apply(s,c(l))}a.value=u}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Xs(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=Ma(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,nu(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Js(e,t,n,r,o,i,a,u,s,l,c,f,p){return 0===n?function(e,t,n,r,o,i,a,u,s,l,c,f){var p=t.bindings.length;p>0&&eu(e,t,0,n),p>1&&eu(e,t,1,r),p>2&&eu(e,t,2,o),p>3&&eu(e,t,3,i),p>4&&eu(e,t,4,a),p>5&&eu(e,t,5,u),p>6&&eu(e,t,6,s),p>7&&eu(e,t,7,l),p>8&&eu(e,t,8,c),p>9&&eu(e,t,9,f)}(e,t,r,o,i,a,u,s,l,c,f,p):function(e,t,n){for(var r=0;r<n.length;r++)eu(e,t,r,n[r])}(e,t,r),!1}function Ys(e,t){if(Ua(e,t.nodeIndex).dirty)throw qa(Fa.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function el(e){if(!(128&e.state)){if(rl(e,tl.Destroy),nl(e,tl.Destroy),ks(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=ou(e);if(t){var n=t.template._projectedViews;n&&(qu(n,n.indexOf(e)),Fa.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Ma(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Va(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Ua(e,n).destroy()}}(e),uu(e)&&e.renderer.destroy(),e.state|=128}}var tl=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function nl(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?ol(Ma(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function rl(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Ma(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)ol(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function ol(e,t){var n=e.state;switch(t){case tl.CheckNoChanges:0==(128&n)&&(12==(12&n)?Zs(e):64&n&&il(e,tl.CheckNoChangesProjectedViews));break;case tl.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Zs(e):64&n&&il(e,t));break;case tl.CheckAndUpdate:0==(128&n)&&(12==(12&n)?$s(e):64&n&&il(e,tl.CheckAndUpdateProjectedViews));break;case tl.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?$s(e):64&n&&il(e,t));break;case tl.Destroy:el(e);break;case tl.CreateViewNodes:Qs(e)}}function il(e,t){rl(e,t),nl(e,t)}function al(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var a=e.def.nodes[i];if(a.flags&t&&a.flags&n)switch(Fa.setCurrentNode(e,a.nodeIndex),r){case 0:Ns(e,a);break;case 1:Ys(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}var ul=!1;function sl(e,t,n,r,o,i){var a=o.injector.get(lo);return zs(cl(e,o,a,t,n),r,i)}function ll(e,t,n,r,o,i){var a=o.injector.get(lo),u=cl(e,o,new Bl(a),t,n),s=wl(r);return ql(Ol.create,zs,null,[u,s,i])}function cl(e,t,n,r,o){var i=t.injector.get(Jo),a=t.injector.get(li),u=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:u,errorHandler:a}}function fl(e,t,n,r){var o=wl(n);return ql(Ol.create,qs,null,[e,t,o,r])}function pl(e,t,n,r){return n=gl.get(t.element.componentProvider.provider.token)||wl(n),ql(Ol.create,Bs,null,[e,t,n,r])}function hl(e,t,n,r){return os(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===dl.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=dl.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){vl.forEach(function(r,o){Te(o).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var o=dl.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=fu(o.deps),r.value=o.value)}if(vl.size>0){var i=new Set(e.modules);vl.forEach(function(t,r){if(i.has(Te(r).providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:fu(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Qa(r)]=o}})}}(e=e.factory(function(){return Wa})),e):e}(r))}var dl=new Map,vl=new Map,gl=new Map;function yl(e){var t;dl.set(e.token,e),"function"==typeof e.token&&(t=Te(e.token))&&"function"==typeof t.providedIn&&vl.set(e.token,e)}function ml(e,t){var n=du(t.viewDefFactory),r=du(n.nodes[0].element.componentView);gl.set(e,r)}function bl(){dl.clear(),vl.clear(),gl.clear()}function wl(e){if(0===dl.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&dl.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Wa});for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=dl.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=fu(i.deps),o.value=i.value)}}}}function _l(e,t,n,r,o,i,a,u,s,l,c,f,p){var h=e.def.nodes[t];return Ks(e,h,n,r,o,i,a,u,s,l,c,f,p),224&h.flags?Ha(e,t).value:void 0}function Cl(e,t,n,r,o,i,a,u,s,l,c,f,p){var h=e.def.nodes[t];return Js(e,h,n,r,o,i,a,u,s,l,c,f,p),224&h.flags?Ha(e,t).value:void 0}function xl(e){return ql(Ol.detectChanges,$s,null,[e])}function El(e){return ql(Ol.checkNoChanges,Zs,null,[e])}function Sl(e){return ql(Ol.destroy,el,null,[e])}var Tl,kl,Al,Ol=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});function Pl(e,t){kl=e,Al=t}function Il(e,t,n,r){return Pl(e,t),ql(Ol.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Nl(e,t){if(128&e.state)throw Ba(Ol[Tl]);return Pl(e,Ll(e,0)),e.def.updateDirectives(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?Dl(e,a,r,o):jl(e,a,r,o),16384&a.flags&&Pl(e,Ll(e,n)),224&a.flags?Ha(e,a.nodeIndex).value:void 0},e)}function Rl(e,t){if(128&e.state)throw Ba(Ol[Tl]);return Pl(e,Hl(e,0)),e.def.updateRenderer(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?Dl(e,a,r,o):jl(e,a,r,o),3&a.flags&&Pl(e,Hl(e,n)),224&a.flags?Ha(e,a.nodeIndex).value:void 0},e)}function Dl(e,t,n,r){if(Ks.apply(void 0,c([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},a=0;a<t.bindings.length;a++){var u=t.bindings[a],s=o[a];8&u.flags&&(i[(h=u.nonMinifiedName,d=void 0,d=h.replace(/[$@]/g,"_"),"ng-reflect-"+(h=d.replace(Vl,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})))]=Ml(s))}var l=t.parent,f=Ma(e,l.nodeIndex).renderElement;if(l.element.name)for(var p in i)null!=(s=i[p])?e.renderer.setAttribute(f,p,s):e.renderer.removeAttribute(f,p);else e.renderer.setValue(f,"bindings="+JSON.stringify(i,null,2))}}var h,d}function jl(e,t,n,r){Js.apply(void 0,c([e,t,n],r))}var Vl=/([A-Z])/g;function Ml(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Ll(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Hl(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Ul=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=iu(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Ma(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Yu(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Fl(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&Fl(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!uu(e);)e=e.parent;return e.parent?Ma(e.parent,iu(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?au(this.view,this.nodeDef):au(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),a=-1;t.factory(function(){var t;return++a===i?(t=e.error).bind.apply(t,c([e],r)):Wa}),a<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,c(r)))},e}();function Fl(e,t,n){for(var r in t.references)n[r]=Ds(e,t,t.references[r])}function ql(e,t,n,r){var o=Tl,i=kl,a=Al;try{Tl=e;var u=t.apply(n,r);return kl=i,Al=a,Tl=o,u}catch(s){if(ai(s)||!kl)throw s;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),za(e,t),e}(s,zl())}}function zl(){return kl?new Ul(kl,Al):null}var Bl=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Wl(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Wl=function(){function e(e){this.delegate=e,this.debugContextFactory=zl,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function(e){ca.delete(e.nativeNode)}(fa(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var o=new la(n,null,r);o.name=e,pa(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&pa(new sa(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&pa(new sa(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=fa(e),r=fa(t);n&&r&&n instanceof la&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=fa(e),o=fa(t),i=fa(n);r&&o&&r instanceof la&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=fa(e),r=fa(t);n&&r&&n instanceof la&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=zl()||null;return r&&pa(new la(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=fa(e);o&&o instanceof la&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=fa(e);r&&r instanceof la&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=fa(e);n&&n instanceof la&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=fa(e);n&&n instanceof la&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=fa(e);o&&o instanceof la&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=fa(e);r&&r instanceof la&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=fa(e);r&&r instanceof la&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=fa(e);r&&r.listeners.push(new ua(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function Gl(e,t,n){return new Ql(e,t,n)}var Ql=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){!function(){if(!ul){ul=!0;var e=So()?{setCurrentNode:Pl,createRootView:ll,createEmbeddedView:fl,createComponentView:pl,createNgModuleRef:hl,overrideProvider:yl,overrideComponentView:ml,clearOverrides:bl,checkAndUpdateView:xl,checkNoChangesView:El,destroyView:Sl,createDebugContext:function(e,t){return new Ul(e,t)},handleEvent:Il,updateDirectives:Nl,updateRenderer:Rl}:{setCurrentNode:function(){},createRootView:sl,createEmbeddedView:qs,createComponentView:Bs,createNgModuleRef:os,overrideProvider:Wa,overrideComponentView:Wa,clearOverrides:Wa,checkAndUpdateView:$s,checkNoChangesView:Zs,destroyView:el,createDebugContext:function(e,t){return new Ul(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?_l:Cl,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?_l:Cl,e)}};Fa.setCurrentNode=e.setCurrentNode,Fa.createRootView=e.createRootView,Fa.createEmbeddedView=e.createEmbeddedView,Fa.createComponentView=e.createComponentView,Fa.createNgModuleRef=e.createNgModuleRef,Fa.overrideProvider=e.overrideProvider,Fa.overrideComponentView=e.overrideComponentView,Fa.clearOverrides=e.clearOverrides,Fa.checkAndUpdateView=e.checkAndUpdateView,Fa.checkNoChangesView=e.checkNoChangesView,Fa.destroyView=e.destroyView,Fa.resolveDep=Es,Fa.createDebugContext=e.createDebugContext,Fa.handleEvent=e.handleEvent,Fa.updateDirectives=e.updateDirectives,Fa.updateRenderer=e.updateRenderer,Fa.dirtyParentQueries=Is}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(du(this._ngModuleDefFactory));return Fa.createNgModuleRef(this.moduleType,e||Bn.NULL,this._bootstrapComponents,t)},t}(ir),Zl=function(){return function(e,t,n,r,o,i,a,u){this.name=e,this.avatar=t,this.followers=n,this.following=r,this.bio=o,this.url=i,this.repos=a,this.created_at=u}}(),$l=function(){return function(e,t,n,r,o,i,a){this.description=e,this.name=t,this.forks=n,this.watches=r,this.language=o,this.url=i,this.stars=a,this.showDescription=!0}}(),Kl=new R(function(e){return e.complete()});function Xl(e){return e?function(e){return new R(function(t){return e.schedule(function(){return t.complete()})})}(e):Kl}function Jl(e){var t=new R(function(t){t.next(e),t.complete()});return t._isScalar=!0,t.value=e,t}function Yl(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];switch(F(n)?e.pop():n=void 0,e.length){case 0:return Xl(n);case 1:return n?re(e,n):Jl(e[0]);default:return re(e,n)}}function ec(e,t){return ie(e,t,1)}function tc(e,t){return function(n){return n.lift(new nc(e,t))}}var nc=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new rc(e,this.predicate,this.thisArg))},e}(),rc=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)},t}(k),oc=function(){return function(){}}(),ic=new Ae("Location Initialized"),ac=function(){return function(){}}(),uc=new Ae("appBaseHref"),sc=function(){function e(e){var n=this;this._subject=new Zo,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(lc(r)),this._platformStrategy.onPopState(function(e){n._subject.emit({url:n.path(!0),pop:!0,state:e.state,type:e.type})})}var t;return t=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},e.prototype.normalize=function(e){return t.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,lc(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",e,t)},e.prototype.replaceState=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",e,t)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)},e}();function lc(e){return e.replace(/\/index.html$/,"")}var cc=function(e){function t(t,n){var r=e.call(this)||this;return r._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=sc.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+sc.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+sc.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(ac),fc=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,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 o(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return sc.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+sc.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+sc.normalizeQueryParams(r));this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+sc.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(ac),pc=void 0,hc=["en",[["a","p"],["AM","PM"],pc],[["AM","PM"],pc,pc],[["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"]],pc,[["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"]],pc,[["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}",pc,"{1} 'at' {0}",pc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],dc={},vc=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),gc=new Ae("UseV4Plurals"),yc=function(){return function(){}}(),mc=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return o(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=dc[t];if(n)return n;var r=t.split("-")[0];if(n=dc[r])return n;if("en"===r)return hc;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case vc.Zero:return"zero";case vc.One:return"one";case vc.Two:return"two";case vc.Few:return"few";case vc.Many:return"many";default:return"other"}},t}(yc);function bc(e,t){var n,r;t=encodeURIComponent(t);try{for(var o=s(e.split(";")),i=o.next();!i.done;i=o.next()){var a=i.value,u=a.indexOf("="),c=l(-1==u?[a,""]:[a.slice(0,u),a.slice(u+1)],2),f=c[1];if(c[0].trim()===t)return decodeURIComponent(f)}}catch(p){n={error:p}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}var wc=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),_c=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){So()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,r,o){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new wc(null,t._ngForOf,-1,-1),o),a=new Cc(e,i);n.push(a)}else null==o?t._viewContainer.remove(r):(i=t._viewContainer.get(r),t._viewContainer.move(i,o),a=new Cc(e,i),n.push(a))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o,i.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e.ngTemplateContextGuard=function(e,t){return!0},e}(),Cc=function(){return function(e,t){this.record=e,this.view=t}}(),xc=function(){function e(e,t){this._viewContainer=e,this._context=new Ec,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){Sc("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){Sc("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.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)))},e.ngTemplateGuard_ngIf=function(e,t){return!0},e}(),Ec=function(){return function(){this.$implicit=null,this.ngIf=null}}();function Sc(e,t){if(t&&!t.createEmbeddedView)throw new Error(e+" must be a TemplateRef, but received '"+Be(t)+"'.")}var Tc=function(){return function(){}}(),kc=new Ae("DocumentToken"),Ac="server",Oc=function(){function e(){}return e.ngInjectableDef=Se({providedIn:"root",factory:function(){return new Pc(et(kc),window)}}),e}(),Pc=function(){function e(e,t){this.document=e,this.window=t,this.offset=function(){return[0,0]}}return e.prototype.setOffset=function(e){this.offset=Array.isArray(e)?function(){return e}:e},e.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},e.prototype.scrollToPosition=function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])},e.prototype.scrollToAnchor=function(e){if(this.supportScrollRestoration()){var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='"+e+"']");if(n)return void this.scrollToElement(n)}},e.prototype.setHistoryScrollRestoration=function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}},e.prototype.scrollToElement=function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},e.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},e}(),Ic=function(){return function(){}}(),Nc=function(){return function(){}}(),Rc=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>0){var r=e.slice(0,n),o=r.toLowerCase(),i=e.slice(n+1).trim();t.maybeSetNormalizedName(r,o),t.headers.has(o)?t.headers.get(o).push(i):t.headers.set(o,[i])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var r=e[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(o,r),t.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,c(n)),this.headers.set(t,r);break;case"d":var o=e.value;if(o){var i=this.headers.get(t);if(!i)return;0===(i=i.filter(function(e){return-1===o.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})},e}(),Dc=function(){function e(){}return e.prototype.encodeKey=function(e){return jc(e)},e.prototype.encodeValue=function(e){return jc(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function jc(e){return encodeURIComponent(e).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 Vc=function(){function e(e){void 0===e&&(e={});var t,n,r,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Dc,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),o=l(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),i=o[0],a=o[1],u=r.get(i)||[];u.push(a),r.set(i,u)}),r)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var n=e.fromObject[t];o.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],o=r.indexOf(t.value);-1!==o&&r.splice(o,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=null)},e}();function Mc(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Lc(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Hc(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Uc=function(){function e(e,t,n,r){var o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){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,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new Rc),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=t;else{var a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+i}}else this.params=new Vc,this.urlWithParams=t}return e.prototype.serializeBody=function(){return null===this.body?null:Mc(this.body)||Lc(this.body)||Hc(this.body)||"string"==typeof this.body?this.body:this.body instanceof Vc?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},e.prototype.detectContentTypeHeader=function(){return null===this.body?null:Hc(this.body)?null:Lc(this.body)?this.body.type||null:Mc(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Vc?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},e.prototype.clone=function(t){void 0===t&&(t={});var n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,u=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,s=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(s=Object.keys(t.setHeaders).reduce(function(e,n){return e.set(n,t.setHeaders[n])},s)),t.setParams&&(l=Object.keys(t.setParams).reduce(function(e,n){return e.set(n,t.setParams[n])},l)),new e(n,r,i,{params:l,headers:s,reportProgress:u,responseType:o,withCredentials:a})},e}(),Fc=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),qc=function(){return function(e,t,n){void 0===t&&(t=200),void 0===n&&(n="OK"),this.headers=e.headers||new Rc,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}(),zc=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Fc.ResponseHeader,n}return o(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(qc),Bc=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Fc.Response,n.body=void 0!==t.body?t.body:null,n}return o(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(qc),Wc=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return o(t,e),t}(qc);function Gc(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Qc=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r,o=this;if(void 0===n&&(n={}),e instanceof Uc)r=e;else{var i;i=n.headers instanceof Rc?n.headers:new Rc(n.headers);var a=void 0;n.params&&(a=n.params instanceof Vc?n.params:new Vc({fromObject:n.params})),r=new Uc(e,t,void 0!==n.body?n.body:null,{headers:i,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var u=Yl(r).pipe(ec(function(e){return o.handler.handle(e)}));if(e instanceof Uc||"events"===n.observe)return u;var s=u.pipe(tc(function(e){return e instanceof Bc}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(ee(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return s.pipe(ee(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return s.pipe(ee(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return s.pipe(ee(function(e){return e.body}))}case"response":return s;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new Vc).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,Gc(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,Gc(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,Gc(n,t))},e}(),Zc=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),$c=new Ae("HTTP_INTERCEPTORS"),Kc=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),Xc=/^\)\]\}',?\n/,Jc=function(){return function(){}}(),Yc=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),ef=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new R(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var o=e.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(e.responseType){var i=e.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var a=e.serializeBody(),u=null,s=function(){if(null!==u)return u;var t=1223===r.status?204:r.status,n=r.statusText||"OK",o=new Rc(r.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return u=new zc({headers:o,status:t,statusText:n,url:i})},l=function(){var t=s(),o=t.headers,i=t.status,a=t.statusText,u=t.url,l=null;204!==i&&(l=void 0===r.response?r.responseText:r.response),0===i&&(i=l?200:0);var c=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){var f=l;l=l.replace(Xc,"");try{l=""!==l?JSON.parse(l):null}catch(p){l=f,c&&(c=!1,l={error:p,text:l})}}c?(n.next(new Bc({body:l,headers:o,status:i,statusText:a,url:u||void 0})),n.complete()):n.error(new Wc({error:l,headers:o,status:i,statusText:a,url:u||void 0}))},c=function(e){var t=new Wc({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(t)},f=!1,p=function(t){f||(n.next(s()),f=!0);var o={type:Fc.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(o.total=t.total),"text"===e.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},h=function(e){var t={type:Fc.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",l),r.addEventListener("error",c),e.reportProgress&&(r.addEventListener("progress",p),null!==a&&r.upload&&r.upload.addEventListener("progress",h)),r.send(a),n.next({type:Fc.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",l),e.reportProgress&&(r.removeEventListener("progress",p),null!==a&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}})},e}(),tf=new Ae("XSRF_COOKIE_NAME"),nf=new Ae("XSRF_HEADER_NAME"),rf=function(){return function(){}}(),of=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=bc(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),af=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e}(),uf=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get($c,[]);this.chain=t.reduceRight(function(e,t){return new Zc(e,t)},this.backend)}return this.chain.handle(e)},e}(),sf=function(){function e(){}var t;return t=e,e.disable=function(){return{ngModule:t,providers:[{provide:af,useClass:Kc}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:tf,useValue:e.cookieName}:[],e.headerName?{provide:nf,useValue:e.headerName}:[]]}},e}(),lf=function(){return function(){}}(),cf=function(){function e(e){this.http=e,this.complete=!1,console.log("service is now ready!")}return e.prototype.getProfileInfo=function(e){var t=this,n=new Zl("","",0,0,"","",0,"");return new Promise(function(r,o){t.http.get("https://api.github.com/users/"+e+"?access_token=addbdbd1509d13599c0df3ca811a8afdc25a7794").toPromise().then(function(e){n.name=e.login,n.url=e.html_url,n.created_at=e.created_at,n.repos=e.public_repos,n.avatar=e.avatar_url,n.bio=e.bio,n.followers=e.followers,n.following=e.following,null===e.bio&&(n.bio="Github user"),r()},function(e){n.name="User not found",o(e)})}),n},e.prototype.getMyProfile=function(e){var t=this,n=new Zl("","",0,0,"","",0,"");return new Promise(function(){t.http.get("https://api.github.com/users/liciolentimo?access_token=addbdbd1509d13599c0df3ca811a8afdc25a7794").toPromise().then(function(e){n.name=e.login,n.url=e.html_url,n.created_at=e.created_at,n.repos=e.public_repos,n.avatar=e.avatar_url,n.bio=e.bio,n.followers=e.followers,n.following=e.following})}),n},e.prototype.getRepo=function(e){var t=this,n=[];return new $l("","",0,0,"","",0),new Promise(function(r,o){t.http.get("https://api.github.com/users/"+e+"/repos?access_token=addbdbd1509d13599c0df3ca811a8afdc25a7794").toPromise().then(function(e){for(var t=0;t<e.length;t++){var r=new $l("","",0,0,"","",0);r.name=e[t].name,r.forks=e[t].forks,r.language=e[t].language,r.stars=e[t].stargazers_count,r.watches=e[t].watchers,r.url=e[t].html_url,n.push(r)}},function(e){console.log("Repo not found"),o(e)})}),n},e.ngInjectableDef=Se({factory:function(){return new e(et(Qc))},token:e,providedIn:"root"}),e}(),ff=n("EVdn"),pf=function(){function e(e,t){this.http=e,this.profileService=t,this.title="Gitsearch",this.repos=[],this.clone=[],this.username="",this.viewRepo=!1,this.users=[]}return e.prototype.ngOnInit=function(){},e.prototype.searchUser=function(){var e=this;this.http.get("https://api.github.com/users/"+this.username+"?access_token=addbdbd1509d13599c0df3ca811a8afdc25a7794").subscribe(function(t){e.response=t,e.user=e.profileService.getProfileInfo(e.username),e.repos=e.profileService.getRepo(e.username),console.log(e.response)})},e.prototype.toggleRepos=function(){this.viewRepo=!this.viewRepo},e.prototype.searchRepo=function(){var e=ff("#repoSearch").val();this.http.get("https://api.github.com/users"+this.username),this.repos.forEach(function(t){t.display=-1!==t.name.indexOf(e)}),ff("#repoSearch").val("")},e.prototype.viewAll=function(){this.repos.forEach(function(e){e.display=!0})},e}(),hf=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),df=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),vf=function(){function e(e,t){this.profileService=e,this.http=t,this.username="",this.repos=[],this.viewRepo=!1}return e.prototype.getMyProfile=function(){var e=this;this.http.get("https://api.github.com/users/liciolentimo?access_token=addbdbd1509d13599c0df3ca811a8afdc25a7794").subscribe(function(t){e.response=t,console.log(e.response)})},e.prototype.ngOnInit=function(){this.profileService.getMyProfile(this.username)},e}(),gf=function(){return function(){}}(),yf=function(){function e(e,t){this.profileService=e,this.http=t,this.title="Gitsearch",this.repos=[],this.viewProfile=!1}return e.prototype.ngOnInit=function(){},e}(),mf=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new V;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(H);function bf(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}bf.prototype=Object.create(Error.prototype);var wf=bf,_f={},Cf=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new xf(e,this.resultSelector))},e}(),xf=function(e){function t(t,n){var r=e.call(this,t)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return o(t,e),t.prototype._next=function(e){this.values.push(_f),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(J(this,r,r,n))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){var i=this.values,a=this.toRespond?i[n]===_f?--this.toRespond:this.toRespond:0;i[n]=t,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(Y);function Ef(e){return new R(function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?oe(n):Xl()).subscribe(t)})}function Sf(){return le(1)}function Tf(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Tf.prototype=Object.create(Error.prototype);var kf=Tf;function Af(e){return function(t){return 0===e?Xl():t.lift(new Of(e))}}var Of=function(){function e(e){if(this.total=e,this.total<0)throw new kf}return e.prototype.call=function(e,t){return t.subscribe(new Pf(e,this.total))},e}(),Pf=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return o(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=t++%n;e.next(r[i])}e.complete()},t}(k);function If(e,t,n){return function(r){return r.lift(new Nf(e,t,n))}}var Nf=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new Rf(e,this.nextOrObserver,this.error,this.complete))},e}(),Rf=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._tapNext=P,i._tapError=P,i._tapComplete=P,i._tapError=r||P,i._tapComplete=o||P,h(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||P,i._tapError=n.error||P,i._tapComplete=n.complete||P),i}return o(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(k),Df=function(e){return void 0===e&&(e=jf),If({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}})};function jf(){return new wf}function Vf(e){return void 0===e&&(e=null),function(t){return t.lift(new Mf(e))}}var Mf=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new Lf(e,this.defaultValue))},e}(),Lf=function(e){function t(t,n){var r=e.call(this,t)||this;return r.defaultValue=n,r.isEmpty=!0,r}return o(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(k);function Hf(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?tc(function(t,n){return e(t,n,r)}):se,Af(1),n?Vf(t):Df(function(){return new wf}))}}function Uf(e){return function(t){var n=new Ff(e),r=t.lift(n);return n.caught=r}}var Ff=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new qf(e,this.selector,this.caught))},e}(),qf=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.selector=n,o.caught=r,o}return o(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(o){return void e.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new q(this,void 0,void 0);this.add(r),J(this,n,void 0,void 0,r)}},t}(Y);function zf(e){return function(t){return 0===e?Xl():t.lift(new Bf(e))}}var Bf=function(){function e(e){if(this.total=e,this.total<0)throw new kf}return e.prototype.call=function(e,t){return t.subscribe(new Wf(e,this.total))},e}(),Wf=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return o(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(k);function Gf(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?tc(function(t,n){return e(t,n,r)}):se,zf(1),n?Vf(t):Df(function(){return new wf}))}}var Qf=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new Zf(e,this.predicate,this.thisArg,this.source))},e}(),Zf=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(k);function $f(e,t){return"function"==typeof t?function(n){return n.pipe($f(function(n,r){return oe(e(n,r)).pipe(ee(function(e,o){return t(n,e,r,o)}))}))}:function(t){return t.lift(new Kf(e))}}var Kf=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new Xf(e,this.project))},e}(),Xf=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return o(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new q(this,void 0,void 0);this.destination.add(o),this.innerSubscription=J(this,e,t,n,o)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t}(Y);function Jf(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Yf(e,t,n))}}var Yf=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new ep(e,this.accumulator,this.seed,this.hasSeed))},e}(),ep=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},t}(k),tp=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new np(e,this.callback))},e}(),np=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new w(n)),r}return o(t,e),t}(k),rp=null;function op(){return rp}var ip,ap={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},up={"\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"},sp={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"};Le.Node&&(ip=Le.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var lp,cp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,rp||(rp=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,c(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return ap},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return ip.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&sp.hasOwnProperty(t)&&(t=sp[t]))}return up[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=fp||(fp=document.querySelector("base"))?fp.getAttribute("href"):null;return null==n?null:(t=n,lp||(lp=document.createElement("a")),lp.setAttribute("href",t),"/"===lp.pathname.charAt(0)?lp.pathname:"/"+lp.pathname)},t.prototype.resetBaseElement=function(){fp=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return bc(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(a){t._animationPrefix=null,t._transitionEnd=null}return t}return o(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}())),fp=null,pp=kc;function hp(){return!!window.history.pushState}var dp=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}var n;return o(t,e),t.prototype._init=function(){this.location=op().getLocation(),this._history=op().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return op().getBaseHref(this._doc)},t.prototype.onPopState=function(e){op().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){op().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){hp()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){hp()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},a([(n=Ge(pp),function(e,t){n(e,t,0)}),u("design:paramtypes",[Object])],t)}(oc),vp=new Ae("TRANSITION_ID"),gp=[{provide:pi,useFactory:function(e,t,n){return function(){n.get(hi).donePromise.then(function(){var n=op();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[vp,pp,Bn],multi:!0}],yp=function(){function e(){}return e.init=function(){var t;t=new e,Fi=t},e.prototype.addToWindow=function(e){Le.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Le.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Le.getAllAngularRootElements=function(){return e.getAllRootElements()},Le.frameworkStabilizers||(Le.frameworkStabilizers=[]),Le.frameworkStabilizers.push(function(e){var t=Le.getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(o)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?op().isShadowRoot(t)?this.findTestabilityInTree(e,op().getHost(t),!0):this.findTestabilityInTree(e,op().parentElement(t),!0):null},e}();function mp(e,t){"undefined"!=typeof COMPILED&&COMPILED||((Le.ng=Le.ng||{})[e]=t)}var bp={ApplicationRef:Zi,NgZone:Ii};function wp(e){return fa(e)}var _p=new Ae("EventManagerPlugins"),Cp=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),xp=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=op().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),Ep=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),Sp=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return o(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return op().remove(e)})},t}(Ep),Tp={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/"},kp=/%COMP%/g,Ap="_nghost-%COMP%",Op="_ngcontent-%COMP%";function Pp(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?Pp(e,o,n):(o=o.replace(kp,e),n.push(o))}return n}function Ip(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Np=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new Rp(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case je.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Mp(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case je.Native:case je.ShadowDom:return new Lp(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Pp(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),Rp=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(Tp[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'+e+'" did not match any elements');return t||(n.textContent=""),n},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=Tp[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=Tp[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&co.DashCase?e.style.setProperty(t,n,r&co.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&co.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){jp(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return jp(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Ip(n)):this.eventManager.addEventListener(e,t,Ip(n))},e}(),Dp="@".charCodeAt(0);function jp(e,t){if(e.charCodeAt(0)===Dp)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Vp,Mp=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.component=r;var i=Pp(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=Op.replace(kp,r.id),o.hostAttr=Ap.replace(kp,r.id),o}return o(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(Rp),Lp=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===je.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=Pp(o.id,o.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return o(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(Rp),Hp="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},Up=Hp("addEventListener"),Fp=Hp("removeEventListener"),qp={},zp="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[Hp("BLACK_LISTED_EVENTS")]&&(Vp={});var Bp=function(e){return!!Vp&&Vp.hasOwnProperty(e)},Wp=function(e){var t=qp[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[zp];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},Gp=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.ngZone=n,r&&function(e){return e===Ac}(r)||o.patchEvent(),o}return o(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[zp]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=n;if(!e[Up]||Ii.isInAngularZone()&&!Bp(t))e.addEventListener(t,o,!1);else{var i=qp[t];i||(i=qp[t]=Hp("ANGULAR"+t+"FALSE"));var a=e[i],u=a&&a.length>0;a||(a=e[i]=[]);var s=Bp(t)?Zone.root:Zone.current;if(0===a.length)a.push({zone:s,handler:o});else{for(var l=!1,c=0;c<a.length;c++)if(a[c].handler===o){l=!0;break}l||a.push({zone:s,handler:o})}u||e[Up](t,Wp,!1)}return function(){return r.removeEventListener(e,t,o)}},t.prototype.removeEventListener=function(e,t,n){var r=e[Fp];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=qp[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&r.apply(e,[t,Wp,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(xp),Qp={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Zp=new Ae("HammerGestureConfig"),$p=new Ae("HammerLoader"),Kp=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),Xp=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._config=n,i.console=r,i.loader=o,i}return o(t,e),t.prototype.supports=function(e){return!(!Qp.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(e,t,n))}).catch(function(){r.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(e),a=function(e){o.runGuarded(function(){n(e)})};return i.on(t,a),function(){i.off(t,a),"function"==typeof i.destroy&&i.destroy()}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(xp),Jp=["alt","control","meta","shift"],Yp={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},eh=function(e){function t(t){return e.call(this,t)||this}var n;return o(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var o=n.parseEventName(t),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return op().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(t.pop()),i="";if(Jp.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=o,0!=t.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=op().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Jp.forEach(function(r){r!=n&&(0,Yp[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,t,r){return function(o){n.getEventFullKey(o)===e&&r.runGuarded(function(){return t(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(xp),th=function(){return function(){}}(),nh=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case Xo.NONE:return t;case Xo.HTML:return t instanceof oh?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{No=No||new To(e);var r=t?String(t):"";n=No.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=No.getInertBodyElement(r)}while(r!==i);var a=new Fo,u=a.sanitizeChildren(Wo(n)||n);return So()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}finally{if(n)for(var s=Wo(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(t)));case Xo.STYLE:return t instanceof ih?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(ei);return t&&Oo(t[1])===t[1]||e.match(Yo)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(So()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case Xo.SCRIPT:if(t instanceof ah)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case Xo.URL:return t instanceof sh||t instanceof uh?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Oo(String(t)));case Xo.RESOURCE_URL:if(t instanceof sh)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof rh)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new oh(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new ih(e)},t.prototype.bypassSecurityTrustScript=function(e){return new ah(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new uh(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new sh(e)},t}(th),rh=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),oh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(rh),ih=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Style"},t}(rh),ah=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Script"},t}(rh),uh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"URL"},t}(rh),sh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(rh),lh=Bi(Aa,"browser",[{provide:mi,useValue:"browser"},{provide:yi,useValue:function(){cp.makeCurrent(),yp.init()},multi:!0},{provide:oc,useClass:dp,deps:[pp]},{provide:pp,useFactory:function(){return document},deps:[]}]);function ch(){return new li}var fh=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:di,useValue:e.appId},{provide:vp,useExisting:di},gp]}},e}();"undefined"!=typeof window&&window;var ph=function(){return function(e,t){this.id=e,this.url=t}}(),hh=function(e){function t(t,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=e.call(this,t,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return o(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(ph),dh=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(ph),vh=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.reason=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(ph),gh=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.error=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(ph),yh=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ph),mh=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ph),bh=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return o(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(ph),wh=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ph),_h=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(ph),Ch=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),xh=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),Eh=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Sh=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Th=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),kh=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),Ah=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},e}(),Oh=function(){return function(){}}(),Ph="primary",Ih=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function Nh(e){return new Ih(e)}var Rh="ngNavigationCancelingError";function Dh(e){var t=Error("NavigationCancelingError: "+e);return t[Rh]=!0,t}function jh(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],u=e[i];if(a.startsWith(":"))o[a.substring(1)]=u;else if(a!==u.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}var Vh=function(){return function(e,t){this.routes=e,this.module=t}}();function Mh(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var r=e[n];Lh(r,Hh(t,r))}}function Lh(e,t){if(!e)throw new Error("\n      Invalid configuration of route '"+t+"': 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(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==Ph)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&Mh(e.children,t)}function Hh(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function Uh(e){var t=e.children&&e.children.map(Uh),n=t?i({},e,{children:t}):i({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==Ph&&(n.component=Oh),n}function Fh(e,t){var n,r=Object.keys(e),o=Object.keys(t);if(r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(e[n=r[i]]!==t[n])return!1;return!0}function qh(e){return Array.prototype.concat.apply([],e)}function zh(e){return e.length>0?e[e.length-1]:null}function Bh(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Wh(e){return fi(e)?e:ci(e)?oe(Promise.resolve(e)):Yl(e)}function Gh(e,t,n){return n?function(e,t){return Fh(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Kh(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return t[n]===e[n]})}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,o){if(n.segments.length>o.length)return!!Kh(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!Kh(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!e(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),u=o.slice(n.segments.length);return!!Kh(n.segments,a)&&!!n.children[Ph]&&t(n.children[Ph],r,u)}(t,n,n.segments)}(e.root,t.root)}var Qh=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Nh(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return ed.serialize(this)},e}(),Zh=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,Bh(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return td(this)},e}(),$h=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Nh(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return ud(this)},e}();function Kh(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function Xh(e,t){var n=[];return Bh(e.children,function(e,r){r===Ph&&(n=n.concat(t(e,r)))}),Bh(e.children,function(e,r){r!==Ph&&(n=n.concat(t(e,r)))}),n}var Jh=function(){return function(){}}(),Yh=function(){function e(){}return e.prototype.parse=function(e){var t=new pd(e);return new Qh(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return td(t);if(n){var r=t.children[Ph]?e(t.children[Ph],!1):"",o=[];return Bh(t.children,function(t,n){n!==Ph&&o.push(n+":"+e(t,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=Xh(t,function(n,r){return r===Ph?[e(t.children[Ph],!1)]:[r+":"+e(n,!1)]});return td(t)+"/("+i.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return rd(e)+"="+rd(t)}).join("&"):rd(e)+"="+rd(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),ed=new Yh;function td(e){return e.segments.map(function(e){return ud(e)}).join("/")}function nd(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function rd(e){return nd(e).replace(/%3B/gi,";")}function od(e){return nd(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function id(e){return decodeURIComponent(e)}function ad(e){return id(e.replace(/\+/g,"%20"))}function ud(e){return""+od(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+od(e)+"="+od(t[e])}).join(""));var t}var sd=/^[^\/()?;=#]+/;function ld(e){var t=e.match(sd);return t?t[0]:""}var cd=/^[^=?&#]+/,fd=/^[^?&#]+/,pd=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Zh([],{}):new Zh([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[Ph]=new Zh(e,t)),n},e.prototype.parseSegment=function(){var e=ld(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new $h(id(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=ld(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=ld(this.remaining);r&&this.capture(n=r)}e[id(t)]=id(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(cd))?t[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(e){var t=e.match(fd);return t?t[0]:""}(this.remaining);o&&this.capture(r=o)}var i=ad(n),a=ad(r);if(e.hasOwnProperty(i)){var u=e[i];Array.isArray(u)||(e[i]=u=[u]),u.push(a)}else e[i]=a}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=ld(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=Ph);var i=this.parseChildren();t[o]=1===Object.keys(i).length?i[Ph]:new Zh([],i),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),hd=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=dd(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=dd(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=vd(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return vd(e,this._root).map(function(e){return e.value})},e}();function dd(e,t){var n,r;if(e===t.value)return t;try{for(var o=s(t.children),i=o.next();!i.done;i=o.next()){var a=dd(e,i.value);if(a)return a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function vd(e,t){var n,r;if(e===t.value)return[t];try{for(var o=s(t.children),i=o.next();!i.done;i=o.next()){var a=vd(e,i.value);if(a.length)return a.unshift(t),a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var gd=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function yd(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var md=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,Ed(r,t),r}return o(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(hd);function bd(e,t){var n=function(e,t){var n=new Cd([],{},{},"",{},Ph,t,null,e.root,-1,{});return new xd("",new gd(n,[]))}(e,t),r=new mf([new $h("",{})]),o=new mf({}),i=new mf({}),a=new mf({}),u=new mf(""),s=new wd(r,o,a,u,i,Ph,t,n.root);return s.snapshot=n.root,new md(new gd(s,[]),n)}var wd=function(){function e(e,t,n,r,o,i,a,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=u}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(ee(function(e){return Nh(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ee(function(e){return Nh(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function _d(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(e){return e.reduce(function(e,t){return{params:i({},e.params,t.params),data:i({},e.data,t.data),resolve:i({},e.resolve,t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var Cd=function(){function e(e,t,n,r,o,i,a,u,s,l,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=l,this._resolve=c}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Nh(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Nh(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),xd=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,Ed(r,n),r}return o(t,e),t.prototype.toString=function(){return Sd(this._root)},t}(hd);function Ed(e,t){t.value._routerState=e,t.children.forEach(function(t){return Ed(e,t)})}function Sd(e){var t=e.children.length>0?" { "+e.children.map(Sd).join(", ")+" } ":"";return""+e.value+t}function Td(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Fh(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Fh(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!Fh(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Fh(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function kd(e,t){var n,r;return Fh(e.params,t.params)&&Kh(n=e.url,r=t.url)&&n.every(function(e,t){return Fh(e.parameters,r[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||kd(e.parent,t.parent))}function Ad(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Od(e,t,n,r,o){var i={};return r&&Bh(r,function(e,t){i[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),new Qh(n.root===e?t:function e(t,n,r){var o={};return Bh(t.children,function(t,i){o[i]=t===n?r:e(t,n,r)}),new Zh(t.segments,o)}(n.root,e,t),i,o)}var Pd=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Ad(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==zh(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),Id=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function Nd(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[Ph]:""+e}function Rd(e,t,n){if(e||(e=new Zh([],{})),0===e.segments.length&&e.hasChildren())return Dd(e,t,n);var r=function(e,t,n){for(var r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};o<e.segments.length;){if(r>=n.length)return i;var a=e.segments[o],u=Nd(n[r]),s=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!Ld(u,s,a))return i;r+=2}else{if(!Ld(u,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var i=new Zh(e.segments.slice(0,r.pathIndex),{});return i.children[Ph]=new Zh(e.segments.slice(r.pathIndex),e.children),Dd(i,0,o)}return r.match&&0===o.length?new Zh(e.segments,{}):r.match&&!e.hasChildren()?jd(e,t,n):r.match?Dd(e,0,o):jd(e,t,n)}function Dd(e,t,n){if(0===n.length)return new Zh(e.segments,{});var r=function(e){var t,n;return"object"!=typeof e[0]?((t={})[Ph]=e,t):void 0===e[0].outlets?((n={})[Ph]=e,n):e[0].outlets}(n),o={};return Bh(r,function(n,r){null!==n&&(o[r]=Rd(e.children[r],t,n))}),Bh(e.children,function(e,t){void 0===r[t]&&(o[t]=e)}),new Zh(e.segments,o)}function jd(e,t,n){for(var r=e.segments.slice(0,t),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=Vd(n[o].outlets);return new Zh(r,i)}if(0===o&&Ad(n[0]))r.push(new $h(e.segments[t].path,n[0])),o++;else{var a=Nd(n[o]),u=o<n.length-1?n[o+1]:null;a&&u&&Ad(u)?(r.push(new $h(a,Md(u))),o+=2):(r.push(new $h(a,{})),o++)}}return new Zh(r,{})}function Vd(e){var t={};return Bh(e,function(e,n){null!==e&&(t[n]=jd(new Zh([],{}),0,e))}),t}function Md(e){var t={};return Bh(e,function(e,n){return t[n]=""+e}),t}function Ld(e,t,n){return e==n.path&&Fh(t,n.parameters)}var Hd=function(){function e(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Td(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var r=this,o=yd(t);e.children.forEach(function(e){var t=e.value.outlet;r.deactivateRoutes(e,o[t],n),delete o[t]}),Bh(o,function(e,t){r.deactivateRouteAndItsChildren(e,n)})},e.prototype.deactivateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else o&&this.deactivateRouteAndItsChildren(t,n)},e.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},e.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:o})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var o=yd(e),i=e.value.component?r.children:t;Bh(o,function(e,t){return n.deactivateRouteAndItsChildren(e,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var r=this,o=yd(t);e.children.forEach(function(e){r.activateRoutes(e,o[e.value.outlet],n),r.forwardEvent(new kh(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Sh(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(Td(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component)if(i=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),Ud(a.route)}else{var u=function(e){for(var t=r.snapshot.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),s=u?u.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=s,i.outlet&&i.outlet.activateWith(r,s),this.activateChildRoutes(e,null,i.children)}else this.activateChildRoutes(e,null,n)},e}();function Ud(e){Td(e.value),e.children.forEach(Ud)}function Fd(e){return"function"==typeof e}function qd(e){return e instanceof Qh}var zd=function(){return function(e){this.segmentGroup=e||null}}(),Bd=function(){return function(e){this.urlTree=e}}();function Wd(e){return new R(function(t){return t.error(new zd(e))})}function Gd(e){return new R(function(t){return t.error(new Bd(e))})}function Qd(e){return new R(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}var Zd=function(){function e(e,t,n,r,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(or)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Ph).pipe(ee(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(Uf(function(t){if(t instanceof Bd)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof zd)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,Ph).pipe(ee(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(Uf(function(e){if(e instanceof zd)throw t.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,o=e.segments.length>0?new Zh([],((r={})[Ph]=e,r)):e;return new Qh(o,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(ee(function(e){return new Zh([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Yl({});var i=[],a=[],u={};return Bh(n,function(n,o){var s,l,c=(s=o,l=n,r.expandSegmentGroup(e,t,l,s)).pipe(ee(function(e){return u[o]=e}));o===Ph?i.push(c):a.push(c)}),Yl.apply(null,i.concat(a)).pipe(Sf(),Hf(),ee(function(){return u}))}(n.children)},e.prototype.expandSegment=function(e,t,n,r,o,i){var a=this;return Yl.apply(void 0,c(n)).pipe(ee(function(u){return a.expandSegmentAgainstRoute(e,t,n,u,r,o,i).pipe(Uf(function(e){if(e instanceof zd)return Yl(null);throw e}))}),Sf(),Gf(function(e){return!!e}),Uf(function(e,n){if(e instanceof wf||"EmptyError"===e.name){if(a.noLeftoversInUrl(t,r,o))return Yl(new Zh([],{}));throw new zd(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,o,i,a){return Jd(r)!==i?Wd(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):Wd(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Gd(i):this.lineralizeSegments(n,i).pipe(ie(function(n){var i=new Zh(n,{});return o.expandSegment(e,i,t,n,r,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){var a=this,u=$d(t,r,o),s=u.consumedSegments,l=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return Wd(t);var f=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?Gd(f):this.lineralizeSegments(r,f).pipe(ie(function(r){return a.expandSegment(e,t,n,r.concat(o.slice(l)),i,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(ee(function(e){return n._loadedConfig=e,new Zh(r,{})})):Yl(new Zh(r,{}));var a=$d(t,n,r),u=a.consumedSegments,l=a.lastChild;if(!a.matched)return Wd(t);var c=r.slice(l);return this.getChildConfig(e,n,r).pipe(ie(function(e){var n=e.module,r=e.routes,a=function(e,t,n,r){return n.length>0&&function(e,t,n){return r.some(function(n){return Xd(e,t,n)&&Jd(n)!==Ph})}(e,n)?{segmentGroup:Kd(new Zh(t,function(e,t){var n,r,o={};o[Ph]=t;try{for(var i=s(e),a=i.next();!a.done;a=i.next()){var u=a.value;""===u.path&&Jd(u)!==Ph&&(o[Jd(u)]=new Zh([],{}))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new Zh(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return r.some(function(n){return Xd(e,t,n)})}(e,n)?{segmentGroup:Kd(new Zh(e.segments,function(e,t,n,r){var o,a,u={};try{for(var l=s(n),c=l.next();!c.done;c=l.next()){var f=c.value;Xd(e,t,f)&&!r[Jd(f)]&&(u[Jd(f)]=new Zh([],{}))}}catch(p){o={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return i({},r,u)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,u,c,r),l=a.segmentGroup,f=a.slicedSegments;return 0===f.length&&l.hasChildren()?o.expandChildren(n,r,l).pipe(ee(function(e){return new Zh(u,e)})):0===r.length&&0===f.length?Yl(new Zh(u,{})):o.expandSegment(n,l,r,f,Ph,!0).pipe(ee(function(e){return new Zh(u.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t,n){var r=this;return t.children?Yl(new Vh(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Yl(t._loadedConfig):function(e,t,n){var r,o=t.canLoad;return o&&0!==o.length?oe(o).pipe(ee(function(r){var o,i=e.get(r);if(function(e){return e&&Fd(e.canLoad)}(i))o=i.canLoad(t,n);else{if(!Fd(i))throw new Error("Invalid CanLoad guard");o=i(t,n)}return Wh(o)})).pipe(Sf(),(r=function(e){return!0===e},function(e){return e.lift(new Qf(r,void 0,e))})):Yl(!0)}(e.injector,t,n).pipe(ie(function(n){return n?r.configLoader.load(e.injector,t).pipe(ee(function(e){return t._loadedConfig=e,e})):function(e){return new R(function(t){return t.error(Dh("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))})}(t)})):Yl(new Vh([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Yl(n);if(r.numberOfChildren>1||!r.children[Ph])return Qd(e.redirectTo);r=r.children[Ph]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var o=this.createSegmentGroup(e,t.root,n,r);return new Qh(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return Bh(e,function(e,r){if("string"==typeof e&&e.startsWith(":")){var o=e.substring(1);n[r]=t[o]}else n[r]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,r){var o=this,i=this.createSegments(e,t.segments,n,r),a={};return Bh(t.children,function(t,i){a[i]=o.createSegmentGroup(e,t,n,r)}),new Zh(i,a)},e.prototype.createSegments=function(e,t,n,r){var o=this;return t.map(function(t){return t.path.startsWith(":")?o.findPosParam(e,t,r):o.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,r,o=0;try{for(var i=s(t),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.path===e.path)return t.splice(o),u;o++}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e},e}();function $d(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||jh)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Kd(e){if(1===e.numberOfChildren&&e.children[Ph]){var t=e.children[Ph];return new Zh(e.segments.concat(t.segments),t.children)}return e}function Xd(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Jd(e){return e.outlet||Ph}var Yd=function(){return function(e){this.path=e,this.route=this.path[this.path.length-1]}}(),ev=function(){return function(e,t){this.component=e,this.route=t}}();function tv(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function nv(e,t,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=yd(t);return e.children.forEach(function(e){!function(e,t,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=e.value,a=t?t.value:null,u=n?n.getContext(e.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var s=function(e,t,n){switch(n){case"pathParamsChange":return!Kh(e.url,t.url);case"always":return!0;case"paramsOrQueryParamsChange":return!kd(e,t)||!Fh(e.queryParams,t.queryParams);case"paramsChange":default:return!kd(e,t)}}(a,i,i.routeConfig.runGuardsAndResolvers);s?o.canActivateChecks.push(new Yd(r)):(i.data=a.data,i._resolvedData=a._resolvedData),nv(e,t,i.component?u?u.children:null:n,r,o),s&&o.canDeactivateChecks.push(new ev(u&&u.outlet&&u.outlet.component||null,a))}else a&&rv(t,u,o),o.canActivateChecks.push(new Yd(r)),nv(e,null,i.component?u?u.children:null:n,r,o)}(e,i[e.value.outlet],n,r.concat([e.value]),o),delete i[e.value.outlet]}),Bh(i,function(e,t){return rv(e,n.getContext(t),o)}),o}function rv(e,t,n){var r=yd(e),o=e.value;Bh(r,function(e,r){rv(e,o.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new ev(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}var ov=Symbol("INITIAL_VALUE");function iv(){return $f(function(e){return(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null,r=null;return F(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&f(e[0])&&(e=e[0]),re(e,r).lift(new Cf(n))}).apply(void 0,c(e.map(function(e){return e.pipe(zf(1),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=e[e.length-1];F(n)?e.pop():n=null;var r=e.length;return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length||2===e.length&&F(e[1])?oe(e[0]):Sf()(Yl.apply(void 0,e))}(1!==r||n?r>0?re(e,n):Xl(n):Jl(e[0]),t)}}(ov))}))).pipe(Jf(function(e,t){var n=!1;return t.reduce(function(e,r,o){if(e!==ov)return e;if(r===ov&&(n=!0),!n){if(!1===r)return r;if(o===t.length-1||qd(r))return r}return e},e)},ov),tc(function(e){return e!==ov}),ee(function(e){return qd(e)?e:!0===e}),zf(1))})}function av(e,t){return null!==e&&t&&t(new Th(e)),Yl(!0)}function uv(e,t){return null!==e&&t&&t(new Eh(e)),Yl(!0)}function sv(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?Yl(r.map(function(r){return Ef(function(){var o,i=tv(r,t,n);if(function(e){return e&&Fd(e.canActivate)}(i))o=Wh(i.canActivate(t,e));else{if(!Fd(i))throw new Error("Invalid CanActivate guard");o=Wh(i(t,e))}return o.pipe(Gf())})})).pipe(iv()):Yl(!0)}function lv(e,t,n){var r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return Ef(function(){return Yl(t.guards.map(function(o){var i,a=tv(o,t.node,n);if(function(e){return e&&Fd(e.canActivateChild)}(a))i=Wh(a.canActivateChild(r,e));else{if(!Fd(a))throw new Error("Invalid CanActivateChild guard");i=Wh(a(r,e))}return i.pipe(Gf())})).pipe(iv())})});return Yl(o).pipe(iv())}var cv=function(){return function(){}}(),fv=function(){function e(e,t,n,r,o,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return e.prototype.recognize=function(){try{var e=dv(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,Ph),n=new Cd([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},Ph,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new gd(n,t),o=new xd(this.url,r);return this.inheritParamsAndData(o._root),Yl(o)}catch(a){return new R(function(e){return e.error(a)})}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=_d(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,r=this,o=Xh(t,function(t,n){return r.processSegmentGroup(e,t,n)});return n={},o.forEach(function(e){var t=n[e.value.outlet];if(t){var r=t.url.map(function(e){return e.toString()}).join("/"),o=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[e.value.outlet]=e.value}),o.sort(function(e,t){return e.value.outlet===Ph?-1:t.value.outlet===Ph?1:e.value.outlet.localeCompare(t.value.outlet)}),o},e.prototype.processSegment=function(e,t,n,r){var o,i;try{for(var a=s(e),u=a.next();!u.done;u=a.next()){var l=u.value;try{return this.processSegmentAgainstRoute(l,t,n,r)}catch(c){if(!(c instanceof cv))throw c}}}catch(f){o={error:f}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(t,n,r))return[];throw new cv},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,r){if(e.redirectTo)throw new cv;if((e.outlet||Ph)!==r)throw new cv;var o,a=[],u=[];if("**"===e.path){var s=n.length>0?zh(n).parameters:{};o=new Cd(n,s,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,yv(e),r,e.component,e,pv(t),hv(t)+n.length,mv(e))}else{var l=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new cv;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||jh)(n,e,t);if(!r)throw new cv;var o={};Bh(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(t,e,n);a=l.consumedSegments,u=n.slice(l.lastChild),o=new Cd(a,l.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,yv(e),r,e.component,e,pv(t),hv(t)+a.length,mv(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),f=dv(t,a,u,c,this.relativeLinkResolution),p=f.segmentGroup,h=f.slicedSegments;if(0===h.length&&p.hasChildren()){var d=this.processChildren(c,p);return[new gd(o,d)]}if(0===c.length&&0===h.length)return[new gd(o,[])];var v=this.processSegment(c,p,h,Ph);return[new gd(o,v)]},e}();function pv(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function hv(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function dv(e,t,n,r,o){if(n.length>0&&function(e,t,n){return r.some(function(n){return vv(e,t,n)&&gv(n)!==Ph})}(e,n)){var a=new Zh(t,function(e,t,n,r){var o,i,a={};a[Ph]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var u=s(n),l=u.next();!l.done;l=u.next()){var c=l.value;if(""===c.path&&gv(c)!==Ph){var f=new Zh([],{});f._sourceSegment=e,f._segmentIndexShift=t.length,a[gv(c)]=f}}}catch(p){o={error:p}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return a}(e,t,r,new Zh(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return r.some(function(n){return vv(e,t,n)})}(e,n)){var u=new Zh(e.segments,function(e,t,n,r,o,a){var u,l,c={};try{for(var f=s(r),p=f.next();!p.done;p=f.next()){var h=p.value;if(vv(e,n,h)&&!o[gv(h)]){var d=new Zh([],{});d._sourceSegment=e,d._segmentIndexShift="legacy"===a?e.segments.length:t.length,c[gv(h)]=d}}}catch(v){u={error:v}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(u)throw u.error}}return i({},o,c)}(e,t,n,r,e.children,o));return u._sourceSegment=e,u._segmentIndexShift=t.length,{segmentGroup:u,slicedSegments:n}}var l=new Zh(e.segments,e.children);return l._sourceSegment=e,l._segmentIndexShift=t.length,{segmentGroup:l,slicedSegments:n}}function vv(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function gv(e){return e.outlet||Ph}function yv(e){return e.data||{}}function mv(e){return e.resolve||{}}function bv(e,t,n,r){var o=tv(e,t,r);return Wh(o.resolve?o.resolve(t,n):o(t,n))}function wv(e){return function(t){return t.pipe($f(function(t){var n=e(t);return n?oe(n).pipe(ee(function(){return t})):oe([t])}))}}var _v=function(){return function(){}}(),Cv=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),xv=new Ae("ROUTES"),Ev=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(ee(function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var o=r.create(e);return new Vh(qh(o.injector.get(xv)).map(Uh),o)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?oe(this.loader.load(e)):Wh(e()).pipe(ie(function(e){return e instanceof ir?Yl(e):oe(t.compiler.compileModuleAsync(e))}))},e}(),Sv=function(){return function(){}}(),Tv=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function kv(e){throw e}function Av(e,t,n){return t.parse("/")}function Ov(e,t){return Yl(null)}var Pv=function(){function e(e,t,n,r,o,i,a,u){var s=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=u,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new H,this.errorHandler=kv,this.malformedUriErrorHandler=Av,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ov,afterPreactivation:Ov},this.urlHandlingStrategy=new Tv,this.routeReuseStrategy=new Cv,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(or),this.console=o.get(wi);var l=o.get(Ii);this.isNgZoneEnabled=l instanceof Ii,this.resetConfig(u),this.currentUrlTree=new Qh(new Zh([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Ev(i,a,function(e){return s.triggerEvent(new Ch(e))},function(e){return s.triggerEvent(new xh(e))}),this.routerState=bd(this.currentUrlTree,this.rootComponentType),this.transitions=new mf({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",state:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var t=this,n=this.events;return e.pipe(tc(function(e){return 0!==e.id}),ee(function(e){return i({},e,{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),$f(function(e){var r,o,a,u,l=!1,c=!1;return Yl(e).pipe($f(function(e){var r,o,a,u,s=!t.navigated||e.extractedUrl.toString()!==t.currentUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Yl(e).pipe(If(function(e){return"eager"===t.urlUpdateStrategy&&!e.extras.skipLocationChange&&t.setBrowserUrl(e.rawUrl,!!e.extras.replaceUrl,e.id)}),$f(function(e){var r=t.transitions.getValue();return n.next(new hh(e.id,t.serializeUrl(e.extractedUrl),e.source,e.state)),r!==t.transitions.getValue()?Kl:[e]}),$f(function(e){return Promise.resolve(e)}),(r=t.ngModule.injector,o=t.configLoader,a=t.urlSerializer,u=t.config,function(e){return e.pipe($f(function(e){return function(t,n,r,o,i){return new Zd(t,n,r,e.extractedUrl,i).apply()}(r,o,a,0,u).pipe(ee(function(t){return i({},e,{urlAfterRedirects:t})}))}))}),function(e,n,r,o,a){return function(r){return r.pipe(ie(function(r){return function(e,t,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new fv(e,t,n,r,o,i).recognize()}(e,n,r.urlAfterRedirects,(u=r.urlAfterRedirects,t.serializeUrl(u)),o,a).pipe(ee(function(e){return i({},r,{targetSnapshot:e})}));var u}))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),If(function(e){var r=new yh(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)}));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.extractedUrl,c=e.source,f=e.state,p=e.extras,h=new hh(e.id,t.serializeUrl(l),c,f);n.next(h);var d=bd(l,t.rootComponentType).snapshot;return Yl(i({},e,{targetSnapshot:d,urlAfterRedirects:l,extras:i({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,e.resolve(null),Kl}),wv(function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),If(function(e){var n=new mh(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),ee(function(e){return i({},e,{guards:(n=e.targetSnapshot,r=e.currentSnapshot,o=t.rootContexts,a=n._root,nv(a,r?r._root:null,o,[a.value]))});var n,r,o,a}),function(e,t){return function(n){return n.pipe(ie(function(n){var r=n.targetSnapshot,o=n.currentSnapshot,a=n.guards,u=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===u.length?Yl(i({},n,{guardsResult:!0})):function(e,t,n,r){return oe(s).pipe(ie(function(e){return function(e,t,n,r,o){var i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?Yl(i.map(function(i){var a,u=tv(i,t,o);if(function(e){return e&&Fd(e.canDeactivate)}(u))a=Wh(u.canDeactivate(e,t,n,r));else{if(!Fd(u))throw new Error("Invalid CanDeactivate guard");a=Wh(u(e,t,n,r))}return a.pipe(Gf())})).pipe(iv()):Yl(!0)}(e.component,e.route,n,t,r)}),Gf(function(e){return!0!==e},!0))}(0,r,o,e).pipe(ie(function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return oe(u).pipe(ec(function(t){return oe([uv(t.route.parent,r),av(t.route,r),lv(e,t.path,n),sv(e,t.route,n)]).pipe(Sf(),Gf(function(e){return!0!==e},!0))}),Gf(function(e){return!0!==e},!0))}(r,0,e,t):Yl(n)}),ee(function(e){return i({},n,{guardsResult:e})}))}))}}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),If(function(e){if(qd(e.guardsResult)){var n=Dh('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}}),If(function(e){var n=new bh(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)}),tc(function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new vh(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0}),wv(function(e){if(e.guards.canActivateChecks.length)return Yl(e).pipe(If(function(e){var n=new wh(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(ie(function(e){var t=e.targetSnapshot,o=e.guards.canActivateChecks;return o.length?oe(o).pipe(ec(function(e){return function(e,n,r,o){return function(e,t,n,r){var o=Object.keys(e);if(0===o.length)return Yl({});if(1===o.length){var i=o[0];return bv(e[i],t,n,r).pipe(ee(function(e){var t;return(t={})[i]=e,t}))}var a={};return oe(o).pipe(ie(function(o){return bv(e[o],t,n,r).pipe(ee(function(e){return a[o]=e,e}))})).pipe(Hf(),ee(function(){return a}))}(e._resolve,e,t,o).pipe(ee(function(t){return e._resolvedData=t,e.data=i({},e.data,_d(e,r).resolve),null}))}(e.route,0,n,r)}),function(e,t){return arguments.length>=2?function(t){return I(Jf(e,void 0),Af(1),Vf(void 0))(t)}:function(t){return I(Jf(function(t,n,r){return e(t)}),Af(1))(t)}}(function(e,t){return e}),ee(function(t){return e})):Yl(e)}))}),If(function(e){var n=new _h(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}));var n,r}),wv(function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),ee(function(e){var n,r,o,a=(o=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var o=function(t,n,r){return n.children.map(function(n){var o,i;try{for(var a=s(r.children),u=a.next();!u.done;u=a.next()){var l=u.value;if(t.shouldReuseRoute(l.value.snapshot,n.value))return e(t,n,l)}}catch(c){o={error:c}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return e(t,n)})}(t,n,r);return new gd(l,o)}var i=t.retrieve(n.value);if(i){var a=i.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,a),a}var u,l=new wd(new mf((u=n.value).url),new mf(u.params),new mf(u.queryParams),new mf(u.fragment),new mf(u.data),u.outlet,u.component,u);return o=n.children.map(function(n){return e(t,n)}),new gd(l,o)}(t.routeReuseStrategy,(n=e.targetSnapshot)._root,(r=e.currentRouterState)?r._root:void 0),new md(o,n));return i({},e,{targetRouterState:a})}),If(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"!==t.urlUpdateStrategy||e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id)}),(o=t.rootContexts,a=t.routeReuseStrategy,u=function(e){return t.triggerEvent(e)},ee(function(e){return new Hd(a,e.targetRouterState,e.currentRouterState,u).activate(o),e})),If({next:function(){l=!0},complete:function(){l=!0}}),(r=function(){if(!l&&!c){t.resetUrlToCurrentUrlTree();var r=new vh(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID "+e.id+" is not equal to the current navigation id "+t.navigationId);n.next(r),e.resolve(!1)}},function(e){return e.lift(new tp(r))}),Uf(function(r){if(c=!0,(u=r)&&u[Rh]){t.navigated=!0;var o=qd(r.url);o||t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var i=new vh(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(i),e.resolve(!1),o&&t.navigateByUrl(r.url)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new gh(e.id,t.serializeUrl(e.extractedUrl),r);n.next(a);try{e.resolve(t.errorHandler(r))}catch(s){e.reject(s)}}var u;return Kl}))}))},e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.getTransition=function(){return this.transitions.value},e.prototype.setTransition=function(e){this.transitions.next(i({},this.getTransition(),e))},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",o=t.state&&t.state.navigationId?{navigationId:t.state.navigationId}:null;setTimeout(function(){e.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){Mh(e),this.config=e.map(Uh),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,o=t.fragment,a=t.preserveQueryParams,u=t.queryParamsHandling,s=t.preserveFragment;So()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,f=s?this.currentUrlTree.fragment:o,p=null;if(u)switch(u){case"merge":p=i({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=a?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(e,t,n,r,o){if(0===n.length)return Od(t.root,t.root,t,r,o);var i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Pd(!0,0,e);var t=0,n=!1,r=e.reduce(function(e,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return Bh(r.outlets,function(e,t){i[t]="string"==typeof e?e.split("/"):e}),c(e,[{outlets:i}])}if(r.segmentPath)return c(e,[r.segmentPath])}return"string"!=typeof r?c(e,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):c(e,[r])},[]);return new Pd(n,t,r)}(n);if(i.toRoot())return Od(t.root,new Zh([],{}),t,r,o);var a=function(e,n,r){if(e.isAbsolute)return new Id(t.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Id(r.snapshot._urlSegment,!0,0);var o=Ad(e.commands[0])?0:1;return function(t,n,i){for(var a=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+o,s=e.numberOfDoubleDots;s>u;){if(s-=u,!(a=a.parent))throw new Error("Invalid number of '../'");u=a.segments.length}return new Id(a,!1,u-s)}()}(i,0,e),u=a.processChildren?Dd(a.segmentGroup,a.index,i.commands):Rd(a.segmentGroup,a.index,i.commands);return Od(a.segmentGroup,u,t,r,o)}(l,this.currentUrlTree,e,p,f)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),So()&&this.isNgZoneEnabled&&!Ii.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=qd(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)},e.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},e.prototype.parseUrl=function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t},e.prototype.isActive=function(e,t){if(qd(e))return Gh(this.currentUrlTree,e,t);var n=this.parseUrl(e);return Gh(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return null!=r&&(t[n]=r),t},{})},e.prototype.processNavigations=function(){var e=this;this.navigations.subscribe(function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new dh(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),t.resolve(!0)},function(t){e.console.warn("Unhandled Navigation Error: ")})},e.prototype.scheduleNavigation=function(e,t,n,r){var o=this.getTransition();if(o&&"imperative"!==t&&"imperative"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"hashchange"==t&&"popstate"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"popstate"==t&&"hashchange"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);var i=null,a=null,u=new Promise(function(e,t){i=e,a=t}),s=++this.navigationId;return this.setTransition({id:s,source:t,state:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:i,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(function(e){return Promise.reject(e)})},e.prototype.setBrowserUrl=function(e,t,n){var r=this.urlSerializer.serialize(e);this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",{navigationId:n}):this.location.go(r,"",{navigationId:n})},e.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},e.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},e}(),Iv=function(){function e(e,t,n){var r=this;this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(function(e){e instanceof dh&&r.updateTargetUrlAndHref()})}return Object.defineProperty(e.prototype,"routerLink",{set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preserveQueryParams",{set:function(e){So()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.updateTargetUrlAndHref()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.onClick=function(e,t,n,r){if(0!==e||t||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:Nv(this.skipLocationChange),replaceUrl:Nv(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,o),!1},e.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(e.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Nv(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Nv(this.preserveFragment)})},enumerable:!0,configurable:!0}),a([ni("attr.target"),ti(),u("design:type",String)],e.prototype,"target",void 0),e}();function Nv(e){return""===e||!!e}var Rv=function(){function e(e,t,n,r){var o=this;this.router=e,this.element=t,this.renderer=n,this.cdr=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe(function(e){e instanceof dh&&o.update()})}return e.prototype.ngAfterContentInit=function(){var e=this;this.links.changes.subscribe(function(t){return e.update()}),this.linksWithHrefs.changes.subscribe(function(t){return e.update()}),this.update()},Object.defineProperty(e.prototype,"routerLinkActive",{set:function(e){var t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(function(e){return!!e})},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.update()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.update=function(){var e=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(function(){var t=e.hasActiveLinks();e.isActive!==t&&(e.isActive=t,e.classes.forEach(function(n){t?e.renderer.addClass(e.element.nativeElement,n):e.renderer.removeClass(e.element.nativeElement,n)}))})},e.prototype.isLinkActive=function(e){var t=this;return function(n){return e.isActive(n.urlTree,t.routerLinkActiveOptions.exact)}},e.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},e}(),Dv=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new jv,this.attachRef=null}}(),jv=function(){function e(){this.contexts=new Map}return e.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},e.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},e.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},e.prototype.onOutletReAttached=function(e){this.contexts=e},e.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new Dv,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),Vv=function(){function e(e,t,n,r,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Zo,this.deactivateEvents=new Zo,this.name=r||Ph,e.onChildOutletCreated(this.name,this)}return e.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},e.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},e.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},e.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},e.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new Mv(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},e}(),Mv=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===wd?this.route:e===jv?this.childContexts:this.parent.get(e,t)},e}(),Lv=function(){return function(){}}(),Hv=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(Uf(function(){return Yl(null)}))},e}(),Uv=function(){function e(){}return e.prototype.preload=function(e,t){return Yl(null)},e}(),Fv=function(){function e(e,t,n,r,o){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new Ev(t,n,function(t){return e.triggerEvent(new Ch(t))},function(t){return e.triggerEvent(new xh(t))})}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(tc(function(e){return e instanceof dh}),ec(function(){return e.preload()})).subscribe(function(){})},e.prototype.preload=function(){var e=this.injector.get(or);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,r,o=[];try{for(var i=s(t),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var l=u._loadedConfig;o.push(this.processRoutes(l.module,l.routes))}else u.loadChildren&&!u.canLoad?o.push(this.preloadConfig(e,u)):u.children&&o.push(this.processRoutes(e,u.children))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return oe(o).pipe(le(),ee(function(e){}))},e.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return n.loader.load(e.injector,t).pipe(ie(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})},e}(),qv=function(){function e(e,t,n){void 0===n&&(n={}),this.router=e,this.viewportScroller=t,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 e.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},e.prototype.createScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof hh?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof dh&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})},e.prototype.consumeScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof Ah&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})},e.prototype.scheduleScrollEvent=function(e,t){this.router.triggerEvent(new Ah(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))},e.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},e}(),zv=new Ae("ROUTER_CONFIGURATION"),Bv=new Ae("ROUTER_FORROOT_GUARD"),Wv=[sc,{provide:Jh,useClass:Yh},{provide:Pv,useFactory:Jv,deps:[Zi,Jh,jv,sc,Bn,Ki,Ei,xv,zv,[Sv,new Qe],[_v,new Qe]]},jv,{provide:wd,useFactory:Yv,deps:[Pv]},{provide:Ki,useClass:ea},Fv,Uv,Hv,{provide:zv,useValue:{enableTracing:!1}}];function Gv(){return new zi("Router",Pv)}var Qv=function(){function e(e,t){}var t;return t=e,e.forRoot=function(e,n){return{ngModule:t,providers:[Wv,Xv(e),{provide:Bv,useFactory:Kv,deps:[[Pv,new Qe,new $e]]},{provide:zv,useValue:n||{}},{provide:ac,useFactory:$v,deps:[oc,[new Ge(uc),new Qe],zv]},{provide:qv,useFactory:Zv,deps:[Pv,Oc,zv]},{provide:Lv,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Uv},{provide:zi,multi:!0,useFactory:Gv},[eg,{provide:pi,multi:!0,useFactory:tg,deps:[eg]},{provide:rg,useFactory:ng,deps:[eg]},{provide:bi,multi:!0,useExisting:rg}]]}},e.forChild=function(e){return{ngModule:t,providers:[Xv(e)]}},e}();function Zv(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new qv(e,t,n)}function $v(e,t,n){return void 0===n&&(n={}),n.useHash?new cc(e,t):new fc(e,t)}function Kv(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Xv(e){return[{provide:De,multi:!0,useValue:e},{provide:xv,multi:!0,useValue:e}]}function Jv(e,t,n,r,o,i,a,u,s,l,c){void 0===s&&(s={});var f=new Pv(null,t,n,r,o,i,a,qh(u));if(l&&(f.urlHandlingStrategy=l),c&&(f.routeReuseStrategy=c),s.errorHandler&&(f.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(f.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var p=op();f.events.subscribe(function(e){p.logGroup("Router Event: "+e.constructor.name),p.log(e.toString()),p.log(e),p.logGroupEnd()})}return s.onSameUrlNavigation&&(f.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(f.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(f.relativeLinkResolution=s.relativeLinkResolution),f}function Yv(e){return e.routerState.root}var eg=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new H}return e.prototype.appInitializer=function(){var e=this;return this.injector.get(ic,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),r=e.injector.get(Pv),o=e.injector.get(zv);if(e.isLegacyDisabled(o)||e.isLegacyEnabled(o))t(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return e.initNavigation?Yl(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n})},e.prototype.bootstrapListener=function(e){var t=this.injector.get(zv),n=this.injector.get(Fv),r=this.injector.get(qv),o=this.injector.get(Pv),i=this.injector.get(Zi);e===i.components[0]&&(this.isLegacyEnabled(t)?o.initialNavigation():this.isLegacyDisabled(t)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},e.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation},e.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},e}();function tg(e){return e.appInitializer.bind(e)}function ng(e){return e.bootstrapListener.bind(e)}var rg=new Ae("Router Initializer"),og=Ka({encapsulation:2,styles:[],data:{}});function ig(e){return Hs(0,[(e()(),Tu(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ds(1,212992,null,0,Vv,[jv,ra,ro,[8,null],ia],null,null)],function(e,t){e(t,1,0)},null)}function ag(e){return Hs(0,[(e()(),Tu(0,0,null,null,1,"ng-component",[],null,null,null,ig,og)),ds(1,49152,null,0,Oh,[],null,null)],null,null)}var ug=Bu("ng-component",Oh,ag,{},{},[]),sg=Ka({encapsulation:0,styles:[[".repo[_ngcontent-%COMP%]{color:#fff}"]],data:{}});function lg(e){return Hs(0,[(e()(),Tu(0,0,null,null,12,"div",[["id","repos"]],null,null,null,null,null)),(e()(),Tu(1,0,null,null,2,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Tu(2,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),Vs(3,null,["Name: ",""])),(e()(),Tu(4,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(5,null,["Language: ",""])),(e()(),Tu(6,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(7,null,["Forks: ",""])),(e()(),Tu(8,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(9,null,["Stars: ",""])),(e()(),Tu(10,0,null,null,2,"button",[["class","btn btn-info btn-sm repo-link"]],null,null,null,null,null)),(e()(),Tu(11,0,null,null,1,"a",[["class","text-white"],["id","repoLink"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(e()(),Vs(-1,null,["View on Github"]))],null,function(e,t){e(t,3,0,t.parent.context.$implicit.name),e(t,5,0,t.parent.context.$implicit.language),e(t,7,0,t.parent.context.$implicit.forks),e(t,9,0,t.parent.context.$implicit.stars),e(t,11,0,xu(1,"",t.parent.context.$implicit.url,""))})}function cg(e){return Hs(0,[(e()(),Tu(0,0,null,null,2,"div",[["class","col-lg-3 col-md-3 col-sm-6 m-2 c"]],null,null,null,null,null)),(e()(),Su(16777216,null,null,1,null,lg)),ds(2,16384,null,0,xc,[ra,$o],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,2,0,t.context.$implicit.display)},null)}function fg(e){return Hs(0,[(e()(),Tu(0,0,null,null,2,"div",[["class","contain row"]],null,null,null,null,null)),(e()(),Su(16777216,null,null,1,null,cg)),ds(2,278528,null,0,_c,[ra,$o,xa],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,2,0,t.component.repos)},null)}function pg(e){return Hs(0,[(e()(),Tu(0,0,null,null,1,"app-repository",[],null,null,null,fg,sg)),ds(1,114688,null,0,hf,[],null,null)],function(e,t){e(t,1,0)},null)}var hg=Bu("app-repository",hf,pg,{repos:"repos"},{},[]),dg=function(e){function t(t,n){var r=e.call(this,t)||this;r.sources=n,r.completed=0,r.haveValues=0;var o=n.length;r.values=new Array(o);for(var i=0;i<o;i++){var a=J(r,n[i],null,i);a&&r.add(a)}return r}return o(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.values[n]=t,o._hasValue||(o._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(e){var t=this.destination,n=this.haveValues,r=this.values,o=r.length;e._hasValue?(this.completed++,this.completed===o&&(n===o&&t.next(r),t.complete())):t.complete()},t}(Y),vg=function(){function e(){}return Object.defineProperty(e.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},e.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},e.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},e}(),gg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(vg);function yg(e){return null==e||0===e.length}var mg=new Ae("NgValidators"),bg=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,wg=function(){function e(){}return e.min=function(e){return function(t){if(yg(t.value)||yg(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}},e.max=function(e){return function(t){if(yg(t.value)||yg(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return yg(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return yg(e.value)?null:bg.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(yg(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}},e.maxLength=function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(yg(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(_g);return 0==t.length?null:function(e){return xg(function(e,n){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(_g);return 0==t.length?null:function(e){return function e(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&f(n[0])&&(n=n[0]),0===n.length?Kl:t?e(n).pipe(ee(function(e){return t.apply(void 0,e)})):new R(function(e){return new dg(e,n)})}(function(e,n){return t.map(function(t){return t(e)})}(e).map(Cg)).pipe(ee(xg))}},e}();function _g(e){return null!=e}function Cg(e){var t=ci(e)?oe(e):e;if(!fi(t))throw new Error("Expected validator to return Promise or Observable.");return t}function xg(e){var t=e.reduce(function(e,t){return null!=t?i({},e,t):e},{});return 0===Object.keys(t).length?null:t}var Eg=new Ae("NgValueAccessor"),Sg=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),Tg=new Ae("CompositionEventMode"),kg=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=op()?op().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e}();function Ag(e){return e.validate?function(t){return e.validate(t)}:e}function Og(e){return e.validate?function(t){return e.validate(t)}:e}var Pg=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}();function Ig(){throw new Error("unimplemented")}var Ng=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return o(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return Ig()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ig()},enumerable:!0,configurable:!0}),t}(vg),Rg=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),Dg=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(Ng),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')},e}(),jg='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',Vg='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>';function Mg(e,t){return c(t.path,[e])}function Lg(e,t){e||Ug(t,"Cannot find control with"),t.valueAccessor||Ug(t,"No value accessor for form control with"),e.validator=wg.compose([e.validator,t.validator]),e.asyncValidator=wg.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Hg(e,t)})}(e,t),function(e,t){e.registerOnChange(function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Hg(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(function(e){t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})}),t._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})})}function Hg(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ug(e,t){var n;throw n=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function Fg(e){return null!=e?wg.compose(e.map(Ag)):null}function qg(e){return null!=e?wg.composeAsync(e.map(Og)):null}var zg=[Sg,function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),Pg,function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=ze}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var r=s(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i),e))return i}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e}(),function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=ze}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var a=o.item(i),u=t._getOptionValue(a.value);r.push(u)}else for(o=n.options,i=0;i<o.length;i++)(a=o.item(i)).selected&&(u=t._getOptionValue(a.value),r.push(u));t.value=r,e(r)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t},e.prototype._getOptionId=function(e){var t,n;try{for(var r=s(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i)._value,e))return i}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e},e}(),Dg],Bg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return Mg(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Fg(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return qg(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(gg),Wg=function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}(),Gg=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Wg),Qg=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(Wg);function Zg(e){var t=Kg(e)?e.validators:e;return Array.isArray(t)?Fg(t):t||null}function $g(e,t){var n=Kg(t)?t.asyncValidators:e;return Array.isArray(n)?qg(n):n||null}function Kg(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Xg=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=Zg(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=$g(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(i({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!0)})},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild(function(t){t.enable(i({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!1)})},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=Cg(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return t.setErrors(n,{emitEvent:e})})}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce(function(e,t){return e instanceof Yg?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof ey&&e.at(t)||null},e))}(this,e)},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new Zo,this.statusChanges=new Zo},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls(function(t){return t.status===e})},e.prototype._anyControlsDirty=function(){return this._anyControls(function(e){return e.dirty})},e.prototype._anyControlsTouched=function(){return this._anyControls(function(e){return e.touched})},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){Kg(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),Jg=function(e){function t(t,n,r){void 0===t&&(t=null);var o=e.call(this,Zg(n),$g(r,n))||this;return o._onChange=[],o._applyFormState(t),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return o(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(function(e){return e(n.value,!1!==t.emitViewToModelChange)}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.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))},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(Xg),Yg=function(e){function t(t,n,r){var o=e.call(this,Zg(n),$g(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof Jg?t.value:t.getRawValue(),e})},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){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[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach(function(n){return e(t.controls[n],n)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild(function(r,o){n=n||t.contains(o)&&e(r)}),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t})},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild(function(e,r){n=t(n,e,r)}),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=s(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){e={error:o}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},t}(Xg),ey=function(e){function t(t,n,r){var o=e.call(this,Zg(n),$g(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach(function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof Jg?e.value:e.getRawValue()})},t.prototype._syncPendingControls=function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){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(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach(function(t,n){e(t,n)})},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})},t.prototype._anyControls=function(e){return this.controls.some(function(t){return t.enabled&&e(t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")})},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=s(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){e={error:o}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(Xg),ty=Promise.resolve(null),ny=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Zo,r.form=new Yg({},Fg(t),qg(n)),r}return o(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;ty.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Lg(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;ty.then(function(){var n,r,o=t._findContainer(e.path);o&&o.removeControl(e.name),(r=(n=t._directives).indexOf(e))>-1&&n.splice(r,1)})},t.prototype.addFormGroup=function(e){var t=this;ty.then(function(){var n=t._findContainer(e.path),r=new Yg({});(function(e,t){null==e&&Ug(t,"Cannot find control with"),e.validator=wg.compose([e.validator,t.validator]),e.asyncValidator=wg.composeAsync([e.asyncValidator,t.asyncValidator])})(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;ty.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;ty.then(function(){n.form.get(e.path).setValue(t)})},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,t=this._directives,this.form._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}),this.ngSubmit.emit(e),!1;var t},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t}(gg),ry=function(){function e(){}return e.modelParentException=function(){throw new Error('\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup\'s partner directive "formControlName" instead.  Example:\n\n      \n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });\n\n      Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n      Example:\n\n      \n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  ')},e.formGroupNameException=function(){throw new Error("\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      "+jg+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+Vg)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},e.modelGroupParentException=function(){throw new Error("\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      "+jg+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+Vg)},e.ngFormWarning=function(){console.warn("\n    It looks like you're using 'ngForm'.\n\n    Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n    in Angular v9.\n\n    Use 'ng-form' instead.\n\n    Before:\n    <ngForm #myForm=\"ngForm\">\n\n    After:\n    <ng-form #myForm=\"ngForm\">\n    ")},e}(),oy=new Ae("NgFormSelectorWarning"),iy=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}var n;return o(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof ny||ry.modelGroupParentException()},t}(Bg),ay=Promise.resolve(null),uy=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.control=new Jg,i._registered=!1,i.update=new Zo,i._parent=t,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||Ug(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return t.forEach(function(t){var i;t.constructor===kg?n=t:(i=t,zg.some(function(e){return i.constructor===e})?(r&&Ug(e,"More than one built-in value accessor matches form control with"),r=t):(o&&Ug(e,"More than one custom value accessor matches form control with"),o=t))}),o||r||n||(Ug(e,"No valid value accessor for form control with"),null)}(i,o),i}return o(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!ze(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?Mg(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Fg(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return qg(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){Lg(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof iy)&&this._parent instanceof Bg?ry.formGroupNameException():this._parent instanceof iy||this._parent instanceof ny||ry.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ry.missingNameException()},t.prototype._updateValue=function(e){var t=this;ay.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;ay.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})},t}(Ng),sy=function(){function e(){}return Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this.required?wg.required(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e}(),ly=function(){return function(){}}(),cy=function(){return function(){}}(),fy=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:oy,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),py=Ka({encapsulation:0,styles:[["@import url(https://fonts.googleapis.com/css?family=Quicksand);h1[_ngcontent-%COMP%]{font-family:Quicksand,sans-serif;color:orange}.nav[_ngcontent-%COMP%]{display:flex;justify-content:space-around;margin-bottom:0}body[_ngcontent-%COMP%]{background-image:url(https://liciolentimo.github.io/gitsearch/assets/bg-main.jpg);background-size:cover;background-repeat:no-repeat}.desc[_ngcontent-%COMP%]{color:#fff}#details[_ngcontent-%COMP%]{font-family:Quicksand,sans-serif;font-size:20px;color:#fff}#searchdiv[_ngcontent-%COMP%]{margin-left:30px}.repo[_ngcontent-%COMP%]{color:#fff}#repoSearch[_ngcontent-%COMP%]{width:40%}"]],data:{}});function hy(e){return Hs(0,[(e()(),Tu(0,0,null,null,11,"div",[],null,null,null,null,null)),(e()(),Tu(1,0,null,null,10,"div",[["class","repo-btn-container text-center mx-5 mt-4"]],null,null,null,null,null)),(e()(),Tu(2,0,null,null,0,"input",[["autocomplete","off"],["class","mr-2 text-center form-control w-75 d-inline-block"],["id","repoSearch"],["placeholder","Search repository"],["type","text"]],null,null,null,null,null)),(e()(),Tu(3,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Tu(4,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Tu(5,0,null,null,3,"button",[["class","btn btn-info"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.searchRepo()&&r),r},null,null)),(e()(),Tu(6,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Tu(7,0,null,null,0,"i",[["class","fas fa-search"]],null,null,null,null,null)),(e()(),Vs(-1,null,["Search"])),(e()(),Tu(9,0,null,null,0,"span",[],null,null,null,null,null)),(e()(),Tu(10,0,null,null,1,"button",[["class","btn btn-light"],["id","viewAll"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.viewAll()&&r),r},null,null)),(e()(),Vs(-1,null,["View All"]))],null,null)}function dy(e){return Hs(0,[(e()(),Tu(0,0,null,null,20,"div",[["id","user-details"]],null,null,null,null,null)),(e()(),Tu(1,0,null,null,19,"div",[["class","row"],["id","profile"]],null,null,null,null,null)),(e()(),Tu(2,0,null,null,0,"img",[["class","ml-0 col-5"]],[[8,"src",4]],null,null,null,null)),(e()(),Tu(3,0,null,null,12,"div",[["class","col-5 text-left"]],null,null,null,null,null)),(e()(),Tu(4,0,null,null,3,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(-1,null,["Name: "])),(e()(),Tu(6,0,null,null,1,"span",[["appBold",""]],null,null,null,null,null)),(e()(),Vs(7,null,["",""])),(e()(),Tu(8,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(9,null,["Followers: ",""])),(e()(),Tu(10,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(11,null,["Following: ",""])),(e()(),Tu(12,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(13,null,["Repos: ",""])),(e()(),Tu(14,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(15,null,["Bio: ",""])),(e()(),Tu(16,0,null,null,2,"div",[["class","btn-container"]],null,null,null,null,null)),(e()(),Tu(17,0,null,null,1,"button",[["class","btn btn-info "],["id","repoBtn"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleRepos()&&r),r},null,null)),(e()(),Vs(-1,null,["View Repos"])),(e()(),Su(16777216,null,null,1,null,hy)),ds(20,16384,null,0,xc,[ra,$o],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,20,0,t.component.viewRepo)},function(e,t){var n=t.component;e(t,2,0,xu(1,"",n.user.avatar,"")),e(t,7,0,n.user.name),e(t,9,0,n.user.followers),e(t,11,0,n.user.following),e(t,13,0,n.user.repos),e(t,15,0,n.user.bio)})}function vy(e){return Hs(0,[(e()(),Tu(0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),Su(16777216,null,null,1,null,dy)),ds(2,16384,null,0,xc,[ra,$o],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,2,0,t.component.user.name.length>0)},null)}function gy(e){return Hs(0,[(e()(),Tu(0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),Su(16777216,null,null,1,null,vy)),ds(2,16384,null,0,xc,[ra,$o],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,2,0,"User not found"!==t.component.user.name)},null)}function yy(e){return Hs(0,[(e()(),Tu(0,0,null,null,29,"body",[],null,null,null,null,null)),(e()(),Tu(1,0,null,null,23,"div",[["style","text-align:center"]],null,null,null,null,null)),(e()(),Tu(2,0,null,null,1,"h1",[["align","center"],["class","desc"]],null,null,null,null,null)),(e()(),Vs(-1,null,["Profile Finder for Github"])),(e()(),Tu(4,0,null,null,3,"p",[["align","center"],["id","details"]],null,null,null,null,null)),(e()(),Vs(-1,null,["Check out the profile, followers and more\n"])),(e()(),Tu(6,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Vs(-1,null,["just by entering a username!"])),(e()(),Tu(8,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Tu(9,0,null,null,15,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0;return"submit"===t&&(r=!1!==ts(e,11).onSubmit(n)&&r),"reset"===t&&(r=!1!==ts(e,11).onReset()&&r),r},null,null)),ds(10,16384,null,0,ly,[],null,null),ds(11,4210688,null,0,ny,[[8,null],[8,null]],null,null),vs(2048,null,gg,null,[ny]),ds(13,16384,null,0,Qg,[[4,gg]],null,null),(e()(),Tu(14,0,null,null,10,"div",[["class","ui action input"],["id","searchdiv"]],null,null,null,null,null)),(e()(),Tu(15,0,null,null,7,"input",[["name","name"],["placeholder","Enter username..."],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,o=e.component;return"input"===t&&(r=!1!==ts(e,16)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==ts(e,16).onTouched()&&r),"compositionstart"===t&&(r=!1!==ts(e,16)._compositionStart()&&r),"compositionend"===t&&(r=!1!==ts(e,16)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(o.username=n)&&r),r},null,null)),ds(16,16384,null,0,kg,[fo,ao,[2,Tg]],null,null),ds(17,16384,null,0,sy,[],{required:[0,"required"]},null),vs(1024,null,mg,function(e){return[e]},[sy]),vs(1024,null,Eg,function(e){return[e]},[kg]),ds(20,671744,null,0,uy,[[2,gg],[6,mg],[8,null],[6,Eg]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),vs(2048,null,Ng,null,[uy]),ds(22,16384,null,0,Gg,[[4,Ng]],null,null),(e()(),Tu(23,0,null,null,1,"button",[["class","ui button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.searchUser()&&r),r},null,null)),(e()(),Vs(-1,null,["Search"])),(e()(),Su(16777216,null,null,1,null,gy)),ds(26,16384,null,0,xc,[ra,$o],{ngIf:[0,"ngIf"]},null),(e()(),Tu(27,0,null,null,2,"div",[["id","repos"]],null,null,null,null,null)),(e()(),Tu(28,0,null,null,1,"app-repository",[],null,null,null,fg,sg)),ds(29,114688,null,0,hf,[],{repos:[0,"repos"]},null)],function(e,t){var n=t.component;e(t,17,0,""),e(t,20,0,"name",n.username),e(t,26,0,n.user),e(t,29,0,n.repos)},function(e,t){e(t,9,0,ts(t,13).ngClassUntouched,ts(t,13).ngClassTouched,ts(t,13).ngClassPristine,ts(t,13).ngClassDirty,ts(t,13).ngClassValid,ts(t,13).ngClassInvalid,ts(t,13).ngClassPending),e(t,15,0,ts(t,17).required?"":null,ts(t,22).ngClassUntouched,ts(t,22).ngClassTouched,ts(t,22).ngClassPristine,ts(t,22).ngClassDirty,ts(t,22).ngClassValid,ts(t,22).ngClassInvalid,ts(t,22).ngClassPending)})}function my(e){return Hs(0,[(e()(),Tu(0,0,null,null,2,"app-user",[],null,null,null,yy,py)),vs(512,null,cf,cf,[Qc]),ds(2,114688,null,0,pf,[Qc,cf],null,null)],function(e,t){e(t,2,0)},null)}var by=Bu("app-user",pf,my,{},{},[]),wy=Ka({encapsulation:0,styles:[["body[_ngcontent-%COMP%]{background-image:url(https://liciolentimo.github.io/gitsearch/assets/bg-main.jpg);background-size:cover;background-repeat:no-repeat}"]],data:{}});function _y(e){return Hs(0,[(e()(),Tu(0,0,null,null,15,"div",[["id","user-details"]],null,null,null,null,null)),(e()(),Tu(1,0,null,null,14,"div",[["class","row"],["id","profile"]],null,null,null,null,null)),(e()(),Tu(2,0,null,null,0,"img",[["class","ml-0 col-5"]],[[8,"src",4]],null,null,null,null)),(e()(),Tu(3,0,null,null,12,"div",[["class","col-5 text-left"]],null,null,null,null,null)),(e()(),Tu(4,0,null,null,3,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(-1,null,["Name: "])),(e()(),Tu(6,0,null,null,1,"span",[["appBold",""]],null,null,null,null,null)),(e()(),Vs(7,null,["",""])),(e()(),Tu(8,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(9,null,["Followers: ",""])),(e()(),Tu(10,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(11,null,["Following: ",""])),(e()(),Tu(12,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(13,null,["Repos: ",""])),(e()(),Tu(14,0,null,null,1,"p",[["class","repo"]],null,null,null,null,null)),(e()(),Vs(15,null,["Bio: ",""]))],null,function(e,t){var n=t.component;e(t,2,0,xu(1,"",n.user.avatar,"")),e(t,7,0,n.user.name),e(t,9,0,n.user.followers),e(t,11,0,n.user.following),e(t,13,0,n.user.repos),e(t,15,0,n.user.bio)})}function Cy(e){return Hs(0,[(e()(),Tu(0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),Su(16777216,null,null,1,null,_y)),ds(2,16384,null,0,xc,[ra,$o],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,2,0,t.component.user.name.length>0)},null)}function xy(e){return Hs(0,[(e()(),Tu(0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),Su(16777216,null,null,1,null,Cy)),ds(2,16384,null,0,xc,[ra,$o],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,2,0,"User not found"!==t.component.user.name)},null)}function Ey(e){return Hs(0,[(e()(),Tu(0,0,null,null,2,"body",[],null,null,null,null,null)),(e()(),Su(16777216,null,null,1,null,xy)),ds(2,16384,null,0,xc,[ra,$o],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,2,0,t.component.user)},null)}function Sy(e){return Hs(0,[(e()(),Tu(0,0,null,null,1,"app-repo-details",[],null,null,null,Ey,wy)),ds(1,114688,null,0,vf,[cf,Qc],null,null)],function(e,t){e(t,1,0)},null)}var Ty=Bu("app-repo-details",vf,Sy,{},{},[]),ky=Ka({encapsulation:0,styles:[[""]],data:{}});function Ay(e){return Hs(0,[(e()(),Tu(0,0,null,null,1,"h1",[["class","text-center"]],null,null,null,null,null)),(e()(),Vs(-1,null,["Sorry We can't find that"]))],null,null)}function Oy(e){return Hs(0,[(e()(),Tu(0,0,null,null,1,"app-not-found",[],null,null,null,Ay,ky)),ds(1,114688,null,0,df,[],null,null)],function(e,t){e(t,1,0)},null)}var Py=Bu("app-not-found",df,Oy,{},{},[]),Iy=Ka({encapsulation:0,styles:[["@import url(https://fonts.googleapis.com/css?family=Quicksand);h1[_ngcontent-%COMP%]{font-family:Quicksand,sans-serif;color:orange}.nav[_ngcontent-%COMP%]{display:flex;justify-content:space-around;margin-bottom:0}body[_ngcontent-%COMP%]{background-image:url(https://liciolentimo.github.io/gitsearch/assets/bg-main.jpg);background-size:cover;background-repeat:no-repeat}.desc[_ngcontent-%COMP%]{color:orange}#details[_ngcontent-%COMP%]{font-family:Quicksand,sans-serif;font-size:20px;color:orange}#searchdiv[_ngcontent-%COMP%]{margin-left:30px}"]],data:{}});function Ny(e){return Hs(0,[(e()(),Tu(0,0,null,null,0,"link",[["href","https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css"],["rel","stylesheet"]],null,null,null,null,null)),(e()(),Tu(1,0,null,null,17,"div",[["style","text-align:center"]],null,null,null,null,null)),(e()(),Tu(2,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),Vs(3,null,[" "," "])),(e()(),Tu(4,0,null,null,12,"div",[["class","ui top attached tabular menu"]],null,null,null,null,null)),(e()(),Tu(5,0,null,null,5,"a",[["class","active item"],["routerLink","/user"],["routerLinkActive","active"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==ts(e,6).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),ds(6,671744,[[2,4]],0,Iv,[Pv,wd,ac],{routerLink:[0,"routerLink"]},null),ds(7,1720320,null,2,Rv,[Pv,ao,fo,ia],{routerLinkActive:[0,"routerLinkActive"]},null),Ps(603979776,1,{links:1}),Ps(603979776,2,{linksWithHrefs:1}),(e()(),Vs(-1,null,[" Users "])),(e()(),Tu(11,0,null,null,5,"a",[["class","item"],["routerLink","/profile"],["routerLinkActive","active"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==ts(e,12).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),ds(12,671744,[[4,4]],0,Iv,[Pv,wd,ac],{routerLink:[0,"routerLink"]},null),ds(13,1720320,null,2,Rv,[Pv,ao,fo,ia],{routerLinkActive:[0,"routerLinkActive"]},null),Ps(603979776,3,{links:1}),Ps(603979776,4,{linksWithHrefs:1}),(e()(),Vs(-1,null,[" My Profile "])),(e()(),Tu(17,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ds(18,212992,null,0,Vv,[jv,ra,ro,[8,null],ia],null,null),(e()(),Tu(19,0,null,null,0,"body",[],null,null,null,null,null))],function(e,t){e(t,6,0,"/user"),e(t,7,0,"active"),e(t,12,0,"/profile"),e(t,13,0,"active"),e(t,18,0)},function(e,t){e(t,3,0,t.component.title),e(t,5,0,ts(t,6).target,ts(t,6).href),e(t,11,0,ts(t,12).target,ts(t,12).href)})}function Ry(e){return Hs(0,[(e()(),Tu(0,0,null,null,1,"app-root",[],null,null,null,Ny,Iy)),ds(1,114688,null,0,yf,[cf,Qc],null,null)],function(e,t){e(t,1,0)},null)}var Dy=Bu("app-root",yf,Ry,{},{},[]),jy=function(){return function(){}}(),Vy=Gl(gf,[yf],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===Ur&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Qa(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([ju(512,ro,oo,[[8,[ug,hg,by,Ty,Py,Dy]],[3,ro],or]),ju(5120,Oa,Na,[[3,Oa]]),ju(4608,yc,mc,[Oa,[2,gc]]),ju(5120,di,vi,[]),ju(5120,xa,Pa,[]),ju(5120,Ea,Ia,[]),ju(4608,th,nh,[kc]),ju(6144,Jo,null,[th]),ju(4608,Zp,Kp,[]),ju(5120,_p,function(e,t,n,r,o,i,a,u){return[new Gp(e,t,n),new eh(r),new Xp(o,i,a,u)]},[kc,Ii,mi,kc,kc,Zp,wi,[2,$p]]),ju(4608,Cp,Cp,[_p,Ii]),ju(135680,Sp,Sp,[kc]),ju(4608,Np,Np,[Cp,Sp]),ju(6144,lo,null,[Np]),ju(6144,Ep,null,[Sp]),ju(4608,Hi,Hi,[Ii]),ju(4608,rf,of,[kc,mi,tf]),ju(4608,af,af,[rf,nf]),ju(5120,$c,function(e){return[e]},[af]),ju(4608,Yc,Yc,[]),ju(6144,Jc,null,[Yc]),ju(4608,ef,ef,[Jc]),ju(6144,Nc,null,[ef]),ju(4608,Ic,uf,[Nc,Bn]),ju(4608,Qc,Qc,[Ic]),ju(4608,Rg,Rg,[]),ju(5120,wd,Yv,[Pv]),ju(4608,Uv,Uv,[]),ju(6144,Lv,null,[Uv]),ju(135680,Fv,Fv,[Pv,Ki,Ei,Bn,Lv]),ju(4608,Hv,Hv,[]),ju(5120,qv,Zv,[Pv,Oc,zv]),ju(5120,rg,ng,[eg]),ju(5120,bi,function(e,t){return[e,t]},[rg,rg]),ju(4608,cf,cf,[Qc]),ju(1073742336,Tc,Tc,[]),ju(1024,li,ch,[]),ju(1024,zi,function(){return[Gv(),Gv()]},[]),ju(512,eg,eg,[Bn]),ju(1024,pi,function(e,t,n){return[(r=e,mp("probe",wp),mp("coreTokens",i({},bp,(r||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return wp}),tg(t),tg(n)];var r},[[2,zi],eg,eg]),ju(512,hi,hi,[[2,pi]]),ju(131584,Zi,Zi,[Ii,wi,Bn,li,ro,hi]),ju(1073742336,Ra,Ra,[Zi]),ju(1073742336,fh,fh,[[3,fh]]),ju(1073742336,sf,sf,[]),ju(1073742336,lf,lf,[]),ju(1073742336,cy,cy,[]),ju(1073742336,fy,fy,[]),ju(1024,Bv,Kv,[[3,Pv]]),ju(512,Jh,Yh,[]),ju(512,jv,jv,[]),ju(256,zv,{},[]),ju(1024,ac,$v,[oc,[2,uc],zv]),ju(512,sc,sc,[ac]),ju(512,Ei,Ei,[]),ju(512,Ki,ea,[Ei,[2,Ji]]),ju(1024,xv,function(){return[[],[{path:"repository",component:hf},{path:"user",component:pf},{path:"profile",component:vf},{path:"",redirectTo:"/user",pathMatch:"full"},{path:"**",component:df}]]},[]),ju(1024,Pv,Jv,[Zi,Jh,jv,sc,Bn,Ki,Ei,xv,zv,[2,Sv],[2,_v]]),ju(1073742336,Qv,Qv,[[2,Bv],[2,Pv]]),ju(1073742336,jy,jy,[]),ju(1073742336,gf,gf,[]),ju(256,Ur,!0,[]),ju(256,tf,"XSRF-TOKEN",[]),ju(256,nf,"X-XSRF-TOKEN",[])])});(function(){if(Eo)throw new Error("Cannot enable prod mode after platform setup.");xo=!1})(),lh().bootstrapModuleFactory(Vy).catch(function(e){return console.error(e)})}},[[0,0]]]);